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_system_icu 1037with_system_graphite2 1038with_system_harfbuzz 1039' 1040 ac_precious_vars='build_alias 1041host_alias 1042target_alias 1043CC 1044CFLAGS 1045LDFLAGS 1046LIBS 1047CPPFLAGS 1048LT_SYS_LIBRARY_PATH 1049CPP 1050CXX 1051CXXFLAGS 1052CCC 1053CXXCPP 1054OBJCXX 1055OBJCXXFLAGS 1056XMKMF 1057YACC 1058YFLAGS' 1059ac_subdirs_all='web2c' 1060 1061# Initialize some variables set by options. 1062ac_init_help= 1063ac_init_version=false 1064ac_unrecognized_opts= 1065ac_unrecognized_sep= 1066# The variables have the same names as the options, with 1067# dashes changed to underlines. 1068cache_file=/dev/null 1069exec_prefix=NONE 1070no_create= 1071no_recursion= 1072prefix=NONE 1073program_prefix=NONE 1074program_suffix=NONE 1075program_transform_name=s,x,x, 1076silent= 1077site= 1078srcdir= 1079verbose= 1080x_includes=NONE 1081x_libraries=NONE 1082 1083# Installation directory options. 1084# These are left unexpanded so users can "make install exec_prefix=/foo" 1085# and all the variables that are supposed to be based on exec_prefix 1086# by default will actually change. 1087# Use braces instead of parens because sh, perl, etc. also accept them. 1088# (The list follows the same order as the GNU Coding Standards.) 1089bindir='${exec_prefix}/bin' 1090sbindir='${exec_prefix}/sbin' 1091libexecdir='${exec_prefix}/libexec' 1092datarootdir='${prefix}/share' 1093datadir='${datarootdir}' 1094sysconfdir='${prefix}/etc' 1095sharedstatedir='${prefix}/com' 1096localstatedir='${prefix}/var' 1097includedir='${prefix}/include' 1098oldincludedir='/usr/include' 1099docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1100infodir='${datarootdir}/info' 1101htmldir='${docdir}' 1102dvidir='${docdir}' 1103pdfdir='${docdir}' 1104psdir='${docdir}' 1105libdir='${exec_prefix}/lib' 1106localedir='${datarootdir}/locale' 1107mandir='${datarootdir}/man' 1108 1109ac_prev= 1110ac_dashdash= 1111for ac_option 1112do 1113 # If the previous option needs an argument, assign it. 1114 if test -n "$ac_prev"; then 1115 eval $ac_prev=\$ac_option 1116 ac_prev= 1117 continue 1118 fi 1119 1120 case $ac_option in 1121 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1122 *=) ac_optarg= ;; 1123 *) ac_optarg=yes ;; 1124 esac 1125 1126 # Accept the important Cygnus configure options, so we can diagnose typos. 1127 1128 case $ac_dashdash$ac_option in 1129 --) 1130 ac_dashdash=yes ;; 1131 1132 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1133 ac_prev=bindir ;; 1134 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1135 bindir=$ac_optarg ;; 1136 1137 -build | --build | --buil | --bui | --bu) 1138 ac_prev=build_alias ;; 1139 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1140 build_alias=$ac_optarg ;; 1141 1142 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1143 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1144 ac_prev=cache_file ;; 1145 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1146 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1147 cache_file=$ac_optarg ;; 1148 1149 --config-cache | -C) 1150 cache_file=config.cache ;; 1151 1152 -datadir | --datadir | --datadi | --datad) 1153 ac_prev=datadir ;; 1154 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1155 datadir=$ac_optarg ;; 1156 1157 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1158 | --dataroo | --dataro | --datar) 1159 ac_prev=datarootdir ;; 1160 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1161 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1162 datarootdir=$ac_optarg ;; 1163 1164 -disable-* | --disable-*) 1165 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1166 # Reject names that are not valid shell variable names. 1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1168 as_fn_error $? "invalid feature name: $ac_useropt" 1169 ac_useropt_orig=$ac_useropt 1170 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1171 case $ac_user_opts in 1172 *" 1173"enable_$ac_useropt" 1174"*) ;; 1175 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1176 ac_unrecognized_sep=', ';; 1177 esac 1178 eval enable_$ac_useropt=no ;; 1179 1180 -docdir | --docdir | --docdi | --doc | --do) 1181 ac_prev=docdir ;; 1182 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1183 docdir=$ac_optarg ;; 1184 1185 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1186 ac_prev=dvidir ;; 1187 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1188 dvidir=$ac_optarg ;; 1189 1190 -enable-* | --enable-*) 1191 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1192 # Reject names that are not valid shell variable names. 1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1194 as_fn_error $? "invalid feature name: $ac_useropt" 1195 ac_useropt_orig=$ac_useropt 1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1197 case $ac_user_opts in 1198 *" 1199"enable_$ac_useropt" 1200"*) ;; 1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1202 ac_unrecognized_sep=', ';; 1203 esac 1204 eval enable_$ac_useropt=\$ac_optarg ;; 1205 1206 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1207 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1208 | --exec | --exe | --ex) 1209 ac_prev=exec_prefix ;; 1210 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1211 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1212 | --exec=* | --exe=* | --ex=*) 1213 exec_prefix=$ac_optarg ;; 1214 1215 -gas | --gas | --ga | --g) 1216 # Obsolete; use --with-gas. 1217 with_gas=yes ;; 1218 1219 -help | --help | --hel | --he | -h) 1220 ac_init_help=long ;; 1221 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1222 ac_init_help=recursive ;; 1223 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1224 ac_init_help=short ;; 1225 1226 -host | --host | --hos | --ho) 1227 ac_prev=host_alias ;; 1228 -host=* | --host=* | --hos=* | --ho=*) 1229 host_alias=$ac_optarg ;; 1230 1231 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1232 ac_prev=htmldir ;; 1233 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1234 | --ht=*) 1235 htmldir=$ac_optarg ;; 1236 1237 -includedir | --includedir | --includedi | --included | --include \ 1238 | --includ | --inclu | --incl | --inc) 1239 ac_prev=includedir ;; 1240 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1241 | --includ=* | --inclu=* | --incl=* | --inc=*) 1242 includedir=$ac_optarg ;; 1243 1244 -infodir | --infodir | --infodi | --infod | --info | --inf) 1245 ac_prev=infodir ;; 1246 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1247 infodir=$ac_optarg ;; 1248 1249 -libdir | --libdir | --libdi | --libd) 1250 ac_prev=libdir ;; 1251 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1252 libdir=$ac_optarg ;; 1253 1254 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1255 | --libexe | --libex | --libe) 1256 ac_prev=libexecdir ;; 1257 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1258 | --libexe=* | --libex=* | --libe=*) 1259 libexecdir=$ac_optarg ;; 1260 1261 -localedir | --localedir | --localedi | --localed | --locale) 1262 ac_prev=localedir ;; 1263 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1264 localedir=$ac_optarg ;; 1265 1266 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1267 | --localstate | --localstat | --localsta | --localst | --locals) 1268 ac_prev=localstatedir ;; 1269 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1270 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1271 localstatedir=$ac_optarg ;; 1272 1273 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1274 ac_prev=mandir ;; 1275 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1276 mandir=$ac_optarg ;; 1277 1278 -nfp | --nfp | --nf) 1279 # Obsolete; use --without-fp. 1280 with_fp=no ;; 1281 1282 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1283 | --no-cr | --no-c | -n) 1284 no_create=yes ;; 1285 1286 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1287 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1288 no_recursion=yes ;; 1289 1290 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1291 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1292 | --oldin | --oldi | --old | --ol | --o) 1293 ac_prev=oldincludedir ;; 1294 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1295 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1296 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1297 oldincludedir=$ac_optarg ;; 1298 1299 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1300 ac_prev=prefix ;; 1301 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1302 prefix=$ac_optarg ;; 1303 1304 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1305 | --program-pre | --program-pr | --program-p) 1306 ac_prev=program_prefix ;; 1307 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1308 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1309 program_prefix=$ac_optarg ;; 1310 1311 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1312 | --program-suf | --program-su | --program-s) 1313 ac_prev=program_suffix ;; 1314 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1315 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1316 program_suffix=$ac_optarg ;; 1317 1318 -program-transform-name | --program-transform-name \ 1319 | --program-transform-nam | --program-transform-na \ 1320 | --program-transform-n | --program-transform- \ 1321 | --program-transform | --program-transfor \ 1322 | --program-transfo | --program-transf \ 1323 | --program-trans | --program-tran \ 1324 | --progr-tra | --program-tr | --program-t) 1325 ac_prev=program_transform_name ;; 1326 -program-transform-name=* | --program-transform-name=* \ 1327 | --program-transform-nam=* | --program-transform-na=* \ 1328 | --program-transform-n=* | --program-transform-=* \ 1329 | --program-transform=* | --program-transfor=* \ 1330 | --program-transfo=* | --program-transf=* \ 1331 | --program-trans=* | --program-tran=* \ 1332 | --progr-tra=* | --program-tr=* | --program-t=*) 1333 program_transform_name=$ac_optarg ;; 1334 1335 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1336 ac_prev=pdfdir ;; 1337 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1338 pdfdir=$ac_optarg ;; 1339 1340 -psdir | --psdir | --psdi | --psd | --ps) 1341 ac_prev=psdir ;; 1342 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1343 psdir=$ac_optarg ;; 1344 1345 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1346 | -silent | --silent | --silen | --sile | --sil) 1347 silent=yes ;; 1348 1349 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1350 ac_prev=sbindir ;; 1351 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1352 | --sbi=* | --sb=*) 1353 sbindir=$ac_optarg ;; 1354 1355 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1356 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1357 | --sharedst | --shareds | --shared | --share | --shar \ 1358 | --sha | --sh) 1359 ac_prev=sharedstatedir ;; 1360 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1361 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1362 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1363 | --sha=* | --sh=*) 1364 sharedstatedir=$ac_optarg ;; 1365 1366 -site | --site | --sit) 1367 ac_prev=site ;; 1368 -site=* | --site=* | --sit=*) 1369 site=$ac_optarg ;; 1370 1371 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1372 ac_prev=srcdir ;; 1373 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1374 srcdir=$ac_optarg ;; 1375 1376 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1377 | --syscon | --sysco | --sysc | --sys | --sy) 1378 ac_prev=sysconfdir ;; 1379 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1380 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1381 sysconfdir=$ac_optarg ;; 1382 1383 -target | --target | --targe | --targ | --tar | --ta | --t) 1384 ac_prev=target_alias ;; 1385 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1386 target_alias=$ac_optarg ;; 1387 1388 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1389 verbose=yes ;; 1390 1391 -version | --version | --versio | --versi | --vers | -V) 1392 ac_init_version=: ;; 1393 1394 -with-* | --with-*) 1395 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1396 # Reject names that are not valid shell variable names. 1397 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1398 as_fn_error $? "invalid package name: $ac_useropt" 1399 ac_useropt_orig=$ac_useropt 1400 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1401 case $ac_user_opts in 1402 *" 1403"with_$ac_useropt" 1404"*) ;; 1405 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1406 ac_unrecognized_sep=', ';; 1407 esac 1408 eval with_$ac_useropt=\$ac_optarg ;; 1409 1410 -without-* | --without-*) 1411 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1412 # Reject names that are not valid shell variable names. 1413 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1414 as_fn_error $? "invalid package name: $ac_useropt" 1415 ac_useropt_orig=$ac_useropt 1416 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1417 case $ac_user_opts in 1418 *" 1419"with_$ac_useropt" 1420"*) ;; 1421 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1422 ac_unrecognized_sep=', ';; 1423 esac 1424 eval with_$ac_useropt=no ;; 1425 1426 --x) 1427 # Obsolete; use --with-x. 1428 with_x=yes ;; 1429 1430 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1431 | --x-incl | --x-inc | --x-in | --x-i) 1432 ac_prev=x_includes ;; 1433 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1434 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1435 x_includes=$ac_optarg ;; 1436 1437 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1438 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1439 ac_prev=x_libraries ;; 1440 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1441 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1442 x_libraries=$ac_optarg ;; 1443 1444 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1445Try \`$0 --help' for more information" 1446 ;; 1447 1448 *=*) 1449 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1450 # Reject names that are not valid shell variable names. 1451 case $ac_envvar in #( 1452 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1453 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1454 esac 1455 eval $ac_envvar=\$ac_optarg 1456 export $ac_envvar ;; 1457 1458 *) 1459 # FIXME: should be removed in autoconf 3.0. 1460 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1461 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1462 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1463 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1464 ;; 1465 1466 esac 1467done 1468 1469if test -n "$ac_prev"; then 1470 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1471 as_fn_error $? "missing argument to $ac_option" 1472fi 1473 1474if test -n "$ac_unrecognized_opts"; then 1475 case $enable_option_checking in 1476 no) ;; 1477 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1478 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1479 esac 1480fi 1481 1482# Check all directory arguments for consistency. 1483for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1484 datadir sysconfdir sharedstatedir localstatedir includedir \ 1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1486 libdir localedir mandir 1487do 1488 eval ac_val=\$$ac_var 1489 # Remove trailing slashes. 1490 case $ac_val in 1491 */ ) 1492 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1493 eval $ac_var=\$ac_val;; 1494 esac 1495 # Be sure to have absolute directory names. 1496 case $ac_val in 1497 [\\/$]* | ?:[\\/]* ) continue;; 1498 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1499 esac 1500 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1501done 1502 1503# There might be people who depend on the old broken behavior: `$host' 1504# used to hold the argument of --host etc. 1505# FIXME: To remove some day. 1506build=$build_alias 1507host=$host_alias 1508target=$target_alias 1509 1510# FIXME: To remove some day. 1511if test "x$host_alias" != x; then 1512 if test "x$build_alias" = x; then 1513 cross_compiling=maybe 1514 elif test "x$build_alias" != "x$host_alias"; then 1515 cross_compiling=yes 1516 fi 1517fi 1518 1519ac_tool_prefix= 1520test -n "$host_alias" && ac_tool_prefix=$host_alias- 1521 1522test "$silent" = yes && exec 6>/dev/null 1523 1524 1525ac_pwd=`pwd` && test -n "$ac_pwd" && 1526ac_ls_di=`ls -di .` && 1527ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1528 as_fn_error $? "working directory cannot be determined" 1529test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1530 as_fn_error $? "pwd does not report name of working directory" 1531 1532 1533# Find the source files, if location was not specified. 1534if test -z "$srcdir"; then 1535 ac_srcdir_defaulted=yes 1536 # Try the directory containing this script, then the parent directory. 1537 ac_confdir=`$as_dirname -- "$as_myself" || 1538$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1539 X"$as_myself" : 'X\(//\)[^/]' \| \ 1540 X"$as_myself" : 'X\(//\)$' \| \ 1541 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1542$as_echo X"$as_myself" | 1543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1544 s//\1/ 1545 q 1546 } 1547 /^X\(\/\/\)[^/].*/{ 1548 s//\1/ 1549 q 1550 } 1551 /^X\(\/\/\)$/{ 1552 s//\1/ 1553 q 1554 } 1555 /^X\(\/\).*/{ 1556 s//\1/ 1557 q 1558 } 1559 s/.*/./; q'` 1560 srcdir=$ac_confdir 1561 if test ! -r "$srcdir/$ac_unique_file"; then 1562 srcdir=.. 1563 fi 1564else 1565 ac_srcdir_defaulted=no 1566fi 1567if test ! -r "$srcdir/$ac_unique_file"; then 1568 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1569 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1570fi 1571ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1572ac_abs_confdir=`( 1573 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1574 pwd)` 1575# When building in place, set srcdir=. 1576if test "$ac_abs_confdir" = "$ac_pwd"; then 1577 srcdir=. 1578fi 1579# Remove unnecessary trailing slashes from srcdir. 1580# Double slashes in file names in object file debugging info 1581# mess up M-x gdb in Emacs. 1582case $srcdir in 1583*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1584esac 1585for ac_var in $ac_precious_vars; do 1586 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1587 eval ac_env_${ac_var}_value=\$${ac_var} 1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1589 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1590done 1591 1592# 1593# Report the --help message. 1594# 1595if test "$ac_init_help" = "long"; then 1596 # Omit some internal or obsolete options to make the list less imposing. 1597 # This message is too long to be a string in the A/UX 3.1 sh. 1598 cat <<_ACEOF 1599\`configure' configures Web2C 2015 to adapt to many kinds of systems. 1600 1601Usage: $0 [OPTION]... [VAR=VALUE]... 1602 1603To assign environment variables (e.g., CC, CFLAGS...), specify them as 1604VAR=VALUE. See below for descriptions of some of the useful variables. 1605 1606Defaults for the options are specified in brackets. 1607 1608Configuration: 1609 -h, --help display this help and exit 1610 --help=short display options specific to this package 1611 --help=recursive display the short help of all the included packages 1612 -V, --version display version information and exit 1613 -q, --quiet, --silent do not print \`checking ...' messages 1614 --cache-file=FILE cache test results in FILE [disabled] 1615 -C, --config-cache alias for \`--cache-file=config.cache' 1616 -n, --no-create do not create output files 1617 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1618 1619Installation directories: 1620 --prefix=PREFIX install architecture-independent files in PREFIX 1621 [$ac_default_prefix] 1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1623 [PREFIX] 1624 1625By default, \`make install' will install all the files in 1626\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1627an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1628for instance \`--prefix=\$HOME'. 1629 1630For better control, use the options below. 1631 1632Fine tuning of the installation directories: 1633 --bindir=DIR user executables [EPREFIX/bin] 1634 --sbindir=DIR system admin executables [EPREFIX/sbin] 1635 --libexecdir=DIR program executables [EPREFIX/libexec] 1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1639 --libdir=DIR object code libraries [EPREFIX/lib] 1640 --includedir=DIR C header files [PREFIX/include] 1641 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1644 --infodir=DIR info documentation [DATAROOTDIR/info] 1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1646 --mandir=DIR man documentation [DATAROOTDIR/man] 1647 --docdir=DIR documentation root [DATAROOTDIR/doc/web2c] 1648 --htmldir=DIR html documentation [DOCDIR] 1649 --dvidir=DIR dvi documentation [DOCDIR] 1650 --pdfdir=DIR pdf documentation [DOCDIR] 1651 --psdir=DIR ps documentation [DOCDIR] 1652_ACEOF 1653 1654 cat <<\_ACEOF 1655 1656Program names: 1657 --program-prefix=PREFIX prepend PREFIX to installed program names 1658 --program-suffix=SUFFIX append SUFFIX to installed program names 1659 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1660 1661X features: 1662 --x-includes=DIR X include files are in DIR 1663 --x-libraries=DIR X library files are in DIR 1664 1665System types: 1666 --build=BUILD configure for building on BUILD [guessed] 1667 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1668_ACEOF 1669fi 1670 1671if test -n "$ac_init_help"; then 1672 case $ac_init_help in 1673 short | recursive ) echo "Configuration of Web2C 2015:";; 1674 esac 1675 cat <<\_ACEOF 1676 1677Optional Features: 1678 --disable-option-checking ignore unrecognized --enable/--with options 1679 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1680 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1681 --enable-silent-rules less verbose build output (undo: "make V=1") 1682 --disable-silent-rules verbose build output (undo: "make V=0") 1683 --enable-maintainer-mode 1684 enable make rules and dependencies not useful (and 1685 sometimes confusing) to the casual installer 1686 --enable-dependency-tracking 1687 do not reject slow dependency extractors 1688 --disable-dependency-tracking 1689 speeds up one-time build 1690 --enable-compiler-warnings=[no|min|yes|max|all] 1691 Turn on compiler warnings [default: yes if 1692 maintainer-mode, min otherwise] 1693 --enable-shared[=PKGS] build shared libraries [default=yes] 1694 --enable-static[=PKGS] build static libraries [default=yes] 1695 --enable-fast-install[=PKGS] 1696 optimize for fast installation [default=yes] 1697 --disable-libtool-lock avoid locking (might break parallel builds) 1698 --disable-largefile omit support for large files 1699 --enable-cxx-runtime-hack link C++ runtime statically 1700 --enable-libtool-hack ignore libtool dependency_libs 1701 --enable-auto-core cause TeX&MF to dump core, given a certain filename 1702 --disable-dump-share make fmt/base files architecture-dependent 1703 --disable-ipc disable TeX's --ipc option, i.e., pipe to a program 1704 --disable-tex do not compile and install TeX 1705 --enable-tex-synctex build TeX with SyncTeX support 1706 --enable-etex compile and install e-TeX 1707 --disable-etex-synctex build e-TeX without SyncTeX support 1708 --disable-ptex do not compile and install pTeX 1709 --disable-ptex-synctex build pTeX without SyncTeX support 1710 --disable-eptex do not compile and install e-pTeX 1711 --disable-eptex-synctex build e-pTeX without SyncTeX support 1712 --disable-uptex do not compile and install upTeX 1713 --disable-uptex-synctex build upTeX without SyncTeX support 1714 --disable-euptex do not compile and install e-upTeX 1715 --disable-euptex-synctex build e-upTeX without SyncTeX support 1716 --disable-aleph do not compile and install Aleph 1717 --disable-pdftex do not compile and install pdfTeX 1718 --disable-pdftex-synctex build pdfTeX without SyncTeX support 1719 --disable-luatex do not compile and install LuaTeX 1720 --disable-luajittex do not compile and install LuaJITTeX 1721 --disable-mp do not compile and install MetaPost 1722 --disable-pmp do not compile and install pMetaPost 1723 --disable-upmp do not compile and install upMetaPost 1724 --disable-xetex do not compile and install XeTeX 1725 --disable-xetex-synctex build XeTeX without SyncTeX support 1726 --disable-mf do not compile and install METAFONT 1727 --disable-mf-nowin do not build a separate non-window-capable 1728 METAFONT 1729 --enable-epsfwin include EPSF pseudo window support 1730 --enable-hp2627win include HP 2627 window support 1731 --enable-mftalkwin include mftalk (generic server) window support 1732 --enable-nextwin include NeXT window support 1733 --enable-regiswin include Regis window support 1734 --enable-suntoolswin include old Suntools (not X) window support 1735 --enable-tektronixwin include Tektronix window support 1736 --enable-unitermwin include Uniterm window support 1737 --disable-web-progs do not build WEB programs bibtex ... weave 1738 --disable-synctex do not build the SyncTeX library and tool 1739 --disable-missing terminate if a requested program or feature must be 1740 disabled, e.g., due to missing libraries 1741 1742Optional Packages: 1743 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1744 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1745 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1746 both] 1747 --with-aix-soname=aix|svr4|both 1748 shared library versioning (aka "SONAME") variant to 1749 provide on AIX, [default=aix]. 1750 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1751 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1752 compiler's sysroot if not specified). 1753 --with-banner-add=STR add STR to version string appended to banner lines 1754 --with-editor=CMD invoke CMD from the `e' option [vi +%d '%s'] or 1755 [texworks --position=%d "%s"] 1756 --with-mf-x-toolkit use X toolkit for METAFONT 1757 --with-fontconfig-includes=DIR 1758 fontconfig headers installed in DIR 1759 --with-fontconfig-libdir=DIR 1760 fontconfig library installed in DIR 1761 --with-x use the X Window System 1762 --with-system-kpathsea use installed kpathsea headers and library (requires 1763 pkg-config) 1764 --with-system-ptexenc use installed ptexenc headers and library (requires 1765 pkg-config) 1766 --with-system-zlib use installed zlib headers and library 1767 --with-zlib-includes=DIR 1768 zlib headers installed in DIR 1769 --with-zlib-libdir=DIR zlib library installed in DIR 1770 --with-system-libpng use installed libpng headers and library (requires 1771 pkg-config) 1772 --with-system-freetype2 use installed freetype2 headers and library 1773 (requires freetype-config) 1774 --with-system-pixman use installed pixman headers and library (requires 1775 pkg-config) 1776 --with-system-cairo use installed cairo headers and library (requires 1777 pkg-config) 1778 --with-system-gmp use installed gmp headers and library 1779 --with-gmp-includes=DIR gmp headers installed in DIR 1780 --with-gmp-libdir=DIR gmp library installed in DIR 1781 --with-system-mpfr use installed mpfr headers and library 1782 --with-mpfr-includes=DIR 1783 mpfr headers installed in DIR 1784 --with-mpfr-libdir=DIR mpfr library installed in DIR 1785 --with-system-poppler use installed poppler headers and library (requires 1786 pkg-config) 1787 --with-system-xpdf use installed poppler headers and library instead of 1788 xpdf library from TL (requires pkg-config) 1789 --with-system-zziplib use installed zziplib headers and library (requires 1790 pkg-config) 1791 --with-system-teckit use installed teckit headers and library (requires 1792 pkg-config) 1793 --with-system-icu use installed ICU headers and libraries (requires 1794 icu-config) 1795 --with-system-graphite2 use installed graphite2 headers and library 1796 (requires pkg-config) 1797 --with-system-harfbuzz use installed harfbuzz headers and library (requires 1798 pkg-config) 1799 1800Some influential environment variables: 1801 CC C compiler command 1802 CFLAGS C compiler flags 1803 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1804 nonstandard directory <lib dir> 1805 LIBS libraries to pass to the linker, e.g. -l<library> 1806 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1807 you have headers in a nonstandard directory <include dir> 1808 LT_SYS_LIBRARY_PATH 1809 User-defined run-time library search path. 1810 CPP C preprocessor 1811 CXX C++ compiler command 1812 CXXFLAGS C++ compiler flags 1813 CXXCPP C++ preprocessor 1814 OBJCXX Objective C++ compiler command 1815 OBJCXXFLAGS Objective C++ compiler flags 1816 XMKMF Path to xmkmf, Makefile generator for X Window System 1817 YACC The `Yet Another Compiler Compiler' implementation to use. 1818 Defaults to the first program found out of: `bison -y', `byacc', 1819 `yacc'. 1820 YFLAGS The list of arguments that will be passed by default to $YACC. 1821 This script will default YFLAGS to the empty string to avoid a 1822 default value of `-d' given by some make applications. 1823 1824Use these variables to override the choices made by `configure' or to help 1825it to find libraries and programs with nonstandard names/locations. 1826 1827Report bugs to <tex-k@tug.org>. 1828_ACEOF 1829ac_status=$? 1830fi 1831 1832if test "$ac_init_help" = "recursive"; then 1833 # If there are subdirs, report their specific --help. 1834 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1835 test -d "$ac_dir" || 1836 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1837 continue 1838 ac_builddir=. 1839 1840case "$ac_dir" in 1841.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1842*) 1843 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1844 # A ".." for each directory in $ac_dir_suffix. 1845 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1846 case $ac_top_builddir_sub in 1847 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1848 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1849 esac ;; 1850esac 1851ac_abs_top_builddir=$ac_pwd 1852ac_abs_builddir=$ac_pwd$ac_dir_suffix 1853# for backward compatibility: 1854ac_top_builddir=$ac_top_build_prefix 1855 1856case $srcdir in 1857 .) # We are building in place. 1858 ac_srcdir=. 1859 ac_top_srcdir=$ac_top_builddir_sub 1860 ac_abs_top_srcdir=$ac_pwd ;; 1861 [\\/]* | ?:[\\/]* ) # Absolute name. 1862 ac_srcdir=$srcdir$ac_dir_suffix; 1863 ac_top_srcdir=$srcdir 1864 ac_abs_top_srcdir=$srcdir ;; 1865 *) # Relative name. 1866 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1867 ac_top_srcdir=$ac_top_build_prefix$srcdir 1868 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1869esac 1870ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1871 1872 cd "$ac_dir" || { ac_status=$?; continue; } 1873 # Check for guested configure. 1874 if test -f "$ac_srcdir/configure.gnu"; then 1875 echo && 1876 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1877 elif test -f "$ac_srcdir/configure"; then 1878 echo && 1879 $SHELL "$ac_srcdir/configure" --help=recursive 1880 else 1881 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1882 fi || ac_status=$? 1883 cd "$ac_pwd" || { ac_status=$?; break; } 1884 done 1885fi 1886 1887test -n "$ac_init_help" && exit $ac_status 1888if $ac_init_version; then 1889 cat <<\_ACEOF 1890Web2C configure 2015 1891generated by GNU Autoconf 2.69 1892 1893Copyright (C) 2012 Free Software Foundation, Inc. 1894This configure script is free software; the Free Software Foundation 1895gives unlimited permission to copy, distribute and modify it. 1896_ACEOF 1897 exit 1898fi 1899 1900## ------------------------ ## 1901## Autoconf initialization. ## 1902## ------------------------ ## 1903 1904# ac_fn_c_try_compile LINENO 1905# -------------------------- 1906# Try to compile conftest.$ac_ext, and return whether this succeeded. 1907ac_fn_c_try_compile () 1908{ 1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1910 rm -f conftest.$ac_objext 1911 if { { ac_try="$ac_compile" 1912case "(($ac_try" in 1913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1914 *) ac_try_echo=$ac_try;; 1915esac 1916eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1917$as_echo "$ac_try_echo"; } >&5 1918 (eval "$ac_compile") 2>conftest.err 1919 ac_status=$? 1920 if test -s conftest.err; then 1921 grep -v '^ *+' conftest.err >conftest.er1 1922 cat conftest.er1 >&5 1923 mv -f conftest.er1 conftest.err 1924 fi 1925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1926 test $ac_status = 0; } && { 1927 test -z "$ac_c_werror_flag" || 1928 test ! -s conftest.err 1929 } && test -s conftest.$ac_objext; then : 1930 ac_retval=0 1931else 1932 $as_echo "$as_me: failed program was:" >&5 1933sed 's/^/| /' conftest.$ac_ext >&5 1934 1935 ac_retval=1 1936fi 1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1938 as_fn_set_status $ac_retval 1939 1940} # ac_fn_c_try_compile 1941 1942# ac_fn_c_try_link LINENO 1943# ----------------------- 1944# Try to link conftest.$ac_ext, and return whether this succeeded. 1945ac_fn_c_try_link () 1946{ 1947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1948 rm -f conftest.$ac_objext conftest$ac_exeext 1949 if { { ac_try="$ac_link" 1950case "(($ac_try" in 1951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1952 *) ac_try_echo=$ac_try;; 1953esac 1954eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1955$as_echo "$ac_try_echo"; } >&5 1956 (eval "$ac_link") 2>conftest.err 1957 ac_status=$? 1958 if test -s conftest.err; then 1959 grep -v '^ *+' conftest.err >conftest.er1 1960 cat conftest.er1 >&5 1961 mv -f conftest.er1 conftest.err 1962 fi 1963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1964 test $ac_status = 0; } && { 1965 test -z "$ac_c_werror_flag" || 1966 test ! -s conftest.err 1967 } && test -s conftest$ac_exeext && { 1968 test "$cross_compiling" = yes || 1969 test -x conftest$ac_exeext 1970 }; then : 1971 ac_retval=0 1972else 1973 $as_echo "$as_me: failed program was:" >&5 1974sed 's/^/| /' conftest.$ac_ext >&5 1975 1976 ac_retval=1 1977fi 1978 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1979 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1980 # interfere with the next link command; also delete a directory that is 1981 # left behind by Apple's compiler. We do this before executing the actions. 1982 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1984 as_fn_set_status $ac_retval 1985 1986} # ac_fn_c_try_link 1987 1988# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1989# ------------------------------------------------------- 1990# Tests whether HEADER exists and can be compiled using the include files in 1991# INCLUDES, setting the cache variable VAR accordingly. 1992ac_fn_c_check_header_compile () 1993{ 1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1996$as_echo_n "checking for $2... " >&6; } 1997if eval \${$3+:} false; then : 1998 $as_echo_n "(cached) " >&6 1999else 2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2001/* end confdefs.h. */ 2002$4 2003#include <$2> 2004_ACEOF 2005if ac_fn_c_try_compile "$LINENO"; then : 2006 eval "$3=yes" 2007else 2008 eval "$3=no" 2009fi 2010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2011fi 2012eval ac_res=\$$3 2013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2014$as_echo "$ac_res" >&6; } 2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2016 2017} # ac_fn_c_check_header_compile 2018 2019# ac_fn_c_try_cpp LINENO 2020# ---------------------- 2021# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2022ac_fn_c_try_cpp () 2023{ 2024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2025 if { { ac_try="$ac_cpp conftest.$ac_ext" 2026case "(($ac_try" in 2027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2028 *) ac_try_echo=$ac_try;; 2029esac 2030eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2031$as_echo "$ac_try_echo"; } >&5 2032 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2033 ac_status=$? 2034 if test -s conftest.err; then 2035 grep -v '^ *+' conftest.err >conftest.er1 2036 cat conftest.er1 >&5 2037 mv -f conftest.er1 conftest.err 2038 fi 2039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2040 test $ac_status = 0; } > conftest.i && { 2041 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2042 test ! -s conftest.err 2043 }; then : 2044 ac_retval=0 2045else 2046 $as_echo "$as_me: failed program was:" >&5 2047sed 's/^/| /' conftest.$ac_ext >&5 2048 2049 ac_retval=1 2050fi 2051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2052 as_fn_set_status $ac_retval 2053 2054} # ac_fn_c_try_cpp 2055 2056# ac_fn_c_try_run LINENO 2057# ---------------------- 2058# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2059# that executables *can* be run. 2060ac_fn_c_try_run () 2061{ 2062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2063 if { { ac_try="$ac_link" 2064case "(($ac_try" in 2065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2066 *) ac_try_echo=$ac_try;; 2067esac 2068eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2069$as_echo "$ac_try_echo"; } >&5 2070 (eval "$ac_link") 2>&5 2071 ac_status=$? 2072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2073 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2074 { { case "(($ac_try" in 2075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2076 *) ac_try_echo=$ac_try;; 2077esac 2078eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2079$as_echo "$ac_try_echo"; } >&5 2080 (eval "$ac_try") 2>&5 2081 ac_status=$? 2082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2083 test $ac_status = 0; }; }; then : 2084 ac_retval=0 2085else 2086 $as_echo "$as_me: program exited with status $ac_status" >&5 2087 $as_echo "$as_me: failed program was:" >&5 2088sed 's/^/| /' conftest.$ac_ext >&5 2089 2090 ac_retval=$ac_status 2091fi 2092 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2094 as_fn_set_status $ac_retval 2095 2096} # ac_fn_c_try_run 2097 2098# ac_fn_c_check_func LINENO FUNC VAR 2099# ---------------------------------- 2100# Tests whether FUNC exists, setting the cache variable VAR accordingly 2101ac_fn_c_check_func () 2102{ 2103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2105$as_echo_n "checking for $2... " >&6; } 2106if eval \${$3+:} false; then : 2107 $as_echo_n "(cached) " >&6 2108else 2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2110/* end confdefs.h. */ 2111/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2112 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2113#define $2 innocuous_$2 2114 2115/* System header to define __stub macros and hopefully few prototypes, 2116 which can conflict with char $2 (); below. 2117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2118 <limits.h> exists even on freestanding compilers. */ 2119 2120#ifdef __STDC__ 2121# include <limits.h> 2122#else 2123# include <assert.h> 2124#endif 2125 2126#undef $2 2127 2128/* Override any GCC internal prototype to avoid an error. 2129 Use char because int might match the return type of a GCC 2130 builtin and then its argument prototype would still apply. */ 2131#ifdef __cplusplus 2132extern "C" 2133#endif 2134char $2 (); 2135/* The GNU C library defines this for functions which it implements 2136 to always fail with ENOSYS. Some functions are actually named 2137 something starting with __ and the normal name is an alias. */ 2138#if defined __stub_$2 || defined __stub___$2 2139choke me 2140#endif 2141 2142int 2143main () 2144{ 2145return $2 (); 2146 ; 2147 return 0; 2148} 2149_ACEOF 2150if ac_fn_c_try_link "$LINENO"; then : 2151 eval "$3=yes" 2152else 2153 eval "$3=no" 2154fi 2155rm -f core conftest.err conftest.$ac_objext \ 2156 conftest$ac_exeext conftest.$ac_ext 2157fi 2158eval ac_res=\$$3 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2160$as_echo "$ac_res" >&6; } 2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2162 2163} # ac_fn_c_check_func 2164 2165# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2166# ------------------------------------------------------- 2167# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2168# the include files in INCLUDES and setting the cache variable VAR 2169# accordingly. 2170ac_fn_c_check_header_mongrel () 2171{ 2172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2173 if eval \${$3+:} false; then : 2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2175$as_echo_n "checking for $2... " >&6; } 2176if eval \${$3+:} false; then : 2177 $as_echo_n "(cached) " >&6 2178fi 2179eval ac_res=\$$3 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2181$as_echo "$ac_res" >&6; } 2182else 2183 # Is the header compilable? 2184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2185$as_echo_n "checking $2 usability... " >&6; } 2186cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2187/* end confdefs.h. */ 2188$4 2189#include <$2> 2190_ACEOF 2191if ac_fn_c_try_compile "$LINENO"; then : 2192 ac_header_compiler=yes 2193else 2194 ac_header_compiler=no 2195fi 2196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2198$as_echo "$ac_header_compiler" >&6; } 2199 2200# Is the header present? 2201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2202$as_echo_n "checking $2 presence... " >&6; } 2203cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2204/* end confdefs.h. */ 2205#include <$2> 2206_ACEOF 2207if ac_fn_c_try_cpp "$LINENO"; then : 2208 ac_header_preproc=yes 2209else 2210 ac_header_preproc=no 2211fi 2212rm -f conftest.err conftest.i conftest.$ac_ext 2213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2214$as_echo "$ac_header_preproc" >&6; } 2215 2216# So? What about this header? 2217case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2218 yes:no: ) 2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2220$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2222$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2223 ;; 2224 no:yes:* ) 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2226$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2228$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2230$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2232$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2234$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2235( $as_echo "## ---------------------------- ## 2236## Report this to tex-k@tug.org ## 2237## ---------------------------- ##" 2238 ) | sed "s/^/$as_me: WARNING: /" >&2 2239 ;; 2240esac 2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2242$as_echo_n "checking for $2... " >&6; } 2243if eval \${$3+:} false; then : 2244 $as_echo_n "(cached) " >&6 2245else 2246 eval "$3=\$ac_header_compiler" 2247fi 2248eval ac_res=\$$3 2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2250$as_echo "$ac_res" >&6; } 2251fi 2252 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2253 2254} # ac_fn_c_check_header_mongrel 2255 2256# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2257# ------------------------------------------- 2258# Tests whether TYPE exists after having included INCLUDES, setting cache 2259# variable VAR accordingly. 2260ac_fn_c_check_type () 2261{ 2262 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2264$as_echo_n "checking for $2... " >&6; } 2265if eval \${$3+:} false; then : 2266 $as_echo_n "(cached) " >&6 2267else 2268 eval "$3=no" 2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2270/* end confdefs.h. */ 2271$4 2272int 2273main () 2274{ 2275if (sizeof ($2)) 2276 return 0; 2277 ; 2278 return 0; 2279} 2280_ACEOF 2281if ac_fn_c_try_compile "$LINENO"; then : 2282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2283/* end confdefs.h. */ 2284$4 2285int 2286main () 2287{ 2288if (sizeof (($2))) 2289 return 0; 2290 ; 2291 return 0; 2292} 2293_ACEOF 2294if ac_fn_c_try_compile "$LINENO"; then : 2295 2296else 2297 eval "$3=yes" 2298fi 2299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2300fi 2301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2302fi 2303eval ac_res=\$$3 2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2305$as_echo "$ac_res" >&6; } 2306 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2307 2308} # ac_fn_c_check_type 2309 2310# ac_fn_c_find_intX_t LINENO BITS VAR 2311# ----------------------------------- 2312# Finds a signed integer type with width BITS, setting cache variable VAR 2313# accordingly. 2314ac_fn_c_find_intX_t () 2315{ 2316 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 2318$as_echo_n "checking for int$2_t... " >&6; } 2319if eval \${$3+:} false; then : 2320 $as_echo_n "(cached) " >&6 2321else 2322 eval "$3=no" 2323 # Order is important - never check a type that is potentially smaller 2324 # than half of the expected target width. 2325 for ac_type in int$2_t 'int' 'long int' \ 2326 'long long int' 'short int' 'signed char'; do 2327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2328/* end confdefs.h. */ 2329$ac_includes_default 2330 enum { N = $2 / 2 - 1 }; 2331int 2332main () 2333{ 2334static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 2335test_array [0] = 0; 2336return test_array [0]; 2337 2338 ; 2339 return 0; 2340} 2341_ACEOF 2342if ac_fn_c_try_compile "$LINENO"; then : 2343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2344/* end confdefs.h. */ 2345$ac_includes_default 2346 enum { N = $2 / 2 - 1 }; 2347int 2348main () 2349{ 2350static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 2351 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 2352test_array [0] = 0; 2353return test_array [0]; 2354 2355 ; 2356 return 0; 2357} 2358_ACEOF 2359if ac_fn_c_try_compile "$LINENO"; then : 2360 2361else 2362 case $ac_type in #( 2363 int$2_t) : 2364 eval "$3=yes" ;; #( 2365 *) : 2366 eval "$3=\$ac_type" ;; 2367esac 2368fi 2369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2370fi 2371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2372 if eval test \"x\$"$3"\" = x"no"; then : 2373 2374else 2375 break 2376fi 2377 done 2378fi 2379eval ac_res=\$$3 2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2381$as_echo "$ac_res" >&6; } 2382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2383 2384} # ac_fn_c_find_intX_t 2385 2386# ac_fn_c_find_uintX_t LINENO BITS VAR 2387# ------------------------------------ 2388# Finds an unsigned integer type with width BITS, setting cache variable VAR 2389# accordingly. 2390ac_fn_c_find_uintX_t () 2391{ 2392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 2394$as_echo_n "checking for uint$2_t... " >&6; } 2395if eval \${$3+:} false; then : 2396 $as_echo_n "(cached) " >&6 2397else 2398 eval "$3=no" 2399 # Order is important - never check a type that is potentially smaller 2400 # than half of the expected target width. 2401 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 2402 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 2403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2404/* end confdefs.h. */ 2405$ac_includes_default 2406int 2407main () 2408{ 2409static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 2410test_array [0] = 0; 2411return test_array [0]; 2412 2413 ; 2414 return 0; 2415} 2416_ACEOF 2417if ac_fn_c_try_compile "$LINENO"; then : 2418 case $ac_type in #( 2419 uint$2_t) : 2420 eval "$3=yes" ;; #( 2421 *) : 2422 eval "$3=\$ac_type" ;; 2423esac 2424fi 2425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2426 if eval test \"x\$"$3"\" = x"no"; then : 2427 2428else 2429 break 2430fi 2431 done 2432fi 2433eval ac_res=\$$3 2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2435$as_echo "$ac_res" >&6; } 2436 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2437 2438} # ac_fn_c_find_uintX_t 2439 2440# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2441# ---------------------------------------------------- 2442# Tries to find if the field MEMBER exists in type AGGR, after including 2443# INCLUDES, setting cache variable VAR accordingly. 2444ac_fn_c_check_member () 2445{ 2446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2448$as_echo_n "checking for $2.$3... " >&6; } 2449if eval \${$4+:} false; then : 2450 $as_echo_n "(cached) " >&6 2451else 2452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2453/* end confdefs.h. */ 2454$5 2455int 2456main () 2457{ 2458static $2 ac_aggr; 2459if (ac_aggr.$3) 2460return 0; 2461 ; 2462 return 0; 2463} 2464_ACEOF 2465if ac_fn_c_try_compile "$LINENO"; then : 2466 eval "$4=yes" 2467else 2468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2469/* end confdefs.h. */ 2470$5 2471int 2472main () 2473{ 2474static $2 ac_aggr; 2475if (sizeof ac_aggr.$3) 2476return 0; 2477 ; 2478 return 0; 2479} 2480_ACEOF 2481if ac_fn_c_try_compile "$LINENO"; then : 2482 eval "$4=yes" 2483else 2484 eval "$4=no" 2485fi 2486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2487fi 2488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2489fi 2490eval ac_res=\$$4 2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2492$as_echo "$ac_res" >&6; } 2493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2494 2495} # ac_fn_c_check_member 2496 2497# ac_fn_cxx_try_compile LINENO 2498# ---------------------------- 2499# Try to compile conftest.$ac_ext, and return whether this succeeded. 2500ac_fn_cxx_try_compile () 2501{ 2502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2503 rm -f conftest.$ac_objext 2504 if { { ac_try="$ac_compile" 2505case "(($ac_try" in 2506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2507 *) ac_try_echo=$ac_try;; 2508esac 2509eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2510$as_echo "$ac_try_echo"; } >&5 2511 (eval "$ac_compile") 2>conftest.err 2512 ac_status=$? 2513 if test -s conftest.err; then 2514 grep -v '^ *+' conftest.err >conftest.er1 2515 cat conftest.er1 >&5 2516 mv -f conftest.er1 conftest.err 2517 fi 2518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2519 test $ac_status = 0; } && { 2520 test -z "$ac_cxx_werror_flag" || 2521 test ! -s conftest.err 2522 } && test -s conftest.$ac_objext; then : 2523 ac_retval=0 2524else 2525 $as_echo "$as_me: failed program was:" >&5 2526sed 's/^/| /' conftest.$ac_ext >&5 2527 2528 ac_retval=1 2529fi 2530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2531 as_fn_set_status $ac_retval 2532 2533} # ac_fn_cxx_try_compile 2534 2535# ac_fn_cxx_try_cpp LINENO 2536# ------------------------ 2537# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2538ac_fn_cxx_try_cpp () 2539{ 2540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2541 if { { ac_try="$ac_cpp conftest.$ac_ext" 2542case "(($ac_try" in 2543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2544 *) ac_try_echo=$ac_try;; 2545esac 2546eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2547$as_echo "$ac_try_echo"; } >&5 2548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2549 ac_status=$? 2550 if test -s conftest.err; then 2551 grep -v '^ *+' conftest.err >conftest.er1 2552 cat conftest.er1 >&5 2553 mv -f conftest.er1 conftest.err 2554 fi 2555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2556 test $ac_status = 0; } > conftest.i && { 2557 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2558 test ! -s conftest.err 2559 }; then : 2560 ac_retval=0 2561else 2562 $as_echo "$as_me: failed program was:" >&5 2563sed 's/^/| /' conftest.$ac_ext >&5 2564 2565 ac_retval=1 2566fi 2567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2568 as_fn_set_status $ac_retval 2569 2570} # ac_fn_cxx_try_cpp 2571 2572# ac_fn_cxx_try_link LINENO 2573# ------------------------- 2574# Try to link conftest.$ac_ext, and return whether this succeeded. 2575ac_fn_cxx_try_link () 2576{ 2577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2578 rm -f conftest.$ac_objext conftest$ac_exeext 2579 if { { ac_try="$ac_link" 2580case "(($ac_try" in 2581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2582 *) ac_try_echo=$ac_try;; 2583esac 2584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2585$as_echo "$ac_try_echo"; } >&5 2586 (eval "$ac_link") 2>conftest.err 2587 ac_status=$? 2588 if test -s conftest.err; then 2589 grep -v '^ *+' conftest.err >conftest.er1 2590 cat conftest.er1 >&5 2591 mv -f conftest.er1 conftest.err 2592 fi 2593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2594 test $ac_status = 0; } && { 2595 test -z "$ac_cxx_werror_flag" || 2596 test ! -s conftest.err 2597 } && test -s conftest$ac_exeext && { 2598 test "$cross_compiling" = yes || 2599 test -x conftest$ac_exeext 2600 }; then : 2601 ac_retval=0 2602else 2603 $as_echo "$as_me: failed program was:" >&5 2604sed 's/^/| /' conftest.$ac_ext >&5 2605 2606 ac_retval=1 2607fi 2608 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2609 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2610 # interfere with the next link command; also delete a directory that is 2611 # left behind by Apple's compiler. We do this before executing the actions. 2612 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2614 as_fn_set_status $ac_retval 2615 2616} # ac_fn_cxx_try_link 2617 2618# ac_fn_objcxx_try_compile LINENO 2619# ------------------------------- 2620# Try to compile conftest.$ac_ext, and return whether this succeeded. 2621ac_fn_objcxx_try_compile () 2622{ 2623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2624 rm -f conftest.$ac_objext 2625 if { { ac_try="$ac_compile" 2626case "(($ac_try" in 2627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2628 *) ac_try_echo=$ac_try;; 2629esac 2630eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2631$as_echo "$ac_try_echo"; } >&5 2632 (eval "$ac_compile") 2>conftest.err 2633 ac_status=$? 2634 if test -s conftest.err; then 2635 grep -v '^ *+' conftest.err >conftest.er1 2636 cat conftest.er1 >&5 2637 mv -f conftest.er1 conftest.err 2638 fi 2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2640 test $ac_status = 0; } && { 2641 test -z "$ac_objcxx_werror_flag" || 2642 test ! -s conftest.err 2643 } && test -s conftest.$ac_objext; then : 2644 ac_retval=0 2645else 2646 $as_echo "$as_me: failed program was:" >&5 2647sed 's/^/| /' conftest.$ac_ext >&5 2648 2649 ac_retval=1 2650fi 2651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2652 as_fn_set_status $ac_retval 2653 2654} # ac_fn_objcxx_try_compile 2655 2656# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2657# --------------------------------------------------------- 2658# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2659# the include files in INCLUDES and setting the cache variable VAR 2660# accordingly. 2661ac_fn_cxx_check_header_mongrel () 2662{ 2663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2664 if eval \${$3+:} false; then : 2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2666$as_echo_n "checking for $2... " >&6; } 2667if eval \${$3+:} false; then : 2668 $as_echo_n "(cached) " >&6 2669fi 2670eval ac_res=\$$3 2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2672$as_echo "$ac_res" >&6; } 2673else 2674 # Is the header compilable? 2675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2676$as_echo_n "checking $2 usability... " >&6; } 2677cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2678/* end confdefs.h. */ 2679$4 2680#include <$2> 2681_ACEOF 2682if ac_fn_cxx_try_compile "$LINENO"; then : 2683 ac_header_compiler=yes 2684else 2685 ac_header_compiler=no 2686fi 2687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2689$as_echo "$ac_header_compiler" >&6; } 2690 2691# Is the header present? 2692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2693$as_echo_n "checking $2 presence... " >&6; } 2694cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2695/* end confdefs.h. */ 2696#include <$2> 2697_ACEOF 2698if ac_fn_cxx_try_cpp "$LINENO"; then : 2699 ac_header_preproc=yes 2700else 2701 ac_header_preproc=no 2702fi 2703rm -f conftest.err conftest.i conftest.$ac_ext 2704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2705$as_echo "$ac_header_preproc" >&6; } 2706 2707# So? What about this header? 2708case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2709 yes:no: ) 2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2711$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2713$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2714 ;; 2715 no:yes:* ) 2716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2717$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2719$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2721$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2723$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2725$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2726( $as_echo "## ---------------------------- ## 2727## Report this to tex-k@tug.org ## 2728## ---------------------------- ##" 2729 ) | sed "s/^/$as_me: WARNING: /" >&2 2730 ;; 2731esac 2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2733$as_echo_n "checking for $2... " >&6; } 2734if eval \${$3+:} false; then : 2735 $as_echo_n "(cached) " >&6 2736else 2737 eval "$3=\$ac_header_compiler" 2738fi 2739eval ac_res=\$$3 2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2741$as_echo "$ac_res" >&6; } 2742fi 2743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2744 2745} # ac_fn_cxx_check_header_mongrel 2746 2747# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2748# -------------------------------------------- 2749# Tries to find the compile-time value of EXPR in a program that includes 2750# INCLUDES, setting VAR accordingly. Returns whether the value could be 2751# computed 2752ac_fn_c_compute_int () 2753{ 2754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2755 if test "$cross_compiling" = yes; then 2756 # Depending upon the size, compute the lo and hi bounds. 2757cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2758/* end confdefs.h. */ 2759$4 2760int 2761main () 2762{ 2763static int test_array [1 - 2 * !(($2) >= 0)]; 2764test_array [0] = 0; 2765return test_array [0]; 2766 2767 ; 2768 return 0; 2769} 2770_ACEOF 2771if ac_fn_c_try_compile "$LINENO"; then : 2772 ac_lo=0 ac_mid=0 2773 while :; do 2774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2775/* end confdefs.h. */ 2776$4 2777int 2778main () 2779{ 2780static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2781test_array [0] = 0; 2782return test_array [0]; 2783 2784 ; 2785 return 0; 2786} 2787_ACEOF 2788if ac_fn_c_try_compile "$LINENO"; then : 2789 ac_hi=$ac_mid; break 2790else 2791 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2792 if test $ac_lo -le $ac_mid; then 2793 ac_lo= ac_hi= 2794 break 2795 fi 2796 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2797fi 2798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2799 done 2800else 2801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2802/* end confdefs.h. */ 2803$4 2804int 2805main () 2806{ 2807static int test_array [1 - 2 * !(($2) < 0)]; 2808test_array [0] = 0; 2809return test_array [0]; 2810 2811 ; 2812 return 0; 2813} 2814_ACEOF 2815if ac_fn_c_try_compile "$LINENO"; then : 2816 ac_hi=-1 ac_mid=-1 2817 while :; do 2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2819/* end confdefs.h. */ 2820$4 2821int 2822main () 2823{ 2824static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2825test_array [0] = 0; 2826return test_array [0]; 2827 2828 ; 2829 return 0; 2830} 2831_ACEOF 2832if ac_fn_c_try_compile "$LINENO"; then : 2833 ac_lo=$ac_mid; break 2834else 2835 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2836 if test $ac_mid -le $ac_hi; then 2837 ac_lo= ac_hi= 2838 break 2839 fi 2840 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2841fi 2842rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2843 done 2844else 2845 ac_lo= ac_hi= 2846fi 2847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2848fi 2849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2850# Binary search between lo and hi bounds. 2851while test "x$ac_lo" != "x$ac_hi"; do 2852 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2854/* end confdefs.h. */ 2855$4 2856int 2857main () 2858{ 2859static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2860test_array [0] = 0; 2861return test_array [0]; 2862 2863 ; 2864 return 0; 2865} 2866_ACEOF 2867if ac_fn_c_try_compile "$LINENO"; then : 2868 ac_hi=$ac_mid 2869else 2870 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2871fi 2872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2873done 2874case $ac_lo in #(( 2875?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2876'') ac_retval=1 ;; 2877esac 2878 else 2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2880/* end confdefs.h. */ 2881$4 2882static long int longval () { return $2; } 2883static unsigned long int ulongval () { return $2; } 2884#include <stdio.h> 2885#include <stdlib.h> 2886int 2887main () 2888{ 2889 2890 FILE *f = fopen ("conftest.val", "w"); 2891 if (! f) 2892 return 1; 2893 if (($2) < 0) 2894 { 2895 long int i = longval (); 2896 if (i != ($2)) 2897 return 1; 2898 fprintf (f, "%ld", i); 2899 } 2900 else 2901 { 2902 unsigned long int i = ulongval (); 2903 if (i != ($2)) 2904 return 1; 2905 fprintf (f, "%lu", i); 2906 } 2907 /* Do not output a trailing newline, as this causes \r\n confusion 2908 on some platforms. */ 2909 return ferror (f) || fclose (f) != 0; 2910 2911 ; 2912 return 0; 2913} 2914_ACEOF 2915if ac_fn_c_try_run "$LINENO"; then : 2916 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2917else 2918 ac_retval=1 2919fi 2920rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2921 conftest.$ac_objext conftest.beam conftest.$ac_ext 2922rm -f conftest.val 2923 2924 fi 2925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2926 as_fn_set_status $ac_retval 2927 2928} # ac_fn_c_compute_int 2929 2930# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2931# --------------------------------------------- 2932# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2933# accordingly. 2934ac_fn_c_check_decl () 2935{ 2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2937 as_decl_name=`echo $2|sed 's/ *(.*//'` 2938 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2940$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2941if eval \${$3+:} false; then : 2942 $as_echo_n "(cached) " >&6 2943else 2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2945/* end confdefs.h. */ 2946$4 2947int 2948main () 2949{ 2950#ifndef $as_decl_name 2951#ifdef __cplusplus 2952 (void) $as_decl_use; 2953#else 2954 (void) $as_decl_name; 2955#endif 2956#endif 2957 2958 ; 2959 return 0; 2960} 2961_ACEOF 2962if ac_fn_c_try_compile "$LINENO"; then : 2963 eval "$3=yes" 2964else 2965 eval "$3=no" 2966fi 2967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2968fi 2969eval ac_res=\$$3 2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2971$as_echo "$ac_res" >&6; } 2972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2973 2974} # ac_fn_c_check_decl 2975cat >config.log <<_ACEOF 2976This file contains any messages produced by compilers while 2977running configure, to aid debugging if configure makes a mistake. 2978 2979It was created by Web2C $as_me 2015, which was 2980generated by GNU Autoconf 2.69. Invocation command line was 2981 2982 $ $0 $@ 2983 2984_ACEOF 2985exec 5>>config.log 2986{ 2987cat <<_ASUNAME 2988## --------- ## 2989## Platform. ## 2990## --------- ## 2991 2992hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2993uname -m = `(uname -m) 2>/dev/null || echo unknown` 2994uname -r = `(uname -r) 2>/dev/null || echo unknown` 2995uname -s = `(uname -s) 2>/dev/null || echo unknown` 2996uname -v = `(uname -v) 2>/dev/null || echo unknown` 2997 2998/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2999/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 3000 3001/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 3002/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 3003/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 3004/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 3005/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 3006/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 3007/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 3008 3009_ASUNAME 3010 3011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3012for as_dir in $PATH 3013do 3014 IFS=$as_save_IFS 3015 test -z "$as_dir" && as_dir=. 3016 $as_echo "PATH: $as_dir" 3017 done 3018IFS=$as_save_IFS 3019 3020} >&5 3021 3022cat >&5 <<_ACEOF 3023 3024 3025## ----------- ## 3026## Core tests. ## 3027## ----------- ## 3028 3029_ACEOF 3030 3031 3032# Keep a trace of the command line. 3033# Strip out --no-create and --no-recursion so they do not pile up. 3034# Strip out --silent because we don't want to record it for future runs. 3035# Also quote any args containing shell meta-characters. 3036# Make two passes to allow for proper duplicate-argument suppression. 3037ac_configure_args= 3038ac_configure_args0= 3039ac_configure_args1= 3040ac_must_keep_next=false 3041for ac_pass in 1 2 3042do 3043 for ac_arg 3044 do 3045 case $ac_arg in 3046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 3047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3048 | -silent | --silent | --silen | --sile | --sil) 3049 continue ;; 3050 *\'*) 3051 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 3052 esac 3053 case $ac_pass in 3054 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 3055 2) 3056 as_fn_append ac_configure_args1 " '$ac_arg'" 3057 if test $ac_must_keep_next = true; then 3058 ac_must_keep_next=false # Got value, back to normal. 3059 else 3060 case $ac_arg in 3061 *=* | --config-cache | -C | -disable-* | --disable-* \ 3062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 3063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 3064 | -with-* | --with-* | -without-* | --without-* | --x) 3065 case "$ac_configure_args0 " in 3066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 3067 esac 3068 ;; 3069 -* ) ac_must_keep_next=true ;; 3070 esac 3071 fi 3072 as_fn_append ac_configure_args " '$ac_arg'" 3073 ;; 3074 esac 3075 done 3076done 3077{ ac_configure_args0=; unset ac_configure_args0;} 3078{ ac_configure_args1=; unset ac_configure_args1;} 3079 3080# When interrupted or exit'd, cleanup temporary files, and complete 3081# config.log. We remove comments because anyway the quotes in there 3082# would cause problems or look ugly. 3083# WARNING: Use '\'' to represent an apostrophe within the trap. 3084# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 3085trap 'exit_status=$? 3086 # Save into config.log some information that might help in debugging. 3087 { 3088 echo 3089 3090 $as_echo "## ---------------- ## 3091## Cache variables. ## 3092## ---------------- ##" 3093 echo 3094 # The following way of writing the cache mishandles newlines in values, 3095( 3096 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 3097 eval ac_val=\$$ac_var 3098 case $ac_val in #( 3099 *${as_nl}*) 3100 case $ac_var in #( 3101 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3102$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3103 esac 3104 case $ac_var in #( 3105 _ | IFS | as_nl) ;; #( 3106 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3107 *) { eval $ac_var=; unset $ac_var;} ;; 3108 esac ;; 3109 esac 3110 done 3111 (set) 2>&1 | 3112 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 3113 *${as_nl}ac_space=\ *) 3114 sed -n \ 3115 "s/'\''/'\''\\\\'\'''\''/g; 3116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 3117 ;; #( 3118 *) 3119 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3120 ;; 3121 esac | 3122 sort 3123) 3124 echo 3125 3126 $as_echo "## ----------------- ## 3127## Output variables. ## 3128## ----------------- ##" 3129 echo 3130 for ac_var in $ac_subst_vars 3131 do 3132 eval ac_val=\$$ac_var 3133 case $ac_val in 3134 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 3135 esac 3136 $as_echo "$ac_var='\''$ac_val'\''" 3137 done | sort 3138 echo 3139 3140 if test -n "$ac_subst_files"; then 3141 $as_echo "## ------------------- ## 3142## File substitutions. ## 3143## ------------------- ##" 3144 echo 3145 for ac_var in $ac_subst_files 3146 do 3147 eval ac_val=\$$ac_var 3148 case $ac_val in 3149 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 3150 esac 3151 $as_echo "$ac_var='\''$ac_val'\''" 3152 done | sort 3153 echo 3154 fi 3155 3156 if test -s confdefs.h; then 3157 $as_echo "## ----------- ## 3158## confdefs.h. ## 3159## ----------- ##" 3160 echo 3161 cat confdefs.h 3162 echo 3163 fi 3164 test "$ac_signal" != 0 && 3165 $as_echo "$as_me: caught signal $ac_signal" 3166 $as_echo "$as_me: exit $exit_status" 3167 } >&5 3168 rm -f core *.core core.conftest.* && 3169 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 3170 exit $exit_status 3171' 0 3172for ac_signal in 1 2 13 15; do 3173 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 3174done 3175ac_signal=0 3176 3177# confdefs.h avoids OS command line length limits that DEFS can exceed. 3178rm -f -r conftest* confdefs.h 3179 3180$as_echo "/* confdefs.h */" > confdefs.h 3181 3182# Predefined preprocessor variables. 3183 3184cat >>confdefs.h <<_ACEOF 3185#define PACKAGE_NAME "$PACKAGE_NAME" 3186_ACEOF 3187 3188cat >>confdefs.h <<_ACEOF 3189#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 3190_ACEOF 3191 3192cat >>confdefs.h <<_ACEOF 3193#define PACKAGE_VERSION "$PACKAGE_VERSION" 3194_ACEOF 3195 3196cat >>confdefs.h <<_ACEOF 3197#define PACKAGE_STRING "$PACKAGE_STRING" 3198_ACEOF 3199 3200cat >>confdefs.h <<_ACEOF 3201#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 3202_ACEOF 3203 3204cat >>confdefs.h <<_ACEOF 3205#define PACKAGE_URL "$PACKAGE_URL" 3206_ACEOF 3207 3208 3209# Let the site file select an alternate cache file if it wants to. 3210# Prefer an explicitly selected file to automatically selected ones. 3211ac_site_file1=NONE 3212ac_site_file2=NONE 3213if test -n "$CONFIG_SITE"; then 3214 # We do not want a PATH search for config.site. 3215 case $CONFIG_SITE in #(( 3216 -*) ac_site_file1=./$CONFIG_SITE;; 3217 */*) ac_site_file1=$CONFIG_SITE;; 3218 *) ac_site_file1=./$CONFIG_SITE;; 3219 esac 3220elif test "x$prefix" != xNONE; then 3221 ac_site_file1=$prefix/share/config.site 3222 ac_site_file2=$prefix/etc/config.site 3223else 3224 ac_site_file1=$ac_default_prefix/share/config.site 3225 ac_site_file2=$ac_default_prefix/etc/config.site 3226fi 3227for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3228do 3229 test "x$ac_site_file" = xNONE && continue 3230 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3231 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3232$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3233 sed 's/^/| /' "$ac_site_file" >&5 3234 . "$ac_site_file" \ 3235 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3236$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3237as_fn_error $? "failed to load site script $ac_site_file 3238See \`config.log' for more details" "$LINENO" 5; } 3239 fi 3240done 3241 3242if test -r "$cache_file"; then 3243 # Some versions of bash will fail to source /dev/null (special files 3244 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 3245 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 3246 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3247$as_echo "$as_me: loading cache $cache_file" >&6;} 3248 case $cache_file in 3249 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3250 *) . "./$cache_file";; 3251 esac 3252 fi 3253else 3254 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 3255$as_echo "$as_me: creating cache $cache_file" >&6;} 3256 >$cache_file 3257fi 3258 3259# Check that the precious variables saved in the cache have kept the same 3260# value. 3261ac_cache_corrupted=false 3262for ac_var in $ac_precious_vars; do 3263 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3264 eval ac_new_set=\$ac_env_${ac_var}_set 3265 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3266 eval ac_new_val=\$ac_env_${ac_var}_value 3267 case $ac_old_set,$ac_new_set in 3268 set,) 3269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3270$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3271 ac_cache_corrupted=: ;; 3272 ,set) 3273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3274$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3275 ac_cache_corrupted=: ;; 3276 ,);; 3277 *) 3278 if test "x$ac_old_val" != "x$ac_new_val"; then 3279 # differences in whitespace do not lead to failure. 3280 ac_old_val_w=`echo x $ac_old_val` 3281 ac_new_val_w=`echo x $ac_new_val` 3282 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3284$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3285 ac_cache_corrupted=: 3286 else 3287 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3288$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3289 eval $ac_var=\$ac_old_val 3290 fi 3291 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3292$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3293 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3294$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3295 fi;; 3296 esac 3297 # Pass precious variables to config.status. 3298 if test "$ac_new_set" = set; then 3299 case $ac_new_val in 3300 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3301 *) ac_arg=$ac_var=$ac_new_val ;; 3302 esac 3303 case " $ac_configure_args " in 3304 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3305 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3306 esac 3307 fi 3308done 3309if $ac_cache_corrupted; then 3310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3311$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3313$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3314 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3315fi 3316## -------------------- ## 3317## Main body of script. ## 3318## -------------------- ## 3319 3320ac_ext=c 3321ac_cpp='$CPP $CPPFLAGS' 3322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3324ac_compiler_gnu=$ac_cv_c_compiler_gnu 3325 3326 3327 3328 3329ac_aux_dir= 3330for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do 3331 if test -f "$ac_dir/install-sh"; then 3332 ac_aux_dir=$ac_dir 3333 ac_install_sh="$ac_aux_dir/install-sh -c" 3334 break 3335 elif test -f "$ac_dir/install.sh"; then 3336 ac_aux_dir=$ac_dir 3337 ac_install_sh="$ac_aux_dir/install.sh -c" 3338 break 3339 elif test -f "$ac_dir/shtool"; then 3340 ac_aux_dir=$ac_dir 3341 ac_install_sh="$ac_aux_dir/shtool install -c" 3342 break 3343 fi 3344done 3345if test -z "$ac_aux_dir"; then 3346 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5 3347fi 3348 3349# These three variables are undocumented and unsupported, 3350# and are intended to be withdrawn in a future Autoconf release. 3351# They can cause serious problems if a builder's source tree is in a directory 3352# whose full name contains unusual characters. 3353ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3354ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3355ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3356 3357 3358 3359 3360WEB2CVERSION=2015 3361 3362 3363am__api_version='1.15' 3364 3365# Find a good install program. We prefer a C program (faster), 3366# so one script is as good as another. But avoid the broken or 3367# incompatible versions: 3368# SysV /etc/install, /usr/sbin/install 3369# SunOS /usr/etc/install 3370# IRIX /sbin/install 3371# AIX /bin/install 3372# AmigaOS /C/install, which installs bootblocks on floppy discs 3373# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3374# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3375# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3376# OS/2's system install, which has a completely different semantic 3377# ./install, which can be erroneously created by make from ./install.sh. 3378# Reject install programs that cannot install multiple files. 3379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3380$as_echo_n "checking for a BSD-compatible install... " >&6; } 3381if test -z "$INSTALL"; then 3382if ${ac_cv_path_install+:} false; then : 3383 $as_echo_n "(cached) " >&6 3384else 3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3386for as_dir in $PATH 3387do 3388 IFS=$as_save_IFS 3389 test -z "$as_dir" && as_dir=. 3390 # Account for people who put trailing slashes in PATH elements. 3391case $as_dir/ in #(( 3392 ./ | .// | /[cC]/* | \ 3393 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3394 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3395 /usr/ucb/* ) ;; 3396 *) 3397 # OSF1 and SCO ODT 3.0 have their own names for install. 3398 # Don't use installbsd from OSF since it installs stuff as root 3399 # by default. 3400 for ac_prog in ginstall scoinst install; do 3401 for ac_exec_ext in '' $ac_executable_extensions; do 3402 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3403 if test $ac_prog = install && 3404 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3405 # AIX install. It has an incompatible calling convention. 3406 : 3407 elif test $ac_prog = install && 3408 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3409 # program-specific install script used by HP pwplus--don't use. 3410 : 3411 else 3412 rm -rf conftest.one conftest.two conftest.dir 3413 echo one > conftest.one 3414 echo two > conftest.two 3415 mkdir conftest.dir 3416 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3417 test -s conftest.one && test -s conftest.two && 3418 test -s conftest.dir/conftest.one && 3419 test -s conftest.dir/conftest.two 3420 then 3421 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3422 break 3 3423 fi 3424 fi 3425 fi 3426 done 3427 done 3428 ;; 3429esac 3430 3431 done 3432IFS=$as_save_IFS 3433 3434rm -rf conftest.one conftest.two conftest.dir 3435 3436fi 3437 if test "${ac_cv_path_install+set}" = set; then 3438 INSTALL=$ac_cv_path_install 3439 else 3440 # As a last resort, use the slow shell script. Don't cache a 3441 # value for INSTALL within a source directory, because that will 3442 # break other packages using the cache if that directory is 3443 # removed, or if the value is a relative name. 3444 INSTALL=$ac_install_sh 3445 fi 3446fi 3447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3448$as_echo "$INSTALL" >&6; } 3449 3450# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3451# It thinks the first close brace ends the variable substitution. 3452test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3453 3454test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3455 3456test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3457 3458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3459$as_echo_n "checking whether build environment is sane... " >&6; } 3460# Reject unsafe characters in $srcdir or the absolute working directory 3461# name. Accept space and tab only in the latter. 3462am_lf=' 3463' 3464case `pwd` in 3465 *[\\\"\#\$\&\'\`$am_lf]*) 3466 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3467esac 3468case $srcdir in 3469 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3470 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3471esac 3472 3473# Do 'set' in a subshell so we don't clobber the current shell's 3474# arguments. Must try -L first in case configure is actually a 3475# symlink; some systems play weird games with the mod time of symlinks 3476# (eg FreeBSD returns the mod time of the symlink's containing 3477# directory). 3478if ( 3479 am_has_slept=no 3480 for am_try in 1 2; do 3481 echo "timestamp, slept: $am_has_slept" > conftest.file 3482 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3483 if test "$*" = "X"; then 3484 # -L didn't work. 3485 set X `ls -t "$srcdir/configure" conftest.file` 3486 fi 3487 if test "$*" != "X $srcdir/configure conftest.file" \ 3488 && test "$*" != "X conftest.file $srcdir/configure"; then 3489 3490 # If neither matched, then we have a broken ls. This can happen 3491 # if, for instance, CONFIG_SHELL is bash and it inherits a 3492 # broken ls alias from the environment. This has actually 3493 # happened. Such a system could not be considered "sane". 3494 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3495 alias in your environment" "$LINENO" 5 3496 fi 3497 if test "$2" = conftest.file || test $am_try -eq 2; then 3498 break 3499 fi 3500 # Just in case. 3501 sleep 1 3502 am_has_slept=yes 3503 done 3504 test "$2" = conftest.file 3505 ) 3506then 3507 # Ok. 3508 : 3509else 3510 as_fn_error $? "newly created file is older than distributed files! 3511Check your system clock" "$LINENO" 5 3512fi 3513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3514$as_echo "yes" >&6; } 3515# If we didn't sleep, we still need to ensure time stamps of config.status and 3516# generated files are strictly newer. 3517am_sleep_pid= 3518if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3519 ( sleep 1 ) & 3520 am_sleep_pid=$! 3521fi 3522 3523rm -f conftest.file 3524 3525test "$program_prefix" != NONE && 3526 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3527# Use a double $ so make ignores it. 3528test "$program_suffix" != NONE && 3529 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3530# Double any \ or $. 3531# By default was `s,x,x', remove it if useless. 3532ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3533program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3534 3535# Expand $ac_aux_dir to an absolute path. 3536am_aux_dir=`cd "$ac_aux_dir" && pwd` 3537 3538if test x"${MISSING+set}" != xset; then 3539 case $am_aux_dir in 3540 *\ * | *\ *) 3541 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3542 *) 3543 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3544 esac 3545fi 3546# Use eval to expand $SHELL 3547if eval "$MISSING --is-lightweight"; then 3548 am_missing_run="$MISSING " 3549else 3550 am_missing_run= 3551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3552$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3553fi 3554 3555if test x"${install_sh+set}" != xset; then 3556 case $am_aux_dir in 3557 *\ * | *\ *) 3558 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3559 *) 3560 install_sh="\${SHELL} $am_aux_dir/install-sh" 3561 esac 3562fi 3563 3564# Installed binaries are usually stripped using 'strip' when the user 3565# run "make install-strip". However 'strip' might not be the right 3566# tool to use in cross-compilation environments, therefore Automake 3567# will honor the 'STRIP' environment variable to overrule this program. 3568if test "$cross_compiling" != no; then 3569 if test -n "$ac_tool_prefix"; then 3570 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3571set dummy ${ac_tool_prefix}strip; ac_word=$2 3572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3573$as_echo_n "checking for $ac_word... " >&6; } 3574if ${ac_cv_prog_STRIP+:} false; then : 3575 $as_echo_n "(cached) " >&6 3576else 3577 if test -n "$STRIP"; then 3578 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3579else 3580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3581for as_dir in $PATH 3582do 3583 IFS=$as_save_IFS 3584 test -z "$as_dir" && as_dir=. 3585 for ac_exec_ext in '' $ac_executable_extensions; do 3586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3587 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3589 break 2 3590 fi 3591done 3592 done 3593IFS=$as_save_IFS 3594 3595fi 3596fi 3597STRIP=$ac_cv_prog_STRIP 3598if test -n "$STRIP"; then 3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3600$as_echo "$STRIP" >&6; } 3601else 3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3603$as_echo "no" >&6; } 3604fi 3605 3606 3607fi 3608if test -z "$ac_cv_prog_STRIP"; then 3609 ac_ct_STRIP=$STRIP 3610 # Extract the first word of "strip", so it can be a program name with args. 3611set dummy strip; ac_word=$2 3612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3613$as_echo_n "checking for $ac_word... " >&6; } 3614if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3615 $as_echo_n "(cached) " >&6 3616else 3617 if test -n "$ac_ct_STRIP"; then 3618 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3619else 3620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3621for as_dir in $PATH 3622do 3623 IFS=$as_save_IFS 3624 test -z "$as_dir" && as_dir=. 3625 for ac_exec_ext in '' $ac_executable_extensions; do 3626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3627 ac_cv_prog_ac_ct_STRIP="strip" 3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3629 break 2 3630 fi 3631done 3632 done 3633IFS=$as_save_IFS 3634 3635fi 3636fi 3637ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3638if test -n "$ac_ct_STRIP"; then 3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3640$as_echo "$ac_ct_STRIP" >&6; } 3641else 3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3643$as_echo "no" >&6; } 3644fi 3645 3646 if test "x$ac_ct_STRIP" = x; then 3647 STRIP=":" 3648 else 3649 case $cross_compiling:$ac_tool_warned in 3650yes:) 3651{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3652$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3653ac_tool_warned=yes ;; 3654esac 3655 STRIP=$ac_ct_STRIP 3656 fi 3657else 3658 STRIP="$ac_cv_prog_STRIP" 3659fi 3660 3661fi 3662INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3663 3664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3665$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3666if test -z "$MKDIR_P"; then 3667 if ${ac_cv_path_mkdir+:} false; then : 3668 $as_echo_n "(cached) " >&6 3669else 3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3671for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3672do 3673 IFS=$as_save_IFS 3674 test -z "$as_dir" && as_dir=. 3675 for ac_prog in mkdir gmkdir; do 3676 for ac_exec_ext in '' $ac_executable_extensions; do 3677 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3678 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3679 'mkdir (GNU coreutils) '* | \ 3680 'mkdir (coreutils) '* | \ 3681 'mkdir (fileutils) '4.1*) 3682 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3683 break 3;; 3684 esac 3685 done 3686 done 3687 done 3688IFS=$as_save_IFS 3689 3690fi 3691 3692 test -d ./--version && rmdir ./--version 3693 if test "${ac_cv_path_mkdir+set}" = set; then 3694 MKDIR_P="$ac_cv_path_mkdir -p" 3695 else 3696 # As a last resort, use the slow shell script. Don't cache a 3697 # value for MKDIR_P within a source directory, because that will 3698 # break other packages using the cache if that directory is 3699 # removed, or if the value is a relative name. 3700 MKDIR_P="$ac_install_sh -d" 3701 fi 3702fi 3703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3704$as_echo "$MKDIR_P" >&6; } 3705 3706for ac_prog in gawk mawk nawk awk 3707do 3708 # Extract the first word of "$ac_prog", so it can be a program name with args. 3709set dummy $ac_prog; ac_word=$2 3710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3711$as_echo_n "checking for $ac_word... " >&6; } 3712if ${ac_cv_prog_AWK+:} false; then : 3713 $as_echo_n "(cached) " >&6 3714else 3715 if test -n "$AWK"; then 3716 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3717else 3718as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3719for as_dir in $PATH 3720do 3721 IFS=$as_save_IFS 3722 test -z "$as_dir" && as_dir=. 3723 for ac_exec_ext in '' $ac_executable_extensions; do 3724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3725 ac_cv_prog_AWK="$ac_prog" 3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3727 break 2 3728 fi 3729done 3730 done 3731IFS=$as_save_IFS 3732 3733fi 3734fi 3735AWK=$ac_cv_prog_AWK 3736if test -n "$AWK"; then 3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3738$as_echo "$AWK" >&6; } 3739else 3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3741$as_echo "no" >&6; } 3742fi 3743 3744 3745 test -n "$AWK" && break 3746done 3747 3748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3749$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3750set x ${MAKE-make} 3751ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3752if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3753 $as_echo_n "(cached) " >&6 3754else 3755 cat >conftest.make <<\_ACEOF 3756SHELL = /bin/sh 3757all: 3758 @echo '@@@%%%=$(MAKE)=@@@%%%' 3759_ACEOF 3760# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3761case `${MAKE-make} -f conftest.make 2>/dev/null` in 3762 *@@@%%%=?*=@@@%%%*) 3763 eval ac_cv_prog_make_${ac_make}_set=yes;; 3764 *) 3765 eval ac_cv_prog_make_${ac_make}_set=no;; 3766esac 3767rm -f conftest.make 3768fi 3769if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3771$as_echo "yes" >&6; } 3772 SET_MAKE= 3773else 3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3775$as_echo "no" >&6; } 3776 SET_MAKE="MAKE=${MAKE-make}" 3777fi 3778 3779rm -rf .tst 2>/dev/null 3780mkdir .tst 2>/dev/null 3781if test -d .tst; then 3782 am__leading_dot=. 3783else 3784 am__leading_dot=_ 3785fi 3786rmdir .tst 2>/dev/null 3787 3788# Check whether --enable-silent-rules was given. 3789if test "${enable_silent_rules+set}" = set; then : 3790 enableval=$enable_silent_rules; 3791fi 3792 3793case $enable_silent_rules in # ((( 3794 yes) AM_DEFAULT_VERBOSITY=0;; 3795 no) AM_DEFAULT_VERBOSITY=1;; 3796 *) AM_DEFAULT_VERBOSITY=1;; 3797esac 3798am_make=${MAKE-make} 3799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3800$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3801if ${am_cv_make_support_nested_variables+:} false; then : 3802 $as_echo_n "(cached) " >&6 3803else 3804 if $as_echo 'TRUE=$(BAR$(V)) 3805BAR0=false 3806BAR1=true 3807V=1 3808am__doit: 3809 @$(TRUE) 3810.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3811 am_cv_make_support_nested_variables=yes 3812else 3813 am_cv_make_support_nested_variables=no 3814fi 3815fi 3816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3817$as_echo "$am_cv_make_support_nested_variables" >&6; } 3818if test $am_cv_make_support_nested_variables = yes; then 3819 AM_V='$(V)' 3820 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3821else 3822 AM_V=$AM_DEFAULT_VERBOSITY 3823 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3824fi 3825AM_BACKSLASH='\' 3826 3827DEPDIR="${am__leading_dot}deps" 3828 3829ac_config_commands="$ac_config_commands depfiles" 3830 3831 3832am_make=${MAKE-make} 3833cat > confinc << 'END' 3834am__doit: 3835 @echo this is the am__doit target 3836.PHONY: am__doit 3837END 3838# If we don't find an include directive, just comment out the code. 3839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3840$as_echo_n "checking for style of include used by $am_make... " >&6; } 3841am__include="#" 3842am__quote= 3843_am_result=none 3844# First try GNU make style include. 3845echo "include confinc" > confmf 3846# Ignore all kinds of additional output from 'make'. 3847case `$am_make -s -f confmf 2> /dev/null` in #( 3848*the\ am__doit\ target*) 3849 am__include=include 3850 am__quote= 3851 _am_result=GNU 3852 ;; 3853esac 3854# Now try BSD make style include. 3855if test "$am__include" = "#"; then 3856 echo '.include "confinc"' > confmf 3857 case `$am_make -s -f confmf 2> /dev/null` in #( 3858 *the\ am__doit\ target*) 3859 am__include=.include 3860 am__quote="\"" 3861 _am_result=BSD 3862 ;; 3863 esac 3864fi 3865 3866 3867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3868$as_echo "$_am_result" >&6; } 3869rm -f confinc confmf 3870 3871# Check whether --enable-dependency-tracking was given. 3872if test "${enable_dependency_tracking+set}" = set; then : 3873 enableval=$enable_dependency_tracking; 3874fi 3875 3876if test "x$enable_dependency_tracking" != xno; then 3877 am_depcomp="$ac_aux_dir/depcomp" 3878 AMDEPBACKSLASH='\' 3879 am__nodep='_no' 3880fi 3881 if test "x$enable_dependency_tracking" != xno; then 3882 AMDEP_TRUE= 3883 AMDEP_FALSE='#' 3884else 3885 AMDEP_TRUE='#' 3886 AMDEP_FALSE= 3887fi 3888 3889 3890ac_ext=c 3891ac_cpp='$CPP $CPPFLAGS' 3892ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3893ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3894ac_compiler_gnu=$ac_cv_c_compiler_gnu 3895if test -n "$ac_tool_prefix"; then 3896 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3897set dummy ${ac_tool_prefix}gcc; ac_word=$2 3898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3899$as_echo_n "checking for $ac_word... " >&6; } 3900if ${ac_cv_prog_CC+:} false; then : 3901 $as_echo_n "(cached) " >&6 3902else 3903 if test -n "$CC"; then 3904 ac_cv_prog_CC="$CC" # Let the user override the test. 3905else 3906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3907for as_dir in $PATH 3908do 3909 IFS=$as_save_IFS 3910 test -z "$as_dir" && as_dir=. 3911 for ac_exec_ext in '' $ac_executable_extensions; do 3912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3913 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3915 break 2 3916 fi 3917done 3918 done 3919IFS=$as_save_IFS 3920 3921fi 3922fi 3923CC=$ac_cv_prog_CC 3924if test -n "$CC"; then 3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3926$as_echo "$CC" >&6; } 3927else 3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3929$as_echo "no" >&6; } 3930fi 3931 3932 3933fi 3934if test -z "$ac_cv_prog_CC"; then 3935 ac_ct_CC=$CC 3936 # Extract the first word of "gcc", so it can be a program name with args. 3937set dummy gcc; ac_word=$2 3938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3939$as_echo_n "checking for $ac_word... " >&6; } 3940if ${ac_cv_prog_ac_ct_CC+:} false; then : 3941 $as_echo_n "(cached) " >&6 3942else 3943 if test -n "$ac_ct_CC"; then 3944 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3945else 3946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3947for as_dir in $PATH 3948do 3949 IFS=$as_save_IFS 3950 test -z "$as_dir" && as_dir=. 3951 for ac_exec_ext in '' $ac_executable_extensions; do 3952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3953 ac_cv_prog_ac_ct_CC="gcc" 3954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3955 break 2 3956 fi 3957done 3958 done 3959IFS=$as_save_IFS 3960 3961fi 3962fi 3963ac_ct_CC=$ac_cv_prog_ac_ct_CC 3964if test -n "$ac_ct_CC"; then 3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3966$as_echo "$ac_ct_CC" >&6; } 3967else 3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3969$as_echo "no" >&6; } 3970fi 3971 3972 if test "x$ac_ct_CC" = x; then 3973 CC="" 3974 else 3975 case $cross_compiling:$ac_tool_warned in 3976yes:) 3977{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3978$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3979ac_tool_warned=yes ;; 3980esac 3981 CC=$ac_ct_CC 3982 fi 3983else 3984 CC="$ac_cv_prog_CC" 3985fi 3986 3987if test -z "$CC"; then 3988 if test -n "$ac_tool_prefix"; then 3989 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3990set dummy ${ac_tool_prefix}cc; ac_word=$2 3991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3992$as_echo_n "checking for $ac_word... " >&6; } 3993if ${ac_cv_prog_CC+:} false; then : 3994 $as_echo_n "(cached) " >&6 3995else 3996 if test -n "$CC"; then 3997 ac_cv_prog_CC="$CC" # Let the user override the test. 3998else 3999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4000for as_dir in $PATH 4001do 4002 IFS=$as_save_IFS 4003 test -z "$as_dir" && as_dir=. 4004 for ac_exec_ext in '' $ac_executable_extensions; do 4005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4006 ac_cv_prog_CC="${ac_tool_prefix}cc" 4007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4008 break 2 4009 fi 4010done 4011 done 4012IFS=$as_save_IFS 4013 4014fi 4015fi 4016CC=$ac_cv_prog_CC 4017if test -n "$CC"; then 4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4019$as_echo "$CC" >&6; } 4020else 4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4022$as_echo "no" >&6; } 4023fi 4024 4025 4026 fi 4027fi 4028if test -z "$CC"; then 4029 # Extract the first word of "cc", so it can be a program name with args. 4030set dummy cc; ac_word=$2 4031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4032$as_echo_n "checking for $ac_word... " >&6; } 4033if ${ac_cv_prog_CC+:} false; then : 4034 $as_echo_n "(cached) " >&6 4035else 4036 if test -n "$CC"; then 4037 ac_cv_prog_CC="$CC" # Let the user override the test. 4038else 4039 ac_prog_rejected=no 4040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4041for as_dir in $PATH 4042do 4043 IFS=$as_save_IFS 4044 test -z "$as_dir" && as_dir=. 4045 for ac_exec_ext in '' $ac_executable_extensions; do 4046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4047 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4048 ac_prog_rejected=yes 4049 continue 4050 fi 4051 ac_cv_prog_CC="cc" 4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4053 break 2 4054 fi 4055done 4056 done 4057IFS=$as_save_IFS 4058 4059if test $ac_prog_rejected = yes; then 4060 # We found a bogon in the path, so make sure we never use it. 4061 set dummy $ac_cv_prog_CC 4062 shift 4063 if test $# != 0; then 4064 # We chose a different compiler from the bogus one. 4065 # However, it has the same basename, so the bogon will be chosen 4066 # first if we set CC to just the basename; use the full file name. 4067 shift 4068 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4069 fi 4070fi 4071fi 4072fi 4073CC=$ac_cv_prog_CC 4074if test -n "$CC"; then 4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4076$as_echo "$CC" >&6; } 4077else 4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4079$as_echo "no" >&6; } 4080fi 4081 4082 4083fi 4084if test -z "$CC"; then 4085 if test -n "$ac_tool_prefix"; then 4086 for ac_prog in cl.exe 4087 do 4088 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4089set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4091$as_echo_n "checking for $ac_word... " >&6; } 4092if ${ac_cv_prog_CC+:} false; then : 4093 $as_echo_n "(cached) " >&6 4094else 4095 if test -n "$CC"; then 4096 ac_cv_prog_CC="$CC" # Let the user override the test. 4097else 4098as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4099for as_dir in $PATH 4100do 4101 IFS=$as_save_IFS 4102 test -z "$as_dir" && as_dir=. 4103 for ac_exec_ext in '' $ac_executable_extensions; do 4104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4105 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4107 break 2 4108 fi 4109done 4110 done 4111IFS=$as_save_IFS 4112 4113fi 4114fi 4115CC=$ac_cv_prog_CC 4116if test -n "$CC"; then 4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4118$as_echo "$CC" >&6; } 4119else 4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4121$as_echo "no" >&6; } 4122fi 4123 4124 4125 test -n "$CC" && break 4126 done 4127fi 4128if test -z "$CC"; then 4129 ac_ct_CC=$CC 4130 for ac_prog in cl.exe 4131do 4132 # Extract the first word of "$ac_prog", so it can be a program name with args. 4133set dummy $ac_prog; ac_word=$2 4134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4135$as_echo_n "checking for $ac_word... " >&6; } 4136if ${ac_cv_prog_ac_ct_CC+:} false; then : 4137 $as_echo_n "(cached) " >&6 4138else 4139 if test -n "$ac_ct_CC"; then 4140 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4141else 4142as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4143for as_dir in $PATH 4144do 4145 IFS=$as_save_IFS 4146 test -z "$as_dir" && as_dir=. 4147 for ac_exec_ext in '' $ac_executable_extensions; do 4148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4149 ac_cv_prog_ac_ct_CC="$ac_prog" 4150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4151 break 2 4152 fi 4153done 4154 done 4155IFS=$as_save_IFS 4156 4157fi 4158fi 4159ac_ct_CC=$ac_cv_prog_ac_ct_CC 4160if test -n "$ac_ct_CC"; then 4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4162$as_echo "$ac_ct_CC" >&6; } 4163else 4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4165$as_echo "no" >&6; } 4166fi 4167 4168 4169 test -n "$ac_ct_CC" && break 4170done 4171 4172 if test "x$ac_ct_CC" = x; then 4173 CC="" 4174 else 4175 case $cross_compiling:$ac_tool_warned in 4176yes:) 4177{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4178$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4179ac_tool_warned=yes ;; 4180esac 4181 CC=$ac_ct_CC 4182 fi 4183fi 4184 4185fi 4186 4187 4188test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4189$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4190as_fn_error $? "no acceptable C compiler found in \$PATH 4191See \`config.log' for more details" "$LINENO" 5; } 4192 4193# Provide some information about the compiler. 4194$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4195set X $ac_compile 4196ac_compiler=$2 4197for ac_option in --version -v -V -qversion; do 4198 { { ac_try="$ac_compiler $ac_option >&5" 4199case "(($ac_try" in 4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4201 *) ac_try_echo=$ac_try;; 4202esac 4203eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4204$as_echo "$ac_try_echo"; } >&5 4205 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4206 ac_status=$? 4207 if test -s conftest.err; then 4208 sed '10a\ 4209... rest of stderr output deleted ... 4210 10q' conftest.err >conftest.er1 4211 cat conftest.er1 >&5 4212 fi 4213 rm -f conftest.er1 conftest.err 4214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4215 test $ac_status = 0; } 4216done 4217 4218cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4219/* end confdefs.h. */ 4220 4221int 4222main () 4223{ 4224 4225 ; 4226 return 0; 4227} 4228_ACEOF 4229ac_clean_files_save=$ac_clean_files 4230ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4231# Try to create an executable without -o first, disregard a.out. 4232# It will help us diagnose broken compilers, and finding out an intuition 4233# of exeext. 4234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4235$as_echo_n "checking whether the C compiler works... " >&6; } 4236ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4237 4238# The possible output files: 4239ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4240 4241ac_rmfiles= 4242for ac_file in $ac_files 4243do 4244 case $ac_file in 4245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4246 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4247 esac 4248done 4249rm -f $ac_rmfiles 4250 4251if { { ac_try="$ac_link_default" 4252case "(($ac_try" in 4253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4254 *) ac_try_echo=$ac_try;; 4255esac 4256eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4257$as_echo "$ac_try_echo"; } >&5 4258 (eval "$ac_link_default") 2>&5 4259 ac_status=$? 4260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4261 test $ac_status = 0; }; then : 4262 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4263# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4264# in a Makefile. We should not override ac_cv_exeext if it was cached, 4265# so that the user can short-circuit this test for compilers unknown to 4266# Autoconf. 4267for ac_file in $ac_files '' 4268do 4269 test -f "$ac_file" || continue 4270 case $ac_file in 4271 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4272 ;; 4273 [ab].out ) 4274 # We found the default executable, but exeext='' is most 4275 # certainly right. 4276 break;; 4277 *.* ) 4278 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4279 then :; else 4280 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4281 fi 4282 # We set ac_cv_exeext here because the later test for it is not 4283 # safe: cross compilers may not add the suffix if given an `-o' 4284 # argument, so we may need to know it at that point already. 4285 # Even if this section looks crufty: it has the advantage of 4286 # actually working. 4287 break;; 4288 * ) 4289 break;; 4290 esac 4291done 4292test "$ac_cv_exeext" = no && ac_cv_exeext= 4293 4294else 4295 ac_file='' 4296fi 4297if test -z "$ac_file"; then : 4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4299$as_echo "no" >&6; } 4300$as_echo "$as_me: failed program was:" >&5 4301sed 's/^/| /' conftest.$ac_ext >&5 4302 4303{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4304$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4305as_fn_error 77 "C compiler cannot create executables 4306See \`config.log' for more details" "$LINENO" 5; } 4307else 4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4309$as_echo "yes" >&6; } 4310fi 4311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4312$as_echo_n "checking for C compiler default output file name... " >&6; } 4313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4314$as_echo "$ac_file" >&6; } 4315ac_exeext=$ac_cv_exeext 4316 4317rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4318ac_clean_files=$ac_clean_files_save 4319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4320$as_echo_n "checking for suffix of executables... " >&6; } 4321if { { ac_try="$ac_link" 4322case "(($ac_try" in 4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4324 *) ac_try_echo=$ac_try;; 4325esac 4326eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4327$as_echo "$ac_try_echo"; } >&5 4328 (eval "$ac_link") 2>&5 4329 ac_status=$? 4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4331 test $ac_status = 0; }; then : 4332 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4333# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4334# work properly (i.e., refer to `conftest.exe'), while it won't with 4335# `rm'. 4336for ac_file in conftest.exe conftest conftest.*; do 4337 test -f "$ac_file" || continue 4338 case $ac_file in 4339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4340 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4341 break;; 4342 * ) break;; 4343 esac 4344done 4345else 4346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4347$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4348as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4349See \`config.log' for more details" "$LINENO" 5; } 4350fi 4351rm -f conftest conftest$ac_cv_exeext 4352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4353$as_echo "$ac_cv_exeext" >&6; } 4354 4355rm -f conftest.$ac_ext 4356EXEEXT=$ac_cv_exeext 4357ac_exeext=$EXEEXT 4358cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4359/* end confdefs.h. */ 4360#include <stdio.h> 4361int 4362main () 4363{ 4364FILE *f = fopen ("conftest.out", "w"); 4365 return ferror (f) || fclose (f) != 0; 4366 4367 ; 4368 return 0; 4369} 4370_ACEOF 4371ac_clean_files="$ac_clean_files conftest.out" 4372# Check that the compiler produces executables we can run. If not, either 4373# the compiler is broken, or we cross compile. 4374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4375$as_echo_n "checking whether we are cross compiling... " >&6; } 4376if test "$cross_compiling" != yes; then 4377 { { ac_try="$ac_link" 4378case "(($ac_try" in 4379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4380 *) ac_try_echo=$ac_try;; 4381esac 4382eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4383$as_echo "$ac_try_echo"; } >&5 4384 (eval "$ac_link") 2>&5 4385 ac_status=$? 4386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4387 test $ac_status = 0; } 4388 if { ac_try='./conftest$ac_cv_exeext' 4389 { { case "(($ac_try" in 4390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4391 *) ac_try_echo=$ac_try;; 4392esac 4393eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4394$as_echo "$ac_try_echo"; } >&5 4395 (eval "$ac_try") 2>&5 4396 ac_status=$? 4397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4398 test $ac_status = 0; }; }; then 4399 cross_compiling=no 4400 else 4401 if test "$cross_compiling" = maybe; then 4402 cross_compiling=yes 4403 else 4404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4405$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4406as_fn_error $? "cannot run C compiled programs. 4407If you meant to cross compile, use \`--host'. 4408See \`config.log' for more details" "$LINENO" 5; } 4409 fi 4410 fi 4411fi 4412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4413$as_echo "$cross_compiling" >&6; } 4414 4415rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4416ac_clean_files=$ac_clean_files_save 4417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4418$as_echo_n "checking for suffix of object files... " >&6; } 4419if ${ac_cv_objext+:} false; then : 4420 $as_echo_n "(cached) " >&6 4421else 4422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4423/* end confdefs.h. */ 4424 4425int 4426main () 4427{ 4428 4429 ; 4430 return 0; 4431} 4432_ACEOF 4433rm -f conftest.o conftest.obj 4434if { { ac_try="$ac_compile" 4435case "(($ac_try" in 4436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4437 *) ac_try_echo=$ac_try;; 4438esac 4439eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4440$as_echo "$ac_try_echo"; } >&5 4441 (eval "$ac_compile") 2>&5 4442 ac_status=$? 4443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4444 test $ac_status = 0; }; then : 4445 for ac_file in conftest.o conftest.obj conftest.*; do 4446 test -f "$ac_file" || continue; 4447 case $ac_file in 4448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4449 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4450 break;; 4451 esac 4452done 4453else 4454 $as_echo "$as_me: failed program was:" >&5 4455sed 's/^/| /' conftest.$ac_ext >&5 4456 4457{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4458$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4459as_fn_error $? "cannot compute suffix of object files: cannot compile 4460See \`config.log' for more details" "$LINENO" 5; } 4461fi 4462rm -f conftest.$ac_cv_objext conftest.$ac_ext 4463fi 4464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4465$as_echo "$ac_cv_objext" >&6; } 4466OBJEXT=$ac_cv_objext 4467ac_objext=$OBJEXT 4468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4469$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4470if ${ac_cv_c_compiler_gnu+:} false; then : 4471 $as_echo_n "(cached) " >&6 4472else 4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4474/* end confdefs.h. */ 4475 4476int 4477main () 4478{ 4479#ifndef __GNUC__ 4480 choke me 4481#endif 4482 4483 ; 4484 return 0; 4485} 4486_ACEOF 4487if ac_fn_c_try_compile "$LINENO"; then : 4488 ac_compiler_gnu=yes 4489else 4490 ac_compiler_gnu=no 4491fi 4492rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4493ac_cv_c_compiler_gnu=$ac_compiler_gnu 4494 4495fi 4496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4497$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4498if test $ac_compiler_gnu = yes; then 4499 GCC=yes 4500else 4501 GCC= 4502fi 4503ac_test_CFLAGS=${CFLAGS+set} 4504ac_save_CFLAGS=$CFLAGS 4505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4506$as_echo_n "checking whether $CC accepts -g... " >&6; } 4507if ${ac_cv_prog_cc_g+:} false; then : 4508 $as_echo_n "(cached) " >&6 4509else 4510 ac_save_c_werror_flag=$ac_c_werror_flag 4511 ac_c_werror_flag=yes 4512 ac_cv_prog_cc_g=no 4513 CFLAGS="-g" 4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4515/* end confdefs.h. */ 4516 4517int 4518main () 4519{ 4520 4521 ; 4522 return 0; 4523} 4524_ACEOF 4525if ac_fn_c_try_compile "$LINENO"; then : 4526 ac_cv_prog_cc_g=yes 4527else 4528 CFLAGS="" 4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4530/* end confdefs.h. */ 4531 4532int 4533main () 4534{ 4535 4536 ; 4537 return 0; 4538} 4539_ACEOF 4540if ac_fn_c_try_compile "$LINENO"; then : 4541 4542else 4543 ac_c_werror_flag=$ac_save_c_werror_flag 4544 CFLAGS="-g" 4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4546/* end confdefs.h. */ 4547 4548int 4549main () 4550{ 4551 4552 ; 4553 return 0; 4554} 4555_ACEOF 4556if ac_fn_c_try_compile "$LINENO"; then : 4557 ac_cv_prog_cc_g=yes 4558fi 4559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4560fi 4561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4562fi 4563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4564 ac_c_werror_flag=$ac_save_c_werror_flag 4565fi 4566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4567$as_echo "$ac_cv_prog_cc_g" >&6; } 4568if test "$ac_test_CFLAGS" = set; then 4569 CFLAGS=$ac_save_CFLAGS 4570elif test $ac_cv_prog_cc_g = yes; then 4571 if test "$GCC" = yes; then 4572 CFLAGS="-g -O2" 4573 else 4574 CFLAGS="-g" 4575 fi 4576else 4577 if test "$GCC" = yes; then 4578 CFLAGS="-O2" 4579 else 4580 CFLAGS= 4581 fi 4582fi 4583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4584$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4585if ${ac_cv_prog_cc_c89+:} false; then : 4586 $as_echo_n "(cached) " >&6 4587else 4588 ac_cv_prog_cc_c89=no 4589ac_save_CC=$CC 4590cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4591/* end confdefs.h. */ 4592#include <stdarg.h> 4593#include <stdio.h> 4594struct stat; 4595/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4596struct buf { int x; }; 4597FILE * (*rcsopen) (struct buf *, struct stat *, int); 4598static char *e (p, i) 4599 char **p; 4600 int i; 4601{ 4602 return p[i]; 4603} 4604static char *f (char * (*g) (char **, int), char **p, ...) 4605{ 4606 char *s; 4607 va_list v; 4608 va_start (v,p); 4609 s = g (p, va_arg (v,int)); 4610 va_end (v); 4611 return s; 4612} 4613 4614/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4615 function prototypes and stuff, but not '\xHH' hex character constants. 4616 These don't provoke an error unfortunately, instead are silently treated 4617 as 'x'. The following induces an error, until -std is added to get 4618 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4619 array size at least. It's necessary to write '\x00'==0 to get something 4620 that's true only with -std. */ 4621int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4622 4623/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4624 inside strings and character constants. */ 4625#define FOO(x) 'x' 4626int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4627 4628int test (int i, double x); 4629struct s1 {int (*f) (int a);}; 4630struct s2 {int (*f) (double a);}; 4631int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4632int argc; 4633char **argv; 4634int 4635main () 4636{ 4637return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4638 ; 4639 return 0; 4640} 4641_ACEOF 4642for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4643 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4644do 4645 CC="$ac_save_CC $ac_arg" 4646 if ac_fn_c_try_compile "$LINENO"; then : 4647 ac_cv_prog_cc_c89=$ac_arg 4648fi 4649rm -f core conftest.err conftest.$ac_objext 4650 test "x$ac_cv_prog_cc_c89" != "xno" && break 4651done 4652rm -f conftest.$ac_ext 4653CC=$ac_save_CC 4654 4655fi 4656# AC_CACHE_VAL 4657case "x$ac_cv_prog_cc_c89" in 4658 x) 4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4660$as_echo "none needed" >&6; } ;; 4661 xno) 4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4663$as_echo "unsupported" >&6; } ;; 4664 *) 4665 CC="$CC $ac_cv_prog_cc_c89" 4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4667$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4668esac 4669if test "x$ac_cv_prog_cc_c89" != xno; then : 4670 4671fi 4672 4673ac_ext=c 4674ac_cpp='$CPP $CPPFLAGS' 4675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4677ac_compiler_gnu=$ac_cv_c_compiler_gnu 4678 4679ac_ext=c 4680ac_cpp='$CPP $CPPFLAGS' 4681ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4682ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4683ac_compiler_gnu=$ac_cv_c_compiler_gnu 4684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4685$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4686if ${am_cv_prog_cc_c_o+:} false; then : 4687 $as_echo_n "(cached) " >&6 4688else 4689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4690/* end confdefs.h. */ 4691 4692int 4693main () 4694{ 4695 4696 ; 4697 return 0; 4698} 4699_ACEOF 4700 # Make sure it works both with $CC and with simple cc. 4701 # Following AC_PROG_CC_C_O, we do the test twice because some 4702 # compilers refuse to overwrite an existing .o file with -o, 4703 # though they will create one. 4704 am_cv_prog_cc_c_o=yes 4705 for am_i in 1 2; do 4706 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4707 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4708 ac_status=$? 4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4710 (exit $ac_status); } \ 4711 && test -f conftest2.$ac_objext; then 4712 : OK 4713 else 4714 am_cv_prog_cc_c_o=no 4715 break 4716 fi 4717 done 4718 rm -f core conftest* 4719 unset am_i 4720fi 4721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4722$as_echo "$am_cv_prog_cc_c_o" >&6; } 4723if test "$am_cv_prog_cc_c_o" != yes; then 4724 # Losing compiler, so override with the script. 4725 # FIXME: It is wrong to rewrite CC. 4726 # But if we don't then we get into trouble of one sort or another. 4727 # A longer-term fix would be to have automake use am__CC in this case, 4728 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4729 CC="$am_aux_dir/compile $CC" 4730fi 4731ac_ext=c 4732ac_cpp='$CPP $CPPFLAGS' 4733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4735ac_compiler_gnu=$ac_cv_c_compiler_gnu 4736 4737 4738depcc="$CC" am_compiler_list= 4739 4740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4741$as_echo_n "checking dependency style of $depcc... " >&6; } 4742if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4743 $as_echo_n "(cached) " >&6 4744else 4745 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4746 # We make a subdir and do the tests there. Otherwise we can end up 4747 # making bogus files that we don't know about and never remove. For 4748 # instance it was reported that on HP-UX the gcc test will end up 4749 # making a dummy file named 'D' -- because '-MD' means "put the output 4750 # in D". 4751 rm -rf conftest.dir 4752 mkdir conftest.dir 4753 # Copy depcomp to subdir because otherwise we won't find it if we're 4754 # using a relative directory. 4755 cp "$am_depcomp" conftest.dir 4756 cd conftest.dir 4757 # We will build objects and dependencies in a subdirectory because 4758 # it helps to detect inapplicable dependency modes. For instance 4759 # both Tru64's cc and ICC support -MD to output dependencies as a 4760 # side effect of compilation, but ICC will put the dependencies in 4761 # the current directory while Tru64 will put them in the object 4762 # directory. 4763 mkdir sub 4764 4765 am_cv_CC_dependencies_compiler_type=none 4766 if test "$am_compiler_list" = ""; then 4767 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4768 fi 4769 am__universal=false 4770 case " $depcc " in #( 4771 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4772 esac 4773 4774 for depmode in $am_compiler_list; do 4775 # Setup a source with many dependencies, because some compilers 4776 # like to wrap large dependency lists on column 80 (with \), and 4777 # we should not choose a depcomp mode which is confused by this. 4778 # 4779 # We need to recreate these files for each test, as the compiler may 4780 # overwrite some of them when testing with obscure command lines. 4781 # This happens at least with the AIX C compiler. 4782 : > sub/conftest.c 4783 for i in 1 2 3 4 5 6; do 4784 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4785 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4786 # Solaris 10 /bin/sh. 4787 echo '/* dummy */' > sub/conftst$i.h 4788 done 4789 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4790 4791 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4792 # mode. It turns out that the SunPro C++ compiler does not properly 4793 # handle '-M -o', and we need to detect this. Also, some Intel 4794 # versions had trouble with output in subdirs. 4795 am__obj=sub/conftest.${OBJEXT-o} 4796 am__minus_obj="-o $am__obj" 4797 case $depmode in 4798 gcc) 4799 # This depmode causes a compiler race in universal mode. 4800 test "$am__universal" = false || continue 4801 ;; 4802 nosideeffect) 4803 # After this tag, mechanisms are not by side-effect, so they'll 4804 # only be used when explicitly requested. 4805 if test "x$enable_dependency_tracking" = xyes; then 4806 continue 4807 else 4808 break 4809 fi 4810 ;; 4811 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4812 # This compiler won't grok '-c -o', but also, the minuso test has 4813 # not run yet. These depmodes are late enough in the game, and 4814 # so weak that their functioning should not be impacted. 4815 am__obj=conftest.${OBJEXT-o} 4816 am__minus_obj= 4817 ;; 4818 none) break ;; 4819 esac 4820 if depmode=$depmode \ 4821 source=sub/conftest.c object=$am__obj \ 4822 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4823 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4824 >/dev/null 2>conftest.err && 4825 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4826 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4827 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4828 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4829 # icc doesn't choke on unknown options, it will just issue warnings 4830 # or remarks (even with -Werror). So we grep stderr for any message 4831 # that says an option was ignored or not supported. 4832 # When given -MP, icc 7.0 and 7.1 complain thusly: 4833 # icc: Command line warning: ignoring option '-M'; no argument required 4834 # The diagnosis changed in icc 8.0: 4835 # icc: Command line remark: option '-MP' not supported 4836 if (grep 'ignoring option' conftest.err || 4837 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4838 am_cv_CC_dependencies_compiler_type=$depmode 4839 break 4840 fi 4841 fi 4842 done 4843 4844 cd .. 4845 rm -rf conftest.dir 4846else 4847 am_cv_CC_dependencies_compiler_type=none 4848fi 4849 4850fi 4851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4852$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4853CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4854 4855 if 4856 test "x$enable_dependency_tracking" != xno \ 4857 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4858 am__fastdepCC_TRUE= 4859 am__fastdepCC_FALSE='#' 4860else 4861 am__fastdepCC_TRUE='#' 4862 am__fastdepCC_FALSE= 4863fi 4864 4865 4866 4867# Check whether --enable-compiler-warnings was given. 4868if test "${enable_compiler_warnings+set}" = set; then : 4869 enableval=$enable_compiler_warnings; 4870fi 4871case $enable_compiler_warnings in #( 4872 no | min | yes | max | all) : 4873 ;; #( 4874 *) : 4875 if test "x$enable_maintainer_mode" = xyes; then : 4876 enable_compiler_warnings=yes 4877else 4878 enable_compiler_warnings=min 4879fi ;; 4880esac 4881 4882case `pwd` in 4883 *\ * | *\ *) 4884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4885$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4886esac 4887 4888 4889 4890macro_version='2.4.6' 4891macro_revision='2.4.6' 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905ltmain=$ac_aux_dir/ltmain.sh 4906 4907# Make sure we can run config.sub. 4908$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4909 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4910 4911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4912$as_echo_n "checking build system type... " >&6; } 4913if ${ac_cv_build+:} false; then : 4914 $as_echo_n "(cached) " >&6 4915else 4916 ac_build_alias=$build_alias 4917test "x$ac_build_alias" = x && 4918 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4919test "x$ac_build_alias" = x && 4920 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4921ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4922 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4923 4924fi 4925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4926$as_echo "$ac_cv_build" >&6; } 4927case $ac_cv_build in 4928*-*-*) ;; 4929*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4930esac 4931build=$ac_cv_build 4932ac_save_IFS=$IFS; IFS='-' 4933set x $ac_cv_build 4934shift 4935build_cpu=$1 4936build_vendor=$2 4937shift; shift 4938# Remember, the first character of IFS is used to create $*, 4939# except with old shells: 4940build_os=$* 4941IFS=$ac_save_IFS 4942case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4943 4944 4945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4946$as_echo_n "checking host system type... " >&6; } 4947if ${ac_cv_host+:} false; then : 4948 $as_echo_n "(cached) " >&6 4949else 4950 if test "x$host_alias" = x; then 4951 ac_cv_host=$ac_cv_build 4952else 4953 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4954 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4955fi 4956 4957fi 4958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4959$as_echo "$ac_cv_host" >&6; } 4960case $ac_cv_host in 4961*-*-*) ;; 4962*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4963esac 4964host=$ac_cv_host 4965ac_save_IFS=$IFS; IFS='-' 4966set x $ac_cv_host 4967shift 4968host_cpu=$1 4969host_vendor=$2 4970shift; shift 4971# Remember, the first character of IFS is used to create $*, 4972# except with old shells: 4973host_os=$* 4974IFS=$ac_save_IFS 4975case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4976 4977 4978# Backslashify metacharacters that are still active within 4979# double-quoted strings. 4980sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4981 4982# Same as above, but do not quote variable references. 4983double_quote_subst='s/\(["`\\]\)/\\\1/g' 4984 4985# Sed substitution to delay expansion of an escaped shell variable in a 4986# double_quote_subst'ed string. 4987delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4988 4989# Sed substitution to delay expansion of an escaped single quote. 4990delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4991 4992# Sed substitution to avoid accidental globbing in evaled expressions 4993no_glob_subst='s/\*/\\\*/g' 4994 4995ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4996ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4997ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4998 4999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5000$as_echo_n "checking how to print strings... " >&6; } 5001# Test print first, because it will be a builtin if present. 5002if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5003 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5004 ECHO='print -r --' 5005elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5006 ECHO='printf %s\n' 5007else 5008 # Use this function as a fallback that always works. 5009 func_fallback_echo () 5010 { 5011 eval 'cat <<_LTECHO_EOF 5012$1 5013_LTECHO_EOF' 5014 } 5015 ECHO='func_fallback_echo' 5016fi 5017 5018# func_echo_all arg... 5019# Invoke $ECHO with all args, space-separated. 5020func_echo_all () 5021{ 5022 $ECHO "" 5023} 5024 5025case $ECHO in 5026 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5027$as_echo "printf" >&6; } ;; 5028 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5029$as_echo "print -r" >&6; } ;; 5030 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5031$as_echo "cat" >&6; } ;; 5032esac 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5048$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5049if ${ac_cv_path_SED+:} false; then : 5050 $as_echo_n "(cached) " >&6 5051else 5052 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5053 for ac_i in 1 2 3 4 5 6 7; do 5054 ac_script="$ac_script$as_nl$ac_script" 5055 done 5056 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5057 { ac_script=; unset ac_script;} 5058 if test -z "$SED"; then 5059 ac_path_SED_found=false 5060 # Loop through the user's path and test for each of PROGNAME-LIST 5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5062for as_dir in $PATH 5063do 5064 IFS=$as_save_IFS 5065 test -z "$as_dir" && as_dir=. 5066 for ac_prog in sed gsed; do 5067 for ac_exec_ext in '' $ac_executable_extensions; do 5068 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5069 as_fn_executable_p "$ac_path_SED" || continue 5070# Check for GNU ac_path_SED and select it if it is found. 5071 # Check for GNU $ac_path_SED 5072case `"$ac_path_SED" --version 2>&1` in 5073*GNU*) 5074 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5075*) 5076 ac_count=0 5077 $as_echo_n 0123456789 >"conftest.in" 5078 while : 5079 do 5080 cat "conftest.in" "conftest.in" >"conftest.tmp" 5081 mv "conftest.tmp" "conftest.in" 5082 cp "conftest.in" "conftest.nl" 5083 $as_echo '' >> "conftest.nl" 5084 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5085 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5086 as_fn_arith $ac_count + 1 && ac_count=$as_val 5087 if test $ac_count -gt ${ac_path_SED_max-0}; then 5088 # Best one so far, save it but keep looking for a better one 5089 ac_cv_path_SED="$ac_path_SED" 5090 ac_path_SED_max=$ac_count 5091 fi 5092 # 10*(2^10) chars as input seems more than enough 5093 test $ac_count -gt 10 && break 5094 done 5095 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5096esac 5097 5098 $ac_path_SED_found && break 3 5099 done 5100 done 5101 done 5102IFS=$as_save_IFS 5103 if test -z "$ac_cv_path_SED"; then 5104 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5105 fi 5106else 5107 ac_cv_path_SED=$SED 5108fi 5109 5110fi 5111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5112$as_echo "$ac_cv_path_SED" >&6; } 5113 SED="$ac_cv_path_SED" 5114 rm -f conftest.sed 5115 5116test -z "$SED" && SED=sed 5117Xsed="$SED -e 1s/^X//" 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5130$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5131if ${ac_cv_path_GREP+:} false; then : 5132 $as_echo_n "(cached) " >&6 5133else 5134 if test -z "$GREP"; then 5135 ac_path_GREP_found=false 5136 # Loop through the user's path and test for each of PROGNAME-LIST 5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5138for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5139do 5140 IFS=$as_save_IFS 5141 test -z "$as_dir" && as_dir=. 5142 for ac_prog in grep ggrep; do 5143 for ac_exec_ext in '' $ac_executable_extensions; do 5144 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5145 as_fn_executable_p "$ac_path_GREP" || continue 5146# Check for GNU ac_path_GREP and select it if it is found. 5147 # Check for GNU $ac_path_GREP 5148case `"$ac_path_GREP" --version 2>&1` in 5149*GNU*) 5150 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5151*) 5152 ac_count=0 5153 $as_echo_n 0123456789 >"conftest.in" 5154 while : 5155 do 5156 cat "conftest.in" "conftest.in" >"conftest.tmp" 5157 mv "conftest.tmp" "conftest.in" 5158 cp "conftest.in" "conftest.nl" 5159 $as_echo 'GREP' >> "conftest.nl" 5160 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5161 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5162 as_fn_arith $ac_count + 1 && ac_count=$as_val 5163 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5164 # Best one so far, save it but keep looking for a better one 5165 ac_cv_path_GREP="$ac_path_GREP" 5166 ac_path_GREP_max=$ac_count 5167 fi 5168 # 10*(2^10) chars as input seems more than enough 5169 test $ac_count -gt 10 && break 5170 done 5171 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5172esac 5173 5174 $ac_path_GREP_found && break 3 5175 done 5176 done 5177 done 5178IFS=$as_save_IFS 5179 if test -z "$ac_cv_path_GREP"; then 5180 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5181 fi 5182else 5183 ac_cv_path_GREP=$GREP 5184fi 5185 5186fi 5187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5188$as_echo "$ac_cv_path_GREP" >&6; } 5189 GREP="$ac_cv_path_GREP" 5190 5191 5192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5193$as_echo_n "checking for egrep... " >&6; } 5194if ${ac_cv_path_EGREP+:} false; then : 5195 $as_echo_n "(cached) " >&6 5196else 5197 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5198 then ac_cv_path_EGREP="$GREP -E" 5199 else 5200 if test -z "$EGREP"; then 5201 ac_path_EGREP_found=false 5202 # Loop through the user's path and test for each of PROGNAME-LIST 5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5204for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5205do 5206 IFS=$as_save_IFS 5207 test -z "$as_dir" && as_dir=. 5208 for ac_prog in egrep; do 5209 for ac_exec_ext in '' $ac_executable_extensions; do 5210 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5211 as_fn_executable_p "$ac_path_EGREP" || continue 5212# Check for GNU ac_path_EGREP and select it if it is found. 5213 # Check for GNU $ac_path_EGREP 5214case `"$ac_path_EGREP" --version 2>&1` in 5215*GNU*) 5216 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5217*) 5218 ac_count=0 5219 $as_echo_n 0123456789 >"conftest.in" 5220 while : 5221 do 5222 cat "conftest.in" "conftest.in" >"conftest.tmp" 5223 mv "conftest.tmp" "conftest.in" 5224 cp "conftest.in" "conftest.nl" 5225 $as_echo 'EGREP' >> "conftest.nl" 5226 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5227 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5228 as_fn_arith $ac_count + 1 && ac_count=$as_val 5229 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5230 # Best one so far, save it but keep looking for a better one 5231 ac_cv_path_EGREP="$ac_path_EGREP" 5232 ac_path_EGREP_max=$ac_count 5233 fi 5234 # 10*(2^10) chars as input seems more than enough 5235 test $ac_count -gt 10 && break 5236 done 5237 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5238esac 5239 5240 $ac_path_EGREP_found && break 3 5241 done 5242 done 5243 done 5244IFS=$as_save_IFS 5245 if test -z "$ac_cv_path_EGREP"; then 5246 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5247 fi 5248else 5249 ac_cv_path_EGREP=$EGREP 5250fi 5251 5252 fi 5253fi 5254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5255$as_echo "$ac_cv_path_EGREP" >&6; } 5256 EGREP="$ac_cv_path_EGREP" 5257 5258 5259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5260$as_echo_n "checking for fgrep... " >&6; } 5261if ${ac_cv_path_FGREP+:} false; then : 5262 $as_echo_n "(cached) " >&6 5263else 5264 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5265 then ac_cv_path_FGREP="$GREP -F" 5266 else 5267 if test -z "$FGREP"; then 5268 ac_path_FGREP_found=false 5269 # Loop through the user's path and test for each of PROGNAME-LIST 5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5271for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5272do 5273 IFS=$as_save_IFS 5274 test -z "$as_dir" && as_dir=. 5275 for ac_prog in fgrep; do 5276 for ac_exec_ext in '' $ac_executable_extensions; do 5277 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5278 as_fn_executable_p "$ac_path_FGREP" || continue 5279# Check for GNU ac_path_FGREP and select it if it is found. 5280 # Check for GNU $ac_path_FGREP 5281case `"$ac_path_FGREP" --version 2>&1` in 5282*GNU*) 5283 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5284*) 5285 ac_count=0 5286 $as_echo_n 0123456789 >"conftest.in" 5287 while : 5288 do 5289 cat "conftest.in" "conftest.in" >"conftest.tmp" 5290 mv "conftest.tmp" "conftest.in" 5291 cp "conftest.in" "conftest.nl" 5292 $as_echo 'FGREP' >> "conftest.nl" 5293 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5294 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5295 as_fn_arith $ac_count + 1 && ac_count=$as_val 5296 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5297 # Best one so far, save it but keep looking for a better one 5298 ac_cv_path_FGREP="$ac_path_FGREP" 5299 ac_path_FGREP_max=$ac_count 5300 fi 5301 # 10*(2^10) chars as input seems more than enough 5302 test $ac_count -gt 10 && break 5303 done 5304 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5305esac 5306 5307 $ac_path_FGREP_found && break 3 5308 done 5309 done 5310 done 5311IFS=$as_save_IFS 5312 if test -z "$ac_cv_path_FGREP"; then 5313 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5314 fi 5315else 5316 ac_cv_path_FGREP=$FGREP 5317fi 5318 5319 fi 5320fi 5321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5322$as_echo "$ac_cv_path_FGREP" >&6; } 5323 FGREP="$ac_cv_path_FGREP" 5324 5325 5326test -z "$GREP" && GREP=grep 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346# Check whether --with-gnu-ld was given. 5347if test "${with_gnu_ld+set}" = set; then : 5348 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5349else 5350 with_gnu_ld=no 5351fi 5352 5353ac_prog=ld 5354if test yes = "$GCC"; then 5355 # Check if gcc -print-prog-name=ld gives a path. 5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5357$as_echo_n "checking for ld used by $CC... " >&6; } 5358 case $host in 5359 *-*-mingw*) 5360 # gcc leaves a trailing carriage return, which upsets mingw 5361 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5362 *) 5363 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5364 esac 5365 case $ac_prog in 5366 # Accept absolute paths. 5367 [\\/]* | ?:[\\/]*) 5368 re_direlt='/[^/][^/]*/\.\./' 5369 # Canonicalize the pathname of ld 5370 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5371 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5372 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5373 done 5374 test -z "$LD" && LD=$ac_prog 5375 ;; 5376 "") 5377 # If it fails, then pretend we aren't using GCC. 5378 ac_prog=ld 5379 ;; 5380 *) 5381 # If it is relative, then search for the first ld in PATH. 5382 with_gnu_ld=unknown 5383 ;; 5384 esac 5385elif test yes = "$with_gnu_ld"; then 5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5387$as_echo_n "checking for GNU ld... " >&6; } 5388else 5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5390$as_echo_n "checking for non-GNU ld... " >&6; } 5391fi 5392if ${lt_cv_path_LD+:} false; then : 5393 $as_echo_n "(cached) " >&6 5394else 5395 if test -z "$LD"; then 5396 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5397 for ac_dir in $PATH; do 5398 IFS=$lt_save_ifs 5399 test -z "$ac_dir" && ac_dir=. 5400 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5401 lt_cv_path_LD=$ac_dir/$ac_prog 5402 # Check to see if the program is GNU ld. I'd rather use --version, 5403 # but apparently some variants of GNU ld only accept -v. 5404 # Break only if it was the GNU/non-GNU ld that we prefer. 5405 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5406 *GNU* | *'with BFD'*) 5407 test no != "$with_gnu_ld" && break 5408 ;; 5409 *) 5410 test yes != "$with_gnu_ld" && break 5411 ;; 5412 esac 5413 fi 5414 done 5415 IFS=$lt_save_ifs 5416else 5417 lt_cv_path_LD=$LD # Let the user override the test with a path. 5418fi 5419fi 5420 5421LD=$lt_cv_path_LD 5422if test -n "$LD"; then 5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5424$as_echo "$LD" >&6; } 5425else 5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5427$as_echo "no" >&6; } 5428fi 5429test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5431$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5432if ${lt_cv_prog_gnu_ld+:} false; then : 5433 $as_echo_n "(cached) " >&6 5434else 5435 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5436case `$LD -v 2>&1 </dev/null` in 5437*GNU* | *'with BFD'*) 5438 lt_cv_prog_gnu_ld=yes 5439 ;; 5440*) 5441 lt_cv_prog_gnu_ld=no 5442 ;; 5443esac 5444fi 5445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5446$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5447with_gnu_ld=$lt_cv_prog_gnu_ld 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5458$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5459if ${lt_cv_path_NM+:} false; then : 5460 $as_echo_n "(cached) " >&6 5461else 5462 if test -n "$NM"; then 5463 # Let the user override the test. 5464 lt_cv_path_NM=$NM 5465else 5466 lt_nm_to_check=${ac_tool_prefix}nm 5467 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5468 lt_nm_to_check="$lt_nm_to_check nm" 5469 fi 5470 for lt_tmp_nm in $lt_nm_to_check; do 5471 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5472 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5473 IFS=$lt_save_ifs 5474 test -z "$ac_dir" && ac_dir=. 5475 tmp_nm=$ac_dir/$lt_tmp_nm 5476 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5477 # Check to see if the nm accepts a BSD-compat flag. 5478 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5479 # nm: unknown option "B" ignored 5480 # Tru64's nm complains that /dev/null is an invalid object file 5481 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5482 case $build_os in 5483 mingw*) lt_bad_file=conftest.nm/nofile ;; 5484 *) lt_bad_file=/dev/null ;; 5485 esac 5486 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5487 *$lt_bad_file* | *'Invalid file or object type'*) 5488 lt_cv_path_NM="$tmp_nm -B" 5489 break 2 5490 ;; 5491 *) 5492 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5493 */dev/null*) 5494 lt_cv_path_NM="$tmp_nm -p" 5495 break 2 5496 ;; 5497 *) 5498 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5499 continue # so that we can try to find one that supports BSD flags 5500 ;; 5501 esac 5502 ;; 5503 esac 5504 fi 5505 done 5506 IFS=$lt_save_ifs 5507 done 5508 : ${lt_cv_path_NM=no} 5509fi 5510fi 5511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5512$as_echo "$lt_cv_path_NM" >&6; } 5513if test no != "$lt_cv_path_NM"; then 5514 NM=$lt_cv_path_NM 5515else 5516 # Didn't find any BSD compatible name lister, look for dumpbin. 5517 if test -n "$DUMPBIN"; then : 5518 # Let the user override the test. 5519 else 5520 if test -n "$ac_tool_prefix"; then 5521 for ac_prog in dumpbin "link -dump" 5522 do 5523 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5524set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5526$as_echo_n "checking for $ac_word... " >&6; } 5527if ${ac_cv_prog_DUMPBIN+:} false; then : 5528 $as_echo_n "(cached) " >&6 5529else 5530 if test -n "$DUMPBIN"; then 5531 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5532else 5533as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5534for as_dir in $PATH 5535do 5536 IFS=$as_save_IFS 5537 test -z "$as_dir" && as_dir=. 5538 for ac_exec_ext in '' $ac_executable_extensions; do 5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5540 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5542 break 2 5543 fi 5544done 5545 done 5546IFS=$as_save_IFS 5547 5548fi 5549fi 5550DUMPBIN=$ac_cv_prog_DUMPBIN 5551if test -n "$DUMPBIN"; then 5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5553$as_echo "$DUMPBIN" >&6; } 5554else 5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5556$as_echo "no" >&6; } 5557fi 5558 5559 5560 test -n "$DUMPBIN" && break 5561 done 5562fi 5563if test -z "$DUMPBIN"; then 5564 ac_ct_DUMPBIN=$DUMPBIN 5565 for ac_prog in dumpbin "link -dump" 5566do 5567 # Extract the first word of "$ac_prog", so it can be a program name with args. 5568set dummy $ac_prog; ac_word=$2 5569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5570$as_echo_n "checking for $ac_word... " >&6; } 5571if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5572 $as_echo_n "(cached) " >&6 5573else 5574 if test -n "$ac_ct_DUMPBIN"; then 5575 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5576else 5577as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5578for as_dir in $PATH 5579do 5580 IFS=$as_save_IFS 5581 test -z "$as_dir" && as_dir=. 5582 for ac_exec_ext in '' $ac_executable_extensions; do 5583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5584 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5586 break 2 5587 fi 5588done 5589 done 5590IFS=$as_save_IFS 5591 5592fi 5593fi 5594ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5595if test -n "$ac_ct_DUMPBIN"; then 5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5597$as_echo "$ac_ct_DUMPBIN" >&6; } 5598else 5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5600$as_echo "no" >&6; } 5601fi 5602 5603 5604 test -n "$ac_ct_DUMPBIN" && break 5605done 5606 5607 if test "x$ac_ct_DUMPBIN" = x; then 5608 DUMPBIN=":" 5609 else 5610 case $cross_compiling:$ac_tool_warned in 5611yes:) 5612{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5613$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5614ac_tool_warned=yes ;; 5615esac 5616 DUMPBIN=$ac_ct_DUMPBIN 5617 fi 5618fi 5619 5620 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5621 *COFF*) 5622 DUMPBIN="$DUMPBIN -symbols -headers" 5623 ;; 5624 *) 5625 DUMPBIN=: 5626 ;; 5627 esac 5628 fi 5629 5630 if test : != "$DUMPBIN"; then 5631 NM=$DUMPBIN 5632 fi 5633fi 5634test -z "$NM" && NM=nm 5635 5636 5637 5638 5639 5640 5641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5642$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5643if ${lt_cv_nm_interface+:} false; then : 5644 $as_echo_n "(cached) " >&6 5645else 5646 lt_cv_nm_interface="BSD nm" 5647 echo "int some_variable = 0;" > conftest.$ac_ext 5648 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5649 (eval "$ac_compile" 2>conftest.err) 5650 cat conftest.err >&5 5651 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5652 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5653 cat conftest.err >&5 5654 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5655 cat conftest.out >&5 5656 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5657 lt_cv_nm_interface="MS dumpbin" 5658 fi 5659 rm -f conftest* 5660fi 5661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5662$as_echo "$lt_cv_nm_interface" >&6; } 5663 5664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5665$as_echo_n "checking whether ln -s works... " >&6; } 5666LN_S=$as_ln_s 5667if test "$LN_S" = "ln -s"; then 5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5669$as_echo "yes" >&6; } 5670else 5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5672$as_echo "no, using $LN_S" >&6; } 5673fi 5674 5675# find the maximum length of command line arguments 5676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5677$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5678if ${lt_cv_sys_max_cmd_len+:} false; then : 5679 $as_echo_n "(cached) " >&6 5680else 5681 i=0 5682 teststring=ABCD 5683 5684 case $build_os in 5685 msdosdjgpp*) 5686 # On DJGPP, this test can blow up pretty badly due to problems in libc 5687 # (any single argument exceeding 2000 bytes causes a buffer overrun 5688 # during glob expansion). Even if it were fixed, the result of this 5689 # check would be larger than it should be. 5690 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5691 ;; 5692 5693 gnu*) 5694 # Under GNU Hurd, this test is not required because there is 5695 # no limit to the length of command line arguments. 5696 # Libtool will interpret -1 as no limit whatsoever 5697 lt_cv_sys_max_cmd_len=-1; 5698 ;; 5699 5700 cygwin* | mingw* | cegcc*) 5701 # On Win9x/ME, this test blows up -- it succeeds, but takes 5702 # about 5 minutes as the teststring grows exponentially. 5703 # Worse, since 9x/ME are not pre-emptively multitasking, 5704 # you end up with a "frozen" computer, even though with patience 5705 # the test eventually succeeds (with a max line length of 256k). 5706 # Instead, let's just punt: use the minimum linelength reported by 5707 # all of the supported platforms: 8192 (on NT/2K/XP). 5708 lt_cv_sys_max_cmd_len=8192; 5709 ;; 5710 5711 mint*) 5712 # On MiNT this can take a long time and run out of memory. 5713 lt_cv_sys_max_cmd_len=8192; 5714 ;; 5715 5716 amigaos*) 5717 # On AmigaOS with pdksh, this test takes hours, literally. 5718 # So we just punt and use a minimum line length of 8192. 5719 lt_cv_sys_max_cmd_len=8192; 5720 ;; 5721 5722 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5723 # This has been around since 386BSD, at least. Likely further. 5724 if test -x /sbin/sysctl; then 5725 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5726 elif test -x /usr/sbin/sysctl; then 5727 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5728 else 5729 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5730 fi 5731 # And add a safety zone 5732 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5733 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5734 ;; 5735 5736 interix*) 5737 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5738 lt_cv_sys_max_cmd_len=196608 5739 ;; 5740 5741 os2*) 5742 # The test takes a long time on OS/2. 5743 lt_cv_sys_max_cmd_len=8192 5744 ;; 5745 5746 osf*) 5747 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5748 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5749 # nice to cause kernel panics so lets avoid the loop below. 5750 # First set a reasonable default. 5751 lt_cv_sys_max_cmd_len=16384 5752 # 5753 if test -x /sbin/sysconfig; then 5754 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5755 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5756 esac 5757 fi 5758 ;; 5759 sco3.2v5*) 5760 lt_cv_sys_max_cmd_len=102400 5761 ;; 5762 sysv5* | sco5v6* | sysv4.2uw2*) 5763 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5764 if test -n "$kargmax"; then 5765 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5766 else 5767 lt_cv_sys_max_cmd_len=32768 5768 fi 5769 ;; 5770 *) 5771 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5772 if test -n "$lt_cv_sys_max_cmd_len" && \ 5773 test undefined != "$lt_cv_sys_max_cmd_len"; then 5774 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5775 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5776 else 5777 # Make teststring a little bigger before we do anything with it. 5778 # a 1K string should be a reasonable start. 5779 for i in 1 2 3 4 5 6 7 8; do 5780 teststring=$teststring$teststring 5781 done 5782 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5783 # If test is not a shell built-in, we'll probably end up computing a 5784 # maximum length that is only half of the actual maximum length, but 5785 # we can't tell. 5786 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5787 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5788 test 17 != "$i" # 1/2 MB should be enough 5789 do 5790 i=`expr $i + 1` 5791 teststring=$teststring$teststring 5792 done 5793 # Only check the string length outside the loop. 5794 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5795 teststring= 5796 # Add a significant safety factor because C++ compilers can tack on 5797 # massive amounts of additional arguments before passing them to the 5798 # linker. It appears as though 1/2 is a usable value. 5799 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5800 fi 5801 ;; 5802 esac 5803 5804fi 5805 5806if test -n "$lt_cv_sys_max_cmd_len"; then 5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5808$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5809else 5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5811$as_echo "none" >&6; } 5812fi 5813max_cmd_len=$lt_cv_sys_max_cmd_len 5814 5815 5816 5817 5818 5819 5820: ${CP="cp -f"} 5821: ${MV="mv -f"} 5822: ${RM="rm -f"} 5823 5824if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5825 lt_unset=unset 5826else 5827 lt_unset=false 5828fi 5829 5830 5831 5832 5833 5834# test EBCDIC or ASCII 5835case `echo X|tr X '\101'` in 5836 A) # ASCII based system 5837 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5838 lt_SP2NL='tr \040 \012' 5839 lt_NL2SP='tr \015\012 \040\040' 5840 ;; 5841 *) # EBCDIC based system 5842 lt_SP2NL='tr \100 \n' 5843 lt_NL2SP='tr \r\n \100\100' 5844 ;; 5845esac 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5856$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5857if ${lt_cv_to_host_file_cmd+:} false; then : 5858 $as_echo_n "(cached) " >&6 5859else 5860 case $host in 5861 *-*-mingw* ) 5862 case $build in 5863 *-*-mingw* ) # actually msys 5864 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5865 ;; 5866 *-*-cygwin* ) 5867 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5868 ;; 5869 * ) # otherwise, assume *nix 5870 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5871 ;; 5872 esac 5873 ;; 5874 *-*-cygwin* ) 5875 case $build in 5876 *-*-mingw* ) # actually msys 5877 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5878 ;; 5879 *-*-cygwin* ) 5880 lt_cv_to_host_file_cmd=func_convert_file_noop 5881 ;; 5882 * ) # otherwise, assume *nix 5883 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5884 ;; 5885 esac 5886 ;; 5887 * ) # unhandled hosts (and "normal" native builds) 5888 lt_cv_to_host_file_cmd=func_convert_file_noop 5889 ;; 5890esac 5891 5892fi 5893 5894to_host_file_cmd=$lt_cv_to_host_file_cmd 5895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5896$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5897 5898 5899 5900 5901 5902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5903$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5904if ${lt_cv_to_tool_file_cmd+:} false; then : 5905 $as_echo_n "(cached) " >&6 5906else 5907 #assume ordinary cross tools, or native build. 5908lt_cv_to_tool_file_cmd=func_convert_file_noop 5909case $host in 5910 *-*-mingw* ) 5911 case $build in 5912 *-*-mingw* ) # actually msys 5913 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5914 ;; 5915 esac 5916 ;; 5917esac 5918 5919fi 5920 5921to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5923$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5924 5925 5926 5927 5928 5929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5930$as_echo_n "checking for $LD option to reload object files... " >&6; } 5931if ${lt_cv_ld_reload_flag+:} false; then : 5932 $as_echo_n "(cached) " >&6 5933else 5934 lt_cv_ld_reload_flag='-r' 5935fi 5936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5937$as_echo "$lt_cv_ld_reload_flag" >&6; } 5938reload_flag=$lt_cv_ld_reload_flag 5939case $reload_flag in 5940"" | " "*) ;; 5941*) reload_flag=" $reload_flag" ;; 5942esac 5943reload_cmds='$LD$reload_flag -o $output$reload_objs' 5944case $host_os in 5945 cygwin* | mingw* | pw32* | cegcc*) 5946 if test yes != "$GCC"; then 5947 reload_cmds=false 5948 fi 5949 ;; 5950 darwin*) 5951 if test yes = "$GCC"; then 5952 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5953 else 5954 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5955 fi 5956 ;; 5957esac 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967if test -n "$ac_tool_prefix"; then 5968 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5969set dummy ${ac_tool_prefix}objdump; ac_word=$2 5970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5971$as_echo_n "checking for $ac_word... " >&6; } 5972if ${ac_cv_prog_OBJDUMP+:} false; then : 5973 $as_echo_n "(cached) " >&6 5974else 5975 if test -n "$OBJDUMP"; then 5976 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5977else 5978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5979for as_dir in $PATH 5980do 5981 IFS=$as_save_IFS 5982 test -z "$as_dir" && as_dir=. 5983 for ac_exec_ext in '' $ac_executable_extensions; do 5984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5985 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5987 break 2 5988 fi 5989done 5990 done 5991IFS=$as_save_IFS 5992 5993fi 5994fi 5995OBJDUMP=$ac_cv_prog_OBJDUMP 5996if test -n "$OBJDUMP"; then 5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5998$as_echo "$OBJDUMP" >&6; } 5999else 6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6001$as_echo "no" >&6; } 6002fi 6003 6004 6005fi 6006if test -z "$ac_cv_prog_OBJDUMP"; then 6007 ac_ct_OBJDUMP=$OBJDUMP 6008 # Extract the first word of "objdump", so it can be a program name with args. 6009set dummy objdump; ac_word=$2 6010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6011$as_echo_n "checking for $ac_word... " >&6; } 6012if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6013 $as_echo_n "(cached) " >&6 6014else 6015 if test -n "$ac_ct_OBJDUMP"; then 6016 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6017else 6018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6019for as_dir in $PATH 6020do 6021 IFS=$as_save_IFS 6022 test -z "$as_dir" && as_dir=. 6023 for ac_exec_ext in '' $ac_executable_extensions; do 6024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6025 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6027 break 2 6028 fi 6029done 6030 done 6031IFS=$as_save_IFS 6032 6033fi 6034fi 6035ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6036if test -n "$ac_ct_OBJDUMP"; then 6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6038$as_echo "$ac_ct_OBJDUMP" >&6; } 6039else 6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6041$as_echo "no" >&6; } 6042fi 6043 6044 if test "x$ac_ct_OBJDUMP" = x; then 6045 OBJDUMP="false" 6046 else 6047 case $cross_compiling:$ac_tool_warned in 6048yes:) 6049{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6050$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6051ac_tool_warned=yes ;; 6052esac 6053 OBJDUMP=$ac_ct_OBJDUMP 6054 fi 6055else 6056 OBJDUMP="$ac_cv_prog_OBJDUMP" 6057fi 6058 6059test -z "$OBJDUMP" && OBJDUMP=objdump 6060 6061 6062 6063 6064 6065 6066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6067$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6068if ${lt_cv_deplibs_check_method+:} false; then : 6069 $as_echo_n "(cached) " >&6 6070else 6071 lt_cv_file_magic_cmd='$MAGIC_CMD' 6072lt_cv_file_magic_test_file= 6073lt_cv_deplibs_check_method='unknown' 6074# Need to set the preceding variable on all platforms that support 6075# interlibrary dependencies. 6076# 'none' -- dependencies not supported. 6077# 'unknown' -- same as none, but documents that we really don't know. 6078# 'pass_all' -- all dependencies passed with no checks. 6079# 'test_compile' -- check by making test program. 6080# 'file_magic [[regex]]' -- check by looking for files in library path 6081# that responds to the $file_magic_cmd with a given extended regex. 6082# If you have 'file' or equivalent on your system and you're not sure 6083# whether 'pass_all' will *always* work, you probably want this one. 6084 6085case $host_os in 6086aix[4-9]*) 6087 lt_cv_deplibs_check_method=pass_all 6088 ;; 6089 6090beos*) 6091 lt_cv_deplibs_check_method=pass_all 6092 ;; 6093 6094bsdi[45]*) 6095 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6096 lt_cv_file_magic_cmd='/usr/bin/file -L' 6097 lt_cv_file_magic_test_file=/shlib/libc.so 6098 ;; 6099 6100cygwin*) 6101 # func_win32_libid is a shell function defined in ltmain.sh 6102 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6103 lt_cv_file_magic_cmd='func_win32_libid' 6104 ;; 6105 6106mingw* | pw32*) 6107 # Base MSYS/MinGW do not provide the 'file' command needed by 6108 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6109 # unless we find 'file', for example because we are cross-compiling. 6110 if ( file / ) >/dev/null 2>&1; then 6111 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6112 lt_cv_file_magic_cmd='func_win32_libid' 6113 else 6114 # Keep this pattern in sync with the one in func_win32_libid. 6115 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6116 lt_cv_file_magic_cmd='$OBJDUMP -f' 6117 fi 6118 ;; 6119 6120cegcc*) 6121 # use the weaker test based on 'objdump'. See mingw*. 6122 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6123 lt_cv_file_magic_cmd='$OBJDUMP -f' 6124 ;; 6125 6126darwin* | rhapsody*) 6127 lt_cv_deplibs_check_method=pass_all 6128 ;; 6129 6130freebsd* | dragonfly*) 6131 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6132 case $host_cpu in 6133 i*86 ) 6134 # Not sure whether the presence of OpenBSD here was a mistake. 6135 # Let's accept both of them until this is cleared up. 6136 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6137 lt_cv_file_magic_cmd=/usr/bin/file 6138 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6139 ;; 6140 esac 6141 else 6142 lt_cv_deplibs_check_method=pass_all 6143 fi 6144 ;; 6145 6146haiku*) 6147 lt_cv_deplibs_check_method=pass_all 6148 ;; 6149 6150hpux10.20* | hpux11*) 6151 lt_cv_file_magic_cmd=/usr/bin/file 6152 case $host_cpu in 6153 ia64*) 6154 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6155 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6156 ;; 6157 hppa*64*) 6158 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]' 6159 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6160 ;; 6161 *) 6162 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6163 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6164 ;; 6165 esac 6166 ;; 6167 6168interix[3-9]*) 6169 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6170 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6171 ;; 6172 6173irix5* | irix6* | nonstopux*) 6174 case $LD in 6175 *-32|*"-32 ") libmagic=32-bit;; 6176 *-n32|*"-n32 ") libmagic=N32;; 6177 *-64|*"-64 ") libmagic=64-bit;; 6178 *) libmagic=never-match;; 6179 esac 6180 lt_cv_deplibs_check_method=pass_all 6181 ;; 6182 6183# This must be glibc/ELF. 6184linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6185 lt_cv_deplibs_check_method=pass_all 6186 ;; 6187 6188netbsd*) 6189 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6190 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6191 else 6192 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6193 fi 6194 ;; 6195 6196newos6*) 6197 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6198 lt_cv_file_magic_cmd=/usr/bin/file 6199 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6200 ;; 6201 6202*nto* | *qnx*) 6203 lt_cv_deplibs_check_method=pass_all 6204 ;; 6205 6206openbsd* | bitrig*) 6207 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6208 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6209 else 6210 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6211 fi 6212 ;; 6213 6214osf3* | osf4* | osf5*) 6215 lt_cv_deplibs_check_method=pass_all 6216 ;; 6217 6218rdos*) 6219 lt_cv_deplibs_check_method=pass_all 6220 ;; 6221 6222solaris*) 6223 lt_cv_deplibs_check_method=pass_all 6224 ;; 6225 6226sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6227 lt_cv_deplibs_check_method=pass_all 6228 ;; 6229 6230sysv4 | sysv4.3*) 6231 case $host_vendor in 6232 motorola) 6233 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]' 6234 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6235 ;; 6236 ncr) 6237 lt_cv_deplibs_check_method=pass_all 6238 ;; 6239 sequent) 6240 lt_cv_file_magic_cmd='/bin/file' 6241 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6242 ;; 6243 sni) 6244 lt_cv_file_magic_cmd='/bin/file' 6245 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6246 lt_cv_file_magic_test_file=/lib/libc.so 6247 ;; 6248 siemens) 6249 lt_cv_deplibs_check_method=pass_all 6250 ;; 6251 pc) 6252 lt_cv_deplibs_check_method=pass_all 6253 ;; 6254 esac 6255 ;; 6256 6257tpf*) 6258 lt_cv_deplibs_check_method=pass_all 6259 ;; 6260os2*) 6261 lt_cv_deplibs_check_method=pass_all 6262 ;; 6263esac 6264 6265fi 6266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6267$as_echo "$lt_cv_deplibs_check_method" >&6; } 6268 6269file_magic_glob= 6270want_nocaseglob=no 6271if test "$build" = "$host"; then 6272 case $host_os in 6273 mingw* | pw32*) 6274 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6275 want_nocaseglob=yes 6276 else 6277 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6278 fi 6279 ;; 6280 esac 6281fi 6282 6283file_magic_cmd=$lt_cv_file_magic_cmd 6284deplibs_check_method=$lt_cv_deplibs_check_method 6285test -z "$deplibs_check_method" && deplibs_check_method=unknown 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308if test -n "$ac_tool_prefix"; then 6309 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6310set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6312$as_echo_n "checking for $ac_word... " >&6; } 6313if ${ac_cv_prog_DLLTOOL+:} false; then : 6314 $as_echo_n "(cached) " >&6 6315else 6316 if test -n "$DLLTOOL"; then 6317 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6318else 6319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6320for as_dir in $PATH 6321do 6322 IFS=$as_save_IFS 6323 test -z "$as_dir" && as_dir=. 6324 for ac_exec_ext in '' $ac_executable_extensions; do 6325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6326 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6328 break 2 6329 fi 6330done 6331 done 6332IFS=$as_save_IFS 6333 6334fi 6335fi 6336DLLTOOL=$ac_cv_prog_DLLTOOL 6337if test -n "$DLLTOOL"; then 6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6339$as_echo "$DLLTOOL" >&6; } 6340else 6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6342$as_echo "no" >&6; } 6343fi 6344 6345 6346fi 6347if test -z "$ac_cv_prog_DLLTOOL"; then 6348 ac_ct_DLLTOOL=$DLLTOOL 6349 # Extract the first word of "dlltool", so it can be a program name with args. 6350set dummy dlltool; ac_word=$2 6351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6352$as_echo_n "checking for $ac_word... " >&6; } 6353if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6354 $as_echo_n "(cached) " >&6 6355else 6356 if test -n "$ac_ct_DLLTOOL"; then 6357 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6358else 6359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6360for as_dir in $PATH 6361do 6362 IFS=$as_save_IFS 6363 test -z "$as_dir" && as_dir=. 6364 for ac_exec_ext in '' $ac_executable_extensions; do 6365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6366 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6368 break 2 6369 fi 6370done 6371 done 6372IFS=$as_save_IFS 6373 6374fi 6375fi 6376ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6377if test -n "$ac_ct_DLLTOOL"; then 6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6379$as_echo "$ac_ct_DLLTOOL" >&6; } 6380else 6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6382$as_echo "no" >&6; } 6383fi 6384 6385 if test "x$ac_ct_DLLTOOL" = x; then 6386 DLLTOOL="false" 6387 else 6388 case $cross_compiling:$ac_tool_warned in 6389yes:) 6390{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6391$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6392ac_tool_warned=yes ;; 6393esac 6394 DLLTOOL=$ac_ct_DLLTOOL 6395 fi 6396else 6397 DLLTOOL="$ac_cv_prog_DLLTOOL" 6398fi 6399 6400test -z "$DLLTOOL" && DLLTOOL=dlltool 6401 6402 6403 6404 6405 6406 6407 6408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6409$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6410if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6411 $as_echo_n "(cached) " >&6 6412else 6413 lt_cv_sharedlib_from_linklib_cmd='unknown' 6414 6415case $host_os in 6416cygwin* | mingw* | pw32* | cegcc*) 6417 # two different shell functions defined in ltmain.sh; 6418 # decide which one to use based on capabilities of $DLLTOOL 6419 case `$DLLTOOL --help 2>&1` in 6420 *--identify-strict*) 6421 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6422 ;; 6423 *) 6424 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6425 ;; 6426 esac 6427 ;; 6428*) 6429 # fallback: assume linklib IS sharedlib 6430 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6431 ;; 6432esac 6433 6434fi 6435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6436$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6437sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6438test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6439 6440 6441 6442 6443 6444 6445 6446if test -n "$ac_tool_prefix"; then 6447 for ac_prog in ar 6448 do 6449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6450set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6452$as_echo_n "checking for $ac_word... " >&6; } 6453if ${ac_cv_prog_AR+:} false; then : 6454 $as_echo_n "(cached) " >&6 6455else 6456 if test -n "$AR"; then 6457 ac_cv_prog_AR="$AR" # Let the user override the test. 6458else 6459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6460for as_dir in $PATH 6461do 6462 IFS=$as_save_IFS 6463 test -z "$as_dir" && as_dir=. 6464 for ac_exec_ext in '' $ac_executable_extensions; do 6465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6466 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6468 break 2 6469 fi 6470done 6471 done 6472IFS=$as_save_IFS 6473 6474fi 6475fi 6476AR=$ac_cv_prog_AR 6477if test -n "$AR"; then 6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6479$as_echo "$AR" >&6; } 6480else 6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6482$as_echo "no" >&6; } 6483fi 6484 6485 6486 test -n "$AR" && break 6487 done 6488fi 6489if test -z "$AR"; then 6490 ac_ct_AR=$AR 6491 for ac_prog in ar 6492do 6493 # Extract the first word of "$ac_prog", so it can be a program name with args. 6494set dummy $ac_prog; ac_word=$2 6495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6496$as_echo_n "checking for $ac_word... " >&6; } 6497if ${ac_cv_prog_ac_ct_AR+:} false; then : 6498 $as_echo_n "(cached) " >&6 6499else 6500 if test -n "$ac_ct_AR"; then 6501 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6502else 6503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6504for as_dir in $PATH 6505do 6506 IFS=$as_save_IFS 6507 test -z "$as_dir" && as_dir=. 6508 for ac_exec_ext in '' $ac_executable_extensions; do 6509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6510 ac_cv_prog_ac_ct_AR="$ac_prog" 6511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6512 break 2 6513 fi 6514done 6515 done 6516IFS=$as_save_IFS 6517 6518fi 6519fi 6520ac_ct_AR=$ac_cv_prog_ac_ct_AR 6521if test -n "$ac_ct_AR"; then 6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6523$as_echo "$ac_ct_AR" >&6; } 6524else 6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6526$as_echo "no" >&6; } 6527fi 6528 6529 6530 test -n "$ac_ct_AR" && break 6531done 6532 6533 if test "x$ac_ct_AR" = x; then 6534 AR="false" 6535 else 6536 case $cross_compiling:$ac_tool_warned in 6537yes:) 6538{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6539$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6540ac_tool_warned=yes ;; 6541esac 6542 AR=$ac_ct_AR 6543 fi 6544fi 6545 6546: ${AR=ar} 6547: ${AR_FLAGS=cru} 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6560$as_echo_n "checking for archiver @FILE support... " >&6; } 6561if ${lt_cv_ar_at_file+:} false; then : 6562 $as_echo_n "(cached) " >&6 6563else 6564 lt_cv_ar_at_file=no 6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6566/* end confdefs.h. */ 6567 6568int 6569main () 6570{ 6571 6572 ; 6573 return 0; 6574} 6575_ACEOF 6576if ac_fn_c_try_compile "$LINENO"; then : 6577 echo conftest.$ac_objext > conftest.lst 6578 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6579 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6580 (eval $lt_ar_try) 2>&5 6581 ac_status=$? 6582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6583 test $ac_status = 0; } 6584 if test 0 -eq "$ac_status"; then 6585 # Ensure the archiver fails upon bogus file names. 6586 rm -f conftest.$ac_objext libconftest.a 6587 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6588 (eval $lt_ar_try) 2>&5 6589 ac_status=$? 6590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6591 test $ac_status = 0; } 6592 if test 0 -ne "$ac_status"; then 6593 lt_cv_ar_at_file=@ 6594 fi 6595 fi 6596 rm -f conftest.* libconftest.a 6597 6598fi 6599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6600 6601fi 6602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6603$as_echo "$lt_cv_ar_at_file" >&6; } 6604 6605if test no = "$lt_cv_ar_at_file"; then 6606 archiver_list_spec= 6607else 6608 archiver_list_spec=$lt_cv_ar_at_file 6609fi 6610 6611 6612 6613 6614 6615 6616 6617if test -n "$ac_tool_prefix"; then 6618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6619set dummy ${ac_tool_prefix}strip; ac_word=$2 6620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6621$as_echo_n "checking for $ac_word... " >&6; } 6622if ${ac_cv_prog_STRIP+:} false; then : 6623 $as_echo_n "(cached) " >&6 6624else 6625 if test -n "$STRIP"; then 6626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6627else 6628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6629for as_dir in $PATH 6630do 6631 IFS=$as_save_IFS 6632 test -z "$as_dir" && as_dir=. 6633 for ac_exec_ext in '' $ac_executable_extensions; do 6634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6635 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6637 break 2 6638 fi 6639done 6640 done 6641IFS=$as_save_IFS 6642 6643fi 6644fi 6645STRIP=$ac_cv_prog_STRIP 6646if test -n "$STRIP"; then 6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6648$as_echo "$STRIP" >&6; } 6649else 6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6651$as_echo "no" >&6; } 6652fi 6653 6654 6655fi 6656if test -z "$ac_cv_prog_STRIP"; then 6657 ac_ct_STRIP=$STRIP 6658 # Extract the first word of "strip", so it can be a program name with args. 6659set dummy strip; ac_word=$2 6660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6661$as_echo_n "checking for $ac_word... " >&6; } 6662if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6663 $as_echo_n "(cached) " >&6 6664else 6665 if test -n "$ac_ct_STRIP"; then 6666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6667else 6668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6669for as_dir in $PATH 6670do 6671 IFS=$as_save_IFS 6672 test -z "$as_dir" && as_dir=. 6673 for ac_exec_ext in '' $ac_executable_extensions; do 6674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6675 ac_cv_prog_ac_ct_STRIP="strip" 6676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6677 break 2 6678 fi 6679done 6680 done 6681IFS=$as_save_IFS 6682 6683fi 6684fi 6685ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6686if test -n "$ac_ct_STRIP"; then 6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6688$as_echo "$ac_ct_STRIP" >&6; } 6689else 6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6691$as_echo "no" >&6; } 6692fi 6693 6694 if test "x$ac_ct_STRIP" = x; then 6695 STRIP=":" 6696 else 6697 case $cross_compiling:$ac_tool_warned in 6698yes:) 6699{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6700$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6701ac_tool_warned=yes ;; 6702esac 6703 STRIP=$ac_ct_STRIP 6704 fi 6705else 6706 STRIP="$ac_cv_prog_STRIP" 6707fi 6708 6709test -z "$STRIP" && STRIP=: 6710 6711 6712 6713 6714 6715 6716if test -n "$ac_tool_prefix"; then 6717 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6718set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6720$as_echo_n "checking for $ac_word... " >&6; } 6721if ${ac_cv_prog_RANLIB+:} false; then : 6722 $as_echo_n "(cached) " >&6 6723else 6724 if test -n "$RANLIB"; then 6725 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6726else 6727as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6728for as_dir in $PATH 6729do 6730 IFS=$as_save_IFS 6731 test -z "$as_dir" && as_dir=. 6732 for ac_exec_ext in '' $ac_executable_extensions; do 6733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6734 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6736 break 2 6737 fi 6738done 6739 done 6740IFS=$as_save_IFS 6741 6742fi 6743fi 6744RANLIB=$ac_cv_prog_RANLIB 6745if test -n "$RANLIB"; then 6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6747$as_echo "$RANLIB" >&6; } 6748else 6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6750$as_echo "no" >&6; } 6751fi 6752 6753 6754fi 6755if test -z "$ac_cv_prog_RANLIB"; then 6756 ac_ct_RANLIB=$RANLIB 6757 # Extract the first word of "ranlib", so it can be a program name with args. 6758set dummy ranlib; ac_word=$2 6759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6760$as_echo_n "checking for $ac_word... " >&6; } 6761if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6762 $as_echo_n "(cached) " >&6 6763else 6764 if test -n "$ac_ct_RANLIB"; then 6765 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6766else 6767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6768for as_dir in $PATH 6769do 6770 IFS=$as_save_IFS 6771 test -z "$as_dir" && as_dir=. 6772 for ac_exec_ext in '' $ac_executable_extensions; do 6773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6774 ac_cv_prog_ac_ct_RANLIB="ranlib" 6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6776 break 2 6777 fi 6778done 6779 done 6780IFS=$as_save_IFS 6781 6782fi 6783fi 6784ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6785if test -n "$ac_ct_RANLIB"; then 6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6787$as_echo "$ac_ct_RANLIB" >&6; } 6788else 6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6790$as_echo "no" >&6; } 6791fi 6792 6793 if test "x$ac_ct_RANLIB" = x; then 6794 RANLIB=":" 6795 else 6796 case $cross_compiling:$ac_tool_warned in 6797yes:) 6798{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6799$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6800ac_tool_warned=yes ;; 6801esac 6802 RANLIB=$ac_ct_RANLIB 6803 fi 6804else 6805 RANLIB="$ac_cv_prog_RANLIB" 6806fi 6807 6808test -z "$RANLIB" && RANLIB=: 6809 6810 6811 6812 6813 6814 6815# Determine commands to create old-style static archives. 6816old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6817old_postinstall_cmds='chmod 644 $oldlib' 6818old_postuninstall_cmds= 6819 6820if test -n "$RANLIB"; then 6821 case $host_os in 6822 bitrig* | openbsd*) 6823 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6824 ;; 6825 *) 6826 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6827 ;; 6828 esac 6829 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6830fi 6831 6832case $host_os in 6833 darwin*) 6834 lock_old_archive_extraction=yes ;; 6835 *) 6836 lock_old_archive_extraction=no ;; 6837esac 6838 6839 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# If no C compiler was specified, use CC. 6878LTCC=${LTCC-"$CC"} 6879 6880# If no C compiler flags were specified, use CFLAGS. 6881LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6882 6883# Allow CC to be a program name with arguments. 6884compiler=$CC 6885 6886 6887# Check for command to grab the raw symbol name followed by C symbol from nm. 6888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6889$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6890if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6891 $as_echo_n "(cached) " >&6 6892else 6893 6894# These are sane defaults that work on at least a few old systems. 6895# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6896 6897# Character class describing NM global symbol codes. 6898symcode='[BCDEGRST]' 6899 6900# Regexp to match symbols that can be accessed directly from C. 6901sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6902 6903# Define system-specific variables. 6904case $host_os in 6905aix*) 6906 symcode='[BCDT]' 6907 ;; 6908cygwin* | mingw* | pw32* | cegcc*) 6909 symcode='[ABCDGISTW]' 6910 ;; 6911hpux*) 6912 if test ia64 = "$host_cpu"; then 6913 symcode='[ABCDEGRST]' 6914 fi 6915 ;; 6916irix* | nonstopux*) 6917 symcode='[BCDEGRST]' 6918 ;; 6919osf*) 6920 symcode='[BCDEGQRST]' 6921 ;; 6922solaris*) 6923 symcode='[BDRT]' 6924 ;; 6925sco3.2v5*) 6926 symcode='[DT]' 6927 ;; 6928sysv4.2uw2*) 6929 symcode='[DT]' 6930 ;; 6931sysv5* | sco5v6* | unixware* | OpenUNIX*) 6932 symcode='[ABDT]' 6933 ;; 6934sysv4) 6935 symcode='[DFNSTU]' 6936 ;; 6937esac 6938 6939# If we're using GNU nm, then use its standard symbol codes. 6940case `$NM -V 2>&1` in 6941*GNU* | *'with BFD'*) 6942 symcode='[ABCDGIRSTW]' ;; 6943esac 6944 6945if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6946 # Gets list of data symbols to import. 6947 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6948 # Adjust the below global symbol transforms to fixup imported variables. 6949 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6950 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6951 lt_c_name_lib_hook="\ 6952 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6953 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6954else 6955 # Disable hooks by default. 6956 lt_cv_sys_global_symbol_to_import= 6957 lt_cdecl_hook= 6958 lt_c_name_hook= 6959 lt_c_name_lib_hook= 6960fi 6961 6962# Transform an extracted symbol line into a proper C declaration. 6963# Some systems (esp. on ia64) link data and code symbols differently, 6964# so use this general approach. 6965lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6966$lt_cdecl_hook\ 6967" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6968" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6969 6970# Transform an extracted symbol line into symbol name and symbol address 6971lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6972$lt_c_name_hook\ 6973" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6974" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6975 6976# Transform an extracted symbol line into symbol name with lib prefix and 6977# symbol address. 6978lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6979$lt_c_name_lib_hook\ 6980" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6981" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6982" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6983 6984# Handle CRLF in mingw tool chain 6985opt_cr= 6986case $build_os in 6987mingw*) 6988 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6989 ;; 6990esac 6991 6992# Try without a prefix underscore, then with it. 6993for ac_symprfx in "" "_"; do 6994 6995 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6996 symxfrm="\\1 $ac_symprfx\\2 \\2" 6997 6998 # Write the raw and C identifiers. 6999 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7000 # Fake it for dumpbin and say T for any non-static function, 7001 # D for any global variable and I for any imported variable. 7002 # Also find C++ and __fastcall symbols from MSVC++, 7003 # which start with @ or ?. 7004 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7005" {last_section=section; section=\$ 3};"\ 7006" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7007" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7008" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7009" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7010" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7011" \$ 0!~/External *\|/{next};"\ 7012" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7013" {if(hide[section]) next};"\ 7014" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7015" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7016" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7017" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7018" ' prfx=^$ac_symprfx" 7019 else 7020 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7021 fi 7022 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7023 7024 # Check to see that the pipe works correctly. 7025 pipe_works=no 7026 7027 rm -f conftest* 7028 cat > conftest.$ac_ext <<_LT_EOF 7029#ifdef __cplusplus 7030extern "C" { 7031#endif 7032char nm_test_var; 7033void nm_test_func(void); 7034void nm_test_func(void){} 7035#ifdef __cplusplus 7036} 7037#endif 7038int main(){nm_test_var='a';nm_test_func();return(0);} 7039_LT_EOF 7040 7041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7042 (eval $ac_compile) 2>&5 7043 ac_status=$? 7044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7045 test $ac_status = 0; }; then 7046 # Now try to grab the symbols. 7047 nlist=conftest.nm 7048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7049 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7050 ac_status=$? 7051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7052 test $ac_status = 0; } && test -s "$nlist"; then 7053 # Try sorting and uniquifying the output. 7054 if sort "$nlist" | uniq > "$nlist"T; then 7055 mv -f "$nlist"T "$nlist" 7056 else 7057 rm -f "$nlist"T 7058 fi 7059 7060 # Make sure that we snagged all the symbols we need. 7061 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7062 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7063 cat <<_LT_EOF > conftest.$ac_ext 7064/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7065#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7066/* DATA imports from DLLs on WIN32 can't be const, because runtime 7067 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7068# define LT_DLSYM_CONST 7069#elif defined __osf__ 7070/* This system does not cope well with relocations in const data. */ 7071# define LT_DLSYM_CONST 7072#else 7073# define LT_DLSYM_CONST const 7074#endif 7075 7076#ifdef __cplusplus 7077extern "C" { 7078#endif 7079 7080_LT_EOF 7081 # Now generate the symbol file. 7082 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7083 7084 cat <<_LT_EOF >> conftest.$ac_ext 7085 7086/* The mapping between symbol names and symbols. */ 7087LT_DLSYM_CONST struct { 7088 const char *name; 7089 void *address; 7090} 7091lt__PROGRAM__LTX_preloaded_symbols[] = 7092{ 7093 { "@PROGRAM@", (void *) 0 }, 7094_LT_EOF 7095 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7096 cat <<\_LT_EOF >> conftest.$ac_ext 7097 {0, (void *) 0} 7098}; 7099 7100/* This works around a problem in FreeBSD linker */ 7101#ifdef FREEBSD_WORKAROUND 7102static const void *lt_preloaded_setup() { 7103 return lt__PROGRAM__LTX_preloaded_symbols; 7104} 7105#endif 7106 7107#ifdef __cplusplus 7108} 7109#endif 7110_LT_EOF 7111 # Now try linking the two files. 7112 mv conftest.$ac_objext conftstm.$ac_objext 7113 lt_globsym_save_LIBS=$LIBS 7114 lt_globsym_save_CFLAGS=$CFLAGS 7115 LIBS=conftstm.$ac_objext 7116 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7118 (eval $ac_link) 2>&5 7119 ac_status=$? 7120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7121 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7122 pipe_works=yes 7123 fi 7124 LIBS=$lt_globsym_save_LIBS 7125 CFLAGS=$lt_globsym_save_CFLAGS 7126 else 7127 echo "cannot find nm_test_func in $nlist" >&5 7128 fi 7129 else 7130 echo "cannot find nm_test_var in $nlist" >&5 7131 fi 7132 else 7133 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7134 fi 7135 else 7136 echo "$progname: failed program was:" >&5 7137 cat conftest.$ac_ext >&5 7138 fi 7139 rm -rf conftest* conftst* 7140 7141 # Do not use the global_symbol_pipe unless it works. 7142 if test yes = "$pipe_works"; then 7143 break 7144 else 7145 lt_cv_sys_global_symbol_pipe= 7146 fi 7147done 7148 7149fi 7150 7151if test -z "$lt_cv_sys_global_symbol_pipe"; then 7152 lt_cv_sys_global_symbol_to_cdecl= 7153fi 7154if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7156$as_echo "failed" >&6; } 7157else 7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7159$as_echo "ok" >&6; } 7160fi 7161 7162# Response file support. 7163if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7164 nm_file_list_spec='@' 7165elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7166 nm_file_list_spec='@' 7167fi 7168 7169 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{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7206$as_echo_n "checking for sysroot... " >&6; } 7207 7208# Check whether --with-sysroot was given. 7209if test "${with_sysroot+set}" = set; then : 7210 withval=$with_sysroot; 7211else 7212 with_sysroot=no 7213fi 7214 7215 7216lt_sysroot= 7217case $with_sysroot in #( 7218 yes) 7219 if test yes = "$GCC"; then 7220 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7221 fi 7222 ;; #( 7223 /*) 7224 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7225 ;; #( 7226 no|'') 7227 ;; #( 7228 *) 7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7230$as_echo "$with_sysroot" >&6; } 7231 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7232 ;; 7233esac 7234 7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7236$as_echo "${lt_sysroot:-no}" >&6; } 7237 7238 7239 7240 7241 7242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7243$as_echo_n "checking for a working dd... " >&6; } 7244if ${ac_cv_path_lt_DD+:} false; then : 7245 $as_echo_n "(cached) " >&6 7246else 7247 printf 0123456789abcdef0123456789abcdef >conftest.i 7248cat conftest.i conftest.i >conftest2.i 7249: ${lt_DD:=$DD} 7250if test -z "$lt_DD"; then 7251 ac_path_lt_DD_found=false 7252 # Loop through the user's path and test for each of PROGNAME-LIST 7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7254for as_dir in $PATH 7255do 7256 IFS=$as_save_IFS 7257 test -z "$as_dir" && as_dir=. 7258 for ac_prog in dd; do 7259 for ac_exec_ext in '' $ac_executable_extensions; do 7260 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 7261 as_fn_executable_p "$ac_path_lt_DD" || continue 7262if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7263 cmp -s conftest.i conftest.out \ 7264 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7265fi 7266 $ac_path_lt_DD_found && break 3 7267 done 7268 done 7269 done 7270IFS=$as_save_IFS 7271 if test -z "$ac_cv_path_lt_DD"; then 7272 : 7273 fi 7274else 7275 ac_cv_path_lt_DD=$lt_DD 7276fi 7277 7278rm -f conftest.i conftest2.i conftest.out 7279fi 7280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7281$as_echo "$ac_cv_path_lt_DD" >&6; } 7282 7283 7284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7285$as_echo_n "checking how to truncate binary pipes... " >&6; } 7286if ${lt_cv_truncate_bin+:} false; then : 7287 $as_echo_n "(cached) " >&6 7288else 7289 printf 0123456789abcdef0123456789abcdef >conftest.i 7290cat conftest.i conftest.i >conftest2.i 7291lt_cv_truncate_bin= 7292if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7293 cmp -s conftest.i conftest.out \ 7294 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7295fi 7296rm -f conftest.i conftest2.i conftest.out 7297test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7298fi 7299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7300$as_echo "$lt_cv_truncate_bin" >&6; } 7301 7302 7303 7304 7305 7306 7307 7308# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7309func_cc_basename () 7310{ 7311 for cc_temp in $*""; do 7312 case $cc_temp in 7313 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7314 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7315 \-*) ;; 7316 *) break;; 7317 esac 7318 done 7319 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7320} 7321 7322# Check whether --enable-libtool-lock was given. 7323if test "${enable_libtool_lock+set}" = set; then : 7324 enableval=$enable_libtool_lock; 7325fi 7326 7327test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7328 7329# Some flags need to be propagated to the compiler or linker for good 7330# libtool support. 7331case $host in 7332ia64-*-hpux*) 7333 # Find out what ABI is being produced by ac_compile, and set mode 7334 # options accordingly. 7335 echo 'int i;' > conftest.$ac_ext 7336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7337 (eval $ac_compile) 2>&5 7338 ac_status=$? 7339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7340 test $ac_status = 0; }; then 7341 case `/usr/bin/file conftest.$ac_objext` in 7342 *ELF-32*) 7343 HPUX_IA64_MODE=32 7344 ;; 7345 *ELF-64*) 7346 HPUX_IA64_MODE=64 7347 ;; 7348 esac 7349 fi 7350 rm -rf conftest* 7351 ;; 7352*-*-irix6*) 7353 # Find out what ABI is being produced by ac_compile, and set linker 7354 # options accordingly. 7355 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7356 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7357 (eval $ac_compile) 2>&5 7358 ac_status=$? 7359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7360 test $ac_status = 0; }; then 7361 if test yes = "$lt_cv_prog_gnu_ld"; then 7362 case `/usr/bin/file conftest.$ac_objext` in 7363 *32-bit*) 7364 LD="${LD-ld} -melf32bsmip" 7365 ;; 7366 *N32*) 7367 LD="${LD-ld} -melf32bmipn32" 7368 ;; 7369 *64-bit*) 7370 LD="${LD-ld} -melf64bmip" 7371 ;; 7372 esac 7373 else 7374 case `/usr/bin/file conftest.$ac_objext` in 7375 *32-bit*) 7376 LD="${LD-ld} -32" 7377 ;; 7378 *N32*) 7379 LD="${LD-ld} -n32" 7380 ;; 7381 *64-bit*) 7382 LD="${LD-ld} -64" 7383 ;; 7384 esac 7385 fi 7386 fi 7387 rm -rf conftest* 7388 ;; 7389 7390mips64*-*linux*) 7391 # Find out what ABI is being produced by ac_compile, and set linker 7392 # options accordingly. 7393 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7395 (eval $ac_compile) 2>&5 7396 ac_status=$? 7397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7398 test $ac_status = 0; }; then 7399 emul=elf 7400 case `/usr/bin/file conftest.$ac_objext` in 7401 *32-bit*) 7402 emul="${emul}32" 7403 ;; 7404 *64-bit*) 7405 emul="${emul}64" 7406 ;; 7407 esac 7408 case `/usr/bin/file conftest.$ac_objext` in 7409 *MSB*) 7410 emul="${emul}btsmip" 7411 ;; 7412 *LSB*) 7413 emul="${emul}ltsmip" 7414 ;; 7415 esac 7416 case `/usr/bin/file conftest.$ac_objext` in 7417 *N32*) 7418 emul="${emul}n32" 7419 ;; 7420 esac 7421 LD="${LD-ld} -m $emul" 7422 fi 7423 rm -rf conftest* 7424 ;; 7425 7426x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7427s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7428 # Find out what ABI is being produced by ac_compile, and set linker 7429 # options accordingly. Note that the listed cases only cover the 7430 # situations where additional linker options are needed (such as when 7431 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7432 # vice versa); the common cases where no linker options are needed do 7433 # not appear in the list. 7434 echo 'int i;' > conftest.$ac_ext 7435 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7436 (eval $ac_compile) 2>&5 7437 ac_status=$? 7438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7439 test $ac_status = 0; }; then 7440 case `/usr/bin/file conftest.o` in 7441 *32-bit*) 7442 case $host in 7443 x86_64-*kfreebsd*-gnu) 7444 LD="${LD-ld} -m elf_i386_fbsd" 7445 ;; 7446 x86_64-*linux*) 7447 case `/usr/bin/file conftest.o` in 7448 *x86-64*) 7449 LD="${LD-ld} -m elf32_x86_64" 7450 ;; 7451 *) 7452 LD="${LD-ld} -m elf_i386" 7453 ;; 7454 esac 7455 ;; 7456 powerpc64le-*linux*) 7457 LD="${LD-ld} -m elf32lppclinux" 7458 ;; 7459 powerpc64-*linux*) 7460 LD="${LD-ld} -m elf32ppclinux" 7461 ;; 7462 s390x-*linux*) 7463 LD="${LD-ld} -m elf_s390" 7464 ;; 7465 sparc64-*linux*) 7466 LD="${LD-ld} -m elf32_sparc" 7467 ;; 7468 esac 7469 ;; 7470 *64-bit*) 7471 case $host in 7472 x86_64-*kfreebsd*-gnu) 7473 LD="${LD-ld} -m elf_x86_64_fbsd" 7474 ;; 7475 x86_64-*linux*) 7476 LD="${LD-ld} -m elf_x86_64" 7477 ;; 7478 powerpcle-*linux*) 7479 LD="${LD-ld} -m elf64lppc" 7480 ;; 7481 powerpc-*linux*) 7482 LD="${LD-ld} -m elf64ppc" 7483 ;; 7484 s390*-*linux*|s390*-*tpf*) 7485 LD="${LD-ld} -m elf64_s390" 7486 ;; 7487 sparc*-*linux*) 7488 LD="${LD-ld} -m elf64_sparc" 7489 ;; 7490 esac 7491 ;; 7492 esac 7493 fi 7494 rm -rf conftest* 7495 ;; 7496 7497*-*-sco3.2v5*) 7498 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7499 SAVE_CFLAGS=$CFLAGS 7500 CFLAGS="$CFLAGS -belf" 7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7502$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7503if ${lt_cv_cc_needs_belf+:} false; then : 7504 $as_echo_n "(cached) " >&6 7505else 7506 ac_ext=c 7507ac_cpp='$CPP $CPPFLAGS' 7508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7510ac_compiler_gnu=$ac_cv_c_compiler_gnu 7511 7512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7513/* end confdefs.h. */ 7514 7515int 7516main () 7517{ 7518 7519 ; 7520 return 0; 7521} 7522_ACEOF 7523if ac_fn_c_try_link "$LINENO"; then : 7524 lt_cv_cc_needs_belf=yes 7525else 7526 lt_cv_cc_needs_belf=no 7527fi 7528rm -f core conftest.err conftest.$ac_objext \ 7529 conftest$ac_exeext conftest.$ac_ext 7530 ac_ext=c 7531ac_cpp='$CPP $CPPFLAGS' 7532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7534ac_compiler_gnu=$ac_cv_c_compiler_gnu 7535 7536fi 7537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7538$as_echo "$lt_cv_cc_needs_belf" >&6; } 7539 if test yes != "$lt_cv_cc_needs_belf"; then 7540 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7541 CFLAGS=$SAVE_CFLAGS 7542 fi 7543 ;; 7544*-*solaris*) 7545 # Find out what ABI is being produced by ac_compile, and set linker 7546 # options accordingly. 7547 echo 'int i;' > conftest.$ac_ext 7548 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7549 (eval $ac_compile) 2>&5 7550 ac_status=$? 7551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7552 test $ac_status = 0; }; then 7553 case `/usr/bin/file conftest.o` in 7554 *64-bit*) 7555 case $lt_cv_prog_gnu_ld in 7556 yes*) 7557 case $host in 7558 i?86-*-solaris*|x86_64-*-solaris*) 7559 LD="${LD-ld} -m elf_x86_64" 7560 ;; 7561 sparc*-*-solaris*) 7562 LD="${LD-ld} -m elf64_sparc" 7563 ;; 7564 esac 7565 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7566 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7567 LD=${LD-ld}_sol2 7568 fi 7569 ;; 7570 *) 7571 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7572 LD="${LD-ld} -64" 7573 fi 7574 ;; 7575 esac 7576 ;; 7577 esac 7578 fi 7579 rm -rf conftest* 7580 ;; 7581esac 7582 7583need_locks=$enable_libtool_lock 7584 7585if test -n "$ac_tool_prefix"; then 7586 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7587set dummy ${ac_tool_prefix}mt; ac_word=$2 7588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7589$as_echo_n "checking for $ac_word... " >&6; } 7590if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7591 $as_echo_n "(cached) " >&6 7592else 7593 if test -n "$MANIFEST_TOOL"; then 7594 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7595else 7596as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7597for as_dir in $PATH 7598do 7599 IFS=$as_save_IFS 7600 test -z "$as_dir" && as_dir=. 7601 for ac_exec_ext in '' $ac_executable_extensions; do 7602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7603 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7605 break 2 7606 fi 7607done 7608 done 7609IFS=$as_save_IFS 7610 7611fi 7612fi 7613MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7614if test -n "$MANIFEST_TOOL"; then 7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7616$as_echo "$MANIFEST_TOOL" >&6; } 7617else 7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7619$as_echo "no" >&6; } 7620fi 7621 7622 7623fi 7624if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7625 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7626 # Extract the first word of "mt", so it can be a program name with args. 7627set dummy mt; ac_word=$2 7628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7629$as_echo_n "checking for $ac_word... " >&6; } 7630if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7631 $as_echo_n "(cached) " >&6 7632else 7633 if test -n "$ac_ct_MANIFEST_TOOL"; then 7634 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7635else 7636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7637for as_dir in $PATH 7638do 7639 IFS=$as_save_IFS 7640 test -z "$as_dir" && as_dir=. 7641 for ac_exec_ext in '' $ac_executable_extensions; do 7642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7643 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7645 break 2 7646 fi 7647done 7648 done 7649IFS=$as_save_IFS 7650 7651fi 7652fi 7653ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7654if test -n "$ac_ct_MANIFEST_TOOL"; then 7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7656$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7657else 7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7659$as_echo "no" >&6; } 7660fi 7661 7662 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7663 MANIFEST_TOOL=":" 7664 else 7665 case $cross_compiling:$ac_tool_warned in 7666yes:) 7667{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7668$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7669ac_tool_warned=yes ;; 7670esac 7671 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7672 fi 7673else 7674 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7675fi 7676 7677test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7679$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7680if ${lt_cv_path_mainfest_tool+:} false; then : 7681 $as_echo_n "(cached) " >&6 7682else 7683 lt_cv_path_mainfest_tool=no 7684 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7685 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7686 cat conftest.err >&5 7687 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7688 lt_cv_path_mainfest_tool=yes 7689 fi 7690 rm -f conftest* 7691fi 7692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7693$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7694if test yes != "$lt_cv_path_mainfest_tool"; then 7695 MANIFEST_TOOL=: 7696fi 7697 7698 7699 7700 7701 7702 7703 case $host_os in 7704 rhapsody* | darwin*) 7705 if test -n "$ac_tool_prefix"; then 7706 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7707set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7709$as_echo_n "checking for $ac_word... " >&6; } 7710if ${ac_cv_prog_DSYMUTIL+:} false; then : 7711 $as_echo_n "(cached) " >&6 7712else 7713 if test -n "$DSYMUTIL"; then 7714 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7715else 7716as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7717for as_dir in $PATH 7718do 7719 IFS=$as_save_IFS 7720 test -z "$as_dir" && as_dir=. 7721 for ac_exec_ext in '' $ac_executable_extensions; do 7722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7723 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7725 break 2 7726 fi 7727done 7728 done 7729IFS=$as_save_IFS 7730 7731fi 7732fi 7733DSYMUTIL=$ac_cv_prog_DSYMUTIL 7734if test -n "$DSYMUTIL"; then 7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7736$as_echo "$DSYMUTIL" >&6; } 7737else 7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7739$as_echo "no" >&6; } 7740fi 7741 7742 7743fi 7744if test -z "$ac_cv_prog_DSYMUTIL"; then 7745 ac_ct_DSYMUTIL=$DSYMUTIL 7746 # Extract the first word of "dsymutil", so it can be a program name with args. 7747set dummy dsymutil; ac_word=$2 7748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7749$as_echo_n "checking for $ac_word... " >&6; } 7750if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7751 $as_echo_n "(cached) " >&6 7752else 7753 if test -n "$ac_ct_DSYMUTIL"; then 7754 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7755else 7756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7757for as_dir in $PATH 7758do 7759 IFS=$as_save_IFS 7760 test -z "$as_dir" && as_dir=. 7761 for ac_exec_ext in '' $ac_executable_extensions; do 7762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7763 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7765 break 2 7766 fi 7767done 7768 done 7769IFS=$as_save_IFS 7770 7771fi 7772fi 7773ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7774if test -n "$ac_ct_DSYMUTIL"; then 7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7776$as_echo "$ac_ct_DSYMUTIL" >&6; } 7777else 7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7779$as_echo "no" >&6; } 7780fi 7781 7782 if test "x$ac_ct_DSYMUTIL" = x; then 7783 DSYMUTIL=":" 7784 else 7785 case $cross_compiling:$ac_tool_warned in 7786yes:) 7787{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7788$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7789ac_tool_warned=yes ;; 7790esac 7791 DSYMUTIL=$ac_ct_DSYMUTIL 7792 fi 7793else 7794 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7795fi 7796 7797 if test -n "$ac_tool_prefix"; then 7798 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7799set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7801$as_echo_n "checking for $ac_word... " >&6; } 7802if ${ac_cv_prog_NMEDIT+:} false; then : 7803 $as_echo_n "(cached) " >&6 7804else 7805 if test -n "$NMEDIT"; then 7806 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7807else 7808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7809for as_dir in $PATH 7810do 7811 IFS=$as_save_IFS 7812 test -z "$as_dir" && as_dir=. 7813 for ac_exec_ext in '' $ac_executable_extensions; do 7814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7815 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7817 break 2 7818 fi 7819done 7820 done 7821IFS=$as_save_IFS 7822 7823fi 7824fi 7825NMEDIT=$ac_cv_prog_NMEDIT 7826if test -n "$NMEDIT"; then 7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7828$as_echo "$NMEDIT" >&6; } 7829else 7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7831$as_echo "no" >&6; } 7832fi 7833 7834 7835fi 7836if test -z "$ac_cv_prog_NMEDIT"; then 7837 ac_ct_NMEDIT=$NMEDIT 7838 # Extract the first word of "nmedit", so it can be a program name with args. 7839set dummy nmedit; ac_word=$2 7840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7841$as_echo_n "checking for $ac_word... " >&6; } 7842if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7843 $as_echo_n "(cached) " >&6 7844else 7845 if test -n "$ac_ct_NMEDIT"; then 7846 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7847else 7848as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7849for as_dir in $PATH 7850do 7851 IFS=$as_save_IFS 7852 test -z "$as_dir" && as_dir=. 7853 for ac_exec_ext in '' $ac_executable_extensions; do 7854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7855 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7857 break 2 7858 fi 7859done 7860 done 7861IFS=$as_save_IFS 7862 7863fi 7864fi 7865ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7866if test -n "$ac_ct_NMEDIT"; then 7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7868$as_echo "$ac_ct_NMEDIT" >&6; } 7869else 7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7871$as_echo "no" >&6; } 7872fi 7873 7874 if test "x$ac_ct_NMEDIT" = x; then 7875 NMEDIT=":" 7876 else 7877 case $cross_compiling:$ac_tool_warned in 7878yes:) 7879{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7880$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7881ac_tool_warned=yes ;; 7882esac 7883 NMEDIT=$ac_ct_NMEDIT 7884 fi 7885else 7886 NMEDIT="$ac_cv_prog_NMEDIT" 7887fi 7888 7889 if test -n "$ac_tool_prefix"; then 7890 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7891set dummy ${ac_tool_prefix}lipo; ac_word=$2 7892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7893$as_echo_n "checking for $ac_word... " >&6; } 7894if ${ac_cv_prog_LIPO+:} false; then : 7895 $as_echo_n "(cached) " >&6 7896else 7897 if test -n "$LIPO"; then 7898 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7899else 7900as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7901for as_dir in $PATH 7902do 7903 IFS=$as_save_IFS 7904 test -z "$as_dir" && as_dir=. 7905 for ac_exec_ext in '' $ac_executable_extensions; do 7906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7907 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7909 break 2 7910 fi 7911done 7912 done 7913IFS=$as_save_IFS 7914 7915fi 7916fi 7917LIPO=$ac_cv_prog_LIPO 7918if test -n "$LIPO"; then 7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7920$as_echo "$LIPO" >&6; } 7921else 7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7923$as_echo "no" >&6; } 7924fi 7925 7926 7927fi 7928if test -z "$ac_cv_prog_LIPO"; then 7929 ac_ct_LIPO=$LIPO 7930 # Extract the first word of "lipo", so it can be a program name with args. 7931set dummy lipo; ac_word=$2 7932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7933$as_echo_n "checking for $ac_word... " >&6; } 7934if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7935 $as_echo_n "(cached) " >&6 7936else 7937 if test -n "$ac_ct_LIPO"; then 7938 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7939else 7940as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7941for as_dir in $PATH 7942do 7943 IFS=$as_save_IFS 7944 test -z "$as_dir" && as_dir=. 7945 for ac_exec_ext in '' $ac_executable_extensions; do 7946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7947 ac_cv_prog_ac_ct_LIPO="lipo" 7948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7949 break 2 7950 fi 7951done 7952 done 7953IFS=$as_save_IFS 7954 7955fi 7956fi 7957ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7958if test -n "$ac_ct_LIPO"; then 7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7960$as_echo "$ac_ct_LIPO" >&6; } 7961else 7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7963$as_echo "no" >&6; } 7964fi 7965 7966 if test "x$ac_ct_LIPO" = x; then 7967 LIPO=":" 7968 else 7969 case $cross_compiling:$ac_tool_warned in 7970yes:) 7971{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7972$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7973ac_tool_warned=yes ;; 7974esac 7975 LIPO=$ac_ct_LIPO 7976 fi 7977else 7978 LIPO="$ac_cv_prog_LIPO" 7979fi 7980 7981 if test -n "$ac_tool_prefix"; then 7982 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7983set dummy ${ac_tool_prefix}otool; ac_word=$2 7984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7985$as_echo_n "checking for $ac_word... " >&6; } 7986if ${ac_cv_prog_OTOOL+:} false; then : 7987 $as_echo_n "(cached) " >&6 7988else 7989 if test -n "$OTOOL"; then 7990 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7991else 7992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7993for as_dir in $PATH 7994do 7995 IFS=$as_save_IFS 7996 test -z "$as_dir" && as_dir=. 7997 for ac_exec_ext in '' $ac_executable_extensions; do 7998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7999 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8001 break 2 8002 fi 8003done 8004 done 8005IFS=$as_save_IFS 8006 8007fi 8008fi 8009OTOOL=$ac_cv_prog_OTOOL 8010if test -n "$OTOOL"; then 8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8012$as_echo "$OTOOL" >&6; } 8013else 8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8015$as_echo "no" >&6; } 8016fi 8017 8018 8019fi 8020if test -z "$ac_cv_prog_OTOOL"; then 8021 ac_ct_OTOOL=$OTOOL 8022 # Extract the first word of "otool", so it can be a program name with args. 8023set dummy otool; ac_word=$2 8024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8025$as_echo_n "checking for $ac_word... " >&6; } 8026if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8027 $as_echo_n "(cached) " >&6 8028else 8029 if test -n "$ac_ct_OTOOL"; then 8030 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8031else 8032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8033for as_dir in $PATH 8034do 8035 IFS=$as_save_IFS 8036 test -z "$as_dir" && as_dir=. 8037 for ac_exec_ext in '' $ac_executable_extensions; do 8038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8039 ac_cv_prog_ac_ct_OTOOL="otool" 8040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8041 break 2 8042 fi 8043done 8044 done 8045IFS=$as_save_IFS 8046 8047fi 8048fi 8049ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8050if test -n "$ac_ct_OTOOL"; then 8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8052$as_echo "$ac_ct_OTOOL" >&6; } 8053else 8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8055$as_echo "no" >&6; } 8056fi 8057 8058 if test "x$ac_ct_OTOOL" = x; then 8059 OTOOL=":" 8060 else 8061 case $cross_compiling:$ac_tool_warned in 8062yes:) 8063{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8064$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8065ac_tool_warned=yes ;; 8066esac 8067 OTOOL=$ac_ct_OTOOL 8068 fi 8069else 8070 OTOOL="$ac_cv_prog_OTOOL" 8071fi 8072 8073 if test -n "$ac_tool_prefix"; then 8074 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8075set dummy ${ac_tool_prefix}otool64; ac_word=$2 8076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8077$as_echo_n "checking for $ac_word... " >&6; } 8078if ${ac_cv_prog_OTOOL64+:} false; then : 8079 $as_echo_n "(cached) " >&6 8080else 8081 if test -n "$OTOOL64"; then 8082 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8083else 8084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8085for as_dir in $PATH 8086do 8087 IFS=$as_save_IFS 8088 test -z "$as_dir" && as_dir=. 8089 for ac_exec_ext in '' $ac_executable_extensions; do 8090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8091 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8093 break 2 8094 fi 8095done 8096 done 8097IFS=$as_save_IFS 8098 8099fi 8100fi 8101OTOOL64=$ac_cv_prog_OTOOL64 8102if test -n "$OTOOL64"; then 8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8104$as_echo "$OTOOL64" >&6; } 8105else 8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8107$as_echo "no" >&6; } 8108fi 8109 8110 8111fi 8112if test -z "$ac_cv_prog_OTOOL64"; then 8113 ac_ct_OTOOL64=$OTOOL64 8114 # Extract the first word of "otool64", so it can be a program name with args. 8115set dummy otool64; ac_word=$2 8116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8117$as_echo_n "checking for $ac_word... " >&6; } 8118if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8119 $as_echo_n "(cached) " >&6 8120else 8121 if test -n "$ac_ct_OTOOL64"; then 8122 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8123else 8124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8125for as_dir in $PATH 8126do 8127 IFS=$as_save_IFS 8128 test -z "$as_dir" && as_dir=. 8129 for ac_exec_ext in '' $ac_executable_extensions; do 8130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8131 ac_cv_prog_ac_ct_OTOOL64="otool64" 8132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8133 break 2 8134 fi 8135done 8136 done 8137IFS=$as_save_IFS 8138 8139fi 8140fi 8141ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8142if test -n "$ac_ct_OTOOL64"; then 8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8144$as_echo "$ac_ct_OTOOL64" >&6; } 8145else 8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8147$as_echo "no" >&6; } 8148fi 8149 8150 if test "x$ac_ct_OTOOL64" = x; then 8151 OTOOL64=":" 8152 else 8153 case $cross_compiling:$ac_tool_warned in 8154yes:) 8155{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8156$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8157ac_tool_warned=yes ;; 8158esac 8159 OTOOL64=$ac_ct_OTOOL64 8160 fi 8161else 8162 OTOOL64="$ac_cv_prog_OTOOL64" 8163fi 8164 8165 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8192$as_echo_n "checking for -single_module linker flag... " >&6; } 8193if ${lt_cv_apple_cc_single_mod+:} false; then : 8194 $as_echo_n "(cached) " >&6 8195else 8196 lt_cv_apple_cc_single_mod=no 8197 if test -z "$LT_MULTI_MODULE"; then 8198 # By default we will add the -single_module flag. You can override 8199 # by either setting the environment variable LT_MULTI_MODULE 8200 # non-empty at configure time, or by adding -multi_module to the 8201 # link flags. 8202 rm -rf libconftest.dylib* 8203 echo "int foo(void){return 1;}" > conftest.c 8204 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8205-dynamiclib -Wl,-single_module conftest.c" >&5 8206 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8207 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8208 _lt_result=$? 8209 # If there is a non-empty error log, and "single_module" 8210 # appears in it, assume the flag caused a linker warning 8211 if test -s conftest.err && $GREP single_module conftest.err; then 8212 cat conftest.err >&5 8213 # Otherwise, if the output was created with a 0 exit code from 8214 # the compiler, it worked. 8215 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8216 lt_cv_apple_cc_single_mod=yes 8217 else 8218 cat conftest.err >&5 8219 fi 8220 rm -rf libconftest.dylib* 8221 rm -f conftest.* 8222 fi 8223fi 8224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8225$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8226 8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8228$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8229if ${lt_cv_ld_exported_symbols_list+:} false; then : 8230 $as_echo_n "(cached) " >&6 8231else 8232 lt_cv_ld_exported_symbols_list=no 8233 save_LDFLAGS=$LDFLAGS 8234 echo "_main" > conftest.sym 8235 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8237/* end confdefs.h. */ 8238 8239int 8240main () 8241{ 8242 8243 ; 8244 return 0; 8245} 8246_ACEOF 8247if ac_fn_c_try_link "$LINENO"; then : 8248 lt_cv_ld_exported_symbols_list=yes 8249else 8250 lt_cv_ld_exported_symbols_list=no 8251fi 8252rm -f core conftest.err conftest.$ac_objext \ 8253 conftest$ac_exeext conftest.$ac_ext 8254 LDFLAGS=$save_LDFLAGS 8255 8256fi 8257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8258$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8259 8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8261$as_echo_n "checking for -force_load linker flag... " >&6; } 8262if ${lt_cv_ld_force_load+:} false; then : 8263 $as_echo_n "(cached) " >&6 8264else 8265 lt_cv_ld_force_load=no 8266 cat > conftest.c << _LT_EOF 8267int forced_loaded() { return 2;} 8268_LT_EOF 8269 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8270 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8271 echo "$AR cru libconftest.a conftest.o" >&5 8272 $AR cru libconftest.a conftest.o 2>&5 8273 echo "$RANLIB libconftest.a" >&5 8274 $RANLIB libconftest.a 2>&5 8275 cat > conftest.c << _LT_EOF 8276int main() { return 0;} 8277_LT_EOF 8278 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8279 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8280 _lt_result=$? 8281 if test -s conftest.err && $GREP force_load conftest.err; then 8282 cat conftest.err >&5 8283 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8284 lt_cv_ld_force_load=yes 8285 else 8286 cat conftest.err >&5 8287 fi 8288 rm -f conftest.err libconftest.a conftest conftest.c 8289 rm -rf conftest.dSYM 8290 8291fi 8292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8293$as_echo "$lt_cv_ld_force_load" >&6; } 8294 case $host_os in 8295 rhapsody* | darwin1.[012]) 8296 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8297 darwin1.*) 8298 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8299 darwin*) # darwin 5.x on 8300 # if running on 10.5 or later, the deployment target defaults 8301 # to the OS version, if on x86, and 10.4, the deployment 8302 # target defaults to 10.4. Don't you love it? 8303 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8304 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8305 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8306 10.[012][,.]*) 8307 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8308 10.*) 8309 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8310 esac 8311 ;; 8312 esac 8313 if test yes = "$lt_cv_apple_cc_single_mod"; then 8314 _lt_dar_single_mod='$single_module' 8315 fi 8316 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8317 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8318 else 8319 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8320 fi 8321 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8322 _lt_dsymutil='~$DSYMUTIL $lib || :' 8323 else 8324 _lt_dsymutil= 8325 fi 8326 ;; 8327 esac 8328 8329# func_munge_path_list VARIABLE PATH 8330# ----------------------------------- 8331# VARIABLE is name of variable containing _space_ separated list of 8332# directories to be munged by the contents of PATH, which is string 8333# having a format: 8334# "DIR[:DIR]:" 8335# string "DIR[ DIR]" will be prepended to VARIABLE 8336# ":DIR[:DIR]" 8337# string "DIR[ DIR]" will be appended to VARIABLE 8338# "DIRP[:DIRP]::[DIRA:]DIRA" 8339# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8340# "DIRA[ DIRA]" will be appended to VARIABLE 8341# "DIR[:DIR]" 8342# VARIABLE will be replaced by "DIR[ DIR]" 8343func_munge_path_list () 8344{ 8345 case x$2 in 8346 x) 8347 ;; 8348 *:) 8349 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8350 ;; 8351 x:*) 8352 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8353 ;; 8354 *::*) 8355 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8356 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8357 ;; 8358 *) 8359 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8360 ;; 8361 esac 8362} 8363 8364ac_ext=c 8365ac_cpp='$CPP $CPPFLAGS' 8366ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8367ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8368ac_compiler_gnu=$ac_cv_c_compiler_gnu 8369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8370$as_echo_n "checking how to run the C preprocessor... " >&6; } 8371# On Suns, sometimes $CPP names a directory. 8372if test -n "$CPP" && test -d "$CPP"; then 8373 CPP= 8374fi 8375if test -z "$CPP"; then 8376 if ${ac_cv_prog_CPP+:} false; then : 8377 $as_echo_n "(cached) " >&6 8378else 8379 # Double quotes because CPP needs to be expanded 8380 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 8381 do 8382 ac_preproc_ok=false 8383for ac_c_preproc_warn_flag in '' yes 8384do 8385 # Use a header file that comes with gcc, so configuring glibc 8386 # with a fresh cross-compiler works. 8387 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8388 # <limits.h> exists even on freestanding compilers. 8389 # On the NeXT, cc -E runs the code through the compiler's parser, 8390 # not just through cpp. "Syntax error" is here to catch this case. 8391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8392/* end confdefs.h. */ 8393#ifdef __STDC__ 8394# include <limits.h> 8395#else 8396# include <assert.h> 8397#endif 8398 Syntax error 8399_ACEOF 8400if ac_fn_c_try_cpp "$LINENO"; then : 8401 8402else 8403 # Broken: fails on valid input. 8404continue 8405fi 8406rm -f conftest.err conftest.i conftest.$ac_ext 8407 8408 # OK, works on sane cases. Now check whether nonexistent headers 8409 # can be detected and how. 8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8411/* end confdefs.h. */ 8412#include <ac_nonexistent.h> 8413_ACEOF 8414if ac_fn_c_try_cpp "$LINENO"; then : 8415 # Broken: success on invalid input. 8416continue 8417else 8418 # Passes both tests. 8419ac_preproc_ok=: 8420break 8421fi 8422rm -f conftest.err conftest.i conftest.$ac_ext 8423 8424done 8425# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8426rm -f conftest.i conftest.err conftest.$ac_ext 8427if $ac_preproc_ok; then : 8428 break 8429fi 8430 8431 done 8432 ac_cv_prog_CPP=$CPP 8433 8434fi 8435 CPP=$ac_cv_prog_CPP 8436else 8437 ac_cv_prog_CPP=$CPP 8438fi 8439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8440$as_echo "$CPP" >&6; } 8441ac_preproc_ok=false 8442for ac_c_preproc_warn_flag in '' yes 8443do 8444 # Use a header file that comes with gcc, so configuring glibc 8445 # with a fresh cross-compiler works. 8446 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8447 # <limits.h> exists even on freestanding compilers. 8448 # On the NeXT, cc -E runs the code through the compiler's parser, 8449 # not just through cpp. "Syntax error" is here to catch this case. 8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8451/* end confdefs.h. */ 8452#ifdef __STDC__ 8453# include <limits.h> 8454#else 8455# include <assert.h> 8456#endif 8457 Syntax error 8458_ACEOF 8459if ac_fn_c_try_cpp "$LINENO"; then : 8460 8461else 8462 # Broken: fails on valid input. 8463continue 8464fi 8465rm -f conftest.err conftest.i conftest.$ac_ext 8466 8467 # OK, works on sane cases. Now check whether nonexistent headers 8468 # can be detected and how. 8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8470/* end confdefs.h. */ 8471#include <ac_nonexistent.h> 8472_ACEOF 8473if ac_fn_c_try_cpp "$LINENO"; then : 8474 # Broken: success on invalid input. 8475continue 8476else 8477 # Passes both tests. 8478ac_preproc_ok=: 8479break 8480fi 8481rm -f conftest.err conftest.i conftest.$ac_ext 8482 8483done 8484# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8485rm -f conftest.i conftest.err conftest.$ac_ext 8486if $ac_preproc_ok; then : 8487 8488else 8489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8490$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8491as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8492See \`config.log' for more details" "$LINENO" 5; } 8493fi 8494 8495ac_ext=c 8496ac_cpp='$CPP $CPPFLAGS' 8497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8499ac_compiler_gnu=$ac_cv_c_compiler_gnu 8500 8501 8502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8503$as_echo_n "checking for ANSI C header files... " >&6; } 8504if ${ac_cv_header_stdc+:} false; then : 8505 $as_echo_n "(cached) " >&6 8506else 8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8508/* end confdefs.h. */ 8509#include <stdlib.h> 8510#include <stdarg.h> 8511#include <string.h> 8512#include <float.h> 8513 8514int 8515main () 8516{ 8517 8518 ; 8519 return 0; 8520} 8521_ACEOF 8522if ac_fn_c_try_compile "$LINENO"; then : 8523 ac_cv_header_stdc=yes 8524else 8525 ac_cv_header_stdc=no 8526fi 8527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8528 8529if test $ac_cv_header_stdc = yes; then 8530 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8532/* end confdefs.h. */ 8533#include <string.h> 8534 8535_ACEOF 8536if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8537 $EGREP "memchr" >/dev/null 2>&1; then : 8538 8539else 8540 ac_cv_header_stdc=no 8541fi 8542rm -f conftest* 8543 8544fi 8545 8546if test $ac_cv_header_stdc = yes; then 8547 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8549/* end confdefs.h. */ 8550#include <stdlib.h> 8551 8552_ACEOF 8553if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8554 $EGREP "free" >/dev/null 2>&1; then : 8555 8556else 8557 ac_cv_header_stdc=no 8558fi 8559rm -f conftest* 8560 8561fi 8562 8563if test $ac_cv_header_stdc = yes; then 8564 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8565 if test "$cross_compiling" = yes; then : 8566 : 8567else 8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8569/* end confdefs.h. */ 8570#include <ctype.h> 8571#include <stdlib.h> 8572#if ((' ' & 0x0FF) == 0x020) 8573# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8574# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8575#else 8576# define ISLOWER(c) \ 8577 (('a' <= (c) && (c) <= 'i') \ 8578 || ('j' <= (c) && (c) <= 'r') \ 8579 || ('s' <= (c) && (c) <= 'z')) 8580# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8581#endif 8582 8583#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8584int 8585main () 8586{ 8587 int i; 8588 for (i = 0; i < 256; i++) 8589 if (XOR (islower (i), ISLOWER (i)) 8590 || toupper (i) != TOUPPER (i)) 8591 return 2; 8592 return 0; 8593} 8594_ACEOF 8595if ac_fn_c_try_run "$LINENO"; then : 8596 8597else 8598 ac_cv_header_stdc=no 8599fi 8600rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8601 conftest.$ac_objext conftest.beam conftest.$ac_ext 8602fi 8603 8604fi 8605fi 8606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8607$as_echo "$ac_cv_header_stdc" >&6; } 8608if test $ac_cv_header_stdc = yes; then 8609 8610$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8611 8612fi 8613 8614# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8615for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8616 inttypes.h stdint.h unistd.h 8617do : 8618 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8619ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8620" 8621if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8622 cat >>confdefs.h <<_ACEOF 8623#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8624_ACEOF 8625 8626fi 8627 8628done 8629 8630 8631for ac_header in dlfcn.h 8632do : 8633 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8634" 8635if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8636 cat >>confdefs.h <<_ACEOF 8637#define HAVE_DLFCN_H 1 8638_ACEOF 8639 8640fi 8641 8642done 8643 8644 8645if test "`cd $srcdir && pwd`" != "`pwd`"; then 8646 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 8647 # is not polluted with repeated "-I." 8648 am__isrc=' -I$(srcdir)' 8649 # test to see if srcdir already configured 8650 if test -f $srcdir/config.status; then 8651 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 8652 fi 8653fi 8654 8655# test whether we have cygpath 8656if test -z "$CYGPATH_W"; then 8657 if (cygpath --version) >/dev/null 2>/dev/null; then 8658 CYGPATH_W='cygpath -w' 8659 else 8660 CYGPATH_W=echo 8661 fi 8662fi 8663 8664 8665# Define the identity of the package. 8666 PACKAGE='web2c' 8667 VERSION='2015' 8668 8669 8670cat >>confdefs.h <<_ACEOF 8671#define PACKAGE "$PACKAGE" 8672_ACEOF 8673 8674 8675cat >>confdefs.h <<_ACEOF 8676#define VERSION "$VERSION" 8677_ACEOF 8678 8679# Some tools Automake needs. 8680 8681ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 8682 8683 8684AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 8685 8686 8687AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 8688 8689 8690AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 8691 8692 8693MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 8694 8695# For better backward compatibility. To be removed once Automake 1.9.x 8696# dies out for good. For more background, see: 8697# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 8698# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 8699mkdir_p='$(MKDIR_P)' 8700 8701# We need awk for the "check" target (and possibly the TAP driver). The 8702# system "awk" is bad on some platforms. 8703# Always define AMTAR for backward compatibility. Yes, it's still used 8704# in the wild :-( We should find a proper way to deprecate it ... 8705AMTAR='$${TAR-tar}' 8706 8707 8708# We'll loop over all known methods to create a tar archive until one works. 8709_am_tools='gnutar pax cpio none' 8710 8711am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 8712 8713 8714 8715 8716 8717 8718# POSIX will say in a future version that running "rm -f" with no argument 8719# is OK; and we want to be able to make that assumption in our Makefile 8720# recipes. So use an aggressive probe to check that the usage we want is 8721# actually supported "in the wild" to an acceptable degree. 8722# See automake bug#10828. 8723# To make any issue more visible, cause the running configure to be aborted 8724# by default if the 'rm' program in use doesn't match our expectations; the 8725# user can still override this though. 8726if rm -f && rm -fr && rm -rf; then : OK; else 8727 cat >&2 <<'END' 8728Oops! 8729 8730Your 'rm' program seems unable to run without file operands specified 8731on the command line, even when the '-f' option is present. This is contrary 8732to the behaviour of most rm programs out there, and not conforming with 8733the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 8734 8735Please tell bug-automake@gnu.org about your system, including the value 8736of your $PATH and any error possibly output before this message. This 8737can help us improve future automake versions. 8738 8739END 8740 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 8741 echo 'Configuration will proceed anyway, since you have set the' >&2 8742 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 8743 echo >&2 8744 else 8745 cat >&2 <<'END' 8746Aborting the configuration process, to ensure you take notice of the issue. 8747 8748You can download and install GNU coreutils to get an 'rm' implementation 8749that behaves properly: <http://www.gnu.org/software/coreutils/>. 8750 8751If you want to complete the configuration process using your problematic 8752'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 8753to "yes", and re-run configure. 8754 8755END 8756 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 8757 fi 8758fi 8759 8760 8761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 8762$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 8763 # Check whether --enable-maintainer-mode was given. 8764if test "${enable_maintainer_mode+set}" = set; then : 8765 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 8766else 8767 USE_MAINTAINER_MODE=no 8768fi 8769 8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 8771$as_echo "$USE_MAINTAINER_MODE" >&6; } 8772 if test $USE_MAINTAINER_MODE = yes; then 8773 MAINTAINER_MODE_TRUE= 8774 MAINTAINER_MODE_FALSE='#' 8775else 8776 MAINTAINER_MODE_TRUE='#' 8777 MAINTAINER_MODE_FALSE= 8778fi 8779 8780 MAINT=$MAINTAINER_MODE_TRUE 8781 8782 8783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 8784$as_echo_n "checking whether the compiler accepts prototypes... " >&6; } 8785if ${kb_cv_c_prototypes+:} false; then : 8786 $as_echo_n "(cached) " >&6 8787else 8788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8789/* end confdefs.h. */ 8790#include <stdarg.h> 8791int 8792main () 8793{ 8794extern void foo(int i,...); 8795 ; 8796 return 0; 8797} 8798_ACEOF 8799if ac_fn_c_try_link "$LINENO"; then : 8800 kb_cv_c_prototypes=yes 8801else 8802 kb_cv_c_prototypes=no 8803fi 8804rm -f core conftest.err conftest.$ac_objext \ 8805 conftest$ac_exeext conftest.$ac_ext 8806fi 8807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5 8808$as_echo "$kb_cv_c_prototypes" >&6; } 8809if test "x$kb_cv_c_prototypes" = xno; then 8810 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 8811fi 8812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 8813$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } 8814if ${kpse_cv_warning_cflags+:} false; then : 8815 $as_echo_n "(cached) " >&6 8816else 8817 if test "x$GCC" = xyes; then 8818 kpse_cv_warning_cflags= 8819if test "x$enable_compiler_warnings" != xno; then 8820 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type" 8821 case `$CC -dumpversion` in #( 8822 3.4.* | 4.*) : 8823 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #( 8824 *) : 8825 ;; 8826esac 8827 case `$CC -dumpversion` in #( 8828 3.[234].* | 4.*) : 8829 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #( 8830 *) : 8831 ;; 8832esac 8833 if test "x$enable_compiler_warnings" != xmin; then 8834 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags" 8835 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations" 8836 if test "x$enable_compiler_warnings" != xyes; then 8837 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" 8838 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings" 8839 case `$CC -dumpversion` in #( 8840 3.4.* | 4.*) : 8841 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #( 8842 *) : 8843 ;; 8844esac 8845 if test "x$enable_compiler_warnings" != xmax; then 8846 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow" 8847 fi 8848 fi 8849 fi 8850fi 8851elif test "x$enable_compiler_warnings" = xno; then 8852 kpse_cv_warning_cflags= 8853else 8854 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers 8855fi 8856fi 8857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5 8858$as_echo "$kpse_cv_warning_cflags" >&6; } 8859WARNING_CFLAGS=$kpse_cv_warning_cflags 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872# Set options 8873enable_win32_dll=yes 8874 8875case $host in 8876*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 8877 if test -n "$ac_tool_prefix"; then 8878 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 8879set dummy ${ac_tool_prefix}as; ac_word=$2 8880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8881$as_echo_n "checking for $ac_word... " >&6; } 8882if ${ac_cv_prog_AS+:} false; then : 8883 $as_echo_n "(cached) " >&6 8884else 8885 if test -n "$AS"; then 8886 ac_cv_prog_AS="$AS" # Let the user override the test. 8887else 8888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8889for as_dir in $PATH 8890do 8891 IFS=$as_save_IFS 8892 test -z "$as_dir" && as_dir=. 8893 for ac_exec_ext in '' $ac_executable_extensions; do 8894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8895 ac_cv_prog_AS="${ac_tool_prefix}as" 8896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8897 break 2 8898 fi 8899done 8900 done 8901IFS=$as_save_IFS 8902 8903fi 8904fi 8905AS=$ac_cv_prog_AS 8906if test -n "$AS"; then 8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 8908$as_echo "$AS" >&6; } 8909else 8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8911$as_echo "no" >&6; } 8912fi 8913 8914 8915fi 8916if test -z "$ac_cv_prog_AS"; then 8917 ac_ct_AS=$AS 8918 # Extract the first word of "as", so it can be a program name with args. 8919set dummy as; ac_word=$2 8920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8921$as_echo_n "checking for $ac_word... " >&6; } 8922if ${ac_cv_prog_ac_ct_AS+:} false; then : 8923 $as_echo_n "(cached) " >&6 8924else 8925 if test -n "$ac_ct_AS"; then 8926 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 8927else 8928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8929for as_dir in $PATH 8930do 8931 IFS=$as_save_IFS 8932 test -z "$as_dir" && as_dir=. 8933 for ac_exec_ext in '' $ac_executable_extensions; do 8934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8935 ac_cv_prog_ac_ct_AS="as" 8936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8937 break 2 8938 fi 8939done 8940 done 8941IFS=$as_save_IFS 8942 8943fi 8944fi 8945ac_ct_AS=$ac_cv_prog_ac_ct_AS 8946if test -n "$ac_ct_AS"; then 8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 8948$as_echo "$ac_ct_AS" >&6; } 8949else 8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8951$as_echo "no" >&6; } 8952fi 8953 8954 if test "x$ac_ct_AS" = x; then 8955 AS="false" 8956 else 8957 case $cross_compiling:$ac_tool_warned in 8958yes:) 8959{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8960$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8961ac_tool_warned=yes ;; 8962esac 8963 AS=$ac_ct_AS 8964 fi 8965else 8966 AS="$ac_cv_prog_AS" 8967fi 8968 8969 if test -n "$ac_tool_prefix"; then 8970 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8971set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8973$as_echo_n "checking for $ac_word... " >&6; } 8974if ${ac_cv_prog_DLLTOOL+:} false; then : 8975 $as_echo_n "(cached) " >&6 8976else 8977 if test -n "$DLLTOOL"; then 8978 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8979else 8980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8981for as_dir in $PATH 8982do 8983 IFS=$as_save_IFS 8984 test -z "$as_dir" && as_dir=. 8985 for ac_exec_ext in '' $ac_executable_extensions; do 8986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8987 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8989 break 2 8990 fi 8991done 8992 done 8993IFS=$as_save_IFS 8994 8995fi 8996fi 8997DLLTOOL=$ac_cv_prog_DLLTOOL 8998if test -n "$DLLTOOL"; then 8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 9000$as_echo "$DLLTOOL" >&6; } 9001else 9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9003$as_echo "no" >&6; } 9004fi 9005 9006 9007fi 9008if test -z "$ac_cv_prog_DLLTOOL"; then 9009 ac_ct_DLLTOOL=$DLLTOOL 9010 # Extract the first word of "dlltool", so it can be a program name with args. 9011set dummy dlltool; ac_word=$2 9012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9013$as_echo_n "checking for $ac_word... " >&6; } 9014if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 9015 $as_echo_n "(cached) " >&6 9016else 9017 if test -n "$ac_ct_DLLTOOL"; then 9018 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 9019else 9020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9021for as_dir in $PATH 9022do 9023 IFS=$as_save_IFS 9024 test -z "$as_dir" && as_dir=. 9025 for ac_exec_ext in '' $ac_executable_extensions; do 9026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9027 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 9028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9029 break 2 9030 fi 9031done 9032 done 9033IFS=$as_save_IFS 9034 9035fi 9036fi 9037ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 9038if test -n "$ac_ct_DLLTOOL"; then 9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 9040$as_echo "$ac_ct_DLLTOOL" >&6; } 9041else 9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9043$as_echo "no" >&6; } 9044fi 9045 9046 if test "x$ac_ct_DLLTOOL" = x; then 9047 DLLTOOL="false" 9048 else 9049 case $cross_compiling:$ac_tool_warned in 9050yes:) 9051{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9052$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9053ac_tool_warned=yes ;; 9054esac 9055 DLLTOOL=$ac_ct_DLLTOOL 9056 fi 9057else 9058 DLLTOOL="$ac_cv_prog_DLLTOOL" 9059fi 9060 9061 if test -n "$ac_tool_prefix"; then 9062 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 9063set dummy ${ac_tool_prefix}objdump; ac_word=$2 9064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9065$as_echo_n "checking for $ac_word... " >&6; } 9066if ${ac_cv_prog_OBJDUMP+:} false; then : 9067 $as_echo_n "(cached) " >&6 9068else 9069 if test -n "$OBJDUMP"; then 9070 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 9071else 9072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9073for as_dir in $PATH 9074do 9075 IFS=$as_save_IFS 9076 test -z "$as_dir" && as_dir=. 9077 for ac_exec_ext in '' $ac_executable_extensions; do 9078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9079 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 9080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9081 break 2 9082 fi 9083done 9084 done 9085IFS=$as_save_IFS 9086 9087fi 9088fi 9089OBJDUMP=$ac_cv_prog_OBJDUMP 9090if test -n "$OBJDUMP"; then 9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 9092$as_echo "$OBJDUMP" >&6; } 9093else 9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9095$as_echo "no" >&6; } 9096fi 9097 9098 9099fi 9100if test -z "$ac_cv_prog_OBJDUMP"; then 9101 ac_ct_OBJDUMP=$OBJDUMP 9102 # Extract the first word of "objdump", so it can be a program name with args. 9103set dummy objdump; ac_word=$2 9104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9105$as_echo_n "checking for $ac_word... " >&6; } 9106if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 9107 $as_echo_n "(cached) " >&6 9108else 9109 if test -n "$ac_ct_OBJDUMP"; then 9110 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 9111else 9112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9113for as_dir in $PATH 9114do 9115 IFS=$as_save_IFS 9116 test -z "$as_dir" && as_dir=. 9117 for ac_exec_ext in '' $ac_executable_extensions; do 9118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9119 ac_cv_prog_ac_ct_OBJDUMP="objdump" 9120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9121 break 2 9122 fi 9123done 9124 done 9125IFS=$as_save_IFS 9126 9127fi 9128fi 9129ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 9130if test -n "$ac_ct_OBJDUMP"; then 9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 9132$as_echo "$ac_ct_OBJDUMP" >&6; } 9133else 9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9135$as_echo "no" >&6; } 9136fi 9137 9138 if test "x$ac_ct_OBJDUMP" = x; then 9139 OBJDUMP="false" 9140 else 9141 case $cross_compiling:$ac_tool_warned in 9142yes:) 9143{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9144$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9145ac_tool_warned=yes ;; 9146esac 9147 OBJDUMP=$ac_ct_OBJDUMP 9148 fi 9149else 9150 OBJDUMP="$ac_cv_prog_OBJDUMP" 9151fi 9152 9153 ;; 9154esac 9155 9156test -z "$AS" && AS=as 9157 9158 9159 9160 9161 9162test -z "$DLLTOOL" && DLLTOOL=dlltool 9163 9164 9165 9166 9167 9168test -z "$OBJDUMP" && OBJDUMP=objdump 9169 9170 9171 9172 9173 9174 9175 9176 enable_dlopen=no 9177 9178 9179 9180 # Check whether --enable-shared was given. 9181if test "${enable_shared+set}" = set; then : 9182 enableval=$enable_shared; p=${PACKAGE-default} 9183 case $enableval in 9184 yes) enable_shared=yes ;; 9185 no) enable_shared=no ;; 9186 *) 9187 enable_shared=no 9188 # Look at the argument we got. We use all the common list separators. 9189 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9190 for pkg in $enableval; do 9191 IFS=$lt_save_ifs 9192 if test "X$pkg" = "X$p"; then 9193 enable_shared=yes 9194 fi 9195 done 9196 IFS=$lt_save_ifs 9197 ;; 9198 esac 9199else 9200 enable_shared=yes 9201fi 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 # Check whether --enable-static was given. 9212if test "${enable_static+set}" = set; then : 9213 enableval=$enable_static; p=${PACKAGE-default} 9214 case $enableval in 9215 yes) enable_static=yes ;; 9216 no) enable_static=no ;; 9217 *) 9218 enable_static=no 9219 # Look at the argument we got. We use all the common list separators. 9220 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9221 for pkg in $enableval; do 9222 IFS=$lt_save_ifs 9223 if test "X$pkg" = "X$p"; then 9224 enable_static=yes 9225 fi 9226 done 9227 IFS=$lt_save_ifs 9228 ;; 9229 esac 9230else 9231 enable_static=yes 9232fi 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243# Check whether --with-pic was given. 9244if test "${with_pic+set}" = set; then : 9245 withval=$with_pic; lt_p=${PACKAGE-default} 9246 case $withval in 9247 yes|no) pic_mode=$withval ;; 9248 *) 9249 pic_mode=default 9250 # Look at the argument we got. We use all the common list separators. 9251 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9252 for lt_pkg in $withval; do 9253 IFS=$lt_save_ifs 9254 if test "X$lt_pkg" = "X$lt_p"; then 9255 pic_mode=yes 9256 fi 9257 done 9258 IFS=$lt_save_ifs 9259 ;; 9260 esac 9261else 9262 pic_mode=default 9263fi 9264 9265 9266 9267 9268 9269 9270 9271 9272 # Check whether --enable-fast-install was given. 9273if test "${enable_fast_install+set}" = set; then : 9274 enableval=$enable_fast_install; p=${PACKAGE-default} 9275 case $enableval in 9276 yes) enable_fast_install=yes ;; 9277 no) enable_fast_install=no ;; 9278 *) 9279 enable_fast_install=no 9280 # Look at the argument we got. We use all the common list separators. 9281 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9282 for pkg in $enableval; do 9283 IFS=$lt_save_ifs 9284 if test "X$pkg" = "X$p"; then 9285 enable_fast_install=yes 9286 fi 9287 done 9288 IFS=$lt_save_ifs 9289 ;; 9290 esac 9291else 9292 enable_fast_install=yes 9293fi 9294 9295 9296 9297 9298 9299 9300 9301 9302 shared_archive_member_spec= 9303case $host,$enable_shared in 9304power*-*-aix[5-9]*,yes) 9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9306$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9307 9308# Check whether --with-aix-soname was given. 9309if test "${with_aix_soname+set}" = set; then : 9310 withval=$with_aix_soname; case $withval in 9311 aix|svr4|both) 9312 ;; 9313 *) 9314 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9315 ;; 9316 esac 9317 lt_cv_with_aix_soname=$with_aix_soname 9318else 9319 if ${lt_cv_with_aix_soname+:} false; then : 9320 $as_echo_n "(cached) " >&6 9321else 9322 lt_cv_with_aix_soname=aix 9323fi 9324 9325 with_aix_soname=$lt_cv_with_aix_soname 9326fi 9327 9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9329$as_echo "$with_aix_soname" >&6; } 9330 if test aix != "$with_aix_soname"; then 9331 # For the AIX way of multilib, we name the shared archive member 9332 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9333 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9334 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9335 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9336 if test 64 = "${OBJECT_MODE-32}"; then 9337 shared_archive_member_spec=shr_64 9338 else 9339 shared_archive_member_spec=shr 9340 fi 9341 fi 9342 ;; 9343*) 9344 with_aix_soname=aix 9345 ;; 9346esac 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357# This can be used to rebuild libtool when needed 9358LIBTOOL_DEPS=$ltmain 9359 9360# Always use our own libtool. 9361LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9362 9363 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 9392test -z "$LN_S" && LN_S="ln -s" 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407if test -n "${ZSH_VERSION+set}"; then 9408 setopt NO_GLOB_SUBST 9409fi 9410 9411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9412$as_echo_n "checking for objdir... " >&6; } 9413if ${lt_cv_objdir+:} false; then : 9414 $as_echo_n "(cached) " >&6 9415else 9416 rm -f .libs 2>/dev/null 9417mkdir .libs 2>/dev/null 9418if test -d .libs; then 9419 lt_cv_objdir=.libs 9420else 9421 # MS-DOS does not allow filenames that begin with a dot. 9422 lt_cv_objdir=_libs 9423fi 9424rmdir .libs 2>/dev/null 9425fi 9426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9427$as_echo "$lt_cv_objdir" >&6; } 9428objdir=$lt_cv_objdir 9429 9430 9431 9432 9433 9434cat >>confdefs.h <<_ACEOF 9435#define LT_OBJDIR "$lt_cv_objdir/" 9436_ACEOF 9437 9438 9439 9440 9441case $host_os in 9442aix3*) 9443 # AIX sometimes has problems with the GCC collect2 program. For some 9444 # reason, if we set the COLLECT_NAMES environment variable, the problems 9445 # vanish in a puff of smoke. 9446 if test set != "${COLLECT_NAMES+set}"; then 9447 COLLECT_NAMES= 9448 export COLLECT_NAMES 9449 fi 9450 ;; 9451esac 9452 9453# Global variables: 9454ofile=libtool 9455can_build_shared=yes 9456 9457# All known linkers require a '.a' archive for static linking (except MSVC, 9458# which needs '.lib'). 9459libext=a 9460 9461with_gnu_ld=$lt_cv_prog_gnu_ld 9462 9463old_CC=$CC 9464old_CFLAGS=$CFLAGS 9465 9466# Set sane defaults for various variables 9467test -z "$CC" && CC=cc 9468test -z "$LTCC" && LTCC=$CC 9469test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9470test -z "$LD" && LD=ld 9471test -z "$ac_objext" && ac_objext=o 9472 9473func_cc_basename $compiler 9474cc_basename=$func_cc_basename_result 9475 9476 9477# Only perform the check for file, if the check method requires it 9478test -z "$MAGIC_CMD" && MAGIC_CMD=file 9479case $deplibs_check_method in 9480file_magic*) 9481 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9483$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9484if ${lt_cv_path_MAGIC_CMD+:} false; then : 9485 $as_echo_n "(cached) " >&6 9486else 9487 case $MAGIC_CMD in 9488[\\/*] | ?:[\\/]*) 9489 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9490 ;; 9491*) 9492 lt_save_MAGIC_CMD=$MAGIC_CMD 9493 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9494 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9495 for ac_dir in $ac_dummy; do 9496 IFS=$lt_save_ifs 9497 test -z "$ac_dir" && ac_dir=. 9498 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9499 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9500 if test -n "$file_magic_test_file"; then 9501 case $deplibs_check_method in 9502 "file_magic "*) 9503 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9504 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9505 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9506 $EGREP "$file_magic_regex" > /dev/null; then 9507 : 9508 else 9509 cat <<_LT_EOF 1>&2 9510 9511*** Warning: the command libtool uses to detect shared libraries, 9512*** $file_magic_cmd, produces output that libtool cannot recognize. 9513*** The result is that libtool may fail to recognize shared libraries 9514*** as such. This will affect the creation of libtool libraries that 9515*** depend on shared libraries, but programs linked with such libtool 9516*** libraries will work regardless of this problem. Nevertheless, you 9517*** may want to report the problem to your system manager and/or to 9518*** bug-libtool@gnu.org 9519 9520_LT_EOF 9521 fi ;; 9522 esac 9523 fi 9524 break 9525 fi 9526 done 9527 IFS=$lt_save_ifs 9528 MAGIC_CMD=$lt_save_MAGIC_CMD 9529 ;; 9530esac 9531fi 9532 9533MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9534if test -n "$MAGIC_CMD"; then 9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9536$as_echo "$MAGIC_CMD" >&6; } 9537else 9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9539$as_echo "no" >&6; } 9540fi 9541 9542 9543 9544 9545 9546if test -z "$lt_cv_path_MAGIC_CMD"; then 9547 if test -n "$ac_tool_prefix"; then 9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9549$as_echo_n "checking for file... " >&6; } 9550if ${lt_cv_path_MAGIC_CMD+:} false; then : 9551 $as_echo_n "(cached) " >&6 9552else 9553 case $MAGIC_CMD in 9554[\\/*] | ?:[\\/]*) 9555 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9556 ;; 9557*) 9558 lt_save_MAGIC_CMD=$MAGIC_CMD 9559 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9560 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9561 for ac_dir in $ac_dummy; do 9562 IFS=$lt_save_ifs 9563 test -z "$ac_dir" && ac_dir=. 9564 if test -f "$ac_dir/file"; then 9565 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9566 if test -n "$file_magic_test_file"; then 9567 case $deplibs_check_method in 9568 "file_magic "*) 9569 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9570 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9571 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9572 $EGREP "$file_magic_regex" > /dev/null; then 9573 : 9574 else 9575 cat <<_LT_EOF 1>&2 9576 9577*** Warning: the command libtool uses to detect shared libraries, 9578*** $file_magic_cmd, produces output that libtool cannot recognize. 9579*** The result is that libtool may fail to recognize shared libraries 9580*** as such. This will affect the creation of libtool libraries that 9581*** depend on shared libraries, but programs linked with such libtool 9582*** libraries will work regardless of this problem. Nevertheless, you 9583*** may want to report the problem to your system manager and/or to 9584*** bug-libtool@gnu.org 9585 9586_LT_EOF 9587 fi ;; 9588 esac 9589 fi 9590 break 9591 fi 9592 done 9593 IFS=$lt_save_ifs 9594 MAGIC_CMD=$lt_save_MAGIC_CMD 9595 ;; 9596esac 9597fi 9598 9599MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9600if test -n "$MAGIC_CMD"; then 9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9602$as_echo "$MAGIC_CMD" >&6; } 9603else 9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9605$as_echo "no" >&6; } 9606fi 9607 9608 9609 else 9610 MAGIC_CMD=: 9611 fi 9612fi 9613 9614 fi 9615 ;; 9616esac 9617 9618# Use C for the default configuration in the libtool script 9619 9620lt_save_CC=$CC 9621ac_ext=c 9622ac_cpp='$CPP $CPPFLAGS' 9623ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9624ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9625ac_compiler_gnu=$ac_cv_c_compiler_gnu 9626 9627 9628# Source file extension for C test sources. 9629ac_ext=c 9630 9631# Object file extension for compiled C test sources. 9632objext=o 9633objext=$objext 9634 9635# Code to be used in simple compile tests 9636lt_simple_compile_test_code="int some_variable = 0;" 9637 9638# Code to be used in simple link tests 9639lt_simple_link_test_code='int main(){return(0);}' 9640 9641 9642 9643 9644 9645 9646 9647# If no C compiler was specified, use CC. 9648LTCC=${LTCC-"$CC"} 9649 9650# If no C compiler flags were specified, use CFLAGS. 9651LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9652 9653# Allow CC to be a program name with arguments. 9654compiler=$CC 9655 9656# Save the default compiler, since it gets overwritten when the other 9657# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9658compiler_DEFAULT=$CC 9659 9660# save warnings/boilerplate of simple test code 9661ac_outfile=conftest.$ac_objext 9662echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9663eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9664_lt_compiler_boilerplate=`cat conftest.err` 9665$RM conftest* 9666 9667ac_outfile=conftest.$ac_objext 9668echo "$lt_simple_link_test_code" >conftest.$ac_ext 9669eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9670_lt_linker_boilerplate=`cat conftest.err` 9671$RM -r conftest* 9672 9673 9674## CAVEAT EMPTOR: 9675## There is no encapsulation within the following macros, do not change 9676## the running order or otherwise move them around unless you know exactly 9677## what you are doing... 9678if test -n "$compiler"; then 9679 9680lt_prog_compiler_no_builtin_flag= 9681 9682if test yes = "$GCC"; then 9683 case $cc_basename in 9684 nvcc*) 9685 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9686 *) 9687 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9688 esac 9689 9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9691$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9692if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9693 $as_echo_n "(cached) " >&6 9694else 9695 lt_cv_prog_compiler_rtti_exceptions=no 9696 ac_outfile=conftest.$ac_objext 9697 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9698 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9699 # Insert the option either (1) after the last *FLAGS variable, or 9700 # (2) before a word containing "conftest.", or (3) at the end. 9701 # Note that $ac_compile itself does not contain backslashes and begins 9702 # with a dollar sign (not a hyphen), so the echo should work correctly. 9703 # The option is referenced via a variable to avoid confusing sed. 9704 lt_compile=`echo "$ac_compile" | $SED \ 9705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9707 -e 's:$: $lt_compiler_flag:'` 9708 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9709 (eval "$lt_compile" 2>conftest.err) 9710 ac_status=$? 9711 cat conftest.err >&5 9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9713 if (exit $ac_status) && test -s "$ac_outfile"; then 9714 # The compiler can only warn and ignore the option if not recognized 9715 # So say no if there are warnings other than the usual output. 9716 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9717 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9718 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9719 lt_cv_prog_compiler_rtti_exceptions=yes 9720 fi 9721 fi 9722 $RM conftest* 9723 9724fi 9725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9726$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9727 9728if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9729 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9730else 9731 : 9732fi 9733 9734fi 9735 9736 9737 9738 9739 9740 9741 lt_prog_compiler_wl= 9742lt_prog_compiler_pic= 9743lt_prog_compiler_static= 9744 9745 9746 if test yes = "$GCC"; then 9747 lt_prog_compiler_wl='-Wl,' 9748 lt_prog_compiler_static='-static' 9749 9750 case $host_os in 9751 aix*) 9752 # All AIX code is PIC. 9753 if test ia64 = "$host_cpu"; then 9754 # AIX 5 now supports IA64 processor 9755 lt_prog_compiler_static='-Bstatic' 9756 fi 9757 lt_prog_compiler_pic='-fPIC' 9758 ;; 9759 9760 amigaos*) 9761 case $host_cpu in 9762 powerpc) 9763 # see comment about AmigaOS4 .so support 9764 lt_prog_compiler_pic='-fPIC' 9765 ;; 9766 m68k) 9767 # FIXME: we need at least 68020 code to build shared libraries, but 9768 # adding the '-m68020' flag to GCC prevents building anything better, 9769 # like '-m68040'. 9770 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9771 ;; 9772 esac 9773 ;; 9774 9775 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9776 # PIC is the default for these OSes. 9777 ;; 9778 9779 mingw* | cygwin* | pw32* | os2* | cegcc*) 9780 # This hack is so that the source file can tell whether it is being 9781 # built for inclusion in a dll (and should export symbols for example). 9782 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9783 # (--disable-auto-import) libraries 9784 lt_prog_compiler_pic='-DDLL_EXPORT' 9785 case $host_os in 9786 os2*) 9787 lt_prog_compiler_static='$wl-static' 9788 ;; 9789 esac 9790 ;; 9791 9792 darwin* | rhapsody*) 9793 # PIC is the default on this platform 9794 # Common symbols not allowed in MH_DYLIB files 9795 lt_prog_compiler_pic='-fno-common' 9796 ;; 9797 9798 haiku*) 9799 # PIC is the default for Haiku. 9800 # The "-static" flag exists, but is broken. 9801 lt_prog_compiler_static= 9802 ;; 9803 9804 hpux*) 9805 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9806 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9807 # sets the default TLS model and affects inlining. 9808 case $host_cpu in 9809 hppa*64*) 9810 # +Z the default 9811 ;; 9812 *) 9813 lt_prog_compiler_pic='-fPIC' 9814 ;; 9815 esac 9816 ;; 9817 9818 interix[3-9]*) 9819 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9820 # Instead, we relocate shared libraries at runtime. 9821 ;; 9822 9823 msdosdjgpp*) 9824 # Just because we use GCC doesn't mean we suddenly get shared libraries 9825 # on systems that don't support them. 9826 lt_prog_compiler_can_build_shared=no 9827 enable_shared=no 9828 ;; 9829 9830 *nto* | *qnx*) 9831 # QNX uses GNU C++, but need to define -shared option too, otherwise 9832 # it will coredump. 9833 lt_prog_compiler_pic='-fPIC -shared' 9834 ;; 9835 9836 sysv4*MP*) 9837 if test -d /usr/nec; then 9838 lt_prog_compiler_pic=-Kconform_pic 9839 fi 9840 ;; 9841 9842 *) 9843 lt_prog_compiler_pic='-fPIC' 9844 ;; 9845 esac 9846 9847 case $cc_basename in 9848 nvcc*) # Cuda Compiler Driver 2.2 9849 lt_prog_compiler_wl='-Xlinker ' 9850 if test -n "$lt_prog_compiler_pic"; then 9851 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9852 fi 9853 ;; 9854 esac 9855 else 9856 # PORTME Check for flag to pass linker flags through the system compiler. 9857 case $host_os in 9858 aix*) 9859 lt_prog_compiler_wl='-Wl,' 9860 if test ia64 = "$host_cpu"; then 9861 # AIX 5 now supports IA64 processor 9862 lt_prog_compiler_static='-Bstatic' 9863 else 9864 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9865 fi 9866 ;; 9867 9868 darwin* | rhapsody*) 9869 # PIC is the default on this platform 9870 # Common symbols not allowed in MH_DYLIB files 9871 lt_prog_compiler_pic='-fno-common' 9872 case $cc_basename in 9873 nagfor*) 9874 # NAG Fortran compiler 9875 lt_prog_compiler_wl='-Wl,-Wl,,' 9876 lt_prog_compiler_pic='-PIC' 9877 lt_prog_compiler_static='-Bstatic' 9878 ;; 9879 esac 9880 ;; 9881 9882 mingw* | cygwin* | pw32* | os2* | cegcc*) 9883 # This hack is so that the source file can tell whether it is being 9884 # built for inclusion in a dll (and should export symbols for example). 9885 lt_prog_compiler_pic='-DDLL_EXPORT' 9886 case $host_os in 9887 os2*) 9888 lt_prog_compiler_static='$wl-static' 9889 ;; 9890 esac 9891 ;; 9892 9893 hpux9* | hpux10* | hpux11*) 9894 lt_prog_compiler_wl='-Wl,' 9895 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9896 # not for PA HP-UX. 9897 case $host_cpu in 9898 hppa*64*|ia64*) 9899 # +Z the default 9900 ;; 9901 *) 9902 lt_prog_compiler_pic='+Z' 9903 ;; 9904 esac 9905 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9906 lt_prog_compiler_static='$wl-a ${wl}archive' 9907 ;; 9908 9909 irix5* | irix6* | nonstopux*) 9910 lt_prog_compiler_wl='-Wl,' 9911 # PIC (with -KPIC) is the default. 9912 lt_prog_compiler_static='-non_shared' 9913 ;; 9914 9915 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9916 case $cc_basename in 9917 # old Intel for x86_64, which still supported -KPIC. 9918 ecc*) 9919 lt_prog_compiler_wl='-Wl,' 9920 lt_prog_compiler_pic='-KPIC' 9921 lt_prog_compiler_static='-static' 9922 ;; 9923 # icc used to be incompatible with GCC. 9924 # ICC 10 doesn't accept -KPIC any more. 9925 icc* | ifort*) 9926 lt_prog_compiler_wl='-Wl,' 9927 lt_prog_compiler_pic='-fPIC' 9928 lt_prog_compiler_static='-static' 9929 ;; 9930 # Lahey Fortran 8.1. 9931 lf95*) 9932 lt_prog_compiler_wl='-Wl,' 9933 lt_prog_compiler_pic='--shared' 9934 lt_prog_compiler_static='--static' 9935 ;; 9936 nagfor*) 9937 # NAG Fortran compiler 9938 lt_prog_compiler_wl='-Wl,-Wl,,' 9939 lt_prog_compiler_pic='-PIC' 9940 lt_prog_compiler_static='-Bstatic' 9941 ;; 9942 tcc*) 9943 # Fabrice Bellard et al's Tiny C Compiler 9944 lt_prog_compiler_wl='-Wl,' 9945 lt_prog_compiler_pic='-fPIC' 9946 lt_prog_compiler_static='-static' 9947 ;; 9948 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9949 # Portland Group compilers (*not* the Pentium gcc compiler, 9950 # which looks to be a dead project) 9951 lt_prog_compiler_wl='-Wl,' 9952 lt_prog_compiler_pic='-fpic' 9953 lt_prog_compiler_static='-Bstatic' 9954 ;; 9955 ccc*) 9956 lt_prog_compiler_wl='-Wl,' 9957 # All Alpha code is PIC. 9958 lt_prog_compiler_static='-non_shared' 9959 ;; 9960 xl* | bgxl* | bgf* | mpixl*) 9961 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9962 lt_prog_compiler_wl='-Wl,' 9963 lt_prog_compiler_pic='-qpic' 9964 lt_prog_compiler_static='-qstaticlink' 9965 ;; 9966 *) 9967 case `$CC -V 2>&1 | sed 5q` in 9968 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9969 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9970 lt_prog_compiler_pic='-KPIC' 9971 lt_prog_compiler_static='-Bstatic' 9972 lt_prog_compiler_wl='' 9973 ;; 9974 *Sun\ F* | *Sun*Fortran*) 9975 lt_prog_compiler_pic='-KPIC' 9976 lt_prog_compiler_static='-Bstatic' 9977 lt_prog_compiler_wl='-Qoption ld ' 9978 ;; 9979 *Sun\ C*) 9980 # Sun C 5.9 9981 lt_prog_compiler_pic='-KPIC' 9982 lt_prog_compiler_static='-Bstatic' 9983 lt_prog_compiler_wl='-Wl,' 9984 ;; 9985 *Intel*\ [CF]*Compiler*) 9986 lt_prog_compiler_wl='-Wl,' 9987 lt_prog_compiler_pic='-fPIC' 9988 lt_prog_compiler_static='-static' 9989 ;; 9990 *Portland\ Group*) 9991 lt_prog_compiler_wl='-Wl,' 9992 lt_prog_compiler_pic='-fpic' 9993 lt_prog_compiler_static='-Bstatic' 9994 ;; 9995 esac 9996 ;; 9997 esac 9998 ;; 9999 10000 newsos6) 10001 lt_prog_compiler_pic='-KPIC' 10002 lt_prog_compiler_static='-Bstatic' 10003 ;; 10004 10005 *nto* | *qnx*) 10006 # QNX uses GNU C++, but need to define -shared option too, otherwise 10007 # it will coredump. 10008 lt_prog_compiler_pic='-fPIC -shared' 10009 ;; 10010 10011 osf3* | osf4* | osf5*) 10012 lt_prog_compiler_wl='-Wl,' 10013 # All OSF/1 code is PIC. 10014 lt_prog_compiler_static='-non_shared' 10015 ;; 10016 10017 rdos*) 10018 lt_prog_compiler_static='-non_shared' 10019 ;; 10020 10021 solaris*) 10022 lt_prog_compiler_pic='-KPIC' 10023 lt_prog_compiler_static='-Bstatic' 10024 case $cc_basename in 10025 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10026 lt_prog_compiler_wl='-Qoption ld ';; 10027 *) 10028 lt_prog_compiler_wl='-Wl,';; 10029 esac 10030 ;; 10031 10032 sunos4*) 10033 lt_prog_compiler_wl='-Qoption ld ' 10034 lt_prog_compiler_pic='-PIC' 10035 lt_prog_compiler_static='-Bstatic' 10036 ;; 10037 10038 sysv4 | sysv4.2uw2* | sysv4.3*) 10039 lt_prog_compiler_wl='-Wl,' 10040 lt_prog_compiler_pic='-KPIC' 10041 lt_prog_compiler_static='-Bstatic' 10042 ;; 10043 10044 sysv4*MP*) 10045 if test -d /usr/nec; then 10046 lt_prog_compiler_pic='-Kconform_pic' 10047 lt_prog_compiler_static='-Bstatic' 10048 fi 10049 ;; 10050 10051 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10052 lt_prog_compiler_wl='-Wl,' 10053 lt_prog_compiler_pic='-KPIC' 10054 lt_prog_compiler_static='-Bstatic' 10055 ;; 10056 10057 unicos*) 10058 lt_prog_compiler_wl='-Wl,' 10059 lt_prog_compiler_can_build_shared=no 10060 ;; 10061 10062 uts4*) 10063 lt_prog_compiler_pic='-pic' 10064 lt_prog_compiler_static='-Bstatic' 10065 ;; 10066 10067 *) 10068 lt_prog_compiler_can_build_shared=no 10069 ;; 10070 esac 10071 fi 10072 10073case $host_os in 10074 # For platforms that do not support PIC, -DPIC is meaningless: 10075 *djgpp*) 10076 lt_prog_compiler_pic= 10077 ;; 10078 *) 10079 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10080 ;; 10081esac 10082 10083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10084$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10085if ${lt_cv_prog_compiler_pic+:} false; then : 10086 $as_echo_n "(cached) " >&6 10087else 10088 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10089fi 10090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10091$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10092lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10093 10094# 10095# Check to make sure the PIC flag actually works. 10096# 10097if test -n "$lt_prog_compiler_pic"; then 10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10099$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10100if ${lt_cv_prog_compiler_pic_works+:} false; then : 10101 $as_echo_n "(cached) " >&6 10102else 10103 lt_cv_prog_compiler_pic_works=no 10104 ac_outfile=conftest.$ac_objext 10105 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10106 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10107 # Insert the option either (1) after the last *FLAGS variable, or 10108 # (2) before a word containing "conftest.", or (3) at the end. 10109 # Note that $ac_compile itself does not contain backslashes and begins 10110 # with a dollar sign (not a hyphen), so the echo should work correctly. 10111 # The option is referenced via a variable to avoid confusing sed. 10112 lt_compile=`echo "$ac_compile" | $SED \ 10113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10115 -e 's:$: $lt_compiler_flag:'` 10116 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10117 (eval "$lt_compile" 2>conftest.err) 10118 ac_status=$? 10119 cat conftest.err >&5 10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10121 if (exit $ac_status) && test -s "$ac_outfile"; then 10122 # The compiler can only warn and ignore the option if not recognized 10123 # So say no if there are warnings other than the usual output. 10124 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10125 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10126 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10127 lt_cv_prog_compiler_pic_works=yes 10128 fi 10129 fi 10130 $RM conftest* 10131 10132fi 10133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10134$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10135 10136if test yes = "$lt_cv_prog_compiler_pic_works"; then 10137 case $lt_prog_compiler_pic in 10138 "" | " "*) ;; 10139 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10140 esac 10141else 10142 lt_prog_compiler_pic= 10143 lt_prog_compiler_can_build_shared=no 10144fi 10145 10146fi 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158# 10159# Check to make sure the static flag actually works. 10160# 10161wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10163$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10164if ${lt_cv_prog_compiler_static_works+:} false; then : 10165 $as_echo_n "(cached) " >&6 10166else 10167 lt_cv_prog_compiler_static_works=no 10168 save_LDFLAGS=$LDFLAGS 10169 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10170 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10171 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10172 # The linker can only warn and ignore the option if not recognized 10173 # So say no if there are warnings 10174 if test -s conftest.err; then 10175 # Append any errors to the config.log. 10176 cat conftest.err 1>&5 10177 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10178 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10179 if diff conftest.exp conftest.er2 >/dev/null; then 10180 lt_cv_prog_compiler_static_works=yes 10181 fi 10182 else 10183 lt_cv_prog_compiler_static_works=yes 10184 fi 10185 fi 10186 $RM -r conftest* 10187 LDFLAGS=$save_LDFLAGS 10188 10189fi 10190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10191$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10192 10193if test yes = "$lt_cv_prog_compiler_static_works"; then 10194 : 10195else 10196 lt_prog_compiler_static= 10197fi 10198 10199 10200 10201 10202 10203 10204 10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10206$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10207if ${lt_cv_prog_compiler_c_o+:} false; then : 10208 $as_echo_n "(cached) " >&6 10209else 10210 lt_cv_prog_compiler_c_o=no 10211 $RM -r conftest 2>/dev/null 10212 mkdir conftest 10213 cd conftest 10214 mkdir out 10215 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10216 10217 lt_compiler_flag="-o out/conftest2.$ac_objext" 10218 # Insert the option either (1) after the last *FLAGS variable, or 10219 # (2) before a word containing "conftest.", or (3) at the end. 10220 # Note that $ac_compile itself does not contain backslashes and begins 10221 # with a dollar sign (not a hyphen), so the echo should work correctly. 10222 lt_compile=`echo "$ac_compile" | $SED \ 10223 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10224 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10225 -e 's:$: $lt_compiler_flag:'` 10226 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10227 (eval "$lt_compile" 2>out/conftest.err) 10228 ac_status=$? 10229 cat out/conftest.err >&5 10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10231 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10232 then 10233 # The compiler can only warn and ignore the option if not recognized 10234 # So say no if there are warnings 10235 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10236 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10237 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10238 lt_cv_prog_compiler_c_o=yes 10239 fi 10240 fi 10241 chmod u+w . 2>&5 10242 $RM conftest* 10243 # SGI C++ compiler will create directory out/ii_files/ for 10244 # template instantiation 10245 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10246 $RM out/* && rmdir out 10247 cd .. 10248 $RM -r conftest 10249 $RM conftest* 10250 10251fi 10252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10253$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10254 10255 10256 10257 10258 10259 10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10261$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10262if ${lt_cv_prog_compiler_c_o+:} false; then : 10263 $as_echo_n "(cached) " >&6 10264else 10265 lt_cv_prog_compiler_c_o=no 10266 $RM -r conftest 2>/dev/null 10267 mkdir conftest 10268 cd conftest 10269 mkdir out 10270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10271 10272 lt_compiler_flag="-o out/conftest2.$ac_objext" 10273 # Insert the option either (1) after the last *FLAGS variable, or 10274 # (2) before a word containing "conftest.", or (3) at the end. 10275 # Note that $ac_compile itself does not contain backslashes and begins 10276 # with a dollar sign (not a hyphen), so the echo should work correctly. 10277 lt_compile=`echo "$ac_compile" | $SED \ 10278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10280 -e 's:$: $lt_compiler_flag:'` 10281 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10282 (eval "$lt_compile" 2>out/conftest.err) 10283 ac_status=$? 10284 cat out/conftest.err >&5 10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10286 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10287 then 10288 # The compiler can only warn and ignore the option if not recognized 10289 # So say no if there are warnings 10290 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10291 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10292 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10293 lt_cv_prog_compiler_c_o=yes 10294 fi 10295 fi 10296 chmod u+w . 2>&5 10297 $RM conftest* 10298 # SGI C++ compiler will create directory out/ii_files/ for 10299 # template instantiation 10300 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10301 $RM out/* && rmdir out 10302 cd .. 10303 $RM -r conftest 10304 $RM conftest* 10305 10306fi 10307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10308$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10309 10310 10311 10312 10313hard_links=nottested 10314if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10315 # do not overwrite the value of need_locks provided by the user 10316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10317$as_echo_n "checking if we can lock with hard links... " >&6; } 10318 hard_links=yes 10319 $RM conftest* 10320 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10321 touch conftest.a 10322 ln conftest.a conftest.b 2>&5 || hard_links=no 10323 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10325$as_echo "$hard_links" >&6; } 10326 if test no = "$hard_links"; then 10327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10328$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10329 need_locks=warn 10330 fi 10331else 10332 need_locks=no 10333fi 10334 10335 10336 10337 10338 10339 10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10341$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10342 10343 runpath_var= 10344 allow_undefined_flag= 10345 always_export_symbols=no 10346 archive_cmds= 10347 archive_expsym_cmds= 10348 compiler_needs_object=no 10349 enable_shared_with_static_runtimes=no 10350 export_dynamic_flag_spec= 10351 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10352 hardcode_automatic=no 10353 hardcode_direct=no 10354 hardcode_direct_absolute=no 10355 hardcode_libdir_flag_spec= 10356 hardcode_libdir_separator= 10357 hardcode_minus_L=no 10358 hardcode_shlibpath_var=unsupported 10359 inherit_rpath=no 10360 link_all_deplibs=unknown 10361 module_cmds= 10362 module_expsym_cmds= 10363 old_archive_from_new_cmds= 10364 old_archive_from_expsyms_cmds= 10365 thread_safe_flag_spec= 10366 whole_archive_flag_spec= 10367 # include_expsyms should be a list of space-separated symbols to be *always* 10368 # included in the symbol list 10369 include_expsyms= 10370 # exclude_expsyms can be an extended regexp of symbols to exclude 10371 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10372 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10373 # as well as any symbol that contains 'd'. 10374 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10375 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10376 # platforms (ab)use it in PIC code, but their linkers get confused if 10377 # the symbol is explicitly referenced. Since portable code cannot 10378 # rely on this symbol name, it's probably fine to never include it in 10379 # preloaded symbol tables. 10380 # Exclude shared library initialization/finalization symbols. 10381 extract_expsyms_cmds= 10382 10383 case $host_os in 10384 cygwin* | mingw* | pw32* | cegcc*) 10385 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10386 # When not using gcc, we currently assume that we are using 10387 # Microsoft Visual C++. 10388 if test yes != "$GCC"; then 10389 with_gnu_ld=no 10390 fi 10391 ;; 10392 interix*) 10393 # we just hope/assume this is gcc and not c89 (= MSVC++) 10394 with_gnu_ld=yes 10395 ;; 10396 openbsd* | bitrig*) 10397 with_gnu_ld=no 10398 ;; 10399 esac 10400 10401 ld_shlibs=yes 10402 10403 # On some targets, GNU ld is compatible enough with the native linker 10404 # that we're better off using the native interface for both. 10405 lt_use_gnu_ld_interface=no 10406 if test yes = "$with_gnu_ld"; then 10407 case $host_os in 10408 aix*) 10409 # The AIX port of GNU ld has always aspired to compatibility 10410 # with the native linker. However, as the warning in the GNU ld 10411 # block says, versions before 2.19.5* couldn't really create working 10412 # shared libraries, regardless of the interface used. 10413 case `$LD -v 2>&1` in 10414 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10415 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10416 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10417 *) 10418 lt_use_gnu_ld_interface=yes 10419 ;; 10420 esac 10421 ;; 10422 *) 10423 lt_use_gnu_ld_interface=yes 10424 ;; 10425 esac 10426 fi 10427 10428 if test yes = "$lt_use_gnu_ld_interface"; then 10429 # If archive_cmds runs LD, not CC, wlarc should be empty 10430 wlarc='$wl' 10431 10432 # Set some defaults for GNU ld with shared library support. These 10433 # are reset later if shared libraries are not supported. Putting them 10434 # here allows them to be overridden if necessary. 10435 runpath_var=LD_RUN_PATH 10436 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10437 export_dynamic_flag_spec='$wl--export-dynamic' 10438 # ancient GNU ld didn't support --whole-archive et. al. 10439 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10440 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10441 else 10442 whole_archive_flag_spec= 10443 fi 10444 supports_anon_versioning=no 10445 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10446 *GNU\ gold*) supports_anon_versioning=yes ;; 10447 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10448 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10449 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10450 *\ 2.11.*) ;; # other 2.11 versions 10451 *) supports_anon_versioning=yes ;; 10452 esac 10453 10454 # See if GNU ld supports shared libraries. 10455 case $host_os in 10456 aix[3-9]*) 10457 # On AIX/PPC, the GNU linker is very broken 10458 if test ia64 != "$host_cpu"; then 10459 ld_shlibs=no 10460 cat <<_LT_EOF 1>&2 10461 10462*** Warning: the GNU linker, at least up to release 2.19, is reported 10463*** to be unable to reliably create shared libraries on AIX. 10464*** Therefore, libtool is disabling shared libraries support. If you 10465*** really care for shared libraries, you may want to install binutils 10466*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10467*** You will then need to restart the configuration process. 10468 10469_LT_EOF 10470 fi 10471 ;; 10472 10473 amigaos*) 10474 case $host_cpu in 10475 powerpc) 10476 # see comment about AmigaOS4 .so support 10477 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10478 archive_expsym_cmds='' 10479 ;; 10480 m68k) 10481 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)' 10482 hardcode_libdir_flag_spec='-L$libdir' 10483 hardcode_minus_L=yes 10484 ;; 10485 esac 10486 ;; 10487 10488 beos*) 10489 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10490 allow_undefined_flag=unsupported 10491 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10492 # support --undefined. This deserves some investigation. FIXME 10493 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10494 else 10495 ld_shlibs=no 10496 fi 10497 ;; 10498 10499 cygwin* | mingw* | pw32* | cegcc*) 10500 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10501 # as there is no search path for DLLs. 10502 hardcode_libdir_flag_spec='-L$libdir' 10503 export_dynamic_flag_spec='$wl--export-all-symbols' 10504 allow_undefined_flag=unsupported 10505 always_export_symbols=no 10506 enable_shared_with_static_runtimes=yes 10507 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' 10508 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10509 10510 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10511 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10512 # If the export-symbols file already is a .def file, use it as 10513 # is; otherwise, prepend EXPORTS... 10514 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10515 cp $export_symbols $output_objdir/$soname.def; 10516 else 10517 echo EXPORTS > $output_objdir/$soname.def; 10518 cat $export_symbols >> $output_objdir/$soname.def; 10519 fi~ 10520 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10521 else 10522 ld_shlibs=no 10523 fi 10524 ;; 10525 10526 haiku*) 10527 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10528 link_all_deplibs=yes 10529 ;; 10530 10531 os2*) 10532 hardcode_libdir_flag_spec='-L$libdir' 10533 hardcode_minus_L=yes 10534 allow_undefined_flag=unsupported 10535 shrext_cmds=.dll 10536 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10537 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10538 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10539 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10540 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10541 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10542 emximp -o $lib $output_objdir/$libname.def' 10543 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10544 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10545 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10546 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10547 prefix_cmds="$SED"~ 10548 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10549 prefix_cmds="$prefix_cmds -e 1d"; 10550 fi~ 10551 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10552 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10553 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10554 emximp -o $lib $output_objdir/$libname.def' 10555 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10556 enable_shared_with_static_runtimes=yes 10557 ;; 10558 10559 interix[3-9]*) 10560 hardcode_direct=no 10561 hardcode_shlibpath_var=no 10562 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10563 export_dynamic_flag_spec='$wl-E' 10564 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10565 # Instead, shared libraries are loaded at an image base (0x10000000 by 10566 # default) and relocated if they conflict, which is a slow very memory 10567 # consuming and fragmenting process. To avoid this, we pick a random, 10568 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10569 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10570 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10571 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' 10572 ;; 10573 10574 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10575 tmp_diet=no 10576 if test linux-dietlibc = "$host_os"; then 10577 case $cc_basename in 10578 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10579 esac 10580 fi 10581 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10582 && test no = "$tmp_diet" 10583 then 10584 tmp_addflag=' $pic_flag' 10585 tmp_sharedflag='-shared' 10586 case $cc_basename,$host_cpu in 10587 pgcc*) # Portland Group C compiler 10588 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' 10589 tmp_addflag=' $pic_flag' 10590 ;; 10591 pgf77* | pgf90* | pgf95* | pgfortran*) 10592 # Portland Group f77 and f90 compilers 10593 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' 10594 tmp_addflag=' $pic_flag -Mnomain' ;; 10595 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10596 tmp_addflag=' -i_dynamic' ;; 10597 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10598 tmp_addflag=' -i_dynamic -nofor_main' ;; 10599 ifc* | ifort*) # Intel Fortran compiler 10600 tmp_addflag=' -nofor_main' ;; 10601 lf95*) # Lahey Fortran 8.1 10602 whole_archive_flag_spec= 10603 tmp_sharedflag='--shared' ;; 10604 nagfor*) # NAGFOR 5.3 10605 tmp_sharedflag='-Wl,-shared' ;; 10606 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10607 tmp_sharedflag='-qmkshrobj' 10608 tmp_addflag= ;; 10609 nvcc*) # Cuda Compiler Driver 2.2 10610 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' 10611 compiler_needs_object=yes 10612 ;; 10613 esac 10614 case `$CC -V 2>&1 | sed 5q` in 10615 *Sun\ C*) # Sun C 5.9 10616 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' 10617 compiler_needs_object=yes 10618 tmp_sharedflag='-G' ;; 10619 *Sun\ F*) # Sun Fortran 8.3 10620 tmp_sharedflag='-G' ;; 10621 esac 10622 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10623 10624 if test yes = "$supports_anon_versioning"; then 10625 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10626 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10627 echo "local: *; };" >> $output_objdir/$libname.ver~ 10628 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10629 fi 10630 10631 case $cc_basename in 10632 tcc*) 10633 export_dynamic_flag_spec='-rdynamic' 10634 ;; 10635 xlf* | bgf* | bgxlf* | mpixlf*) 10636 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10637 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10638 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10639 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10640 if test yes = "$supports_anon_versioning"; then 10641 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10642 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10643 echo "local: *; };" >> $output_objdir/$libname.ver~ 10644 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10645 fi 10646 ;; 10647 esac 10648 else 10649 ld_shlibs=no 10650 fi 10651 ;; 10652 10653 netbsd*) 10654 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10655 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10656 wlarc= 10657 else 10658 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10659 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10660 fi 10661 ;; 10662 10663 solaris*) 10664 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10665 ld_shlibs=no 10666 cat <<_LT_EOF 1>&2 10667 10668*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10669*** create shared libraries on Solaris systems. Therefore, libtool 10670*** is disabling shared libraries support. We urge you to upgrade GNU 10671*** binutils to release 2.9.1 or newer. Another option is to modify 10672*** your PATH or compiler configuration so that the native linker is 10673*** used, and then restart. 10674 10675_LT_EOF 10676 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10677 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10678 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10679 else 10680 ld_shlibs=no 10681 fi 10682 ;; 10683 10684 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10685 case `$LD -v 2>&1` in 10686 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10687 ld_shlibs=no 10688 cat <<_LT_EOF 1>&2 10689 10690*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10691*** reliably create shared libraries on SCO systems. Therefore, libtool 10692*** is disabling shared libraries support. We urge you to upgrade GNU 10693*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10694*** your PATH or compiler configuration so that the native linker is 10695*** used, and then restart. 10696 10697_LT_EOF 10698 ;; 10699 *) 10700 # For security reasons, it is highly recommended that you always 10701 # use absolute paths for naming shared libraries, and exclude the 10702 # DT_RUNPATH tag from executables and libraries. But doing so 10703 # requires that you compile everything twice, which is a pain. 10704 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10705 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10706 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10707 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10708 else 10709 ld_shlibs=no 10710 fi 10711 ;; 10712 esac 10713 ;; 10714 10715 sunos4*) 10716 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10717 wlarc= 10718 hardcode_direct=yes 10719 hardcode_shlibpath_var=no 10720 ;; 10721 10722 *) 10723 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10724 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10725 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10726 else 10727 ld_shlibs=no 10728 fi 10729 ;; 10730 esac 10731 10732 if test no = "$ld_shlibs"; then 10733 runpath_var= 10734 hardcode_libdir_flag_spec= 10735 export_dynamic_flag_spec= 10736 whole_archive_flag_spec= 10737 fi 10738 else 10739 # PORTME fill in a description of your system's linker (not GNU ld) 10740 case $host_os in 10741 aix3*) 10742 allow_undefined_flag=unsupported 10743 always_export_symbols=yes 10744 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' 10745 # Note: this linker hardcodes the directories in LIBPATH if there 10746 # are no directories specified by -L. 10747 hardcode_minus_L=yes 10748 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10749 # Neither direct hardcoding nor static linking is supported with a 10750 # broken collect2. 10751 hardcode_direct=unsupported 10752 fi 10753 ;; 10754 10755 aix[4-9]*) 10756 if test ia64 = "$host_cpu"; then 10757 # On IA64, the linker does run time linking by default, so we don't 10758 # have to do anything special. 10759 aix_use_runtimelinking=no 10760 exp_sym_flag='-Bexport' 10761 no_entry_flag= 10762 else 10763 # If we're using GNU nm, then we don't want the "-C" option. 10764 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10765 # Without the "-l" option, or with the "-B" option, AIX nm treats 10766 # weak defined symbols like other global defined symbols, whereas 10767 # GNU nm marks them as "W". 10768 # While the 'weak' keyword is ignored in the Export File, we need 10769 # it in the Import File for the 'aix-soname' feature, so we have 10770 # to replace the "-B" option with "-P" for AIX nm. 10771 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10772 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' 10773 else 10774 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' 10775 fi 10776 aix_use_runtimelinking=no 10777 10778 # Test if we are trying to use run time linking or normal 10779 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10780 # have runtime linking enabled, and use it for executables. 10781 # For shared libraries, we enable/disable runtime linking 10782 # depending on the kind of the shared library created - 10783 # when "with_aix_soname,aix_use_runtimelinking" is: 10784 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10785 # "aix,yes" lib.so shared, rtl:yes, for executables 10786 # lib.a static archive 10787 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10788 # lib.a(lib.so.V) shared, rtl:no, for executables 10789 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10790 # lib.a(lib.so.V) shared, rtl:no 10791 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10792 # lib.a static archive 10793 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10794 for ld_flag in $LDFLAGS; do 10795 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10796 aix_use_runtimelinking=yes 10797 break 10798 fi 10799 done 10800 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10801 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10802 # so we don't have lib.a shared libs to link our executables. 10803 # We have to force runtime linking in this case. 10804 aix_use_runtimelinking=yes 10805 LDFLAGS="$LDFLAGS -Wl,-brtl" 10806 fi 10807 ;; 10808 esac 10809 10810 exp_sym_flag='-bexport' 10811 no_entry_flag='-bnoentry' 10812 fi 10813 10814 # When large executables or shared objects are built, AIX ld can 10815 # have problems creating the table of contents. If linking a library 10816 # or program results in "error TOC overflow" add -mminimal-toc to 10817 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10818 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10819 10820 archive_cmds='' 10821 hardcode_direct=yes 10822 hardcode_direct_absolute=yes 10823 hardcode_libdir_separator=':' 10824 link_all_deplibs=yes 10825 file_list_spec='$wl-f,' 10826 case $with_aix_soname,$aix_use_runtimelinking in 10827 aix,*) ;; # traditional, no import file 10828 svr4,* | *,yes) # use import file 10829 # The Import File defines what to hardcode. 10830 hardcode_direct=no 10831 hardcode_direct_absolute=no 10832 ;; 10833 esac 10834 10835 if test yes = "$GCC"; then 10836 case $host_os in aix4.[012]|aix4.[012].*) 10837 # We only want to do this on AIX 4.2 and lower, the check 10838 # below for broken collect2 doesn't work under 4.3+ 10839 collect2name=`$CC -print-prog-name=collect2` 10840 if test -f "$collect2name" && 10841 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10842 then 10843 # We have reworked collect2 10844 : 10845 else 10846 # We have old collect2 10847 hardcode_direct=unsupported 10848 # It fails to find uninstalled libraries when the uninstalled 10849 # path is not listed in the libpath. Setting hardcode_minus_L 10850 # to unsupported forces relinking 10851 hardcode_minus_L=yes 10852 hardcode_libdir_flag_spec='-L$libdir' 10853 hardcode_libdir_separator= 10854 fi 10855 ;; 10856 esac 10857 shared_flag='-shared' 10858 if test yes = "$aix_use_runtimelinking"; then 10859 shared_flag="$shared_flag "'$wl-G' 10860 fi 10861 # Need to ensure runtime linking is disabled for the traditional 10862 # shared library, or the linker may eventually find shared libraries 10863 # /with/ Import File - we do not want to mix them. 10864 shared_flag_aix='-shared' 10865 shared_flag_svr4='-shared $wl-G' 10866 else 10867 # not using gcc 10868 if test ia64 = "$host_cpu"; then 10869 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10870 # chokes on -Wl,-G. The following line is correct: 10871 shared_flag='-G' 10872 else 10873 if test yes = "$aix_use_runtimelinking"; then 10874 shared_flag='$wl-G' 10875 else 10876 shared_flag='$wl-bM:SRE' 10877 fi 10878 shared_flag_aix='$wl-bM:SRE' 10879 shared_flag_svr4='$wl-G' 10880 fi 10881 fi 10882 10883 export_dynamic_flag_spec='$wl-bexpall' 10884 # It seems that -bexpall does not export symbols beginning with 10885 # underscore (_), so it is better to generate a list of symbols to export. 10886 always_export_symbols=yes 10887 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10888 # Warning - without using the other runtime loading flags (-brtl), 10889 # -berok will link without error, but may produce a broken library. 10890 allow_undefined_flag='-berok' 10891 # Determine the default libpath from the value encoded in an 10892 # empty executable. 10893 if test set = "${lt_cv_aix_libpath+set}"; then 10894 aix_libpath=$lt_cv_aix_libpath 10895else 10896 if ${lt_cv_aix_libpath_+:} false; then : 10897 $as_echo_n "(cached) " >&6 10898else 10899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10900/* end confdefs.h. */ 10901 10902int 10903main () 10904{ 10905 10906 ; 10907 return 0; 10908} 10909_ACEOF 10910if ac_fn_c_try_link "$LINENO"; then : 10911 10912 lt_aix_libpath_sed=' 10913 /Import File Strings/,/^$/ { 10914 /^0/ { 10915 s/^0 *\([^ ]*\) *$/\1/ 10916 p 10917 } 10918 }' 10919 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10920 # Check for a 64-bit object if we didn't find anything. 10921 if test -z "$lt_cv_aix_libpath_"; then 10922 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10923 fi 10924fi 10925rm -f core conftest.err conftest.$ac_objext \ 10926 conftest$ac_exeext conftest.$ac_ext 10927 if test -z "$lt_cv_aix_libpath_"; then 10928 lt_cv_aix_libpath_=/usr/lib:/lib 10929 fi 10930 10931fi 10932 10933 aix_libpath=$lt_cv_aix_libpath_ 10934fi 10935 10936 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10937 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 10938 else 10939 if test ia64 = "$host_cpu"; then 10940 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10941 allow_undefined_flag="-z nodefs" 10942 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" 10943 else 10944 # Determine the default libpath from the value encoded in an 10945 # empty executable. 10946 if test set = "${lt_cv_aix_libpath+set}"; then 10947 aix_libpath=$lt_cv_aix_libpath 10948else 10949 if ${lt_cv_aix_libpath_+:} false; then : 10950 $as_echo_n "(cached) " >&6 10951else 10952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10953/* end confdefs.h. */ 10954 10955int 10956main () 10957{ 10958 10959 ; 10960 return 0; 10961} 10962_ACEOF 10963if ac_fn_c_try_link "$LINENO"; then : 10964 10965 lt_aix_libpath_sed=' 10966 /Import File Strings/,/^$/ { 10967 /^0/ { 10968 s/^0 *\([^ ]*\) *$/\1/ 10969 p 10970 } 10971 }' 10972 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10973 # Check for a 64-bit object if we didn't find anything. 10974 if test -z "$lt_cv_aix_libpath_"; then 10975 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10976 fi 10977fi 10978rm -f core conftest.err conftest.$ac_objext \ 10979 conftest$ac_exeext conftest.$ac_ext 10980 if test -z "$lt_cv_aix_libpath_"; then 10981 lt_cv_aix_libpath_=/usr/lib:/lib 10982 fi 10983 10984fi 10985 10986 aix_libpath=$lt_cv_aix_libpath_ 10987fi 10988 10989 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10990 # Warning - without using the other run time loading flags, 10991 # -berok will link without error, but may produce a broken library. 10992 no_undefined_flag=' $wl-bernotok' 10993 allow_undefined_flag=' $wl-berok' 10994 if test yes = "$with_gnu_ld"; then 10995 # We only use this code for GNU lds that support --whole-archive. 10996 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10997 else 10998 # Exported symbols can be pulled into shared objects from archives 10999 whole_archive_flag_spec='$convenience' 11000 fi 11001 archive_cmds_need_lc=yes 11002 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11003 # -brtl affects multiple linker settings, -berok does not and is overridden later 11004 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11005 if test svr4 != "$with_aix_soname"; then 11006 # This is similar to how AIX traditionally builds its shared libraries. 11007 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' 11008 fi 11009 if test aix != "$with_aix_soname"; then 11010 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' 11011 else 11012 # used by -dlpreopen to get the symbols 11013 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11014 fi 11015 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11016 fi 11017 fi 11018 ;; 11019 11020 amigaos*) 11021 case $host_cpu in 11022 powerpc) 11023 # see comment about AmigaOS4 .so support 11024 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11025 archive_expsym_cmds='' 11026 ;; 11027 m68k) 11028 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)' 11029 hardcode_libdir_flag_spec='-L$libdir' 11030 hardcode_minus_L=yes 11031 ;; 11032 esac 11033 ;; 11034 11035 bsdi[45]*) 11036 export_dynamic_flag_spec=-rdynamic 11037 ;; 11038 11039 cygwin* | mingw* | pw32* | cegcc*) 11040 # When not using gcc, we currently assume that we are using 11041 # Microsoft Visual C++. 11042 # hardcode_libdir_flag_spec is actually meaningless, as there is 11043 # no search path for DLLs. 11044 case $cc_basename in 11045 cl*) 11046 # Native MSVC 11047 hardcode_libdir_flag_spec=' ' 11048 allow_undefined_flag=unsupported 11049 always_export_symbols=yes 11050 file_list_spec='@' 11051 # Tell ltmain to make .lib files, not .a files. 11052 libext=lib 11053 # Tell ltmain to make .dll files, not .so files. 11054 shrext_cmds=.dll 11055 # FIXME: Setting linknames here is a bad hack. 11056 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11057 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11058 cp "$export_symbols" "$output_objdir/$soname.def"; 11059 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11060 else 11061 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11062 fi~ 11063 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11064 linknames=' 11065 # The linker will not automatically build a static lib if we build a DLL. 11066 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11067 enable_shared_with_static_runtimes=yes 11068 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11069 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11070 # Don't use ranlib 11071 old_postinstall_cmds='chmod 644 $oldlib' 11072 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11073 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11074 case $lt_outputfile in 11075 *.exe|*.EXE) ;; 11076 *) 11077 lt_outputfile=$lt_outputfile.exe 11078 lt_tool_outputfile=$lt_tool_outputfile.exe 11079 ;; 11080 esac~ 11081 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11082 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11083 $RM "$lt_outputfile.manifest"; 11084 fi' 11085 ;; 11086 *) 11087 # Assume MSVC wrapper 11088 hardcode_libdir_flag_spec=' ' 11089 allow_undefined_flag=unsupported 11090 # Tell ltmain to make .lib files, not .a files. 11091 libext=lib 11092 # Tell ltmain to make .dll files, not .so files. 11093 shrext_cmds=.dll 11094 # FIXME: Setting linknames here is a bad hack. 11095 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11096 # The linker will automatically build a .lib file if we build a DLL. 11097 old_archive_from_new_cmds='true' 11098 # FIXME: Should let the user specify the lib program. 11099 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11100 enable_shared_with_static_runtimes=yes 11101 ;; 11102 esac 11103 ;; 11104 11105 darwin* | rhapsody*) 11106 11107 11108 archive_cmds_need_lc=no 11109 hardcode_direct=no 11110 hardcode_automatic=yes 11111 hardcode_shlibpath_var=unsupported 11112 if test yes = "$lt_cv_ld_force_load"; then 11113 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\"`' 11114 11115 else 11116 whole_archive_flag_spec='' 11117 fi 11118 link_all_deplibs=yes 11119 allow_undefined_flag=$_lt_dar_allow_undefined 11120 case $cc_basename in 11121 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11122 *) _lt_dar_can_shared=$GCC ;; 11123 esac 11124 if test yes = "$_lt_dar_can_shared"; then 11125 output_verbose_link_cmd=func_echo_all 11126 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11127 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11128 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" 11129 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" 11130 11131 else 11132 ld_shlibs=no 11133 fi 11134 11135 ;; 11136 11137 dgux*) 11138 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11139 hardcode_libdir_flag_spec='-L$libdir' 11140 hardcode_shlibpath_var=no 11141 ;; 11142 11143 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11144 # support. Future versions do this automatically, but an explicit c++rt0.o 11145 # does not break anything, and helps significantly (at the cost of a little 11146 # extra space). 11147 freebsd2.2*) 11148 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11149 hardcode_libdir_flag_spec='-R$libdir' 11150 hardcode_direct=yes 11151 hardcode_shlibpath_var=no 11152 ;; 11153 11154 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11155 freebsd2.*) 11156 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11157 hardcode_direct=yes 11158 hardcode_minus_L=yes 11159 hardcode_shlibpath_var=no 11160 ;; 11161 11162 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11163 freebsd* | dragonfly*) 11164 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11165 hardcode_libdir_flag_spec='-R$libdir' 11166 hardcode_direct=yes 11167 hardcode_shlibpath_var=no 11168 ;; 11169 11170 hpux9*) 11171 if test yes = "$GCC"; then 11172 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' 11173 else 11174 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' 11175 fi 11176 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11177 hardcode_libdir_separator=: 11178 hardcode_direct=yes 11179 11180 # hardcode_minus_L: Not really in the search PATH, 11181 # but as the default location of the library. 11182 hardcode_minus_L=yes 11183 export_dynamic_flag_spec='$wl-E' 11184 ;; 11185 11186 hpux10*) 11187 if test yes,no = "$GCC,$with_gnu_ld"; then 11188 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11189 else 11190 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11191 fi 11192 if test no = "$with_gnu_ld"; then 11193 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11194 hardcode_libdir_separator=: 11195 hardcode_direct=yes 11196 hardcode_direct_absolute=yes 11197 export_dynamic_flag_spec='$wl-E' 11198 # hardcode_minus_L: Not really in the search PATH, 11199 # but as the default location of the library. 11200 hardcode_minus_L=yes 11201 fi 11202 ;; 11203 11204 hpux11*) 11205 if test yes,no = "$GCC,$with_gnu_ld"; then 11206 case $host_cpu in 11207 hppa*64*) 11208 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11209 ;; 11210 ia64*) 11211 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11212 ;; 11213 *) 11214 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11215 ;; 11216 esac 11217 else 11218 case $host_cpu in 11219 hppa*64*) 11220 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11221 ;; 11222 ia64*) 11223 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11224 ;; 11225 *) 11226 11227 # Older versions of the 11.00 compiler do not understand -b yet 11228 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11230$as_echo_n "checking if $CC understands -b... " >&6; } 11231if ${lt_cv_prog_compiler__b+:} false; then : 11232 $as_echo_n "(cached) " >&6 11233else 11234 lt_cv_prog_compiler__b=no 11235 save_LDFLAGS=$LDFLAGS 11236 LDFLAGS="$LDFLAGS -b" 11237 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11238 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11239 # The linker can only warn and ignore the option if not recognized 11240 # So say no if there are warnings 11241 if test -s conftest.err; then 11242 # Append any errors to the config.log. 11243 cat conftest.err 1>&5 11244 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11245 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11246 if diff conftest.exp conftest.er2 >/dev/null; then 11247 lt_cv_prog_compiler__b=yes 11248 fi 11249 else 11250 lt_cv_prog_compiler__b=yes 11251 fi 11252 fi 11253 $RM -r conftest* 11254 LDFLAGS=$save_LDFLAGS 11255 11256fi 11257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11258$as_echo "$lt_cv_prog_compiler__b" >&6; } 11259 11260if test yes = "$lt_cv_prog_compiler__b"; then 11261 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11262else 11263 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11264fi 11265 11266 ;; 11267 esac 11268 fi 11269 if test no = "$with_gnu_ld"; then 11270 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11271 hardcode_libdir_separator=: 11272 11273 case $host_cpu in 11274 hppa*64*|ia64*) 11275 hardcode_direct=no 11276 hardcode_shlibpath_var=no 11277 ;; 11278 *) 11279 hardcode_direct=yes 11280 hardcode_direct_absolute=yes 11281 export_dynamic_flag_spec='$wl-E' 11282 11283 # hardcode_minus_L: Not really in the search PATH, 11284 # but as the default location of the library. 11285 hardcode_minus_L=yes 11286 ;; 11287 esac 11288 fi 11289 ;; 11290 11291 irix5* | irix6* | nonstopux*) 11292 if test yes = "$GCC"; then 11293 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' 11294 # Try to use the -exported_symbol ld option, if it does not 11295 # work, assume that -exports_file does not work either and 11296 # implicitly export all symbols. 11297 # This should be the same for all languages, so no per-tag cache variable. 11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11299$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11300if ${lt_cv_irix_exported_symbol+:} false; then : 11301 $as_echo_n "(cached) " >&6 11302else 11303 save_LDFLAGS=$LDFLAGS 11304 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11306/* end confdefs.h. */ 11307int foo (void) { return 0; } 11308_ACEOF 11309if ac_fn_c_try_link "$LINENO"; then : 11310 lt_cv_irix_exported_symbol=yes 11311else 11312 lt_cv_irix_exported_symbol=no 11313fi 11314rm -f core conftest.err conftest.$ac_objext \ 11315 conftest$ac_exeext conftest.$ac_ext 11316 LDFLAGS=$save_LDFLAGS 11317fi 11318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11319$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11320 if test yes = "$lt_cv_irix_exported_symbol"; then 11321 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' 11322 fi 11323 else 11324 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' 11325 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' 11326 fi 11327 archive_cmds_need_lc='no' 11328 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11329 hardcode_libdir_separator=: 11330 inherit_rpath=yes 11331 link_all_deplibs=yes 11332 ;; 11333 11334 linux*) 11335 case $cc_basename in 11336 tcc*) 11337 # Fabrice Bellard et al's Tiny C Compiler 11338 ld_shlibs=yes 11339 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11340 ;; 11341 esac 11342 ;; 11343 11344 netbsd*) 11345 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11346 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11347 else 11348 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11349 fi 11350 hardcode_libdir_flag_spec='-R$libdir' 11351 hardcode_direct=yes 11352 hardcode_shlibpath_var=no 11353 ;; 11354 11355 newsos6) 11356 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11357 hardcode_direct=yes 11358 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11359 hardcode_libdir_separator=: 11360 hardcode_shlibpath_var=no 11361 ;; 11362 11363 *nto* | *qnx*) 11364 ;; 11365 11366 openbsd* | bitrig*) 11367 if test -f /usr/libexec/ld.so; then 11368 hardcode_direct=yes 11369 hardcode_shlibpath_var=no 11370 hardcode_direct_absolute=yes 11371 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11372 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11373 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11374 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11375 export_dynamic_flag_spec='$wl-E' 11376 else 11377 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11378 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11379 fi 11380 else 11381 ld_shlibs=no 11382 fi 11383 ;; 11384 11385 os2*) 11386 hardcode_libdir_flag_spec='-L$libdir' 11387 hardcode_minus_L=yes 11388 allow_undefined_flag=unsupported 11389 shrext_cmds=.dll 11390 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11391 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11392 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11393 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11394 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11395 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11396 emximp -o $lib $output_objdir/$libname.def' 11397 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11398 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11399 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11400 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11401 prefix_cmds="$SED"~ 11402 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11403 prefix_cmds="$prefix_cmds -e 1d"; 11404 fi~ 11405 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11406 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11407 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11408 emximp -o $lib $output_objdir/$libname.def' 11409 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11410 enable_shared_with_static_runtimes=yes 11411 ;; 11412 11413 osf3*) 11414 if test yes = "$GCC"; then 11415 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11416 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' 11417 else 11418 allow_undefined_flag=' -expect_unresolved \*' 11419 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' 11420 fi 11421 archive_cmds_need_lc='no' 11422 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11423 hardcode_libdir_separator=: 11424 ;; 11425 11426 osf4* | osf5*) # as osf3* with the addition of -msym flag 11427 if test yes = "$GCC"; then 11428 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11429 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' 11430 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11431 else 11432 allow_undefined_flag=' -expect_unresolved \*' 11433 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' 11434 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~ 11435 $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' 11436 11437 # Both c and cxx compiler support -rpath directly 11438 hardcode_libdir_flag_spec='-rpath $libdir' 11439 fi 11440 archive_cmds_need_lc='no' 11441 hardcode_libdir_separator=: 11442 ;; 11443 11444 solaris*) 11445 no_undefined_flag=' -z defs' 11446 if test yes = "$GCC"; then 11447 wlarc='$wl' 11448 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11449 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11450 $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' 11451 else 11452 case `$CC -V 2>&1` in 11453 *"Compilers 5.0"*) 11454 wlarc='' 11455 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11456 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11457 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11458 ;; 11459 *) 11460 wlarc='$wl' 11461 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11462 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11463 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11464 ;; 11465 esac 11466 fi 11467 hardcode_libdir_flag_spec='-R$libdir' 11468 hardcode_shlibpath_var=no 11469 case $host_os in 11470 solaris2.[0-5] | solaris2.[0-5].*) ;; 11471 *) 11472 # The compiler driver will combine and reorder linker options, 11473 # but understands '-z linker_flag'. GCC discards it without '$wl', 11474 # but is careful enough not to reorder. 11475 # Supported since Solaris 2.6 (maybe 2.5.1?) 11476 if test yes = "$GCC"; then 11477 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11478 else 11479 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11480 fi 11481 ;; 11482 esac 11483 link_all_deplibs=yes 11484 ;; 11485 11486 sunos4*) 11487 if test sequent = "$host_vendor"; then 11488 # Use $CC to link under sequent, because it throws in some extra .o 11489 # files that make .init and .fini sections work. 11490 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11491 else 11492 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11493 fi 11494 hardcode_libdir_flag_spec='-L$libdir' 11495 hardcode_direct=yes 11496 hardcode_minus_L=yes 11497 hardcode_shlibpath_var=no 11498 ;; 11499 11500 sysv4) 11501 case $host_vendor in 11502 sni) 11503 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11504 hardcode_direct=yes # is this really true??? 11505 ;; 11506 siemens) 11507 ## LD is ld it makes a PLAMLIB 11508 ## CC just makes a GrossModule. 11509 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11510 reload_cmds='$CC -r -o $output$reload_objs' 11511 hardcode_direct=no 11512 ;; 11513 motorola) 11514 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11515 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11516 ;; 11517 esac 11518 runpath_var='LD_RUN_PATH' 11519 hardcode_shlibpath_var=no 11520 ;; 11521 11522 sysv4.3*) 11523 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11524 hardcode_shlibpath_var=no 11525 export_dynamic_flag_spec='-Bexport' 11526 ;; 11527 11528 sysv4*MP*) 11529 if test -d /usr/nec; then 11530 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11531 hardcode_shlibpath_var=no 11532 runpath_var=LD_RUN_PATH 11533 hardcode_runpath_var=yes 11534 ld_shlibs=yes 11535 fi 11536 ;; 11537 11538 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11539 no_undefined_flag='$wl-z,text' 11540 archive_cmds_need_lc=no 11541 hardcode_shlibpath_var=no 11542 runpath_var='LD_RUN_PATH' 11543 11544 if test yes = "$GCC"; then 11545 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11546 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11547 else 11548 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11549 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11550 fi 11551 ;; 11552 11553 sysv5* | sco3.2v5* | sco5v6*) 11554 # Note: We CANNOT use -z defs as we might desire, because we do not 11555 # link with -lc, and that would cause any symbols used from libc to 11556 # always be unresolved, which means just about no library would 11557 # ever link correctly. If we're not using GNU ld we use -z text 11558 # though, which does catch some bad symbols but isn't as heavy-handed 11559 # as -z defs. 11560 no_undefined_flag='$wl-z,text' 11561 allow_undefined_flag='$wl-z,nodefs' 11562 archive_cmds_need_lc=no 11563 hardcode_shlibpath_var=no 11564 hardcode_libdir_flag_spec='$wl-R,$libdir' 11565 hardcode_libdir_separator=':' 11566 link_all_deplibs=yes 11567 export_dynamic_flag_spec='$wl-Bexport' 11568 runpath_var='LD_RUN_PATH' 11569 11570 if test yes = "$GCC"; then 11571 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11572 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11573 else 11574 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11575 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11576 fi 11577 ;; 11578 11579 uts4*) 11580 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11581 hardcode_libdir_flag_spec='-L$libdir' 11582 hardcode_shlibpath_var=no 11583 ;; 11584 11585 *) 11586 ld_shlibs=no 11587 ;; 11588 esac 11589 11590 if test sni = "$host_vendor"; then 11591 case $host in 11592 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11593 export_dynamic_flag_spec='$wl-Blargedynsym' 11594 ;; 11595 esac 11596 fi 11597 fi 11598 11599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11600$as_echo "$ld_shlibs" >&6; } 11601test no = "$ld_shlibs" && can_build_shared=no 11602 11603with_gnu_ld=$with_gnu_ld 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619# 11620# Do we need to explicitly link libc? 11621# 11622case "x$archive_cmds_need_lc" in 11623x|xyes) 11624 # Assume -lc should be added 11625 archive_cmds_need_lc=yes 11626 11627 if test yes,yes = "$GCC,$enable_shared"; then 11628 case $archive_cmds in 11629 *'~'*) 11630 # FIXME: we may have to deal with multi-command sequences. 11631 ;; 11632 '$CC '*) 11633 # Test whether the compiler implicitly links with -lc since on some 11634 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11635 # to ld, don't add -lc before -lgcc. 11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11637$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11638if ${lt_cv_archive_cmds_need_lc+:} false; then : 11639 $as_echo_n "(cached) " >&6 11640else 11641 $RM conftest* 11642 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11643 11644 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11645 (eval $ac_compile) 2>&5 11646 ac_status=$? 11647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11648 test $ac_status = 0; } 2>conftest.err; then 11649 soname=conftest 11650 lib=conftest 11651 libobjs=conftest.$ac_objext 11652 deplibs= 11653 wl=$lt_prog_compiler_wl 11654 pic_flag=$lt_prog_compiler_pic 11655 compiler_flags=-v 11656 linker_flags=-v 11657 verstring= 11658 output_objdir=. 11659 libname=conftest 11660 lt_save_allow_undefined_flag=$allow_undefined_flag 11661 allow_undefined_flag= 11662 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11663 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11664 ac_status=$? 11665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11666 test $ac_status = 0; } 11667 then 11668 lt_cv_archive_cmds_need_lc=no 11669 else 11670 lt_cv_archive_cmds_need_lc=yes 11671 fi 11672 allow_undefined_flag=$lt_save_allow_undefined_flag 11673 else 11674 cat conftest.err 1>&5 11675 fi 11676 $RM conftest* 11677 11678fi 11679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11680$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11681 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11682 ;; 11683 esac 11684 fi 11685 ;; 11686esac 11687 11688 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11840$as_echo_n "checking dynamic linker characteristics... " >&6; } 11841 11842if test yes = "$GCC"; then 11843 case $host_os in 11844 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11845 *) lt_awk_arg='/^libraries:/' ;; 11846 esac 11847 case $host_os in 11848 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11849 *) lt_sed_strip_eq='s|=/|/|g' ;; 11850 esac 11851 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11852 case $lt_search_path_spec in 11853 *\;*) 11854 # if the path contains ";" then we assume it to be the separator 11855 # otherwise default to the standard path separator (i.e. ":") - it is 11856 # assumed that no part of a normal pathname contains ";" but that should 11857 # okay in the real world where ";" in dirpaths is itself problematic. 11858 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11859 ;; 11860 *) 11861 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11862 ;; 11863 esac 11864 # Ok, now we have the path, separated by spaces, we can step through it 11865 # and add multilib dir if necessary... 11866 lt_tmp_lt_search_path_spec= 11867 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11868 # ...but if some path component already ends with the multilib dir we assume 11869 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11870 case "$lt_multi_os_dir; $lt_search_path_spec " in 11871 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11872 lt_multi_os_dir= 11873 ;; 11874 esac 11875 for lt_sys_path in $lt_search_path_spec; do 11876 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11877 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11878 elif test -n "$lt_multi_os_dir"; then 11879 test -d "$lt_sys_path" && \ 11880 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11881 fi 11882 done 11883 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11884BEGIN {RS = " "; FS = "/|\n";} { 11885 lt_foo = ""; 11886 lt_count = 0; 11887 for (lt_i = NF; lt_i > 0; lt_i--) { 11888 if ($lt_i != "" && $lt_i != ".") { 11889 if ($lt_i == "..") { 11890 lt_count++; 11891 } else { 11892 if (lt_count == 0) { 11893 lt_foo = "/" $lt_i lt_foo; 11894 } else { 11895 lt_count--; 11896 } 11897 } 11898 } 11899 } 11900 if (lt_foo != "") { lt_freq[lt_foo]++; } 11901 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11902}'` 11903 # AWK program above erroneously prepends '/' to C:/dos/paths 11904 # for these hosts. 11905 case $host_os in 11906 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11907 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11908 esac 11909 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11910else 11911 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11912fi 11913library_names_spec= 11914libname_spec='lib$name' 11915soname_spec= 11916shrext_cmds=.so 11917postinstall_cmds= 11918postuninstall_cmds= 11919finish_cmds= 11920finish_eval= 11921shlibpath_var= 11922shlibpath_overrides_runpath=unknown 11923version_type=none 11924dynamic_linker="$host_os ld.so" 11925sys_lib_dlsearch_path_spec="/lib /usr/lib" 11926need_lib_prefix=unknown 11927hardcode_into_libs=no 11928 11929# when you set need_version to no, make sure it does not cause -set_version 11930# flags to be left without arguments 11931need_version=unknown 11932 11933 11934 11935case $host_os in 11936aix3*) 11937 version_type=linux # correct to gnu/linux during the next big refactor 11938 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11939 shlibpath_var=LIBPATH 11940 11941 # AIX 3 has no versioning support, so we append a major version to the name. 11942 soname_spec='$libname$release$shared_ext$major' 11943 ;; 11944 11945aix[4-9]*) 11946 version_type=linux # correct to gnu/linux during the next big refactor 11947 need_lib_prefix=no 11948 need_version=no 11949 hardcode_into_libs=yes 11950 if test ia64 = "$host_cpu"; then 11951 # AIX 5 supports IA64 11952 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11953 shlibpath_var=LD_LIBRARY_PATH 11954 else 11955 # With GCC up to 2.95.x, collect2 would create an import file 11956 # for dependence libraries. The import file would start with 11957 # the line '#! .'. This would cause the generated library to 11958 # depend on '.', always an invalid library. This was fixed in 11959 # development snapshots of GCC prior to 3.0. 11960 case $host_os in 11961 aix4 | aix4.[01] | aix4.[01].*) 11962 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11963 echo ' yes ' 11964 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11965 : 11966 else 11967 can_build_shared=no 11968 fi 11969 ;; 11970 esac 11971 # Using Import Files as archive members, it is possible to support 11972 # filename-based versioning of shared library archives on AIX. While 11973 # this would work for both with and without runtime linking, it will 11974 # prevent static linking of such archives. So we do filename-based 11975 # shared library versioning with .so extension only, which is used 11976 # when both runtime linking and shared linking is enabled. 11977 # Unfortunately, runtime linking may impact performance, so we do 11978 # not want this to be the default eventually. Also, we use the 11979 # versioned .so libs for executables only if there is the -brtl 11980 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11981 # To allow for filename-based versioning support, we need to create 11982 # libNAME.so.V as an archive file, containing: 11983 # *) an Import File, referring to the versioned filename of the 11984 # archive as well as the shared archive member, telling the 11985 # bitwidth (32 or 64) of that shared object, and providing the 11986 # list of exported symbols of that shared object, eventually 11987 # decorated with the 'weak' keyword 11988 # *) the shared object with the F_LOADONLY flag set, to really avoid 11989 # it being seen by the linker. 11990 # At run time we better use the real file rather than another symlink, 11991 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11992 11993 case $with_aix_soname,$aix_use_runtimelinking in 11994 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11995 # soname into executable. Probably we can add versioning support to 11996 # collect2, so additional links can be useful in future. 11997 aix,yes) # traditional libtool 11998 dynamic_linker='AIX unversionable lib.so' 11999 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12000 # instead of lib<name>.a to let people know that these are not 12001 # typical AIX shared libraries. 12002 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12003 ;; 12004 aix,no) # traditional AIX only 12005 dynamic_linker='AIX lib.a(lib.so.V)' 12006 # We preserve .a as extension for shared libraries through AIX4.2 12007 # and later when we are not doing run time linking. 12008 library_names_spec='$libname$release.a $libname.a' 12009 soname_spec='$libname$release$shared_ext$major' 12010 ;; 12011 svr4,*) # full svr4 only 12012 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12013 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12014 # We do not specify a path in Import Files, so LIBPATH fires. 12015 shlibpath_overrides_runpath=yes 12016 ;; 12017 *,yes) # both, prefer svr4 12018 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12019 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12020 # unpreferred sharedlib libNAME.a needs extra handling 12021 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"' 12022 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"' 12023 # We do not specify a path in Import Files, so LIBPATH fires. 12024 shlibpath_overrides_runpath=yes 12025 ;; 12026 *,no) # both, prefer aix 12027 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12028 library_names_spec='$libname$release.a $libname.a' 12029 soname_spec='$libname$release$shared_ext$major' 12030 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12031 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)' 12032 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"' 12033 ;; 12034 esac 12035 shlibpath_var=LIBPATH 12036 fi 12037 ;; 12038 12039amigaos*) 12040 case $host_cpu in 12041 powerpc) 12042 # Since July 2007 AmigaOS4 officially supports .so libraries. 12043 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12044 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12045 ;; 12046 m68k) 12047 library_names_spec='$libname.ixlibrary $libname.a' 12048 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12049 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' 12050 ;; 12051 esac 12052 ;; 12053 12054beos*) 12055 library_names_spec='$libname$shared_ext' 12056 dynamic_linker="$host_os ld.so" 12057 shlibpath_var=LIBRARY_PATH 12058 ;; 12059 12060bsdi[45]*) 12061 version_type=linux # correct to gnu/linux during the next big refactor 12062 need_version=no 12063 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12064 soname_spec='$libname$release$shared_ext$major' 12065 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12066 shlibpath_var=LD_LIBRARY_PATH 12067 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12068 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12069 # the default ld.so.conf also contains /usr/contrib/lib and 12070 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12071 # libtool to hard-code these into programs 12072 ;; 12073 12074cygwin* | mingw* | pw32* | cegcc*) 12075 version_type=windows 12076 shrext_cmds=.dll 12077 need_version=no 12078 need_lib_prefix=no 12079 12080 case $GCC,$cc_basename in 12081 yes,*) 12082 # gcc 12083 library_names_spec='$libname.dll.a' 12084 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12085 postinstall_cmds='base_file=`basename \$file`~ 12086 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12087 dldir=$destdir/`dirname \$dlpath`~ 12088 test -d \$dldir || mkdir -p \$dldir~ 12089 $install_prog $dir/$dlname \$dldir/$dlname~ 12090 chmod a+x \$dldir/$dlname~ 12091 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12092 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12093 fi' 12094 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12095 dlpath=$dir/\$dldll~ 12096 $RM \$dlpath' 12097 shlibpath_overrides_runpath=yes 12098 12099 case $host_os in 12100 cygwin*) 12101 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12102 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12103 12104 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12105 ;; 12106 mingw* | cegcc*) 12107 # MinGW DLLs use traditional 'lib' prefix 12108 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12109 ;; 12110 pw32*) 12111 # pw32 DLLs use 'pw' prefix rather than 'lib' 12112 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12113 ;; 12114 esac 12115 dynamic_linker='Win32 ld.exe' 12116 ;; 12117 12118 *,cl*) 12119 # Native MSVC 12120 libname_spec='$name' 12121 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12122 library_names_spec='$libname.dll.lib' 12123 12124 case $build_os in 12125 mingw*) 12126 sys_lib_search_path_spec= 12127 lt_save_ifs=$IFS 12128 IFS=';' 12129 for lt_path in $LIB 12130 do 12131 IFS=$lt_save_ifs 12132 # Let DOS variable expansion print the short 8.3 style file name. 12133 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12134 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12135 done 12136 IFS=$lt_save_ifs 12137 # Convert to MSYS style. 12138 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12139 ;; 12140 cygwin*) 12141 # Convert to unix form, then to dos form, then back to unix form 12142 # but this time dos style (no spaces!) so that the unix form looks 12143 # like /cygdrive/c/PROGRA~1:/cygdr... 12144 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12145 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12146 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12147 ;; 12148 *) 12149 sys_lib_search_path_spec=$LIB 12150 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12151 # It is most probably a Windows format PATH. 12152 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12153 else 12154 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12155 fi 12156 # FIXME: find the short name or the path components, as spaces are 12157 # common. (e.g. "Program Files" -> "PROGRA~1") 12158 ;; 12159 esac 12160 12161 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12162 postinstall_cmds='base_file=`basename \$file`~ 12163 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12164 dldir=$destdir/`dirname \$dlpath`~ 12165 test -d \$dldir || mkdir -p \$dldir~ 12166 $install_prog $dir/$dlname \$dldir/$dlname' 12167 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12168 dlpath=$dir/\$dldll~ 12169 $RM \$dlpath' 12170 shlibpath_overrides_runpath=yes 12171 dynamic_linker='Win32 link.exe' 12172 ;; 12173 12174 *) 12175 # Assume MSVC wrapper 12176 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12177 dynamic_linker='Win32 ld.exe' 12178 ;; 12179 esac 12180 # FIXME: first we should search . and the directory the executable is in 12181 shlibpath_var=PATH 12182 ;; 12183 12184darwin* | rhapsody*) 12185 dynamic_linker="$host_os dyld" 12186 version_type=darwin 12187 need_lib_prefix=no 12188 need_version=no 12189 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12190 soname_spec='$libname$release$major$shared_ext' 12191 shlibpath_overrides_runpath=yes 12192 shlibpath_var=DYLD_LIBRARY_PATH 12193 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12194 12195 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12196 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12197 ;; 12198 12199dgux*) 12200 version_type=linux # correct to gnu/linux during the next big refactor 12201 need_lib_prefix=no 12202 need_version=no 12203 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12204 soname_spec='$libname$release$shared_ext$major' 12205 shlibpath_var=LD_LIBRARY_PATH 12206 ;; 12207 12208freebsd* | dragonfly*) 12209 # DragonFly does not have aout. When/if they implement a new 12210 # versioning mechanism, adjust this. 12211 if test -x /usr/bin/objformat; then 12212 objformat=`/usr/bin/objformat` 12213 else 12214 case $host_os in 12215 freebsd[23].*) objformat=aout ;; 12216 *) objformat=elf ;; 12217 esac 12218 fi 12219 version_type=freebsd-$objformat 12220 case $version_type in 12221 freebsd-elf*) 12222 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12223 soname_spec='$libname$release$shared_ext$major' 12224 need_version=no 12225 need_lib_prefix=no 12226 ;; 12227 freebsd-*) 12228 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12229 need_version=yes 12230 ;; 12231 esac 12232 shlibpath_var=LD_LIBRARY_PATH 12233 case $host_os in 12234 freebsd2.*) 12235 shlibpath_overrides_runpath=yes 12236 ;; 12237 freebsd3.[01]* | freebsdelf3.[01]*) 12238 shlibpath_overrides_runpath=yes 12239 hardcode_into_libs=yes 12240 ;; 12241 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12242 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12243 shlibpath_overrides_runpath=no 12244 hardcode_into_libs=yes 12245 ;; 12246 *) # from 4.6 on, and DragonFly 12247 shlibpath_overrides_runpath=yes 12248 hardcode_into_libs=yes 12249 ;; 12250 esac 12251 ;; 12252 12253haiku*) 12254 version_type=linux # correct to gnu/linux during the next big refactor 12255 need_lib_prefix=no 12256 need_version=no 12257 dynamic_linker="$host_os runtime_loader" 12258 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12259 soname_spec='$libname$release$shared_ext$major' 12260 shlibpath_var=LIBRARY_PATH 12261 shlibpath_overrides_runpath=no 12262 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12263 hardcode_into_libs=yes 12264 ;; 12265 12266hpux9* | hpux10* | hpux11*) 12267 # Give a soname corresponding to the major version so that dld.sl refuses to 12268 # link against other versions. 12269 version_type=sunos 12270 need_lib_prefix=no 12271 need_version=no 12272 case $host_cpu in 12273 ia64*) 12274 shrext_cmds='.so' 12275 hardcode_into_libs=yes 12276 dynamic_linker="$host_os dld.so" 12277 shlibpath_var=LD_LIBRARY_PATH 12278 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12279 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12280 soname_spec='$libname$release$shared_ext$major' 12281 if test 32 = "$HPUX_IA64_MODE"; then 12282 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12283 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12284 else 12285 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12286 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12287 fi 12288 ;; 12289 hppa*64*) 12290 shrext_cmds='.sl' 12291 hardcode_into_libs=yes 12292 dynamic_linker="$host_os dld.sl" 12293 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12294 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12295 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12296 soname_spec='$libname$release$shared_ext$major' 12297 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12298 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12299 ;; 12300 *) 12301 shrext_cmds='.sl' 12302 dynamic_linker="$host_os dld.sl" 12303 shlibpath_var=SHLIB_PATH 12304 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12305 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12306 soname_spec='$libname$release$shared_ext$major' 12307 ;; 12308 esac 12309 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12310 postinstall_cmds='chmod 555 $lib' 12311 # or fails outright, so override atomically: 12312 install_override_mode=555 12313 ;; 12314 12315interix[3-9]*) 12316 version_type=linux # correct to gnu/linux during the next big refactor 12317 need_lib_prefix=no 12318 need_version=no 12319 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12320 soname_spec='$libname$release$shared_ext$major' 12321 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12322 shlibpath_var=LD_LIBRARY_PATH 12323 shlibpath_overrides_runpath=no 12324 hardcode_into_libs=yes 12325 ;; 12326 12327irix5* | irix6* | nonstopux*) 12328 case $host_os in 12329 nonstopux*) version_type=nonstopux ;; 12330 *) 12331 if test yes = "$lt_cv_prog_gnu_ld"; then 12332 version_type=linux # correct to gnu/linux during the next big refactor 12333 else 12334 version_type=irix 12335 fi ;; 12336 esac 12337 need_lib_prefix=no 12338 need_version=no 12339 soname_spec='$libname$release$shared_ext$major' 12340 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12341 case $host_os in 12342 irix5* | nonstopux*) 12343 libsuff= shlibsuff= 12344 ;; 12345 *) 12346 case $LD in # libtool.m4 will add one of these switches to LD 12347 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12348 libsuff= shlibsuff= libmagic=32-bit;; 12349 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12350 libsuff=32 shlibsuff=N32 libmagic=N32;; 12351 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12352 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12353 *) libsuff= shlibsuff= libmagic=never-match;; 12354 esac 12355 ;; 12356 esac 12357 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12358 shlibpath_overrides_runpath=no 12359 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12360 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12361 hardcode_into_libs=yes 12362 ;; 12363 12364# No shared lib support for Linux oldld, aout, or coff. 12365linux*oldld* | linux*aout* | linux*coff*) 12366 dynamic_linker=no 12367 ;; 12368 12369linux*android*) 12370 version_type=none # Android doesn't support versioned libraries. 12371 need_lib_prefix=no 12372 need_version=no 12373 library_names_spec='$libname$release$shared_ext' 12374 soname_spec='$libname$release$shared_ext' 12375 finish_cmds= 12376 shlibpath_var=LD_LIBRARY_PATH 12377 shlibpath_overrides_runpath=yes 12378 12379 # This implies no fast_install, which is unacceptable. 12380 # Some rework will be needed to allow for fast_install 12381 # before this can be enabled. 12382 hardcode_into_libs=yes 12383 12384 dynamic_linker='Android linker' 12385 # Don't embed -rpath directories since the linker doesn't support them. 12386 hardcode_libdir_flag_spec='-L$libdir' 12387 ;; 12388 12389# This must be glibc/ELF. 12390linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12391 version_type=linux # correct to gnu/linux during the next big refactor 12392 need_lib_prefix=no 12393 need_version=no 12394 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12395 soname_spec='$libname$release$shared_ext$major' 12396 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12397 shlibpath_var=LD_LIBRARY_PATH 12398 shlibpath_overrides_runpath=no 12399 12400 # Some binutils ld are patched to set DT_RUNPATH 12401 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12402 $as_echo_n "(cached) " >&6 12403else 12404 lt_cv_shlibpath_overrides_runpath=no 12405 save_LDFLAGS=$LDFLAGS 12406 save_libdir=$libdir 12407 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12408 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12410/* end confdefs.h. */ 12411 12412int 12413main () 12414{ 12415 12416 ; 12417 return 0; 12418} 12419_ACEOF 12420if ac_fn_c_try_link "$LINENO"; then : 12421 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12422 lt_cv_shlibpath_overrides_runpath=yes 12423fi 12424fi 12425rm -f core conftest.err conftest.$ac_objext \ 12426 conftest$ac_exeext conftest.$ac_ext 12427 LDFLAGS=$save_LDFLAGS 12428 libdir=$save_libdir 12429 12430fi 12431 12432 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12433 12434 # This implies no fast_install, which is unacceptable. 12435 # Some rework will be needed to allow for fast_install 12436 # before this can be enabled. 12437 hardcode_into_libs=yes 12438 12439 # Ideally, we could use ldconfig to report *all* directores which are 12440 # searched for libraries, however this is still not possible. Aside from not 12441 # being certain /sbin/ldconfig is available, command 12442 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12443 # even though it is searched at run-time. Try to do the best guess by 12444 # appending ld.so.conf contents (and includes) to the search path. 12445 if test -f /etc/ld.so.conf; then 12446 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' ' '` 12447 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 12448 fi 12449 12450 # We used to test for /lib/ld.so.1 and disable shared libraries on 12451 # powerpc, because MkLinux only supported shared libraries with the 12452 # GNU dynamic linker. Since this was broken with cross compilers, 12453 # most powerpc-linux boxes support dynamic linking these days and 12454 # people can always --disable-shared, the test was removed, and we 12455 # assume the GNU/Linux dynamic linker is in use. 12456 dynamic_linker='GNU/Linux ld.so' 12457 ;; 12458 12459netbsd*) 12460 version_type=sunos 12461 need_lib_prefix=no 12462 need_version=no 12463 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12464 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12465 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12466 dynamic_linker='NetBSD (a.out) ld.so' 12467 else 12468 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12469 soname_spec='$libname$release$shared_ext$major' 12470 dynamic_linker='NetBSD ld.elf_so' 12471 fi 12472 shlibpath_var=LD_LIBRARY_PATH 12473 shlibpath_overrides_runpath=yes 12474 hardcode_into_libs=yes 12475 ;; 12476 12477newsos6) 12478 version_type=linux # correct to gnu/linux during the next big refactor 12479 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12480 shlibpath_var=LD_LIBRARY_PATH 12481 shlibpath_overrides_runpath=yes 12482 ;; 12483 12484*nto* | *qnx*) 12485 version_type=qnx 12486 need_lib_prefix=no 12487 need_version=no 12488 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12489 soname_spec='$libname$release$shared_ext$major' 12490 shlibpath_var=LD_LIBRARY_PATH 12491 shlibpath_overrides_runpath=no 12492 hardcode_into_libs=yes 12493 dynamic_linker='ldqnx.so' 12494 ;; 12495 12496openbsd* | bitrig*) 12497 version_type=sunos 12498 sys_lib_dlsearch_path_spec=/usr/lib 12499 need_lib_prefix=no 12500 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12501 need_version=no 12502 else 12503 need_version=yes 12504 fi 12505 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12506 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12507 shlibpath_var=LD_LIBRARY_PATH 12508 shlibpath_overrides_runpath=yes 12509 ;; 12510 12511os2*) 12512 libname_spec='$name' 12513 version_type=windows 12514 shrext_cmds=.dll 12515 need_version=no 12516 need_lib_prefix=no 12517 # OS/2 can only load a DLL with a base name of 8 characters or less. 12518 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12519 v=$($ECHO $release$versuffix | tr -d .-); 12520 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12521 $ECHO $n$v`$shared_ext' 12522 library_names_spec='${libname}_dll.$libext' 12523 dynamic_linker='OS/2 ld.exe' 12524 shlibpath_var=BEGINLIBPATH 12525 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12526 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12527 postinstall_cmds='base_file=`basename \$file`~ 12528 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12529 dldir=$destdir/`dirname \$dlpath`~ 12530 test -d \$dldir || mkdir -p \$dldir~ 12531 $install_prog $dir/$dlname \$dldir/$dlname~ 12532 chmod a+x \$dldir/$dlname~ 12533 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12534 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12535 fi' 12536 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12537 dlpath=$dir/\$dldll~ 12538 $RM \$dlpath' 12539 ;; 12540 12541osf3* | osf4* | osf5*) 12542 version_type=osf 12543 need_lib_prefix=no 12544 need_version=no 12545 soname_spec='$libname$release$shared_ext$major' 12546 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12547 shlibpath_var=LD_LIBRARY_PATH 12548 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12549 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12550 ;; 12551 12552rdos*) 12553 dynamic_linker=no 12554 ;; 12555 12556solaris*) 12557 version_type=linux # correct to gnu/linux during the next big refactor 12558 need_lib_prefix=no 12559 need_version=no 12560 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12561 soname_spec='$libname$release$shared_ext$major' 12562 shlibpath_var=LD_LIBRARY_PATH 12563 shlibpath_overrides_runpath=yes 12564 hardcode_into_libs=yes 12565 # ldd complains unless libraries are executable 12566 postinstall_cmds='chmod +x $lib' 12567 ;; 12568 12569sunos4*) 12570 version_type=sunos 12571 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12572 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12573 shlibpath_var=LD_LIBRARY_PATH 12574 shlibpath_overrides_runpath=yes 12575 if test yes = "$with_gnu_ld"; then 12576 need_lib_prefix=no 12577 fi 12578 need_version=yes 12579 ;; 12580 12581sysv4 | sysv4.3*) 12582 version_type=linux # correct to gnu/linux during the next big refactor 12583 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12584 soname_spec='$libname$release$shared_ext$major' 12585 shlibpath_var=LD_LIBRARY_PATH 12586 case $host_vendor in 12587 sni) 12588 shlibpath_overrides_runpath=no 12589 need_lib_prefix=no 12590 runpath_var=LD_RUN_PATH 12591 ;; 12592 siemens) 12593 need_lib_prefix=no 12594 ;; 12595 motorola) 12596 need_lib_prefix=no 12597 need_version=no 12598 shlibpath_overrides_runpath=no 12599 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12600 ;; 12601 esac 12602 ;; 12603 12604sysv4*MP*) 12605 if test -d /usr/nec; then 12606 version_type=linux # correct to gnu/linux during the next big refactor 12607 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12608 soname_spec='$libname$shared_ext.$major' 12609 shlibpath_var=LD_LIBRARY_PATH 12610 fi 12611 ;; 12612 12613sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12614 version_type=sco 12615 need_lib_prefix=no 12616 need_version=no 12617 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12618 soname_spec='$libname$release$shared_ext$major' 12619 shlibpath_var=LD_LIBRARY_PATH 12620 shlibpath_overrides_runpath=yes 12621 hardcode_into_libs=yes 12622 if test yes = "$with_gnu_ld"; then 12623 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12624 else 12625 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12626 case $host_os in 12627 sco3.2v5*) 12628 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12629 ;; 12630 esac 12631 fi 12632 sys_lib_dlsearch_path_spec='/usr/lib' 12633 ;; 12634 12635tpf*) 12636 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12637 version_type=linux # correct to gnu/linux during the next big refactor 12638 need_lib_prefix=no 12639 need_version=no 12640 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12641 shlibpath_var=LD_LIBRARY_PATH 12642 shlibpath_overrides_runpath=no 12643 hardcode_into_libs=yes 12644 ;; 12645 12646uts4*) 12647 version_type=linux # correct to gnu/linux during the next big refactor 12648 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12649 soname_spec='$libname$release$shared_ext$major' 12650 shlibpath_var=LD_LIBRARY_PATH 12651 ;; 12652 12653*) 12654 dynamic_linker=no 12655 ;; 12656esac 12657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12658$as_echo "$dynamic_linker" >&6; } 12659test no = "$dynamic_linker" && can_build_shared=no 12660 12661variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12662if test yes = "$GCC"; then 12663 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12664fi 12665 12666if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12667 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12668fi 12669 12670if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12671 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12672fi 12673 12674# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12675configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12676 12677# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12678func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12679 12680# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12681configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12682 12683 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12780$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12781hardcode_action= 12782if test -n "$hardcode_libdir_flag_spec" || 12783 test -n "$runpath_var" || 12784 test yes = "$hardcode_automatic"; then 12785 12786 # We can hardcode non-existent directories. 12787 if test no != "$hardcode_direct" && 12788 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12789 # have to relink, otherwise we might link with an installed library 12790 # when we should be linking with a yet-to-be-installed one 12791 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12792 test no != "$hardcode_minus_L"; then 12793 # Linking always hardcodes the temporary library directory. 12794 hardcode_action=relink 12795 else 12796 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12797 hardcode_action=immediate 12798 fi 12799else 12800 # We cannot hardcode anything, or else we can only hardcode existing 12801 # directories. 12802 hardcode_action=unsupported 12803fi 12804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12805$as_echo "$hardcode_action" >&6; } 12806 12807if test relink = "$hardcode_action" || 12808 test yes = "$inherit_rpath"; then 12809 # Fast installation is not supported 12810 enable_fast_install=no 12811elif test yes = "$shlibpath_overrides_runpath" || 12812 test no = "$enable_shared"; then 12813 # Fast installation is not necessary 12814 enable_fast_install=needless 12815fi 12816 12817 12818 12819 12820 12821 12822 if test yes != "$enable_dlopen"; then 12823 enable_dlopen=unknown 12824 enable_dlopen_self=unknown 12825 enable_dlopen_self_static=unknown 12826else 12827 lt_cv_dlopen=no 12828 lt_cv_dlopen_libs= 12829 12830 case $host_os in 12831 beos*) 12832 lt_cv_dlopen=load_add_on 12833 lt_cv_dlopen_libs= 12834 lt_cv_dlopen_self=yes 12835 ;; 12836 12837 mingw* | pw32* | cegcc*) 12838 lt_cv_dlopen=LoadLibrary 12839 lt_cv_dlopen_libs= 12840 ;; 12841 12842 cygwin*) 12843 lt_cv_dlopen=dlopen 12844 lt_cv_dlopen_libs= 12845 ;; 12846 12847 darwin*) 12848 # if libdl is installed we need to link against it 12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12850$as_echo_n "checking for dlopen in -ldl... " >&6; } 12851if ${ac_cv_lib_dl_dlopen+:} false; then : 12852 $as_echo_n "(cached) " >&6 12853else 12854 ac_check_lib_save_LIBS=$LIBS 12855LIBS="-ldl $LIBS" 12856cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12857/* end confdefs.h. */ 12858 12859/* Override any GCC internal prototype to avoid an error. 12860 Use char because int might match the return type of a GCC 12861 builtin and then its argument prototype would still apply. */ 12862#ifdef __cplusplus 12863extern "C" 12864#endif 12865char dlopen (); 12866int 12867main () 12868{ 12869return dlopen (); 12870 ; 12871 return 0; 12872} 12873_ACEOF 12874if ac_fn_c_try_link "$LINENO"; then : 12875 ac_cv_lib_dl_dlopen=yes 12876else 12877 ac_cv_lib_dl_dlopen=no 12878fi 12879rm -f core conftest.err conftest.$ac_objext \ 12880 conftest$ac_exeext conftest.$ac_ext 12881LIBS=$ac_check_lib_save_LIBS 12882fi 12883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12884$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12885if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12886 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12887else 12888 12889 lt_cv_dlopen=dyld 12890 lt_cv_dlopen_libs= 12891 lt_cv_dlopen_self=yes 12892 12893fi 12894 12895 ;; 12896 12897 tpf*) 12898 # Don't try to run any link tests for TPF. We know it's impossible 12899 # because TPF is a cross-compiler, and we know how we open DSOs. 12900 lt_cv_dlopen=dlopen 12901 lt_cv_dlopen_libs= 12902 lt_cv_dlopen_self=no 12903 ;; 12904 12905 *) 12906 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12907if test "x$ac_cv_func_shl_load" = xyes; then : 12908 lt_cv_dlopen=shl_load 12909else 12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12911$as_echo_n "checking for shl_load in -ldld... " >&6; } 12912if ${ac_cv_lib_dld_shl_load+:} false; then : 12913 $as_echo_n "(cached) " >&6 12914else 12915 ac_check_lib_save_LIBS=$LIBS 12916LIBS="-ldld $LIBS" 12917cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12918/* end confdefs.h. */ 12919 12920/* Override any GCC internal prototype to avoid an error. 12921 Use char because int might match the return type of a GCC 12922 builtin and then its argument prototype would still apply. */ 12923#ifdef __cplusplus 12924extern "C" 12925#endif 12926char shl_load (); 12927int 12928main () 12929{ 12930return shl_load (); 12931 ; 12932 return 0; 12933} 12934_ACEOF 12935if ac_fn_c_try_link "$LINENO"; then : 12936 ac_cv_lib_dld_shl_load=yes 12937else 12938 ac_cv_lib_dld_shl_load=no 12939fi 12940rm -f core conftest.err conftest.$ac_objext \ 12941 conftest$ac_exeext conftest.$ac_ext 12942LIBS=$ac_check_lib_save_LIBS 12943fi 12944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12945$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12946if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12947 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12948else 12949 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12950if test "x$ac_cv_func_dlopen" = xyes; then : 12951 lt_cv_dlopen=dlopen 12952else 12953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12954$as_echo_n "checking for dlopen in -ldl... " >&6; } 12955if ${ac_cv_lib_dl_dlopen+:} false; then : 12956 $as_echo_n "(cached) " >&6 12957else 12958 ac_check_lib_save_LIBS=$LIBS 12959LIBS="-ldl $LIBS" 12960cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12961/* end confdefs.h. */ 12962 12963/* Override any GCC internal prototype to avoid an error. 12964 Use char because int might match the return type of a GCC 12965 builtin and then its argument prototype would still apply. */ 12966#ifdef __cplusplus 12967extern "C" 12968#endif 12969char dlopen (); 12970int 12971main () 12972{ 12973return dlopen (); 12974 ; 12975 return 0; 12976} 12977_ACEOF 12978if ac_fn_c_try_link "$LINENO"; then : 12979 ac_cv_lib_dl_dlopen=yes 12980else 12981 ac_cv_lib_dl_dlopen=no 12982fi 12983rm -f core conftest.err conftest.$ac_objext \ 12984 conftest$ac_exeext conftest.$ac_ext 12985LIBS=$ac_check_lib_save_LIBS 12986fi 12987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12988$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12989if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12990 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12991else 12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12993$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12994if ${ac_cv_lib_svld_dlopen+:} false; then : 12995 $as_echo_n "(cached) " >&6 12996else 12997 ac_check_lib_save_LIBS=$LIBS 12998LIBS="-lsvld $LIBS" 12999cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13000/* end confdefs.h. */ 13001 13002/* Override any GCC internal prototype to avoid an error. 13003 Use char because int might match the return type of a GCC 13004 builtin and then its argument prototype would still apply. */ 13005#ifdef __cplusplus 13006extern "C" 13007#endif 13008char dlopen (); 13009int 13010main () 13011{ 13012return dlopen (); 13013 ; 13014 return 0; 13015} 13016_ACEOF 13017if ac_fn_c_try_link "$LINENO"; then : 13018 ac_cv_lib_svld_dlopen=yes 13019else 13020 ac_cv_lib_svld_dlopen=no 13021fi 13022rm -f core conftest.err conftest.$ac_objext \ 13023 conftest$ac_exeext conftest.$ac_ext 13024LIBS=$ac_check_lib_save_LIBS 13025fi 13026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13027$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13028if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13029 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13030else 13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13032$as_echo_n "checking for dld_link in -ldld... " >&6; } 13033if ${ac_cv_lib_dld_dld_link+:} false; then : 13034 $as_echo_n "(cached) " >&6 13035else 13036 ac_check_lib_save_LIBS=$LIBS 13037LIBS="-ldld $LIBS" 13038cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13039/* end confdefs.h. */ 13040 13041/* Override any GCC internal prototype to avoid an error. 13042 Use char because int might match the return type of a GCC 13043 builtin and then its argument prototype would still apply. */ 13044#ifdef __cplusplus 13045extern "C" 13046#endif 13047char dld_link (); 13048int 13049main () 13050{ 13051return dld_link (); 13052 ; 13053 return 0; 13054} 13055_ACEOF 13056if ac_fn_c_try_link "$LINENO"; then : 13057 ac_cv_lib_dld_dld_link=yes 13058else 13059 ac_cv_lib_dld_dld_link=no 13060fi 13061rm -f core conftest.err conftest.$ac_objext \ 13062 conftest$ac_exeext conftest.$ac_ext 13063LIBS=$ac_check_lib_save_LIBS 13064fi 13065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13066$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13067if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13068 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13069fi 13070 13071 13072fi 13073 13074 13075fi 13076 13077 13078fi 13079 13080 13081fi 13082 13083 13084fi 13085 13086 ;; 13087 esac 13088 13089 if test no = "$lt_cv_dlopen"; then 13090 enable_dlopen=no 13091 else 13092 enable_dlopen=yes 13093 fi 13094 13095 case $lt_cv_dlopen in 13096 dlopen) 13097 save_CPPFLAGS=$CPPFLAGS 13098 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13099 13100 save_LDFLAGS=$LDFLAGS 13101 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13102 13103 save_LIBS=$LIBS 13104 LIBS="$lt_cv_dlopen_libs $LIBS" 13105 13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13107$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13108if ${lt_cv_dlopen_self+:} false; then : 13109 $as_echo_n "(cached) " >&6 13110else 13111 if test yes = "$cross_compiling"; then : 13112 lt_cv_dlopen_self=cross 13113else 13114 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13115 lt_status=$lt_dlunknown 13116 cat > conftest.$ac_ext <<_LT_EOF 13117#line $LINENO "configure" 13118#include "confdefs.h" 13119 13120#if HAVE_DLFCN_H 13121#include <dlfcn.h> 13122#endif 13123 13124#include <stdio.h> 13125 13126#ifdef RTLD_GLOBAL 13127# define LT_DLGLOBAL RTLD_GLOBAL 13128#else 13129# ifdef DL_GLOBAL 13130# define LT_DLGLOBAL DL_GLOBAL 13131# else 13132# define LT_DLGLOBAL 0 13133# endif 13134#endif 13135 13136/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13137 find out it does not work in some platform. */ 13138#ifndef LT_DLLAZY_OR_NOW 13139# ifdef RTLD_LAZY 13140# define LT_DLLAZY_OR_NOW RTLD_LAZY 13141# else 13142# ifdef DL_LAZY 13143# define LT_DLLAZY_OR_NOW DL_LAZY 13144# else 13145# ifdef RTLD_NOW 13146# define LT_DLLAZY_OR_NOW RTLD_NOW 13147# else 13148# ifdef DL_NOW 13149# define LT_DLLAZY_OR_NOW DL_NOW 13150# else 13151# define LT_DLLAZY_OR_NOW 0 13152# endif 13153# endif 13154# endif 13155# endif 13156#endif 13157 13158/* When -fvisibility=hidden is used, assume the code has been annotated 13159 correspondingly for the symbols needed. */ 13160#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13161int fnord () __attribute__((visibility("default"))); 13162#endif 13163 13164int fnord () { return 42; } 13165int main () 13166{ 13167 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13168 int status = $lt_dlunknown; 13169 13170 if (self) 13171 { 13172 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13173 else 13174 { 13175 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13176 else puts (dlerror ()); 13177 } 13178 /* dlclose (self); */ 13179 } 13180 else 13181 puts (dlerror ()); 13182 13183 return status; 13184} 13185_LT_EOF 13186 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13187 (eval $ac_link) 2>&5 13188 ac_status=$? 13189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13190 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13191 (./conftest; exit; ) >&5 2>/dev/null 13192 lt_status=$? 13193 case x$lt_status in 13194 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13195 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13196 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13197 esac 13198 else : 13199 # compilation failed 13200 lt_cv_dlopen_self=no 13201 fi 13202fi 13203rm -fr conftest* 13204 13205 13206fi 13207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13208$as_echo "$lt_cv_dlopen_self" >&6; } 13209 13210 if test yes = "$lt_cv_dlopen_self"; then 13211 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13213$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13214if ${lt_cv_dlopen_self_static+:} false; then : 13215 $as_echo_n "(cached) " >&6 13216else 13217 if test yes = "$cross_compiling"; then : 13218 lt_cv_dlopen_self_static=cross 13219else 13220 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13221 lt_status=$lt_dlunknown 13222 cat > conftest.$ac_ext <<_LT_EOF 13223#line $LINENO "configure" 13224#include "confdefs.h" 13225 13226#if HAVE_DLFCN_H 13227#include <dlfcn.h> 13228#endif 13229 13230#include <stdio.h> 13231 13232#ifdef RTLD_GLOBAL 13233# define LT_DLGLOBAL RTLD_GLOBAL 13234#else 13235# ifdef DL_GLOBAL 13236# define LT_DLGLOBAL DL_GLOBAL 13237# else 13238# define LT_DLGLOBAL 0 13239# endif 13240#endif 13241 13242/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13243 find out it does not work in some platform. */ 13244#ifndef LT_DLLAZY_OR_NOW 13245# ifdef RTLD_LAZY 13246# define LT_DLLAZY_OR_NOW RTLD_LAZY 13247# else 13248# ifdef DL_LAZY 13249# define LT_DLLAZY_OR_NOW DL_LAZY 13250# else 13251# ifdef RTLD_NOW 13252# define LT_DLLAZY_OR_NOW RTLD_NOW 13253# else 13254# ifdef DL_NOW 13255# define LT_DLLAZY_OR_NOW DL_NOW 13256# else 13257# define LT_DLLAZY_OR_NOW 0 13258# endif 13259# endif 13260# endif 13261# endif 13262#endif 13263 13264/* When -fvisibility=hidden is used, assume the code has been annotated 13265 correspondingly for the symbols needed. */ 13266#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13267int fnord () __attribute__((visibility("default"))); 13268#endif 13269 13270int fnord () { return 42; } 13271int main () 13272{ 13273 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13274 int status = $lt_dlunknown; 13275 13276 if (self) 13277 { 13278 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13279 else 13280 { 13281 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13282 else puts (dlerror ()); 13283 } 13284 /* dlclose (self); */ 13285 } 13286 else 13287 puts (dlerror ()); 13288 13289 return status; 13290} 13291_LT_EOF 13292 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13293 (eval $ac_link) 2>&5 13294 ac_status=$? 13295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13296 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13297 (./conftest; exit; ) >&5 2>/dev/null 13298 lt_status=$? 13299 case x$lt_status in 13300 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13301 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13302 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13303 esac 13304 else : 13305 # compilation failed 13306 lt_cv_dlopen_self_static=no 13307 fi 13308fi 13309rm -fr conftest* 13310 13311 13312fi 13313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13314$as_echo "$lt_cv_dlopen_self_static" >&6; } 13315 fi 13316 13317 CPPFLAGS=$save_CPPFLAGS 13318 LDFLAGS=$save_LDFLAGS 13319 LIBS=$save_LIBS 13320 ;; 13321 esac 13322 13323 case $lt_cv_dlopen_self in 13324 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13325 *) enable_dlopen_self=unknown ;; 13326 esac 13327 13328 case $lt_cv_dlopen_self_static in 13329 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13330 *) enable_dlopen_self_static=unknown ;; 13331 esac 13332fi 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350striplib= 13351old_striplib= 13352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13353$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13354if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13355 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13356 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13358$as_echo "yes" >&6; } 13359else 13360# FIXME - insert some real tests, host_os isn't really good enough 13361 case $host_os in 13362 darwin*) 13363 if test -n "$STRIP"; then 13364 striplib="$STRIP -x" 13365 old_striplib="$STRIP -S" 13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13367$as_echo "yes" >&6; } 13368 else 13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13370$as_echo "no" >&6; } 13371 fi 13372 ;; 13373 *) 13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13375$as_echo "no" >&6; } 13376 ;; 13377 esac 13378fi 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 # Report what library types will actually be built 13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13393$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13395$as_echo "$can_build_shared" >&6; } 13396 13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13398$as_echo_n "checking whether to build shared libraries... " >&6; } 13399 test no = "$can_build_shared" && enable_shared=no 13400 13401 # On AIX, shared libraries and static libraries use the same namespace, and 13402 # are all built from PIC. 13403 case $host_os in 13404 aix3*) 13405 test yes = "$enable_shared" && enable_static=no 13406 if test -n "$RANLIB"; then 13407 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13408 postinstall_cmds='$RANLIB $lib' 13409 fi 13410 ;; 13411 13412 aix[4-9]*) 13413 if test ia64 != "$host_cpu"; then 13414 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13415 yes,aix,yes) ;; # shared object as lib.so file only 13416 yes,svr4,*) ;; # shared object as lib.so archive member only 13417 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13418 esac 13419 fi 13420 ;; 13421 esac 13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13423$as_echo "$enable_shared" >&6; } 13424 13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13426$as_echo_n "checking whether to build static libraries... " >&6; } 13427 # Make sure either enable_shared or enable_static is yes. 13428 test yes = "$enable_shared" || enable_static=yes 13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13430$as_echo "$enable_static" >&6; } 13431 13432 13433 13434 13435fi 13436ac_ext=c 13437ac_cpp='$CPP $CPPFLAGS' 13438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13440ac_compiler_gnu=$ac_cv_c_compiler_gnu 13441 13442CC=$lt_save_CC 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 ac_config_commands="$ac_config_commands libtool" 13459 13460 13461 13462 13463# Only expand once: 13464 13465 13466# Check whether --enable-largefile was given. 13467if test "${enable_largefile+set}" = set; then : 13468 enableval=$enable_largefile; 13469fi 13470 13471if test "$enable_largefile" != no; then 13472 13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 13474$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 13475if ${ac_cv_sys_largefile_CC+:} false; then : 13476 $as_echo_n "(cached) " >&6 13477else 13478 ac_cv_sys_largefile_CC=no 13479 if test "$GCC" != yes; then 13480 ac_save_CC=$CC 13481 while :; do 13482 # IRIX 6.2 and later do not support large files by default, 13483 # so use the C compiler's -n32 option if that helps. 13484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13485/* end confdefs.h. */ 13486#include <sys/types.h> 13487 /* Check that off_t can represent 2**63 - 1 correctly. 13488 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13489 since some C++ compilers masquerading as C compilers 13490 incorrectly reject 9223372036854775807. */ 13491#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13492 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13493 && LARGE_OFF_T % 2147483647 == 1) 13494 ? 1 : -1]; 13495int 13496main () 13497{ 13498 13499 ; 13500 return 0; 13501} 13502_ACEOF 13503 if ac_fn_c_try_compile "$LINENO"; then : 13504 break 13505fi 13506rm -f core conftest.err conftest.$ac_objext 13507 CC="$CC -n32" 13508 if ac_fn_c_try_compile "$LINENO"; then : 13509 ac_cv_sys_largefile_CC=' -n32'; break 13510fi 13511rm -f core conftest.err conftest.$ac_objext 13512 break 13513 done 13514 CC=$ac_save_CC 13515 rm -f conftest.$ac_ext 13516 fi 13517fi 13518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 13519$as_echo "$ac_cv_sys_largefile_CC" >&6; } 13520 if test "$ac_cv_sys_largefile_CC" != no; then 13521 CC=$CC$ac_cv_sys_largefile_CC 13522 fi 13523 13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 13525$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 13526if ${ac_cv_sys_file_offset_bits+:} false; then : 13527 $as_echo_n "(cached) " >&6 13528else 13529 while :; do 13530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13531/* end confdefs.h. */ 13532#include <sys/types.h> 13533 /* Check that off_t can represent 2**63 - 1 correctly. 13534 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13535 since some C++ compilers masquerading as C compilers 13536 incorrectly reject 9223372036854775807. */ 13537#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13538 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13539 && LARGE_OFF_T % 2147483647 == 1) 13540 ? 1 : -1]; 13541int 13542main () 13543{ 13544 13545 ; 13546 return 0; 13547} 13548_ACEOF 13549if ac_fn_c_try_compile "$LINENO"; then : 13550 ac_cv_sys_file_offset_bits=no; break 13551fi 13552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13554/* end confdefs.h. */ 13555#define _FILE_OFFSET_BITS 64 13556#include <sys/types.h> 13557 /* Check that off_t can represent 2**63 - 1 correctly. 13558 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13559 since some C++ compilers masquerading as C compilers 13560 incorrectly reject 9223372036854775807. */ 13561#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13562 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13563 && LARGE_OFF_T % 2147483647 == 1) 13564 ? 1 : -1]; 13565int 13566main () 13567{ 13568 13569 ; 13570 return 0; 13571} 13572_ACEOF 13573if ac_fn_c_try_compile "$LINENO"; then : 13574 ac_cv_sys_file_offset_bits=64; break 13575fi 13576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13577 ac_cv_sys_file_offset_bits=unknown 13578 break 13579done 13580fi 13581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 13582$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 13583case $ac_cv_sys_file_offset_bits in #( 13584 no | unknown) ;; 13585 *) 13586cat >>confdefs.h <<_ACEOF 13587#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 13588_ACEOF 13589;; 13590esac 13591rm -rf conftest* 13592 if test $ac_cv_sys_file_offset_bits = unknown; then 13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 13594$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 13595if ${ac_cv_sys_large_files+:} false; then : 13596 $as_echo_n "(cached) " >&6 13597else 13598 while :; do 13599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13600/* end confdefs.h. */ 13601#include <sys/types.h> 13602 /* Check that off_t can represent 2**63 - 1 correctly. 13603 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13604 since some C++ compilers masquerading as C compilers 13605 incorrectly reject 9223372036854775807. */ 13606#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13607 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13608 && LARGE_OFF_T % 2147483647 == 1) 13609 ? 1 : -1]; 13610int 13611main () 13612{ 13613 13614 ; 13615 return 0; 13616} 13617_ACEOF 13618if ac_fn_c_try_compile "$LINENO"; then : 13619 ac_cv_sys_large_files=no; break 13620fi 13621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13623/* end confdefs.h. */ 13624#define _LARGE_FILES 1 13625#include <sys/types.h> 13626 /* Check that off_t can represent 2**63 - 1 correctly. 13627 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13628 since some C++ compilers masquerading as C compilers 13629 incorrectly reject 9223372036854775807. */ 13630#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13631 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13632 && LARGE_OFF_T % 2147483647 == 1) 13633 ? 1 : -1]; 13634int 13635main () 13636{ 13637 13638 ; 13639 return 0; 13640} 13641_ACEOF 13642if ac_fn_c_try_compile "$LINENO"; then : 13643 ac_cv_sys_large_files=1; break 13644fi 13645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13646 ac_cv_sys_large_files=unknown 13647 break 13648done 13649fi 13650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 13651$as_echo "$ac_cv_sys_large_files" >&6; } 13652case $ac_cv_sys_large_files in #( 13653 no | unknown) ;; 13654 *) 13655cat >>confdefs.h <<_ACEOF 13656#define _LARGE_FILES $ac_cv_sys_large_files 13657_ACEOF 13658;; 13659esac 13660rm -rf conftest* 13661 fi 13662 13663 13664fi 13665 13666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 13667$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 13668if ${ac_cv_sys_largefile_source+:} false; then : 13669 $as_echo_n "(cached) " >&6 13670else 13671 while :; do 13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13673/* end confdefs.h. */ 13674#include <sys/types.h> /* for off_t */ 13675 #include <stdio.h> 13676int 13677main () 13678{ 13679int (*fp) (FILE *, off_t, int) = fseeko; 13680 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 13681 ; 13682 return 0; 13683} 13684_ACEOF 13685if ac_fn_c_try_link "$LINENO"; then : 13686 ac_cv_sys_largefile_source=no; break 13687fi 13688rm -f core conftest.err conftest.$ac_objext \ 13689 conftest$ac_exeext conftest.$ac_ext 13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13691/* end confdefs.h. */ 13692#define _LARGEFILE_SOURCE 1 13693#include <sys/types.h> /* for off_t */ 13694 #include <stdio.h> 13695int 13696main () 13697{ 13698int (*fp) (FILE *, off_t, int) = fseeko; 13699 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 13700 ; 13701 return 0; 13702} 13703_ACEOF 13704if ac_fn_c_try_link "$LINENO"; then : 13705 ac_cv_sys_largefile_source=1; break 13706fi 13707rm -f core conftest.err conftest.$ac_objext \ 13708 conftest$ac_exeext conftest.$ac_ext 13709 ac_cv_sys_largefile_source=unknown 13710 break 13711done 13712fi 13713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 13714$as_echo "$ac_cv_sys_largefile_source" >&6; } 13715case $ac_cv_sys_largefile_source in #( 13716 no | unknown) ;; 13717 *) 13718cat >>confdefs.h <<_ACEOF 13719#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 13720_ACEOF 13721;; 13722esac 13723rm -rf conftest* 13724 13725# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 13726# in glibc 2.1.3, but that breaks too many other things. 13727# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 13728if test $ac_cv_sys_largefile_source != unknown; then 13729 13730$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h 13731 13732fi 13733 13734ac_header_dirent=no 13735for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 13736 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 13737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 13738$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 13739if eval \${$as_ac_Header+:} false; then : 13740 $as_echo_n "(cached) " >&6 13741else 13742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13743/* end confdefs.h. */ 13744#include <sys/types.h> 13745#include <$ac_hdr> 13746 13747int 13748main () 13749{ 13750if ((DIR *) 0) 13751return 0; 13752 ; 13753 return 0; 13754} 13755_ACEOF 13756if ac_fn_c_try_compile "$LINENO"; then : 13757 eval "$as_ac_Header=yes" 13758else 13759 eval "$as_ac_Header=no" 13760fi 13761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13762fi 13763eval ac_res=\$$as_ac_Header 13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 13765$as_echo "$ac_res" >&6; } 13766if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13767 cat >>confdefs.h <<_ACEOF 13768#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 13769_ACEOF 13770 13771ac_header_dirent=$ac_hdr; break 13772fi 13773 13774done 13775# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 13776if test $ac_header_dirent = dirent.h; then 13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 13778$as_echo_n "checking for library containing opendir... " >&6; } 13779if ${ac_cv_search_opendir+:} false; then : 13780 $as_echo_n "(cached) " >&6 13781else 13782 ac_func_search_save_LIBS=$LIBS 13783cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13784/* end confdefs.h. */ 13785 13786/* Override any GCC internal prototype to avoid an error. 13787 Use char because int might match the return type of a GCC 13788 builtin and then its argument prototype would still apply. */ 13789#ifdef __cplusplus 13790extern "C" 13791#endif 13792char opendir (); 13793int 13794main () 13795{ 13796return opendir (); 13797 ; 13798 return 0; 13799} 13800_ACEOF 13801for ac_lib in '' dir; do 13802 if test -z "$ac_lib"; then 13803 ac_res="none required" 13804 else 13805 ac_res=-l$ac_lib 13806 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13807 fi 13808 if ac_fn_c_try_link "$LINENO"; then : 13809 ac_cv_search_opendir=$ac_res 13810fi 13811rm -f core conftest.err conftest.$ac_objext \ 13812 conftest$ac_exeext 13813 if ${ac_cv_search_opendir+:} false; then : 13814 break 13815fi 13816done 13817if ${ac_cv_search_opendir+:} false; then : 13818 13819else 13820 ac_cv_search_opendir=no 13821fi 13822rm conftest.$ac_ext 13823LIBS=$ac_func_search_save_LIBS 13824fi 13825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13826$as_echo "$ac_cv_search_opendir" >&6; } 13827ac_res=$ac_cv_search_opendir 13828if test "$ac_res" != no; then : 13829 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13830 13831fi 13832 13833else 13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 13835$as_echo_n "checking for library containing opendir... " >&6; } 13836if ${ac_cv_search_opendir+:} false; then : 13837 $as_echo_n "(cached) " >&6 13838else 13839 ac_func_search_save_LIBS=$LIBS 13840cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13841/* end confdefs.h. */ 13842 13843/* Override any GCC internal prototype to avoid an error. 13844 Use char because int might match the return type of a GCC 13845 builtin and then its argument prototype would still apply. */ 13846#ifdef __cplusplus 13847extern "C" 13848#endif 13849char opendir (); 13850int 13851main () 13852{ 13853return opendir (); 13854 ; 13855 return 0; 13856} 13857_ACEOF 13858for ac_lib in '' x; do 13859 if test -z "$ac_lib"; then 13860 ac_res="none required" 13861 else 13862 ac_res=-l$ac_lib 13863 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13864 fi 13865 if ac_fn_c_try_link "$LINENO"; then : 13866 ac_cv_search_opendir=$ac_res 13867fi 13868rm -f core conftest.err conftest.$ac_objext \ 13869 conftest$ac_exeext 13870 if ${ac_cv_search_opendir+:} false; then : 13871 break 13872fi 13873done 13874if ${ac_cv_search_opendir+:} false; then : 13875 13876else 13877 ac_cv_search_opendir=no 13878fi 13879rm conftest.$ac_ext 13880LIBS=$ac_func_search_save_LIBS 13881fi 13882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13883$as_echo "$ac_cv_search_opendir" >&6; } 13884ac_res=$ac_cv_search_opendir 13885if test "$ac_res" != no; then : 13886 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13887 13888fi 13889 13890fi 13891 13892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13893$as_echo_n "checking for ANSI C header files... " >&6; } 13894if ${ac_cv_header_stdc+:} false; then : 13895 $as_echo_n "(cached) " >&6 13896else 13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13898/* end confdefs.h. */ 13899#include <stdlib.h> 13900#include <stdarg.h> 13901#include <string.h> 13902#include <float.h> 13903 13904int 13905main () 13906{ 13907 13908 ; 13909 return 0; 13910} 13911_ACEOF 13912if ac_fn_c_try_compile "$LINENO"; then : 13913 ac_cv_header_stdc=yes 13914else 13915 ac_cv_header_stdc=no 13916fi 13917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13918 13919if test $ac_cv_header_stdc = yes; then 13920 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13922/* end confdefs.h. */ 13923#include <string.h> 13924 13925_ACEOF 13926if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13927 $EGREP "memchr" >/dev/null 2>&1; then : 13928 13929else 13930 ac_cv_header_stdc=no 13931fi 13932rm -f conftest* 13933 13934fi 13935 13936if test $ac_cv_header_stdc = yes; then 13937 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13939/* end confdefs.h. */ 13940#include <stdlib.h> 13941 13942_ACEOF 13943if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13944 $EGREP "free" >/dev/null 2>&1; then : 13945 13946else 13947 ac_cv_header_stdc=no 13948fi 13949rm -f conftest* 13950 13951fi 13952 13953if test $ac_cv_header_stdc = yes; then 13954 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13955 if test "$cross_compiling" = yes; then : 13956 : 13957else 13958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13959/* end confdefs.h. */ 13960#include <ctype.h> 13961#include <stdlib.h> 13962#if ((' ' & 0x0FF) == 0x020) 13963# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13964# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13965#else 13966# define ISLOWER(c) \ 13967 (('a' <= (c) && (c) <= 'i') \ 13968 || ('j' <= (c) && (c) <= 'r') \ 13969 || ('s' <= (c) && (c) <= 'z')) 13970# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13971#endif 13972 13973#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13974int 13975main () 13976{ 13977 int i; 13978 for (i = 0; i < 256; i++) 13979 if (XOR (islower (i), ISLOWER (i)) 13980 || toupper (i) != TOUPPER (i)) 13981 return 2; 13982 return 0; 13983} 13984_ACEOF 13985if ac_fn_c_try_run "$LINENO"; then : 13986 13987else 13988 ac_cv_header_stdc=no 13989fi 13990rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13991 conftest.$ac_objext conftest.beam conftest.$ac_ext 13992fi 13993 13994fi 13995fi 13996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13997$as_echo "$ac_cv_header_stdc" >&6; } 13998if test $ac_cv_header_stdc = yes; then 13999 14000$as_echo "#define STDC_HEADERS 1" >>confdefs.h 14001 14002fi 14003 14004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5 14005$as_echo_n "checking whether closedir returns void... " >&6; } 14006if ${ac_cv_func_closedir_void+:} false; then : 14007 $as_echo_n "(cached) " >&6 14008else 14009 if test "$cross_compiling" = yes; then : 14010 ac_cv_func_closedir_void=yes 14011else 14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14013/* end confdefs.h. */ 14014$ac_includes_default 14015#include <$ac_header_dirent> 14016#ifndef __cplusplus 14017int closedir (); 14018#endif 14019 14020int 14021main () 14022{ 14023return closedir (opendir (".")) != 0; 14024 ; 14025 return 0; 14026} 14027_ACEOF 14028if ac_fn_c_try_run "$LINENO"; then : 14029 ac_cv_func_closedir_void=no 14030else 14031 ac_cv_func_closedir_void=yes 14032fi 14033rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14034 conftest.$ac_objext conftest.beam conftest.$ac_ext 14035fi 14036 14037fi 14038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5 14039$as_echo "$ac_cv_func_closedir_void" >&6; } 14040if test $ac_cv_func_closedir_void = yes; then 14041 14042$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h 14043 14044fi 14045 14046for ac_header in assert.h float.h limits.h pwd.h stdlib.h sys/param.h 14047do : 14048 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14049ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 14050if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 14051 cat >>confdefs.h <<_ACEOF 14052#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14053_ACEOF 14054 14055fi 14056 14057done 14058 14059for ac_func in putenv 14060do : 14061 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv" 14062if test "x$ac_cv_func_putenv" = xyes; then : 14063 cat >>confdefs.h <<_ACEOF 14064#define HAVE_PUTENV 1 14065_ACEOF 14066 14067fi 14068done 14069 14070for ac_func in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr 14071do : 14072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14073ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14074if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 14075 cat >>confdefs.h <<_ACEOF 14076#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14077_ACEOF 14078 14079fi 14080done 14081 14082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 14083$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 14084if ${ac_cv_c_const+:} false; then : 14085 $as_echo_n "(cached) " >&6 14086else 14087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14088/* end confdefs.h. */ 14089 14090int 14091main () 14092{ 14093 14094#ifndef __cplusplus 14095 /* Ultrix mips cc rejects this sort of thing. */ 14096 typedef int charset[2]; 14097 const charset cs = { 0, 0 }; 14098 /* SunOS 4.1.1 cc rejects this. */ 14099 char const *const *pcpcc; 14100 char **ppc; 14101 /* NEC SVR4.0.2 mips cc rejects this. */ 14102 struct point {int x, y;}; 14103 static struct point const zero = {0,0}; 14104 /* AIX XL C 1.02.0.0 rejects this. 14105 It does not let you subtract one const X* pointer from another in 14106 an arm of an if-expression whose if-part is not a constant 14107 expression */ 14108 const char *g = "string"; 14109 pcpcc = &g + (g ? g-g : 0); 14110 /* HPUX 7.0 cc rejects these. */ 14111 ++pcpcc; 14112 ppc = (char**) pcpcc; 14113 pcpcc = (char const *const *) ppc; 14114 { /* SCO 3.2v4 cc rejects this sort of thing. */ 14115 char tx; 14116 char *t = &tx; 14117 char const *s = 0 ? (char *) 0 : (char const *) 0; 14118 14119 *t++ = 0; 14120 if (s) return 0; 14121 } 14122 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 14123 int x[] = {25, 17}; 14124 const int *foo = &x[0]; 14125 ++foo; 14126 } 14127 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 14128 typedef const int *iptr; 14129 iptr p = 0; 14130 ++p; 14131 } 14132 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 14133 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 14134 struct s { int j; const int *ap[3]; } bx; 14135 struct s *b = &bx; b->j = 5; 14136 } 14137 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 14138 const int foo = 10; 14139 if (!foo) return 0; 14140 } 14141 return !cs[0] && !zero.x; 14142#endif 14143 14144 ; 14145 return 0; 14146} 14147_ACEOF 14148if ac_fn_c_try_compile "$LINENO"; then : 14149 ac_cv_c_const=yes 14150else 14151 ac_cv_c_const=no 14152fi 14153rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14154fi 14155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 14156$as_echo "$ac_cv_c_const" >&6; } 14157if test $ac_cv_c_const = no; then 14158 14159$as_echo "#define const /**/" >>confdefs.h 14160 14161fi 14162 14163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 14164$as_echo_n "checking for inline... " >&6; } 14165if ${ac_cv_c_inline+:} false; then : 14166 $as_echo_n "(cached) " >&6 14167else 14168 ac_cv_c_inline=no 14169for ac_kw in inline __inline__ __inline; do 14170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14171/* end confdefs.h. */ 14172#ifndef __cplusplus 14173typedef int foo_t; 14174static $ac_kw foo_t static_foo () {return 0; } 14175$ac_kw foo_t foo () {return 0; } 14176#endif 14177 14178_ACEOF 14179if ac_fn_c_try_compile "$LINENO"; then : 14180 ac_cv_c_inline=$ac_kw 14181fi 14182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14183 test "$ac_cv_c_inline" != no && break 14184done 14185 14186fi 14187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 14188$as_echo "$ac_cv_c_inline" >&6; } 14189 14190case $ac_cv_c_inline in 14191 inline | yes) ;; 14192 *) 14193 case $ac_cv_c_inline in 14194 no) ac_val=;; 14195 *) ac_val=$ac_cv_c_inline;; 14196 esac 14197 cat >>confdefs.h <<_ACEOF 14198#ifndef __cplusplus 14199#define inline $ac_val 14200#endif 14201_ACEOF 14202 ;; 14203esac 14204 14205ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 14206if test "x$ac_cv_type_size_t" = xyes; then : 14207 14208else 14209 14210cat >>confdefs.h <<_ACEOF 14211#define size_t unsigned int 14212_ACEOF 14213 14214fi 14215 14216ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" 14217case $ac_cv_c_int64_t in #( 14218 no|yes) ;; #( 14219 *) 14220 14221cat >>confdefs.h <<_ACEOF 14222#define int64_t $ac_cv_c_int64_t 14223_ACEOF 14224;; 14225esac 14226 14227ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" 14228case $ac_cv_c_uint64_t in #( 14229 no|yes) ;; #( 14230 *) 14231 14232$as_echo "#define _UINT64_T 1" >>confdefs.h 14233 14234 14235cat >>confdefs.h <<_ACEOF 14236#define uint64_t $ac_cv_c_uint64_t 14237_ACEOF 14238;; 14239 esac 14240 14241case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #( 14242 *':no:'*) : 14243 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #( 14244 *) : 14245 ;; 14246esac 14247ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default" 14248if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then : 14249 14250cat >>confdefs.h <<_ACEOF 14251#define HAVE_STRUCT_STAT_ST_MTIM 1 14252_ACEOF 14253 14254 14255fi 14256 14257 14258 14259 if test "x$cross_compiling" = xyes; then 14260 cross_TRUE= 14261 cross_FALSE='#' 14262else 14263 cross_TRUE='#' 14264 cross_FALSE= 14265fi 14266 14267 14268ac_ext=cpp 14269ac_cpp='$CXXCPP $CPPFLAGS' 14270ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14271ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14272ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14273if test -z "$CXX"; then 14274 if test -n "$CCC"; then 14275 CXX=$CCC 14276 else 14277 if test -n "$ac_tool_prefix"; then 14278 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 14279 do 14280 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 14281set dummy $ac_tool_prefix$ac_prog; ac_word=$2 14282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14283$as_echo_n "checking for $ac_word... " >&6; } 14284if ${ac_cv_prog_CXX+:} false; then : 14285 $as_echo_n "(cached) " >&6 14286else 14287 if test -n "$CXX"; then 14288 ac_cv_prog_CXX="$CXX" # Let the user override the test. 14289else 14290as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14291for as_dir in $PATH 14292do 14293 IFS=$as_save_IFS 14294 test -z "$as_dir" && as_dir=. 14295 for ac_exec_ext in '' $ac_executable_extensions; do 14296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14297 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 14298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14299 break 2 14300 fi 14301done 14302 done 14303IFS=$as_save_IFS 14304 14305fi 14306fi 14307CXX=$ac_cv_prog_CXX 14308if test -n "$CXX"; then 14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 14310$as_echo "$CXX" >&6; } 14311else 14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14313$as_echo "no" >&6; } 14314fi 14315 14316 14317 test -n "$CXX" && break 14318 done 14319fi 14320if test -z "$CXX"; then 14321 ac_ct_CXX=$CXX 14322 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 14323do 14324 # Extract the first word of "$ac_prog", so it can be a program name with args. 14325set dummy $ac_prog; ac_word=$2 14326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14327$as_echo_n "checking for $ac_word... " >&6; } 14328if ${ac_cv_prog_ac_ct_CXX+:} false; then : 14329 $as_echo_n "(cached) " >&6 14330else 14331 if test -n "$ac_ct_CXX"; then 14332 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 14333else 14334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14335for as_dir in $PATH 14336do 14337 IFS=$as_save_IFS 14338 test -z "$as_dir" && as_dir=. 14339 for ac_exec_ext in '' $ac_executable_extensions; do 14340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14341 ac_cv_prog_ac_ct_CXX="$ac_prog" 14342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14343 break 2 14344 fi 14345done 14346 done 14347IFS=$as_save_IFS 14348 14349fi 14350fi 14351ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 14352if test -n "$ac_ct_CXX"; then 14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 14354$as_echo "$ac_ct_CXX" >&6; } 14355else 14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14357$as_echo "no" >&6; } 14358fi 14359 14360 14361 test -n "$ac_ct_CXX" && break 14362done 14363 14364 if test "x$ac_ct_CXX" = x; then 14365 CXX="g++" 14366 else 14367 case $cross_compiling:$ac_tool_warned in 14368yes:) 14369{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14370$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14371ac_tool_warned=yes ;; 14372esac 14373 CXX=$ac_ct_CXX 14374 fi 14375fi 14376 14377 fi 14378fi 14379# Provide some information about the compiler. 14380$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 14381set X $ac_compile 14382ac_compiler=$2 14383for ac_option in --version -v -V -qversion; do 14384 { { ac_try="$ac_compiler $ac_option >&5" 14385case "(($ac_try" in 14386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14387 *) ac_try_echo=$ac_try;; 14388esac 14389eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14390$as_echo "$ac_try_echo"; } >&5 14391 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 14392 ac_status=$? 14393 if test -s conftest.err; then 14394 sed '10a\ 14395... rest of stderr output deleted ... 14396 10q' conftest.err >conftest.er1 14397 cat conftest.er1 >&5 14398 fi 14399 rm -f conftest.er1 conftest.err 14400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14401 test $ac_status = 0; } 14402done 14403 14404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 14405$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 14406if ${ac_cv_cxx_compiler_gnu+:} false; then : 14407 $as_echo_n "(cached) " >&6 14408else 14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14410/* end confdefs.h. */ 14411 14412int 14413main () 14414{ 14415#ifndef __GNUC__ 14416 choke me 14417#endif 14418 14419 ; 14420 return 0; 14421} 14422_ACEOF 14423if ac_fn_cxx_try_compile "$LINENO"; then : 14424 ac_compiler_gnu=yes 14425else 14426 ac_compiler_gnu=no 14427fi 14428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14429ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 14430 14431fi 14432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 14433$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 14434if test $ac_compiler_gnu = yes; then 14435 GXX=yes 14436else 14437 GXX= 14438fi 14439ac_test_CXXFLAGS=${CXXFLAGS+set} 14440ac_save_CXXFLAGS=$CXXFLAGS 14441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 14442$as_echo_n "checking whether $CXX accepts -g... " >&6; } 14443if ${ac_cv_prog_cxx_g+:} false; then : 14444 $as_echo_n "(cached) " >&6 14445else 14446 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 14447 ac_cxx_werror_flag=yes 14448 ac_cv_prog_cxx_g=no 14449 CXXFLAGS="-g" 14450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14451/* end confdefs.h. */ 14452 14453int 14454main () 14455{ 14456 14457 ; 14458 return 0; 14459} 14460_ACEOF 14461if ac_fn_cxx_try_compile "$LINENO"; then : 14462 ac_cv_prog_cxx_g=yes 14463else 14464 CXXFLAGS="" 14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14466/* end confdefs.h. */ 14467 14468int 14469main () 14470{ 14471 14472 ; 14473 return 0; 14474} 14475_ACEOF 14476if ac_fn_cxx_try_compile "$LINENO"; then : 14477 14478else 14479 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 14480 CXXFLAGS="-g" 14481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14482/* end confdefs.h. */ 14483 14484int 14485main () 14486{ 14487 14488 ; 14489 return 0; 14490} 14491_ACEOF 14492if ac_fn_cxx_try_compile "$LINENO"; then : 14493 ac_cv_prog_cxx_g=yes 14494fi 14495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14496fi 14497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14498fi 14499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14500 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 14501fi 14502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 14503$as_echo "$ac_cv_prog_cxx_g" >&6; } 14504if test "$ac_test_CXXFLAGS" = set; then 14505 CXXFLAGS=$ac_save_CXXFLAGS 14506elif test $ac_cv_prog_cxx_g = yes; then 14507 if test "$GXX" = yes; then 14508 CXXFLAGS="-g -O2" 14509 else 14510 CXXFLAGS="-g" 14511 fi 14512else 14513 if test "$GXX" = yes; then 14514 CXXFLAGS="-O2" 14515 else 14516 CXXFLAGS= 14517 fi 14518fi 14519ac_ext=c 14520ac_cpp='$CPP $CPPFLAGS' 14521ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14522ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14523ac_compiler_gnu=$ac_cv_c_compiler_gnu 14524 14525depcc="$CXX" am_compiler_list= 14526 14527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 14528$as_echo_n "checking dependency style of $depcc... " >&6; } 14529if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 14530 $as_echo_n "(cached) " >&6 14531else 14532 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 14533 # We make a subdir and do the tests there. Otherwise we can end up 14534 # making bogus files that we don't know about and never remove. For 14535 # instance it was reported that on HP-UX the gcc test will end up 14536 # making a dummy file named 'D' -- because '-MD' means "put the output 14537 # in D". 14538 rm -rf conftest.dir 14539 mkdir conftest.dir 14540 # Copy depcomp to subdir because otherwise we won't find it if we're 14541 # using a relative directory. 14542 cp "$am_depcomp" conftest.dir 14543 cd conftest.dir 14544 # We will build objects and dependencies in a subdirectory because 14545 # it helps to detect inapplicable dependency modes. For instance 14546 # both Tru64's cc and ICC support -MD to output dependencies as a 14547 # side effect of compilation, but ICC will put the dependencies in 14548 # the current directory while Tru64 will put them in the object 14549 # directory. 14550 mkdir sub 14551 14552 am_cv_CXX_dependencies_compiler_type=none 14553 if test "$am_compiler_list" = ""; then 14554 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 14555 fi 14556 am__universal=false 14557 case " $depcc " in #( 14558 *\ -arch\ *\ -arch\ *) am__universal=true ;; 14559 esac 14560 14561 for depmode in $am_compiler_list; do 14562 # Setup a source with many dependencies, because some compilers 14563 # like to wrap large dependency lists on column 80 (with \), and 14564 # we should not choose a depcomp mode which is confused by this. 14565 # 14566 # We need to recreate these files for each test, as the compiler may 14567 # overwrite some of them when testing with obscure command lines. 14568 # This happens at least with the AIX C compiler. 14569 : > sub/conftest.c 14570 for i in 1 2 3 4 5 6; do 14571 echo '#include "conftst'$i'.h"' >> sub/conftest.c 14572 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 14573 # Solaris 10 /bin/sh. 14574 echo '/* dummy */' > sub/conftst$i.h 14575 done 14576 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 14577 14578 # We check with '-c' and '-o' for the sake of the "dashmstdout" 14579 # mode. It turns out that the SunPro C++ compiler does not properly 14580 # handle '-M -o', and we need to detect this. Also, some Intel 14581 # versions had trouble with output in subdirs. 14582 am__obj=sub/conftest.${OBJEXT-o} 14583 am__minus_obj="-o $am__obj" 14584 case $depmode in 14585 gcc) 14586 # This depmode causes a compiler race in universal mode. 14587 test "$am__universal" = false || continue 14588 ;; 14589 nosideeffect) 14590 # After this tag, mechanisms are not by side-effect, so they'll 14591 # only be used when explicitly requested. 14592 if test "x$enable_dependency_tracking" = xyes; then 14593 continue 14594 else 14595 break 14596 fi 14597 ;; 14598 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 14599 # This compiler won't grok '-c -o', but also, the minuso test has 14600 # not run yet. These depmodes are late enough in the game, and 14601 # so weak that their functioning should not be impacted. 14602 am__obj=conftest.${OBJEXT-o} 14603 am__minus_obj= 14604 ;; 14605 none) break ;; 14606 esac 14607 if depmode=$depmode \ 14608 source=sub/conftest.c object=$am__obj \ 14609 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 14610 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 14611 >/dev/null 2>conftest.err && 14612 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 14613 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 14614 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 14615 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 14616 # icc doesn't choke on unknown options, it will just issue warnings 14617 # or remarks (even with -Werror). So we grep stderr for any message 14618 # that says an option was ignored or not supported. 14619 # When given -MP, icc 7.0 and 7.1 complain thusly: 14620 # icc: Command line warning: ignoring option '-M'; no argument required 14621 # The diagnosis changed in icc 8.0: 14622 # icc: Command line remark: option '-MP' not supported 14623 if (grep 'ignoring option' conftest.err || 14624 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 14625 am_cv_CXX_dependencies_compiler_type=$depmode 14626 break 14627 fi 14628 fi 14629 done 14630 14631 cd .. 14632 rm -rf conftest.dir 14633else 14634 am_cv_CXX_dependencies_compiler_type=none 14635fi 14636 14637fi 14638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 14639$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 14640CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 14641 14642 if 14643 test "x$enable_dependency_tracking" != xno \ 14644 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 14645 am__fastdepCXX_TRUE= 14646 am__fastdepCXX_FALSE='#' 14647else 14648 am__fastdepCXX_TRUE='#' 14649 am__fastdepCXX_FALSE= 14650fi 14651 14652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5 14653$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; } 14654if ${kpse_cv_warning_cxxflags+:} false; then : 14655 $as_echo_n "(cached) " >&6 14656else 14657 if test "x$GXX" = xyes; then 14658 kpse_cv_warning_cxxflags= 14659kpse_warn_strings="-Wno-write-strings" 14660if test "x$enable_compiler_warnings" != xno; then 14661 kpse_cv_warning_cxxflags="-Wreturn-type" 14662 case `$CXX -dumpversion` in #( 14663 3.* | 4.[012345].*) : 14664 kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #( 14665 *) : 14666 ;; 14667esac 14668 case `$CXX -dumpversion` in #( 14669 3.[234].* | 4.*) : 14670 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #( 14671 *) : 14672 ;; 14673esac 14674 if test "x$enable_compiler_warnings" != xmin; then 14675 kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags" 14676 if test "x$enable_compiler_warnings" != xyes; then 14677 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" 14678 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align" 14679 kpse_warn_strings="-Wwrite-strings" 14680 if test "x$enable_compiler_warnings" != xmax; then 14681 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow" 14682 fi 14683 fi 14684 fi 14685fi 14686kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags $kpse_warn_strings" 14687elif test "x$enable_compiler_warnings" = xno; then 14688 kpse_cv_warning_cxxflags= 14689else 14690 kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers 14691fi 14692fi 14693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5 14694$as_echo "$kpse_cv_warning_cxxflags" >&6; } 14695WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags 14696 14697 14698 14699 14700 14701func_stripname_cnf () 14702{ 14703 case $2 in 14704 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 14705 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 14706 esac 14707} # func_stripname_cnf 14708 14709 if test -n "$CXX" && ( test no != "$CXX" && 14710 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 14711 (test g++ != "$CXX"))); then 14712 ac_ext=cpp 14713ac_cpp='$CXXCPP $CPPFLAGS' 14714ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14715ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14716ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 14718$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 14719if test -z "$CXXCPP"; then 14720 if ${ac_cv_prog_CXXCPP+:} false; then : 14721 $as_echo_n "(cached) " >&6 14722else 14723 # Double quotes because CXXCPP needs to be expanded 14724 for CXXCPP in "$CXX -E" "/lib/cpp" 14725 do 14726 ac_preproc_ok=false 14727for ac_cxx_preproc_warn_flag in '' yes 14728do 14729 # Use a header file that comes with gcc, so configuring glibc 14730 # with a fresh cross-compiler works. 14731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14732 # <limits.h> exists even on freestanding compilers. 14733 # On the NeXT, cc -E runs the code through the compiler's parser, 14734 # not just through cpp. "Syntax error" is here to catch this case. 14735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14736/* end confdefs.h. */ 14737#ifdef __STDC__ 14738# include <limits.h> 14739#else 14740# include <assert.h> 14741#endif 14742 Syntax error 14743_ACEOF 14744if ac_fn_cxx_try_cpp "$LINENO"; then : 14745 14746else 14747 # Broken: fails on valid input. 14748continue 14749fi 14750rm -f conftest.err conftest.i conftest.$ac_ext 14751 14752 # OK, works on sane cases. Now check whether nonexistent headers 14753 # can be detected and how. 14754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14755/* end confdefs.h. */ 14756#include <ac_nonexistent.h> 14757_ACEOF 14758if ac_fn_cxx_try_cpp "$LINENO"; then : 14759 # Broken: success on invalid input. 14760continue 14761else 14762 # Passes both tests. 14763ac_preproc_ok=: 14764break 14765fi 14766rm -f conftest.err conftest.i conftest.$ac_ext 14767 14768done 14769# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 14770rm -f conftest.i conftest.err conftest.$ac_ext 14771if $ac_preproc_ok; then : 14772 break 14773fi 14774 14775 done 14776 ac_cv_prog_CXXCPP=$CXXCPP 14777 14778fi 14779 CXXCPP=$ac_cv_prog_CXXCPP 14780else 14781 ac_cv_prog_CXXCPP=$CXXCPP 14782fi 14783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 14784$as_echo "$CXXCPP" >&6; } 14785ac_preproc_ok=false 14786for ac_cxx_preproc_warn_flag in '' yes 14787do 14788 # Use a header file that comes with gcc, so configuring glibc 14789 # with a fresh cross-compiler works. 14790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14791 # <limits.h> exists even on freestanding compilers. 14792 # On the NeXT, cc -E runs the code through the compiler's parser, 14793 # not just through cpp. "Syntax error" is here to catch this case. 14794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14795/* end confdefs.h. */ 14796#ifdef __STDC__ 14797# include <limits.h> 14798#else 14799# include <assert.h> 14800#endif 14801 Syntax error 14802_ACEOF 14803if ac_fn_cxx_try_cpp "$LINENO"; then : 14804 14805else 14806 # Broken: fails on valid input. 14807continue 14808fi 14809rm -f conftest.err conftest.i conftest.$ac_ext 14810 14811 # OK, works on sane cases. Now check whether nonexistent headers 14812 # can be detected and how. 14813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14814/* end confdefs.h. */ 14815#include <ac_nonexistent.h> 14816_ACEOF 14817if ac_fn_cxx_try_cpp "$LINENO"; then : 14818 # Broken: success on invalid input. 14819continue 14820else 14821 # Passes both tests. 14822ac_preproc_ok=: 14823break 14824fi 14825rm -f conftest.err conftest.i conftest.$ac_ext 14826 14827done 14828# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 14829rm -f conftest.i conftest.err conftest.$ac_ext 14830if $ac_preproc_ok; then : 14831 14832else 14833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14834$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14835as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 14836See \`config.log' for more details" "$LINENO" 5; } 14837fi 14838 14839ac_ext=c 14840ac_cpp='$CPP $CPPFLAGS' 14841ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14842ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14843ac_compiler_gnu=$ac_cv_c_compiler_gnu 14844 14845else 14846 _lt_caught_CXX_error=yes 14847fi 14848 14849ac_ext=cpp 14850ac_cpp='$CXXCPP $CPPFLAGS' 14851ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14852ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14853ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14854 14855archive_cmds_need_lc_CXX=no 14856allow_undefined_flag_CXX= 14857always_export_symbols_CXX=no 14858archive_expsym_cmds_CXX= 14859compiler_needs_object_CXX=no 14860export_dynamic_flag_spec_CXX= 14861hardcode_direct_CXX=no 14862hardcode_direct_absolute_CXX=no 14863hardcode_libdir_flag_spec_CXX= 14864hardcode_libdir_separator_CXX= 14865hardcode_minus_L_CXX=no 14866hardcode_shlibpath_var_CXX=unsupported 14867hardcode_automatic_CXX=no 14868inherit_rpath_CXX=no 14869module_cmds_CXX= 14870module_expsym_cmds_CXX= 14871link_all_deplibs_CXX=unknown 14872old_archive_cmds_CXX=$old_archive_cmds 14873reload_flag_CXX=$reload_flag 14874reload_cmds_CXX=$reload_cmds 14875no_undefined_flag_CXX= 14876whole_archive_flag_spec_CXX= 14877enable_shared_with_static_runtimes_CXX=no 14878 14879# Source file extension for C++ test sources. 14880ac_ext=cpp 14881 14882# Object file extension for compiled C++ test sources. 14883objext=o 14884objext_CXX=$objext 14885 14886# No sense in running all these tests if we already determined that 14887# the CXX compiler isn't working. Some variables (like enable_shared) 14888# are currently assumed to apply to all compilers on this platform, 14889# and will be corrupted by setting them based on a non-working compiler. 14890if test yes != "$_lt_caught_CXX_error"; then 14891 # Code to be used in simple compile tests 14892 lt_simple_compile_test_code="int some_variable = 0;" 14893 14894 # Code to be used in simple link tests 14895 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 14896 14897 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 14898 14899 14900 14901 14902 14903 14904# If no C compiler was specified, use CC. 14905LTCC=${LTCC-"$CC"} 14906 14907# If no C compiler flags were specified, use CFLAGS. 14908LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 14909 14910# Allow CC to be a program name with arguments. 14911compiler=$CC 14912 14913 14914 # save warnings/boilerplate of simple test code 14915 ac_outfile=conftest.$ac_objext 14916echo "$lt_simple_compile_test_code" >conftest.$ac_ext 14917eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14918_lt_compiler_boilerplate=`cat conftest.err` 14919$RM conftest* 14920 14921 ac_outfile=conftest.$ac_objext 14922echo "$lt_simple_link_test_code" >conftest.$ac_ext 14923eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14924_lt_linker_boilerplate=`cat conftest.err` 14925$RM -r conftest* 14926 14927 14928 # Allow CC to be a program name with arguments. 14929 lt_save_CC=$CC 14930 lt_save_CFLAGS=$CFLAGS 14931 lt_save_LD=$LD 14932 lt_save_GCC=$GCC 14933 GCC=$GXX 14934 lt_save_with_gnu_ld=$with_gnu_ld 14935 lt_save_path_LD=$lt_cv_path_LD 14936 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 14937 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 14938 else 14939 $as_unset lt_cv_prog_gnu_ld 14940 fi 14941 if test -n "${lt_cv_path_LDCXX+set}"; then 14942 lt_cv_path_LD=$lt_cv_path_LDCXX 14943 else 14944 $as_unset lt_cv_path_LD 14945 fi 14946 test -z "${LDCXX+set}" || LD=$LDCXX 14947 CC=${CXX-"c++"} 14948 CFLAGS=$CXXFLAGS 14949 compiler=$CC 14950 compiler_CXX=$CC 14951 func_cc_basename $compiler 14952cc_basename=$func_cc_basename_result 14953 14954 14955 if test -n "$compiler"; then 14956 # We don't want -fno-exception when compiling C++ code, so set the 14957 # no_builtin_flag separately 14958 if test yes = "$GXX"; then 14959 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 14960 else 14961 lt_prog_compiler_no_builtin_flag_CXX= 14962 fi 14963 14964 if test yes = "$GXX"; then 14965 # Set up default GNU C++ configuration 14966 14967 14968 14969# Check whether --with-gnu-ld was given. 14970if test "${with_gnu_ld+set}" = set; then : 14971 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 14972else 14973 with_gnu_ld=no 14974fi 14975 14976ac_prog=ld 14977if test yes = "$GCC"; then 14978 # Check if gcc -print-prog-name=ld gives a path. 14979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 14980$as_echo_n "checking for ld used by $CC... " >&6; } 14981 case $host in 14982 *-*-mingw*) 14983 # gcc leaves a trailing carriage return, which upsets mingw 14984 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 14985 *) 14986 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 14987 esac 14988 case $ac_prog in 14989 # Accept absolute paths. 14990 [\\/]* | ?:[\\/]*) 14991 re_direlt='/[^/][^/]*/\.\./' 14992 # Canonicalize the pathname of ld 14993 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 14994 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 14995 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 14996 done 14997 test -z "$LD" && LD=$ac_prog 14998 ;; 14999 "") 15000 # If it fails, then pretend we aren't using GCC. 15001 ac_prog=ld 15002 ;; 15003 *) 15004 # If it is relative, then search for the first ld in PATH. 15005 with_gnu_ld=unknown 15006 ;; 15007 esac 15008elif test yes = "$with_gnu_ld"; then 15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 15010$as_echo_n "checking for GNU ld... " >&6; } 15011else 15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 15013$as_echo_n "checking for non-GNU ld... " >&6; } 15014fi 15015if ${lt_cv_path_LD+:} false; then : 15016 $as_echo_n "(cached) " >&6 15017else 15018 if test -z "$LD"; then 15019 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 15020 for ac_dir in $PATH; do 15021 IFS=$lt_save_ifs 15022 test -z "$ac_dir" && ac_dir=. 15023 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 15024 lt_cv_path_LD=$ac_dir/$ac_prog 15025 # Check to see if the program is GNU ld. I'd rather use --version, 15026 # but apparently some variants of GNU ld only accept -v. 15027 # Break only if it was the GNU/non-GNU ld that we prefer. 15028 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 15029 *GNU* | *'with BFD'*) 15030 test no != "$with_gnu_ld" && break 15031 ;; 15032 *) 15033 test yes != "$with_gnu_ld" && break 15034 ;; 15035 esac 15036 fi 15037 done 15038 IFS=$lt_save_ifs 15039else 15040 lt_cv_path_LD=$LD # Let the user override the test with a path. 15041fi 15042fi 15043 15044LD=$lt_cv_path_LD 15045if test -n "$LD"; then 15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 15047$as_echo "$LD" >&6; } 15048else 15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15050$as_echo "no" >&6; } 15051fi 15052test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 15053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 15054$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 15055if ${lt_cv_prog_gnu_ld+:} false; then : 15056 $as_echo_n "(cached) " >&6 15057else 15058 # I'd rather use --version here, but apparently some GNU lds only accept -v. 15059case `$LD -v 2>&1 </dev/null` in 15060*GNU* | *'with BFD'*) 15061 lt_cv_prog_gnu_ld=yes 15062 ;; 15063*) 15064 lt_cv_prog_gnu_ld=no 15065 ;; 15066esac 15067fi 15068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 15069$as_echo "$lt_cv_prog_gnu_ld" >&6; } 15070with_gnu_ld=$lt_cv_prog_gnu_ld 15071 15072 15073 15074 15075 15076 15077 15078 # Check if GNU C++ uses GNU ld as the underlying linker, since the 15079 # archiving commands below assume that GNU ld is being used. 15080 if test yes = "$with_gnu_ld"; then 15081 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15082 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' 15083 15084 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15085 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15086 15087 # If archive_cmds runs LD, not CC, wlarc should be empty 15088 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 15089 # investigate it a little bit more. (MM) 15090 wlarc='$wl' 15091 15092 # ancient GNU ld didn't support --whole-archive et. al. 15093 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 15094 $GREP 'no-whole-archive' > /dev/null; then 15095 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 15096 else 15097 whole_archive_flag_spec_CXX= 15098 fi 15099 else 15100 with_gnu_ld=no 15101 wlarc= 15102 15103 # A generic and very simple default shared library creation 15104 # command for GNU C++ for the case where it uses the native 15105 # linker, instead of GNU ld. If possible, this setting should 15106 # overridden to take advantage of the native linker features on 15107 # the platform it is being used on. 15108 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 15109 fi 15110 15111 # Commands to make compiler produce verbose output that lists 15112 # what "hidden" libraries, object files and flags are used when 15113 # linking a shared library. 15114 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15115 15116 else 15117 GXX=no 15118 with_gnu_ld=no 15119 wlarc= 15120 fi 15121 15122 # PORTME: fill in a description of your system's C++ link characteristics 15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15124$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15125 ld_shlibs_CXX=yes 15126 case $host_os in 15127 aix3*) 15128 # FIXME: insert proper C++ library support 15129 ld_shlibs_CXX=no 15130 ;; 15131 aix[4-9]*) 15132 if test ia64 = "$host_cpu"; then 15133 # On IA64, the linker does run time linking by default, so we don't 15134 # have to do anything special. 15135 aix_use_runtimelinking=no 15136 exp_sym_flag='-Bexport' 15137 no_entry_flag= 15138 else 15139 aix_use_runtimelinking=no 15140 15141 # Test if we are trying to use run time linking or normal 15142 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 15143 # have runtime linking enabled, and use it for executables. 15144 # For shared libraries, we enable/disable runtime linking 15145 # depending on the kind of the shared library created - 15146 # when "with_aix_soname,aix_use_runtimelinking" is: 15147 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 15148 # "aix,yes" lib.so shared, rtl:yes, for executables 15149 # lib.a static archive 15150 # "both,no" lib.so.V(shr.o) shared, rtl:yes 15151 # lib.a(lib.so.V) shared, rtl:no, for executables 15152 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 15153 # lib.a(lib.so.V) shared, rtl:no 15154 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 15155 # lib.a static archive 15156 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 15157 for ld_flag in $LDFLAGS; do 15158 case $ld_flag in 15159 *-brtl*) 15160 aix_use_runtimelinking=yes 15161 break 15162 ;; 15163 esac 15164 done 15165 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 15166 # With aix-soname=svr4, we create the lib.so.V shared archives only, 15167 # so we don't have lib.a shared libs to link our executables. 15168 # We have to force runtime linking in this case. 15169 aix_use_runtimelinking=yes 15170 LDFLAGS="$LDFLAGS -Wl,-brtl" 15171 fi 15172 ;; 15173 esac 15174 15175 exp_sym_flag='-bexport' 15176 no_entry_flag='-bnoentry' 15177 fi 15178 15179 # When large executables or shared objects are built, AIX ld can 15180 # have problems creating the table of contents. If linking a library 15181 # or program results in "error TOC overflow" add -mminimal-toc to 15182 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 15183 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 15184 15185 archive_cmds_CXX='' 15186 hardcode_direct_CXX=yes 15187 hardcode_direct_absolute_CXX=yes 15188 hardcode_libdir_separator_CXX=':' 15189 link_all_deplibs_CXX=yes 15190 file_list_spec_CXX='$wl-f,' 15191 case $with_aix_soname,$aix_use_runtimelinking in 15192 aix,*) ;; # no import file 15193 svr4,* | *,yes) # use import file 15194 # The Import File defines what to hardcode. 15195 hardcode_direct_CXX=no 15196 hardcode_direct_absolute_CXX=no 15197 ;; 15198 esac 15199 15200 if test yes = "$GXX"; then 15201 case $host_os in aix4.[012]|aix4.[012].*) 15202 # We only want to do this on AIX 4.2 and lower, the check 15203 # below for broken collect2 doesn't work under 4.3+ 15204 collect2name=`$CC -print-prog-name=collect2` 15205 if test -f "$collect2name" && 15206 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 15207 then 15208 # We have reworked collect2 15209 : 15210 else 15211 # We have old collect2 15212 hardcode_direct_CXX=unsupported 15213 # It fails to find uninstalled libraries when the uninstalled 15214 # path is not listed in the libpath. Setting hardcode_minus_L 15215 # to unsupported forces relinking 15216 hardcode_minus_L_CXX=yes 15217 hardcode_libdir_flag_spec_CXX='-L$libdir' 15218 hardcode_libdir_separator_CXX= 15219 fi 15220 esac 15221 shared_flag='-shared' 15222 if test yes = "$aix_use_runtimelinking"; then 15223 shared_flag=$shared_flag' $wl-G' 15224 fi 15225 # Need to ensure runtime linking is disabled for the traditional 15226 # shared library, or the linker may eventually find shared libraries 15227 # /with/ Import File - we do not want to mix them. 15228 shared_flag_aix='-shared' 15229 shared_flag_svr4='-shared $wl-G' 15230 else 15231 # not using gcc 15232 if test ia64 = "$host_cpu"; then 15233 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 15234 # chokes on -Wl,-G. The following line is correct: 15235 shared_flag='-G' 15236 else 15237 if test yes = "$aix_use_runtimelinking"; then 15238 shared_flag='$wl-G' 15239 else 15240 shared_flag='$wl-bM:SRE' 15241 fi 15242 shared_flag_aix='$wl-bM:SRE' 15243 shared_flag_svr4='$wl-G' 15244 fi 15245 fi 15246 15247 export_dynamic_flag_spec_CXX='$wl-bexpall' 15248 # It seems that -bexpall does not export symbols beginning with 15249 # underscore (_), so it is better to generate a list of symbols to 15250 # export. 15251 always_export_symbols_CXX=yes 15252 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 15253 # Warning - without using the other runtime loading flags (-brtl), 15254 # -berok will link without error, but may produce a broken library. 15255 # The "-G" linker flag allows undefined symbols. 15256 no_undefined_flag_CXX='-bernotok' 15257 # Determine the default libpath from the value encoded in an empty 15258 # executable. 15259 if test set = "${lt_cv_aix_libpath+set}"; then 15260 aix_libpath=$lt_cv_aix_libpath 15261else 15262 if ${lt_cv_aix_libpath__CXX+:} false; then : 15263 $as_echo_n "(cached) " >&6 15264else 15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15266/* end confdefs.h. */ 15267 15268int 15269main () 15270{ 15271 15272 ; 15273 return 0; 15274} 15275_ACEOF 15276if ac_fn_cxx_try_link "$LINENO"; then : 15277 15278 lt_aix_libpath_sed=' 15279 /Import File Strings/,/^$/ { 15280 /^0/ { 15281 s/^0 *\([^ ]*\) *$/\1/ 15282 p 15283 } 15284 }' 15285 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15286 # Check for a 64-bit object if we didn't find anything. 15287 if test -z "$lt_cv_aix_libpath__CXX"; then 15288 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15289 fi 15290fi 15291rm -f core conftest.err conftest.$ac_objext \ 15292 conftest$ac_exeext conftest.$ac_ext 15293 if test -z "$lt_cv_aix_libpath__CXX"; then 15294 lt_cv_aix_libpath__CXX=/usr/lib:/lib 15295 fi 15296 15297fi 15298 15299 aix_libpath=$lt_cv_aix_libpath__CXX 15300fi 15301 15302 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 15303 15304 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 15305 else 15306 if test ia64 = "$host_cpu"; then 15307 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 15308 allow_undefined_flag_CXX="-z nodefs" 15309 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" 15310 else 15311 # Determine the default libpath from the value encoded in an 15312 # empty executable. 15313 if test set = "${lt_cv_aix_libpath+set}"; then 15314 aix_libpath=$lt_cv_aix_libpath 15315else 15316 if ${lt_cv_aix_libpath__CXX+:} false; then : 15317 $as_echo_n "(cached) " >&6 15318else 15319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15320/* end confdefs.h. */ 15321 15322int 15323main () 15324{ 15325 15326 ; 15327 return 0; 15328} 15329_ACEOF 15330if ac_fn_cxx_try_link "$LINENO"; then : 15331 15332 lt_aix_libpath_sed=' 15333 /Import File Strings/,/^$/ { 15334 /^0/ { 15335 s/^0 *\([^ ]*\) *$/\1/ 15336 p 15337 } 15338 }' 15339 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15340 # Check for a 64-bit object if we didn't find anything. 15341 if test -z "$lt_cv_aix_libpath__CXX"; then 15342 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15343 fi 15344fi 15345rm -f core conftest.err conftest.$ac_objext \ 15346 conftest$ac_exeext conftest.$ac_ext 15347 if test -z "$lt_cv_aix_libpath__CXX"; then 15348 lt_cv_aix_libpath__CXX=/usr/lib:/lib 15349 fi 15350 15351fi 15352 15353 aix_libpath=$lt_cv_aix_libpath__CXX 15354fi 15355 15356 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 15357 # Warning - without using the other run time loading flags, 15358 # -berok will link without error, but may produce a broken library. 15359 no_undefined_flag_CXX=' $wl-bernotok' 15360 allow_undefined_flag_CXX=' $wl-berok' 15361 if test yes = "$with_gnu_ld"; then 15362 # We only use this code for GNU lds that support --whole-archive. 15363 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 15364 else 15365 # Exported symbols can be pulled into shared objects from archives 15366 whole_archive_flag_spec_CXX='$convenience' 15367 fi 15368 archive_cmds_need_lc_CXX=yes 15369 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 15370 # -brtl affects multiple linker settings, -berok does not and is overridden later 15371 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 15372 if test svr4 != "$with_aix_soname"; then 15373 # This is similar to how AIX traditionally builds its shared 15374 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 15375 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' 15376 fi 15377 if test aix != "$with_aix_soname"; then 15378 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' 15379 else 15380 # used by -dlpreopen to get the symbols 15381 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 15382 fi 15383 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 15384 fi 15385 fi 15386 ;; 15387 15388 beos*) 15389 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 15390 allow_undefined_flag_CXX=unsupported 15391 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 15392 # support --undefined. This deserves some investigation. FIXME 15393 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15394 else 15395 ld_shlibs_CXX=no 15396 fi 15397 ;; 15398 15399 chorus*) 15400 case $cc_basename in 15401 *) 15402 # FIXME: insert proper C++ library support 15403 ld_shlibs_CXX=no 15404 ;; 15405 esac 15406 ;; 15407 15408 cygwin* | mingw* | pw32* | cegcc*) 15409 case $GXX,$cc_basename in 15410 ,cl* | no,cl*) 15411 # Native MSVC 15412 # hardcode_libdir_flag_spec is actually meaningless, as there is 15413 # no search path for DLLs. 15414 hardcode_libdir_flag_spec_CXX=' ' 15415 allow_undefined_flag_CXX=unsupported 15416 always_export_symbols_CXX=yes 15417 file_list_spec_CXX='@' 15418 # Tell ltmain to make .lib files, not .a files. 15419 libext=lib 15420 # Tell ltmain to make .dll files, not .so files. 15421 shrext_cmds=.dll 15422 # FIXME: Setting linknames here is a bad hack. 15423 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 15424 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 15425 cp "$export_symbols" "$output_objdir/$soname.def"; 15426 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 15427 else 15428 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 15429 fi~ 15430 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 15431 linknames=' 15432 # The linker will not automatically build a static lib if we build a DLL. 15433 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 15434 enable_shared_with_static_runtimes_CXX=yes 15435 # Don't use ranlib 15436 old_postinstall_cmds_CXX='chmod 644 $oldlib' 15437 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 15438 lt_tool_outputfile="@TOOL_OUTPUT@"~ 15439 case $lt_outputfile in 15440 *.exe|*.EXE) ;; 15441 *) 15442 lt_outputfile=$lt_outputfile.exe 15443 lt_tool_outputfile=$lt_tool_outputfile.exe 15444 ;; 15445 esac~ 15446 func_to_tool_file "$lt_outputfile"~ 15447 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 15448 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 15449 $RM "$lt_outputfile.manifest"; 15450 fi' 15451 ;; 15452 *) 15453 # g++ 15454 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 15455 # as there is no search path for DLLs. 15456 hardcode_libdir_flag_spec_CXX='-L$libdir' 15457 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 15458 allow_undefined_flag_CXX=unsupported 15459 always_export_symbols_CXX=no 15460 enable_shared_with_static_runtimes_CXX=yes 15461 15462 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 15463 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' 15464 # If the export-symbols file already is a .def file, use it as 15465 # is; otherwise, prepend EXPORTS... 15466 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 15467 cp $export_symbols $output_objdir/$soname.def; 15468 else 15469 echo EXPORTS > $output_objdir/$soname.def; 15470 cat $export_symbols >> $output_objdir/$soname.def; 15471 fi~ 15472 $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' 15473 else 15474 ld_shlibs_CXX=no 15475 fi 15476 ;; 15477 esac 15478 ;; 15479 darwin* | rhapsody*) 15480 15481 15482 archive_cmds_need_lc_CXX=no 15483 hardcode_direct_CXX=no 15484 hardcode_automatic_CXX=yes 15485 hardcode_shlibpath_var_CXX=unsupported 15486 if test yes = "$lt_cv_ld_force_load"; then 15487 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\"`' 15488 15489 else 15490 whole_archive_flag_spec_CXX='' 15491 fi 15492 link_all_deplibs_CXX=yes 15493 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 15494 case $cc_basename in 15495 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 15496 *) _lt_dar_can_shared=$GCC ;; 15497 esac 15498 if test yes = "$_lt_dar_can_shared"; then 15499 output_verbose_link_cmd=func_echo_all 15500 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" 15501 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 15502 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" 15503 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" 15504 if test yes != "$lt_cv_apple_cc_single_mod"; then 15505 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" 15506 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" 15507 fi 15508 15509 else 15510 ld_shlibs_CXX=no 15511 fi 15512 15513 ;; 15514 15515 os2*) 15516 hardcode_libdir_flag_spec_CXX='-L$libdir' 15517 hardcode_minus_L_CXX=yes 15518 allow_undefined_flag_CXX=unsupported 15519 shrext_cmds=.dll 15520 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 15521 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 15522 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 15523 $ECHO EXPORTS >> $output_objdir/$libname.def~ 15524 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 15525 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 15526 emximp -o $lib $output_objdir/$libname.def' 15527 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 15528 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 15529 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 15530 $ECHO EXPORTS >> $output_objdir/$libname.def~ 15531 prefix_cmds="$SED"~ 15532 if test EXPORTS = "`$SED 1q $export_symbols`"; then 15533 prefix_cmds="$prefix_cmds -e 1d"; 15534 fi~ 15535 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 15536 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 15537 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 15538 emximp -o $lib $output_objdir/$libname.def' 15539 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 15540 enable_shared_with_static_runtimes_CXX=yes 15541 ;; 15542 15543 dgux*) 15544 case $cc_basename in 15545 ec++*) 15546 # FIXME: insert proper C++ library support 15547 ld_shlibs_CXX=no 15548 ;; 15549 ghcx*) 15550 # Green Hills C++ Compiler 15551 # FIXME: insert proper C++ library support 15552 ld_shlibs_CXX=no 15553 ;; 15554 *) 15555 # FIXME: insert proper C++ library support 15556 ld_shlibs_CXX=no 15557 ;; 15558 esac 15559 ;; 15560 15561 freebsd2.*) 15562 # C++ shared libraries reported to be fairly broken before 15563 # switch to ELF 15564 ld_shlibs_CXX=no 15565 ;; 15566 15567 freebsd-elf*) 15568 archive_cmds_need_lc_CXX=no 15569 ;; 15570 15571 freebsd* | dragonfly*) 15572 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 15573 # conventions 15574 ld_shlibs_CXX=yes 15575 ;; 15576 15577 haiku*) 15578 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15579 link_all_deplibs_CXX=yes 15580 ;; 15581 15582 hpux9*) 15583 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 15584 hardcode_libdir_separator_CXX=: 15585 export_dynamic_flag_spec_CXX='$wl-E' 15586 hardcode_direct_CXX=yes 15587 hardcode_minus_L_CXX=yes # Not in the search PATH, 15588 # but as the default 15589 # location of the library. 15590 15591 case $cc_basename in 15592 CC*) 15593 # FIXME: insert proper C++ library support 15594 ld_shlibs_CXX=no 15595 ;; 15596 aCC*) 15597 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' 15598 # Commands to make compiler produce verbose output that lists 15599 # what "hidden" libraries, object files and flags are used when 15600 # linking a shared library. 15601 # 15602 # There doesn't appear to be a way to prevent this compiler from 15603 # explicitly linking system object files so we need to strip them 15604 # from the output so that they don't get included in the library 15605 # dependencies. 15606 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"' 15607 ;; 15608 *) 15609 if test yes = "$GXX"; then 15610 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' 15611 else 15612 # FIXME: insert proper C++ library support 15613 ld_shlibs_CXX=no 15614 fi 15615 ;; 15616 esac 15617 ;; 15618 15619 hpux10*|hpux11*) 15620 if test no = "$with_gnu_ld"; then 15621 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 15622 hardcode_libdir_separator_CXX=: 15623 15624 case $host_cpu in 15625 hppa*64*|ia64*) 15626 ;; 15627 *) 15628 export_dynamic_flag_spec_CXX='$wl-E' 15629 ;; 15630 esac 15631 fi 15632 case $host_cpu in 15633 hppa*64*|ia64*) 15634 hardcode_direct_CXX=no 15635 hardcode_shlibpath_var_CXX=no 15636 ;; 15637 *) 15638 hardcode_direct_CXX=yes 15639 hardcode_direct_absolute_CXX=yes 15640 hardcode_minus_L_CXX=yes # Not in the search PATH, 15641 # but as the default 15642 # location of the library. 15643 ;; 15644 esac 15645 15646 case $cc_basename in 15647 CC*) 15648 # FIXME: insert proper C++ library support 15649 ld_shlibs_CXX=no 15650 ;; 15651 aCC*) 15652 case $host_cpu in 15653 hppa*64*) 15654 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15655 ;; 15656 ia64*) 15657 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15658 ;; 15659 *) 15660 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15661 ;; 15662 esac 15663 # Commands to make compiler produce verbose output that lists 15664 # what "hidden" libraries, object files and flags are used when 15665 # linking a shared library. 15666 # 15667 # There doesn't appear to be a way to prevent this compiler from 15668 # explicitly linking system object files so we need to strip them 15669 # from the output so that they don't get included in the library 15670 # dependencies. 15671 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"' 15672 ;; 15673 *) 15674 if test yes = "$GXX"; then 15675 if test no = "$with_gnu_ld"; then 15676 case $host_cpu in 15677 hppa*64*) 15678 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15679 ;; 15680 ia64*) 15681 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15682 ;; 15683 *) 15684 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' 15685 ;; 15686 esac 15687 fi 15688 else 15689 # FIXME: insert proper C++ library support 15690 ld_shlibs_CXX=no 15691 fi 15692 ;; 15693 esac 15694 ;; 15695 15696 interix[3-9]*) 15697 hardcode_direct_CXX=no 15698 hardcode_shlibpath_var_CXX=no 15699 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15700 export_dynamic_flag_spec_CXX='$wl-E' 15701 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 15702 # Instead, shared libraries are loaded at an image base (0x10000000 by 15703 # default) and relocated if they conflict, which is a slow very memory 15704 # consuming and fragmenting process. To avoid this, we pick a random, 15705 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 15706 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 15707 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' 15708 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' 15709 ;; 15710 irix5* | irix6*) 15711 case $cc_basename in 15712 CC*) 15713 # SGI C++ 15714 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' 15715 15716 # Archives containing C++ object files must be created using 15717 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 15718 # necessary to make sure instantiated templates are included 15719 # in the archive. 15720 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 15721 ;; 15722 *) 15723 if test yes = "$GXX"; then 15724 if test no = "$with_gnu_ld"; then 15725 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' 15726 else 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"` -o $lib' 15728 fi 15729 fi 15730 link_all_deplibs_CXX=yes 15731 ;; 15732 esac 15733 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15734 hardcode_libdir_separator_CXX=: 15735 inherit_rpath_CXX=yes 15736 ;; 15737 15738 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15739 case $cc_basename in 15740 KCC*) 15741 # Kuck and Associates, Inc. (KAI) C++ Compiler 15742 15743 # KCC will only create a shared library if the output file 15744 # ends with ".so" (or ".sl" for HP-UX), so rename the library 15745 # to its proper name (with version) after linking. 15746 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' 15747 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' 15748 # Commands to make compiler produce verbose output that lists 15749 # what "hidden" libraries, object files and flags are used when 15750 # linking a shared library. 15751 # 15752 # There doesn't appear to be a way to prevent this compiler from 15753 # explicitly linking system object files so we need to strip them 15754 # from the output so that they don't get included in the library 15755 # dependencies. 15756 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"' 15757 15758 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15759 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15760 15761 # Archives containing C++ object files must be created using 15762 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 15763 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 15764 ;; 15765 icpc* | ecpc* ) 15766 # Intel C++ 15767 with_gnu_ld=yes 15768 # version 8.0 and above of icpc choke on multiply defined symbols 15769 # if we add $predep_objects and $postdep_objects, however 7.1 and 15770 # earlier do not add the objects themselves. 15771 case `$CC -V 2>&1` in 15772 *"Version 7."*) 15773 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15774 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' 15775 ;; 15776 *) # Version 8.0 or newer 15777 tmp_idyn= 15778 case $host_cpu in 15779 ia64*) tmp_idyn=' -i_dynamic';; 15780 esac 15781 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15782 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' 15783 ;; 15784 esac 15785 archive_cmds_need_lc_CXX=no 15786 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15787 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15788 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 15789 ;; 15790 pgCC* | pgcpp*) 15791 # Portland Group C++ compiler 15792 case `$CC -V` in 15793 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 15794 prelink_cmds_CXX='tpldir=Template.dir~ 15795 rm -rf $tpldir~ 15796 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 15797 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 15798 old_archive_cmds_CXX='tpldir=Template.dir~ 15799 rm -rf $tpldir~ 15800 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 15801 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 15802 $RANLIB $oldlib' 15803 archive_cmds_CXX='tpldir=Template.dir~ 15804 rm -rf $tpldir~ 15805 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 15806 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15807 archive_expsym_cmds_CXX='tpldir=Template.dir~ 15808 rm -rf $tpldir~ 15809 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 15810 $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' 15811 ;; 15812 *) # Version 6 and above use weak symbols 15813 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15814 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' 15815 ;; 15816 esac 15817 15818 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 15819 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15820 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' 15821 ;; 15822 cxx*) 15823 # Compaq C++ 15824 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15825 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' 15826 15827 runpath_var=LD_RUN_PATH 15828 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 15829 hardcode_libdir_separator_CXX=: 15830 15831 # Commands to make compiler produce verbose output that lists 15832 # what "hidden" libraries, object files and flags are used when 15833 # linking a shared library. 15834 # 15835 # There doesn't appear to be a way to prevent this compiler from 15836 # explicitly linking system object files so we need to strip them 15837 # from the output so that they don't get included in the library 15838 # dependencies. 15839 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' 15840 ;; 15841 xl* | mpixl* | bgxl*) 15842 # IBM XL 8.0 on PPC, with GNU ld 15843 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15844 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15845 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15846 if test yes = "$supports_anon_versioning"; then 15847 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 15848 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 15849 echo "local: *; };" >> $output_objdir/$libname.ver~ 15850 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 15851 fi 15852 ;; 15853 *) 15854 case `$CC -V 2>&1 | sed 5q` in 15855 *Sun\ C*) 15856 # Sun C++ 5.9 15857 no_undefined_flag_CXX=' -zdefs' 15858 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15859 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' 15860 hardcode_libdir_flag_spec_CXX='-R$libdir' 15861 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' 15862 compiler_needs_object_CXX=yes 15863 15864 # Not sure whether something based on 15865 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 15866 # would be better. 15867 output_verbose_link_cmd='func_echo_all' 15868 15869 # Archives containing C++ object files must be created using 15870 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15871 # necessary to make sure instantiated templates are included 15872 # in the archive. 15873 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15874 ;; 15875 esac 15876 ;; 15877 esac 15878 ;; 15879 15880 lynxos*) 15881 # FIXME: insert proper C++ library support 15882 ld_shlibs_CXX=no 15883 ;; 15884 15885 m88k*) 15886 # FIXME: insert proper C++ library support 15887 ld_shlibs_CXX=no 15888 ;; 15889 15890 mvs*) 15891 case $cc_basename in 15892 cxx*) 15893 # FIXME: insert proper C++ library support 15894 ld_shlibs_CXX=no 15895 ;; 15896 *) 15897 # FIXME: insert proper C++ library support 15898 ld_shlibs_CXX=no 15899 ;; 15900 esac 15901 ;; 15902 15903 netbsd*) 15904 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15905 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 15906 wlarc= 15907 hardcode_libdir_flag_spec_CXX='-R$libdir' 15908 hardcode_direct_CXX=yes 15909 hardcode_shlibpath_var_CXX=no 15910 fi 15911 # Workaround some broken pre-1.5 toolchains 15912 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 15913 ;; 15914 15915 *nto* | *qnx*) 15916 ld_shlibs_CXX=yes 15917 ;; 15918 15919 openbsd* | bitrig*) 15920 if test -f /usr/libexec/ld.so; then 15921 hardcode_direct_CXX=yes 15922 hardcode_shlibpath_var_CXX=no 15923 hardcode_direct_absolute_CXX=yes 15924 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 15925 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15926 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 15927 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 15928 export_dynamic_flag_spec_CXX='$wl-E' 15929 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 15930 fi 15931 output_verbose_link_cmd=func_echo_all 15932 else 15933 ld_shlibs_CXX=no 15934 fi 15935 ;; 15936 15937 osf3* | osf4* | osf5*) 15938 case $cc_basename in 15939 KCC*) 15940 # Kuck and Associates, Inc. (KAI) C++ Compiler 15941 15942 # KCC will only create a shared library if the output file 15943 # ends with ".so" (or ".sl" for HP-UX), so rename the library 15944 # to its proper name (with version) after linking. 15945 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' 15946 15947 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15948 hardcode_libdir_separator_CXX=: 15949 15950 # Archives containing C++ object files must be created using 15951 # the KAI C++ compiler. 15952 case $host in 15953 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 15954 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 15955 esac 15956 ;; 15957 RCC*) 15958 # Rational C++ 2.4.1 15959 # FIXME: insert proper C++ library support 15960 ld_shlibs_CXX=no 15961 ;; 15962 cxx*) 15963 case $host in 15964 osf3*) 15965 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 15966 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' 15967 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15968 ;; 15969 *) 15970 allow_undefined_flag_CXX=' -expect_unresolved \*' 15971 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' 15972 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 15973 echo "-hidden">> $lib.exp~ 15974 $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~ 15975 $RM $lib.exp' 15976 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 15977 ;; 15978 esac 15979 15980 hardcode_libdir_separator_CXX=: 15981 15982 # Commands to make compiler produce verbose output that lists 15983 # what "hidden" libraries, object files and flags are used when 15984 # linking a shared library. 15985 # 15986 # There doesn't appear to be a way to prevent this compiler from 15987 # explicitly linking system object files so we need to strip them 15988 # from the output so that they don't get included in the library 15989 # dependencies. 15990 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"' 15991 ;; 15992 *) 15993 if test yes,no = "$GXX,$with_gnu_ld"; then 15994 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 15995 case $host in 15996 osf3*) 15997 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' 15998 ;; 15999 *) 16000 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' 16001 ;; 16002 esac 16003 16004 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 16005 hardcode_libdir_separator_CXX=: 16006 16007 # Commands to make compiler produce verbose output that lists 16008 # what "hidden" libraries, object files and flags are used when 16009 # linking a shared library. 16010 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16011 16012 else 16013 # FIXME: insert proper C++ library support 16014 ld_shlibs_CXX=no 16015 fi 16016 ;; 16017 esac 16018 ;; 16019 16020 psos*) 16021 # FIXME: insert proper C++ library support 16022 ld_shlibs_CXX=no 16023 ;; 16024 16025 sunos4*) 16026 case $cc_basename in 16027 CC*) 16028 # Sun C++ 4.x 16029 # FIXME: insert proper C++ library support 16030 ld_shlibs_CXX=no 16031 ;; 16032 lcc*) 16033 # Lucid 16034 # FIXME: insert proper C++ library support 16035 ld_shlibs_CXX=no 16036 ;; 16037 *) 16038 # FIXME: insert proper C++ library support 16039 ld_shlibs_CXX=no 16040 ;; 16041 esac 16042 ;; 16043 16044 solaris*) 16045 case $cc_basename in 16046 CC* | sunCC*) 16047 # Sun C++ 4.2, 5.x and Centerline C++ 16048 archive_cmds_need_lc_CXX=yes 16049 no_undefined_flag_CXX=' -zdefs' 16050 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 16051 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 16052 $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' 16053 16054 hardcode_libdir_flag_spec_CXX='-R$libdir' 16055 hardcode_shlibpath_var_CXX=no 16056 case $host_os in 16057 solaris2.[0-5] | solaris2.[0-5].*) ;; 16058 *) 16059 # The compiler driver will combine and reorder linker options, 16060 # but understands '-z linker_flag'. 16061 # Supported since Solaris 2.6 (maybe 2.5.1?) 16062 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 16063 ;; 16064 esac 16065 link_all_deplibs_CXX=yes 16066 16067 output_verbose_link_cmd='func_echo_all' 16068 16069 # Archives containing C++ object files must be created using 16070 # "CC -xar", where "CC" is the Sun C++ compiler. This is 16071 # necessary to make sure instantiated templates are included 16072 # in the archive. 16073 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 16074 ;; 16075 gcx*) 16076 # Green Hills C++ Compiler 16077 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 16078 16079 # The C++ compiler must be used to create the archive. 16080 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 16081 ;; 16082 *) 16083 # GNU C++ compiler with Solaris linker 16084 if test yes,no = "$GXX,$with_gnu_ld"; then 16085 no_undefined_flag_CXX=' $wl-z ${wl}defs' 16086 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 16087 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 16088 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 16089 $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' 16090 16091 # Commands to make compiler produce verbose output that lists 16092 # what "hidden" libraries, object files and flags are used when 16093 # linking a shared library. 16094 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16095 else 16096 # g++ 2.7 appears to require '-G' NOT '-shared' on this 16097 # platform. 16098 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 16099 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 16100 $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' 16101 16102 # Commands to make compiler produce verbose output that lists 16103 # what "hidden" libraries, object files and flags are used when 16104 # linking a shared library. 16105 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16106 fi 16107 16108 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 16109 case $host_os in 16110 solaris2.[0-5] | solaris2.[0-5].*) ;; 16111 *) 16112 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 16113 ;; 16114 esac 16115 fi 16116 ;; 16117 esac 16118 ;; 16119 16120 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 16121 no_undefined_flag_CXX='$wl-z,text' 16122 archive_cmds_need_lc_CXX=no 16123 hardcode_shlibpath_var_CXX=no 16124 runpath_var='LD_RUN_PATH' 16125 16126 case $cc_basename in 16127 CC*) 16128 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16129 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16130 ;; 16131 *) 16132 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16133 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16134 ;; 16135 esac 16136 ;; 16137 16138 sysv5* | sco3.2v5* | sco5v6*) 16139 # Note: We CANNOT use -z defs as we might desire, because we do not 16140 # link with -lc, and that would cause any symbols used from libc to 16141 # always be unresolved, which means just about no library would 16142 # ever link correctly. If we're not using GNU ld we use -z text 16143 # though, which does catch some bad symbols but isn't as heavy-handed 16144 # as -z defs. 16145 no_undefined_flag_CXX='$wl-z,text' 16146 allow_undefined_flag_CXX='$wl-z,nodefs' 16147 archive_cmds_need_lc_CXX=no 16148 hardcode_shlibpath_var_CXX=no 16149 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 16150 hardcode_libdir_separator_CXX=':' 16151 link_all_deplibs_CXX=yes 16152 export_dynamic_flag_spec_CXX='$wl-Bexport' 16153 runpath_var='LD_RUN_PATH' 16154 16155 case $cc_basename in 16156 CC*) 16157 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16158 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16159 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 16160 '"$old_archive_cmds_CXX" 16161 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 16162 '"$reload_cmds_CXX" 16163 ;; 16164 *) 16165 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16166 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16167 ;; 16168 esac 16169 ;; 16170 16171 tandem*) 16172 case $cc_basename in 16173 NCC*) 16174 # NonStop-UX NCC 3.20 16175 # FIXME: insert proper C++ library support 16176 ld_shlibs_CXX=no 16177 ;; 16178 *) 16179 # FIXME: insert proper C++ library support 16180 ld_shlibs_CXX=no 16181 ;; 16182 esac 16183 ;; 16184 16185 vxworks*) 16186 # FIXME: insert proper C++ library support 16187 ld_shlibs_CXX=no 16188 ;; 16189 16190 *) 16191 # FIXME: insert proper C++ library support 16192 ld_shlibs_CXX=no 16193 ;; 16194 esac 16195 16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 16197$as_echo "$ld_shlibs_CXX" >&6; } 16198 test no = "$ld_shlibs_CXX" && can_build_shared=no 16199 16200 GCC_CXX=$GXX 16201 LD_CXX=$LD 16202 16203 ## CAVEAT EMPTOR: 16204 ## There is no encapsulation within the following macros, do not change 16205 ## the running order or otherwise move them around unless you know exactly 16206 ## what you are doing... 16207 # Dependencies to place before and after the object being linked: 16208predep_objects_CXX= 16209postdep_objects_CXX= 16210predeps_CXX= 16211postdeps_CXX= 16212compiler_lib_search_path_CXX= 16213 16214cat > conftest.$ac_ext <<_LT_EOF 16215class Foo 16216{ 16217public: 16218 Foo (void) { a = 0; } 16219private: 16220 int a; 16221}; 16222_LT_EOF 16223 16224 16225_lt_libdeps_save_CFLAGS=$CFLAGS 16226case "$CC $CFLAGS " in #( 16227*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 16228*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 16229*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 16230esac 16231 16232if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 16233 (eval $ac_compile) 2>&5 16234 ac_status=$? 16235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16236 test $ac_status = 0; }; then 16237 # Parse the compiler output and extract the necessary 16238 # objects, libraries and library flags. 16239 16240 # Sentinel used to keep track of whether or not we are before 16241 # the conftest object file. 16242 pre_test_object_deps_done=no 16243 16244 for p in `eval "$output_verbose_link_cmd"`; do 16245 case $prev$p in 16246 16247 -L* | -R* | -l*) 16248 # Some compilers place space between "-{L,R}" and the path. 16249 # Remove the space. 16250 if test x-L = "$p" || 16251 test x-R = "$p"; then 16252 prev=$p 16253 continue 16254 fi 16255 16256 # Expand the sysroot to ease extracting the directories later. 16257 if test -z "$prev"; then 16258 case $p in 16259 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 16260 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 16261 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 16262 esac 16263 fi 16264 case $p in 16265 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 16266 esac 16267 if test no = "$pre_test_object_deps_done"; then 16268 case $prev in 16269 -L | -R) 16270 # Internal compiler library paths should come after those 16271 # provided the user. The postdeps already come after the 16272 # user supplied libs so there is no need to process them. 16273 if test -z "$compiler_lib_search_path_CXX"; then 16274 compiler_lib_search_path_CXX=$prev$p 16275 else 16276 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 16277 fi 16278 ;; 16279 # The "-l" case would never come before the object being 16280 # linked, so don't bother handling this case. 16281 esac 16282 else 16283 if test -z "$postdeps_CXX"; then 16284 postdeps_CXX=$prev$p 16285 else 16286 postdeps_CXX="${postdeps_CXX} $prev$p" 16287 fi 16288 fi 16289 prev= 16290 ;; 16291 16292 *.lto.$objext) ;; # Ignore GCC LTO objects 16293 *.$objext) 16294 # This assumes that the test object file only shows up 16295 # once in the compiler output. 16296 if test "$p" = "conftest.$objext"; then 16297 pre_test_object_deps_done=yes 16298 continue 16299 fi 16300 16301 if test no = "$pre_test_object_deps_done"; then 16302 if test -z "$predep_objects_CXX"; then 16303 predep_objects_CXX=$p 16304 else 16305 predep_objects_CXX="$predep_objects_CXX $p" 16306 fi 16307 else 16308 if test -z "$postdep_objects_CXX"; then 16309 postdep_objects_CXX=$p 16310 else 16311 postdep_objects_CXX="$postdep_objects_CXX $p" 16312 fi 16313 fi 16314 ;; 16315 16316 *) ;; # Ignore the rest. 16317 16318 esac 16319 done 16320 16321 # Clean up. 16322 rm -f a.out a.exe 16323else 16324 echo "libtool.m4: error: problem compiling CXX test program" 16325fi 16326 16327$RM -f confest.$objext 16328CFLAGS=$_lt_libdeps_save_CFLAGS 16329 16330# PORTME: override above test on systems where it is broken 16331case $host_os in 16332interix[3-9]*) 16333 # Interix 3.5 installs completely hosed .la files for C++, so rather than 16334 # hack all around it, let's just trust "g++" to DTRT. 16335 predep_objects_CXX= 16336 postdep_objects_CXX= 16337 postdeps_CXX= 16338 ;; 16339esac 16340 16341 16342case " $postdeps_CXX " in 16343*" -lc "*) archive_cmds_need_lc_CXX=no ;; 16344esac 16345 compiler_lib_search_dirs_CXX= 16346if test -n "${compiler_lib_search_path_CXX}"; then 16347 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 16348fi 16349 16350 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 lt_prog_compiler_wl_CXX= 16381lt_prog_compiler_pic_CXX= 16382lt_prog_compiler_static_CXX= 16383 16384 16385 # C++ specific cases for pic, static, wl, etc. 16386 if test yes = "$GXX"; then 16387 lt_prog_compiler_wl_CXX='-Wl,' 16388 lt_prog_compiler_static_CXX='-static' 16389 16390 case $host_os in 16391 aix*) 16392 # All AIX code is PIC. 16393 if test ia64 = "$host_cpu"; then 16394 # AIX 5 now supports IA64 processor 16395 lt_prog_compiler_static_CXX='-Bstatic' 16396 fi 16397 lt_prog_compiler_pic_CXX='-fPIC' 16398 ;; 16399 16400 amigaos*) 16401 case $host_cpu in 16402 powerpc) 16403 # see comment about AmigaOS4 .so support 16404 lt_prog_compiler_pic_CXX='-fPIC' 16405 ;; 16406 m68k) 16407 # FIXME: we need at least 68020 code to build shared libraries, but 16408 # adding the '-m68020' flag to GCC prevents building anything better, 16409 # like '-m68040'. 16410 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 16411 ;; 16412 esac 16413 ;; 16414 16415 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 16416 # PIC is the default for these OSes. 16417 ;; 16418 mingw* | cygwin* | os2* | pw32* | cegcc*) 16419 # This hack is so that the source file can tell whether it is being 16420 # built for inclusion in a dll (and should export symbols for example). 16421 # Although the cygwin gcc ignores -fPIC, still need this for old-style 16422 # (--disable-auto-import) libraries 16423 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 16424 case $host_os in 16425 os2*) 16426 lt_prog_compiler_static_CXX='$wl-static' 16427 ;; 16428 esac 16429 ;; 16430 darwin* | rhapsody*) 16431 # PIC is the default on this platform 16432 # Common symbols not allowed in MH_DYLIB files 16433 lt_prog_compiler_pic_CXX='-fno-common' 16434 ;; 16435 *djgpp*) 16436 # DJGPP does not support shared libraries at all 16437 lt_prog_compiler_pic_CXX= 16438 ;; 16439 haiku*) 16440 # PIC is the default for Haiku. 16441 # The "-static" flag exists, but is broken. 16442 lt_prog_compiler_static_CXX= 16443 ;; 16444 interix[3-9]*) 16445 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 16446 # Instead, we relocate shared libraries at runtime. 16447 ;; 16448 sysv4*MP*) 16449 if test -d /usr/nec; then 16450 lt_prog_compiler_pic_CXX=-Kconform_pic 16451 fi 16452 ;; 16453 hpux*) 16454 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 16455 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 16456 # sets the default TLS model and affects inlining. 16457 case $host_cpu in 16458 hppa*64*) 16459 ;; 16460 *) 16461 lt_prog_compiler_pic_CXX='-fPIC' 16462 ;; 16463 esac 16464 ;; 16465 *qnx* | *nto*) 16466 # QNX uses GNU C++, but need to define -shared option too, otherwise 16467 # it will coredump. 16468 lt_prog_compiler_pic_CXX='-fPIC -shared' 16469 ;; 16470 *) 16471 lt_prog_compiler_pic_CXX='-fPIC' 16472 ;; 16473 esac 16474 else 16475 case $host_os in 16476 aix[4-9]*) 16477 # All AIX code is PIC. 16478 if test ia64 = "$host_cpu"; then 16479 # AIX 5 now supports IA64 processor 16480 lt_prog_compiler_static_CXX='-Bstatic' 16481 else 16482 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 16483 fi 16484 ;; 16485 chorus*) 16486 case $cc_basename in 16487 cxch68*) 16488 # Green Hills C++ Compiler 16489 # _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" 16490 ;; 16491 esac 16492 ;; 16493 mingw* | cygwin* | os2* | pw32* | cegcc*) 16494 # This hack is so that the source file can tell whether it is being 16495 # built for inclusion in a dll (and should export symbols for example). 16496 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 16497 ;; 16498 dgux*) 16499 case $cc_basename in 16500 ec++*) 16501 lt_prog_compiler_pic_CXX='-KPIC' 16502 ;; 16503 ghcx*) 16504 # Green Hills C++ Compiler 16505 lt_prog_compiler_pic_CXX='-pic' 16506 ;; 16507 *) 16508 ;; 16509 esac 16510 ;; 16511 freebsd* | dragonfly*) 16512 # FreeBSD uses GNU C++ 16513 ;; 16514 hpux9* | hpux10* | hpux11*) 16515 case $cc_basename in 16516 CC*) 16517 lt_prog_compiler_wl_CXX='-Wl,' 16518 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 16519 if test ia64 != "$host_cpu"; then 16520 lt_prog_compiler_pic_CXX='+Z' 16521 fi 16522 ;; 16523 aCC*) 16524 lt_prog_compiler_wl_CXX='-Wl,' 16525 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 16526 case $host_cpu in 16527 hppa*64*|ia64*) 16528 # +Z the default 16529 ;; 16530 *) 16531 lt_prog_compiler_pic_CXX='+Z' 16532 ;; 16533 esac 16534 ;; 16535 *) 16536 ;; 16537 esac 16538 ;; 16539 interix*) 16540 # This is c89, which is MS Visual C++ (no shared libs) 16541 # Anyone wants to do a port? 16542 ;; 16543 irix5* | irix6* | nonstopux*) 16544 case $cc_basename in 16545 CC*) 16546 lt_prog_compiler_wl_CXX='-Wl,' 16547 lt_prog_compiler_static_CXX='-non_shared' 16548 # CC pic flag -KPIC is the default. 16549 ;; 16550 *) 16551 ;; 16552 esac 16553 ;; 16554 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16555 case $cc_basename in 16556 KCC*) 16557 # KAI C++ Compiler 16558 lt_prog_compiler_wl_CXX='--backend -Wl,' 16559 lt_prog_compiler_pic_CXX='-fPIC' 16560 ;; 16561 ecpc* ) 16562 # old Intel C++ for x86_64, which still supported -KPIC. 16563 lt_prog_compiler_wl_CXX='-Wl,' 16564 lt_prog_compiler_pic_CXX='-KPIC' 16565 lt_prog_compiler_static_CXX='-static' 16566 ;; 16567 icpc* ) 16568 # Intel C++, used to be incompatible with GCC. 16569 # ICC 10 doesn't accept -KPIC any more. 16570 lt_prog_compiler_wl_CXX='-Wl,' 16571 lt_prog_compiler_pic_CXX='-fPIC' 16572 lt_prog_compiler_static_CXX='-static' 16573 ;; 16574 pgCC* | pgcpp*) 16575 # Portland Group C++ compiler 16576 lt_prog_compiler_wl_CXX='-Wl,' 16577 lt_prog_compiler_pic_CXX='-fpic' 16578 lt_prog_compiler_static_CXX='-Bstatic' 16579 ;; 16580 cxx*) 16581 # Compaq C++ 16582 # Make sure the PIC flag is empty. It appears that all Alpha 16583 # Linux and Compaq Tru64 Unix objects are PIC. 16584 lt_prog_compiler_pic_CXX= 16585 lt_prog_compiler_static_CXX='-non_shared' 16586 ;; 16587 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 16588 # IBM XL 8.0, 9.0 on PPC and BlueGene 16589 lt_prog_compiler_wl_CXX='-Wl,' 16590 lt_prog_compiler_pic_CXX='-qpic' 16591 lt_prog_compiler_static_CXX='-qstaticlink' 16592 ;; 16593 *) 16594 case `$CC -V 2>&1 | sed 5q` in 16595 *Sun\ C*) 16596 # Sun C++ 5.9 16597 lt_prog_compiler_pic_CXX='-KPIC' 16598 lt_prog_compiler_static_CXX='-Bstatic' 16599 lt_prog_compiler_wl_CXX='-Qoption ld ' 16600 ;; 16601 esac 16602 ;; 16603 esac 16604 ;; 16605 lynxos*) 16606 ;; 16607 m88k*) 16608 ;; 16609 mvs*) 16610 case $cc_basename in 16611 cxx*) 16612 lt_prog_compiler_pic_CXX='-W c,exportall' 16613 ;; 16614 *) 16615 ;; 16616 esac 16617 ;; 16618 netbsd*) 16619 ;; 16620 *qnx* | *nto*) 16621 # QNX uses GNU C++, but need to define -shared option too, otherwise 16622 # it will coredump. 16623 lt_prog_compiler_pic_CXX='-fPIC -shared' 16624 ;; 16625 osf3* | osf4* | osf5*) 16626 case $cc_basename in 16627 KCC*) 16628 lt_prog_compiler_wl_CXX='--backend -Wl,' 16629 ;; 16630 RCC*) 16631 # Rational C++ 2.4.1 16632 lt_prog_compiler_pic_CXX='-pic' 16633 ;; 16634 cxx*) 16635 # Digital/Compaq C++ 16636 lt_prog_compiler_wl_CXX='-Wl,' 16637 # Make sure the PIC flag is empty. It appears that all Alpha 16638 # Linux and Compaq Tru64 Unix objects are PIC. 16639 lt_prog_compiler_pic_CXX= 16640 lt_prog_compiler_static_CXX='-non_shared' 16641 ;; 16642 *) 16643 ;; 16644 esac 16645 ;; 16646 psos*) 16647 ;; 16648 solaris*) 16649 case $cc_basename in 16650 CC* | sunCC*) 16651 # Sun C++ 4.2, 5.x and Centerline C++ 16652 lt_prog_compiler_pic_CXX='-KPIC' 16653 lt_prog_compiler_static_CXX='-Bstatic' 16654 lt_prog_compiler_wl_CXX='-Qoption ld ' 16655 ;; 16656 gcx*) 16657 # Green Hills C++ Compiler 16658 lt_prog_compiler_pic_CXX='-PIC' 16659 ;; 16660 *) 16661 ;; 16662 esac 16663 ;; 16664 sunos4*) 16665 case $cc_basename in 16666 CC*) 16667 # Sun C++ 4.x 16668 lt_prog_compiler_pic_CXX='-pic' 16669 lt_prog_compiler_static_CXX='-Bstatic' 16670 ;; 16671 lcc*) 16672 # Lucid 16673 lt_prog_compiler_pic_CXX='-pic' 16674 ;; 16675 *) 16676 ;; 16677 esac 16678 ;; 16679 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 16680 case $cc_basename in 16681 CC*) 16682 lt_prog_compiler_wl_CXX='-Wl,' 16683 lt_prog_compiler_pic_CXX='-KPIC' 16684 lt_prog_compiler_static_CXX='-Bstatic' 16685 ;; 16686 esac 16687 ;; 16688 tandem*) 16689 case $cc_basename in 16690 NCC*) 16691 # NonStop-UX NCC 3.20 16692 lt_prog_compiler_pic_CXX='-KPIC' 16693 ;; 16694 *) 16695 ;; 16696 esac 16697 ;; 16698 vxworks*) 16699 ;; 16700 *) 16701 lt_prog_compiler_can_build_shared_CXX=no 16702 ;; 16703 esac 16704 fi 16705 16706case $host_os in 16707 # For platforms that do not support PIC, -DPIC is meaningless: 16708 *djgpp*) 16709 lt_prog_compiler_pic_CXX= 16710 ;; 16711 *) 16712 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 16713 ;; 16714esac 16715 16716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 16717$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 16718if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 16719 $as_echo_n "(cached) " >&6 16720else 16721 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 16722fi 16723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 16724$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 16725lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 16726 16727# 16728# Check to make sure the PIC flag actually works. 16729# 16730if test -n "$lt_prog_compiler_pic_CXX"; then 16731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 16732$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 16733if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 16734 $as_echo_n "(cached) " >&6 16735else 16736 lt_cv_prog_compiler_pic_works_CXX=no 16737 ac_outfile=conftest.$ac_objext 16738 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16739 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 16740 # Insert the option either (1) after the last *FLAGS variable, or 16741 # (2) before a word containing "conftest.", or (3) at the end. 16742 # Note that $ac_compile itself does not contain backslashes and begins 16743 # with a dollar sign (not a hyphen), so the echo should work correctly. 16744 # The option is referenced via a variable to avoid confusing sed. 16745 lt_compile=`echo "$ac_compile" | $SED \ 16746 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16747 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16748 -e 's:$: $lt_compiler_flag:'` 16749 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16750 (eval "$lt_compile" 2>conftest.err) 16751 ac_status=$? 16752 cat conftest.err >&5 16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16754 if (exit $ac_status) && test -s "$ac_outfile"; then 16755 # The compiler can only warn and ignore the option if not recognized 16756 # So say no if there are warnings other than the usual output. 16757 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 16758 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16759 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 16760 lt_cv_prog_compiler_pic_works_CXX=yes 16761 fi 16762 fi 16763 $RM conftest* 16764 16765fi 16766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 16767$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 16768 16769if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 16770 case $lt_prog_compiler_pic_CXX in 16771 "" | " "*) ;; 16772 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 16773 esac 16774else 16775 lt_prog_compiler_pic_CXX= 16776 lt_prog_compiler_can_build_shared_CXX=no 16777fi 16778 16779fi 16780 16781 16782 16783 16784 16785# 16786# Check to make sure the static flag actually works. 16787# 16788wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 16789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 16790$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 16791if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 16792 $as_echo_n "(cached) " >&6 16793else 16794 lt_cv_prog_compiler_static_works_CXX=no 16795 save_LDFLAGS=$LDFLAGS 16796 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 16797 echo "$lt_simple_link_test_code" > conftest.$ac_ext 16798 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 16799 # The linker can only warn and ignore the option if not recognized 16800 # So say no if there are warnings 16801 if test -s conftest.err; then 16802 # Append any errors to the config.log. 16803 cat conftest.err 1>&5 16804 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 16805 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16806 if diff conftest.exp conftest.er2 >/dev/null; then 16807 lt_cv_prog_compiler_static_works_CXX=yes 16808 fi 16809 else 16810 lt_cv_prog_compiler_static_works_CXX=yes 16811 fi 16812 fi 16813 $RM -r conftest* 16814 LDFLAGS=$save_LDFLAGS 16815 16816fi 16817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 16818$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 16819 16820if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 16821 : 16822else 16823 lt_prog_compiler_static_CXX= 16824fi 16825 16826 16827 16828 16829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 16830$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 16831if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 16832 $as_echo_n "(cached) " >&6 16833else 16834 lt_cv_prog_compiler_c_o_CXX=no 16835 $RM -r conftest 2>/dev/null 16836 mkdir conftest 16837 cd conftest 16838 mkdir out 16839 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16840 16841 lt_compiler_flag="-o out/conftest2.$ac_objext" 16842 # Insert the option either (1) after the last *FLAGS variable, or 16843 # (2) before a word containing "conftest.", or (3) at the end. 16844 # Note that $ac_compile itself does not contain backslashes and begins 16845 # with a dollar sign (not a hyphen), so the echo should work correctly. 16846 lt_compile=`echo "$ac_compile" | $SED \ 16847 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16849 -e 's:$: $lt_compiler_flag:'` 16850 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16851 (eval "$lt_compile" 2>out/conftest.err) 16852 ac_status=$? 16853 cat out/conftest.err >&5 16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16855 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16856 then 16857 # The compiler can only warn and ignore the option if not recognized 16858 # So say no if there are warnings 16859 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 16860 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 16861 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 16862 lt_cv_prog_compiler_c_o_CXX=yes 16863 fi 16864 fi 16865 chmod u+w . 2>&5 16866 $RM conftest* 16867 # SGI C++ compiler will create directory out/ii_files/ for 16868 # template instantiation 16869 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 16870 $RM out/* && rmdir out 16871 cd .. 16872 $RM -r conftest 16873 $RM conftest* 16874 16875fi 16876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 16877$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 16878 16879 16880 16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 16882$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 16883if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 16884 $as_echo_n "(cached) " >&6 16885else 16886 lt_cv_prog_compiler_c_o_CXX=no 16887 $RM -r conftest 2>/dev/null 16888 mkdir conftest 16889 cd conftest 16890 mkdir out 16891 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16892 16893 lt_compiler_flag="-o out/conftest2.$ac_objext" 16894 # Insert the option either (1) after the last *FLAGS variable, or 16895 # (2) before a word containing "conftest.", or (3) at the end. 16896 # Note that $ac_compile itself does not contain backslashes and begins 16897 # with a dollar sign (not a hyphen), so the echo should work correctly. 16898 lt_compile=`echo "$ac_compile" | $SED \ 16899 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16901 -e 's:$: $lt_compiler_flag:'` 16902 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16903 (eval "$lt_compile" 2>out/conftest.err) 16904 ac_status=$? 16905 cat out/conftest.err >&5 16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16907 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16908 then 16909 # The compiler can only warn and ignore the option if not recognized 16910 # So say no if there are warnings 16911 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 16912 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 16913 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 16914 lt_cv_prog_compiler_c_o_CXX=yes 16915 fi 16916 fi 16917 chmod u+w . 2>&5 16918 $RM conftest* 16919 # SGI C++ compiler will create directory out/ii_files/ for 16920 # template instantiation 16921 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 16922 $RM out/* && rmdir out 16923 cd .. 16924 $RM -r conftest 16925 $RM conftest* 16926 16927fi 16928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 16929$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 16930 16931 16932 16933 16934hard_links=nottested 16935if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 16936 # do not overwrite the value of need_locks provided by the user 16937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 16938$as_echo_n "checking if we can lock with hard links... " >&6; } 16939 hard_links=yes 16940 $RM conftest* 16941 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16942 touch conftest.a 16943 ln conftest.a conftest.b 2>&5 || hard_links=no 16944 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 16946$as_echo "$hard_links" >&6; } 16947 if test no = "$hard_links"; then 16948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 16949$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 16950 need_locks=warn 16951 fi 16952else 16953 need_locks=no 16954fi 16955 16956 16957 16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 16959$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 16960 16961 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 16962 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 16963 case $host_os in 16964 aix[4-9]*) 16965 # If we're using GNU nm, then we don't want the "-C" option. 16966 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 16967 # Without the "-l" option, or with the "-B" option, AIX nm treats 16968 # weak defined symbols like other global defined symbols, whereas 16969 # GNU nm marks them as "W". 16970 # While the 'weak' keyword is ignored in the Export File, we need 16971 # it in the Import File for the 'aix-soname' feature, so we have 16972 # to replace the "-B" option with "-P" for AIX nm. 16973 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 16974 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' 16975 else 16976 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' 16977 fi 16978 ;; 16979 pw32*) 16980 export_symbols_cmds_CXX=$ltdll_cmds 16981 ;; 16982 cygwin* | mingw* | cegcc*) 16983 case $cc_basename in 16984 cl*) 16985 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 16986 ;; 16987 *) 16988 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' 16989 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 16990 ;; 16991 esac 16992 ;; 16993 *) 16994 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 16995 ;; 16996 esac 16997 16998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 16999$as_echo "$ld_shlibs_CXX" >&6; } 17000test no = "$ld_shlibs_CXX" && can_build_shared=no 17001 17002with_gnu_ld_CXX=$with_gnu_ld 17003 17004 17005 17006 17007 17008 17009# 17010# Do we need to explicitly link libc? 17011# 17012case "x$archive_cmds_need_lc_CXX" in 17013x|xyes) 17014 # Assume -lc should be added 17015 archive_cmds_need_lc_CXX=yes 17016 17017 if test yes,yes = "$GCC,$enable_shared"; then 17018 case $archive_cmds_CXX in 17019 *'~'*) 17020 # FIXME: we may have to deal with multi-command sequences. 17021 ;; 17022 '$CC '*) 17023 # Test whether the compiler implicitly links with -lc since on some 17024 # systems, -lgcc has to come before -lc. If gcc already passes -lc 17025 # to ld, don't add -lc before -lgcc. 17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 17027$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 17028if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 17029 $as_echo_n "(cached) " >&6 17030else 17031 $RM conftest* 17032 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 17033 17034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 17035 (eval $ac_compile) 2>&5 17036 ac_status=$? 17037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17038 test $ac_status = 0; } 2>conftest.err; then 17039 soname=conftest 17040 lib=conftest 17041 libobjs=conftest.$ac_objext 17042 deplibs= 17043 wl=$lt_prog_compiler_wl_CXX 17044 pic_flag=$lt_prog_compiler_pic_CXX 17045 compiler_flags=-v 17046 linker_flags=-v 17047 verstring= 17048 output_objdir=. 17049 libname=conftest 17050 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 17051 allow_undefined_flag_CXX= 17052 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 17053 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 17054 ac_status=$? 17055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17056 test $ac_status = 0; } 17057 then 17058 lt_cv_archive_cmds_need_lc_CXX=no 17059 else 17060 lt_cv_archive_cmds_need_lc_CXX=yes 17061 fi 17062 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 17063 else 17064 cat conftest.err 1>&5 17065 fi 17066 $RM conftest* 17067 17068fi 17069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 17070$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 17071 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 17072 ;; 17073 esac 17074 fi 17075 ;; 17076esac 17077 17078 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 17140$as_echo_n "checking dynamic linker characteristics... " >&6; } 17141 17142library_names_spec= 17143libname_spec='lib$name' 17144soname_spec= 17145shrext_cmds=.so 17146postinstall_cmds= 17147postuninstall_cmds= 17148finish_cmds= 17149finish_eval= 17150shlibpath_var= 17151shlibpath_overrides_runpath=unknown 17152version_type=none 17153dynamic_linker="$host_os ld.so" 17154sys_lib_dlsearch_path_spec="/lib /usr/lib" 17155need_lib_prefix=unknown 17156hardcode_into_libs=no 17157 17158# when you set need_version to no, make sure it does not cause -set_version 17159# flags to be left without arguments 17160need_version=unknown 17161 17162 17163 17164case $host_os in 17165aix3*) 17166 version_type=linux # correct to gnu/linux during the next big refactor 17167 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 17168 shlibpath_var=LIBPATH 17169 17170 # AIX 3 has no versioning support, so we append a major version to the name. 17171 soname_spec='$libname$release$shared_ext$major' 17172 ;; 17173 17174aix[4-9]*) 17175 version_type=linux # correct to gnu/linux during the next big refactor 17176 need_lib_prefix=no 17177 need_version=no 17178 hardcode_into_libs=yes 17179 if test ia64 = "$host_cpu"; then 17180 # AIX 5 supports IA64 17181 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 17182 shlibpath_var=LD_LIBRARY_PATH 17183 else 17184 # With GCC up to 2.95.x, collect2 would create an import file 17185 # for dependence libraries. The import file would start with 17186 # the line '#! .'. This would cause the generated library to 17187 # depend on '.', always an invalid library. This was fixed in 17188 # development snapshots of GCC prior to 3.0. 17189 case $host_os in 17190 aix4 | aix4.[01] | aix4.[01].*) 17191 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 17192 echo ' yes ' 17193 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 17194 : 17195 else 17196 can_build_shared=no 17197 fi 17198 ;; 17199 esac 17200 # Using Import Files as archive members, it is possible to support 17201 # filename-based versioning of shared library archives on AIX. While 17202 # this would work for both with and without runtime linking, it will 17203 # prevent static linking of such archives. So we do filename-based 17204 # shared library versioning with .so extension only, which is used 17205 # when both runtime linking and shared linking is enabled. 17206 # Unfortunately, runtime linking may impact performance, so we do 17207 # not want this to be the default eventually. Also, we use the 17208 # versioned .so libs for executables only if there is the -brtl 17209 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 17210 # To allow for filename-based versioning support, we need to create 17211 # libNAME.so.V as an archive file, containing: 17212 # *) an Import File, referring to the versioned filename of the 17213 # archive as well as the shared archive member, telling the 17214 # bitwidth (32 or 64) of that shared object, and providing the 17215 # list of exported symbols of that shared object, eventually 17216 # decorated with the 'weak' keyword 17217 # *) the shared object with the F_LOADONLY flag set, to really avoid 17218 # it being seen by the linker. 17219 # At run time we better use the real file rather than another symlink, 17220 # but for link time we create the symlink libNAME.so -> libNAME.so.V 17221 17222 case $with_aix_soname,$aix_use_runtimelinking in 17223 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 17224 # soname into executable. Probably we can add versioning support to 17225 # collect2, so additional links can be useful in future. 17226 aix,yes) # traditional libtool 17227 dynamic_linker='AIX unversionable lib.so' 17228 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 17229 # instead of lib<name>.a to let people know that these are not 17230 # typical AIX shared libraries. 17231 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17232 ;; 17233 aix,no) # traditional AIX only 17234 dynamic_linker='AIX lib.a(lib.so.V)' 17235 # We preserve .a as extension for shared libraries through AIX4.2 17236 # and later when we are not doing run time linking. 17237 library_names_spec='$libname$release.a $libname.a' 17238 soname_spec='$libname$release$shared_ext$major' 17239 ;; 17240 svr4,*) # full svr4 only 17241 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 17242 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 17243 # We do not specify a path in Import Files, so LIBPATH fires. 17244 shlibpath_overrides_runpath=yes 17245 ;; 17246 *,yes) # both, prefer svr4 17247 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 17248 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 17249 # unpreferred sharedlib libNAME.a needs extra handling 17250 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"' 17251 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"' 17252 # We do not specify a path in Import Files, so LIBPATH fires. 17253 shlibpath_overrides_runpath=yes 17254 ;; 17255 *,no) # both, prefer aix 17256 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 17257 library_names_spec='$libname$release.a $libname.a' 17258 soname_spec='$libname$release$shared_ext$major' 17259 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 17260 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)' 17261 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"' 17262 ;; 17263 esac 17264 shlibpath_var=LIBPATH 17265 fi 17266 ;; 17267 17268amigaos*) 17269 case $host_cpu in 17270 powerpc) 17271 # Since July 2007 AmigaOS4 officially supports .so libraries. 17272 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 17273 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17274 ;; 17275 m68k) 17276 library_names_spec='$libname.ixlibrary $libname.a' 17277 # Create ${libname}_ixlibrary.a entries in /sys/libs. 17278 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' 17279 ;; 17280 esac 17281 ;; 17282 17283beos*) 17284 library_names_spec='$libname$shared_ext' 17285 dynamic_linker="$host_os ld.so" 17286 shlibpath_var=LIBRARY_PATH 17287 ;; 17288 17289bsdi[45]*) 17290 version_type=linux # correct to gnu/linux during the next big refactor 17291 need_version=no 17292 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17293 soname_spec='$libname$release$shared_ext$major' 17294 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 17295 shlibpath_var=LD_LIBRARY_PATH 17296 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 17297 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 17298 # the default ld.so.conf also contains /usr/contrib/lib and 17299 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 17300 # libtool to hard-code these into programs 17301 ;; 17302 17303cygwin* | mingw* | pw32* | cegcc*) 17304 version_type=windows 17305 shrext_cmds=.dll 17306 need_version=no 17307 need_lib_prefix=no 17308 17309 case $GCC,$cc_basename in 17310 yes,*) 17311 # gcc 17312 library_names_spec='$libname.dll.a' 17313 # DLL is installed to $(libdir)/../bin by postinstall_cmds 17314 postinstall_cmds='base_file=`basename \$file`~ 17315 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 17316 dldir=$destdir/`dirname \$dlpath`~ 17317 test -d \$dldir || mkdir -p \$dldir~ 17318 $install_prog $dir/$dlname \$dldir/$dlname~ 17319 chmod a+x \$dldir/$dlname~ 17320 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 17321 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 17322 fi' 17323 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 17324 dlpath=$dir/\$dldll~ 17325 $RM \$dlpath' 17326 shlibpath_overrides_runpath=yes 17327 17328 case $host_os in 17329 cygwin*) 17330 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 17331 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 17332 17333 ;; 17334 mingw* | cegcc*) 17335 # MinGW DLLs use traditional 'lib' prefix 17336 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 17337 ;; 17338 pw32*) 17339 # pw32 DLLs use 'pw' prefix rather than 'lib' 17340 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 17341 ;; 17342 esac 17343 dynamic_linker='Win32 ld.exe' 17344 ;; 17345 17346 *,cl*) 17347 # Native MSVC 17348 libname_spec='$name' 17349 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 17350 library_names_spec='$libname.dll.lib' 17351 17352 case $build_os in 17353 mingw*) 17354 sys_lib_search_path_spec= 17355 lt_save_ifs=$IFS 17356 IFS=';' 17357 for lt_path in $LIB 17358 do 17359 IFS=$lt_save_ifs 17360 # Let DOS variable expansion print the short 8.3 style file name. 17361 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 17362 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 17363 done 17364 IFS=$lt_save_ifs 17365 # Convert to MSYS style. 17366 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 17367 ;; 17368 cygwin*) 17369 # Convert to unix form, then to dos form, then back to unix form 17370 # but this time dos style (no spaces!) so that the unix form looks 17371 # like /cygdrive/c/PROGRA~1:/cygdr... 17372 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 17373 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 17374 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 17375 ;; 17376 *) 17377 sys_lib_search_path_spec=$LIB 17378 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 17379 # It is most probably a Windows format PATH. 17380 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 17381 else 17382 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 17383 fi 17384 # FIXME: find the short name or the path components, as spaces are 17385 # common. (e.g. "Program Files" -> "PROGRA~1") 17386 ;; 17387 esac 17388 17389 # DLL is installed to $(libdir)/../bin by postinstall_cmds 17390 postinstall_cmds='base_file=`basename \$file`~ 17391 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 17392 dldir=$destdir/`dirname \$dlpath`~ 17393 test -d \$dldir || mkdir -p \$dldir~ 17394 $install_prog $dir/$dlname \$dldir/$dlname' 17395 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 17396 dlpath=$dir/\$dldll~ 17397 $RM \$dlpath' 17398 shlibpath_overrides_runpath=yes 17399 dynamic_linker='Win32 link.exe' 17400 ;; 17401 17402 *) 17403 # Assume MSVC wrapper 17404 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 17405 dynamic_linker='Win32 ld.exe' 17406 ;; 17407 esac 17408 # FIXME: first we should search . and the directory the executable is in 17409 shlibpath_var=PATH 17410 ;; 17411 17412darwin* | rhapsody*) 17413 dynamic_linker="$host_os dyld" 17414 version_type=darwin 17415 need_lib_prefix=no 17416 need_version=no 17417 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 17418 soname_spec='$libname$release$major$shared_ext' 17419 shlibpath_overrides_runpath=yes 17420 shlibpath_var=DYLD_LIBRARY_PATH 17421 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 17422 17423 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 17424 ;; 17425 17426dgux*) 17427 version_type=linux # correct to gnu/linux during the next big refactor 17428 need_lib_prefix=no 17429 need_version=no 17430 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17431 soname_spec='$libname$release$shared_ext$major' 17432 shlibpath_var=LD_LIBRARY_PATH 17433 ;; 17434 17435freebsd* | dragonfly*) 17436 # DragonFly does not have aout. When/if they implement a new 17437 # versioning mechanism, adjust this. 17438 if test -x /usr/bin/objformat; then 17439 objformat=`/usr/bin/objformat` 17440 else 17441 case $host_os in 17442 freebsd[23].*) objformat=aout ;; 17443 *) objformat=elf ;; 17444 esac 17445 fi 17446 version_type=freebsd-$objformat 17447 case $version_type in 17448 freebsd-elf*) 17449 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17450 soname_spec='$libname$release$shared_ext$major' 17451 need_version=no 17452 need_lib_prefix=no 17453 ;; 17454 freebsd-*) 17455 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17456 need_version=yes 17457 ;; 17458 esac 17459 shlibpath_var=LD_LIBRARY_PATH 17460 case $host_os in 17461 freebsd2.*) 17462 shlibpath_overrides_runpath=yes 17463 ;; 17464 freebsd3.[01]* | freebsdelf3.[01]*) 17465 shlibpath_overrides_runpath=yes 17466 hardcode_into_libs=yes 17467 ;; 17468 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 17469 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 17470 shlibpath_overrides_runpath=no 17471 hardcode_into_libs=yes 17472 ;; 17473 *) # from 4.6 on, and DragonFly 17474 shlibpath_overrides_runpath=yes 17475 hardcode_into_libs=yes 17476 ;; 17477 esac 17478 ;; 17479 17480haiku*) 17481 version_type=linux # correct to gnu/linux during the next big refactor 17482 need_lib_prefix=no 17483 need_version=no 17484 dynamic_linker="$host_os runtime_loader" 17485 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17486 soname_spec='$libname$release$shared_ext$major' 17487 shlibpath_var=LIBRARY_PATH 17488 shlibpath_overrides_runpath=no 17489 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 17490 hardcode_into_libs=yes 17491 ;; 17492 17493hpux9* | hpux10* | hpux11*) 17494 # Give a soname corresponding to the major version so that dld.sl refuses to 17495 # link against other versions. 17496 version_type=sunos 17497 need_lib_prefix=no 17498 need_version=no 17499 case $host_cpu in 17500 ia64*) 17501 shrext_cmds='.so' 17502 hardcode_into_libs=yes 17503 dynamic_linker="$host_os dld.so" 17504 shlibpath_var=LD_LIBRARY_PATH 17505 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 17506 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17507 soname_spec='$libname$release$shared_ext$major' 17508 if test 32 = "$HPUX_IA64_MODE"; then 17509 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 17510 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 17511 else 17512 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 17513 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 17514 fi 17515 ;; 17516 hppa*64*) 17517 shrext_cmds='.sl' 17518 hardcode_into_libs=yes 17519 dynamic_linker="$host_os dld.sl" 17520 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 17521 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 17522 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17523 soname_spec='$libname$release$shared_ext$major' 17524 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 17525 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 17526 ;; 17527 *) 17528 shrext_cmds='.sl' 17529 dynamic_linker="$host_os dld.sl" 17530 shlibpath_var=SHLIB_PATH 17531 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 17532 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17533 soname_spec='$libname$release$shared_ext$major' 17534 ;; 17535 esac 17536 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 17537 postinstall_cmds='chmod 555 $lib' 17538 # or fails outright, so override atomically: 17539 install_override_mode=555 17540 ;; 17541 17542interix[3-9]*) 17543 version_type=linux # correct to gnu/linux during the next big refactor 17544 need_lib_prefix=no 17545 need_version=no 17546 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17547 soname_spec='$libname$release$shared_ext$major' 17548 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 17549 shlibpath_var=LD_LIBRARY_PATH 17550 shlibpath_overrides_runpath=no 17551 hardcode_into_libs=yes 17552 ;; 17553 17554irix5* | irix6* | nonstopux*) 17555 case $host_os in 17556 nonstopux*) version_type=nonstopux ;; 17557 *) 17558 if test yes = "$lt_cv_prog_gnu_ld"; then 17559 version_type=linux # correct to gnu/linux during the next big refactor 17560 else 17561 version_type=irix 17562 fi ;; 17563 esac 17564 need_lib_prefix=no 17565 need_version=no 17566 soname_spec='$libname$release$shared_ext$major' 17567 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 17568 case $host_os in 17569 irix5* | nonstopux*) 17570 libsuff= shlibsuff= 17571 ;; 17572 *) 17573 case $LD in # libtool.m4 will add one of these switches to LD 17574 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 17575 libsuff= shlibsuff= libmagic=32-bit;; 17576 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 17577 libsuff=32 shlibsuff=N32 libmagic=N32;; 17578 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 17579 libsuff=64 shlibsuff=64 libmagic=64-bit;; 17580 *) libsuff= shlibsuff= libmagic=never-match;; 17581 esac 17582 ;; 17583 esac 17584 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 17585 shlibpath_overrides_runpath=no 17586 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 17587 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 17588 hardcode_into_libs=yes 17589 ;; 17590 17591# No shared lib support for Linux oldld, aout, or coff. 17592linux*oldld* | linux*aout* | linux*coff*) 17593 dynamic_linker=no 17594 ;; 17595 17596linux*android*) 17597 version_type=none # Android doesn't support versioned libraries. 17598 need_lib_prefix=no 17599 need_version=no 17600 library_names_spec='$libname$release$shared_ext' 17601 soname_spec='$libname$release$shared_ext' 17602 finish_cmds= 17603 shlibpath_var=LD_LIBRARY_PATH 17604 shlibpath_overrides_runpath=yes 17605 17606 # This implies no fast_install, which is unacceptable. 17607 # Some rework will be needed to allow for fast_install 17608 # before this can be enabled. 17609 hardcode_into_libs=yes 17610 17611 dynamic_linker='Android linker' 17612 # Don't embed -rpath directories since the linker doesn't support them. 17613 hardcode_libdir_flag_spec_CXX='-L$libdir' 17614 ;; 17615 17616# This must be glibc/ELF. 17617linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 17618 version_type=linux # correct to gnu/linux during the next big refactor 17619 need_lib_prefix=no 17620 need_version=no 17621 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17622 soname_spec='$libname$release$shared_ext$major' 17623 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 17624 shlibpath_var=LD_LIBRARY_PATH 17625 shlibpath_overrides_runpath=no 17626 17627 # Some binutils ld are patched to set DT_RUNPATH 17628 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 17629 $as_echo_n "(cached) " >&6 17630else 17631 lt_cv_shlibpath_overrides_runpath=no 17632 save_LDFLAGS=$LDFLAGS 17633 save_libdir=$libdir 17634 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 17635 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 17636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17637/* end confdefs.h. */ 17638 17639int 17640main () 17641{ 17642 17643 ; 17644 return 0; 17645} 17646_ACEOF 17647if ac_fn_cxx_try_link "$LINENO"; then : 17648 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 17649 lt_cv_shlibpath_overrides_runpath=yes 17650fi 17651fi 17652rm -f core conftest.err conftest.$ac_objext \ 17653 conftest$ac_exeext conftest.$ac_ext 17654 LDFLAGS=$save_LDFLAGS 17655 libdir=$save_libdir 17656 17657fi 17658 17659 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 17660 17661 # This implies no fast_install, which is unacceptable. 17662 # Some rework will be needed to allow for fast_install 17663 # before this can be enabled. 17664 hardcode_into_libs=yes 17665 17666 # Ideally, we could use ldconfig to report *all* directores which are 17667 # searched for libraries, however this is still not possible. Aside from not 17668 # being certain /sbin/ldconfig is available, command 17669 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 17670 # even though it is searched at run-time. Try to do the best guess by 17671 # appending ld.so.conf contents (and includes) to the search path. 17672 if test -f /etc/ld.so.conf; then 17673 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' ' '` 17674 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 17675 fi 17676 17677 # We used to test for /lib/ld.so.1 and disable shared libraries on 17678 # powerpc, because MkLinux only supported shared libraries with the 17679 # GNU dynamic linker. Since this was broken with cross compilers, 17680 # most powerpc-linux boxes support dynamic linking these days and 17681 # people can always --disable-shared, the test was removed, and we 17682 # assume the GNU/Linux dynamic linker is in use. 17683 dynamic_linker='GNU/Linux ld.so' 17684 ;; 17685 17686netbsd*) 17687 version_type=sunos 17688 need_lib_prefix=no 17689 need_version=no 17690 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 17691 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17692 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 17693 dynamic_linker='NetBSD (a.out) ld.so' 17694 else 17695 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17696 soname_spec='$libname$release$shared_ext$major' 17697 dynamic_linker='NetBSD ld.elf_so' 17698 fi 17699 shlibpath_var=LD_LIBRARY_PATH 17700 shlibpath_overrides_runpath=yes 17701 hardcode_into_libs=yes 17702 ;; 17703 17704newsos6) 17705 version_type=linux # correct to gnu/linux during the next big refactor 17706 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17707 shlibpath_var=LD_LIBRARY_PATH 17708 shlibpath_overrides_runpath=yes 17709 ;; 17710 17711*nto* | *qnx*) 17712 version_type=qnx 17713 need_lib_prefix=no 17714 need_version=no 17715 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17716 soname_spec='$libname$release$shared_ext$major' 17717 shlibpath_var=LD_LIBRARY_PATH 17718 shlibpath_overrides_runpath=no 17719 hardcode_into_libs=yes 17720 dynamic_linker='ldqnx.so' 17721 ;; 17722 17723openbsd* | bitrig*) 17724 version_type=sunos 17725 sys_lib_dlsearch_path_spec=/usr/lib 17726 need_lib_prefix=no 17727 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 17728 need_version=no 17729 else 17730 need_version=yes 17731 fi 17732 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17733 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 17734 shlibpath_var=LD_LIBRARY_PATH 17735 shlibpath_overrides_runpath=yes 17736 ;; 17737 17738os2*) 17739 libname_spec='$name' 17740 version_type=windows 17741 shrext_cmds=.dll 17742 need_version=no 17743 need_lib_prefix=no 17744 # OS/2 can only load a DLL with a base name of 8 characters or less. 17745 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 17746 v=$($ECHO $release$versuffix | tr -d .-); 17747 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 17748 $ECHO $n$v`$shared_ext' 17749 library_names_spec='${libname}_dll.$libext' 17750 dynamic_linker='OS/2 ld.exe' 17751 shlibpath_var=BEGINLIBPATH 17752 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 17753 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 17754 postinstall_cmds='base_file=`basename \$file`~ 17755 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 17756 dldir=$destdir/`dirname \$dlpath`~ 17757 test -d \$dldir || mkdir -p \$dldir~ 17758 $install_prog $dir/$dlname \$dldir/$dlname~ 17759 chmod a+x \$dldir/$dlname~ 17760 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 17761 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 17762 fi' 17763 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 17764 dlpath=$dir/\$dldll~ 17765 $RM \$dlpath' 17766 ;; 17767 17768osf3* | osf4* | osf5*) 17769 version_type=osf 17770 need_lib_prefix=no 17771 need_version=no 17772 soname_spec='$libname$release$shared_ext$major' 17773 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17774 shlibpath_var=LD_LIBRARY_PATH 17775 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 17776 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 17777 ;; 17778 17779rdos*) 17780 dynamic_linker=no 17781 ;; 17782 17783solaris*) 17784 version_type=linux # correct to gnu/linux during the next big refactor 17785 need_lib_prefix=no 17786 need_version=no 17787 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17788 soname_spec='$libname$release$shared_ext$major' 17789 shlibpath_var=LD_LIBRARY_PATH 17790 shlibpath_overrides_runpath=yes 17791 hardcode_into_libs=yes 17792 # ldd complains unless libraries are executable 17793 postinstall_cmds='chmod +x $lib' 17794 ;; 17795 17796sunos4*) 17797 version_type=sunos 17798 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17799 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 17800 shlibpath_var=LD_LIBRARY_PATH 17801 shlibpath_overrides_runpath=yes 17802 if test yes = "$with_gnu_ld"; then 17803 need_lib_prefix=no 17804 fi 17805 need_version=yes 17806 ;; 17807 17808sysv4 | sysv4.3*) 17809 version_type=linux # correct to gnu/linux during the next big refactor 17810 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17811 soname_spec='$libname$release$shared_ext$major' 17812 shlibpath_var=LD_LIBRARY_PATH 17813 case $host_vendor in 17814 sni) 17815 shlibpath_overrides_runpath=no 17816 need_lib_prefix=no 17817 runpath_var=LD_RUN_PATH 17818 ;; 17819 siemens) 17820 need_lib_prefix=no 17821 ;; 17822 motorola) 17823 need_lib_prefix=no 17824 need_version=no 17825 shlibpath_overrides_runpath=no 17826 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 17827 ;; 17828 esac 17829 ;; 17830 17831sysv4*MP*) 17832 if test -d /usr/nec; then 17833 version_type=linux # correct to gnu/linux during the next big refactor 17834 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 17835 soname_spec='$libname$shared_ext.$major' 17836 shlibpath_var=LD_LIBRARY_PATH 17837 fi 17838 ;; 17839 17840sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 17841 version_type=sco 17842 need_lib_prefix=no 17843 need_version=no 17844 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 17845 soname_spec='$libname$release$shared_ext$major' 17846 shlibpath_var=LD_LIBRARY_PATH 17847 shlibpath_overrides_runpath=yes 17848 hardcode_into_libs=yes 17849 if test yes = "$with_gnu_ld"; then 17850 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 17851 else 17852 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 17853 case $host_os in 17854 sco3.2v5*) 17855 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 17856 ;; 17857 esac 17858 fi 17859 sys_lib_dlsearch_path_spec='/usr/lib' 17860 ;; 17861 17862tpf*) 17863 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 17864 version_type=linux # correct to gnu/linux during the next big refactor 17865 need_lib_prefix=no 17866 need_version=no 17867 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17868 shlibpath_var=LD_LIBRARY_PATH 17869 shlibpath_overrides_runpath=no 17870 hardcode_into_libs=yes 17871 ;; 17872 17873uts4*) 17874 version_type=linux # correct to gnu/linux during the next big refactor 17875 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17876 soname_spec='$libname$release$shared_ext$major' 17877 shlibpath_var=LD_LIBRARY_PATH 17878 ;; 17879 17880*) 17881 dynamic_linker=no 17882 ;; 17883esac 17884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 17885$as_echo "$dynamic_linker" >&6; } 17886test no = "$dynamic_linker" && can_build_shared=no 17887 17888variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 17889if test yes = "$GCC"; then 17890 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 17891fi 17892 17893if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 17894 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 17895fi 17896 17897if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 17898 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 17899fi 17900 17901# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 17902configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 17903 17904# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 17905func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 17906 17907# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 17908configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 17909 17910 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 17950$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 17951hardcode_action_CXX= 17952if test -n "$hardcode_libdir_flag_spec_CXX" || 17953 test -n "$runpath_var_CXX" || 17954 test yes = "$hardcode_automatic_CXX"; then 17955 17956 # We can hardcode non-existent directories. 17957 if test no != "$hardcode_direct_CXX" && 17958 # If the only mechanism to avoid hardcoding is shlibpath_var, we 17959 # have to relink, otherwise we might link with an installed library 17960 # when we should be linking with a yet-to-be-installed one 17961 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 17962 test no != "$hardcode_minus_L_CXX"; then 17963 # Linking always hardcodes the temporary library directory. 17964 hardcode_action_CXX=relink 17965 else 17966 # We can link without hardcoding, and we can hardcode nonexisting dirs. 17967 hardcode_action_CXX=immediate 17968 fi 17969else 17970 # We cannot hardcode anything, or else we can only hardcode existing 17971 # directories. 17972 hardcode_action_CXX=unsupported 17973fi 17974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 17975$as_echo "$hardcode_action_CXX" >&6; } 17976 17977if test relink = "$hardcode_action_CXX" || 17978 test yes = "$inherit_rpath_CXX"; then 17979 # Fast installation is not supported 17980 enable_fast_install=no 17981elif test yes = "$shlibpath_overrides_runpath" || 17982 test no = "$enable_shared"; then 17983 # Fast installation is not necessary 17984 enable_fast_install=needless 17985fi 17986 17987 17988 17989 17990 17991 17992 17993 fi # test -n "$compiler" 17994 17995 CC=$lt_save_CC 17996 CFLAGS=$lt_save_CFLAGS 17997 LDCXX=$LD 17998 LD=$lt_save_LD 17999 GCC=$lt_save_GCC 18000 with_gnu_ld=$lt_save_with_gnu_ld 18001 lt_cv_path_LDCXX=$lt_cv_path_LD 18002 lt_cv_path_LD=$lt_save_path_LD 18003 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 18004 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 18005fi # test yes != "$_lt_caught_CXX_error" 18006 18007ac_ext=c 18008ac_cpp='$CPP $CPPFLAGS' 18009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18011ac_compiler_gnu=$ac_cv_c_compiler_gnu 18012 18013 18014ac_ext=mm 18015ac_cpp='$OBJCXXCPP $CPPFLAGS' 18016ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18017ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18018ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu 18019if test -n "$ac_tool_prefix"; then 18020 for ac_prog in g++ objc++ objcxx c++ CXX 18021 do 18022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 18023set dummy $ac_tool_prefix$ac_prog; ac_word=$2 18024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18025$as_echo_n "checking for $ac_word... " >&6; } 18026if ${ac_cv_prog_OBJCXX+:} false; then : 18027 $as_echo_n "(cached) " >&6 18028else 18029 if test -n "$OBJCXX"; then 18030 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test. 18031else 18032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18033for as_dir in $PATH 18034do 18035 IFS=$as_save_IFS 18036 test -z "$as_dir" && as_dir=. 18037 for ac_exec_ext in '' $ac_executable_extensions; do 18038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18039 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog" 18040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18041 break 2 18042 fi 18043done 18044 done 18045IFS=$as_save_IFS 18046 18047fi 18048fi 18049OBJCXX=$ac_cv_prog_OBJCXX 18050if test -n "$OBJCXX"; then 18051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5 18052$as_echo "$OBJCXX" >&6; } 18053else 18054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18055$as_echo "no" >&6; } 18056fi 18057 18058 18059 test -n "$OBJCXX" && break 18060 done 18061fi 18062if test -z "$OBJCXX"; then 18063 ac_ct_OBJCXX=$OBJCXX 18064 for ac_prog in g++ objc++ objcxx c++ CXX 18065do 18066 # Extract the first word of "$ac_prog", so it can be a program name with args. 18067set dummy $ac_prog; ac_word=$2 18068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18069$as_echo_n "checking for $ac_word... " >&6; } 18070if ${ac_cv_prog_ac_ct_OBJCXX+:} false; then : 18071 $as_echo_n "(cached) " >&6 18072else 18073 if test -n "$ac_ct_OBJCXX"; then 18074 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test. 18075else 18076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18077for as_dir in $PATH 18078do 18079 IFS=$as_save_IFS 18080 test -z "$as_dir" && as_dir=. 18081 for ac_exec_ext in '' $ac_executable_extensions; do 18082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18083 ac_cv_prog_ac_ct_OBJCXX="$ac_prog" 18084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18085 break 2 18086 fi 18087done 18088 done 18089IFS=$as_save_IFS 18090 18091fi 18092fi 18093ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX 18094if test -n "$ac_ct_OBJCXX"; then 18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5 18096$as_echo "$ac_ct_OBJCXX" >&6; } 18097else 18098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18099$as_echo "no" >&6; } 18100fi 18101 18102 18103 test -n "$ac_ct_OBJCXX" && break 18104done 18105 18106 if test "x$ac_ct_OBJCXX" = x; then 18107 OBJCXX="g++" 18108 else 18109 case $cross_compiling:$ac_tool_warned in 18110yes:) 18111{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 18112$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 18113ac_tool_warned=yes ;; 18114esac 18115 OBJCXX=$ac_ct_OBJCXX 18116 fi 18117fi 18118 18119# Provide some information about the compiler. 18120$as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5 18121set X $ac_compile 18122ac_compiler=$2 18123for ac_option in --version -v -V -qversion; do 18124 { { ac_try="$ac_compiler $ac_option >&5" 18125case "(($ac_try" in 18126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18127 *) ac_try_echo=$ac_try;; 18128esac 18129eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 18130$as_echo "$ac_try_echo"; } >&5 18131 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 18132 ac_status=$? 18133 if test -s conftest.err; then 18134 sed '10a\ 18135... rest of stderr output deleted ... 18136 10q' conftest.err >conftest.er1 18137 cat conftest.er1 >&5 18138 fi 18139 rm -f conftest.er1 conftest.err 18140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18141 test $ac_status = 0; } 18142done 18143 18144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5 18145$as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; } 18146if ${ac_cv_objcxx_compiler_gnu+:} false; then : 18147 $as_echo_n "(cached) " >&6 18148else 18149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18150/* end confdefs.h. */ 18151 18152int 18153main () 18154{ 18155#ifndef __GNUC__ 18156 choke me 18157#endif 18158 18159 ; 18160 return 0; 18161} 18162_ACEOF 18163if ac_fn_objcxx_try_compile "$LINENO"; then : 18164 ac_compiler_gnu=yes 18165else 18166 ac_compiler_gnu=no 18167fi 18168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18169ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu 18170 18171fi 18172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5 18173$as_echo "$ac_cv_objcxx_compiler_gnu" >&6; } 18174if test $ac_compiler_gnu = yes; then 18175 GOBJCXX=yes 18176else 18177 GOBJCXX= 18178fi 18179ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set} 18180ac_save_OBJCXXFLAGS=$OBJCXXFLAGS 18181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5 18182$as_echo_n "checking whether $OBJCXX accepts -g... " >&6; } 18183if ${ac_cv_prog_objcxx_g+:} false; then : 18184 $as_echo_n "(cached) " >&6 18185else 18186 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag 18187 ac_objcxx_werror_flag=yes 18188 ac_cv_prog_objcxx_g=no 18189 OBJCXXFLAGS="-g" 18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18191/* end confdefs.h. */ 18192 18193int 18194main () 18195{ 18196 18197 ; 18198 return 0; 18199} 18200_ACEOF 18201if ac_fn_objcxx_try_compile "$LINENO"; then : 18202 ac_cv_prog_objcxx_g=yes 18203else 18204 OBJCXXFLAGS="" 18205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18206/* end confdefs.h. */ 18207 18208int 18209main () 18210{ 18211 18212 ; 18213 return 0; 18214} 18215_ACEOF 18216if ac_fn_objcxx_try_compile "$LINENO"; then : 18217 18218else 18219 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag 18220 OBJCXXFLAGS="-g" 18221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18222/* end confdefs.h. */ 18223 18224int 18225main () 18226{ 18227 18228 ; 18229 return 0; 18230} 18231_ACEOF 18232if ac_fn_objcxx_try_compile "$LINENO"; then : 18233 ac_cv_prog_objcxx_g=yes 18234fi 18235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18236fi 18237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18238fi 18239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18240 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag 18241fi 18242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5 18243$as_echo "$ac_cv_prog_objcxx_g" >&6; } 18244if test "$ac_test_OBJCXXFLAGS" = set; then 18245 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS 18246elif test $ac_cv_prog_objcxx_g = yes; then 18247 if test "$GOBJCXX" = yes; then 18248 OBJCXXFLAGS="-g -O2" 18249 else 18250 OBJCXXFLAGS="-g" 18251 fi 18252else 18253 if test "$GOBJCXX" = yes; then 18254 OBJCXXFLAGS="-O2" 18255 else 18256 OBJCXXFLAGS= 18257 fi 18258fi 18259ac_ext=c 18260ac_cpp='$CPP $CPPFLAGS' 18261ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18262ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18263ac_compiler_gnu=$ac_cv_c_compiler_gnu 18264 18265depcc="$OBJCXX" am_compiler_list='gcc3 gcc' 18266 18267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 18268$as_echo_n "checking dependency style of $depcc... " >&6; } 18269if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then : 18270 $as_echo_n "(cached) " >&6 18271else 18272 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 18273 # We make a subdir and do the tests there. Otherwise we can end up 18274 # making bogus files that we don't know about and never remove. For 18275 # instance it was reported that on HP-UX the gcc test will end up 18276 # making a dummy file named 'D' -- because '-MD' means "put the output 18277 # in D". 18278 rm -rf conftest.dir 18279 mkdir conftest.dir 18280 # Copy depcomp to subdir because otherwise we won't find it if we're 18281 # using a relative directory. 18282 cp "$am_depcomp" conftest.dir 18283 cd conftest.dir 18284 # We will build objects and dependencies in a subdirectory because 18285 # it helps to detect inapplicable dependency modes. For instance 18286 # both Tru64's cc and ICC support -MD to output dependencies as a 18287 # side effect of compilation, but ICC will put the dependencies in 18288 # the current directory while Tru64 will put them in the object 18289 # directory. 18290 mkdir sub 18291 18292 am_cv_OBJCXX_dependencies_compiler_type=none 18293 if test "$am_compiler_list" = ""; then 18294 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 18295 fi 18296 am__universal=false 18297 18298 18299 for depmode in $am_compiler_list; do 18300 # Setup a source with many dependencies, because some compilers 18301 # like to wrap large dependency lists on column 80 (with \), and 18302 # we should not choose a depcomp mode which is confused by this. 18303 # 18304 # We need to recreate these files for each test, as the compiler may 18305 # overwrite some of them when testing with obscure command lines. 18306 # This happens at least with the AIX C compiler. 18307 : > sub/conftest.c 18308 for i in 1 2 3 4 5 6; do 18309 echo '#include "conftst'$i'.h"' >> sub/conftest.c 18310 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 18311 # Solaris 10 /bin/sh. 18312 echo '/* dummy */' > sub/conftst$i.h 18313 done 18314 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 18315 18316 # We check with '-c' and '-o' for the sake of the "dashmstdout" 18317 # mode. It turns out that the SunPro C++ compiler does not properly 18318 # handle '-M -o', and we need to detect this. Also, some Intel 18319 # versions had trouble with output in subdirs. 18320 am__obj=sub/conftest.${OBJEXT-o} 18321 am__minus_obj="-o $am__obj" 18322 case $depmode in 18323 gcc) 18324 # This depmode causes a compiler race in universal mode. 18325 test "$am__universal" = false || continue 18326 ;; 18327 nosideeffect) 18328 # After this tag, mechanisms are not by side-effect, so they'll 18329 # only be used when explicitly requested. 18330 if test "x$enable_dependency_tracking" = xyes; then 18331 continue 18332 else 18333 break 18334 fi 18335 ;; 18336 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 18337 # This compiler won't grok '-c -o', but also, the minuso test has 18338 # not run yet. These depmodes are late enough in the game, and 18339 # so weak that their functioning should not be impacted. 18340 am__obj=conftest.${OBJEXT-o} 18341 am__minus_obj= 18342 ;; 18343 none) break ;; 18344 esac 18345 if depmode=$depmode \ 18346 source=sub/conftest.c object=$am__obj \ 18347 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 18348 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 18349 >/dev/null 2>conftest.err && 18350 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 18351 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 18352 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 18353 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 18354 # icc doesn't choke on unknown options, it will just issue warnings 18355 # or remarks (even with -Werror). So we grep stderr for any message 18356 # that says an option was ignored or not supported. 18357 # When given -MP, icc 7.0 and 7.1 complain thusly: 18358 # icc: Command line warning: ignoring option '-M'; no argument required 18359 # The diagnosis changed in icc 8.0: 18360 # icc: Command line remark: option '-MP' not supported 18361 if (grep 'ignoring option' conftest.err || 18362 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 18363 am_cv_OBJCXX_dependencies_compiler_type=$depmode 18364 break 18365 fi 18366 fi 18367 done 18368 18369 cd .. 18370 rm -rf conftest.dir 18371else 18372 am_cv_OBJCXX_dependencies_compiler_type=none 18373fi 18374 18375fi 18376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5 18377$as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; } 18378OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type 18379 18380 if 18381 test "x$enable_dependency_tracking" != xno \ 18382 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then 18383 am__fastdepOBJCXX_TRUE= 18384 am__fastdepOBJCXX_FALSE='#' 18385else 18386 am__fastdepOBJCXX_TRUE='#' 18387 am__fastdepOBJCXX_FALSE= 18388fi 18389 18390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the Objective C++ compiler" >&5 18391$as_echo_n "checking what warning flags to pass to the Objective C++ compiler... " >&6; } 18392if ${kpse_cv_warning_objcxxflags+:} false; then : 18393 $as_echo_n "(cached) " >&6 18394else 18395 if test "x$GOBJCXX" = xyes; then 18396 kpse_cv_warning_objcxxflags= 18397kpse_warn_strings="-Wno-write-strings" 18398if test "x$enable_compiler_warnings" != xno; then 18399 kpse_cv_warning_objcxxflags="-Wreturn-type" 18400 case `$OBJCXX -dumpversion` in #( 18401 3.* | 4.[012345].*) : 18402 kpse_cv_warning_objcxxflags="-Wimplicit $kpse_cv_warning_objcxxflags" ;; #( 18403 *) : 18404 ;; 18405esac 18406 case `$OBJCXX -dumpversion` in #( 18407 3.[234].* | 4.*) : 18408 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wno-unknown-pragmas" ;; #( 18409 *) : 18410 ;; 18411esac 18412 if test "x$enable_compiler_warnings" != xmin; then 18413 kpse_cv_warning_objcxxflags="-Wall -Wunused $kpse_cv_warning_objcxxflags" 18414 if test "x$enable_compiler_warnings" != xyes; then 18415 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" 18416 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wcast-qual -Wcast-align" 18417 kpse_warn_strings="-Wwrite-strings" 18418 if test "x$enable_compiler_warnings" != xmax; then 18419 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wshadow" 18420 fi 18421 fi 18422 fi 18423fi 18424kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags $kpse_warn_strings" 18425elif test "x$enable_compiler_warnings" = xno; then 18426 kpse_cv_warning_objcxxflags= 18427else 18428 kpse_cv_warning_objcxxflags= # FIXME: warning flags for non-GNU Objective C++ compilers 18429fi 18430fi 18431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_objcxxflags" >&5 18432$as_echo "$kpse_cv_warning_objcxxflags" >&6; } 18433WARNING_OBJCXXFLAGS=$kpse_cv_warning_objcxxflags 18434 18435 18436 18437# Check whether --enable-cxx-runtime-hack was given. 18438if test "${enable_cxx_runtime_hack+set}" = set; then : 18439 enableval=$enable_cxx_runtime_hack; 18440fi 18441 18442 18443if test "x$GXX:$enable_cxx_runtime_hack" = xyes:yes; then 18444 18445ac_ext=cpp 18446ac_cpp='$CXXCPP $CPPFLAGS' 18447ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18448ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18449ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 18450 18451for ac_header in iostream 18452do : 18453 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 18454if test "x$ac_cv_header_iostream" = xyes; then : 18455 cat >>confdefs.h <<_ACEOF 18456#define HAVE_IOSTREAM 1 18457_ACEOF 18458 18459fi 18460 18461done 18462 18463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for statically linking C++ runtime library" >&5 18464$as_echo_n "checking for statically linking C++ runtime library... " >&6; } 18465if ${kpse_cv_cxx_hack+:} false; then : 18466 $as_echo_n "(cached) " >&6 18467else 18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18469/* end confdefs.h. */ 18470#ifdef HAVE_IOSTREAM 18471#include <iostream> 18472using namespace std; 18473#else 18474#include <iostream.h> 18475#endif 18476int 18477main () 18478{ 18479cout <<"worksok\n"; 18480 ; 18481 return 0; 18482} 18483_ACEOF 18484 case $host in #( 18485 *cygwin*) : 18486 flags_try0='-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic' ;; #( 18487 *) : 18488 flags_try0='-nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm' 18489 flags_try1='-lgcc_eh -lgcc -lc -lgcc_eh -lgcc' 18490 flags_try2='-lgcc -lc -lgcc' ;; 18491esac 18492 kpse_save_LIBS=$LIBS 18493 cpp_link_hack=false 18494 for flags in "$flags_try1" "$flags_try2"; do 18495 LIBS="$kpse_save_LIBS $flags_try0 $flags" 18496 if ac_fn_cxx_try_link "$LINENO"; then : 18497 if test "x$cross_compiling" = xyes; then : 18498 cpp_link_hack=true; break 18499else 18500 case `(./conftest$ac_exeext; exit) 2>/dev/null` in #( 18501 worksok) : 18502 cpp_link_hack=true; break ;; #( 18503 *) : 18504 ;; 18505esac 18506fi 18507fi 18508rm -f core conftest.err conftest.$ac_objext \ 18509 conftest$ac_exeext 18510 done 18511 LIBS=$kpse_save_LIBS 18512 if $cpp_link_hack; then 18513 kpse_cv_cxx_hack=ok 18514 kpse_cv_cxx_flags="$flags_try0 $flags" 18515 else 18516 kpse_cv_cxx_hack="not supported" 18517 fi 18518fi 18519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_cxx_hack" >&5 18520$as_echo "$kpse_cv_cxx_hack" >&6; } 18521if test "x$kpse_cv_cxx_hack" = xok; then 18522 { $as_echo "$as_me:${as_lineno-$LINENO}: using $kpse_cv_cxx_flags" >&5 18523$as_echo "$as_me: using $kpse_cv_cxx_flags" >&6;} 18524fi 18525ac_ext=c 18526ac_cpp='$CPP $CPPFLAGS' 18527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18529ac_compiler_gnu=$ac_cv_c_compiler_gnu 18530 18531 18532fi 18533if test "x$kpse_cv_cxx_hack" = xok; then 18534 CXXLD='$(top_builddir)/CXXLD.sh' 18535 cxxld_sh="#! ${CONFIG_SHELL-/bin/sh} 18536# CXXLD.sh. Generated by configure. 18537set -- $CXX \"\$@\" $kpse_cv_cxx_flags 18538echo \"\$0:\" \"\$@\" 18539exec \"\$@\"" 18540 ac_config_commands="$ac_config_commands CXXLD.sh" 18541 18542else 18543 CXXLD='$(CXX)' 18544fi 18545 18546 18547# Check whether --enable-libtool-hack was given. 18548if test "${enable_libtool_hack+set}" = set; then : 18549 enableval=$enable_libtool_hack; 18550fi 18551 18552 18553 18554 18555 18556 18557 18558## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ 18559## configure options for TeX and MF 18560 18561# Check whether --with-banner-add was given. 18562if test "${with_banner_add+set}" = set; then : 18563 withval=$with_banner_add; 18564fi 18565 18566# Check whether --with-editor was given. 18567if test "${with_editor+set}" = set; then : 18568 withval=$with_editor; 18569fi 18570# Check whether --enable-auto-core was given. 18571if test "${enable_auto_core+set}" = set; then : 18572 enableval=$enable_auto_core; 18573fi 18574# Check whether --enable-dump-share was given. 18575if test "${enable_dump_share+set}" = set; then : 18576 enableval=$enable_dump_share; 18577fi 18578## configure options for TeX 18579# Check whether --enable-ipc was given. 18580if test "${enable_ipc+set}" = set; then : 18581 enableval=$enable_ipc; 18582fi 18583# Check whether --enable-tex was given. 18584if test "${enable_tex+set}" = set; then : 18585 enableval=$enable_tex; 18586fi 18587case $enable_tex in #( 18588 yes | no) : 18589 ;; #( 18590 *) : 18591 enable_tex=yes ;; 18592esac 18593 18594# Check whether --enable-tex-synctex was given. 18595if test "${enable_tex_synctex+set}" = set; then : 18596 enableval=$enable_tex_synctex; 18597fi 18598# Check whether --enable-etex was given. 18599if test "${enable_etex+set}" = set; then : 18600 enableval=$enable_etex; 18601fi 18602case $enable_etex in #( 18603 yes | no) : 18604 ;; #( 18605 *) : 18606 enable_etex=no ;; 18607esac 18608 18609# Check whether --enable-etex-synctex was given. 18610if test "${enable_etex_synctex+set}" = set; then : 18611 enableval=$enable_etex_synctex; 18612fi 18613# Check whether --enable-ptex was given. 18614if test "${enable_ptex+set}" = set; then : 18615 enableval=$enable_ptex; 18616fi 18617case $enable_ptex in #( 18618 yes | no) : 18619 ;; #( 18620 *) : 18621 enable_ptex=yes ;; 18622esac 18623 18624# Check whether --enable-ptex-synctex was given. 18625if test "${enable_ptex_synctex+set}" = set; then : 18626 enableval=$enable_ptex_synctex; 18627fi 18628 18629test "x$enable_web2c:$enable_ptex" = xyes:yes && { 18630 need_ptexenc=yes 18631} 18632# Check whether --enable-eptex was given. 18633if test "${enable_eptex+set}" = set; then : 18634 enableval=$enable_eptex; 18635fi 18636case $enable_eptex in #( 18637 yes | no) : 18638 ;; #( 18639 *) : 18640 enable_eptex=yes ;; 18641esac 18642 18643# Check whether --enable-eptex-synctex was given. 18644if test "${enable_eptex_synctex+set}" = set; then : 18645 enableval=$enable_eptex_synctex; 18646fi 18647 18648test "x$enable_web2c:$enable_eptex" = xyes:yes && { 18649 need_ptexenc=yes 18650} 18651# Check whether --enable-uptex was given. 18652if test "${enable_uptex+set}" = set; then : 18653 enableval=$enable_uptex; 18654fi 18655case $enable_uptex in #( 18656 yes | no) : 18657 ;; #( 18658 *) : 18659 enable_uptex=yes ;; 18660esac 18661 18662# Check whether --enable-uptex-synctex was given. 18663if test "${enable_uptex_synctex+set}" = set; then : 18664 enableval=$enable_uptex_synctex; 18665fi 18666 18667test "x$enable_web2c:$enable_uptex" = xyes:yes && { 18668 need_ptexenc=yes 18669} 18670# Check whether --enable-euptex was given. 18671if test "${enable_euptex+set}" = set; then : 18672 enableval=$enable_euptex; 18673fi 18674case $enable_euptex in #( 18675 yes | no) : 18676 ;; #( 18677 *) : 18678 enable_euptex=yes ;; 18679esac 18680 18681# Check whether --enable-euptex-synctex was given. 18682if test "${enable_euptex_synctex+set}" = set; then : 18683 enableval=$enable_euptex_synctex; 18684fi 18685 18686test "x$enable_web2c:$enable_euptex" = xyes:yes && { 18687 need_ptexenc=yes 18688} 18689# Check whether --enable-aleph was given. 18690if test "${enable_aleph+set}" = set; then : 18691 enableval=$enable_aleph; 18692fi 18693case $enable_aleph in #( 18694 yes | no) : 18695 ;; #( 18696 *) : 18697 enable_aleph=yes ;; 18698esac 18699# Check whether --enable-pdftex was given. 18700if test "${enable_pdftex+set}" = set; then : 18701 enableval=$enable_pdftex; 18702fi 18703case $enable_pdftex in #( 18704 yes | no) : 18705 ;; #( 18706 *) : 18707 enable_pdftex=yes ;; 18708esac 18709 18710# Check whether --enable-pdftex-synctex was given. 18711if test "${enable_pdftex_synctex+set}" = set; then : 18712 enableval=$enable_pdftex_synctex; 18713fi 18714 18715test "x$enable_web2c:$enable_pdftex" = xyes:yes && { 18716 need_xpdf=yes 18717 need_libpng=yes 18718} 18719# Check whether --enable-luatex was given. 18720if test "${enable_luatex+set}" = set; then : 18721 enableval=$enable_luatex; 18722fi 18723case $enable_luatex in #( 18724 yes | no) : 18725 ;; #( 18726 *) : 18727 enable_luatex=yes ;; 18728esac 18729 18730test "x$enable_web2c:$enable_luatex" = xyes:yes && { 18731 need_poppler=yes 18732 need_mpfr=yes 18733 need_cairo=yes 18734 need_libpng=yes 18735 need_zziplib=yes 18736 need_lua52=yes 18737} 18738# Check whether --enable-luajittex was given. 18739if test "${enable_luajittex+set}" = set; then : 18740 enableval=$enable_luajittex; 18741fi 18742case $enable_luajittex in #( 18743 yes | no) : 18744 ;; #( 18745 *) : 18746 enable_luajittex=yes ;; 18747esac 18748 18749test "x$enable_web2c:$enable_luajittex" = xyes:yes && { 18750 need_poppler=yes 18751 need_mpfr=yes 18752 need_cairo=yes 18753 need_libpng=yes 18754 need_zziplib=yes 18755 need_luajit=yes 18756} 18757# Check whether --enable-mp was given. 18758if test "${enable_mp+set}" = set; then : 18759 enableval=$enable_mp; 18760fi 18761case $enable_mp in #( 18762 yes | no) : 18763 ;; #( 18764 *) : 18765 enable_mp=yes ;; 18766esac 18767 18768test "x$enable_web2c:$enable_mp" = xyes:yes && { 18769 need_mpfr=yes 18770 need_cairo=yes 18771 need_libpng=yes 18772} 18773# Check whether --enable-pmp was given. 18774if test "${enable_pmp+set}" = set; then : 18775 enableval=$enable_pmp; 18776fi 18777case $enable_pmp in #( 18778 yes | no) : 18779 ;; #( 18780 *) : 18781 enable_pmp=yes ;; 18782esac 18783 18784test "x$enable_web2c:$enable_pmp" = xyes:yes && { 18785 need_mpfr=yes 18786 need_cairo=yes 18787 need_libpng=yes 18788 need_ptexenc=yes 18789} 18790# Check whether --enable-upmp was given. 18791if test "${enable_upmp+set}" = set; then : 18792 enableval=$enable_upmp; 18793fi 18794case $enable_upmp in #( 18795 yes | no) : 18796 ;; #( 18797 *) : 18798 enable_upmp=yes ;; 18799esac 18800 18801test "x$enable_web2c:$enable_upmp" = xyes:yes && { 18802 need_mpfr=yes 18803 need_cairo=yes 18804 need_libpng=yes 18805 need_ptexenc=yes 18806} 18807# Check whether --enable-xetex was given. 18808if test "${enable_xetex+set}" = set; then : 18809 enableval=$enable_xetex; 18810fi 18811case $enable_xetex in #( 18812 yes | no) : 18813 ;; #( 18814 *) : 18815 enable_xetex=yes ;; 18816esac 18817 18818# Check whether --enable-xetex-synctex was given. 18819if test "${enable_xetex_synctex+set}" = set; then : 18820 enableval=$enable_xetex_synctex; 18821fi 18822 18823test "x$enable_web2c:$enable_xetex" = xyes:yes && { 18824 need_poppler=yes 18825 need_libpng=yes 18826 need_freetype2=yes 18827 need_teckit=yes 18828 need_harfbuzz=yes 18829} 18830## configure options for MF 18831# Check whether --enable-mf was given. 18832if test "${enable_mf+set}" = set; then : 18833 enableval=$enable_mf; 18834fi 18835case $enable_mf in #( 18836 yes | no) : 18837 ;; #( 18838 *) : 18839 enable_mf=yes ;; 18840esac 18841 18842# Check whether --enable-mf-nowin was given. 18843if test "${enable_mf_nowin+set}" = set; then : 18844 enableval=$enable_mf_nowin; 18845fi 18846 18847# Check whether --with-mf-x-toolkit was given. 18848if test "${with_mf_x_toolkit+set}" = set; then : 18849 withval=$with_mf_x_toolkit; 18850fi 18851# Check whether --enable-epsfwin was given. 18852if test "${enable_epsfwin+set}" = set; then : 18853 enableval=$enable_epsfwin; 18854fi 18855# Check whether --enable-hp2627win was given. 18856if test "${enable_hp2627win+set}" = set; then : 18857 enableval=$enable_hp2627win; 18858fi 18859# Check whether --enable-mftalkwin was given. 18860if test "${enable_mftalkwin+set}" = set; then : 18861 enableval=$enable_mftalkwin; 18862fi 18863# Check whether --enable-nextwin was given. 18864if test "${enable_nextwin+set}" = set; then : 18865 enableval=$enable_nextwin; 18866fi 18867# Check whether --enable-regiswin was given. 18868if test "${enable_regiswin+set}" = set; then : 18869 enableval=$enable_regiswin; 18870fi 18871# Check whether --enable-suntoolswin was given. 18872if test "${enable_suntoolswin+set}" = set; then : 18873 enableval=$enable_suntoolswin; 18874fi 18875# Check whether --enable-tektronixwin was given. 18876if test "${enable_tektronixwin+set}" = set; then : 18877 enableval=$enable_tektronixwin; 18878fi 18879# Check whether --enable-unitermwin was given. 18880if test "${enable_unitermwin+set}" = set; then : 18881 enableval=$enable_unitermwin; 18882fi 18883## configure options for WEB programs 18884# Check whether --enable-web-progs was given. 18885if test "${enable_web_progs+set}" = set; then : 18886 enableval=$enable_web_progs; 18887fi 18888## configure option for the SyncTeX library and tool 18889# Check whether --enable-synctex was given. 18890if test "${enable_synctex+set}" = set; then : 18891 enableval=$enable_synctex; 18892fi 18893 18894 18895 18896if test "x$enable_texlive_build" = xyes; then : 18897 banner_pre='TeX Live' 18898else 18899 banner_pre='Web2C' 18900fi 18901cat >>confdefs.h <<_ACEOF 18902#define WEB2CVERSION " ($banner_pre $WEB2CVERSION$with_banner_add)" 18903_ACEOF 18904 18905 18906for ac_prog in kpsewhich 18907do 18908 # Extract the first word of "$ac_prog", so it can be a program name with args. 18909set dummy $ac_prog; ac_word=$2 18910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18911$as_echo_n "checking for $ac_word... " >&6; } 18912if ${ac_cv_prog_KPSEWHICH+:} false; then : 18913 $as_echo_n "(cached) " >&6 18914else 18915 if test -n "$KPSEWHICH"; then 18916 ac_cv_prog_KPSEWHICH="$KPSEWHICH" # Let the user override the test. 18917else 18918as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18919for as_dir in $PATH 18920do 18921 IFS=$as_save_IFS 18922 test -z "$as_dir" && as_dir=. 18923 for ac_exec_ext in '' $ac_executable_extensions; do 18924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18925 ac_cv_prog_KPSEWHICH="$ac_prog" 18926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18927 break 2 18928 fi 18929done 18930 done 18931IFS=$as_save_IFS 18932 18933fi 18934fi 18935KPSEWHICH=$ac_cv_prog_KPSEWHICH 18936if test -n "$KPSEWHICH"; then 18937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KPSEWHICH" >&5 18938$as_echo "$KPSEWHICH" >&6; } 18939else 18940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18941$as_echo "no" >&6; } 18942fi 18943 18944 18945 test -n "$KPSEWHICH" && break 18946done 18947test -n "$KPSEWHICH" || KPSEWHICH="false" 18948 18949 18950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc asm needs underscore" >&5 18951$as_echo_n "checking whether gcc asm needs underscore... " >&6; } 18952if ${pb_cv_asm_underscore+:} false; then : 18953 $as_echo_n "(cached) " >&6 18954else 18955 18956# Some versions of GCC asm for i386 need an underscore prepended to 18957# external symbols. Figure out if this is so. 18958cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18959/* end confdefs.h. */ 18960 18961extern char val ; 18962extern void sub () ; 18963#if defined (__i386__) && defined (__GNUC__) 18964asm(" .align 4\n" 18965".globl sub\n" 18966"sub:\n" 18967" movb \$1,val\n" 18968" ret\n"); 18969#else 18970void sub () { val = 1; } 18971#endif /* assembler */ 18972char val ; 18973int 18974main () 18975{ 18976sub (); return 0; 18977 ; 18978 return 0; 18979} 18980_ACEOF 18981if ac_fn_c_try_link "$LINENO"; then : 18982 pb_cv_asm_underscore=no 18983else 18984 pb_cv_asm_underscore=yes 18985fi 18986rm -f core conftest.err conftest.$ac_objext \ 18987 conftest$ac_exeext conftest.$ac_ext 18988fi 18989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pb_cv_asm_underscore" >&5 18990$as_echo "$pb_cv_asm_underscore" >&6; } 18991if test "x$pb_cv_asm_underscore" = xyes; then 18992 18993$as_echo "#define ASM_NEEDS_UNDERSCORE 1" >>confdefs.h 18994 18995fi 18996 18997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5 18998$as_echo_n "checking for native WIN32 or MINGW32... " >&6; } 18999if ${kpse_cv_have_win32+:} false; then : 19000 $as_echo_n "(cached) " >&6 19001else 19002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19003/* end confdefs.h. */ 19004#ifndef WIN32 19005 choke me 19006#endif 19007int 19008main () 19009{ 19010 19011 ; 19012 return 0; 19013} 19014_ACEOF 19015if ac_fn_c_try_compile "$LINENO"; then : 19016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19017/* end confdefs.h. */ 19018#ifndef __MINGW32__ 19019 choke me 19020#endif 19021int 19022main () 19023{ 19024 19025 ; 19026 return 0; 19027} 19028_ACEOF 19029if ac_fn_c_try_compile "$LINENO"; then : 19030 kpse_cv_have_win32=mingw32 19031else 19032 kpse_cv_have_win32=native 19033fi 19034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19035else 19036 kpse_cv_have_win32=no 19037fi 19038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19039fi 19040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5 19041$as_echo "$kpse_cv_have_win32" >&6; } 19042 19043 if test "x$kpse_cv_have_win32" != xno; then 19044 WIN32_TRUE= 19045 WIN32_FALSE='#' 19046else 19047 WIN32_TRUE='#' 19048 WIN32_FALSE= 19049fi 19050 19051 19052 if test "x$kpse_cv_have_win32" = xmingw32; then 19053 MINGW32_TRUE= 19054 MINGW32_FALSE='#' 19055else 19056 MINGW32_TRUE='#' 19057 MINGW32_FALSE= 19058fi 19059 19060 19061 if test -r "$srcdir/../texlive/w32_wrapper/callexe.c"; then 19062 WIN32_CALL_TRUE= 19063 WIN32_CALL_FALSE='#' 19064else 19065 WIN32_CALL_TRUE='#' 19066 WIN32_CALL_FALSE= 19067fi 19068 19069if test -z "$WIN32_TRUE"; then : 19070 ac_config_links="$ac_config_links callexe.c:../texlive/w32_wrapper/callexe.c" 19071 19072fi 19073 19074 19075case $with_editor in #( 19076 ''|yes|no) : 19077 if test "x$kpse_cv_have_win32" = xno; then : 19078 with_editor="vi +%d '%s'" 19079else 19080 with_editor='texworks --position=%d \"%s\"' 19081fi ;; #( 19082 *) : 19083 ;; 19084esac 19085 19086cat >>confdefs.h <<_ACEOF 19087#define EDITOR "$with_editor" 19088_ACEOF 19089 19090 19091if test "x$enable_auto_core" = xyes; then : 19092 19093$as_echo "#define FUNNY_CORE_DUMP 1" >>confdefs.h 19094 19095fi 19096 19097if test "x$enable_dump_share" = xno; then : 19098 19099$as_echo "#define NO_DUMP_SHARE 1" >>confdefs.h 19100 19101fi 19102 19103case $enable_ipc in #( 19104 yes|no) : 19105 ;; #( 19106 *) : 19107 enable_ipc=yes ;; 19108esac 19109 19110 19111if test "x$kpse_cv_have_win32" = xno; then : 19112 kpse_save_LIBS=$LIBS 19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5 19114$as_echo_n "checking for library containing connect... " >&6; } 19115if ${ac_cv_search_connect+:} false; then : 19116 $as_echo_n "(cached) " >&6 19117else 19118 ac_func_search_save_LIBS=$LIBS 19119cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19120/* end confdefs.h. */ 19121 19122/* Override any GCC internal prototype to avoid an error. 19123 Use char because int might match the return type of a GCC 19124 builtin and then its argument prototype would still apply. */ 19125#ifdef __cplusplus 19126extern "C" 19127#endif 19128char connect (); 19129int 19130main () 19131{ 19132return connect (); 19133 ; 19134 return 0; 19135} 19136_ACEOF 19137for ac_lib in '' socket nsl; do 19138 if test -z "$ac_lib"; then 19139 ac_res="none required" 19140 else 19141 ac_res=-l$ac_lib 19142 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19143 fi 19144 if ac_fn_c_try_link "$LINENO"; then : 19145 ac_cv_search_connect=$ac_res 19146fi 19147rm -f core conftest.err conftest.$ac_objext \ 19148 conftest$ac_exeext 19149 if ${ac_cv_search_connect+:} false; then : 19150 break 19151fi 19152done 19153if ${ac_cv_search_connect+:} false; then : 19154 19155else 19156 ac_cv_search_connect=no 19157fi 19158rm conftest.$ac_ext 19159LIBS=$ac_func_search_save_LIBS 19160fi 19161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5 19162$as_echo "$ac_cv_search_connect" >&6; } 19163ac_res=$ac_cv_search_connect 19164if test "$ac_res" != no; then : 19165 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19166 19167fi 19168 19169 LIBS=$kpse_save_LIBS 19170else 19171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lwsock32" >&5 19172$as_echo_n "checking for main in -lwsock32... " >&6; } 19173if ${ac_cv_lib_wsock32_main+:} false; then : 19174 $as_echo_n "(cached) " >&6 19175else 19176 ac_check_lib_save_LIBS=$LIBS 19177LIBS="-lwsock32 $LIBS" 19178cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19179/* end confdefs.h. */ 19180 19181 19182int 19183main () 19184{ 19185return main (); 19186 ; 19187 return 0; 19188} 19189_ACEOF 19190if ac_fn_c_try_link "$LINENO"; then : 19191 ac_cv_lib_wsock32_main=yes 19192else 19193 ac_cv_lib_wsock32_main=no 19194fi 19195rm -f core conftest.err conftest.$ac_objext \ 19196 conftest$ac_exeext conftest.$ac_ext 19197LIBS=$ac_check_lib_save_LIBS 19198fi 19199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_main" >&5 19200$as_echo "$ac_cv_lib_wsock32_main" >&6; } 19201if test "x$ac_cv_lib_wsock32_main" = xyes; then : 19202 ac_cv_search_connect=-lwsock32 19203else 19204 ac_cv_search_connect=no 19205fi 19206 19207fi 19208 19209# Check whether --enable-missing was given. 19210if test "${enable_missing+set}" = set; then : 19211 enableval=$enable_missing; 19212fi 19213 19214case $ac_cv_search_connect in #( 19215 "none required") : 19216 ;; #( 19217 no) : 19218 if test "x$enable_luatex" = xyes; then : 19219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no socket library: disabling luatex" >&5 19220$as_echo "$as_me: WARNING: Sorry, no socket library: disabling luatex" >&2;} 19221if test "x$enable_missing" = xno; then : 19222 as_fn_error $? "terminating." "$LINENO" 5 19223fi 19224 19225 enable_luatex=no 19226fi 19227 19228 if test "x$enable_ipc" = xyes; then : 19229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no socket library: disabling ipc" >&5 19230$as_echo "$as_me: WARNING: Sorry, no socket library: disabling ipc" >&2;} 19231if test "x$enable_missing" = xno; then : 19232 as_fn_error $? "terminating." "$LINENO" 5 19233fi 19234 19235 enable_ipc=no 19236fi 19237 ;; #( 19238 *) : 19239 socketlibs=$ac_cv_search_connect ;; 19240esac 19241if test "x$enable_ipc" = xyes; then 19242 ipc_socketlibs=$socketlibs 19243 19244$as_echo "#define IPC 1" >>confdefs.h 19245 19246fi 19247 19248# We may need additional libraries for luaTeX. 19249# On Solaris -lnsl for gethostbyname(), -lrt for nanosleep(), 19250# and maybe -lresolv for inet_aton(). 19251lua_socketlibs=$socketlibs 19252kpse_save_LIBS=$LIBS 19253LUA52_DEFINES='-DLUA_COMPAT_MODULE -DLUAI_HASHLIMIT=6' 19254 19255if test "x$kpse_cv_have_win32" = xno; then 19256 LUA52_DEFINES="$LUA52_DEFINES -DLUA_USE_POSIX" 19257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 19258$as_echo_n "checking for library containing dlopen... " >&6; } 19259if ${ac_cv_search_dlopen+:} false; then : 19260 $as_echo_n "(cached) " >&6 19261else 19262 ac_func_search_save_LIBS=$LIBS 19263cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19264/* end confdefs.h. */ 19265 19266/* Override any GCC internal prototype to avoid an error. 19267 Use char because int might match the return type of a GCC 19268 builtin and then its argument prototype would still apply. */ 19269#ifdef __cplusplus 19270extern "C" 19271#endif 19272char dlopen (); 19273int 19274main () 19275{ 19276return dlopen (); 19277 ; 19278 return 0; 19279} 19280_ACEOF 19281for ac_lib in '' dl; do 19282 if test -z "$ac_lib"; then 19283 ac_res="none required" 19284 else 19285 ac_res=-l$ac_lib 19286 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19287 fi 19288 if ac_fn_c_try_link "$LINENO"; then : 19289 ac_cv_search_dlopen=$ac_res 19290fi 19291rm -f core conftest.err conftest.$ac_objext \ 19292 conftest$ac_exeext 19293 if ${ac_cv_search_dlopen+:} false; then : 19294 break 19295fi 19296done 19297if ${ac_cv_search_dlopen+:} false; then : 19298 19299else 19300 ac_cv_search_dlopen=no 19301fi 19302rm conftest.$ac_ext 19303LIBS=$ac_func_search_save_LIBS 19304fi 19305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 19306$as_echo "$ac_cv_search_dlopen" >&6; } 19307ac_res=$ac_cv_search_dlopen 19308if test "$ac_res" != no; then : 19309 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19310 19311fi 19312 19313 if test "x$ac_cv_search_dlopen" != xno; then 19314 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 19315" 19316if test "x$ac_cv_header_dlfcn_h" = xyes; then : 19317 LUA52_DEFINES="$LUA52_DEFINES -DLUA_USE_DLOPEN" 19318fi 19319 19320 19321 fi 19322fi 19323 19324LUAJIT_DEFINES='-DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6' 19325 19326case $host_os:$host_cpu in #( 19327 *darwin*:x86_64) : 19328 LUAJIT_LDEXTRA='-pagezero_size 10000 -image_base 100000000' ;; #( 19329 *) : 19330 ;; 19331esac 19332 19333 19334LIBS=$kpse_save_LIBS 19335if test "x$kpse_cv_have_win32" = xno; then 19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 19337$as_echo_n "checking for library containing gethostbyname... " >&6; } 19338if ${ac_cv_search_gethostbyname+:} false; then : 19339 $as_echo_n "(cached) " >&6 19340else 19341 ac_func_search_save_LIBS=$LIBS 19342cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19343/* end confdefs.h. */ 19344 19345/* Override any GCC internal prototype to avoid an error. 19346 Use char because int might match the return type of a GCC 19347 builtin and then its argument prototype would still apply. */ 19348#ifdef __cplusplus 19349extern "C" 19350#endif 19351char gethostbyname (); 19352int 19353main () 19354{ 19355return gethostbyname (); 19356 ; 19357 return 0; 19358} 19359_ACEOF 19360for ac_lib in '' nsl; do 19361 if test -z "$ac_lib"; then 19362 ac_res="none required" 19363 else 19364 ac_res=-l$ac_lib 19365 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19366 fi 19367 if ac_fn_c_try_link "$LINENO"; then : 19368 ac_cv_search_gethostbyname=$ac_res 19369fi 19370rm -f core conftest.err conftest.$ac_objext \ 19371 conftest$ac_exeext 19372 if ${ac_cv_search_gethostbyname+:} false; then : 19373 break 19374fi 19375done 19376if ${ac_cv_search_gethostbyname+:} false; then : 19377 19378else 19379 ac_cv_search_gethostbyname=no 19380fi 19381rm conftest.$ac_ext 19382LIBS=$ac_func_search_save_LIBS 19383fi 19384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 19385$as_echo "$ac_cv_search_gethostbyname" >&6; } 19386ac_res=$ac_cv_search_gethostbyname 19387if test "$ac_res" != no; then : 19388 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19389 19390fi 19391 19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing hstrerror" >&5 19393$as_echo_n "checking for library containing hstrerror... " >&6; } 19394if ${ac_cv_search_hstrerror+:} false; then : 19395 $as_echo_n "(cached) " >&6 19396else 19397 ac_func_search_save_LIBS=$LIBS 19398cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19399/* end confdefs.h. */ 19400 19401/* Override any GCC internal prototype to avoid an error. 19402 Use char because int might match the return type of a GCC 19403 builtin and then its argument prototype would still apply. */ 19404#ifdef __cplusplus 19405extern "C" 19406#endif 19407char hstrerror (); 19408int 19409main () 19410{ 19411return hstrerror (); 19412 ; 19413 return 0; 19414} 19415_ACEOF 19416for ac_lib in '' resolv; do 19417 if test -z "$ac_lib"; then 19418 ac_res="none required" 19419 else 19420 ac_res=-l$ac_lib 19421 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19422 fi 19423 if ac_fn_c_try_link "$LINENO"; then : 19424 ac_cv_search_hstrerror=$ac_res 19425fi 19426rm -f core conftest.err conftest.$ac_objext \ 19427 conftest$ac_exeext 19428 if ${ac_cv_search_hstrerror+:} false; then : 19429 break 19430fi 19431done 19432if ${ac_cv_search_hstrerror+:} false; then : 19433 19434else 19435 ac_cv_search_hstrerror=no 19436fi 19437rm conftest.$ac_ext 19438LIBS=$ac_func_search_save_LIBS 19439fi 19440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5 19441$as_echo "$ac_cv_search_hstrerror" >&6; } 19442ac_res=$ac_cv_search_hstrerror 19443if test "$ac_res" != no; then : 19444 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19445 19446fi 19447 19448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 19449$as_echo_n "checking for library containing inet_aton... " >&6; } 19450if ${ac_cv_search_inet_aton+:} false; then : 19451 $as_echo_n "(cached) " >&6 19452else 19453 ac_func_search_save_LIBS=$LIBS 19454cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19455/* end confdefs.h. */ 19456 19457/* Override any GCC internal prototype to avoid an error. 19458 Use char because int might match the return type of a GCC 19459 builtin and then its argument prototype would still apply. */ 19460#ifdef __cplusplus 19461extern "C" 19462#endif 19463char inet_aton (); 19464int 19465main () 19466{ 19467return inet_aton (); 19468 ; 19469 return 0; 19470} 19471_ACEOF 19472for ac_lib in '' resolv; do 19473 if test -z "$ac_lib"; then 19474 ac_res="none required" 19475 else 19476 ac_res=-l$ac_lib 19477 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19478 fi 19479 if ac_fn_c_try_link "$LINENO"; then : 19480 ac_cv_search_inet_aton=$ac_res 19481fi 19482rm -f core conftest.err conftest.$ac_objext \ 19483 conftest$ac_exeext 19484 if ${ac_cv_search_inet_aton+:} false; then : 19485 break 19486fi 19487done 19488if ${ac_cv_search_inet_aton+:} false; then : 19489 19490else 19491 ac_cv_search_inet_aton=no 19492fi 19493rm conftest.$ac_ext 19494LIBS=$ac_func_search_save_LIBS 19495fi 19496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 19497$as_echo "$ac_cv_search_inet_aton" >&6; } 19498ac_res=$ac_cv_search_inet_aton 19499if test "$ac_res" != no; then : 19500 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19501 19502fi 19503 19504 LIBS=$kpse_save_LIBS 19505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5 19506$as_echo_n "checking for library containing nanosleep... " >&6; } 19507if ${ac_cv_search_nanosleep+:} false; then : 19508 $as_echo_n "(cached) " >&6 19509else 19510 ac_func_search_save_LIBS=$LIBS 19511cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19512/* end confdefs.h. */ 19513 19514/* Override any GCC internal prototype to avoid an error. 19515 Use char because int might match the return type of a GCC 19516 builtin and then its argument prototype would still apply. */ 19517#ifdef __cplusplus 19518extern "C" 19519#endif 19520char nanosleep (); 19521int 19522main () 19523{ 19524return nanosleep (); 19525 ; 19526 return 0; 19527} 19528_ACEOF 19529for ac_lib in '' rt; do 19530 if test -z "$ac_lib"; then 19531 ac_res="none required" 19532 else 19533 ac_res=-l$ac_lib 19534 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19535 fi 19536 if ac_fn_c_try_link "$LINENO"; then : 19537 ac_cv_search_nanosleep=$ac_res 19538fi 19539rm -f core conftest.err conftest.$ac_objext \ 19540 conftest$ac_exeext 19541 if ${ac_cv_search_nanosleep+:} false; then : 19542 break 19543fi 19544done 19545if ${ac_cv_search_nanosleep+:} false; then : 19546 19547else 19548 ac_cv_search_nanosleep=no 19549fi 19550rm conftest.$ac_ext 19551LIBS=$ac_func_search_save_LIBS 19552fi 19553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5 19554$as_echo "$ac_cv_search_nanosleep" >&6; } 19555ac_res=$ac_cv_search_nanosleep 19556if test "$ac_res" != no; then : 19557 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19558 19559fi 19560 19561 LIBS=$kpse_save_LIBS 19562 case $ac_cv_header_dlfcn_h in #( 19563 yes) : 19564 case $ac_cv_search_dlopen in #( 19565 no*) : 19566 ;; #( 19567 *) : 19568 lua_socketlibs="$lua_socketlibs $ac_cv_search_dlopen" ;; 19569esac ;; #( 19570 *) : 19571 ;; 19572esac 19573 case $ac_cv_search_hstrerror in #( 19574 "none required") : 19575 ;; #( 19576 no) : 19577 if test "x$enable_luatex" = xyes; then : 19578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no hstrerror(): disabling luatex" >&5 19579$as_echo "$as_me: WARNING: Sorry, no hstrerror(): disabling luatex" >&2;} 19580if test "x$enable_missing" = xno; then : 19581 as_fn_error $? "terminating." "$LINENO" 5 19582fi 19583 19584 enable_luatex=no 19585fi 19586 ;; #( 19587 *) : 19588 lua_socketlibs="$lua_socketlibs $ac_cv_search_hstrerror" ;; 19589esac 19590 case $ac_cv_search_inet_aton in #( 19591 "none required") : 19592 ;; #( 19593 no) : 19594 if test "x$enable_luatex" = xyes; then : 19595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no inet_aton(): disabling luatex" >&5 19596$as_echo "$as_me: WARNING: Sorry, no inet_aton(): disabling luatex" >&2;} 19597if test "x$enable_missing" = xno; then : 19598 as_fn_error $? "terminating." "$LINENO" 5 19599fi 19600 19601 enable_luatex=no 19602fi 19603 ;; #( 19604 *) : 19605 lua_socketlibs="$lua_socketlibs $ac_cv_search_inet_aton" ;; 19606esac 19607 case $ac_cv_search_gethostbyname in #( 19608 "none required") : 19609 ;; #( 19610 no) : 19611 if test "x$enable_luatex" = xyes; then : 19612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no gethostbyname(): disabling luatex" >&5 19613$as_echo "$as_me: WARNING: Sorry, no gethostbyname(): disabling luatex" >&2;} 19614if test "x$enable_missing" = xno; then : 19615 as_fn_error $? "terminating." "$LINENO" 5 19616fi 19617 19618 enable_luatex=no 19619fi 19620 ;; #( 19621 *) : 19622 lua_socketlibs="$lua_socketlibs $ac_cv_search_gethostbyname" ;; 19623esac 19624 case $ac_cv_search_nanosleep in #( 19625 "none required") : 19626 ;; #( 19627 no) : 19628 if test "x$enable_luatex" = xyes; then : 19629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no nanosleep(): disabling luatex" >&5 19630$as_echo "$as_me: WARNING: Sorry, no nanosleep(): disabling luatex" >&2;} 19631if test "x$enable_missing" = xno; then : 19632 as_fn_error $? "terminating." "$LINENO" 5 19633fi 19634 19635 enable_luatex=no 19636fi 19637 ;; #( 19638 *) : 19639 lua_socketlibs="$lua_socketlibs $ac_cv_search_nanosleep" ;; 19640esac 19641else 19642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5 19643$as_echo_n "checking for main in -lws2_32... " >&6; } 19644if ${ac_cv_lib_ws2_32_main+:} false; then : 19645 $as_echo_n "(cached) " >&6 19646else 19647 ac_check_lib_save_LIBS=$LIBS 19648LIBS="-lws2_32 $LIBS" 19649cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19650/* end confdefs.h. */ 19651 19652 19653int 19654main () 19655{ 19656return main (); 19657 ; 19658 return 0; 19659} 19660_ACEOF 19661if ac_fn_c_try_link "$LINENO"; then : 19662 ac_cv_lib_ws2_32_main=yes 19663else 19664 ac_cv_lib_ws2_32_main=no 19665fi 19666rm -f core conftest.err conftest.$ac_objext \ 19667 conftest$ac_exeext conftest.$ac_ext 19668LIBS=$ac_check_lib_save_LIBS 19669fi 19670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5 19671$as_echo "$ac_cv_lib_ws2_32_main" >&6; } 19672if test "x$ac_cv_lib_ws2_32_main" = xyes; then : 19673 lua_socketlibs="$socketlibs -lws2_32" 19674else 19675 if test "x$enable_luatex" = xyes; then : 19676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no getaddrinfo(): disabling luatex" >&5 19677$as_echo "$as_me: WARNING: Sorry, no getaddrinfo(): disabling luatex" >&2;} 19678if test "x$enable_missing" = xno; then : 19679 as_fn_error $? "terminating." "$LINENO" 5 19680fi 19681 19682 enable_luatex=no 19683fi 19684 19685fi 19686 19687fi 19688 if test "x$ac_cv_header_dlfcn_h" = xyes; then 19689 USE_DLOPEN_TRUE= 19690 USE_DLOPEN_FALSE='#' 19691else 19692 USE_DLOPEN_TRUE='#' 19693 USE_DLOPEN_FALSE= 19694fi 19695 19696 19697 19698 19699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS X ApplicationServices framework" >&5 19700$as_echo_n "checking for Mac OS X ApplicationServices framework... " >&6; } 19701if ${kpse_cv_have_ApplicationServices+:} false; then : 19702 $as_echo_n "(cached) " >&6 19703else 19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19705/* end confdefs.h. */ 19706#include <ApplicationServices/ApplicationServices.h> 19707int 19708main () 19709{ 19710CTFontRef font 19711 ; 19712 return 0; 19713} 19714_ACEOF 19715if ac_fn_c_try_compile "$LINENO"; then : 19716 kpse_cv_have_ApplicationServices=yes 19717else 19718 kpse_cv_have_ApplicationServices=no 19719fi 19720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19721fi 19722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_ApplicationServices" >&5 19723$as_echo "$kpse_cv_have_ApplicationServices" >&6; } 19724if test "x$kpse_cv_have_ApplicationServices" = xyes; then : 19725 19726$as_echo "#define HAVE_APPLICATIONSERVICES 1" >>confdefs.h 19727 19728fi 19729 19730if test -n "$ac_tool_prefix"; then 19731 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 19732set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 19733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19734$as_echo_n "checking for $ac_word... " >&6; } 19735if ${ac_cv_prog_PKG_CONFIG+:} false; then : 19736 $as_echo_n "(cached) " >&6 19737else 19738 if test -n "$PKG_CONFIG"; then 19739 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. 19740else 19741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19742for as_dir in $PATH 19743do 19744 IFS=$as_save_IFS 19745 test -z "$as_dir" && as_dir=. 19746 for ac_exec_ext in '' $ac_executable_extensions; do 19747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19748 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config" 19749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19750 break 2 19751 fi 19752done 19753 done 19754IFS=$as_save_IFS 19755 19756fi 19757fi 19758PKG_CONFIG=$ac_cv_prog_PKG_CONFIG 19759if test -n "$PKG_CONFIG"; then 19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 19761$as_echo "$PKG_CONFIG" >&6; } 19762else 19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19764$as_echo "no" >&6; } 19765fi 19766 19767 19768fi 19769if test -z "$ac_cv_prog_PKG_CONFIG"; then 19770 ac_ct_PKG_CONFIG=$PKG_CONFIG 19771 # Extract the first word of "pkg-config", so it can be a program name with args. 19772set dummy pkg-config; ac_word=$2 19773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19774$as_echo_n "checking for $ac_word... " >&6; } 19775if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then : 19776 $as_echo_n "(cached) " >&6 19777else 19778 if test -n "$ac_ct_PKG_CONFIG"; then 19779 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test. 19780else 19781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19782for as_dir in $PATH 19783do 19784 IFS=$as_save_IFS 19785 test -z "$as_dir" && as_dir=. 19786 for ac_exec_ext in '' $ac_executable_extensions; do 19787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19788 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config" 19789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19790 break 2 19791 fi 19792done 19793 done 19794IFS=$as_save_IFS 19795 19796fi 19797fi 19798ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG 19799if test -n "$ac_ct_PKG_CONFIG"; then 19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5 19801$as_echo "$ac_ct_PKG_CONFIG" >&6; } 19802else 19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19804$as_echo "no" >&6; } 19805fi 19806 19807 if test "x$ac_ct_PKG_CONFIG" = x; then 19808 PKG_CONFIG="false" 19809 else 19810 case $cross_compiling:$ac_tool_warned in 19811yes:) 19812{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 19813$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 19814ac_tool_warned=yes ;; 19815esac 19816 PKG_CONFIG=$ac_ct_PKG_CONFIG 19817 fi 19818else 19819 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG" 19820fi 19821 19822 19823# Check whether --with-fontconfig-includes was given. 19824if test "${with_fontconfig_includes+set}" = set; then : 19825 withval=$with_fontconfig_includes; 19826fi 19827 19828# Check whether --with-fontconfig-libdir was given. 19829if test "${with_fontconfig_libdir+set}" = set; then : 19830 withval=$with_fontconfig_libdir; 19831fi 19832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed fontconfig headers and library" >&5 19833$as_echo_n "checking for installed fontconfig headers and library... " >&6; } 19834if ${kpse_cv_have_fontconfig+:} false; then : 19835 $as_echo_n "(cached) " >&6 19836else 19837 kpse_save_CPPFLAGS=$CPPFLAGS 19838kpse_save_LIBS=$LIBS 19839kpse_cv_fontconfig_includes= 19840kpse_cv_fontconfig_libs='-lfontconfig' 19841if test "x$with_fontconfig_includes:$with_fontconfig_libdir" != x:; then 19842 if test "x$with_fontconfig_includes" != x; then 19843 kpse_cv_fontconfig_includes="-I$with_fontconfig_includes" 19844 fi 19845 if test "x$with_fontconfig_libdir" != x; then 19846 kpse_cv_fontconfig_libs="-L$with_fontconfig_libdir $kpse_cv_fontconfig_libs" 19847 fi 19848elif $PKG_CONFIG fontconfig; then 19849 kpse_cv_fontconfig_includes=`$PKG_CONFIG fontconfig --cflags` 19850 kpse_cv_fontconfig_libs=`$PKG_CONFIG fontconfig --libs` 19851fi 19852CPPFLAGS="$kpse_cv_fontconfig_includes $CPPFLAGS" 19853LIBS="$kpse_cv_fontconfig_libs $LIBS" 19854cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19855/* end confdefs.h. */ 19856#include <fontconfig/fontconfig.h> 19857int 19858main () 19859{ 19860FcObjectSet *os; FcInit(); 19861 ; 19862 return 0; 19863} 19864_ACEOF 19865if ac_fn_c_try_link "$LINENO"; then : 19866 kpse_cv_have_fontconfig=yes 19867else 19868 kpse_cv_have_fontconfig=no 19869fi 19870rm -f core conftest.err conftest.$ac_objext \ 19871 conftest$ac_exeext conftest.$ac_ext 19872CPPFLAGS=$kpse_save_CPPFLAGS 19873LIBS=$kpse_save_LIBS 19874fi 19875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_fontconfig" >&5 19876$as_echo "$kpse_cv_have_fontconfig" >&6; } 19877if test "x$kpse_cv_have_fontconfig" = xyes; then 19878 FONTCONFIG_INCLUDES=$kpse_cv_fontconfig_includes 19879 FONTCONFIG_LIBS=$kpse_cv_fontconfig_libs 19880 19881$as_echo "#define HAVE_LIBFONTCONFIG 1" >>confdefs.h 19882 19883fi 19884 19885 19886 19887if test "x$kpse_cv_have_ApplicationServices:$kpse_cv_have_fontconfig" = xno:no; then : 19888 if test "x$enable_xetex" = xyes; then : 19889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, neither ApplicationServices framework nor fontconfig library: disabling xetex" >&5 19890$as_echo "$as_me: WARNING: Sorry, neither ApplicationServices framework nor fontconfig library: disabling xetex" >&2;} 19891if test "x$enable_missing" = xno; then : 19892 as_fn_error $? "terminating." "$LINENO" 5 19893fi 19894 19895 enable_xetex=no 19896fi 19897 19898fi 19899 if test "x$kpse_cv_have_ApplicationServices" = xyes; then 19900 XETEX_MACOSX_TRUE= 19901 XETEX_MACOSX_FALSE='#' 19902else 19903 XETEX_MACOSX_TRUE='#' 19904 XETEX_MACOSX_FALSE= 19905fi 19906 19907 19908 if test "x$enable_tex" = xyes; then 19909 TEX_TRUE= 19910 TEX_FALSE='#' 19911else 19912 TEX_TRUE='#' 19913 TEX_FALSE= 19914fi 19915 19916case $enable_native_texlive_build:$enable_tex_synctex in #( 19917 yes:no | no:yes | no:no) : 19918 ;; #( 19919 *) : 19920 if test -z "$enable_tex_synctex"; then : 19921 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tex-synctex=no'" >&5 19922$as_echo "$as_me: Assuming \`--enable-tex-synctex=no'" >&6;} 19923else 19924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-tex-synctex=no' (native TeX Live build)" >&5 19925$as_echo "$as_me: WARNING: Enforcing \`--enable-tex-synctex=no' (native TeX Live build)" >&2;} 19926fi 19927 enable_tex_synctex=no ;; 19928esac 19929 if test "x$enable_tex_synctex" = xyes; then 19930 TEX_SYNCTEX_TRUE= 19931 TEX_SYNCTEX_FALSE='#' 19932else 19933 TEX_SYNCTEX_TRUE='#' 19934 TEX_SYNCTEX_FALSE= 19935fi 19936 if test "x$enable_etex" = xyes; then 19937 ETEX_TRUE= 19938 ETEX_FALSE='#' 19939else 19940 ETEX_TRUE='#' 19941 ETEX_FALSE= 19942fi 19943 19944case $enable_native_texlive_build:$enable_etex_synctex in #( 19945 yes:yes | no:yes | no:no) : 19946 ;; #( 19947 *) : 19948 if test -z "$enable_etex_synctex"; then : 19949 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-etex-synctex=yes'" >&5 19950$as_echo "$as_me: Assuming \`--enable-etex-synctex=yes'" >&6;} 19951else 19952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-etex-synctex=yes' (native TeX Live build)" >&5 19953$as_echo "$as_me: WARNING: Enforcing \`--enable-etex-synctex=yes' (native TeX Live build)" >&2;} 19954fi 19955 enable_etex_synctex=yes ;; 19956esac 19957 if test "x$enable_etex_synctex" = xyes; then 19958 ETEX_SYNCTEX_TRUE= 19959 ETEX_SYNCTEX_FALSE='#' 19960else 19961 ETEX_SYNCTEX_TRUE='#' 19962 ETEX_SYNCTEX_FALSE= 19963fi 19964 if test "x$enable_ptex" = xyes; then 19965 PTEX_TRUE= 19966 PTEX_FALSE='#' 19967else 19968 PTEX_TRUE='#' 19969 PTEX_FALSE= 19970fi 19971 19972case $enable_native_texlive_build:$enable_ptex_synctex in #( 19973 yes:yes | no:yes | no:no) : 19974 ;; #( 19975 *) : 19976 if test -z "$enable_ptex_synctex"; then : 19977 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ptex-synctex=yes'" >&5 19978$as_echo "$as_me: Assuming \`--enable-ptex-synctex=yes'" >&6;} 19979else 19980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-ptex-synctex=yes' (native TeX Live build)" >&5 19981$as_echo "$as_me: WARNING: Enforcing \`--enable-ptex-synctex=yes' (native TeX Live build)" >&2;} 19982fi 19983 enable_ptex_synctex=yes ;; 19984esac 19985 if test "x$enable_ptex_synctex" = xyes; then 19986 PTEX_SYNCTEX_TRUE= 19987 PTEX_SYNCTEX_FALSE='#' 19988else 19989 PTEX_SYNCTEX_TRUE='#' 19990 PTEX_SYNCTEX_FALSE= 19991fi 19992 if test "x$enable_eptex" = xyes; then 19993 EPTEX_TRUE= 19994 EPTEX_FALSE='#' 19995else 19996 EPTEX_TRUE='#' 19997 EPTEX_FALSE= 19998fi 19999 20000case $enable_native_texlive_build:$enable_eptex_synctex in #( 20001 yes:yes | no:yes | no:no) : 20002 ;; #( 20003 *) : 20004 if test -z "$enable_eptex_synctex"; then : 20005 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-eptex-synctex=yes'" >&5 20006$as_echo "$as_me: Assuming \`--enable-eptex-synctex=yes'" >&6;} 20007else 20008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-eptex-synctex=yes' (native TeX Live build)" >&5 20009$as_echo "$as_me: WARNING: Enforcing \`--enable-eptex-synctex=yes' (native TeX Live build)" >&2;} 20010fi 20011 enable_eptex_synctex=yes ;; 20012esac 20013 if test "x$enable_eptex_synctex" = xyes; then 20014 EPTEX_SYNCTEX_TRUE= 20015 EPTEX_SYNCTEX_FALSE='#' 20016else 20017 EPTEX_SYNCTEX_TRUE='#' 20018 EPTEX_SYNCTEX_FALSE= 20019fi 20020 if test "x$enable_uptex" = xyes; then 20021 UPTEX_TRUE= 20022 UPTEX_FALSE='#' 20023else 20024 UPTEX_TRUE='#' 20025 UPTEX_FALSE= 20026fi 20027 20028case $enable_native_texlive_build:$enable_uptex_synctex in #( 20029 yes:yes | no:yes | no:no) : 20030 ;; #( 20031 *) : 20032 if test -z "$enable_uptex_synctex"; then : 20033 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-uptex-synctex=yes'" >&5 20034$as_echo "$as_me: Assuming \`--enable-uptex-synctex=yes'" >&6;} 20035else 20036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-uptex-synctex=yes' (native TeX Live build)" >&5 20037$as_echo "$as_me: WARNING: Enforcing \`--enable-uptex-synctex=yes' (native TeX Live build)" >&2;} 20038fi 20039 enable_uptex_synctex=yes ;; 20040esac 20041 if test "x$enable_uptex_synctex" = xyes; then 20042 UPTEX_SYNCTEX_TRUE= 20043 UPTEX_SYNCTEX_FALSE='#' 20044else 20045 UPTEX_SYNCTEX_TRUE='#' 20046 UPTEX_SYNCTEX_FALSE= 20047fi 20048 if test "x$enable_euptex" = xyes; then 20049 EUPTEX_TRUE= 20050 EUPTEX_FALSE='#' 20051else 20052 EUPTEX_TRUE='#' 20053 EUPTEX_FALSE= 20054fi 20055 20056case $enable_native_texlive_build:$enable_euptex_synctex in #( 20057 yes:yes | no:yes | no:no) : 20058 ;; #( 20059 *) : 20060 if test -z "$enable_euptex_synctex"; then : 20061 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-euptex-synctex=yes'" >&5 20062$as_echo "$as_me: Assuming \`--enable-euptex-synctex=yes'" >&6;} 20063else 20064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-euptex-synctex=yes' (native TeX Live build)" >&5 20065$as_echo "$as_me: WARNING: Enforcing \`--enable-euptex-synctex=yes' (native TeX Live build)" >&2;} 20066fi 20067 enable_euptex_synctex=yes ;; 20068esac 20069 if test "x$enable_euptex_synctex" = xyes; then 20070 EUPTEX_SYNCTEX_TRUE= 20071 EUPTEX_SYNCTEX_FALSE='#' 20072else 20073 EUPTEX_SYNCTEX_TRUE='#' 20074 EUPTEX_SYNCTEX_FALSE= 20075fi 20076 if test "x$enable_aleph" = xyes; then 20077 ALEPH_TRUE= 20078 ALEPH_FALSE='#' 20079else 20080 ALEPH_TRUE='#' 20081 ALEPH_FALSE= 20082fi 20083 if test "x$enable_pdftex" = xyes; then 20084 PDFTEX_TRUE= 20085 PDFTEX_FALSE='#' 20086else 20087 PDFTEX_TRUE='#' 20088 PDFTEX_FALSE= 20089fi 20090 20091case $enable_native_texlive_build:$enable_pdftex_synctex in #( 20092 yes:yes | no:yes | no:no) : 20093 ;; #( 20094 *) : 20095 if test -z "$enable_pdftex_synctex"; then : 20096 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-pdftex-synctex=yes'" >&5 20097$as_echo "$as_me: Assuming \`--enable-pdftex-synctex=yes'" >&6;} 20098else 20099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-pdftex-synctex=yes' (native TeX Live build)" >&5 20100$as_echo "$as_me: WARNING: Enforcing \`--enable-pdftex-synctex=yes' (native TeX Live build)" >&2;} 20101fi 20102 enable_pdftex_synctex=yes ;; 20103esac 20104 if test "x$enable_pdftex_synctex" = xyes; then 20105 PDFTEX_SYNCTEX_TRUE= 20106 PDFTEX_SYNCTEX_FALSE='#' 20107else 20108 PDFTEX_SYNCTEX_TRUE='#' 20109 PDFTEX_SYNCTEX_FALSE= 20110fi 20111 if test "x$enable_luatex" = xyes; then 20112 LUATEX_TRUE= 20113 LUATEX_FALSE='#' 20114else 20115 LUATEX_TRUE='#' 20116 LUATEX_FALSE= 20117fi 20118 if test "x$enable_luajittex" = xyes; then 20119 LUAJITTEX_TRUE= 20120 LUAJITTEX_FALSE='#' 20121else 20122 LUAJITTEX_TRUE='#' 20123 LUAJITTEX_FALSE= 20124fi 20125 if test "x$enable_mp" = xyes; then 20126 MP_TRUE= 20127 MP_FALSE='#' 20128else 20129 MP_TRUE='#' 20130 MP_FALSE= 20131fi 20132 if test "x$enable_pmp" = xyes; then 20133 PMP_TRUE= 20134 PMP_FALSE='#' 20135else 20136 PMP_TRUE='#' 20137 PMP_FALSE= 20138fi 20139 if test "x$enable_upmp" = xyes; then 20140 UPMP_TRUE= 20141 UPMP_FALSE='#' 20142else 20143 UPMP_TRUE='#' 20144 UPMP_FALSE= 20145fi 20146 if test "x$enable_xetex" = xyes; then 20147 XETEX_TRUE= 20148 XETEX_FALSE='#' 20149else 20150 XETEX_TRUE='#' 20151 XETEX_FALSE= 20152fi 20153 20154case $enable_native_texlive_build:$enable_xetex_synctex in #( 20155 yes:yes | no:yes | no:no) : 20156 ;; #( 20157 *) : 20158 if test -z "$enable_xetex_synctex"; then : 20159 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xetex-synctex=yes'" >&5 20160$as_echo "$as_me: Assuming \`--enable-xetex-synctex=yes'" >&6;} 20161else 20162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-xetex-synctex=yes' (native TeX Live build)" >&5 20163$as_echo "$as_me: WARNING: Enforcing \`--enable-xetex-synctex=yes' (native TeX Live build)" >&2;} 20164fi 20165 enable_xetex_synctex=yes ;; 20166esac 20167 if test "x$enable_xetex_synctex" = xyes; then 20168 XETEX_SYNCTEX_TRUE= 20169 XETEX_SYNCTEX_FALSE='#' 20170else 20171 XETEX_SYNCTEX_TRUE='#' 20172 XETEX_SYNCTEX_FALSE= 20173fi 20174 20175test "x$enable_omfonts" = xno || enable_omfonts=yes 20176 20177if test "x$enable_aleph:$enable_xetex:$enable_omfonts" = xno:no:yes; then : 20178 enable_otangle=no 20179else 20180 enable_otangle=yes 20181fi 20182 if test "x$enable_otangle" = xyes; then 20183 OTANGLE_TRUE= 20184 OTANGLE_FALSE='#' 20185else 20186 OTANGLE_TRUE='#' 20187 OTANGLE_FALSE= 20188fi 20189 20190# Handle --with-mf-x-toolkit and --with-x 20191case $with_mf_x_toolkit in #( 20192 yes|no) : 20193 ;; #( 20194 '') : 20195 with_mf_x_toolkit=no ;; #( 20196 y|ye) : 20197 with_mf_x_toolkit=yes ;; #( 20198 n) : 20199 with_mf_x_toolkit=no ;; #( 20200 *) : 20201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown --with-mf-x-toolkit argument \`$with_mf_x_toolkit'; using no." >&5 20202$as_echo "$as_me: WARNING: unknown --with-mf-x-toolkit argument \`$with_mf_x_toolkit'; using no." >&2;} 20203 with_mf_x_toolkit=no ;; 20204esac 20205test "x$with_x_toolkit" = xyes && with_x=yes 20206test "x$with_x" = xno && with_x_toolkit=no 20207 20208 if test "x$enable_mf" != xno; then 20209 MF_TRUE= 20210 MF_FALSE='#' 20211else 20212 MF_TRUE='#' 20213 MF_FALSE= 20214fi 20215test "x$enable_mf" = xyes && : ${with_x=yes} 20216 20217 if test "x$enable_mf_nowin" != xno; then 20218 MFN_TRUE= 20219 MFN_FALSE='#' 20220else 20221 MFN_TRUE='#' 20222 MFN_FALSE= 20223fi 20224: ${with_x=yes} 20225 20226# Distinguish no X at all, no toolkit, or toolkit. 20227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 20228$as_echo_n "checking for X... " >&6; } 20229 20230 20231# Check whether --with-x was given. 20232if test "${with_x+set}" = set; then : 20233 withval=$with_x; 20234fi 20235 20236# $have_x is `yes', `no', `disabled', or empty when we do not yet know. 20237if test "x$with_x" = xno; then 20238 # The user explicitly disabled X. 20239 have_x=disabled 20240else 20241 case $x_includes,$x_libraries in #( 20242 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 20243 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 20244 $as_echo_n "(cached) " >&6 20245else 20246 # One or both of the vars are not set, and there is no cached value. 20247ac_x_includes=no ac_x_libraries=no 20248rm -f -r conftest.dir 20249if mkdir conftest.dir; then 20250 cd conftest.dir 20251 cat >Imakefile <<'_ACEOF' 20252incroot: 20253 @echo incroot='${INCROOT}' 20254usrlibdir: 20255 @echo usrlibdir='${USRLIBDIR}' 20256libdir: 20257 @echo libdir='${LIBDIR}' 20258_ACEOF 20259 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 20260 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 20261 for ac_var in incroot usrlibdir libdir; do 20262 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 20263 done 20264 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 20265 for ac_extension in a so sl dylib la dll; do 20266 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 20267 test -f "$ac_im_libdir/libX11.$ac_extension"; then 20268 ac_im_usrlibdir=$ac_im_libdir; break 20269 fi 20270 done 20271 # Screen out bogus values from the imake configuration. They are 20272 # bogus both because they are the default anyway, and because 20273 # using them would break gcc on systems where it needs fixed includes. 20274 case $ac_im_incroot in 20275 /usr/include) ac_x_includes= ;; 20276 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 20277 esac 20278 case $ac_im_usrlibdir in 20279 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 20280 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 20281 esac 20282 fi 20283 cd .. 20284 rm -f -r conftest.dir 20285fi 20286 20287# Standard set of common directories for X headers. 20288# Check X11 before X11Rn because it is often a symlink to the current release. 20289ac_x_header_dirs=' 20290/usr/X11/include 20291/usr/X11R7/include 20292/usr/X11R6/include 20293/usr/X11R5/include 20294/usr/X11R4/include 20295 20296/usr/include/X11 20297/usr/include/X11R7 20298/usr/include/X11R6 20299/usr/include/X11R5 20300/usr/include/X11R4 20301 20302/usr/local/X11/include 20303/usr/local/X11R7/include 20304/usr/local/X11R6/include 20305/usr/local/X11R5/include 20306/usr/local/X11R4/include 20307 20308/usr/local/include/X11 20309/usr/local/include/X11R7 20310/usr/local/include/X11R6 20311/usr/local/include/X11R5 20312/usr/local/include/X11R4 20313 20314/usr/X386/include 20315/usr/x386/include 20316/usr/XFree86/include/X11 20317 20318/usr/include 20319/usr/local/include 20320/usr/unsupported/include 20321/usr/athena/include 20322/usr/local/x11r5/include 20323/usr/lpp/Xamples/include 20324 20325/usr/openwin/include 20326/usr/openwin/share/include' 20327 20328if test "$ac_x_includes" = no; then 20329 # Guess where to find include files, by looking for Xlib.h. 20330 # First, try using that file with no special directory specified. 20331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20332/* end confdefs.h. */ 20333#include <X11/Xlib.h> 20334_ACEOF 20335if ac_fn_c_try_cpp "$LINENO"; then : 20336 # We can compile using X headers with no special include directory. 20337ac_x_includes= 20338else 20339 for ac_dir in $ac_x_header_dirs; do 20340 if test -r "$ac_dir/X11/Xlib.h"; then 20341 ac_x_includes=$ac_dir 20342 break 20343 fi 20344done 20345fi 20346rm -f conftest.err conftest.i conftest.$ac_ext 20347fi # $ac_x_includes = no 20348 20349if test "$ac_x_libraries" = no; then 20350 # Check for the libraries. 20351 # See if we find them without any special options. 20352 # Don't add to $LIBS permanently. 20353 ac_save_LIBS=$LIBS 20354 LIBS="-lX11 $LIBS" 20355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20356/* end confdefs.h. */ 20357#include <X11/Xlib.h> 20358int 20359main () 20360{ 20361XrmInitialize () 20362 ; 20363 return 0; 20364} 20365_ACEOF 20366if ac_fn_c_try_link "$LINENO"; then : 20367 LIBS=$ac_save_LIBS 20368# We can link X programs with no special library path. 20369ac_x_libraries= 20370else 20371 LIBS=$ac_save_LIBS 20372for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 20373do 20374 # Don't even attempt the hair of trying to link an X program! 20375 for ac_extension in a so sl dylib la dll; do 20376 if test -r "$ac_dir/libX11.$ac_extension"; then 20377 ac_x_libraries=$ac_dir 20378 break 2 20379 fi 20380 done 20381done 20382fi 20383rm -f core conftest.err conftest.$ac_objext \ 20384 conftest$ac_exeext conftest.$ac_ext 20385fi # $ac_x_libraries = no 20386 20387case $ac_x_includes,$ac_x_libraries in #( 20388 no,* | *,no | *\'*) 20389 # Didn't find X, or a directory has "'" in its name. 20390 ac_cv_have_x="have_x=no";; #( 20391 *) 20392 # Record where we found X for the cache. 20393 ac_cv_have_x="have_x=yes\ 20394 ac_x_includes='$ac_x_includes'\ 20395 ac_x_libraries='$ac_x_libraries'" 20396esac 20397fi 20398;; #( 20399 *) have_x=yes;; 20400 esac 20401 eval "$ac_cv_have_x" 20402fi # $with_x != no 20403 20404if test "$have_x" != yes; then 20405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 20406$as_echo "$have_x" >&6; } 20407 no_x=yes 20408else 20409 # If each of the values was on the command line, it overrides each guess. 20410 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 20411 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 20412 # Update the cache value to reflect the command line values. 20413 ac_cv_have_x="have_x=yes\ 20414 ac_x_includes='$x_includes'\ 20415 ac_x_libraries='$x_libraries'" 20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 20417$as_echo "libraries $x_libraries, headers $x_includes" >&6; } 20418fi 20419 20420if test "$no_x" = yes; then 20421 # Not all programs may use this symbol, but it does not hurt to define it. 20422 20423$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h 20424 20425 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= 20426else 20427 if test -n "$x_includes"; then 20428 X_CFLAGS="$X_CFLAGS -I$x_includes" 20429 fi 20430 20431 # It would also be nice to do this for all -L options, not just this one. 20432 if test -n "$x_libraries"; then 20433 X_LIBS="$X_LIBS -L$x_libraries" 20434 # For Solaris; some versions of Sun CC require a space after -R and 20435 # others require no space. Words are not sufficient . . . . 20436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 20437$as_echo_n "checking whether -R must be followed by a space... " >&6; } 20438 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" 20439 ac_xsave_c_werror_flag=$ac_c_werror_flag 20440 ac_c_werror_flag=yes 20441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20442/* end confdefs.h. */ 20443 20444int 20445main () 20446{ 20447 20448 ; 20449 return 0; 20450} 20451_ACEOF 20452if ac_fn_c_try_link "$LINENO"; then : 20453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20454$as_echo "no" >&6; } 20455 X_LIBS="$X_LIBS -R$x_libraries" 20456else 20457 LIBS="$ac_xsave_LIBS -R $x_libraries" 20458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20459/* end confdefs.h. */ 20460 20461int 20462main () 20463{ 20464 20465 ; 20466 return 0; 20467} 20468_ACEOF 20469if ac_fn_c_try_link "$LINENO"; then : 20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20471$as_echo "yes" >&6; } 20472 X_LIBS="$X_LIBS -R $x_libraries" 20473else 20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 20475$as_echo "neither works" >&6; } 20476fi 20477rm -f core conftest.err conftest.$ac_objext \ 20478 conftest$ac_exeext conftest.$ac_ext 20479fi 20480rm -f core conftest.err conftest.$ac_objext \ 20481 conftest$ac_exeext conftest.$ac_ext 20482 ac_c_werror_flag=$ac_xsave_c_werror_flag 20483 LIBS=$ac_xsave_LIBS 20484 fi 20485 20486 # Check for system-dependent libraries X programs must link with. 20487 # Do this before checking for the system-independent R6 libraries 20488 # (-lICE), since we may need -lsocket or whatever for X linking. 20489 20490 if test "$ISC" = yes; then 20491 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" 20492 else 20493 # Martyn Johnson says this is needed for Ultrix, if the X 20494 # libraries were built with DECnet support. And Karl Berry says 20495 # the Alpha needs dnet_stub (dnet does not exist). 20496 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" 20497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20498/* end confdefs.h. */ 20499 20500/* Override any GCC internal prototype to avoid an error. 20501 Use char because int might match the return type of a GCC 20502 builtin and then its argument prototype would still apply. */ 20503#ifdef __cplusplus 20504extern "C" 20505#endif 20506char XOpenDisplay (); 20507int 20508main () 20509{ 20510return XOpenDisplay (); 20511 ; 20512 return 0; 20513} 20514_ACEOF 20515if ac_fn_c_try_link "$LINENO"; then : 20516 20517else 20518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 20519$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 20520if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : 20521 $as_echo_n "(cached) " >&6 20522else 20523 ac_check_lib_save_LIBS=$LIBS 20524LIBS="-ldnet $LIBS" 20525cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20526/* end confdefs.h. */ 20527 20528/* Override any GCC internal prototype to avoid an error. 20529 Use char because int might match the return type of a GCC 20530 builtin and then its argument prototype would still apply. */ 20531#ifdef __cplusplus 20532extern "C" 20533#endif 20534char dnet_ntoa (); 20535int 20536main () 20537{ 20538return dnet_ntoa (); 20539 ; 20540 return 0; 20541} 20542_ACEOF 20543if ac_fn_c_try_link "$LINENO"; then : 20544 ac_cv_lib_dnet_dnet_ntoa=yes 20545else 20546 ac_cv_lib_dnet_dnet_ntoa=no 20547fi 20548rm -f core conftest.err conftest.$ac_objext \ 20549 conftest$ac_exeext conftest.$ac_ext 20550LIBS=$ac_check_lib_save_LIBS 20551fi 20552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 20553$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 20554if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : 20555 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 20556fi 20557 20558 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 20560$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 20561if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : 20562 $as_echo_n "(cached) " >&6 20563else 20564 ac_check_lib_save_LIBS=$LIBS 20565LIBS="-ldnet_stub $LIBS" 20566cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20567/* end confdefs.h. */ 20568 20569/* Override any GCC internal prototype to avoid an error. 20570 Use char because int might match the return type of a GCC 20571 builtin and then its argument prototype would still apply. */ 20572#ifdef __cplusplus 20573extern "C" 20574#endif 20575char dnet_ntoa (); 20576int 20577main () 20578{ 20579return dnet_ntoa (); 20580 ; 20581 return 0; 20582} 20583_ACEOF 20584if ac_fn_c_try_link "$LINENO"; then : 20585 ac_cv_lib_dnet_stub_dnet_ntoa=yes 20586else 20587 ac_cv_lib_dnet_stub_dnet_ntoa=no 20588fi 20589rm -f core conftest.err conftest.$ac_objext \ 20590 conftest$ac_exeext conftest.$ac_ext 20591LIBS=$ac_check_lib_save_LIBS 20592fi 20593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 20594$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 20595if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : 20596 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 20597fi 20598 20599 fi 20600fi 20601rm -f core conftest.err conftest.$ac_objext \ 20602 conftest$ac_exeext conftest.$ac_ext 20603 LIBS="$ac_xsave_LIBS" 20604 20605 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, 20606 # to get the SysV transport functions. 20607 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) 20608 # needs -lnsl. 20609 # The nsl library prevents programs from opening the X display 20610 # on Irix 5.2, according to T.E. Dickey. 20611 # The functions gethostbyname, getservbyname, and inet_addr are 20612 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 20613 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 20614if test "x$ac_cv_func_gethostbyname" = xyes; then : 20615 20616fi 20617 20618 if test $ac_cv_func_gethostbyname = no; then 20619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 20620$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 20621if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 20622 $as_echo_n "(cached) " >&6 20623else 20624 ac_check_lib_save_LIBS=$LIBS 20625LIBS="-lnsl $LIBS" 20626cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20627/* end confdefs.h. */ 20628 20629/* Override any GCC internal prototype to avoid an error. 20630 Use char because int might match the return type of a GCC 20631 builtin and then its argument prototype would still apply. */ 20632#ifdef __cplusplus 20633extern "C" 20634#endif 20635char gethostbyname (); 20636int 20637main () 20638{ 20639return gethostbyname (); 20640 ; 20641 return 0; 20642} 20643_ACEOF 20644if ac_fn_c_try_link "$LINENO"; then : 20645 ac_cv_lib_nsl_gethostbyname=yes 20646else 20647 ac_cv_lib_nsl_gethostbyname=no 20648fi 20649rm -f core conftest.err conftest.$ac_objext \ 20650 conftest$ac_exeext conftest.$ac_ext 20651LIBS=$ac_check_lib_save_LIBS 20652fi 20653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 20654$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 20655if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 20656 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 20657fi 20658 20659 if test $ac_cv_lib_nsl_gethostbyname = no; then 20660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 20661$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 20662if ${ac_cv_lib_bsd_gethostbyname+:} false; then : 20663 $as_echo_n "(cached) " >&6 20664else 20665 ac_check_lib_save_LIBS=$LIBS 20666LIBS="-lbsd $LIBS" 20667cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20668/* end confdefs.h. */ 20669 20670/* Override any GCC internal prototype to avoid an error. 20671 Use char because int might match the return type of a GCC 20672 builtin and then its argument prototype would still apply. */ 20673#ifdef __cplusplus 20674extern "C" 20675#endif 20676char gethostbyname (); 20677int 20678main () 20679{ 20680return gethostbyname (); 20681 ; 20682 return 0; 20683} 20684_ACEOF 20685if ac_fn_c_try_link "$LINENO"; then : 20686 ac_cv_lib_bsd_gethostbyname=yes 20687else 20688 ac_cv_lib_bsd_gethostbyname=no 20689fi 20690rm -f core conftest.err conftest.$ac_objext \ 20691 conftest$ac_exeext conftest.$ac_ext 20692LIBS=$ac_check_lib_save_LIBS 20693fi 20694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 20695$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 20696if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : 20697 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 20698fi 20699 20700 fi 20701 fi 20702 20703 # lieder@skyler.mavd.honeywell.com says without -lsocket, 20704 # socket/setsockopt and other routines are undefined under SCO ODT 20705 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary 20706 # on later versions), says Simon Leinen: it contains gethostby* 20707 # variants that don't use the name server (or something). -lsocket 20708 # must be given before -lnsl if both are needed. We assume that 20709 # if connect needs -lnsl, so does gethostbyname. 20710 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" 20711if test "x$ac_cv_func_connect" = xyes; then : 20712 20713fi 20714 20715 if test $ac_cv_func_connect = no; then 20716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 20717$as_echo_n "checking for connect in -lsocket... " >&6; } 20718if ${ac_cv_lib_socket_connect+:} false; then : 20719 $as_echo_n "(cached) " >&6 20720else 20721 ac_check_lib_save_LIBS=$LIBS 20722LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 20723cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20724/* end confdefs.h. */ 20725 20726/* Override any GCC internal prototype to avoid an error. 20727 Use char because int might match the return type of a GCC 20728 builtin and then its argument prototype would still apply. */ 20729#ifdef __cplusplus 20730extern "C" 20731#endif 20732char connect (); 20733int 20734main () 20735{ 20736return connect (); 20737 ; 20738 return 0; 20739} 20740_ACEOF 20741if ac_fn_c_try_link "$LINENO"; then : 20742 ac_cv_lib_socket_connect=yes 20743else 20744 ac_cv_lib_socket_connect=no 20745fi 20746rm -f core conftest.err conftest.$ac_objext \ 20747 conftest$ac_exeext conftest.$ac_ext 20748LIBS=$ac_check_lib_save_LIBS 20749fi 20750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 20751$as_echo "$ac_cv_lib_socket_connect" >&6; } 20752if test "x$ac_cv_lib_socket_connect" = xyes; then : 20753 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 20754fi 20755 20756 fi 20757 20758 # Guillermo Gomez says -lposix is necessary on A/UX. 20759 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" 20760if test "x$ac_cv_func_remove" = xyes; then : 20761 20762fi 20763 20764 if test $ac_cv_func_remove = no; then 20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 20766$as_echo_n "checking for remove in -lposix... " >&6; } 20767if ${ac_cv_lib_posix_remove+:} false; then : 20768 $as_echo_n "(cached) " >&6 20769else 20770 ac_check_lib_save_LIBS=$LIBS 20771LIBS="-lposix $LIBS" 20772cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20773/* end confdefs.h. */ 20774 20775/* Override any GCC internal prototype to avoid an error. 20776 Use char because int might match the return type of a GCC 20777 builtin and then its argument prototype would still apply. */ 20778#ifdef __cplusplus 20779extern "C" 20780#endif 20781char remove (); 20782int 20783main () 20784{ 20785return remove (); 20786 ; 20787 return 0; 20788} 20789_ACEOF 20790if ac_fn_c_try_link "$LINENO"; then : 20791 ac_cv_lib_posix_remove=yes 20792else 20793 ac_cv_lib_posix_remove=no 20794fi 20795rm -f core conftest.err conftest.$ac_objext \ 20796 conftest$ac_exeext conftest.$ac_ext 20797LIBS=$ac_check_lib_save_LIBS 20798fi 20799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 20800$as_echo "$ac_cv_lib_posix_remove" >&6; } 20801if test "x$ac_cv_lib_posix_remove" = xyes; then : 20802 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 20803fi 20804 20805 fi 20806 20807 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 20808 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 20809if test "x$ac_cv_func_shmat" = xyes; then : 20810 20811fi 20812 20813 if test $ac_cv_func_shmat = no; then 20814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 20815$as_echo_n "checking for shmat in -lipc... " >&6; } 20816if ${ac_cv_lib_ipc_shmat+:} false; then : 20817 $as_echo_n "(cached) " >&6 20818else 20819 ac_check_lib_save_LIBS=$LIBS 20820LIBS="-lipc $LIBS" 20821cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20822/* end confdefs.h. */ 20823 20824/* Override any GCC internal prototype to avoid an error. 20825 Use char because int might match the return type of a GCC 20826 builtin and then its argument prototype would still apply. */ 20827#ifdef __cplusplus 20828extern "C" 20829#endif 20830char shmat (); 20831int 20832main () 20833{ 20834return shmat (); 20835 ; 20836 return 0; 20837} 20838_ACEOF 20839if ac_fn_c_try_link "$LINENO"; then : 20840 ac_cv_lib_ipc_shmat=yes 20841else 20842 ac_cv_lib_ipc_shmat=no 20843fi 20844rm -f core conftest.err conftest.$ac_objext \ 20845 conftest$ac_exeext conftest.$ac_ext 20846LIBS=$ac_check_lib_save_LIBS 20847fi 20848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 20849$as_echo "$ac_cv_lib_ipc_shmat" >&6; } 20850if test "x$ac_cv_lib_ipc_shmat" = xyes; then : 20851 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 20852fi 20853 20854 fi 20855 fi 20856 20857 # Check for libraries that X11R6 Xt/Xaw programs need. 20858 ac_save_LDFLAGS=$LDFLAGS 20859 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" 20860 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to 20861 # check for ICE first), but we must link in the order -lSM -lICE or 20862 # we get undefined symbols. So assume we have SM if we have ICE. 20863 # These have to be linked with before -lX11, unlike the other 20864 # libraries we check for below, so use a different variable. 20865 # John Interrante, Karl Berry 20866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 20867$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 20868if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : 20869 $as_echo_n "(cached) " >&6 20870else 20871 ac_check_lib_save_LIBS=$LIBS 20872LIBS="-lICE $X_EXTRA_LIBS $LIBS" 20873cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20874/* end confdefs.h. */ 20875 20876/* Override any GCC internal prototype to avoid an error. 20877 Use char because int might match the return type of a GCC 20878 builtin and then its argument prototype would still apply. */ 20879#ifdef __cplusplus 20880extern "C" 20881#endif 20882char IceConnectionNumber (); 20883int 20884main () 20885{ 20886return IceConnectionNumber (); 20887 ; 20888 return 0; 20889} 20890_ACEOF 20891if ac_fn_c_try_link "$LINENO"; then : 20892 ac_cv_lib_ICE_IceConnectionNumber=yes 20893else 20894 ac_cv_lib_ICE_IceConnectionNumber=no 20895fi 20896rm -f core conftest.err conftest.$ac_objext \ 20897 conftest$ac_exeext conftest.$ac_ext 20898LIBS=$ac_check_lib_save_LIBS 20899fi 20900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 20901$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 20902if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : 20903 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 20904fi 20905 20906 LDFLAGS=$ac_save_LDFLAGS 20907 20908fi 20909 20910if test "x$with_x" = xyes; then 20911 if test "x$no_x" = xyes; then 20912 as_fn_error $? "Sorry, could not find X include and library files required for Metafont." "$LINENO" 5 20913 fi 20914 test -n "$x_libraries" && XLFLAG="-L$x_libraries" 20915 wlibs="$XLFLAG -lX11" 20916 if test -z "$x_ext_lib"; then # allow envvar override 20917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XextCreateExtension in -lXext" >&5 20918$as_echo_n "checking for XextCreateExtension in -lXext... " >&6; } 20919if ${ac_cv_lib_Xext_XextCreateExtension+:} false; then : 20920 $as_echo_n "(cached) " >&6 20921else 20922 ac_check_lib_save_LIBS=$LIBS 20923LIBS="-lXext $wlibs $X_EXTRA_LIBS $LIBS" 20924cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20925/* end confdefs.h. */ 20926 20927/* Override any GCC internal prototype to avoid an error. 20928 Use char because int might match the return type of a GCC 20929 builtin and then its argument prototype would still apply. */ 20930#ifdef __cplusplus 20931extern "C" 20932#endif 20933char XextCreateExtension (); 20934int 20935main () 20936{ 20937return XextCreateExtension (); 20938 ; 20939 return 0; 20940} 20941_ACEOF 20942if ac_fn_c_try_link "$LINENO"; then : 20943 ac_cv_lib_Xext_XextCreateExtension=yes 20944else 20945 ac_cv_lib_Xext_XextCreateExtension=no 20946fi 20947rm -f core conftest.err conftest.$ac_objext \ 20948 conftest$ac_exeext conftest.$ac_ext 20949LIBS=$ac_check_lib_save_LIBS 20950fi 20951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XextCreateExtension" >&5 20952$as_echo "$ac_cv_lib_Xext_XextCreateExtension" >&6; } 20953if test "x$ac_cv_lib_Xext_XextCreateExtension" = xyes; then : 20954 x_ext_lib=-lXext 20955fi 20956 20957 fi 20958 test "x$with_mf_x_toolkit" = xyes && x_tool_libs="-lXt" 20959 20960$as_echo "#define X11WIN 1" >>confdefs.h 20961 20962fi 20963 if test "x$with_mf_x_toolkit" = xyes; then 20964 MFXT_TRUE= 20965 MFXT_FALSE='#' 20966else 20967 MFXT_TRUE='#' 20968 MFXT_FALSE= 20969fi 20970 20971 20972 20973 20974 20975if test "x$enable_epsfwin" = xyes; then : 20976 20977$as_echo "#define EPSFWIN /**/" >>confdefs.h 20978 20979fi 20980if test "x$enable_hp2627win" = xyes; then : 20981 20982$as_echo "#define HP2627WIN /**/" >>confdefs.h 20983 20984fi 20985if test "x$enable_mftalkwin" = xyes; then : 20986 20987$as_echo "#define MFTALKWIN /**/" >>confdefs.h 20988 20989fi 20990if test "x$enable_nextwin" = xyes; then : 20991 20992$as_echo "#define NEXTWIN /**/" >>confdefs.h 20993 20994fi 20995if test "x$enable_regiswin" = xyes; then : 20996 20997$as_echo "#define REGISWIN /**/" >>confdefs.h 20998 20999fi 21000if test "x$enable_suntoolswin" = xyes; then : 21001 21002$as_echo "#define SUNWIN /**/" >>confdefs.h 21003 21004fi 21005if test "x$enable_tektronixwin" = xyes; then : 21006 21007$as_echo "#define TEKTRONIXWIN /**/" >>confdefs.h 21008 21009fi 21010if test "x$enable_unitermwin" = xyes; then : 21011 21012$as_echo "#define UNITERMWIN /**/" >>confdefs.h 21013 21014fi 21015 21016 if test "x$enable_web_progs" != xno; then 21017 WEB_TRUE= 21018 WEB_FALSE='#' 21019else 21020 WEB_TRUE='#' 21021 WEB_FALSE= 21022fi 21023 21024 21025if test "x$enable_ptex:$enable_eptex" = xno:no; then : 21026 enable_pweb_progs=no 21027else 21028 enable_pweb_progs=$enable_web_progs 21029fi 21030 if test "x$enable_pweb_progs" != xno; then 21031 PWEB_TRUE= 21032 PWEB_FALSE='#' 21033else 21034 PWEB_TRUE='#' 21035 PWEB_FALSE= 21036fi 21037 21038 21039if test "x$enable_uptex:$enable_euptex" = xno:no; then : 21040 enable_upweb_progs=no 21041else 21042 enable_upweb_progs=$enable_web_progs 21043fi 21044 if test "x$enable_upweb_progs" != xno; then 21045 UPWEB_TRUE= 21046 UPWEB_FALSE='#' 21047else 21048 UPWEB_TRUE='#' 21049 UPWEB_FALSE= 21050fi 21051 21052 21053for ac_prog in 'bison -y' byacc 21054do 21055 # Extract the first word of "$ac_prog", so it can be a program name with args. 21056set dummy $ac_prog; ac_word=$2 21057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21058$as_echo_n "checking for $ac_word... " >&6; } 21059if ${ac_cv_prog_YACC+:} false; then : 21060 $as_echo_n "(cached) " >&6 21061else 21062 if test -n "$YACC"; then 21063 ac_cv_prog_YACC="$YACC" # Let the user override the test. 21064else 21065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21066for as_dir in $PATH 21067do 21068 IFS=$as_save_IFS 21069 test -z "$as_dir" && as_dir=. 21070 for ac_exec_ext in '' $ac_executable_extensions; do 21071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 21072 ac_cv_prog_YACC="$ac_prog" 21073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21074 break 2 21075 fi 21076done 21077 done 21078IFS=$as_save_IFS 21079 21080fi 21081fi 21082YACC=$ac_cv_prog_YACC 21083if test -n "$YACC"; then 21084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 21085$as_echo "$YACC" >&6; } 21086else 21087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21088$as_echo "no" >&6; } 21089fi 21090 21091 21092 test -n "$YACC" && break 21093done 21094test -n "$YACC" || YACC="yacc" 21095 21096for ac_prog in flex lex 21097do 21098 # Extract the first word of "$ac_prog", so it can be a program name with args. 21099set dummy $ac_prog; ac_word=$2 21100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21101$as_echo_n "checking for $ac_word... " >&6; } 21102if ${ac_cv_prog_LEX+:} false; then : 21103 $as_echo_n "(cached) " >&6 21104else 21105 if test -n "$LEX"; then 21106 ac_cv_prog_LEX="$LEX" # Let the user override the test. 21107else 21108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21109for as_dir in $PATH 21110do 21111 IFS=$as_save_IFS 21112 test -z "$as_dir" && as_dir=. 21113 for ac_exec_ext in '' $ac_executable_extensions; do 21114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 21115 ac_cv_prog_LEX="$ac_prog" 21116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21117 break 2 21118 fi 21119done 21120 done 21121IFS=$as_save_IFS 21122 21123fi 21124fi 21125LEX=$ac_cv_prog_LEX 21126if test -n "$LEX"; then 21127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 21128$as_echo "$LEX" >&6; } 21129else 21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21131$as_echo "no" >&6; } 21132fi 21133 21134 21135 test -n "$LEX" && break 21136done 21137test -n "$LEX" || LEX=":" 21138 21139if test "x$LEX" != "x:"; then 21140 cat >conftest.l <<_ACEOF 21141%% 21142a { ECHO; } 21143b { REJECT; } 21144c { yymore (); } 21145d { yyless (1); } 21146e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ 21147 yyless ((input () != 0)); } 21148f { unput (yytext[0]); } 21149. { BEGIN INITIAL; } 21150%% 21151#ifdef YYTEXT_POINTER 21152extern char *yytext; 21153#endif 21154int 21155main (void) 21156{ 21157 return ! yylex () + ! yywrap (); 21158} 21159_ACEOF 21160{ { ac_try="$LEX conftest.l" 21161case "(($ac_try" in 21162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21163 *) ac_try_echo=$ac_try;; 21164esac 21165eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 21166$as_echo "$ac_try_echo"; } >&5 21167 (eval "$LEX conftest.l") 2>&5 21168 ac_status=$? 21169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21170 test $ac_status = 0; } 21171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 21172$as_echo_n "checking lex output file root... " >&6; } 21173if ${ac_cv_prog_lex_root+:} false; then : 21174 $as_echo_n "(cached) " >&6 21175else 21176 21177if test -f lex.yy.c; then 21178 ac_cv_prog_lex_root=lex.yy 21179elif test -f lexyy.c; then 21180 ac_cv_prog_lex_root=lexyy 21181else 21182 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 21183fi 21184fi 21185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 21186$as_echo "$ac_cv_prog_lex_root" >&6; } 21187LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 21188 21189if test -z "${LEXLIB+set}"; then 21190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 21191$as_echo_n "checking lex library... " >&6; } 21192if ${ac_cv_lib_lex+:} false; then : 21193 $as_echo_n "(cached) " >&6 21194else 21195 21196 ac_save_LIBS=$LIBS 21197 ac_cv_lib_lex='none needed' 21198 for ac_lib in '' -lfl -ll; do 21199 LIBS="$ac_lib $ac_save_LIBS" 21200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21201/* end confdefs.h. */ 21202`cat $LEX_OUTPUT_ROOT.c` 21203_ACEOF 21204if ac_fn_c_try_link "$LINENO"; then : 21205 ac_cv_lib_lex=$ac_lib 21206fi 21207rm -f core conftest.err conftest.$ac_objext \ 21208 conftest$ac_exeext conftest.$ac_ext 21209 test "$ac_cv_lib_lex" != 'none needed' && break 21210 done 21211 LIBS=$ac_save_LIBS 21212 21213fi 21214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 21215$as_echo "$ac_cv_lib_lex" >&6; } 21216 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 21217fi 21218 21219 21220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 21221$as_echo_n "checking whether yytext is a pointer... " >&6; } 21222if ${ac_cv_prog_lex_yytext_pointer+:} false; then : 21223 $as_echo_n "(cached) " >&6 21224else 21225 # POSIX says lex can declare yytext either as a pointer or an array; the 21226# default is implementation-dependent. Figure out which it is, since 21227# not all implementations provide the %pointer and %array declarations. 21228ac_cv_prog_lex_yytext_pointer=no 21229ac_save_LIBS=$LIBS 21230LIBS="$LEXLIB $ac_save_LIBS" 21231cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21232/* end confdefs.h. */ 21233 21234 #define YYTEXT_POINTER 1 21235`cat $LEX_OUTPUT_ROOT.c` 21236_ACEOF 21237if ac_fn_c_try_link "$LINENO"; then : 21238 ac_cv_prog_lex_yytext_pointer=yes 21239fi 21240rm -f core conftest.err conftest.$ac_objext \ 21241 conftest$ac_exeext conftest.$ac_ext 21242LIBS=$ac_save_LIBS 21243 21244fi 21245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 21246$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 21247if test $ac_cv_prog_lex_yytext_pointer = yes; then 21248 21249$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 21250 21251fi 21252rm -f conftest.l $LEX_OUTPUT_ROOT.c 21253 21254fi 21255 21256# Work around a problem with Flex Version 2.5.31 which needs -l flag. 21257# Since all recent versions of flex support -l, don't check for the 21258# specific version, but check that at least "--version" is supported. 21259# We also want to catch LEX=/some/where/flex, so: 21260case $LEX in 21261 *flex) $LEX --version >/dev/null 2>&1 && LEX="$LEX -l" ;; 21262esac 21263 21264 21265# Needed on A/UX 3.0. I don't want to pull in other -lposix's, though. 21266# From: bernt@weinberg.pop.bio.aau.dk (Bernt Guldbrandtsen) 21267if test `(uname) 2>/dev/null` = aux; then 21268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigemptyset in -lposix" >&5 21269$as_echo_n "checking for sigemptyset in -lposix... " >&6; } 21270if ${ac_cv_lib_posix_sigemptyset+:} false; then : 21271 $as_echo_n "(cached) " >&6 21272else 21273 ac_check_lib_save_LIBS=$LIBS 21274LIBS="-lposix $LIBS" 21275cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21276/* end confdefs.h. */ 21277 21278/* Override any GCC internal prototype to avoid an error. 21279 Use char because int might match the return type of a GCC 21280 builtin and then its argument prototype would still apply. */ 21281#ifdef __cplusplus 21282extern "C" 21283#endif 21284char sigemptyset (); 21285int 21286main () 21287{ 21288return sigemptyset (); 21289 ; 21290 return 0; 21291} 21292_ACEOF 21293if ac_fn_c_try_link "$LINENO"; then : 21294 ac_cv_lib_posix_sigemptyset=yes 21295else 21296 ac_cv_lib_posix_sigemptyset=no 21297fi 21298rm -f core conftest.err conftest.$ac_objext \ 21299 conftest$ac_exeext conftest.$ac_ext 21300LIBS=$ac_check_lib_save_LIBS 21301fi 21302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_sigemptyset" >&5 21303$as_echo "$ac_cv_lib_posix_sigemptyset" >&6; } 21304if test "x$ac_cv_lib_posix_sigemptyset" = xyes; then : 21305 cat >>confdefs.h <<_ACEOF 21306#define HAVE_LIBPOSIX 1 21307_ACEOF 21308 21309 LIBS="-lposix $LIBS" 21310 21311fi 21312 21313fi 21314 21315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5 21316$as_echo_n "checking whether char is unsigned... " >&6; } 21317if ${ac_cv_c_char_unsigned+:} false; then : 21318 $as_echo_n "(cached) " >&6 21319else 21320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21321/* end confdefs.h. */ 21322$ac_includes_default 21323int 21324main () 21325{ 21326static int test_array [1 - 2 * !(((char) -1) < 0)]; 21327test_array [0] = 0; 21328return test_array [0]; 21329 21330 ; 21331 return 0; 21332} 21333_ACEOF 21334if ac_fn_c_try_compile "$LINENO"; then : 21335 ac_cv_c_char_unsigned=no 21336else 21337 ac_cv_c_char_unsigned=yes 21338fi 21339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21340fi 21341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5 21342$as_echo "$ac_cv_c_char_unsigned" >&6; } 21343if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then 21344 $as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h 21345 21346fi 21347 21348# The cast to long int works around a bug in the HP C Compiler 21349# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 21350# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 21351# This bug is HP SR number 8606223364. 21352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 21353$as_echo_n "checking size of int... " >&6; } 21354if ${ac_cv_sizeof_int+:} false; then : 21355 $as_echo_n "(cached) " >&6 21356else 21357 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 21358 21359else 21360 if test "$ac_cv_type_int" = yes; then 21361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21362$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21363as_fn_error 77 "cannot compute sizeof (int) 21364See \`config.log' for more details" "$LINENO" 5; } 21365 else 21366 ac_cv_sizeof_int=0 21367 fi 21368fi 21369 21370fi 21371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 21372$as_echo "$ac_cv_sizeof_int" >&6; } 21373 21374 21375 21376cat >>confdefs.h <<_ACEOF 21377#define SIZEOF_INT $ac_cv_sizeof_int 21378_ACEOF 21379 21380 21381if test $ac_cv_sizeof_int -lt 4; then 21382 as_fn_error $? "Sorry, need \`int' with at least 4 bytes." "$LINENO" 5 21383fi 21384# The cast to long int works around a bug in the HP C Compiler 21385# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 21386# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 21387# This bug is HP SR number 8606223364. 21388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 21389$as_echo_n "checking size of long... " >&6; } 21390if ${ac_cv_sizeof_long+:} false; then : 21391 $as_echo_n "(cached) " >&6 21392else 21393 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 21394 21395else 21396 if test "$ac_cv_type_long" = yes; then 21397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21398$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21399as_fn_error 77 "cannot compute sizeof (long) 21400See \`config.log' for more details" "$LINENO" 5; } 21401 else 21402 ac_cv_sizeof_long=0 21403 fi 21404fi 21405 21406fi 21407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 21408$as_echo "$ac_cv_sizeof_long" >&6; } 21409 21410 21411 21412cat >>confdefs.h <<_ACEOF 21413#define SIZEOF_LONG $ac_cv_sizeof_long 21414_ACEOF 21415 21416 21417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5 21418$as_echo_n "checking for library containing pow... " >&6; } 21419if ${ac_cv_search_pow+:} false; then : 21420 $as_echo_n "(cached) " >&6 21421else 21422 ac_func_search_save_LIBS=$LIBS 21423cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21424/* end confdefs.h. */ 21425 21426/* Override any GCC internal prototype to avoid an error. 21427 Use char because int might match the return type of a GCC 21428 builtin and then its argument prototype would still apply. */ 21429#ifdef __cplusplus 21430extern "C" 21431#endif 21432char pow (); 21433int 21434main () 21435{ 21436return pow (); 21437 ; 21438 return 0; 21439} 21440_ACEOF 21441for ac_lib in '' m; do 21442 if test -z "$ac_lib"; then 21443 ac_res="none required" 21444 else 21445 ac_res=-l$ac_lib 21446 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 21447 fi 21448 if ac_fn_c_try_link "$LINENO"; then : 21449 ac_cv_search_pow=$ac_res 21450fi 21451rm -f core conftest.err conftest.$ac_objext \ 21452 conftest$ac_exeext 21453 if ${ac_cv_search_pow+:} false; then : 21454 break 21455fi 21456done 21457if ${ac_cv_search_pow+:} false; then : 21458 21459else 21460 ac_cv_search_pow=no 21461fi 21462rm conftest.$ac_ext 21463LIBS=$ac_func_search_save_LIBS 21464fi 21465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5 21466$as_echo "$ac_cv_search_pow" >&6; } 21467ac_res=$ac_cv_search_pow 21468if test "$ac_res" != no; then : 21469 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 21470 21471fi 21472 21473for ac_func in access atoi fmax ftime gettimeofday mkdtemp setlocale strerror strlcat strlcpy strndup 21474do : 21475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 21476ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 21477if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 21478 cat >>confdefs.h <<_ACEOF 21479#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 21480_ACEOF 21481 21482fi 21483done 21484 21485ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" 21486if test "x$ac_cv_have_decl_strndup" = xyes; then : 21487 ac_have_decl=1 21488else 21489 ac_have_decl=0 21490fi 21491 21492cat >>confdefs.h <<_ACEOF 21493#define HAVE_DECL_STRNDUP $ac_have_decl 21494_ACEOF 21495 21496for ac_header in errno.h langinfo.h locale.h sys/time.h sys/timeb.h sys/wait.h time.h 21497do : 21498 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21499ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 21500if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21501 cat >>confdefs.h <<_ACEOF 21502#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21503_ACEOF 21504 21505fi 21506 21507done 21508 21509# The cast to long int works around a bug in the HP C Compiler 21510# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 21511# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 21512# This bug is HP SR number 8606223364. 21513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 21514$as_echo_n "checking size of void *... " >&6; } 21515if ${ac_cv_sizeof_void_p+:} false; then : 21516 $as_echo_n "(cached) " >&6 21517else 21518 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 21519 21520else 21521 if test "$ac_cv_type_void_p" = yes; then 21522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21523$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21524as_fn_error 77 "cannot compute sizeof (void *) 21525See \`config.log' for more details" "$LINENO" 5; } 21526 else 21527 ac_cv_sizeof_void_p=0 21528 fi 21529fi 21530 21531fi 21532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 21533$as_echo "$ac_cv_sizeof_void_p" >&6; } 21534 21535 21536 21537cat >>confdefs.h <<_ACEOF 21538#define SIZEOF_VOID_P $ac_cv_sizeof_void_p 21539_ACEOF 21540 21541 21542 21543 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" 21544if test "x$ac_cv_type_uintptr_t" = xyes; then : 21545 21546$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h 21547 21548else 21549 for ac_type in 'unsigned int' 'unsigned long int' \ 21550 'unsigned long long int'; do 21551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21552/* end confdefs.h. */ 21553$ac_includes_default 21554int 21555main () 21556{ 21557static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; 21558test_array [0] = 0; 21559return test_array [0]; 21560 21561 ; 21562 return 0; 21563} 21564_ACEOF 21565if ac_fn_c_try_compile "$LINENO"; then : 21566 21567cat >>confdefs.h <<_ACEOF 21568#define uintptr_t $ac_type 21569_ACEOF 21570 21571 ac_type= 21572fi 21573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21574 test -z "$ac_type" && break 21575 done 21576fi 21577 21578 21579 21580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5 21581$as_echo_n "checking for long double... " >&6; } 21582if ${ac_cv_type_long_double+:} false; then : 21583 $as_echo_n "(cached) " >&6 21584else 21585 if test "$GCC" = yes; then 21586 ac_cv_type_long_double=yes 21587 else 21588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21589/* end confdefs.h. */ 21590/* The Stardent Vistra knows sizeof (long double), but does 21591 not support it. */ 21592 long double foo = 0.0L; 21593int 21594main () 21595{ 21596static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */ 21597 sizeof (double) <= sizeof (long double))]; 21598test_array [0] = 0; 21599return test_array [0]; 21600 21601 ; 21602 return 0; 21603} 21604_ACEOF 21605if ac_fn_c_try_compile "$LINENO"; then : 21606 ac_cv_type_long_double=yes 21607else 21608 ac_cv_type_long_double=no 21609fi 21610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21611 fi 21612fi 21613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5 21614$as_echo "$ac_cv_type_long_double" >&6; } 21615 if test $ac_cv_type_long_double = yes; then 21616 21617$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h 21618 21619 fi 21620 21621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 21622$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 21623if ${ac_cv_header_stdbool_h+:} false; then : 21624 $as_echo_n "(cached) " >&6 21625else 21626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21627/* end confdefs.h. */ 21628 21629 #include <stdbool.h> 21630 #ifndef bool 21631 "error: bool is not defined" 21632 #endif 21633 #ifndef false 21634 "error: false is not defined" 21635 #endif 21636 #if false 21637 "error: false is not 0" 21638 #endif 21639 #ifndef true 21640 "error: true is not defined" 21641 #endif 21642 #if true != 1 21643 "error: true is not 1" 21644 #endif 21645 #ifndef __bool_true_false_are_defined 21646 "error: __bool_true_false_are_defined is not defined" 21647 #endif 21648 21649 struct s { _Bool s: 1; _Bool t; } s; 21650 21651 char a[true == 1 ? 1 : -1]; 21652 char b[false == 0 ? 1 : -1]; 21653 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 21654 char d[(bool) 0.5 == true ? 1 : -1]; 21655 /* See body of main program for 'e'. */ 21656 char f[(_Bool) 0.0 == false ? 1 : -1]; 21657 char g[true]; 21658 char h[sizeof (_Bool)]; 21659 char i[sizeof s.t]; 21660 enum { j = false, k = true, l = false * true, m = true * 256 }; 21661 /* The following fails for 21662 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ 21663 _Bool n[m]; 21664 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 21665 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 21666 /* Catch a bug in an HP-UX C compiler. See 21667 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 21668 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 21669 */ 21670 _Bool q = true; 21671 _Bool *pq = &q; 21672 21673int 21674main () 21675{ 21676 21677 bool e = &s; 21678 *pq |= q; 21679 *pq |= ! q; 21680 /* Refer to every declared value, to avoid compiler optimizations. */ 21681 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 21682 + !m + !n + !o + !p + !q + !pq); 21683 21684 ; 21685 return 0; 21686} 21687_ACEOF 21688if ac_fn_c_try_compile "$LINENO"; then : 21689 ac_cv_header_stdbool_h=yes 21690else 21691 ac_cv_header_stdbool_h=no 21692fi 21693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21694fi 21695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 21696$as_echo "$ac_cv_header_stdbool_h" >&6; } 21697 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 21698if test "x$ac_cv_type__Bool" = xyes; then : 21699 21700cat >>confdefs.h <<_ACEOF 21701#define HAVE__BOOL 1 21702_ACEOF 21703 21704 21705fi 21706 21707 21708if test $ac_cv_header_stdbool_h = yes; then 21709 21710$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h 21711 21712fi 21713 21714 21715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 21716$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 21717if ${ac_cv_c_bigendian+:} false; then : 21718 $as_echo_n "(cached) " >&6 21719else 21720 ac_cv_c_bigendian=unknown 21721 # See if we're dealing with a universal compiler. 21722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21723/* end confdefs.h. */ 21724#ifndef __APPLE_CC__ 21725 not a universal capable compiler 21726 #endif 21727 typedef int dummy; 21728 21729_ACEOF 21730if ac_fn_c_try_compile "$LINENO"; then : 21731 21732 # Check for potential -arch flags. It is not universal unless 21733 # there are at least two -arch flags with different values. 21734 ac_arch= 21735 ac_prev= 21736 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 21737 if test -n "$ac_prev"; then 21738 case $ac_word in 21739 i?86 | x86_64 | ppc | ppc64) 21740 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 21741 ac_arch=$ac_word 21742 else 21743 ac_cv_c_bigendian=universal 21744 break 21745 fi 21746 ;; 21747 esac 21748 ac_prev= 21749 elif test "x$ac_word" = "x-arch"; then 21750 ac_prev=arch 21751 fi 21752 done 21753fi 21754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21755 if test $ac_cv_c_bigendian = unknown; then 21756 # See if sys/param.h defines the BYTE_ORDER macro. 21757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21758/* end confdefs.h. */ 21759#include <sys/types.h> 21760 #include <sys/param.h> 21761 21762int 21763main () 21764{ 21765#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 21766 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 21767 && LITTLE_ENDIAN) 21768 bogus endian macros 21769 #endif 21770 21771 ; 21772 return 0; 21773} 21774_ACEOF 21775if ac_fn_c_try_compile "$LINENO"; then : 21776 # It does; now see whether it defined to BIG_ENDIAN or not. 21777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21778/* end confdefs.h. */ 21779#include <sys/types.h> 21780 #include <sys/param.h> 21781 21782int 21783main () 21784{ 21785#if BYTE_ORDER != BIG_ENDIAN 21786 not big endian 21787 #endif 21788 21789 ; 21790 return 0; 21791} 21792_ACEOF 21793if ac_fn_c_try_compile "$LINENO"; then : 21794 ac_cv_c_bigendian=yes 21795else 21796 ac_cv_c_bigendian=no 21797fi 21798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21799fi 21800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21801 fi 21802 if test $ac_cv_c_bigendian = unknown; then 21803 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 21804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21805/* end confdefs.h. */ 21806#include <limits.h> 21807 21808int 21809main () 21810{ 21811#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 21812 bogus endian macros 21813 #endif 21814 21815 ; 21816 return 0; 21817} 21818_ACEOF 21819if ac_fn_c_try_compile "$LINENO"; then : 21820 # It does; now see whether it defined to _BIG_ENDIAN or not. 21821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21822/* end confdefs.h. */ 21823#include <limits.h> 21824 21825int 21826main () 21827{ 21828#ifndef _BIG_ENDIAN 21829 not big endian 21830 #endif 21831 21832 ; 21833 return 0; 21834} 21835_ACEOF 21836if ac_fn_c_try_compile "$LINENO"; then : 21837 ac_cv_c_bigendian=yes 21838else 21839 ac_cv_c_bigendian=no 21840fi 21841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21842fi 21843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21844 fi 21845 if test $ac_cv_c_bigendian = unknown; then 21846 # Compile a test program. 21847 if test "$cross_compiling" = yes; then : 21848 # Try to guess by grepping values from an object file. 21849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21850/* end confdefs.h. */ 21851short int ascii_mm[] = 21852 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 21853 short int ascii_ii[] = 21854 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 21855 int use_ascii (int i) { 21856 return ascii_mm[i] + ascii_ii[i]; 21857 } 21858 short int ebcdic_ii[] = 21859 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 21860 short int ebcdic_mm[] = 21861 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 21862 int use_ebcdic (int i) { 21863 return ebcdic_mm[i] + ebcdic_ii[i]; 21864 } 21865 extern int foo; 21866 21867int 21868main () 21869{ 21870return use_ascii (foo) == use_ebcdic (foo); 21871 ; 21872 return 0; 21873} 21874_ACEOF 21875if ac_fn_c_try_compile "$LINENO"; then : 21876 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 21877 ac_cv_c_bigendian=yes 21878 fi 21879 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 21880 if test "$ac_cv_c_bigendian" = unknown; then 21881 ac_cv_c_bigendian=no 21882 else 21883 # finding both strings is unlikely to happen, but who knows? 21884 ac_cv_c_bigendian=unknown 21885 fi 21886 fi 21887fi 21888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21889else 21890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21891/* end confdefs.h. */ 21892$ac_includes_default 21893int 21894main () 21895{ 21896 21897 /* Are we little or big endian? From Harbison&Steele. */ 21898 union 21899 { 21900 long int l; 21901 char c[sizeof (long int)]; 21902 } u; 21903 u.l = 1; 21904 return u.c[sizeof (long int) - 1] == 1; 21905 21906 ; 21907 return 0; 21908} 21909_ACEOF 21910if ac_fn_c_try_run "$LINENO"; then : 21911 ac_cv_c_bigendian=no 21912else 21913 ac_cv_c_bigendian=yes 21914fi 21915rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21916 conftest.$ac_objext conftest.beam conftest.$ac_ext 21917fi 21918 21919 fi 21920fi 21921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 21922$as_echo "$ac_cv_c_bigendian" >&6; } 21923 case $ac_cv_c_bigendian in #( 21924 yes) 21925 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 21926;; #( 21927 no) 21928 ;; #( 21929 universal) 21930 21931$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 21932 21933 ;; #( 21934 *) 21935 as_fn_error $? "unknown endianness 21936 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 21937 esac 21938 21939 21940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 21941$as_echo_n "checking return type of signal handlers... " >&6; } 21942if ${ac_cv_type_signal+:} false; then : 21943 $as_echo_n "(cached) " >&6 21944else 21945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21946/* end confdefs.h. */ 21947#include <sys/types.h> 21948#include <signal.h> 21949 21950int 21951main () 21952{ 21953return *(signal (0, 0)) (0) == 1; 21954 ; 21955 return 0; 21956} 21957_ACEOF 21958if ac_fn_c_try_compile "$LINENO"; then : 21959 ac_cv_type_signal=int 21960else 21961 ac_cv_type_signal=void 21962fi 21963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21964fi 21965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 21966$as_echo "$ac_cv_type_signal" >&6; } 21967 21968cat >>confdefs.h <<_ACEOF 21969#define RETSIGTYPE $ac_cv_type_signal 21970_ACEOF 21971 21972 21973 21974kpse_save_CPPFLAGS=$CPPFLAGS 21975kpse_save_LIBS=$LIBS 21976 21977## _KPSE_INIT: Initialize TL infrastructure 21978kpse_BLD=`(cd "./../../." && pwd)` 21979kpse_SRC=`(cd "$srcdir/../../." && pwd)` 21980 21981## _KPSE_USE_LIBTOOL: Generate a libtool script for use in configure tests 21982: ${CONFIG_LT=./config.lt} 21983{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5 21984$as_echo "$as_me: creating $CONFIG_LT" >&6;} 21985as_write_fail=0 21986cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1 21987#! $SHELL 21988# Generated by $as_me. 21989# Run this file to recreate a libtool stub with the current configuration. 21990SHELL=\${CONFIG_SHELL-$SHELL} 21991export SHELL 21992_ASEOF 21993cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1 21994## -------------------- ## 21995## M4sh Initialization. ## 21996## -------------------- ## 21997 21998# Be more Bourne compatible 21999DUALCASE=1; export DUALCASE # for MKS sh 22000if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22001 emulate sh 22002 NULLCMD=: 22003 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 22004 # is contrary to our usage. Disable this feature. 22005 alias -g '${1+"$@"}'='"$@"' 22006 setopt NO_GLOB_SUBST 22007else 22008 case `(set -o) 2>/dev/null` in #( 22009 *posix*) : 22010 set -o posix ;; #( 22011 *) : 22012 ;; 22013esac 22014fi 22015 22016 22017as_nl=' 22018' 22019export as_nl 22020# Printing a long string crashes Solaris 7 /usr/bin/printf. 22021as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 22022as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 22023as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 22024# Prefer a ksh shell builtin over an external printf program on Solaris, 22025# but without wasting forks for bash or zsh. 22026if test -z "$BASH_VERSION$ZSH_VERSION" \ 22027 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 22028 as_echo='print -r --' 22029 as_echo_n='print -rn --' 22030elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 22031 as_echo='printf %s\n' 22032 as_echo_n='printf %s' 22033else 22034 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 22035 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 22036 as_echo_n='/usr/ucb/echo -n' 22037 else 22038 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 22039 as_echo_n_body='eval 22040 arg=$1; 22041 case $arg in #( 22042 *"$as_nl"*) 22043 expr "X$arg" : "X\\(.*\\)$as_nl"; 22044 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 22045 esac; 22046 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 22047 ' 22048 export as_echo_n_body 22049 as_echo_n='sh -c $as_echo_n_body as_echo' 22050 fi 22051 export as_echo_body 22052 as_echo='sh -c $as_echo_body as_echo' 22053fi 22054 22055# The user is always right. 22056if test "${PATH_SEPARATOR+set}" != set; then 22057 PATH_SEPARATOR=: 22058 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 22059 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 22060 PATH_SEPARATOR=';' 22061 } 22062fi 22063 22064 22065# IFS 22066# We need space, tab and new line, in precisely that order. Quoting is 22067# there to prevent editors from complaining about space-tab. 22068# (If _AS_PATH_WALK were called with IFS unset, it would disable word 22069# splitting by setting IFS to empty value.) 22070IFS=" "" $as_nl" 22071 22072# Find who we are. Look in the path if we contain no directory separator. 22073as_myself= 22074case $0 in #(( 22075 *[\\/]* ) as_myself=$0 ;; 22076 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22077for as_dir in $PATH 22078do 22079 IFS=$as_save_IFS 22080 test -z "$as_dir" && as_dir=. 22081 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 22082 done 22083IFS=$as_save_IFS 22084 22085 ;; 22086esac 22087# We did not find ourselves, most probably we were run as `sh COMMAND' 22088# in which case we are not to be found in the path. 22089if test "x$as_myself" = x; then 22090 as_myself=$0 22091fi 22092if test ! -f "$as_myself"; then 22093 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 22094 exit 1 22095fi 22096 22097# Unset variables that we do not need and which cause bugs (e.g. in 22098# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 22099# suppresses any "Segmentation fault" message there. '((' could 22100# trigger a bug in pdksh 5.2.14. 22101for as_var in BASH_ENV ENV MAIL MAILPATH 22102do eval test x\${$as_var+set} = xset \ 22103 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 22104done 22105PS1='$ ' 22106PS2='> ' 22107PS4='+ ' 22108 22109# NLS nuisances. 22110LC_ALL=C 22111export LC_ALL 22112LANGUAGE=C 22113export LANGUAGE 22114 22115# CDPATH. 22116(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 22117 22118 22119# as_fn_error STATUS ERROR [LINENO LOG_FD] 22120# ---------------------------------------- 22121# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 22122# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 22123# script with STATUS, using 1 if that was 0. 22124as_fn_error () 22125{ 22126 as_status=$1; test $as_status -eq 0 && as_status=1 22127 if test "$4"; then 22128 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 22129 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 22130 fi 22131 $as_echo "$as_me: error: $2" >&2 22132 as_fn_exit $as_status 22133} # as_fn_error 22134 22135 22136# as_fn_set_status STATUS 22137# ----------------------- 22138# Set $? to STATUS, without forking. 22139as_fn_set_status () 22140{ 22141 return $1 22142} # as_fn_set_status 22143 22144# as_fn_exit STATUS 22145# ----------------- 22146# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 22147as_fn_exit () 22148{ 22149 set +e 22150 as_fn_set_status $1 22151 exit $1 22152} # as_fn_exit 22153 22154# as_fn_unset VAR 22155# --------------- 22156# Portably unset VAR. 22157as_fn_unset () 22158{ 22159 { eval $1=; unset $1;} 22160} 22161as_unset=as_fn_unset 22162# as_fn_append VAR VALUE 22163# ---------------------- 22164# Append the text in VALUE to the end of the definition contained in VAR. Take 22165# advantage of any shell optimizations that allow amortized linear growth over 22166# repeated appends, instead of the typical quadratic growth present in naive 22167# implementations. 22168if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 22169 eval 'as_fn_append () 22170 { 22171 eval $1+=\$2 22172 }' 22173else 22174 as_fn_append () 22175 { 22176 eval $1=\$$1\$2 22177 } 22178fi # as_fn_append 22179 22180# as_fn_arith ARG... 22181# ------------------ 22182# Perform arithmetic evaluation on the ARGs, and store the result in the 22183# global $as_val. Take advantage of shells that can avoid forks. The arguments 22184# must be portable across $(()) and expr. 22185if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 22186 eval 'as_fn_arith () 22187 { 22188 as_val=$(( $* )) 22189 }' 22190else 22191 as_fn_arith () 22192 { 22193 as_val=`expr "$@" || test $? -eq 1` 22194 } 22195fi # as_fn_arith 22196 22197 22198if expr a : '\(a\)' >/dev/null 2>&1 && 22199 test "X`expr 00001 : '.*\(...\)'`" = X001; then 22200 as_expr=expr 22201else 22202 as_expr=false 22203fi 22204 22205if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 22206 as_basename=basename 22207else 22208 as_basename=false 22209fi 22210 22211if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 22212 as_dirname=dirname 22213else 22214 as_dirname=false 22215fi 22216 22217as_me=`$as_basename -- "$0" || 22218$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 22219 X"$0" : 'X\(//\)$' \| \ 22220 X"$0" : 'X\(/\)' \| . 2>/dev/null || 22221$as_echo X/"$0" | 22222 sed '/^.*\/\([^/][^/]*\)\/*$/{ 22223 s//\1/ 22224 q 22225 } 22226 /^X\/\(\/\/\)$/{ 22227 s//\1/ 22228 q 22229 } 22230 /^X\/\(\/\).*/{ 22231 s//\1/ 22232 q 22233 } 22234 s/.*/./; q'` 22235 22236# Avoid depending upon Character Ranges. 22237as_cr_letters='abcdefghijklmnopqrstuvwxyz' 22238as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 22239as_cr_Letters=$as_cr_letters$as_cr_LETTERS 22240as_cr_digits='0123456789' 22241as_cr_alnum=$as_cr_Letters$as_cr_digits 22242 22243ECHO_C= ECHO_N= ECHO_T= 22244case `echo -n x` in #((((( 22245-n*) 22246 case `echo 'xy\c'` in 22247 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 22248 xy) ECHO_C='\c';; 22249 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 22250 ECHO_T=' ';; 22251 esac;; 22252*) 22253 ECHO_N='-n';; 22254esac 22255 22256rm -f conf$$ conf$$.exe conf$$.file 22257if test -d conf$$.dir; then 22258 rm -f conf$$.dir/conf$$.file 22259else 22260 rm -f conf$$.dir 22261 mkdir conf$$.dir 2>/dev/null 22262fi 22263if (echo >conf$$.file) 2>/dev/null; then 22264 if ln -s conf$$.file conf$$ 2>/dev/null; then 22265 as_ln_s='ln -s' 22266 # ... but there are two gotchas: 22267 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 22268 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 22269 # In both cases, we have to default to `cp -pR'. 22270 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 22271 as_ln_s='cp -pR' 22272 elif ln conf$$.file conf$$ 2>/dev/null; then 22273 as_ln_s=ln 22274 else 22275 as_ln_s='cp -pR' 22276 fi 22277else 22278 as_ln_s='cp -pR' 22279fi 22280rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 22281rmdir conf$$.dir 2>/dev/null 22282 22283 22284# as_fn_mkdir_p 22285# ------------- 22286# Create "$as_dir" as a directory, including parents if necessary. 22287as_fn_mkdir_p () 22288{ 22289 22290 case $as_dir in #( 22291 -*) as_dir=./$as_dir;; 22292 esac 22293 test -d "$as_dir" || eval $as_mkdir_p || { 22294 as_dirs= 22295 while :; do 22296 case $as_dir in #( 22297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 22298 *) as_qdir=$as_dir;; 22299 esac 22300 as_dirs="'$as_qdir' $as_dirs" 22301 as_dir=`$as_dirname -- "$as_dir" || 22302$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 22303 X"$as_dir" : 'X\(//\)[^/]' \| \ 22304 X"$as_dir" : 'X\(//\)$' \| \ 22305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 22306$as_echo X"$as_dir" | 22307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 22308 s//\1/ 22309 q 22310 } 22311 /^X\(\/\/\)[^/].*/{ 22312 s//\1/ 22313 q 22314 } 22315 /^X\(\/\/\)$/{ 22316 s//\1/ 22317 q 22318 } 22319 /^X\(\/\).*/{ 22320 s//\1/ 22321 q 22322 } 22323 s/.*/./; q'` 22324 test -d "$as_dir" && break 22325 done 22326 test -z "$as_dirs" || eval "mkdir $as_dirs" 22327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 22328 22329 22330} # as_fn_mkdir_p 22331if mkdir -p . 2>/dev/null; then 22332 as_mkdir_p='mkdir -p "$as_dir"' 22333else 22334 test -d ./-p && rmdir ./-p 22335 as_mkdir_p=false 22336fi 22337 22338 22339# as_fn_executable_p FILE 22340# ----------------------- 22341# Test if FILE is an executable regular file. 22342as_fn_executable_p () 22343{ 22344 test -f "$1" && test -x "$1" 22345} # as_fn_executable_p 22346as_test_x='test -x' 22347as_executable_p=as_fn_executable_p 22348 22349# Sed expression to map a string onto a valid CPP name. 22350as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 22351 22352# Sed expression to map a string onto a valid variable name. 22353as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 22354 22355 22356exec 6>&1 22357## --------------------------------- ## 22358## Main body of "$CONFIG_LT" script. ## 22359## --------------------------------- ## 22360_ASEOF 22361test $as_write_fail = 0 && chmod +x "$CONFIG_LT" 22362 22363cat >>"$CONFIG_LT" <<\_LTEOF 22364lt_cl_silent=false 22365exec 5>>config.log 22366{ 22367 echo 22368 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 22369## Running $as_me. ## 22370_ASBOX 22371} >&5 22372 22373lt_cl_help="\ 22374'$as_me' creates a local libtool stub from the current configuration, 22375for use in further configure time tests before the real libtool is 22376generated. 22377 22378Usage: $0 [OPTIONS] 22379 22380 -h, --help print this help, then exit 22381 -V, --version print version number, then exit 22382 -q, --quiet do not print progress messages 22383 -d, --debug don't remove temporary files 22384 22385Report bugs to <bug-libtool@gnu.org>." 22386 22387lt_cl_version="\ 22388Web2C config.lt 2015 22389configured by $0, generated by GNU Autoconf 2.69. 22390 22391Copyright (C) 2011 Free Software Foundation, Inc. 22392This config.lt script is free software; the Free Software Foundation 22393gives unlimited permision to copy, distribute and modify it." 22394 22395while test 0 != $# 22396do 22397 case $1 in 22398 --version | --v* | -V ) 22399 echo "$lt_cl_version"; exit 0 ;; 22400 --help | --h* | -h ) 22401 echo "$lt_cl_help"; exit 0 ;; 22402 --debug | --d* | -d ) 22403 debug=: ;; 22404 --quiet | --q* | --silent | --s* | -q ) 22405 lt_cl_silent=: ;; 22406 22407 -*) as_fn_error $? "unrecognized option: $1 22408Try '$0 --help' for more information." "$LINENO" 5 ;; 22409 22410 *) as_fn_error $? "unrecognized argument: $1 22411Try '$0 --help' for more information." "$LINENO" 5 ;; 22412 esac 22413 shift 22414done 22415 22416if $lt_cl_silent; then 22417 exec 6>/dev/null 22418fi 22419_LTEOF 22420 22421cat >>"$CONFIG_LT" <<_LTEOF 22422 22423 22424# The HP-UX ksh and POSIX shell print the target directory to stdout 22425# if CDPATH is set. 22426(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 22427 22428sed_quote_subst='$sed_quote_subst' 22429double_quote_subst='$double_quote_subst' 22430delay_variable_subst='$delay_variable_subst' 22431macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 22432macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 22433AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 22434DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 22435OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 22436enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 22437enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 22438pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 22439enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 22440shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 22441SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 22442ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 22443PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 22444host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 22445host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 22446host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 22447build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 22448build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 22449build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 22450SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 22451Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 22452GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 22453EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 22454FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 22455LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 22456NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 22457LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 22458max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 22459ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 22460exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 22461lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 22462lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 22463lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 22464lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 22465lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 22466reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 22467reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 22468deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 22469file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 22470file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 22471want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 22472sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 22473AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 22474AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 22475archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 22476STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 22477RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 22478old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 22479old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 22480old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 22481lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 22482CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 22483CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 22484compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 22485GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 22486lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 22487lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 22488lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 22489lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 22490lt_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"`' 22491lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 22492nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 22493lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 22494lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 22495objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 22496MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 22497lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 22498lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 22499lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 22500lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 22501lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 22502need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 22503MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 22504DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 22505NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 22506LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 22507OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 22508OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 22509libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 22510shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 22511extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 22512archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 22513enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 22514export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 22515whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 22516compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 22517old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 22518old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 22519archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 22520archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 22521module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 22522module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 22523with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 22524allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 22525no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 22526hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 22527hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 22528hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 22529hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 22530hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 22531hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 22532hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 22533inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 22534link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 22535always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 22536export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 22537exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 22538include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 22539prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 22540postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 22541file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 22542variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 22543need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 22544need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 22545version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 22546runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 22547shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 22548shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 22549libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 22550library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 22551soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 22552install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 22553postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 22554postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 22555finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 22556finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 22557hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 22558sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 22559configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 22560configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 22561hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 22562enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 22563enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 22564enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 22565old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 22566striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 22567compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 22568predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 22569postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 22570predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 22571postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 22572compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 22573LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 22574reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 22575reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22576old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22577compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 22578GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 22579lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 22580lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 22581lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 22582lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 22583lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 22584archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 22585enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 22586export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 22587whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 22588compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 22589old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22590old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22591archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22592archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22593module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22594module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22595with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 22596allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 22597no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 22598hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 22599hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 22600hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 22601hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 22602hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 22603hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 22604hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 22605inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 22606link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 22607always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 22608export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22609exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 22610include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 22611prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22612postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22613file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 22614hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 22615compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 22616predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 22617postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 22618predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 22619postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 22620compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 22621 22622LTCC='$LTCC' 22623LTCFLAGS='$LTCFLAGS' 22624compiler='$compiler_DEFAULT' 22625 22626# A function that is used when there is no print builtin or printf. 22627func_fallback_echo () 22628{ 22629 eval 'cat <<_LTECHO_EOF 22630\$1 22631_LTECHO_EOF' 22632} 22633 22634# Quote evaled strings. 22635for var in AS \ 22636DLLTOOL \ 22637OBJDUMP \ 22638SHELL \ 22639ECHO \ 22640PATH_SEPARATOR \ 22641SED \ 22642GREP \ 22643EGREP \ 22644FGREP \ 22645LD \ 22646NM \ 22647LN_S \ 22648lt_SP2NL \ 22649lt_NL2SP \ 22650reload_flag \ 22651deplibs_check_method \ 22652file_magic_cmd \ 22653file_magic_glob \ 22654want_nocaseglob \ 22655sharedlib_from_linklib_cmd \ 22656AR \ 22657AR_FLAGS \ 22658archiver_list_spec \ 22659STRIP \ 22660RANLIB \ 22661CC \ 22662CFLAGS \ 22663compiler \ 22664lt_cv_sys_global_symbol_pipe \ 22665lt_cv_sys_global_symbol_to_cdecl \ 22666lt_cv_sys_global_symbol_to_import \ 22667lt_cv_sys_global_symbol_to_c_name_address \ 22668lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 22669lt_cv_nm_interface \ 22670nm_file_list_spec \ 22671lt_cv_truncate_bin \ 22672lt_prog_compiler_no_builtin_flag \ 22673lt_prog_compiler_pic \ 22674lt_prog_compiler_wl \ 22675lt_prog_compiler_static \ 22676lt_cv_prog_compiler_c_o \ 22677need_locks \ 22678MANIFEST_TOOL \ 22679DSYMUTIL \ 22680NMEDIT \ 22681LIPO \ 22682OTOOL \ 22683OTOOL64 \ 22684shrext_cmds \ 22685export_dynamic_flag_spec \ 22686whole_archive_flag_spec \ 22687compiler_needs_object \ 22688with_gnu_ld \ 22689allow_undefined_flag \ 22690no_undefined_flag \ 22691hardcode_libdir_flag_spec \ 22692hardcode_libdir_separator \ 22693exclude_expsyms \ 22694include_expsyms \ 22695file_list_spec \ 22696variables_saved_for_relink \ 22697libname_spec \ 22698library_names_spec \ 22699soname_spec \ 22700install_override_mode \ 22701finish_eval \ 22702old_striplib \ 22703striplib \ 22704compiler_lib_search_dirs \ 22705predep_objects \ 22706postdep_objects \ 22707predeps \ 22708postdeps \ 22709compiler_lib_search_path \ 22710LD_CXX \ 22711reload_flag_CXX \ 22712compiler_CXX \ 22713lt_prog_compiler_no_builtin_flag_CXX \ 22714lt_prog_compiler_pic_CXX \ 22715lt_prog_compiler_wl_CXX \ 22716lt_prog_compiler_static_CXX \ 22717lt_cv_prog_compiler_c_o_CXX \ 22718export_dynamic_flag_spec_CXX \ 22719whole_archive_flag_spec_CXX \ 22720compiler_needs_object_CXX \ 22721with_gnu_ld_CXX \ 22722allow_undefined_flag_CXX \ 22723no_undefined_flag_CXX \ 22724hardcode_libdir_flag_spec_CXX \ 22725hardcode_libdir_separator_CXX \ 22726exclude_expsyms_CXX \ 22727include_expsyms_CXX \ 22728file_list_spec_CXX \ 22729compiler_lib_search_dirs_CXX \ 22730predep_objects_CXX \ 22731postdep_objects_CXX \ 22732predeps_CXX \ 22733postdeps_CXX \ 22734compiler_lib_search_path_CXX; do 22735 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 22736 *[\\\\\\\`\\"\\\$]*) 22737 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 22738 ;; 22739 *) 22740 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 22741 ;; 22742 esac 22743done 22744 22745# Double-quote double-evaled strings. 22746for var in reload_cmds \ 22747old_postinstall_cmds \ 22748old_postuninstall_cmds \ 22749old_archive_cmds \ 22750extract_expsyms_cmds \ 22751old_archive_from_new_cmds \ 22752old_archive_from_expsyms_cmds \ 22753archive_cmds \ 22754archive_expsym_cmds \ 22755module_cmds \ 22756module_expsym_cmds \ 22757export_symbols_cmds \ 22758prelink_cmds \ 22759postlink_cmds \ 22760postinstall_cmds \ 22761postuninstall_cmds \ 22762finish_cmds \ 22763sys_lib_search_path_spec \ 22764configure_time_dlsearch_path \ 22765configure_time_lt_sys_library_path \ 22766reload_cmds_CXX \ 22767old_archive_cmds_CXX \ 22768old_archive_from_new_cmds_CXX \ 22769old_archive_from_expsyms_cmds_CXX \ 22770archive_cmds_CXX \ 22771archive_expsym_cmds_CXX \ 22772module_cmds_CXX \ 22773module_expsym_cmds_CXX \ 22774export_symbols_cmds_CXX \ 22775prelink_cmds_CXX \ 22776postlink_cmds_CXX; do 22777 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 22778 *[\\\\\\\`\\"\\\$]*) 22779 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 22780 ;; 22781 *) 22782 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 22783 ;; 22784 esac 22785done 22786 22787ac_aux_dir='$ac_aux_dir' 22788 22789# See if we are running on zsh, and set the options that allow our 22790# commands through without removal of \ escapes INIT. 22791if test -n "\${ZSH_VERSION+set}"; then 22792 setopt NO_GLOB_SUBST 22793fi 22794 22795 22796 PACKAGE='$PACKAGE' 22797 VERSION='$VERSION' 22798 RM='$RM' 22799 ofile='$ofile' 22800 22801 22802 22803enable_libtool_hack='$enable_libtool_hack' 22804 22805 22806_LTEOF 22807 22808cat >>"$CONFIG_LT" <<\_LTEOF 22809{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5 22810$as_echo "$as_me: creating $ofile" >&6;} 22811 22812 22813 # See if we are running on zsh, and set the options that allow our 22814 # commands through without removal of \ escapes. 22815 if test -n "${ZSH_VERSION+set}"; then 22816 setopt NO_GLOB_SUBST 22817 fi 22818 22819 cfgfile=${ofile}T 22820 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 22821 $RM "$cfgfile" 22822 22823 cat <<_LT_EOF >> "$cfgfile" 22824#! $SHELL 22825# Generated automatically by $as_me ($PACKAGE) $VERSION 22826# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 22827# NOTE: Changes made to this file will be lost: look at ltmain.sh. 22828 22829# Provide generalized library-building support services. 22830# Written by Gordon Matzigkeit, 1996 22831 22832# Copyright (C) 2014 Free Software Foundation, Inc. 22833# This is free software; see the source for copying conditions. There is NO 22834# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 22835 22836# GNU Libtool is free software; you can redistribute it and/or modify 22837# it under the terms of the GNU General Public License as published by 22838# the Free Software Foundation; either version 2 of of the License, or 22839# (at your option) any later version. 22840# 22841# As a special exception to the GNU General Public License, if you 22842# distribute this file as part of a program or library that is built 22843# using GNU Libtool, you may include this file under the same 22844# distribution terms that you use for the rest of that program. 22845# 22846# GNU Libtool is distributed in the hope that it will be useful, but 22847# WITHOUT ANY WARRANTY; without even the implied warranty of 22848# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22849# GNU General Public License for more details. 22850# 22851# You should have received a copy of the GNU General Public License 22852# along with this program. If not, see <http://www.gnu.org/licenses/>. 22853 22854 22855# The names of the tagged configurations supported by this script. 22856available_tags='CXX ' 22857 22858# Configured defaults for sys_lib_dlsearch_path munging. 22859: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 22860 22861# ### BEGIN LIBTOOL CONFIG 22862 22863# Which release of libtool.m4 was used? 22864macro_version=$macro_version 22865macro_revision=$macro_revision 22866 22867# Assembler program. 22868AS=$lt_AS 22869 22870# DLL creation program. 22871DLLTOOL=$lt_DLLTOOL 22872 22873# Object dumper program. 22874OBJDUMP=$lt_OBJDUMP 22875 22876# Whether or not to build shared libraries. 22877build_libtool_libs=$enable_shared 22878 22879# Whether or not to build static libraries. 22880build_old_libs=$enable_static 22881 22882# What type of objects to build. 22883pic_mode=$pic_mode 22884 22885# Whether or not to optimize for fast installation. 22886fast_install=$enable_fast_install 22887 22888# Shared archive member basename,for filename based shared library versioning on AIX. 22889shared_archive_member_spec=$shared_archive_member_spec 22890 22891# Shell to use when invoking shell scripts. 22892SHELL=$lt_SHELL 22893 22894# An echo program that protects backslashes. 22895ECHO=$lt_ECHO 22896 22897# The PATH separator for the build system. 22898PATH_SEPARATOR=$lt_PATH_SEPARATOR 22899 22900# The host system. 22901host_alias=$host_alias 22902host=$host 22903host_os=$host_os 22904 22905# The build system. 22906build_alias=$build_alias 22907build=$build 22908build_os=$build_os 22909 22910# A sed program that does not truncate output. 22911SED=$lt_SED 22912 22913# Sed that helps us avoid accidentally triggering echo(1) options like -n. 22914Xsed="\$SED -e 1s/^X//" 22915 22916# A grep program that handles long lines. 22917GREP=$lt_GREP 22918 22919# An ERE matcher. 22920EGREP=$lt_EGREP 22921 22922# A literal string matcher. 22923FGREP=$lt_FGREP 22924 22925# A BSD- or MS-compatible name lister. 22926NM=$lt_NM 22927 22928# Whether we need soft or hard links. 22929LN_S=$lt_LN_S 22930 22931# What is the maximum length of a command? 22932max_cmd_len=$max_cmd_len 22933 22934# Object file suffix (normally "o"). 22935objext=$ac_objext 22936 22937# Executable file suffix (normally ""). 22938exeext=$exeext 22939 22940# whether the shell understands "unset". 22941lt_unset=$lt_unset 22942 22943# turn spaces into newlines. 22944SP2NL=$lt_lt_SP2NL 22945 22946# turn newlines into spaces. 22947NL2SP=$lt_lt_NL2SP 22948 22949# convert \$build file names to \$host format. 22950to_host_file_cmd=$lt_cv_to_host_file_cmd 22951 22952# convert \$build files to toolchain format. 22953to_tool_file_cmd=$lt_cv_to_tool_file_cmd 22954 22955# Method to check whether dependent libraries are shared objects. 22956deplibs_check_method=$lt_deplibs_check_method 22957 22958# Command to use when deplibs_check_method = "file_magic". 22959file_magic_cmd=$lt_file_magic_cmd 22960 22961# How to find potential files when deplibs_check_method = "file_magic". 22962file_magic_glob=$lt_file_magic_glob 22963 22964# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 22965want_nocaseglob=$lt_want_nocaseglob 22966 22967# Command to associate shared and link libraries. 22968sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 22969 22970# The archiver. 22971AR=$lt_AR 22972 22973# Flags to create an archive. 22974AR_FLAGS=$lt_AR_FLAGS 22975 22976# How to feed a file listing to the archiver. 22977archiver_list_spec=$lt_archiver_list_spec 22978 22979# A symbol stripping program. 22980STRIP=$lt_STRIP 22981 22982# Commands used to install an old-style archive. 22983RANLIB=$lt_RANLIB 22984old_postinstall_cmds=$lt_old_postinstall_cmds 22985old_postuninstall_cmds=$lt_old_postuninstall_cmds 22986 22987# Whether to use a lock for old archive extraction. 22988lock_old_archive_extraction=$lock_old_archive_extraction 22989 22990# A C compiler. 22991LTCC=$lt_CC 22992 22993# LTCC compiler flags. 22994LTCFLAGS=$lt_CFLAGS 22995 22996# Take the output of nm and produce a listing of raw symbols and C names. 22997global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 22998 22999# Transform the output of nm in a proper C declaration. 23000global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 23001 23002# Transform the output of nm into a list of symbols to manually relocate. 23003global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 23004 23005# Transform the output of nm in a C name address pair. 23006global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 23007 23008# Transform the output of nm in a C name address pair when lib prefix is needed. 23009global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 23010 23011# The name lister interface. 23012nm_interface=$lt_lt_cv_nm_interface 23013 23014# Specify filename containing input files for \$NM. 23015nm_file_list_spec=$lt_nm_file_list_spec 23016 23017# The root where to search for dependent libraries,and where our libraries should be installed. 23018lt_sysroot=$lt_sysroot 23019 23020# Command to truncate a binary pipe. 23021lt_truncate_bin=$lt_lt_cv_truncate_bin 23022 23023# The name of the directory that contains temporary libtool files. 23024objdir=$objdir 23025 23026# Used to examine libraries when file_magic_cmd begins with "file". 23027MAGIC_CMD=$MAGIC_CMD 23028 23029# Must we lock files when doing compilation? 23030need_locks=$lt_need_locks 23031 23032# Manifest tool. 23033MANIFEST_TOOL=$lt_MANIFEST_TOOL 23034 23035# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 23036DSYMUTIL=$lt_DSYMUTIL 23037 23038# Tool to change global to local symbols on Mac OS X. 23039NMEDIT=$lt_NMEDIT 23040 23041# Tool to manipulate fat objects and archives on Mac OS X. 23042LIPO=$lt_LIPO 23043 23044# ldd/readelf like tool for Mach-O binaries on Mac OS X. 23045OTOOL=$lt_OTOOL 23046 23047# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 23048OTOOL64=$lt_OTOOL64 23049 23050# Old archive suffix (normally "a"). 23051libext=$libext 23052 23053# Shared library suffix (normally ".so"). 23054shrext_cmds=$lt_shrext_cmds 23055 23056# The commands to extract the exported symbol list from a shared archive. 23057extract_expsyms_cmds=$lt_extract_expsyms_cmds 23058 23059# Variables whose values should be saved in libtool wrapper scripts and 23060# restored at link time. 23061variables_saved_for_relink=$lt_variables_saved_for_relink 23062 23063# Do we need the "lib" prefix for modules? 23064need_lib_prefix=$need_lib_prefix 23065 23066# Do we need a version for libraries? 23067need_version=$need_version 23068 23069# Library versioning type. 23070version_type=$version_type 23071 23072# Shared library runtime path variable. 23073runpath_var=$runpath_var 23074 23075# Shared library path variable. 23076shlibpath_var=$shlibpath_var 23077 23078# Is shlibpath searched before the hard-coded library search path? 23079shlibpath_overrides_runpath=$shlibpath_overrides_runpath 23080 23081# Format of library name prefix. 23082libname_spec=$lt_libname_spec 23083 23084# List of archive names. First name is the real one, the rest are links. 23085# The last name is the one that the linker finds with -lNAME 23086library_names_spec=$lt_library_names_spec 23087 23088# The coded name of the library, if different from the real name. 23089soname_spec=$lt_soname_spec 23090 23091# Permission mode override for installation of shared libraries. 23092install_override_mode=$lt_install_override_mode 23093 23094# Command to use after installation of a shared archive. 23095postinstall_cmds=$lt_postinstall_cmds 23096 23097# Command to use after uninstallation of a shared archive. 23098postuninstall_cmds=$lt_postuninstall_cmds 23099 23100# Commands used to finish a libtool library installation in a directory. 23101finish_cmds=$lt_finish_cmds 23102 23103# As "finish_cmds", except a single script fragment to be evaled but 23104# not shown. 23105finish_eval=$lt_finish_eval 23106 23107# Whether we should hardcode library paths into libraries. 23108hardcode_into_libs=$hardcode_into_libs 23109 23110# Compile-time system search path for libraries. 23111sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 23112 23113# Detected run-time system search path for libraries. 23114sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 23115 23116# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 23117configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 23118 23119# Whether dlopen is supported. 23120dlopen_support=$enable_dlopen 23121 23122# Whether dlopen of programs is supported. 23123dlopen_self=$enable_dlopen_self 23124 23125# Whether dlopen of statically linked programs is supported. 23126dlopen_self_static=$enable_dlopen_self_static 23127 23128# Commands to strip libraries. 23129old_striplib=$lt_old_striplib 23130striplib=$lt_striplib 23131 23132 23133# The linker used to build libraries. 23134LD=$lt_LD 23135 23136# How to create reloadable object files. 23137reload_flag=$lt_reload_flag 23138reload_cmds=$lt_reload_cmds 23139 23140# Commands used to build an old-style archive. 23141old_archive_cmds=$lt_old_archive_cmds 23142 23143# A language specific compiler. 23144CC=$lt_compiler 23145 23146# Is the compiler the GNU compiler? 23147with_gcc=$GCC 23148 23149# Compiler flag to turn off builtin functions. 23150no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 23151 23152# Additional compiler flags for building library objects. 23153pic_flag=$lt_lt_prog_compiler_pic 23154 23155# How to pass a linker flag through the compiler. 23156wl=$lt_lt_prog_compiler_wl 23157 23158# Compiler flag to prevent dynamic linking. 23159link_static_flag=$lt_lt_prog_compiler_static 23160 23161# Does compiler simultaneously support -c and -o options? 23162compiler_c_o=$lt_lt_cv_prog_compiler_c_o 23163 23164# Whether or not to add -lc for building shared libraries. 23165build_libtool_need_lc=$archive_cmds_need_lc 23166 23167# Whether or not to disallow shared libs when runtime libs are static. 23168allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 23169 23170# Compiler flag to allow reflexive dlopens. 23171export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 23172 23173# Compiler flag to generate shared objects directly from archives. 23174whole_archive_flag_spec=$lt_whole_archive_flag_spec 23175 23176# Whether the compiler copes with passing no objects directly. 23177compiler_needs_object=$lt_compiler_needs_object 23178 23179# Create an old-style archive from a shared archive. 23180old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 23181 23182# Create a temporary old-style archive to link instead of a shared archive. 23183old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 23184 23185# Commands used to build a shared archive. 23186archive_cmds=$lt_archive_cmds 23187archive_expsym_cmds=$lt_archive_expsym_cmds 23188 23189# Commands used to build a loadable module if different from building 23190# a shared archive. 23191module_cmds=$lt_module_cmds 23192module_expsym_cmds=$lt_module_expsym_cmds 23193 23194# Whether we are building with GNU ld or not. 23195with_gnu_ld=$lt_with_gnu_ld 23196 23197# Flag that allows shared libraries with undefined symbols to be built. 23198allow_undefined_flag=$lt_allow_undefined_flag 23199 23200# Flag that enforces no undefined symbols. 23201no_undefined_flag=$lt_no_undefined_flag 23202 23203# Flag to hardcode \$libdir into a binary during linking. 23204# This must work even if \$libdir does not exist 23205hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 23206 23207# Whether we need a single "-rpath" flag with a separated argument. 23208hardcode_libdir_separator=$lt_hardcode_libdir_separator 23209 23210# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23211# DIR into the resulting binary. 23212hardcode_direct=$hardcode_direct 23213 23214# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23215# DIR into the resulting binary and the resulting library dependency is 23216# "absolute",i.e impossible to change by setting \$shlibpath_var if the 23217# library is relocated. 23218hardcode_direct_absolute=$hardcode_direct_absolute 23219 23220# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 23221# into the resulting binary. 23222hardcode_minus_L=$hardcode_minus_L 23223 23224# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 23225# into the resulting binary. 23226hardcode_shlibpath_var=$hardcode_shlibpath_var 23227 23228# Set to "yes" if building a shared library automatically hardcodes DIR 23229# into the library and all subsequent libraries and executables linked 23230# against it. 23231hardcode_automatic=$hardcode_automatic 23232 23233# Set to yes if linker adds runtime paths of dependent libraries 23234# to runtime path list. 23235inherit_rpath=$inherit_rpath 23236 23237# Whether libtool must link a program against all its dependency libraries. 23238link_all_deplibs=$link_all_deplibs 23239 23240# Set to "yes" if exported symbols are required. 23241always_export_symbols=$always_export_symbols 23242 23243# The commands to list exported symbols. 23244export_symbols_cmds=$lt_export_symbols_cmds 23245 23246# Symbols that should not be listed in the preloaded symbols. 23247exclude_expsyms=$lt_exclude_expsyms 23248 23249# Symbols that must always be exported. 23250include_expsyms=$lt_include_expsyms 23251 23252# Commands necessary for linking programs (against libraries) with templates. 23253prelink_cmds=$lt_prelink_cmds 23254 23255# Commands necessary for finishing linking programs. 23256postlink_cmds=$lt_postlink_cmds 23257 23258# Specify filename containing input files. 23259file_list_spec=$lt_file_list_spec 23260 23261# How to hardcode a shared library path into an executable. 23262hardcode_action=$hardcode_action 23263 23264# The directories searched by this compiler when creating a shared library. 23265compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 23266 23267# Dependencies to place before and after the objects being linked to 23268# create a shared library. 23269predep_objects=$lt_predep_objects 23270postdep_objects=$lt_postdep_objects 23271predeps=$lt_predeps 23272postdeps=$lt_postdeps 23273 23274# The library search path used internally by the compiler when linking 23275# a shared library. 23276compiler_lib_search_path=$lt_compiler_lib_search_path 23277 23278# ### END LIBTOOL CONFIG 23279 23280_LT_EOF 23281 23282 cat <<'_LT_EOF' >> "$cfgfile" 23283 23284# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 23285 23286# func_munge_path_list VARIABLE PATH 23287# ----------------------------------- 23288# VARIABLE is name of variable containing _space_ separated list of 23289# directories to be munged by the contents of PATH, which is string 23290# having a format: 23291# "DIR[:DIR]:" 23292# string "DIR[ DIR]" will be prepended to VARIABLE 23293# ":DIR[:DIR]" 23294# string "DIR[ DIR]" will be appended to VARIABLE 23295# "DIRP[:DIRP]::[DIRA:]DIRA" 23296# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 23297# "DIRA[ DIRA]" will be appended to VARIABLE 23298# "DIR[:DIR]" 23299# VARIABLE will be replaced by "DIR[ DIR]" 23300func_munge_path_list () 23301{ 23302 case x$2 in 23303 x) 23304 ;; 23305 *:) 23306 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 23307 ;; 23308 x:*) 23309 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 23310 ;; 23311 *::*) 23312 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 23313 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 23314 ;; 23315 *) 23316 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 23317 ;; 23318 esac 23319} 23320 23321 23322# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 23323func_cc_basename () 23324{ 23325 for cc_temp in $*""; do 23326 case $cc_temp in 23327 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 23328 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 23329 \-*) ;; 23330 *) break;; 23331 esac 23332 done 23333 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 23334} 23335 23336 23337# ### END FUNCTIONS SHARED WITH CONFIGURE 23338 23339_LT_EOF 23340 23341 case $host_os in 23342 aix3*) 23343 cat <<\_LT_EOF >> "$cfgfile" 23344# AIX sometimes has problems with the GCC collect2 program. For some 23345# reason, if we set the COLLECT_NAMES environment variable, the problems 23346# vanish in a puff of smoke. 23347if test set != "${COLLECT_NAMES+set}"; then 23348 COLLECT_NAMES= 23349 export COLLECT_NAMES 23350fi 23351_LT_EOF 23352 ;; 23353 esac 23354 23355 23356ltmain=$ac_aux_dir/ltmain.sh 23357 23358 23359 # We use sed instead of cat because bash on DJGPP gets confused if 23360 # if finds mixed CR/LF and LF-only lines. Since sed operates in 23361 # text mode, it properly converts lines to CR/LF. This bash problem 23362 # is reportedly fixed, but why not run on old versions too? 23363 sed '$q' "$ltmain" >> "$cfgfile" \ 23364 || (rm -f "$cfgfile"; exit 1) 23365 23366 mv -f "$cfgfile" "$ofile" || 23367 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 23368 chmod +x "$ofile" 23369 23370 23371 cat <<_LT_EOF >> "$ofile" 23372 23373# ### BEGIN LIBTOOL TAG CONFIG: CXX 23374 23375# The linker used to build libraries. 23376LD=$lt_LD_CXX 23377 23378# How to create reloadable object files. 23379reload_flag=$lt_reload_flag_CXX 23380reload_cmds=$lt_reload_cmds_CXX 23381 23382# Commands used to build an old-style archive. 23383old_archive_cmds=$lt_old_archive_cmds_CXX 23384 23385# A language specific compiler. 23386CC=$lt_compiler_CXX 23387 23388# Is the compiler the GNU compiler? 23389with_gcc=$GCC_CXX 23390 23391# Compiler flag to turn off builtin functions. 23392no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 23393 23394# Additional compiler flags for building library objects. 23395pic_flag=$lt_lt_prog_compiler_pic_CXX 23396 23397# How to pass a linker flag through the compiler. 23398wl=$lt_lt_prog_compiler_wl_CXX 23399 23400# Compiler flag to prevent dynamic linking. 23401link_static_flag=$lt_lt_prog_compiler_static_CXX 23402 23403# Does compiler simultaneously support -c and -o options? 23404compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 23405 23406# Whether or not to add -lc for building shared libraries. 23407build_libtool_need_lc=$archive_cmds_need_lc_CXX 23408 23409# Whether or not to disallow shared libs when runtime libs are static. 23410allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 23411 23412# Compiler flag to allow reflexive dlopens. 23413export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 23414 23415# Compiler flag to generate shared objects directly from archives. 23416whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 23417 23418# Whether the compiler copes with passing no objects directly. 23419compiler_needs_object=$lt_compiler_needs_object_CXX 23420 23421# Create an old-style archive from a shared archive. 23422old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 23423 23424# Create a temporary old-style archive to link instead of a shared archive. 23425old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 23426 23427# Commands used to build a shared archive. 23428archive_cmds=$lt_archive_cmds_CXX 23429archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 23430 23431# Commands used to build a loadable module if different from building 23432# a shared archive. 23433module_cmds=$lt_module_cmds_CXX 23434module_expsym_cmds=$lt_module_expsym_cmds_CXX 23435 23436# Whether we are building with GNU ld or not. 23437with_gnu_ld=$lt_with_gnu_ld_CXX 23438 23439# Flag that allows shared libraries with undefined symbols to be built. 23440allow_undefined_flag=$lt_allow_undefined_flag_CXX 23441 23442# Flag that enforces no undefined symbols. 23443no_undefined_flag=$lt_no_undefined_flag_CXX 23444 23445# Flag to hardcode \$libdir into a binary during linking. 23446# This must work even if \$libdir does not exist 23447hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 23448 23449# Whether we need a single "-rpath" flag with a separated argument. 23450hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 23451 23452# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23453# DIR into the resulting binary. 23454hardcode_direct=$hardcode_direct_CXX 23455 23456# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23457# DIR into the resulting binary and the resulting library dependency is 23458# "absolute",i.e impossible to change by setting \$shlibpath_var if the 23459# library is relocated. 23460hardcode_direct_absolute=$hardcode_direct_absolute_CXX 23461 23462# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 23463# into the resulting binary. 23464hardcode_minus_L=$hardcode_minus_L_CXX 23465 23466# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 23467# into the resulting binary. 23468hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 23469 23470# Set to "yes" if building a shared library automatically hardcodes DIR 23471# into the library and all subsequent libraries and executables linked 23472# against it. 23473hardcode_automatic=$hardcode_automatic_CXX 23474 23475# Set to yes if linker adds runtime paths of dependent libraries 23476# to runtime path list. 23477inherit_rpath=$inherit_rpath_CXX 23478 23479# Whether libtool must link a program against all its dependency libraries. 23480link_all_deplibs=$link_all_deplibs_CXX 23481 23482# Set to "yes" if exported symbols are required. 23483always_export_symbols=$always_export_symbols_CXX 23484 23485# The commands to list exported symbols. 23486export_symbols_cmds=$lt_export_symbols_cmds_CXX 23487 23488# Symbols that should not be listed in the preloaded symbols. 23489exclude_expsyms=$lt_exclude_expsyms_CXX 23490 23491# Symbols that must always be exported. 23492include_expsyms=$lt_include_expsyms_CXX 23493 23494# Commands necessary for linking programs (against libraries) with templates. 23495prelink_cmds=$lt_prelink_cmds_CXX 23496 23497# Commands necessary for finishing linking programs. 23498postlink_cmds=$lt_postlink_cmds_CXX 23499 23500# Specify filename containing input files. 23501file_list_spec=$lt_file_list_spec_CXX 23502 23503# How to hardcode a shared library path into an executable. 23504hardcode_action=$hardcode_action_CXX 23505 23506# The directories searched by this compiler when creating a shared library. 23507compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 23508 23509# Dependencies to place before and after the objects being linked to 23510# create a shared library. 23511predep_objects=$lt_predep_objects_CXX 23512postdep_objects=$lt_postdep_objects_CXX 23513predeps=$lt_predeps_CXX 23514postdeps=$lt_postdeps_CXX 23515 23516# The library search path used internally by the compiler when linking 23517# a shared library. 23518compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 23519 23520# ### END LIBTOOL TAG CONFIG: CXX 23521_LT_EOF 23522 23523## KPSE_LT_HACK: Prevent libtool from linking dependency_libs 23524if test "x$enable_libtool_hack" = xyes; then 23525 $SED '/# Convert "-framework/i\ 23526 ## KPSE_LT_HACK: ignore dependency_libs\ 23527 test "X$installed" = Xyes && dependency_libs=\ 23528' "$ofile" >"$cfgfile" 23529 mv "$cfgfile" "$ofile" || 23530 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 23531 chmod +x "$ofile" 23532fi 23533 23534as_fn_exit 0 23535_LTEOF 23536chmod +x "$CONFIG_LT" 23537 23538# configure is writing to config.log, but config.lt does its own redirection, 23539# appending to config.log, which fails on DOS, as config.log is still kept 23540# open by configure. Here we exec the FD to /dev/null, effectively closing 23541# config.log, so it can be properly (re)opened and appended to by config.lt. 23542lt_cl_success=: 23543test yes = "$silent" && 23544 lt_config_lt_args="$lt_config_lt_args --quiet" 23545exec 5>/dev/null 23546$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 23547exec 5>>config.log 23548$lt_cl_success || as_fn_exit 1 23549 23550ac_ext=c 23551ac_cpp='$CPP $CPPFLAGS' 23552ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23553ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23554ac_compiler_gnu=$ac_cv_c_compiler_gnu 23555ac_link="./libtool --mode=link --tag=CC $ac_link" 23556 23557## _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags 23558 23559# Check whether --with-system-kpathsea was given. 23560if test "${with_system_kpathsea+set}" = set; then : 23561 withval=$with_system_kpathsea; 23562fi 23563if test "x$with_system_kpathsea" = xyes; then 23564 if $PKG_CONFIG kpathsea; then 23565 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags` 23566 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs` 23567elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then 23568 as_fn_error $? "did not find kpathsea" "$LINENO" 5 23569fi 23570else 23571 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk" 23572 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la" 23573 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la' 23574 KPATHSEA_RULE='# Rebuild libkpathsea 23575$(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h 23576 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild 23577${top_builddir}/../kpathsea/paths.h: 23578 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23579fi 23580 23581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5 23582$as_echo_n "checking if libkpathsea supports debugging... " >&6; } 23583if ${kpse_cv_kpse_debug+:} false; then : 23584 $as_echo_n "(cached) " >&6 23585else 23586 eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\" 23587eval LIBS=\"$KPATHSEA_LIBS \$LIBS\" 23588 23589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23590/* end confdefs.h. */ 23591#include <kpathsea/kpathsea.h> 23592int 23593main () 23594{ 23595FILE *f = fopen("f", "r") 23596 ; 23597 return 0; 23598} 23599_ACEOF 23600if ac_fn_c_try_link "$LINENO"; then : 23601 kpse_cv_kpse_debug=yes 23602else 23603 kpse_cv_kpse_debug=no 23604fi 23605rm -f core conftest.err conftest.$ac_objext \ 23606 conftest$ac_exeext conftest.$ac_ext 23607 CPPFLAGS=$kpse_save_CPPFLAGS 23608LIBS=$kpse_save_LIBS 23609 23610fi 23611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5 23612$as_echo "$kpse_cv_kpse_debug" >&6; } 23613if test "x$kpse_cv_kpse_debug" != xyes; then : 23614 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG" 23615fi 23616 23617## _KPSE_LIB_FLAGS: Setup ptexenc (-lptexenc) flags 23618 23619# Check whether --with-system-ptexenc was given. 23620if test "${with_system_ptexenc+set}" = set; then : 23621 withval=$with_system_ptexenc; 23622fi 23623if test "x$with_system_ptexenc" = xyes; then 23624 if $PKG_CONFIG ptexenc; then 23625 PTEXENC_INCLUDES=`$PKG_CONFIG ptexenc --cflags` 23626 PTEXENC_LIBS=`$PKG_CONFIG ptexenc --libs` 23627elif test "x$need_ptexenc:$with_system_ptexenc" = xyes:yes; then 23628 as_fn_error $? "did not find ptexenc" "$LINENO" 5 23629fi 23630else 23631 PTEXENC_INCLUDES="-I$kpse_BLD/texk/ptexenc -I$kpse_SRC/texk/ptexenc" 23632 PTEXENC_LIBS="$kpse_BLD/texk/ptexenc/libptexenc.la" 23633 PTEXENC_DEPEND='${top_builddir}/../ptexenc/libptexenc.la' 23634 PTEXENC_RULE='# Rebuild libptexenc 23635$(PTEXENC_DEPEND): ${top_srcdir}/../ptexenc/*.c ${top_srcdir}/../ptexenc/ptexenc/*.h 23636 cd ${top_builddir}/../ptexenc && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23637fi 23638 23639## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags 23640 23641# Check whether --with-system-zlib was given. 23642if test "${with_system_zlib+set}" = set; then : 23643 withval=$with_system_zlib; 23644fi 23645 23646# Check whether --with-zlib-includes was given. 23647if test "${with_zlib_includes+set}" = set; then : 23648 withval=$with_zlib_includes; 23649fi 23650 23651# Check whether --with-zlib-libdir was given. 23652if test "${with_zlib_libdir+set}" = set; then : 23653 withval=$with_zlib_libdir; 23654fi 23655if test "x$with_system_zlib" = xyes; then 23656 if test "x$with_zlib_includes" != x && test "x$with_zlib_includes" != xyes; then 23657 ZLIB_INCLUDES="-I$with_zlib_includes" 23658fi 23659ZLIB_LIBS="-lz" 23660if test "x$with_zlib_libdir" != x && test "x$with_zlib_libdir" != xyes; then 23661 ZLIB_LIBS="-L$with_zlib_libdir $ZLIB_LIBS" 23662fi 23663else 23664 ZLIB_INCLUDES="-I$kpse_BLD/libs/zlib/include" 23665 ZLIB_LIBS="$kpse_BLD/libs/zlib/libz.a" 23666 ZLIB_DEPEND='${top_builddir}/../../libs/zlib/libz.a' 23667 ZLIB_RULE='# Rebuild libz 23668$(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h 23669 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild 23670${top_builddir}/../../libs/zlib/include/zconf.h: 23671 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23672fi 23673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5 23674$as_echo_n "checking if <zlib.h> defines 'z_const'... " >&6; } 23675if ${kpse_cv_have_decl_z_const+:} false; then : 23676 $as_echo_n "(cached) " >&6 23677else 23678 eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\" 23679eval LIBS=\"$ZLIB_LIBS \$LIBS\" 23680 23681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23682/* end confdefs.h. */ 23683#include <zlib.h> 23684int 23685main () 23686{ 23687z_const char * foo(); 23688 ; 23689 return 0; 23690} 23691_ACEOF 23692if ac_fn_c_try_compile "$LINENO"; then : 23693 kpse_cv_have_decl_z_const=yes 23694else 23695 kpse_cv_have_decl_z_const=no 23696fi 23697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23698 CPPFLAGS=$kpse_save_CPPFLAGS 23699LIBS=$kpse_save_LIBS 23700 23701fi 23702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5 23703$as_echo "$kpse_cv_have_decl_z_const" >&6; } 23704case $kpse_cv_have_decl_z_const in #( 23705 yes) : 23706 23707$as_echo "#define ZLIB_CONST 1" >>confdefs.h 23708 ;; #( 23709 *) : 23710 23711$as_echo "#define z_const /**/" >>confdefs.h 23712 ;; 23713esac 23714 23715## _KPSE_LIB_FLAGS: Setup libpng (-lpng) flags 23716 23717# Check whether --with-system-libpng was given. 23718if test "${with_system_libpng+set}" = set; then : 23719 withval=$with_system_libpng; 23720fi 23721if test "x$with_system_libpng" = xyes; then 23722 if $PKG_CONFIG libpng; then 23723 LIBPNG_INCLUDES=`$PKG_CONFIG libpng --cflags` 23724 LIBPNG_LIBS=`$PKG_CONFIG libpng --libs` 23725elif test "x$need_libpng:$with_system_libpng" = xyes:yes; then 23726 as_fn_error $? "did not find libpng" "$LINENO" 5 23727fi 23728else 23729 LIBPNG_INCLUDES="-I$kpse_BLD/libs/libpng/include" 23730 LIBPNG_LIBS="$kpse_BLD/libs/libpng/libpng.a" 23731 LIBPNG_DEPEND='${top_builddir}/../../libs/libpng/libpng.a' 23732 LIBPNG_RULE='# Rebuild libpng 23733$(LIBPNG_DEPEND): ${top_builddir}/../../libs/libpng/include/png.h 23734 cd ${top_builddir}/../../libs/libpng && $(MAKE) $(AM_MAKEFLAGS) rebuild 23735${top_builddir}/../../libs/libpng/include/png.h: 23736 cd ${top_builddir}/../../libs/libpng && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23737fi 23738 23739## _KPSE_LIB_FLAGS: Setup pixman (-lpixman) flags 23740 23741# Check whether --with-system-pixman was given. 23742if test "${with_system_pixman+set}" = set; then : 23743 withval=$with_system_pixman; 23744fi 23745if test "x$with_system_pixman" = xyes; then 23746 if $PKG_CONFIG pixman-1 --atleast-version=0.18; then 23747 PIXMAN_INCLUDES=`$PKG_CONFIG pixman-1 --cflags` 23748 PIXMAN_LIBS=`$PKG_CONFIG pixman-1 --libs` 23749elif test "x$need_pixman:$with_system_pixman" = xyes:yes; then 23750 as_fn_error $? "did not find pixman-1 0.18 or better" "$LINENO" 5 23751fi 23752else 23753 PIXMAN_INCLUDES="-I$kpse_BLD/libs/pixman/include" 23754 PIXMAN_LIBS="$kpse_BLD/libs/pixman/libpixman.a" 23755 PIXMAN_DEPEND='${top_builddir}/../../libs/pixman/libpixman.a' 23756 PIXMAN_RULE='# Rebuild libpixman 23757$(PIXMAN_DEPEND): ${top_builddir}/../../libs/pixman/include/pixman.h 23758 cd ${top_builddir}/../../libs/pixman && $(MAKE) $(AM_MAKEFLAGS) rebuild 23759${top_builddir}/../../libs/pixman/include/pixman.h: 23760 cd ${top_builddir}/../../libs/pixman && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23761fi 23762 23763## _KPSE_LIB_FLAGS: Setup cairo (-lcairo) flags 23764 23765# Check whether --with-system-cairo was given. 23766if test "${with_system_cairo+set}" = set; then : 23767 withval=$with_system_cairo; 23768fi 23769if test "x$with_system_cairo" = xyes; then 23770 if $PKG_CONFIG cairo --atleast-version=1.12; then 23771 CAIRO_INCLUDES=`$PKG_CONFIG cairo --cflags` 23772 CAIRO_LIBS=`$PKG_CONFIG cairo --libs` 23773elif test "x$need_cairo:$with_system_cairo" = xyes:yes; then 23774 as_fn_error $? "did not find cairo 1.12 or better" "$LINENO" 5 23775fi 23776else 23777 CAIRO_INCLUDES="-I$kpse_BLD/libs/cairo/cairo" 23778 CAIRO_LIBS="$kpse_BLD/libs/cairo/libcairo.a" 23779 CAIRO_DEPEND='${top_builddir}/../../libs/cairo/libcairo.a' 23780 CAIRO_RULE='# Rebuild libcairo 23781$(CAIRO_DEPEND): ${top_builddir}/../../libs/cairo/cairo/cairo.h 23782 cd ${top_builddir}/../../libs/cairo && $(MAKE) $(AM_MAKEFLAGS) rebuild 23783${top_builddir}/../../libs/cairo/cairo/cairo.h: 23784 cd ${top_builddir}/../../libs/cairo && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23785fi 23786 23787## _KPSE_LIB_FLAGS: Setup gmp (-lgmp) flags 23788 23789# Check whether --with-system-gmp was given. 23790if test "${with_system_gmp+set}" = set; then : 23791 withval=$with_system_gmp; 23792fi 23793 23794# Check whether --with-gmp-includes was given. 23795if test "${with_gmp_includes+set}" = set; then : 23796 withval=$with_gmp_includes; 23797fi 23798 23799# Check whether --with-gmp-libdir was given. 23800if test "${with_gmp_libdir+set}" = set; then : 23801 withval=$with_gmp_libdir; 23802fi 23803if test "x$with_system_gmp" = xyes; then 23804 if test "x$with_gmp_includes" != x && test "x$with_gmp_includes" != xyes; then 23805 GMP_INCLUDES="-I$with_gmp_includes" 23806fi 23807GMP_LIBS="-lgmp" 23808if test "x$with_gmp_libdir" != x && test "x$with_gmp_libdir" != xyes; then 23809 GMP_LIBS="-L$with_gmp_libdir $GMP_LIBS" 23810fi 23811else 23812 GMP_INCLUDES="-I$kpse_BLD/libs/gmp/include" 23813 GMP_LIBS="$kpse_BLD/libs/gmp/libgmp.a" 23814 GMP_DEPEND='${top_builddir}/../../libs/gmp/libgmp.a' 23815 GMP_RULE='# Rebuild libgmp 23816$(GMP_DEPEND): ${top_builddir}/../../libs/gmp/include/gmp.h 23817 cd ${top_builddir}/../../libs/gmp && $(MAKE) $(AM_MAKEFLAGS) rebuild 23818${top_builddir}/../../libs/gmp/include/gmp.h: 23819 cd ${top_builddir}/../../libs/gmp && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23820fi 23821 23822## _KPSE_LIB_FLAGS: Setup mpfr (-lmpfr) flags 23823 23824# Check whether --with-system-mpfr was given. 23825if test "${with_system_mpfr+set}" = set; then : 23826 withval=$with_system_mpfr; 23827fi 23828 23829# Check whether --with-mpfr-includes was given. 23830if test "${with_mpfr_includes+set}" = set; then : 23831 withval=$with_mpfr_includes; 23832fi 23833 23834# Check whether --with-mpfr-libdir was given. 23835if test "${with_mpfr_libdir+set}" = set; then : 23836 withval=$with_mpfr_libdir; 23837fi 23838if test "x$with_system_mpfr" = xyes; then 23839 if test "x$with_mpfr_includes" != x && test "x$with_mpfr_includes" != xyes; then 23840 MPFR_INCLUDES="-I$with_mpfr_includes" 23841fi 23842MPFR_LIBS="-lmpfr" 23843if test "x$with_mpfr_libdir" != x && test "x$with_mpfr_libdir" != xyes; then 23844 MPFR_LIBS="-L$with_mpfr_libdir $MPFR_LIBS" 23845fi 23846else 23847 MPFR_INCLUDES="-I$kpse_BLD/libs/mpfr/include" 23848 MPFR_LIBS="$kpse_BLD/libs/mpfr/libmpfr.a" 23849 MPFR_DEPEND='${top_builddir}/../../libs/mpfr/libmpfr.a' 23850 MPFR_RULE='# Rebuild libmpfr 23851$(MPFR_DEPEND): ${top_builddir}/../../libs/mpfr/include/mpfr.h 23852 cd ${top_builddir}/../../libs/mpfr && $(MAKE) $(AM_MAKEFLAGS) rebuild 23853${top_builddir}/../../libs/mpfr/include/mpfr.h: 23854 cd ${top_builddir}/../../libs/mpfr && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23855fi 23856 23857## _KPSE_LIB_FLAGS: Setup xpdf (-lxpdf) flags 23858 23859# Check whether --with-system-xpdf was given. 23860if test "${with_system_xpdf+set}" = set; then : 23861 withval=$with_system_xpdf; 23862fi 23863if test "x$with_system_xpdf" = xyes; then 23864 if $PKG_CONFIG poppler --atleast-version=0.12; then 23865 XPDF_INCLUDES=`$PKG_CONFIG poppler --cflags` 23866 XPDF_LIBS=`$PKG_CONFIG poppler --libs` 23867elif test "x$need_xpdf:$with_system_xpdf" = xyes:yes; then 23868 as_fn_error $? "did not find poppler 0.12 or better" "$LINENO" 5 23869fi 23870 23871POPPLER_VERSION='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"' 23872XPDF_INCLUDES="$POPPLER_VERSION $XPDF_INCLUDES" 23873else 23874 XPDF_INCLUDES="-DPDF_PARSER_ONLY -I$kpse_BLD/libs/xpdf -I$kpse_BLD/libs/xpdf/goo -I$kpse_BLD/libs/xpdf/xpdf" 23875 XPDF_LIBS="$kpse_BLD/libs/xpdf/libxpdf.a" 23876 XPDF_DEPEND='${top_builddir}/../../libs/xpdf/libxpdf.a' 23877 XPDF_RULE='# Rebuild libxpdf 23878$(XPDF_DEPEND): ${top_builddir}/../../libs/xpdf/xpdf/Stream.h 23879 cd ${top_builddir}/../../libs/xpdf && $(MAKE) $(AM_MAKEFLAGS) rebuild 23880${top_builddir}/../../libs/xpdf/xpdf/Stream.h: 23881 cd ${top_builddir}/../../libs/xpdf && $(MAKE) $(AM_MAKEFLAGS) rebuild' 23882fi 23883test "x$kpse_cv_have_win32" = xno || XPDF_LIBS="$XPDF_LIBS -lgdi32" 23884 23885# Check size of off_t (using <kpathsea/config.h>) 23886eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\" 23887eval LIBS=\"$KPATHSEA_LIBS \$LIBS\" 23888 23889# The cast to long int works around a bug in the HP C Compiler 23890# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 23891# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 23892# This bug is HP SR number 8606223364. 23893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 23894$as_echo_n "checking size of off_t... " >&6; } 23895if ${ac_cv_sizeof_off_t+:} false; then : 23896 $as_echo_n "(cached) " >&6 23897else 23898 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default 23899#include <kpathsea/config.h> 23900"; then : 23901 23902else 23903 if test "$ac_cv_type_off_t" = yes; then 23904 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 23905$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 23906as_fn_error 77 "cannot compute sizeof (off_t) 23907See \`config.log' for more details" "$LINENO" 5; } 23908 else 23909 ac_cv_sizeof_off_t=0 23910 fi 23911fi 23912 23913fi 23914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 23915$as_echo "$ac_cv_sizeof_off_t" >&6; } 23916 23917 23918 23919cat >>confdefs.h <<_ACEOF 23920#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 23921_ACEOF 23922 23923 23924 23925if test "x$with_system_kpathsea" = xyes; then 23926 list="/usr/include /usr/local/include `echo $KPATHSEA_INCLUDES | sed 's/-I//g'`" 23927 found=no 23928 for KPATHSEA_PATHS_H in $list; do 23929 if test -r "$KPATHSEA_PATHS_H/kpathsea/paths.h"; then 23930 found=yes 23931 break 23932 fi 23933 done 23934 if test "x$found" = xno; then 23935 { $as_echo "$as_me:${as_lineno-$LINENO}: You requested to build \`web2c' using an installed \`kpathsea' version," >&5 23936$as_echo "$as_me: You requested to build \`web2c' using an installed \`kpathsea' version," >&6;} 23937 { $as_echo "$as_me:${as_lineno-$LINENO}: which requires to locate the <kpathsea/paths.h> header file." >&5 23938$as_echo "$as_me: which requires to locate the <kpathsea/paths.h> header file." >&6;} 23939 as_fn_error $? "Sorry, not found under any of: $list *****" "$LINENO" 5 23940 fi 23941else 23942 KPATHSEA_PATHS_H='${top_builddir}/..' 23943fi 23944 23945 23946# Check of poppler 0.25 or better 23947case $with_system_poppler in #( 23948 yes) : 23949 eval CPPFLAGS=\"$POPPLER_INCLUDES \$CPPFLAGS\" 23950eval LIBS=\"$POPPLER_LIBS \$LIBS\" 23951 23952ac_ext=cpp 23953ac_cpp='$CXXCPP $CPPFLAGS' 23954ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23955ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23956ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 23957ac_link="./libtool --mode=link --tag=CXX $ac_link" 23958 23959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for StructTreeRoot.h (poppler 0.25 or better)" >&5 23960$as_echo_n "checking for StructTreeRoot.h (poppler 0.25 or better)... " >&6; } 23961cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23962/* end confdefs.h. */ 23963#include <stdio.h> 23964#include <StructTreeRoot.h> 23965int 23966main () 23967{ 23968PDFDoc *doc; 23969 Dict *dict; 23970 StructTreeRoot root(doc, dict); 23971 ; 23972 return 0; 23973} 23974_ACEOF 23975if ac_fn_cxx_try_compile "$LINENO"; then : 23976 kpse_cv_have_StructTreeRoot_h=yes 23977else 23978 kpse_cv_have_StructTreeRoot_h=no 23979fi 23980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_StructTreeRoot_h" >&5 23982$as_echo "$kpse_cv_have_StructTreeRoot_h" >&6; } 23983ac_ext=c 23984ac_cpp='$CPP $CPPFLAGS' 23985ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23987ac_compiler_gnu=$ac_cv_c_compiler_gnu 23988ac_link="./libtool --mode=link --tag=CC $ac_link" 23989 ;; #( 23990 *) : 23991 kpse_cv_have_StructTreeRoot_h=yes ;; 23992esac 23993if test "x$kpse_cv_have_StructTreeRoot_h" = xyes; then 23994 23995$as_echo "#define HAVE_STRUCTTREEROOT_H 1" >>confdefs.h 23996 23997fi 23998CPPFLAGS=$kpse_save_CPPFLAGS 23999LIBS=$kpse_save_LIBS 24000 24001 24002ac_config_headers="$ac_config_headers w2c/c-auto.h:c-auto.in" 24003 24004 24005 24006 24007 24008ac_config_headers="$ac_config_headers ff-config.h:luatexdir/luafontloader/ff-config.in" 24009 24010 24011# For cross-compilation. Put at the end so there is a fair chance 24012# these are still visible when the configure script has finished. 24013 24014# The supporting programs we need to have available on the build machine. 24015# make variable cross native 24016if test "x$cross_compiling" = xyes; then : 24017 # Extract the first word of "tangle", so it can be a program name with args. 24018set dummy tangle; ac_word=$2 24019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24020$as_echo_n "checking for $ac_word... " >&6; } 24021if ${ac_cv_path_TANGLEBOOT+:} false; then : 24022 $as_echo_n "(cached) " >&6 24023else 24024 case $TANGLEBOOT in 24025 [\\/]* | ?:[\\/]*) 24026 ac_cv_path_TANGLEBOOT="$TANGLEBOOT" # Let the user override the test with a path. 24027 ;; 24028 *) 24029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24030for as_dir in $PATH 24031do 24032 IFS=$as_save_IFS 24033 test -z "$as_dir" && as_dir=. 24034 for ac_exec_ext in '' $ac_executable_extensions; do 24035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24036 ac_cv_path_TANGLEBOOT="$as_dir/$ac_word$ac_exec_ext" 24037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24038 break 2 24039 fi 24040done 24041 done 24042IFS=$as_save_IFS 24043 24044 ;; 24045esac 24046fi 24047TANGLEBOOT=$ac_cv_path_TANGLEBOOT 24048if test -n "$TANGLEBOOT"; then 24049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TANGLEBOOT" >&5 24050$as_echo "$TANGLEBOOT" >&6; } 24051else 24052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24053$as_echo "no" >&6; } 24054fi 24055 24056 24057if test -z "${TANGLEBOOT}"; then : 24058 as_fn_error $? "tangle was not found but is required when cross-compiling. 24059 Install tangle or set \$TANGLEBOOT to the full pathname." "$LINENO" 5 24060fi 24061else 24062 TANGLEBOOT=./tangleboot 24063fi 24064 24065if test "x$cross_compiling" = xyes; then : 24066 # Extract the first word of "tangle", so it can be a program name with args. 24067set dummy tangle; ac_word=$2 24068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24069$as_echo_n "checking for $ac_word... " >&6; } 24070if ${ac_cv_path_TANGLE+:} false; then : 24071 $as_echo_n "(cached) " >&6 24072else 24073 case $TANGLE in 24074 [\\/]* | ?:[\\/]*) 24075 ac_cv_path_TANGLE="$TANGLE" # Let the user override the test with a path. 24076 ;; 24077 *) 24078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24079for as_dir in $PATH 24080do 24081 IFS=$as_save_IFS 24082 test -z "$as_dir" && as_dir=. 24083 for ac_exec_ext in '' $ac_executable_extensions; do 24084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24085 ac_cv_path_TANGLE="$as_dir/$ac_word$ac_exec_ext" 24086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24087 break 2 24088 fi 24089done 24090 done 24091IFS=$as_save_IFS 24092 24093 ;; 24094esac 24095fi 24096TANGLE=$ac_cv_path_TANGLE 24097if test -n "$TANGLE"; then 24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TANGLE" >&5 24099$as_echo "$TANGLE" >&6; } 24100else 24101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24102$as_echo "no" >&6; } 24103fi 24104 24105 24106if test -z "${TANGLE}"; then : 24107 as_fn_error $? "tangle was not found but is required when cross-compiling. 24108 Install tangle or set \$TANGLE to the full pathname." "$LINENO" 5 24109fi 24110else 24111 TANGLE=./tangle 24112fi 24113 24114if test "x$cross_compiling" = xyes; then : 24115 # Extract the first word of "ctangle", so it can be a program name with args. 24116set dummy ctangle; ac_word=$2 24117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24118$as_echo_n "checking for $ac_word... " >&6; } 24119if ${ac_cv_path_CTANGLEBOOT+:} false; then : 24120 $as_echo_n "(cached) " >&6 24121else 24122 case $CTANGLEBOOT in 24123 [\\/]* | ?:[\\/]*) 24124 ac_cv_path_CTANGLEBOOT="$CTANGLEBOOT" # Let the user override the test with a path. 24125 ;; 24126 *) 24127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24128for as_dir in $PATH 24129do 24130 IFS=$as_save_IFS 24131 test -z "$as_dir" && as_dir=. 24132 for ac_exec_ext in '' $ac_executable_extensions; do 24133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24134 ac_cv_path_CTANGLEBOOT="$as_dir/$ac_word$ac_exec_ext" 24135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24136 break 2 24137 fi 24138done 24139 done 24140IFS=$as_save_IFS 24141 24142 ;; 24143esac 24144fi 24145CTANGLEBOOT=$ac_cv_path_CTANGLEBOOT 24146if test -n "$CTANGLEBOOT"; then 24147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTANGLEBOOT" >&5 24148$as_echo "$CTANGLEBOOT" >&6; } 24149else 24150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24151$as_echo "no" >&6; } 24152fi 24153 24154 24155if test -z "${CTANGLEBOOT}"; then : 24156 as_fn_error $? "ctangle was not found but is required when cross-compiling. 24157 Install ctangle or set \$CTANGLEBOOT to the full pathname." "$LINENO" 5 24158fi 24159else 24160 CTANGLEBOOT=./ctangleboot 24161fi 24162 24163if test "x$cross_compiling" = xyes; then : 24164 # Extract the first word of "ctangle", so it can be a program name with args. 24165set dummy ctangle; ac_word=$2 24166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24167$as_echo_n "checking for $ac_word... " >&6; } 24168if ${ac_cv_path_CTANGLE+:} false; then : 24169 $as_echo_n "(cached) " >&6 24170else 24171 case $CTANGLE in 24172 [\\/]* | ?:[\\/]*) 24173 ac_cv_path_CTANGLE="$CTANGLE" # Let the user override the test with a path. 24174 ;; 24175 *) 24176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24177for as_dir in $PATH 24178do 24179 IFS=$as_save_IFS 24180 test -z "$as_dir" && as_dir=. 24181 for ac_exec_ext in '' $ac_executable_extensions; do 24182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24183 ac_cv_path_CTANGLE="$as_dir/$ac_word$ac_exec_ext" 24184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24185 break 2 24186 fi 24187done 24188 done 24189IFS=$as_save_IFS 24190 24191 ;; 24192esac 24193fi 24194CTANGLE=$ac_cv_path_CTANGLE 24195if test -n "$CTANGLE"; then 24196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTANGLE" >&5 24197$as_echo "$CTANGLE" >&6; } 24198else 24199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24200$as_echo "no" >&6; } 24201fi 24202 24203 24204if test -z "${CTANGLE}"; then : 24205 as_fn_error $? "ctangle was not found but is required when cross-compiling. 24206 Install ctangle or set \$CTANGLE to the full pathname." "$LINENO" 5 24207fi 24208else 24209 CTANGLE=./ctangle 24210fi 24211 24212if test "x$cross_compiling" = xyes; then : 24213 # Extract the first word of "tie", so it can be a program name with args. 24214set dummy tie; ac_word=$2 24215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24216$as_echo_n "checking for $ac_word... " >&6; } 24217if ${ac_cv_path_TIE+:} false; then : 24218 $as_echo_n "(cached) " >&6 24219else 24220 case $TIE in 24221 [\\/]* | ?:[\\/]*) 24222 ac_cv_path_TIE="$TIE" # Let the user override the test with a path. 24223 ;; 24224 *) 24225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24226for as_dir in $PATH 24227do 24228 IFS=$as_save_IFS 24229 test -z "$as_dir" && as_dir=. 24230 for ac_exec_ext in '' $ac_executable_extensions; do 24231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24232 ac_cv_path_TIE="$as_dir/$ac_word$ac_exec_ext" 24233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24234 break 2 24235 fi 24236done 24237 done 24238IFS=$as_save_IFS 24239 24240 ;; 24241esac 24242fi 24243TIE=$ac_cv_path_TIE 24244if test -n "$TIE"; then 24245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIE" >&5 24246$as_echo "$TIE" >&6; } 24247else 24248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24249$as_echo "no" >&6; } 24250fi 24251 24252 24253if test -z "${TIE}"; then : 24254 as_fn_error $? "tie was not found but is required when cross-compiling. 24255 Install tie or set \$TIE to the full pathname." "$LINENO" 5 24256fi 24257else 24258 TIE=./tie 24259fi 24260 24261if test "x$cross_compiling" = xyes; then : 24262 # Extract the first word of "otangle", so it can be a program name with args. 24263set dummy otangle; ac_word=$2 24264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24265$as_echo_n "checking for $ac_word... " >&6; } 24266if ${ac_cv_path_OTANGLE+:} false; then : 24267 $as_echo_n "(cached) " >&6 24268else 24269 case $OTANGLE in 24270 [\\/]* | ?:[\\/]*) 24271 ac_cv_path_OTANGLE="$OTANGLE" # Let the user override the test with a path. 24272 ;; 24273 *) 24274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24275for as_dir in $PATH 24276do 24277 IFS=$as_save_IFS 24278 test -z "$as_dir" && as_dir=. 24279 for ac_exec_ext in '' $ac_executable_extensions; do 24280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24281 ac_cv_path_OTANGLE="$as_dir/$ac_word$ac_exec_ext" 24282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24283 break 2 24284 fi 24285done 24286 done 24287IFS=$as_save_IFS 24288 24289 ;; 24290esac 24291fi 24292OTANGLE=$ac_cv_path_OTANGLE 24293if test -n "$OTANGLE"; then 24294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTANGLE" >&5 24295$as_echo "$OTANGLE" >&6; } 24296else 24297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24298$as_echo "no" >&6; } 24299fi 24300 24301 24302if test -z "${OTANGLE}"; then : 24303 as_fn_error $? "otangle was not found but is required when cross-compiling. 24304 Install otangle or set \$OTANGLE to the full pathname." "$LINENO" 5 24305fi 24306else 24307 OTANGLE=./otangle 24308fi 24309 24310 24311if test "x$cross_compiling" = xyes; then 24312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your tie supports WEBINPUTS" >&5 24313$as_echo_n "checking if your tie supports WEBINPUTS... " >&6; } 24314 ( WEBINPUTS=$srcdir/tiedir 24315 export WEBINPUTS 24316 $TIE -c tie.outc tie.tie tie.cf1 tie.cf2 tie.cf3 24317 $TIE -m tie.outm tie.tie tie.cf1 tie.cf2 tie.cf3 ) >/dev/null 2>&1 24318 if diff tie.outc $srcdir/tiedir/tie.chf.gen >/dev/null 2>&1 && \ 24319 diff tie.outm $srcdir/tiedir/tie.master.gen >/dev/null 2>&1; then 24320 tool_ok=yes 24321 else 24322 tool_ok=no 24323 fi 24324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_ok" >&5 24325$as_echo "$tool_ok" >&6; } 24326 if test "x$tool_ok" != xyes; then 24327 as_fn_error $? "Sorry, your $TIE is too old and does not support WEBINPUTS" "$LINENO" 5 24328 fi 24329 rm -f tie.outc tie.outm 24330 if test "x$enable_otangle" = xyes; then 24331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your otangle supports WEBINPUTS" >&5 24332$as_echo_n "checking if your otangle supports WEBINPUTS... " >&6; } 24333 ( WEBINPUTS=$srcdir/cftests 24334 export WEBINPUTS 24335 $OTANGLE cftest cftest ) >/dev/null 2>&1 24336 if diff cftest.p $srcdir/cftests/ocftest.p >/dev/null 2>&1; then 24337 tool_ok=yes 24338 else 24339 tool_ok=no 24340 fi 24341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_ok" >&5 24342$as_echo "$tool_ok" >&6; } 24343 if test "x$tool_ok" != xyes; then 24344 as_fn_error $? "Sorry, your $OTANGLE is too old and does not support WEBINPUTS" "$LINENO" 5 24345 fi 24346 rm -f cftest.p 24347 fi 24348fi 24349 24350ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile man/Makefile omegafonts/Makefile otps/Makefile otps/win32/Makefile window/Makefile" 24351 24352ac_config_files="$ac_config_files web2c-sh" 24353 24354ac_config_files="$ac_config_files tangle-sh" 24355 24356ac_config_files="$ac_config_files ctangleboot-sh" 24357 24358ac_config_files="$ac_config_files silent-sh" 24359 24360 24361## texk/web2c/synctexdir/ac/synctex.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ 24362 24363SYNCTEXVERSION=1.17.0 24364 24365 24366SYNCTEX_LT_VERSINFO=18:0:17 24367 24368 24369 if test "x$enable_synctex" != xno; then 24370 SYNCTEX_TRUE= 24371 SYNCTEX_FALSE='#' 24372else 24373 SYNCTEX_TRUE='#' 24374 SYNCTEX_FALSE= 24375fi 24376 24377 24378if test "x$with_system_zlib" = xyes; then : 24379 LTLIBSYNCTEX=libsynctex.la 24380 24381else 24382 LIBSYNCTEX=libsynctex.a 24383 24384fi 24385 24386ac_config_files="$ac_config_files synctexdir/synctex.pc" 24387 24388 24389 24390 24391if test "x$host_alias" != x && test "x$build_alias" = x; then : 24392 as_fn_error $? "when cross-compiling you must specify both --host and --build." "$LINENO" 5 24393fi 24394eval kpse_build_alias=\${build_alias-$build} 24395 24396 24397 24398subdirs="$subdirs web2c" 24399 24400 24401 24402 24403cat >confcache <<\_ACEOF 24404# This file is a shell script that caches the results of configure 24405# tests run on this system so they can be shared between configure 24406# scripts and configure runs, see configure's option --config-cache. 24407# It is not useful on other systems. If it contains results you don't 24408# want to keep, you may remove or edit it. 24409# 24410# config.status only pays attention to the cache file if you give it 24411# the --recheck option to rerun configure. 24412# 24413# `ac_cv_env_foo' variables (set or unset) will be overridden when 24414# loading this file, other *unset* `ac_cv_foo' will be assigned the 24415# following values. 24416 24417_ACEOF 24418 24419# The following way of writing the cache mishandles newlines in values, 24420# but we know of no workaround that is simple, portable, and efficient. 24421# So, we kill variables containing newlines. 24422# Ultrix sh set writes to stderr and can't be redirected directly, 24423# and sets the high bit in the cache file unless we assign to the vars. 24424( 24425 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 24426 eval ac_val=\$$ac_var 24427 case $ac_val in #( 24428 *${as_nl}*) 24429 case $ac_var in #( 24430 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 24431$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 24432 esac 24433 case $ac_var in #( 24434 _ | IFS | as_nl) ;; #( 24435 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 24436 *) { eval $ac_var=; unset $ac_var;} ;; 24437 esac ;; 24438 esac 24439 done 24440 24441 (set) 2>&1 | 24442 case $as_nl`(ac_space=' '; set) 2>&1` in #( 24443 *${as_nl}ac_space=\ *) 24444 # `set' does not quote correctly, so add quotes: double-quote 24445 # substitution turns \\\\ into \\, and sed turns \\ into \. 24446 sed -n \ 24447 "s/'/'\\\\''/g; 24448 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 24449 ;; #( 24450 *) 24451 # `set' quotes correctly as required by POSIX, so do not add quotes. 24452 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 24453 ;; 24454 esac | 24455 sort 24456) | 24457 sed ' 24458 /^ac_cv_env_/b end 24459 t clear 24460 :clear 24461 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 24462 t end 24463 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 24464 :end' >>confcache 24465if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 24466 if test -w "$cache_file"; then 24467 if test "x$cache_file" != "x/dev/null"; then 24468 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 24469$as_echo "$as_me: updating cache $cache_file" >&6;} 24470 if test ! -f "$cache_file" || test -h "$cache_file"; then 24471 cat confcache >"$cache_file" 24472 else 24473 case $cache_file in #( 24474 */* | ?:*) 24475 mv -f confcache "$cache_file"$$ && 24476 mv -f "$cache_file"$$ "$cache_file" ;; #( 24477 *) 24478 mv -f confcache "$cache_file" ;; 24479 esac 24480 fi 24481 fi 24482 else 24483 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 24484$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 24485 fi 24486fi 24487rm -f confcache 24488 24489test "x$prefix" = xNONE && prefix=$ac_default_prefix 24490# Let make expand exec_prefix. 24491test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 24492 24493DEFS=-DHAVE_CONFIG_H 24494 24495ac_libobjs= 24496ac_ltlibobjs= 24497U= 24498for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 24499 # 1. Remove the extension, and $U if already installed. 24500 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 24501 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 24502 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 24503 # will be set to the directory where LIBOBJS objects are built. 24504 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 24505 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 24506done 24507LIBOBJS=$ac_libobjs 24508 24509LTLIBOBJS=$ac_ltlibobjs 24510 24511 24512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 24513$as_echo_n "checking that generated files are newer than configure... " >&6; } 24514 if test -n "$am_sleep_pid"; then 24515 # Hide warnings about reused PIDs. 24516 wait $am_sleep_pid 2>/dev/null 24517 fi 24518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 24519$as_echo "done" >&6; } 24520 if test -n "$EXEEXT"; then 24521 am__EXEEXT_TRUE= 24522 am__EXEEXT_FALSE='#' 24523else 24524 am__EXEEXT_TRUE='#' 24525 am__EXEEXT_FALSE= 24526fi 24527 24528if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 24529 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 24530Usually this means the macro was only invoked conditionally." "$LINENO" 5 24531fi 24532if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 24533 as_fn_error $? "conditional \"AMDEP\" was never defined. 24534Usually this means the macro was only invoked conditionally." "$LINENO" 5 24535fi 24536if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 24537 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 24538Usually this means the macro was only invoked conditionally." "$LINENO" 5 24539fi 24540if test -z "${cross_TRUE}" && test -z "${cross_FALSE}"; then 24541 as_fn_error $? "conditional \"cross\" was never defined. 24542Usually this means the macro was only invoked conditionally." "$LINENO" 5 24543fi 24544if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 24545 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 24546Usually this means the macro was only invoked conditionally." "$LINENO" 5 24547fi 24548if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then 24549 as_fn_error $? "conditional \"am__fastdepOBJCXX\" was never defined. 24550Usually this means the macro was only invoked conditionally." "$LINENO" 5 24551fi 24552if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then 24553 as_fn_error $? "conditional \"WIN32\" was never defined. 24554Usually this means the macro was only invoked conditionally." "$LINENO" 5 24555fi 24556if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then 24557 as_fn_error $? "conditional \"MINGW32\" was never defined. 24558Usually this means the macro was only invoked conditionally." "$LINENO" 5 24559fi 24560if test -z "${WIN32_CALL_TRUE}" && test -z "${WIN32_CALL_FALSE}"; then 24561 as_fn_error $? "conditional \"WIN32_CALL\" was never defined. 24562Usually this means the macro was only invoked conditionally." "$LINENO" 5 24563fi 24564if test -z "${USE_DLOPEN_TRUE}" && test -z "${USE_DLOPEN_FALSE}"; then 24565 as_fn_error $? "conditional \"USE_DLOPEN\" was never defined. 24566Usually this means the macro was only invoked conditionally." "$LINENO" 5 24567fi 24568if test -z "${XETEX_MACOSX_TRUE}" && test -z "${XETEX_MACOSX_FALSE}"; then 24569 as_fn_error $? "conditional \"XETEX_MACOSX\" was never defined. 24570Usually this means the macro was only invoked conditionally." "$LINENO" 5 24571fi 24572if test -z "${TEX_TRUE}" && test -z "${TEX_FALSE}"; then 24573 as_fn_error $? "conditional \"TEX\" was never defined. 24574Usually this means the macro was only invoked conditionally." "$LINENO" 5 24575fi 24576if test -z "${TEX_SYNCTEX_TRUE}" && test -z "${TEX_SYNCTEX_FALSE}"; then 24577 as_fn_error $? "conditional \"TEX_SYNCTEX\" was never defined. 24578Usually this means the macro was only invoked conditionally." "$LINENO" 5 24579fi 24580if test -z "${ETEX_TRUE}" && test -z "${ETEX_FALSE}"; then 24581 as_fn_error $? "conditional \"ETEX\" was never defined. 24582Usually this means the macro was only invoked conditionally." "$LINENO" 5 24583fi 24584if test -z "${ETEX_SYNCTEX_TRUE}" && test -z "${ETEX_SYNCTEX_FALSE}"; then 24585 as_fn_error $? "conditional \"ETEX_SYNCTEX\" was never defined. 24586Usually this means the macro was only invoked conditionally." "$LINENO" 5 24587fi 24588if test -z "${PTEX_TRUE}" && test -z "${PTEX_FALSE}"; then 24589 as_fn_error $? "conditional \"PTEX\" was never defined. 24590Usually this means the macro was only invoked conditionally." "$LINENO" 5 24591fi 24592if test -z "${PTEX_SYNCTEX_TRUE}" && test -z "${PTEX_SYNCTEX_FALSE}"; then 24593 as_fn_error $? "conditional \"PTEX_SYNCTEX\" was never defined. 24594Usually this means the macro was only invoked conditionally." "$LINENO" 5 24595fi 24596if test -z "${EPTEX_TRUE}" && test -z "${EPTEX_FALSE}"; then 24597 as_fn_error $? "conditional \"EPTEX\" was never defined. 24598Usually this means the macro was only invoked conditionally." "$LINENO" 5 24599fi 24600if test -z "${EPTEX_SYNCTEX_TRUE}" && test -z "${EPTEX_SYNCTEX_FALSE}"; then 24601 as_fn_error $? "conditional \"EPTEX_SYNCTEX\" was never defined. 24602Usually this means the macro was only invoked conditionally." "$LINENO" 5 24603fi 24604if test -z "${UPTEX_TRUE}" && test -z "${UPTEX_FALSE}"; then 24605 as_fn_error $? "conditional \"UPTEX\" was never defined. 24606Usually this means the macro was only invoked conditionally." "$LINENO" 5 24607fi 24608if test -z "${UPTEX_SYNCTEX_TRUE}" && test -z "${UPTEX_SYNCTEX_FALSE}"; then 24609 as_fn_error $? "conditional \"UPTEX_SYNCTEX\" was never defined. 24610Usually this means the macro was only invoked conditionally." "$LINENO" 5 24611fi 24612if test -z "${EUPTEX_TRUE}" && test -z "${EUPTEX_FALSE}"; then 24613 as_fn_error $? "conditional \"EUPTEX\" was never defined. 24614Usually this means the macro was only invoked conditionally." "$LINENO" 5 24615fi 24616if test -z "${EUPTEX_SYNCTEX_TRUE}" && test -z "${EUPTEX_SYNCTEX_FALSE}"; then 24617 as_fn_error $? "conditional \"EUPTEX_SYNCTEX\" was never defined. 24618Usually this means the macro was only invoked conditionally." "$LINENO" 5 24619fi 24620if test -z "${ALEPH_TRUE}" && test -z "${ALEPH_FALSE}"; then 24621 as_fn_error $? "conditional \"ALEPH\" was never defined. 24622Usually this means the macro was only invoked conditionally." "$LINENO" 5 24623fi 24624if test -z "${PDFTEX_TRUE}" && test -z "${PDFTEX_FALSE}"; then 24625 as_fn_error $? "conditional \"PDFTEX\" was never defined. 24626Usually this means the macro was only invoked conditionally." "$LINENO" 5 24627fi 24628if test -z "${PDFTEX_SYNCTEX_TRUE}" && test -z "${PDFTEX_SYNCTEX_FALSE}"; then 24629 as_fn_error $? "conditional \"PDFTEX_SYNCTEX\" was never defined. 24630Usually this means the macro was only invoked conditionally." "$LINENO" 5 24631fi 24632if test -z "${LUATEX_TRUE}" && test -z "${LUATEX_FALSE}"; then 24633 as_fn_error $? "conditional \"LUATEX\" was never defined. 24634Usually this means the macro was only invoked conditionally." "$LINENO" 5 24635fi 24636if test -z "${LUAJITTEX_TRUE}" && test -z "${LUAJITTEX_FALSE}"; then 24637 as_fn_error $? "conditional \"LUAJITTEX\" was never defined. 24638Usually this means the macro was only invoked conditionally." "$LINENO" 5 24639fi 24640if test -z "${MP_TRUE}" && test -z "${MP_FALSE}"; then 24641 as_fn_error $? "conditional \"MP\" was never defined. 24642Usually this means the macro was only invoked conditionally." "$LINENO" 5 24643fi 24644if test -z "${PMP_TRUE}" && test -z "${PMP_FALSE}"; then 24645 as_fn_error $? "conditional \"PMP\" was never defined. 24646Usually this means the macro was only invoked conditionally." "$LINENO" 5 24647fi 24648if test -z "${UPMP_TRUE}" && test -z "${UPMP_FALSE}"; then 24649 as_fn_error $? "conditional \"UPMP\" was never defined. 24650Usually this means the macro was only invoked conditionally." "$LINENO" 5 24651fi 24652if test -z "${XETEX_TRUE}" && test -z "${XETEX_FALSE}"; then 24653 as_fn_error $? "conditional \"XETEX\" was never defined. 24654Usually this means the macro was only invoked conditionally." "$LINENO" 5 24655fi 24656if test -z "${XETEX_SYNCTEX_TRUE}" && test -z "${XETEX_SYNCTEX_FALSE}"; then 24657 as_fn_error $? "conditional \"XETEX_SYNCTEX\" was never defined. 24658Usually this means the macro was only invoked conditionally." "$LINENO" 5 24659fi 24660if test -z "${OTANGLE_TRUE}" && test -z "${OTANGLE_FALSE}"; then 24661 as_fn_error $? "conditional \"OTANGLE\" was never defined. 24662Usually this means the macro was only invoked conditionally." "$LINENO" 5 24663fi 24664if test -z "${MF_TRUE}" && test -z "${MF_FALSE}"; then 24665 as_fn_error $? "conditional \"MF\" was never defined. 24666Usually this means the macro was only invoked conditionally." "$LINENO" 5 24667fi 24668if test -z "${MFN_TRUE}" && test -z "${MFN_FALSE}"; then 24669 as_fn_error $? "conditional \"MFN\" was never defined. 24670Usually this means the macro was only invoked conditionally." "$LINENO" 5 24671fi 24672if test -z "${MFXT_TRUE}" && test -z "${MFXT_FALSE}"; then 24673 as_fn_error $? "conditional \"MFXT\" was never defined. 24674Usually this means the macro was only invoked conditionally." "$LINENO" 5 24675fi 24676if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then 24677 as_fn_error $? "conditional \"WEB\" was never defined. 24678Usually this means the macro was only invoked conditionally." "$LINENO" 5 24679fi 24680if test -z "${PWEB_TRUE}" && test -z "${PWEB_FALSE}"; then 24681 as_fn_error $? "conditional \"PWEB\" was never defined. 24682Usually this means the macro was only invoked conditionally." "$LINENO" 5 24683fi 24684if test -z "${UPWEB_TRUE}" && test -z "${UPWEB_FALSE}"; then 24685 as_fn_error $? "conditional \"UPWEB\" was never defined. 24686Usually this means the macro was only invoked conditionally." "$LINENO" 5 24687fi 24688 24689if test -z "${SYNCTEX_TRUE}" && test -z "${SYNCTEX_FALSE}"; then 24690 as_fn_error $? "conditional \"SYNCTEX\" was never defined. 24691Usually this means the macro was only invoked conditionally." "$LINENO" 5 24692fi 24693 24694: "${CONFIG_STATUS=./config.status}" 24695ac_write_fail=0 24696ac_clean_files_save=$ac_clean_files 24697ac_clean_files="$ac_clean_files $CONFIG_STATUS" 24698{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 24699$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 24700as_write_fail=0 24701cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 24702#! $SHELL 24703# Generated by $as_me. 24704# Run this file to recreate the current configuration. 24705# Compiler output produced by configure, useful for debugging 24706# configure, is in config.log if it exists. 24707 24708debug=false 24709ac_cs_recheck=false 24710ac_cs_silent=false 24711 24712SHELL=\${CONFIG_SHELL-$SHELL} 24713export SHELL 24714_ASEOF 24715cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 24716## -------------------- ## 24717## M4sh Initialization. ## 24718## -------------------- ## 24719 24720# Be more Bourne compatible 24721DUALCASE=1; export DUALCASE # for MKS sh 24722if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 24723 emulate sh 24724 NULLCMD=: 24725 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 24726 # is contrary to our usage. Disable this feature. 24727 alias -g '${1+"$@"}'='"$@"' 24728 setopt NO_GLOB_SUBST 24729else 24730 case `(set -o) 2>/dev/null` in #( 24731 *posix*) : 24732 set -o posix ;; #( 24733 *) : 24734 ;; 24735esac 24736fi 24737 24738 24739as_nl=' 24740' 24741export as_nl 24742# Printing a long string crashes Solaris 7 /usr/bin/printf. 24743as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 24744as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 24745as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 24746# Prefer a ksh shell builtin over an external printf program on Solaris, 24747# but without wasting forks for bash or zsh. 24748if test -z "$BASH_VERSION$ZSH_VERSION" \ 24749 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 24750 as_echo='print -r --' 24751 as_echo_n='print -rn --' 24752elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 24753 as_echo='printf %s\n' 24754 as_echo_n='printf %s' 24755else 24756 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 24757 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 24758 as_echo_n='/usr/ucb/echo -n' 24759 else 24760 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 24761 as_echo_n_body='eval 24762 arg=$1; 24763 case $arg in #( 24764 *"$as_nl"*) 24765 expr "X$arg" : "X\\(.*\\)$as_nl"; 24766 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 24767 esac; 24768 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 24769 ' 24770 export as_echo_n_body 24771 as_echo_n='sh -c $as_echo_n_body as_echo' 24772 fi 24773 export as_echo_body 24774 as_echo='sh -c $as_echo_body as_echo' 24775fi 24776 24777# The user is always right. 24778if test "${PATH_SEPARATOR+set}" != set; then 24779 PATH_SEPARATOR=: 24780 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 24781 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 24782 PATH_SEPARATOR=';' 24783 } 24784fi 24785 24786 24787# IFS 24788# We need space, tab and new line, in precisely that order. Quoting is 24789# there to prevent editors from complaining about space-tab. 24790# (If _AS_PATH_WALK were called with IFS unset, it would disable word 24791# splitting by setting IFS to empty value.) 24792IFS=" "" $as_nl" 24793 24794# Find who we are. Look in the path if we contain no directory separator. 24795as_myself= 24796case $0 in #(( 24797 *[\\/]* ) as_myself=$0 ;; 24798 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24799for as_dir in $PATH 24800do 24801 IFS=$as_save_IFS 24802 test -z "$as_dir" && as_dir=. 24803 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 24804 done 24805IFS=$as_save_IFS 24806 24807 ;; 24808esac 24809# We did not find ourselves, most probably we were run as `sh COMMAND' 24810# in which case we are not to be found in the path. 24811if test "x$as_myself" = x; then 24812 as_myself=$0 24813fi 24814if test ! -f "$as_myself"; then 24815 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 24816 exit 1 24817fi 24818 24819# Unset variables that we do not need and which cause bugs (e.g. in 24820# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 24821# suppresses any "Segmentation fault" message there. '((' could 24822# trigger a bug in pdksh 5.2.14. 24823for as_var in BASH_ENV ENV MAIL MAILPATH 24824do eval test x\${$as_var+set} = xset \ 24825 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 24826done 24827PS1='$ ' 24828PS2='> ' 24829PS4='+ ' 24830 24831# NLS nuisances. 24832LC_ALL=C 24833export LC_ALL 24834LANGUAGE=C 24835export LANGUAGE 24836 24837# CDPATH. 24838(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 24839 24840 24841# as_fn_error STATUS ERROR [LINENO LOG_FD] 24842# ---------------------------------------- 24843# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 24844# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 24845# script with STATUS, using 1 if that was 0. 24846as_fn_error () 24847{ 24848 as_status=$1; test $as_status -eq 0 && as_status=1 24849 if test "$4"; then 24850 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 24851 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 24852 fi 24853 $as_echo "$as_me: error: $2" >&2 24854 as_fn_exit $as_status 24855} # as_fn_error 24856 24857 24858# as_fn_set_status STATUS 24859# ----------------------- 24860# Set $? to STATUS, without forking. 24861as_fn_set_status () 24862{ 24863 return $1 24864} # as_fn_set_status 24865 24866# as_fn_exit STATUS 24867# ----------------- 24868# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 24869as_fn_exit () 24870{ 24871 set +e 24872 as_fn_set_status $1 24873 exit $1 24874} # as_fn_exit 24875 24876# as_fn_unset VAR 24877# --------------- 24878# Portably unset VAR. 24879as_fn_unset () 24880{ 24881 { eval $1=; unset $1;} 24882} 24883as_unset=as_fn_unset 24884# as_fn_append VAR VALUE 24885# ---------------------- 24886# Append the text in VALUE to the end of the definition contained in VAR. Take 24887# advantage of any shell optimizations that allow amortized linear growth over 24888# repeated appends, instead of the typical quadratic growth present in naive 24889# implementations. 24890if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 24891 eval 'as_fn_append () 24892 { 24893 eval $1+=\$2 24894 }' 24895else 24896 as_fn_append () 24897 { 24898 eval $1=\$$1\$2 24899 } 24900fi # as_fn_append 24901 24902# as_fn_arith ARG... 24903# ------------------ 24904# Perform arithmetic evaluation on the ARGs, and store the result in the 24905# global $as_val. Take advantage of shells that can avoid forks. The arguments 24906# must be portable across $(()) and expr. 24907if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 24908 eval 'as_fn_arith () 24909 { 24910 as_val=$(( $* )) 24911 }' 24912else 24913 as_fn_arith () 24914 { 24915 as_val=`expr "$@" || test $? -eq 1` 24916 } 24917fi # as_fn_arith 24918 24919 24920if expr a : '\(a\)' >/dev/null 2>&1 && 24921 test "X`expr 00001 : '.*\(...\)'`" = X001; then 24922 as_expr=expr 24923else 24924 as_expr=false 24925fi 24926 24927if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 24928 as_basename=basename 24929else 24930 as_basename=false 24931fi 24932 24933if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 24934 as_dirname=dirname 24935else 24936 as_dirname=false 24937fi 24938 24939as_me=`$as_basename -- "$0" || 24940$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 24941 X"$0" : 'X\(//\)$' \| \ 24942 X"$0" : 'X\(/\)' \| . 2>/dev/null || 24943$as_echo X/"$0" | 24944 sed '/^.*\/\([^/][^/]*\)\/*$/{ 24945 s//\1/ 24946 q 24947 } 24948 /^X\/\(\/\/\)$/{ 24949 s//\1/ 24950 q 24951 } 24952 /^X\/\(\/\).*/{ 24953 s//\1/ 24954 q 24955 } 24956 s/.*/./; q'` 24957 24958# Avoid depending upon Character Ranges. 24959as_cr_letters='abcdefghijklmnopqrstuvwxyz' 24960as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 24961as_cr_Letters=$as_cr_letters$as_cr_LETTERS 24962as_cr_digits='0123456789' 24963as_cr_alnum=$as_cr_Letters$as_cr_digits 24964 24965ECHO_C= ECHO_N= ECHO_T= 24966case `echo -n x` in #((((( 24967-n*) 24968 case `echo 'xy\c'` in 24969 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 24970 xy) ECHO_C='\c';; 24971 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 24972 ECHO_T=' ';; 24973 esac;; 24974*) 24975 ECHO_N='-n';; 24976esac 24977 24978rm -f conf$$ conf$$.exe conf$$.file 24979if test -d conf$$.dir; then 24980 rm -f conf$$.dir/conf$$.file 24981else 24982 rm -f conf$$.dir 24983 mkdir conf$$.dir 2>/dev/null 24984fi 24985if (echo >conf$$.file) 2>/dev/null; then 24986 if ln -s conf$$.file conf$$ 2>/dev/null; then 24987 as_ln_s='ln -s' 24988 # ... but there are two gotchas: 24989 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 24990 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 24991 # In both cases, we have to default to `cp -pR'. 24992 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 24993 as_ln_s='cp -pR' 24994 elif ln conf$$.file conf$$ 2>/dev/null; then 24995 as_ln_s=ln 24996 else 24997 as_ln_s='cp -pR' 24998 fi 24999else 25000 as_ln_s='cp -pR' 25001fi 25002rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 25003rmdir conf$$.dir 2>/dev/null 25004 25005 25006# as_fn_mkdir_p 25007# ------------- 25008# Create "$as_dir" as a directory, including parents if necessary. 25009as_fn_mkdir_p () 25010{ 25011 25012 case $as_dir in #( 25013 -*) as_dir=./$as_dir;; 25014 esac 25015 test -d "$as_dir" || eval $as_mkdir_p || { 25016 as_dirs= 25017 while :; do 25018 case $as_dir in #( 25019 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 25020 *) as_qdir=$as_dir;; 25021 esac 25022 as_dirs="'$as_qdir' $as_dirs" 25023 as_dir=`$as_dirname -- "$as_dir" || 25024$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 25025 X"$as_dir" : 'X\(//\)[^/]' \| \ 25026 X"$as_dir" : 'X\(//\)$' \| \ 25027 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 25028$as_echo X"$as_dir" | 25029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 25030 s//\1/ 25031 q 25032 } 25033 /^X\(\/\/\)[^/].*/{ 25034 s//\1/ 25035 q 25036 } 25037 /^X\(\/\/\)$/{ 25038 s//\1/ 25039 q 25040 } 25041 /^X\(\/\).*/{ 25042 s//\1/ 25043 q 25044 } 25045 s/.*/./; q'` 25046 test -d "$as_dir" && break 25047 done 25048 test -z "$as_dirs" || eval "mkdir $as_dirs" 25049 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 25050 25051 25052} # as_fn_mkdir_p 25053if mkdir -p . 2>/dev/null; then 25054 as_mkdir_p='mkdir -p "$as_dir"' 25055else 25056 test -d ./-p && rmdir ./-p 25057 as_mkdir_p=false 25058fi 25059 25060 25061# as_fn_executable_p FILE 25062# ----------------------- 25063# Test if FILE is an executable regular file. 25064as_fn_executable_p () 25065{ 25066 test -f "$1" && test -x "$1" 25067} # as_fn_executable_p 25068as_test_x='test -x' 25069as_executable_p=as_fn_executable_p 25070 25071# Sed expression to map a string onto a valid CPP name. 25072as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 25073 25074# Sed expression to map a string onto a valid variable name. 25075as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 25076 25077 25078exec 6>&1 25079## ----------------------------------- ## 25080## Main body of $CONFIG_STATUS script. ## 25081## ----------------------------------- ## 25082_ASEOF 25083test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 25084 25085cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25086# Save the log message, to keep $0 and so on meaningful, and to 25087# report actual input values of CONFIG_FILES etc. instead of their 25088# values after options handling. 25089ac_log=" 25090This file was extended by Web2C $as_me 2015, which was 25091generated by GNU Autoconf 2.69. Invocation command line was 25092 25093 CONFIG_FILES = $CONFIG_FILES 25094 CONFIG_HEADERS = $CONFIG_HEADERS 25095 CONFIG_LINKS = $CONFIG_LINKS 25096 CONFIG_COMMANDS = $CONFIG_COMMANDS 25097 $ $0 $@ 25098 25099on `(hostname || uname -n) 2>/dev/null | sed 1q` 25100" 25101 25102_ACEOF 25103 25104case $ac_config_files in *" 25105"*) set x $ac_config_files; shift; ac_config_files=$*;; 25106esac 25107 25108case $ac_config_headers in *" 25109"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 25110esac 25111 25112 25113cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25114# Files that config.status was made for. 25115config_files="$ac_config_files" 25116config_headers="$ac_config_headers" 25117config_links="$ac_config_links" 25118config_commands="$ac_config_commands" 25119 25120_ACEOF 25121 25122cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25123ac_cs_usage="\ 25124\`$as_me' instantiates files and other configuration actions 25125from templates according to the current configuration. Unless the files 25126and actions are specified as TAGs, all are instantiated by default. 25127 25128Usage: $0 [OPTION]... [TAG]... 25129 25130 -h, --help print this help, then exit 25131 -V, --version print version number and configuration settings, then exit 25132 --config print configuration, then exit 25133 -q, --quiet, --silent 25134 do not print progress messages 25135 -d, --debug don't remove temporary files 25136 --recheck update $as_me by reconfiguring in the same conditions 25137 --file=FILE[:TEMPLATE] 25138 instantiate the configuration file FILE 25139 --header=FILE[:TEMPLATE] 25140 instantiate the configuration header FILE 25141 25142Configuration files: 25143$config_files 25144 25145Configuration headers: 25146$config_headers 25147 25148Configuration links: 25149$config_links 25150 25151Configuration commands: 25152$config_commands 25153 25154Report bugs to <tex-k@tug.org>." 25155 25156_ACEOF 25157cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25158ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 25159ac_cs_version="\\ 25160Web2C config.status 2015 25161configured by $0, generated by GNU Autoconf 2.69, 25162 with options \\"\$ac_cs_config\\" 25163 25164Copyright (C) 2012 Free Software Foundation, Inc. 25165This config.status script is free software; the Free Software Foundation 25166gives unlimited permission to copy, distribute and modify it." 25167 25168ac_pwd='$ac_pwd' 25169srcdir='$srcdir' 25170INSTALL='$INSTALL' 25171MKDIR_P='$MKDIR_P' 25172AWK='$AWK' 25173test -n "\$AWK" || AWK=awk 25174_ACEOF 25175 25176cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25177# The default lists apply if the user does not specify any file. 25178ac_need_defaults=: 25179while test $# != 0 25180do 25181 case $1 in 25182 --*=?*) 25183 ac_option=`expr "X$1" : 'X\([^=]*\)='` 25184 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 25185 ac_shift=: 25186 ;; 25187 --*=) 25188 ac_option=`expr "X$1" : 'X\([^=]*\)='` 25189 ac_optarg= 25190 ac_shift=: 25191 ;; 25192 *) 25193 ac_option=$1 25194 ac_optarg=$2 25195 ac_shift=shift 25196 ;; 25197 esac 25198 25199 case $ac_option in 25200 # Handling of the options. 25201 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 25202 ac_cs_recheck=: ;; 25203 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 25204 $as_echo "$ac_cs_version"; exit ;; 25205 --config | --confi | --conf | --con | --co | --c ) 25206 $as_echo "$ac_cs_config"; exit ;; 25207 --debug | --debu | --deb | --de | --d | -d ) 25208 debug=: ;; 25209 --file | --fil | --fi | --f ) 25210 $ac_shift 25211 case $ac_optarg in 25212 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 25213 '') as_fn_error $? "missing file argument" ;; 25214 esac 25215 as_fn_append CONFIG_FILES " '$ac_optarg'" 25216 ac_need_defaults=false;; 25217 --header | --heade | --head | --hea ) 25218 $ac_shift 25219 case $ac_optarg in 25220 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 25221 esac 25222 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 25223 ac_need_defaults=false;; 25224 --he | --h) 25225 # Conflict between --help and --header 25226 as_fn_error $? "ambiguous option: \`$1' 25227Try \`$0 --help' for more information.";; 25228 --help | --hel | -h ) 25229 $as_echo "$ac_cs_usage"; exit ;; 25230 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 25231 | -silent | --silent | --silen | --sile | --sil | --si | --s) 25232 ac_cs_silent=: ;; 25233 25234 # This is an error. 25235 -*) as_fn_error $? "unrecognized option: \`$1' 25236Try \`$0 --help' for more information." ;; 25237 25238 *) as_fn_append ac_config_targets " $1" 25239 ac_need_defaults=false ;; 25240 25241 esac 25242 shift 25243done 25244 25245ac_configure_extra_args= 25246 25247if $ac_cs_silent; then 25248 exec 6>/dev/null 25249 ac_configure_extra_args="$ac_configure_extra_args --silent" 25250fi 25251 25252_ACEOF 25253cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25254if \$ac_cs_recheck; then 25255 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 25256 shift 25257 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 25258 CONFIG_SHELL='$SHELL' 25259 export CONFIG_SHELL 25260 exec "\$@" 25261fi 25262 25263_ACEOF 25264cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25265exec 5>>config.log 25266{ 25267 echo 25268 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 25269## Running $as_me. ## 25270_ASBOX 25271 $as_echo "$ac_log" 25272} >&5 25273 25274_ACEOF 25275cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25276# 25277# INIT-COMMANDS 25278# 25279AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 25280 25281 25282# The HP-UX ksh and POSIX shell print the target directory to stdout 25283# if CDPATH is set. 25284(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 25285 25286sed_quote_subst='$sed_quote_subst' 25287double_quote_subst='$double_quote_subst' 25288delay_variable_subst='$delay_variable_subst' 25289macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 25290macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 25291AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 25292DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 25293OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 25294enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 25295enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 25296pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 25297enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 25298shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 25299SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 25300ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 25301PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 25302host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 25303host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 25304host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 25305build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 25306build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 25307build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 25308SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 25309Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 25310GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 25311EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 25312FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 25313LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 25314NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 25315LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 25316max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 25317ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 25318exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 25319lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 25320lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 25321lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 25322lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 25323lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 25324reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 25325reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 25326deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 25327file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 25328file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 25329want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 25330sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 25331AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 25332AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 25333archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 25334STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 25335RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 25336old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 25337old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 25338old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 25339lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 25340CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 25341CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 25342compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 25343GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 25344lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 25345lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 25346lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 25347lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 25348lt_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"`' 25349lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 25350nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 25351lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 25352lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 25353objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 25354MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 25355lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 25356lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 25357lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 25358lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 25359lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 25360need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 25361MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 25362DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 25363NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 25364LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 25365OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 25366OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 25367libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 25368shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 25369extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 25370archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 25371enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 25372export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 25373whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 25374compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 25375old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 25376old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 25377archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 25378archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 25379module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 25380module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 25381with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 25382allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 25383no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 25384hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 25385hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 25386hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 25387hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 25388hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 25389hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 25390hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 25391inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 25392link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 25393always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 25394export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 25395exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 25396include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 25397prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 25398postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 25399file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 25400variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 25401need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 25402need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 25403version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 25404runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 25405shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 25406shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 25407libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 25408library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 25409soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 25410install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 25411postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 25412postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 25413finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 25414finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 25415hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 25416sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 25417configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 25418configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 25419hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 25420enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 25421enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 25422enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 25423old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 25424striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 25425compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 25426predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 25427postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 25428predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 25429postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 25430compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 25431LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 25432reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 25433reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25434old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25435compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 25436GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 25437lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 25438lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 25439lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 25440lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 25441lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 25442archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 25443enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 25444export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 25445whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 25446compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 25447old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25448old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25449archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25450archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25451module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25452module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25453with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 25454allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 25455no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 25456hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 25457hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 25458hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 25459hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 25460hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 25461hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 25462hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 25463inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 25464link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 25465always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 25466export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25467exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 25468include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 25469prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25470postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 25471file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 25472hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 25473compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 25474predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 25475postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 25476predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 25477postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 25478compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 25479 25480LTCC='$LTCC' 25481LTCFLAGS='$LTCFLAGS' 25482compiler='$compiler_DEFAULT' 25483 25484# A function that is used when there is no print builtin or printf. 25485func_fallback_echo () 25486{ 25487 eval 'cat <<_LTECHO_EOF 25488\$1 25489_LTECHO_EOF' 25490} 25491 25492# Quote evaled strings. 25493for var in AS \ 25494DLLTOOL \ 25495OBJDUMP \ 25496SHELL \ 25497ECHO \ 25498PATH_SEPARATOR \ 25499SED \ 25500GREP \ 25501EGREP \ 25502FGREP \ 25503LD \ 25504NM \ 25505LN_S \ 25506lt_SP2NL \ 25507lt_NL2SP \ 25508reload_flag \ 25509deplibs_check_method \ 25510file_magic_cmd \ 25511file_magic_glob \ 25512want_nocaseglob \ 25513sharedlib_from_linklib_cmd \ 25514AR \ 25515AR_FLAGS \ 25516archiver_list_spec \ 25517STRIP \ 25518RANLIB \ 25519CC \ 25520CFLAGS \ 25521compiler \ 25522lt_cv_sys_global_symbol_pipe \ 25523lt_cv_sys_global_symbol_to_cdecl \ 25524lt_cv_sys_global_symbol_to_import \ 25525lt_cv_sys_global_symbol_to_c_name_address \ 25526lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 25527lt_cv_nm_interface \ 25528nm_file_list_spec \ 25529lt_cv_truncate_bin \ 25530lt_prog_compiler_no_builtin_flag \ 25531lt_prog_compiler_pic \ 25532lt_prog_compiler_wl \ 25533lt_prog_compiler_static \ 25534lt_cv_prog_compiler_c_o \ 25535need_locks \ 25536MANIFEST_TOOL \ 25537DSYMUTIL \ 25538NMEDIT \ 25539LIPO \ 25540OTOOL \ 25541OTOOL64 \ 25542shrext_cmds \ 25543export_dynamic_flag_spec \ 25544whole_archive_flag_spec \ 25545compiler_needs_object \ 25546with_gnu_ld \ 25547allow_undefined_flag \ 25548no_undefined_flag \ 25549hardcode_libdir_flag_spec \ 25550hardcode_libdir_separator \ 25551exclude_expsyms \ 25552include_expsyms \ 25553file_list_spec \ 25554variables_saved_for_relink \ 25555libname_spec \ 25556library_names_spec \ 25557soname_spec \ 25558install_override_mode \ 25559finish_eval \ 25560old_striplib \ 25561striplib \ 25562compiler_lib_search_dirs \ 25563predep_objects \ 25564postdep_objects \ 25565predeps \ 25566postdeps \ 25567compiler_lib_search_path \ 25568LD_CXX \ 25569reload_flag_CXX \ 25570compiler_CXX \ 25571lt_prog_compiler_no_builtin_flag_CXX \ 25572lt_prog_compiler_pic_CXX \ 25573lt_prog_compiler_wl_CXX \ 25574lt_prog_compiler_static_CXX \ 25575lt_cv_prog_compiler_c_o_CXX \ 25576export_dynamic_flag_spec_CXX \ 25577whole_archive_flag_spec_CXX \ 25578compiler_needs_object_CXX \ 25579with_gnu_ld_CXX \ 25580allow_undefined_flag_CXX \ 25581no_undefined_flag_CXX \ 25582hardcode_libdir_flag_spec_CXX \ 25583hardcode_libdir_separator_CXX \ 25584exclude_expsyms_CXX \ 25585include_expsyms_CXX \ 25586file_list_spec_CXX \ 25587compiler_lib_search_dirs_CXX \ 25588predep_objects_CXX \ 25589postdep_objects_CXX \ 25590predeps_CXX \ 25591postdeps_CXX \ 25592compiler_lib_search_path_CXX; do 25593 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 25594 *[\\\\\\\`\\"\\\$]*) 25595 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 25596 ;; 25597 *) 25598 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 25599 ;; 25600 esac 25601done 25602 25603# Double-quote double-evaled strings. 25604for var in reload_cmds \ 25605old_postinstall_cmds \ 25606old_postuninstall_cmds \ 25607old_archive_cmds \ 25608extract_expsyms_cmds \ 25609old_archive_from_new_cmds \ 25610old_archive_from_expsyms_cmds \ 25611archive_cmds \ 25612archive_expsym_cmds \ 25613module_cmds \ 25614module_expsym_cmds \ 25615export_symbols_cmds \ 25616prelink_cmds \ 25617postlink_cmds \ 25618postinstall_cmds \ 25619postuninstall_cmds \ 25620finish_cmds \ 25621sys_lib_search_path_spec \ 25622configure_time_dlsearch_path \ 25623configure_time_lt_sys_library_path \ 25624reload_cmds_CXX \ 25625old_archive_cmds_CXX \ 25626old_archive_from_new_cmds_CXX \ 25627old_archive_from_expsyms_cmds_CXX \ 25628archive_cmds_CXX \ 25629archive_expsym_cmds_CXX \ 25630module_cmds_CXX \ 25631module_expsym_cmds_CXX \ 25632export_symbols_cmds_CXX \ 25633prelink_cmds_CXX \ 25634postlink_cmds_CXX; do 25635 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 25636 *[\\\\\\\`\\"\\\$]*) 25637 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 25638 ;; 25639 *) 25640 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 25641 ;; 25642 esac 25643done 25644 25645ac_aux_dir='$ac_aux_dir' 25646 25647# See if we are running on zsh, and set the options that allow our 25648# commands through without removal of \ escapes INIT. 25649if test -n "\${ZSH_VERSION+set}"; then 25650 setopt NO_GLOB_SUBST 25651fi 25652 25653 25654 PACKAGE='$PACKAGE' 25655 VERSION='$VERSION' 25656 RM='$RM' 25657 ofile='$ofile' 25658 25659 25660 25661enable_libtool_hack='$enable_libtool_hack' 25662ac_aux_dir='$ac_aux_dir' 25663 25664 25665cxxld_sh='$cxxld_sh' 25666 25667_ACEOF 25668 25669cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25670 25671# Handling of arguments. 25672for ac_config_target in $ac_config_targets 25673do 25674 case $ac_config_target in 25675 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 25676 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 25677 "CXXLD.sh") CONFIG_COMMANDS="$CONFIG_COMMANDS CXXLD.sh" ;; 25678 "callexe.c") CONFIG_LINKS="$CONFIG_LINKS callexe.c:../texlive/w32_wrapper/callexe.c" ;; 25679 "w2c/c-auto.h") CONFIG_HEADERS="$CONFIG_HEADERS w2c/c-auto.h:c-auto.in" ;; 25680 "ff-config.h") CONFIG_HEADERS="$CONFIG_HEADERS ff-config.h:luatexdir/luafontloader/ff-config.in" ;; 25681 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 25682 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 25683 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 25684 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 25685 "omegafonts/Makefile") CONFIG_FILES="$CONFIG_FILES omegafonts/Makefile" ;; 25686 "otps/Makefile") CONFIG_FILES="$CONFIG_FILES otps/Makefile" ;; 25687 "otps/win32/Makefile") CONFIG_FILES="$CONFIG_FILES otps/win32/Makefile" ;; 25688 "window/Makefile") CONFIG_FILES="$CONFIG_FILES window/Makefile" ;; 25689 "web2c-sh") CONFIG_FILES="$CONFIG_FILES web2c-sh" ;; 25690 "tangle-sh") CONFIG_FILES="$CONFIG_FILES tangle-sh" ;; 25691 "ctangleboot-sh") CONFIG_FILES="$CONFIG_FILES ctangleboot-sh" ;; 25692 "silent-sh") CONFIG_FILES="$CONFIG_FILES silent-sh" ;; 25693 "synctexdir/synctex.pc") CONFIG_FILES="$CONFIG_FILES synctexdir/synctex.pc" ;; 25694 25695 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 25696 esac 25697done 25698 25699 25700# If the user did not use the arguments to specify the items to instantiate, 25701# then the envvar interface is used. Set only those that are not. 25702# We use the long form for the default assignment because of an extremely 25703# bizarre bug on SunOS 4.1.3. 25704if $ac_need_defaults; then 25705 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 25706 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 25707 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links 25708 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 25709fi 25710 25711# Have a temporary directory for convenience. Make it in the build tree 25712# simply because there is no reason against having it here, and in addition, 25713# creating and moving files from /tmp can sometimes cause problems. 25714# Hook for its removal unless debugging. 25715# Note that there is a small window in which the directory will not be cleaned: 25716# after its creation but before its name has been assigned to `$tmp'. 25717$debug || 25718{ 25719 tmp= ac_tmp= 25720 trap 'exit_status=$? 25721 : "${ac_tmp:=$tmp}" 25722 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 25723' 0 25724 trap 'as_fn_exit 1' 1 2 13 15 25725} 25726# Create a (secure) tmp directory for tmp files. 25727 25728{ 25729 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 25730 test -d "$tmp" 25731} || 25732{ 25733 tmp=./conf$$-$RANDOM 25734 (umask 077 && mkdir "$tmp") 25735} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 25736ac_tmp=$tmp 25737 25738# Set up the scripts for CONFIG_FILES section. 25739# No need to generate them if there are no CONFIG_FILES. 25740# This happens for instance with `./config.status config.h'. 25741if test -n "$CONFIG_FILES"; then 25742 25743 25744ac_cr=`echo X | tr X '\015'` 25745# On cygwin, bash can eat \r inside `` if the user requested igncr. 25746# But we know of no other shell where ac_cr would be empty at this 25747# point, so we can use a bashism as a fallback. 25748if test "x$ac_cr" = x; then 25749 eval ac_cr=\$\'\\r\' 25750fi 25751ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 25752if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 25753 ac_cs_awk_cr='\\r' 25754else 25755 ac_cs_awk_cr=$ac_cr 25756fi 25757 25758echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 25759_ACEOF 25760 25761 25762{ 25763 echo "cat >conf$$subs.awk <<_ACEOF" && 25764 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 25765 echo "_ACEOF" 25766} >conf$$subs.sh || 25767 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 25768ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 25769ac_delim='%!_!# ' 25770for ac_last_try in false false false false false :; do 25771 . ./conf$$subs.sh || 25772 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 25773 25774 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 25775 if test $ac_delim_n = $ac_delim_num; then 25776 break 25777 elif $ac_last_try; then 25778 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 25779 else 25780 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 25781 fi 25782done 25783rm -f conf$$subs.sh 25784 25785cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25786cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 25787_ACEOF 25788sed -n ' 25789h 25790s/^/S["/; s/!.*/"]=/ 25791p 25792g 25793s/^[^!]*!// 25794:repl 25795t repl 25796s/'"$ac_delim"'$// 25797t delim 25798:nl 25799h 25800s/\(.\{148\}\)..*/\1/ 25801t more1 25802s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 25803p 25804n 25805b repl 25806:more1 25807s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 25808p 25809g 25810s/.\{148\}// 25811t nl 25812:delim 25813h 25814s/\(.\{148\}\)..*/\1/ 25815t more2 25816s/["\\]/\\&/g; s/^/"/; s/$/"/ 25817p 25818b 25819:more2 25820s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 25821p 25822g 25823s/.\{148\}// 25824t delim 25825' <conf$$subs.awk | sed ' 25826/^[^""]/{ 25827 N 25828 s/\n// 25829} 25830' >>$CONFIG_STATUS || ac_write_fail=1 25831rm -f conf$$subs.awk 25832cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25833_ACAWK 25834cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 25835 for (key in S) S_is_set[key] = 1 25836 FS = "" 25837 25838} 25839{ 25840 line = $ 0 25841 nfields = split(line, field, "@") 25842 substed = 0 25843 len = length(field[1]) 25844 for (i = 2; i < nfields; i++) { 25845 key = field[i] 25846 keylen = length(key) 25847 if (S_is_set[key]) { 25848 value = S[key] 25849 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 25850 len += length(value) + length(field[++i]) 25851 substed = 1 25852 } else 25853 len += 1 + keylen 25854 } 25855 25856 print line 25857} 25858 25859_ACAWK 25860_ACEOF 25861cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25862if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 25863 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 25864else 25865 cat 25866fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 25867 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 25868_ACEOF 25869 25870# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 25871# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 25872# trailing colons and then remove the whole line if VPATH becomes empty 25873# (actually we leave an empty line to preserve line numbers). 25874if test "x$srcdir" = x.; then 25875 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 25876h 25877s/// 25878s/^/:/ 25879s/[ ]*$/:/ 25880s/:\$(srcdir):/:/g 25881s/:\${srcdir}:/:/g 25882s/:@srcdir@:/:/g 25883s/^:*// 25884s/:*$// 25885x 25886s/\(=[ ]*\).*/\1/ 25887G 25888s/\n// 25889s/^[^=]*=[ ]*$// 25890}' 25891fi 25892 25893cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25894fi # test -n "$CONFIG_FILES" 25895 25896# Set up the scripts for CONFIG_HEADERS section. 25897# No need to generate them if there are no CONFIG_HEADERS. 25898# This happens for instance with `./config.status Makefile'. 25899if test -n "$CONFIG_HEADERS"; then 25900cat >"$ac_tmp/defines.awk" <<\_ACAWK || 25901BEGIN { 25902_ACEOF 25903 25904# Transform confdefs.h into an awk script `defines.awk', embedded as 25905# here-document in config.status, that substitutes the proper values into 25906# config.h.in to produce config.h. 25907 25908# Create a delimiter string that does not exist in confdefs.h, to ease 25909# handling of long lines. 25910ac_delim='%!_!# ' 25911for ac_last_try in false false :; do 25912 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 25913 if test -z "$ac_tt"; then 25914 break 25915 elif $ac_last_try; then 25916 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 25917 else 25918 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 25919 fi 25920done 25921 25922# For the awk script, D is an array of macro values keyed by name, 25923# likewise P contains macro parameters if any. Preserve backslash 25924# newline sequences. 25925 25926ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 25927sed -n ' 25928s/.\{148\}/&'"$ac_delim"'/g 25929t rset 25930:rset 25931s/^[ ]*#[ ]*define[ ][ ]*/ / 25932t def 25933d 25934:def 25935s/\\$// 25936t bsnl 25937s/["\\]/\\&/g 25938s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 25939D["\1"]=" \3"/p 25940s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 25941d 25942:bsnl 25943s/["\\]/\\&/g 25944s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 25945D["\1"]=" \3\\\\\\n"\\/p 25946t cont 25947s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 25948t cont 25949d 25950:cont 25951n 25952s/.\{148\}/&'"$ac_delim"'/g 25953t clear 25954:clear 25955s/\\$// 25956t bsnlc 25957s/["\\]/\\&/g; s/^/"/; s/$/"/p 25958d 25959:bsnlc 25960s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 25961b cont 25962' <confdefs.h | sed ' 25963s/'"$ac_delim"'/"\\\ 25964"/g' >>$CONFIG_STATUS || ac_write_fail=1 25965 25966cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25967 for (key in D) D_is_set[key] = 1 25968 FS = "" 25969} 25970/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 25971 line = \$ 0 25972 split(line, arg, " ") 25973 if (arg[1] == "#") { 25974 defundef = arg[2] 25975 mac1 = arg[3] 25976 } else { 25977 defundef = substr(arg[1], 2) 25978 mac1 = arg[2] 25979 } 25980 split(mac1, mac2, "(") #) 25981 macro = mac2[1] 25982 prefix = substr(line, 1, index(line, defundef) - 1) 25983 if (D_is_set[macro]) { 25984 # Preserve the white space surrounding the "#". 25985 print prefix "define", macro P[macro] D[macro] 25986 next 25987 } else { 25988 # Replace #undef with comments. This is necessary, for example, 25989 # in the case of _POSIX_SOURCE, which is predefined and required 25990 # on some systems where configure will not decide to define it. 25991 if (defundef == "undef") { 25992 print "/*", prefix defundef, macro, "*/" 25993 next 25994 } 25995 } 25996} 25997{ print } 25998_ACAWK 25999_ACEOF 26000cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26001 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 26002fi # test -n "$CONFIG_HEADERS" 26003 26004 26005eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" 26006shift 26007for ac_tag 26008do 26009 case $ac_tag in 26010 :[FHLC]) ac_mode=$ac_tag; continue;; 26011 esac 26012 case $ac_mode$ac_tag in 26013 :[FHL]*:*);; 26014 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 26015 :[FH]-) ac_tag=-:-;; 26016 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 26017 esac 26018 ac_save_IFS=$IFS 26019 IFS=: 26020 set x $ac_tag 26021 IFS=$ac_save_IFS 26022 shift 26023 ac_file=$1 26024 shift 26025 26026 case $ac_mode in 26027 :L) ac_source=$1;; 26028 :[FH]) 26029 ac_file_inputs= 26030 for ac_f 26031 do 26032 case $ac_f in 26033 -) ac_f="$ac_tmp/stdin";; 26034 *) # Look for the file first in the build tree, then in the source tree 26035 # (if the path is not absolute). The absolute path cannot be DOS-style, 26036 # because $ac_f cannot contain `:'. 26037 test -f "$ac_f" || 26038 case $ac_f in 26039 [\\/$]*) false;; 26040 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 26041 esac || 26042 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 26043 esac 26044 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 26045 as_fn_append ac_file_inputs " '$ac_f'" 26046 done 26047 26048 # Let's still pretend it is `configure' which instantiates (i.e., don't 26049 # use $as_me), people would be surprised to read: 26050 # /* config.h. Generated by config.status. */ 26051 configure_input='Generated from '` 26052 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 26053 `' by configure.' 26054 if test x"$ac_file" != x-; then 26055 configure_input="$ac_file. $configure_input" 26056 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 26057$as_echo "$as_me: creating $ac_file" >&6;} 26058 fi 26059 # Neutralize special characters interpreted by sed in replacement strings. 26060 case $configure_input in #( 26061 *\&* | *\|* | *\\* ) 26062 ac_sed_conf_input=`$as_echo "$configure_input" | 26063 sed 's/[\\\\&|]/\\\\&/g'`;; #( 26064 *) ac_sed_conf_input=$configure_input;; 26065 esac 26066 26067 case $ac_tag in 26068 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 26069 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 26070 esac 26071 ;; 26072 esac 26073 26074 ac_dir=`$as_dirname -- "$ac_file" || 26075$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26076 X"$ac_file" : 'X\(//\)[^/]' \| \ 26077 X"$ac_file" : 'X\(//\)$' \| \ 26078 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 26079$as_echo X"$ac_file" | 26080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26081 s//\1/ 26082 q 26083 } 26084 /^X\(\/\/\)[^/].*/{ 26085 s//\1/ 26086 q 26087 } 26088 /^X\(\/\/\)$/{ 26089 s//\1/ 26090 q 26091 } 26092 /^X\(\/\).*/{ 26093 s//\1/ 26094 q 26095 } 26096 s/.*/./; q'` 26097 as_dir="$ac_dir"; as_fn_mkdir_p 26098 ac_builddir=. 26099 26100case "$ac_dir" in 26101.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 26102*) 26103 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 26104 # A ".." for each directory in $ac_dir_suffix. 26105 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 26106 case $ac_top_builddir_sub in 26107 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 26108 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 26109 esac ;; 26110esac 26111ac_abs_top_builddir=$ac_pwd 26112ac_abs_builddir=$ac_pwd$ac_dir_suffix 26113# for backward compatibility: 26114ac_top_builddir=$ac_top_build_prefix 26115 26116case $srcdir in 26117 .) # We are building in place. 26118 ac_srcdir=. 26119 ac_top_srcdir=$ac_top_builddir_sub 26120 ac_abs_top_srcdir=$ac_pwd ;; 26121 [\\/]* | ?:[\\/]* ) # Absolute name. 26122 ac_srcdir=$srcdir$ac_dir_suffix; 26123 ac_top_srcdir=$srcdir 26124 ac_abs_top_srcdir=$srcdir ;; 26125 *) # Relative name. 26126 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 26127 ac_top_srcdir=$ac_top_build_prefix$srcdir 26128 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 26129esac 26130ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 26131 26132 26133 case $ac_mode in 26134 :F) 26135 # 26136 # CONFIG_FILE 26137 # 26138 26139 case $INSTALL in 26140 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 26141 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 26142 esac 26143 ac_MKDIR_P=$MKDIR_P 26144 case $MKDIR_P in 26145 [\\/$]* | ?:[\\/]* ) ;; 26146 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 26147 esac 26148_ACEOF 26149 26150cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26151# If the template does not know about datarootdir, expand it. 26152# FIXME: This hack should be removed a few years after 2.60. 26153ac_datarootdir_hack=; ac_datarootdir_seen= 26154ac_sed_dataroot=' 26155/datarootdir/ { 26156 p 26157 q 26158} 26159/@datadir@/p 26160/@docdir@/p 26161/@infodir@/p 26162/@localedir@/p 26163/@mandir@/p' 26164case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 26165*datarootdir*) ac_datarootdir_seen=yes;; 26166*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 26167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 26168$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 26169_ACEOF 26170cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26171 ac_datarootdir_hack=' 26172 s&@datadir@&$datadir&g 26173 s&@docdir@&$docdir&g 26174 s&@infodir@&$infodir&g 26175 s&@localedir@&$localedir&g 26176 s&@mandir@&$mandir&g 26177 s&\\\${datarootdir}&$datarootdir&g' ;; 26178esac 26179_ACEOF 26180 26181# Neutralize VPATH when `$srcdir' = `.'. 26182# Shell code in configure.ac might set extrasub. 26183# FIXME: do we really want to maintain this feature? 26184cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26185ac_sed_extra="$ac_vpsub 26186$extrasub 26187_ACEOF 26188cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26189:t 26190/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 26191s|@configure_input@|$ac_sed_conf_input|;t t 26192s&@top_builddir@&$ac_top_builddir_sub&;t t 26193s&@top_build_prefix@&$ac_top_build_prefix&;t t 26194s&@srcdir@&$ac_srcdir&;t t 26195s&@abs_srcdir@&$ac_abs_srcdir&;t t 26196s&@top_srcdir@&$ac_top_srcdir&;t t 26197s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 26198s&@builddir@&$ac_builddir&;t t 26199s&@abs_builddir@&$ac_abs_builddir&;t t 26200s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 26201s&@INSTALL@&$ac_INSTALL&;t t 26202s&@MKDIR_P@&$ac_MKDIR_P&;t t 26203$ac_datarootdir_hack 26204" 26205eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 26206 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 26207 26208test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 26209 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 26210 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 26211 "$ac_tmp/out"`; test -z "$ac_out"; } && 26212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 26213which seems to be undefined. Please make sure it is defined" >&5 26214$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 26215which seems to be undefined. Please make sure it is defined" >&2;} 26216 26217 rm -f "$ac_tmp/stdin" 26218 case $ac_file in 26219 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 26220 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 26221 esac \ 26222 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 26223 ;; 26224 :H) 26225 # 26226 # CONFIG_HEADER 26227 # 26228 if test x"$ac_file" != x-; then 26229 { 26230 $as_echo "/* $configure_input */" \ 26231 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 26232 } >"$ac_tmp/config.h" \ 26233 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 26234 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 26235 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 26236$as_echo "$as_me: $ac_file is unchanged" >&6;} 26237 else 26238 rm -f "$ac_file" 26239 mv "$ac_tmp/config.h" "$ac_file" \ 26240 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 26241 fi 26242 else 26243 $as_echo "/* $configure_input */" \ 26244 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 26245 || as_fn_error $? "could not create -" "$LINENO" 5 26246 fi 26247# Compute "$ac_file"'s index in $config_headers. 26248_am_arg="$ac_file" 26249_am_stamp_count=1 26250for _am_header in $config_headers :; do 26251 case $_am_header in 26252 $_am_arg | $_am_arg:* ) 26253 break ;; 26254 * ) 26255 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 26256 esac 26257done 26258echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 26259$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26260 X"$_am_arg" : 'X\(//\)[^/]' \| \ 26261 X"$_am_arg" : 'X\(//\)$' \| \ 26262 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 26263$as_echo X"$_am_arg" | 26264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26265 s//\1/ 26266 q 26267 } 26268 /^X\(\/\/\)[^/].*/{ 26269 s//\1/ 26270 q 26271 } 26272 /^X\(\/\/\)$/{ 26273 s//\1/ 26274 q 26275 } 26276 /^X\(\/\).*/{ 26277 s//\1/ 26278 q 26279 } 26280 s/.*/./; q'`/stamp-h$_am_stamp_count 26281 ;; 26282 :L) 26283 # 26284 # CONFIG_LINK 26285 # 26286 26287 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then 26288 : 26289 else 26290 # Prefer the file from the source tree if names are identical. 26291 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then 26292 ac_source=$srcdir/$ac_source 26293 fi 26294 26295 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 26296$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} 26297 26298 if test ! -r "$ac_source"; then 26299 as_fn_error $? "$ac_source: file not found" "$LINENO" 5 26300 fi 26301 rm -f "$ac_file" 26302 26303 # Try a relative symlink, then a hard link, then a copy. 26304 case $ac_source in 26305 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; 26306 *) ac_rel_source=$ac_top_build_prefix$ac_source ;; 26307 esac 26308 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || 26309 ln "$ac_source" "$ac_file" 2>/dev/null || 26310 cp -p "$ac_source" "$ac_file" || 26311 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 26312 fi 26313 ;; 26314 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 26315$as_echo "$as_me: executing $ac_file commands" >&6;} 26316 ;; 26317 esac 26318 26319 26320 case $ac_file$ac_mode in 26321 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 26322 # Older Autoconf quotes --file arguments for eval, but not when files 26323 # are listed without --file. Let's play safe and only enable the eval 26324 # if we detect the quoting. 26325 case $CONFIG_FILES in 26326 *\'*) eval set x "$CONFIG_FILES" ;; 26327 *) set x $CONFIG_FILES ;; 26328 esac 26329 shift 26330 for mf 26331 do 26332 # Strip MF so we end up with the name of the file. 26333 mf=`echo "$mf" | sed -e 's/:.*$//'` 26334 # Check whether this is an Automake generated Makefile or not. 26335 # We used to match only the files named 'Makefile.in', but 26336 # some people rename them; so instead we look at the file content. 26337 # Grep'ing the first line is not enough: some people post-process 26338 # each Makefile.in and add a new line on top of each file to say so. 26339 # Grep'ing the whole file is not good either: AIX grep has a line 26340 # limit of 2048, but all sed's we know have understand at least 4000. 26341 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 26342 dirpart=`$as_dirname -- "$mf" || 26343$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26344 X"$mf" : 'X\(//\)[^/]' \| \ 26345 X"$mf" : 'X\(//\)$' \| \ 26346 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 26347$as_echo X"$mf" | 26348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26349 s//\1/ 26350 q 26351 } 26352 /^X\(\/\/\)[^/].*/{ 26353 s//\1/ 26354 q 26355 } 26356 /^X\(\/\/\)$/{ 26357 s//\1/ 26358 q 26359 } 26360 /^X\(\/\).*/{ 26361 s//\1/ 26362 q 26363 } 26364 s/.*/./; q'` 26365 else 26366 continue 26367 fi 26368 # Extract the definition of DEPDIR, am__include, and am__quote 26369 # from the Makefile without running 'make'. 26370 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 26371 test -z "$DEPDIR" && continue 26372 am__include=`sed -n 's/^am__include = //p' < "$mf"` 26373 test -z "$am__include" && continue 26374 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 26375 # Find all dependency output files, they are included files with 26376 # $(DEPDIR) in their names. We invoke sed twice because it is the 26377 # simplest approach to changing $(DEPDIR) to its actual value in the 26378 # expansion. 26379 for file in `sed -n " 26380 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 26381 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 26382 # Make sure the directory exists. 26383 test -f "$dirpart/$file" && continue 26384 fdir=`$as_dirname -- "$file" || 26385$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26386 X"$file" : 'X\(//\)[^/]' \| \ 26387 X"$file" : 'X\(//\)$' \| \ 26388 X"$file" : 'X\(/\)' \| . 2>/dev/null || 26389$as_echo X"$file" | 26390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26391 s//\1/ 26392 q 26393 } 26394 /^X\(\/\/\)[^/].*/{ 26395 s//\1/ 26396 q 26397 } 26398 /^X\(\/\/\)$/{ 26399 s//\1/ 26400 q 26401 } 26402 /^X\(\/\).*/{ 26403 s//\1/ 26404 q 26405 } 26406 s/.*/./; q'` 26407 as_dir=$dirpart/$fdir; as_fn_mkdir_p 26408 # echo "creating $dirpart/$file" 26409 echo '# dummy' > "$dirpart/$file" 26410 done 26411 done 26412} 26413 ;; 26414 "libtool":C) 26415 26416 # See if we are running on zsh, and set the options that allow our 26417 # commands through without removal of \ escapes. 26418 if test -n "${ZSH_VERSION+set}"; then 26419 setopt NO_GLOB_SUBST 26420 fi 26421 26422 cfgfile=${ofile}T 26423 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 26424 $RM "$cfgfile" 26425 26426 cat <<_LT_EOF >> "$cfgfile" 26427#! $SHELL 26428# Generated automatically by $as_me ($PACKAGE) $VERSION 26429# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 26430# NOTE: Changes made to this file will be lost: look at ltmain.sh. 26431 26432# Provide generalized library-building support services. 26433# Written by Gordon Matzigkeit, 1996 26434 26435# Copyright (C) 2014 Free Software Foundation, Inc. 26436# This is free software; see the source for copying conditions. There is NO 26437# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 26438 26439# GNU Libtool is free software; you can redistribute it and/or modify 26440# it under the terms of the GNU General Public License as published by 26441# the Free Software Foundation; either version 2 of of the License, or 26442# (at your option) any later version. 26443# 26444# As a special exception to the GNU General Public License, if you 26445# distribute this file as part of a program or library that is built 26446# using GNU Libtool, you may include this file under the same 26447# distribution terms that you use for the rest of that program. 26448# 26449# GNU Libtool is distributed in the hope that it will be useful, but 26450# WITHOUT ANY WARRANTY; without even the implied warranty of 26451# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26452# GNU General Public License for more details. 26453# 26454# You should have received a copy of the GNU General Public License 26455# along with this program. If not, see <http://www.gnu.org/licenses/>. 26456 26457 26458# The names of the tagged configurations supported by this script. 26459available_tags='CXX ' 26460 26461# Configured defaults for sys_lib_dlsearch_path munging. 26462: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 26463 26464# ### BEGIN LIBTOOL CONFIG 26465 26466# Which release of libtool.m4 was used? 26467macro_version=$macro_version 26468macro_revision=$macro_revision 26469 26470# Assembler program. 26471AS=$lt_AS 26472 26473# DLL creation program. 26474DLLTOOL=$lt_DLLTOOL 26475 26476# Object dumper program. 26477OBJDUMP=$lt_OBJDUMP 26478 26479# Whether or not to build shared libraries. 26480build_libtool_libs=$enable_shared 26481 26482# Whether or not to build static libraries. 26483build_old_libs=$enable_static 26484 26485# What type of objects to build. 26486pic_mode=$pic_mode 26487 26488# Whether or not to optimize for fast installation. 26489fast_install=$enable_fast_install 26490 26491# Shared archive member basename,for filename based shared library versioning on AIX. 26492shared_archive_member_spec=$shared_archive_member_spec 26493 26494# Shell to use when invoking shell scripts. 26495SHELL=$lt_SHELL 26496 26497# An echo program that protects backslashes. 26498ECHO=$lt_ECHO 26499 26500# The PATH separator for the build system. 26501PATH_SEPARATOR=$lt_PATH_SEPARATOR 26502 26503# The host system. 26504host_alias=$host_alias 26505host=$host 26506host_os=$host_os 26507 26508# The build system. 26509build_alias=$build_alias 26510build=$build 26511build_os=$build_os 26512 26513# A sed program that does not truncate output. 26514SED=$lt_SED 26515 26516# Sed that helps us avoid accidentally triggering echo(1) options like -n. 26517Xsed="\$SED -e 1s/^X//" 26518 26519# A grep program that handles long lines. 26520GREP=$lt_GREP 26521 26522# An ERE matcher. 26523EGREP=$lt_EGREP 26524 26525# A literal string matcher. 26526FGREP=$lt_FGREP 26527 26528# A BSD- or MS-compatible name lister. 26529NM=$lt_NM 26530 26531# Whether we need soft or hard links. 26532LN_S=$lt_LN_S 26533 26534# What is the maximum length of a command? 26535max_cmd_len=$max_cmd_len 26536 26537# Object file suffix (normally "o"). 26538objext=$ac_objext 26539 26540# Executable file suffix (normally ""). 26541exeext=$exeext 26542 26543# whether the shell understands "unset". 26544lt_unset=$lt_unset 26545 26546# turn spaces into newlines. 26547SP2NL=$lt_lt_SP2NL 26548 26549# turn newlines into spaces. 26550NL2SP=$lt_lt_NL2SP 26551 26552# convert \$build file names to \$host format. 26553to_host_file_cmd=$lt_cv_to_host_file_cmd 26554 26555# convert \$build files to toolchain format. 26556to_tool_file_cmd=$lt_cv_to_tool_file_cmd 26557 26558# Method to check whether dependent libraries are shared objects. 26559deplibs_check_method=$lt_deplibs_check_method 26560 26561# Command to use when deplibs_check_method = "file_magic". 26562file_magic_cmd=$lt_file_magic_cmd 26563 26564# How to find potential files when deplibs_check_method = "file_magic". 26565file_magic_glob=$lt_file_magic_glob 26566 26567# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 26568want_nocaseglob=$lt_want_nocaseglob 26569 26570# Command to associate shared and link libraries. 26571sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 26572 26573# The archiver. 26574AR=$lt_AR 26575 26576# Flags to create an archive. 26577AR_FLAGS=$lt_AR_FLAGS 26578 26579# How to feed a file listing to the archiver. 26580archiver_list_spec=$lt_archiver_list_spec 26581 26582# A symbol stripping program. 26583STRIP=$lt_STRIP 26584 26585# Commands used to install an old-style archive. 26586RANLIB=$lt_RANLIB 26587old_postinstall_cmds=$lt_old_postinstall_cmds 26588old_postuninstall_cmds=$lt_old_postuninstall_cmds 26589 26590# Whether to use a lock for old archive extraction. 26591lock_old_archive_extraction=$lock_old_archive_extraction 26592 26593# A C compiler. 26594LTCC=$lt_CC 26595 26596# LTCC compiler flags. 26597LTCFLAGS=$lt_CFLAGS 26598 26599# Take the output of nm and produce a listing of raw symbols and C names. 26600global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 26601 26602# Transform the output of nm in a proper C declaration. 26603global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 26604 26605# Transform the output of nm into a list of symbols to manually relocate. 26606global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 26607 26608# Transform the output of nm in a C name address pair. 26609global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 26610 26611# Transform the output of nm in a C name address pair when lib prefix is needed. 26612global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 26613 26614# The name lister interface. 26615nm_interface=$lt_lt_cv_nm_interface 26616 26617# Specify filename containing input files for \$NM. 26618nm_file_list_spec=$lt_nm_file_list_spec 26619 26620# The root where to search for dependent libraries,and where our libraries should be installed. 26621lt_sysroot=$lt_sysroot 26622 26623# Command to truncate a binary pipe. 26624lt_truncate_bin=$lt_lt_cv_truncate_bin 26625 26626# The name of the directory that contains temporary libtool files. 26627objdir=$objdir 26628 26629# Used to examine libraries when file_magic_cmd begins with "file". 26630MAGIC_CMD=$MAGIC_CMD 26631 26632# Must we lock files when doing compilation? 26633need_locks=$lt_need_locks 26634 26635# Manifest tool. 26636MANIFEST_TOOL=$lt_MANIFEST_TOOL 26637 26638# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 26639DSYMUTIL=$lt_DSYMUTIL 26640 26641# Tool to change global to local symbols on Mac OS X. 26642NMEDIT=$lt_NMEDIT 26643 26644# Tool to manipulate fat objects and archives on Mac OS X. 26645LIPO=$lt_LIPO 26646 26647# ldd/readelf like tool for Mach-O binaries on Mac OS X. 26648OTOOL=$lt_OTOOL 26649 26650# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 26651OTOOL64=$lt_OTOOL64 26652 26653# Old archive suffix (normally "a"). 26654libext=$libext 26655 26656# Shared library suffix (normally ".so"). 26657shrext_cmds=$lt_shrext_cmds 26658 26659# The commands to extract the exported symbol list from a shared archive. 26660extract_expsyms_cmds=$lt_extract_expsyms_cmds 26661 26662# Variables whose values should be saved in libtool wrapper scripts and 26663# restored at link time. 26664variables_saved_for_relink=$lt_variables_saved_for_relink 26665 26666# Do we need the "lib" prefix for modules? 26667need_lib_prefix=$need_lib_prefix 26668 26669# Do we need a version for libraries? 26670need_version=$need_version 26671 26672# Library versioning type. 26673version_type=$version_type 26674 26675# Shared library runtime path variable. 26676runpath_var=$runpath_var 26677 26678# Shared library path variable. 26679shlibpath_var=$shlibpath_var 26680 26681# Is shlibpath searched before the hard-coded library search path? 26682shlibpath_overrides_runpath=$shlibpath_overrides_runpath 26683 26684# Format of library name prefix. 26685libname_spec=$lt_libname_spec 26686 26687# List of archive names. First name is the real one, the rest are links. 26688# The last name is the one that the linker finds with -lNAME 26689library_names_spec=$lt_library_names_spec 26690 26691# The coded name of the library, if different from the real name. 26692soname_spec=$lt_soname_spec 26693 26694# Permission mode override for installation of shared libraries. 26695install_override_mode=$lt_install_override_mode 26696 26697# Command to use after installation of a shared archive. 26698postinstall_cmds=$lt_postinstall_cmds 26699 26700# Command to use after uninstallation of a shared archive. 26701postuninstall_cmds=$lt_postuninstall_cmds 26702 26703# Commands used to finish a libtool library installation in a directory. 26704finish_cmds=$lt_finish_cmds 26705 26706# As "finish_cmds", except a single script fragment to be evaled but 26707# not shown. 26708finish_eval=$lt_finish_eval 26709 26710# Whether we should hardcode library paths into libraries. 26711hardcode_into_libs=$hardcode_into_libs 26712 26713# Compile-time system search path for libraries. 26714sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 26715 26716# Detected run-time system search path for libraries. 26717sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 26718 26719# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 26720configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 26721 26722# Whether dlopen is supported. 26723dlopen_support=$enable_dlopen 26724 26725# Whether dlopen of programs is supported. 26726dlopen_self=$enable_dlopen_self 26727 26728# Whether dlopen of statically linked programs is supported. 26729dlopen_self_static=$enable_dlopen_self_static 26730 26731# Commands to strip libraries. 26732old_striplib=$lt_old_striplib 26733striplib=$lt_striplib 26734 26735 26736# The linker used to build libraries. 26737LD=$lt_LD 26738 26739# How to create reloadable object files. 26740reload_flag=$lt_reload_flag 26741reload_cmds=$lt_reload_cmds 26742 26743# Commands used to build an old-style archive. 26744old_archive_cmds=$lt_old_archive_cmds 26745 26746# A language specific compiler. 26747CC=$lt_compiler 26748 26749# Is the compiler the GNU compiler? 26750with_gcc=$GCC 26751 26752# Compiler flag to turn off builtin functions. 26753no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 26754 26755# Additional compiler flags for building library objects. 26756pic_flag=$lt_lt_prog_compiler_pic 26757 26758# How to pass a linker flag through the compiler. 26759wl=$lt_lt_prog_compiler_wl 26760 26761# Compiler flag to prevent dynamic linking. 26762link_static_flag=$lt_lt_prog_compiler_static 26763 26764# Does compiler simultaneously support -c and -o options? 26765compiler_c_o=$lt_lt_cv_prog_compiler_c_o 26766 26767# Whether or not to add -lc for building shared libraries. 26768build_libtool_need_lc=$archive_cmds_need_lc 26769 26770# Whether or not to disallow shared libs when runtime libs are static. 26771allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 26772 26773# Compiler flag to allow reflexive dlopens. 26774export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 26775 26776# Compiler flag to generate shared objects directly from archives. 26777whole_archive_flag_spec=$lt_whole_archive_flag_spec 26778 26779# Whether the compiler copes with passing no objects directly. 26780compiler_needs_object=$lt_compiler_needs_object 26781 26782# Create an old-style archive from a shared archive. 26783old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 26784 26785# Create a temporary old-style archive to link instead of a shared archive. 26786old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 26787 26788# Commands used to build a shared archive. 26789archive_cmds=$lt_archive_cmds 26790archive_expsym_cmds=$lt_archive_expsym_cmds 26791 26792# Commands used to build a loadable module if different from building 26793# a shared archive. 26794module_cmds=$lt_module_cmds 26795module_expsym_cmds=$lt_module_expsym_cmds 26796 26797# Whether we are building with GNU ld or not. 26798with_gnu_ld=$lt_with_gnu_ld 26799 26800# Flag that allows shared libraries with undefined symbols to be built. 26801allow_undefined_flag=$lt_allow_undefined_flag 26802 26803# Flag that enforces no undefined symbols. 26804no_undefined_flag=$lt_no_undefined_flag 26805 26806# Flag to hardcode \$libdir into a binary during linking. 26807# This must work even if \$libdir does not exist 26808hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 26809 26810# Whether we need a single "-rpath" flag with a separated argument. 26811hardcode_libdir_separator=$lt_hardcode_libdir_separator 26812 26813# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 26814# DIR into the resulting binary. 26815hardcode_direct=$hardcode_direct 26816 26817# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 26818# DIR into the resulting binary and the resulting library dependency is 26819# "absolute",i.e impossible to change by setting \$shlibpath_var if the 26820# library is relocated. 26821hardcode_direct_absolute=$hardcode_direct_absolute 26822 26823# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 26824# into the resulting binary. 26825hardcode_minus_L=$hardcode_minus_L 26826 26827# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 26828# into the resulting binary. 26829hardcode_shlibpath_var=$hardcode_shlibpath_var 26830 26831# Set to "yes" if building a shared library automatically hardcodes DIR 26832# into the library and all subsequent libraries and executables linked 26833# against it. 26834hardcode_automatic=$hardcode_automatic 26835 26836# Set to yes if linker adds runtime paths of dependent libraries 26837# to runtime path list. 26838inherit_rpath=$inherit_rpath 26839 26840# Whether libtool must link a program against all its dependency libraries. 26841link_all_deplibs=$link_all_deplibs 26842 26843# Set to "yes" if exported symbols are required. 26844always_export_symbols=$always_export_symbols 26845 26846# The commands to list exported symbols. 26847export_symbols_cmds=$lt_export_symbols_cmds 26848 26849# Symbols that should not be listed in the preloaded symbols. 26850exclude_expsyms=$lt_exclude_expsyms 26851 26852# Symbols that must always be exported. 26853include_expsyms=$lt_include_expsyms 26854 26855# Commands necessary for linking programs (against libraries) with templates. 26856prelink_cmds=$lt_prelink_cmds 26857 26858# Commands necessary for finishing linking programs. 26859postlink_cmds=$lt_postlink_cmds 26860 26861# Specify filename containing input files. 26862file_list_spec=$lt_file_list_spec 26863 26864# How to hardcode a shared library path into an executable. 26865hardcode_action=$hardcode_action 26866 26867# The directories searched by this compiler when creating a shared library. 26868compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 26869 26870# Dependencies to place before and after the objects being linked to 26871# create a shared library. 26872predep_objects=$lt_predep_objects 26873postdep_objects=$lt_postdep_objects 26874predeps=$lt_predeps 26875postdeps=$lt_postdeps 26876 26877# The library search path used internally by the compiler when linking 26878# a shared library. 26879compiler_lib_search_path=$lt_compiler_lib_search_path 26880 26881# ### END LIBTOOL CONFIG 26882 26883_LT_EOF 26884 26885 cat <<'_LT_EOF' >> "$cfgfile" 26886 26887# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 26888 26889# func_munge_path_list VARIABLE PATH 26890# ----------------------------------- 26891# VARIABLE is name of variable containing _space_ separated list of 26892# directories to be munged by the contents of PATH, which is string 26893# having a format: 26894# "DIR[:DIR]:" 26895# string "DIR[ DIR]" will be prepended to VARIABLE 26896# ":DIR[:DIR]" 26897# string "DIR[ DIR]" will be appended to VARIABLE 26898# "DIRP[:DIRP]::[DIRA:]DIRA" 26899# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 26900# "DIRA[ DIRA]" will be appended to VARIABLE 26901# "DIR[:DIR]" 26902# VARIABLE will be replaced by "DIR[ DIR]" 26903func_munge_path_list () 26904{ 26905 case x$2 in 26906 x) 26907 ;; 26908 *:) 26909 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 26910 ;; 26911 x:*) 26912 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 26913 ;; 26914 *::*) 26915 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 26916 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 26917 ;; 26918 *) 26919 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 26920 ;; 26921 esac 26922} 26923 26924 26925# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 26926func_cc_basename () 26927{ 26928 for cc_temp in $*""; do 26929 case $cc_temp in 26930 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 26931 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 26932 \-*) ;; 26933 *) break;; 26934 esac 26935 done 26936 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 26937} 26938 26939 26940# ### END FUNCTIONS SHARED WITH CONFIGURE 26941 26942_LT_EOF 26943 26944 case $host_os in 26945 aix3*) 26946 cat <<\_LT_EOF >> "$cfgfile" 26947# AIX sometimes has problems with the GCC collect2 program. For some 26948# reason, if we set the COLLECT_NAMES environment variable, the problems 26949# vanish in a puff of smoke. 26950if test set != "${COLLECT_NAMES+set}"; then 26951 COLLECT_NAMES= 26952 export COLLECT_NAMES 26953fi 26954_LT_EOF 26955 ;; 26956 esac 26957 26958 26959ltmain=$ac_aux_dir/ltmain.sh 26960 26961 26962 # We use sed instead of cat because bash on DJGPP gets confused if 26963 # if finds mixed CR/LF and LF-only lines. Since sed operates in 26964 # text mode, it properly converts lines to CR/LF. This bash problem 26965 # is reportedly fixed, but why not run on old versions too? 26966 sed '$q' "$ltmain" >> "$cfgfile" \ 26967 || (rm -f "$cfgfile"; exit 1) 26968 26969 mv -f "$cfgfile" "$ofile" || 26970 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 26971 chmod +x "$ofile" 26972 26973 26974 cat <<_LT_EOF >> "$ofile" 26975 26976# ### BEGIN LIBTOOL TAG CONFIG: CXX 26977 26978# The linker used to build libraries. 26979LD=$lt_LD_CXX 26980 26981# How to create reloadable object files. 26982reload_flag=$lt_reload_flag_CXX 26983reload_cmds=$lt_reload_cmds_CXX 26984 26985# Commands used to build an old-style archive. 26986old_archive_cmds=$lt_old_archive_cmds_CXX 26987 26988# A language specific compiler. 26989CC=$lt_compiler_CXX 26990 26991# Is the compiler the GNU compiler? 26992with_gcc=$GCC_CXX 26993 26994# Compiler flag to turn off builtin functions. 26995no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 26996 26997# Additional compiler flags for building library objects. 26998pic_flag=$lt_lt_prog_compiler_pic_CXX 26999 27000# How to pass a linker flag through the compiler. 27001wl=$lt_lt_prog_compiler_wl_CXX 27002 27003# Compiler flag to prevent dynamic linking. 27004link_static_flag=$lt_lt_prog_compiler_static_CXX 27005 27006# Does compiler simultaneously support -c and -o options? 27007compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 27008 27009# Whether or not to add -lc for building shared libraries. 27010build_libtool_need_lc=$archive_cmds_need_lc_CXX 27011 27012# Whether or not to disallow shared libs when runtime libs are static. 27013allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 27014 27015# Compiler flag to allow reflexive dlopens. 27016export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 27017 27018# Compiler flag to generate shared objects directly from archives. 27019whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 27020 27021# Whether the compiler copes with passing no objects directly. 27022compiler_needs_object=$lt_compiler_needs_object_CXX 27023 27024# Create an old-style archive from a shared archive. 27025old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 27026 27027# Create a temporary old-style archive to link instead of a shared archive. 27028old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 27029 27030# Commands used to build a shared archive. 27031archive_cmds=$lt_archive_cmds_CXX 27032archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 27033 27034# Commands used to build a loadable module if different from building 27035# a shared archive. 27036module_cmds=$lt_module_cmds_CXX 27037module_expsym_cmds=$lt_module_expsym_cmds_CXX 27038 27039# Whether we are building with GNU ld or not. 27040with_gnu_ld=$lt_with_gnu_ld_CXX 27041 27042# Flag that allows shared libraries with undefined symbols to be built. 27043allow_undefined_flag=$lt_allow_undefined_flag_CXX 27044 27045# Flag that enforces no undefined symbols. 27046no_undefined_flag=$lt_no_undefined_flag_CXX 27047 27048# Flag to hardcode \$libdir into a binary during linking. 27049# This must work even if \$libdir does not exist 27050hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 27051 27052# Whether we need a single "-rpath" flag with a separated argument. 27053hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 27054 27055# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 27056# DIR into the resulting binary. 27057hardcode_direct=$hardcode_direct_CXX 27058 27059# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 27060# DIR into the resulting binary and the resulting library dependency is 27061# "absolute",i.e impossible to change by setting \$shlibpath_var if the 27062# library is relocated. 27063hardcode_direct_absolute=$hardcode_direct_absolute_CXX 27064 27065# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 27066# into the resulting binary. 27067hardcode_minus_L=$hardcode_minus_L_CXX 27068 27069# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 27070# into the resulting binary. 27071hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 27072 27073# Set to "yes" if building a shared library automatically hardcodes DIR 27074# into the library and all subsequent libraries and executables linked 27075# against it. 27076hardcode_automatic=$hardcode_automatic_CXX 27077 27078# Set to yes if linker adds runtime paths of dependent libraries 27079# to runtime path list. 27080inherit_rpath=$inherit_rpath_CXX 27081 27082# Whether libtool must link a program against all its dependency libraries. 27083link_all_deplibs=$link_all_deplibs_CXX 27084 27085# Set to "yes" if exported symbols are required. 27086always_export_symbols=$always_export_symbols_CXX 27087 27088# The commands to list exported symbols. 27089export_symbols_cmds=$lt_export_symbols_cmds_CXX 27090 27091# Symbols that should not be listed in the preloaded symbols. 27092exclude_expsyms=$lt_exclude_expsyms_CXX 27093 27094# Symbols that must always be exported. 27095include_expsyms=$lt_include_expsyms_CXX 27096 27097# Commands necessary for linking programs (against libraries) with templates. 27098prelink_cmds=$lt_prelink_cmds_CXX 27099 27100# Commands necessary for finishing linking programs. 27101postlink_cmds=$lt_postlink_cmds_CXX 27102 27103# Specify filename containing input files. 27104file_list_spec=$lt_file_list_spec_CXX 27105 27106# How to hardcode a shared library path into an executable. 27107hardcode_action=$hardcode_action_CXX 27108 27109# The directories searched by this compiler when creating a shared library. 27110compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 27111 27112# Dependencies to place before and after the objects being linked to 27113# create a shared library. 27114predep_objects=$lt_predep_objects_CXX 27115postdep_objects=$lt_postdep_objects_CXX 27116predeps=$lt_predeps_CXX 27117postdeps=$lt_postdeps_CXX 27118 27119# The library search path used internally by the compiler when linking 27120# a shared library. 27121compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 27122 27123# ### END LIBTOOL TAG CONFIG: CXX 27124_LT_EOF 27125 27126## KPSE_LT_HACK: Prevent libtool from linking dependency_libs 27127if test "x$enable_libtool_hack" = xyes; then 27128 $SED '/# Convert "-framework/i\ 27129 ## KPSE_LT_HACK: ignore dependency_libs\ 27130 test "X$installed" = Xyes && dependency_libs=\ 27131' "$ofile" >"$cfgfile" 27132 mv "$cfgfile" "$ofile" || 27133 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 27134 chmod +x "$ofile" 27135fi 27136 ;; 27137 "CXXLD.sh":C) echo "$cxxld_sh" >CXXLD.sh; chmod +x CXXLD.sh ;; 27138 "w2c/c-auto.h":H) sed -e 's/^#define PACKAGE/#define WEB2C_PACKAGE/' \ 27139 -e 's/^#define VERSION/#define WEB2C_VERSION/' w2c/c-auto.h >c-auto.tmp \ 27140 && mv -f c-auto.tmp w2c/c-auto.h ;; 27141 "web2c-sh":F) chmod +x web2c-sh ;; 27142 "tangle-sh":F) chmod +x tangle-sh ;; 27143 "ctangleboot-sh":F) chmod +x ctangleboot-sh ;; 27144 "silent-sh":F) chmod +x silent-sh ;; 27145 27146 esac 27147done # for ac_tag 27148 27149 27150as_fn_exit 0 27151_ACEOF 27152ac_clean_files=$ac_clean_files_save 27153 27154test $ac_write_fail = 0 || 27155 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 27156 27157if test "x$cross_compiling" = xyes; then : 27158 if test "x$cache_file" != x/dev/null; then : 27159 cache_file=config.cache 27160fi 27161ac_configure_args="$ac_configure_args --host='$kpse_build_alias' \ 27162CC='$BUILDCC' CFLAGS='$BUILDCFLAGS' \ 27163CPPFLAGS='$BUILDCPPFLAGS' LDFLAGS='$BUILDLDFLAGS'" 27164fi 27165 27166# configure is writing to config.log, and then calls config.status. 27167# config.status does its own redirection, appending to config.log. 27168# Unfortunately, on DOS this fails, as config.log is still kept open 27169# by configure, so config.status won't be able to write to it; its 27170# output is simply discarded. So we exec the FD to /dev/null, 27171# effectively closing config.log, so it can be properly (re)opened and 27172# appended to by config.status. When coming back to configure, we 27173# need to make the FD available again. 27174if test "$no_create" != yes; then 27175 ac_cs_success=: 27176 ac_config_status_args= 27177 test "$silent" = yes && 27178 ac_config_status_args="$ac_config_status_args --quiet" 27179 exec 5>/dev/null 27180 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 27181 exec 5>>config.log 27182 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 27183 # would make configure fail if this is the last instruction. 27184 $ac_cs_success || as_fn_exit 1 27185fi 27186 27187# 27188# CONFIG_SUBDIRS section. 27189# 27190if test "$no_recursion" != yes; then 27191 27192 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 27193 # so they do not pile up. 27194 ac_sub_configure_args= 27195 ac_prev= 27196 eval "set x $ac_configure_args" 27197 shift 27198 for ac_arg 27199 do 27200 if test -n "$ac_prev"; then 27201 ac_prev= 27202 continue 27203 fi 27204 case $ac_arg in 27205 -cache-file | --cache-file | --cache-fil | --cache-fi \ 27206 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 27207 ac_prev=cache_file ;; 27208 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 27209 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 27210 | --c=*) 27211 ;; 27212 --config-cache | -C) 27213 ;; 27214 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 27215 ac_prev=srcdir ;; 27216 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 27217 ;; 27218 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 27219 ac_prev=prefix ;; 27220 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 27221 ;; 27222 --disable-option-checking) 27223 ;; 27224 *) 27225 case $ac_arg in 27226 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 27227 esac 27228 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 27229 esac 27230 done 27231 27232 # Always prepend --prefix to ensure using the same prefix 27233 # in subdir configurations. 27234 ac_arg="--prefix=$prefix" 27235 case $ac_arg in 27236 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 27237 esac 27238 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 27239 27240 # Pass --silent 27241 if test "$silent" = yes; then 27242 ac_sub_configure_args="--silent $ac_sub_configure_args" 27243 fi 27244 27245 # Always prepend --disable-option-checking to silence warnings, since 27246 # different subdirs can have different --enable and --with options. 27247 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 27248 27249 ac_popdir=`pwd` 27250 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 27251 27252 # Do not complain, so a configure script can configure whichever 27253 # parts of a large source tree are present. 27254 test -d "$srcdir/$ac_dir" || continue 27255 27256 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 27257 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 27258 $as_echo "$ac_msg" >&6 27259 as_dir="$ac_dir"; as_fn_mkdir_p 27260 ac_builddir=. 27261 27262case "$ac_dir" in 27263.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 27264*) 27265 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 27266 # A ".." for each directory in $ac_dir_suffix. 27267 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 27268 case $ac_top_builddir_sub in 27269 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 27270 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 27271 esac ;; 27272esac 27273ac_abs_top_builddir=$ac_pwd 27274ac_abs_builddir=$ac_pwd$ac_dir_suffix 27275# for backward compatibility: 27276ac_top_builddir=$ac_top_build_prefix 27277 27278case $srcdir in 27279 .) # We are building in place. 27280 ac_srcdir=. 27281 ac_top_srcdir=$ac_top_builddir_sub 27282 ac_abs_top_srcdir=$ac_pwd ;; 27283 [\\/]* | ?:[\\/]* ) # Absolute name. 27284 ac_srcdir=$srcdir$ac_dir_suffix; 27285 ac_top_srcdir=$srcdir 27286 ac_abs_top_srcdir=$srcdir ;; 27287 *) # Relative name. 27288 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 27289 ac_top_srcdir=$ac_top_build_prefix$srcdir 27290 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 27291esac 27292ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 27293 27294 27295 cd "$ac_dir" 27296 27297 # Check for guested configure; otherwise get Cygnus style configure. 27298 if test -f "$ac_srcdir/configure.gnu"; then 27299 ac_sub_configure=$ac_srcdir/configure.gnu 27300 elif test -f "$ac_srcdir/configure"; then 27301 ac_sub_configure=$ac_srcdir/configure 27302 elif test -f "$ac_srcdir/configure.in"; then 27303 # This should be Cygnus configure. 27304 ac_sub_configure=$ac_aux_dir/configure 27305 else 27306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 27307$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 27308 ac_sub_configure= 27309 fi 27310 27311 # The recursion is here. 27312 if test -n "$ac_sub_configure"; then 27313 # Make the cache file name correct relative to the subdirectory. 27314 case $cache_file in 27315 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 27316 *) # Relative name. 27317 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 27318 esac 27319 27320 { $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 27321$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 27322 # The eval makes quoting arguments work. 27323 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 27324 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 27325 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 27326 fi 27327 27328 cd "$ac_popdir" 27329 done 27330fi 27331if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 27332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 27333$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 27334fi 27335 27336