1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libxml2 2.9.12. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293# as_fn_unset VAR 294# --------------- 295# Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302# as_fn_set_status STATUS 303# ----------------------- 304# Set $? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} # as_fn_set_status 309 310# as_fn_exit STATUS 311# ----------------- 312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} # as_fn_exit 319 320# as_fn_mkdir_p 321# ------------- 322# Create "$as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} # as_fn_mkdir_p 367 368# as_fn_executable_p FILE 369# ----------------------- 370# Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} # as_fn_executable_p 375# as_fn_append VAR VALUE 376# ---------------------- 377# Append the text in VALUE to the end of the definition contained in VAR. Take 378# advantage of any shell optimizations that allow amortized linear growth over 379# repeated appends, instead of the typical quadratic growth present in naive 380# implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393# as_fn_arith ARG... 394# ------------------ 395# Perform arithmetic evaluation on the ARGs, and store the result in the 396# global $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411# as_fn_error STATUS ERROR [LINENO LOG_FD] 412# ---------------------------------------- 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415# script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} # as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in #((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIBOBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME='libxml2' 589PACKAGE_TARNAME='libxml2' 590PACKAGE_VERSION='2.9.12' 591PACKAGE_STRING='libxml2 2.9.12' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595ac_unique_file="entities.c" 596# Factoring default headers for most tests. 597ac_includes_default="\ 598#include <stdio.h> 599#ifdef HAVE_SYS_TYPES_H 600# include <sys/types.h> 601#endif 602#ifdef HAVE_SYS_STAT_H 603# include <sys/stat.h> 604#endif 605#ifdef STDC_HEADERS 606# include <stdlib.h> 607# include <stddef.h> 608#else 609# ifdef HAVE_STDLIB_H 610# include <stdlib.h> 611# endif 612#endif 613#ifdef HAVE_STRING_H 614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 615# include <memory.h> 616# endif 617# include <string.h> 618#endif 619#ifdef HAVE_STRINGS_H 620# include <strings.h> 621#endif 622#ifdef HAVE_INTTYPES_H 623# include <inttypes.h> 624#endif 625#ifdef HAVE_STDINT_H 626# include <stdint.h> 627#endif 628#ifdef HAVE_UNISTD_H 629# include <unistd.h> 630#endif" 631 632ac_subst_vars='am__EXEEXT_FALSE 633am__EXEEXT_TRUE 634LTLIBOBJS 635LIBOBJS 636PYTHON_TESTS 637RELDATE 638RDL_LIBS 639M_LIBS 640PYTHON_SITE_PACKAGES 641PYTHON_INCLUDES 642PYTHON_VERSION 643HAVE_ISINF 644HAVE_ISNAN 645XML_INCLUDEDIR 646ICONV_LIBS 647XML_LIBTOOLLIBS 648XML_PRIVATE_LIBS 649XML_LIBS 650XML_LIBDIR 651XML_CFLAGS 652EXTRA_CFLAGS 653CYGWIN_EXTRA_PYTHON_LIBADD 654CYGWIN_EXTRA_LDFLAGS 655WIN32_EXTRA_PYTHON_LIBADD 656WIN32_EXTRA_LDFLAGS 657WIN32_EXTRA_LIBADD 658WITH_RUN_DEBUG 659WITH_MEM_DEBUG 660TEST_DEBUG 661DEBUG_OBJ 662WITH_DEBUG 663TEST_REGEXPS 664WITH_REGEXPS 665TEST_SCHEMAS 666WITH_SCHEMAS 667WITH_ISO8859X 668WITH_ICU 669ICU_LIBS 670ICU_CFLAGS 671WITH_ICONV 672WITH_OUTPUT 673TEST_XPATH 674XPATH_OBJ 675WITH_XPATH 676TEST_SCHEMATRON 677WITH_SCHEMATRON 678TEST_XINCLUDE 679XINCLUDE_OBJ 680WITH_XINCLUDE 681TEST_C14N 682C14N_OBJ 683WITH_C14N 684TEST_XPTR 685XPTR_OBJ 686WITH_XPTR 687DOCB_OBJ 688WITH_DOCB 689TEST_CATALOG 690CATALOG_OBJ 691WITH_CATALOG 692TEST_VTIME 693TEST_VALID 694WITH_VALID 695TEST_PHTML 696TEST_HTML 697HTML_OBJ 698WITH_HTML 699TEST_PUSH 700WITH_PUSH 701TEST_SAX 702WITH_SAX1_SOURCES_FALSE 703WITH_SAX1_SOURCES_TRUE 704WITH_SAX1 705TEST_PATTERN 706WITH_PATTERN 707WITH_WRITER 708READER_TEST 709WITH_READER 710WITH_LEGACY 711HTTP_OBJ 712WITH_HTTP 713FTP_OBJ 714WITH_FTP 715WITH_TREE 716THREADS_W32_FALSE 717THREADS_W32_TRUE 718WITH_THREAD_ALLOC 719TEST_THREADS 720THREAD_CFLAGS 721WITH_THREADS 722BASE_THREAD_LIBS 723THREAD_LIBS 724WITH_TRIO 725WITH_TRIO_SOURCES_FALSE 726WITH_TRIO_SOURCES_TRUE 727STATIC_BINARIES 728TEST_MODULES 729MODULE_EXTENSION 730MODULE_PLATFORM_LIBS 731WITH_MODULES 732PYTHON_LIBS 733PYTHON_SUBDIR 734pythondir 735WITH_PYTHON_FALSE 736WITH_PYTHON_TRUE 737PYTHON 738WITH_LZMA 739LZMA_LIBS 740LZMA_CFLAGS 741WITH_ZLIB 742Z_LIBS 743Z_CFLAGS 744REBUILD_DOCS_FALSE 745REBUILD_DOCS_TRUE 746HTML_DIR 747USE_VERSION_SCRIPT_FALSE 748USE_VERSION_SCRIPT_TRUE 749VERSION_SCRIPT_FLAGS 750LT_SYS_LIBRARY_PATH 751OTOOL64 752OTOOL 753LIPO 754NMEDIT 755DSYMUTIL 756MANIFEST_TOOL 757RANLIB 758ac_ct_AR 759AR 760DLLTOOL 761OBJDUMP 762NM 763ac_ct_DUMPBIN 764DUMPBIN 765LD 766FGREP 767EGREP 768GREP 769SED 770LIBTOOL 771PKG_CONFIG_LIBDIR 772PKG_CONFIG_PATH 773PKG_CONFIG 774XSLTPROC 775XMLLINT 776WGET 777PERL 778TAR 779MV 780CPP 781LN_S 782am__fastdepCC_FALSE 783am__fastdepCC_TRUE 784CCDEPMODE 785am__nodep 786AMDEPBACKSLASH 787AMDEP_FALSE 788AMDEP_TRUE 789am__include 790DEPDIR 791OBJEXT 792EXEEXT 793ac_ct_CC 794CPPFLAGS 795LDFLAGS 796CFLAGS 797CC 798AM_BACKSLASH 799AM_DEFAULT_VERBOSITY 800AM_DEFAULT_V 801AM_V 802am__untar 803am__tar 804AMTAR 805am__leading_dot 806SET_MAKE 807AWK 808mkdir_p 809MKDIR_P 810INSTALL_STRIP_PROGRAM 811STRIP 812install_sh 813MAKEINFO 814AUTOHEADER 815AUTOMAKE 816AUTOCONF 817ACLOCAL 818VERSION 819PACKAGE 820CYGPATH_W 821am__isrc 822INSTALL_DATA 823INSTALL_SCRIPT 824INSTALL_PROGRAM 825LIBXML_VERSION_EXTRA 826LIBXML_VERSION_NUMBER 827LIBXML_VERSION_INFO 828LIBXML_VERSION 829LIBXML_MICRO_VERSION 830LIBXML_MINOR_VERSION 831LIBXML_MAJOR_VERSION 832host_os 833host_vendor 834host_cpu 835host 836build_os 837build_vendor 838build_cpu 839build 840MAINT 841MAINTAINER_MODE_FALSE 842MAINTAINER_MODE_TRUE 843target_alias 844host_alias 845build_alias 846LIBS 847ECHO_T 848ECHO_N 849ECHO_C 850DEFS 851mandir 852localedir 853libdir 854psdir 855pdfdir 856dvidir 857htmldir 858infodir 859docdir 860oldincludedir 861includedir 862localstatedir 863sharedstatedir 864sysconfdir 865datadir 866datarootdir 867libexecdir 868sbindir 869bindir 870program_transform_name 871prefix 872exec_prefix 873PACKAGE_URL 874PACKAGE_BUGREPORT 875PACKAGE_STRING 876PACKAGE_VERSION 877PACKAGE_TARNAME 878PACKAGE_NAME 879PATH_SEPARATOR 880SHELL 881am__quote' 882ac_subst_files='' 883ac_user_opts=' 884enable_option_checking 885enable_maintainer_mode 886enable_silent_rules 887enable_dependency_tracking 888enable_shared 889enable_static 890with_pic 891enable_fast_install 892with_aix_soname 893with_gnu_ld 894with_sysroot 895enable_libtool_lock 896with_c14n 897with_catalog 898with_debug 899with_docbook 900with_fexceptions 901with_ftp 902with_history 903with_html 904with_html_dir 905with_html_subdir 906with_http 907with_iconv 908with_icu 909with_iso8859x 910with_legacy 911with_mem_debug 912with_minimum 913with_output 914with_pattern 915with_push 916with_python 917with_python_install_dir 918with_reader 919with_readline 920with_regexps 921with_run_debug 922with_sax1 923with_schemas 924with_schematron 925with_threads 926with_thread_alloc 927with_tree 928with_valid 929with_writer 930with_xinclude 931with_xpath 932with_xptr 933with_modules 934with_zlib 935with_lzma 936with_coverage 937enable_rebuild_docs 938enable_ipv6 939' 940 ac_precious_vars='build_alias 941host_alias 942target_alias 943CC 944CFLAGS 945LDFLAGS 946LIBS 947CPPFLAGS 948CPP 949PKG_CONFIG 950PKG_CONFIG_PATH 951PKG_CONFIG_LIBDIR 952LT_SYS_LIBRARY_PATH 953Z_CFLAGS 954Z_LIBS 955LZMA_CFLAGS 956LZMA_LIBS 957ICU_CFLAGS 958ICU_LIBS' 959 960 961# Initialize some variables set by options. 962ac_init_help= 963ac_init_version=false 964ac_unrecognized_opts= 965ac_unrecognized_sep= 966# The variables have the same names as the options, with 967# dashes changed to underlines. 968cache_file=/dev/null 969exec_prefix=NONE 970no_create= 971no_recursion= 972prefix=NONE 973program_prefix=NONE 974program_suffix=NONE 975program_transform_name=s,x,x, 976silent= 977site= 978srcdir= 979verbose= 980x_includes=NONE 981x_libraries=NONE 982 983# Installation directory options. 984# These are left unexpanded so users can "make install exec_prefix=/foo" 985# and all the variables that are supposed to be based on exec_prefix 986# by default will actually change. 987# Use braces instead of parens because sh, perl, etc. also accept them. 988# (The list follows the same order as the GNU Coding Standards.) 989bindir='${exec_prefix}/bin' 990sbindir='${exec_prefix}/sbin' 991libexecdir='${exec_prefix}/libexec' 992datarootdir='${prefix}/share' 993datadir='${datarootdir}' 994sysconfdir='${prefix}/etc' 995sharedstatedir='${prefix}/com' 996localstatedir='${prefix}/var' 997includedir='${prefix}/include' 998oldincludedir='/usr/include' 999docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1000infodir='${datarootdir}/info' 1001htmldir='${docdir}' 1002dvidir='${docdir}' 1003pdfdir='${docdir}' 1004psdir='${docdir}' 1005libdir='${exec_prefix}/lib' 1006localedir='${datarootdir}/locale' 1007mandir='${datarootdir}/man' 1008 1009ac_prev= 1010ac_dashdash= 1011for ac_option 1012do 1013 # If the previous option needs an argument, assign it. 1014 if test -n "$ac_prev"; then 1015 eval $ac_prev=\$ac_option 1016 ac_prev= 1017 continue 1018 fi 1019 1020 case $ac_option in 1021 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1022 *=) ac_optarg= ;; 1023 *) ac_optarg=yes ;; 1024 esac 1025 1026 # Accept the important Cygnus configure options, so we can diagnose typos. 1027 1028 case $ac_dashdash$ac_option in 1029 --) 1030 ac_dashdash=yes ;; 1031 1032 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1033 ac_prev=bindir ;; 1034 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1035 bindir=$ac_optarg ;; 1036 1037 -build | --build | --buil | --bui | --bu) 1038 ac_prev=build_alias ;; 1039 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1040 build_alias=$ac_optarg ;; 1041 1042 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1043 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1044 ac_prev=cache_file ;; 1045 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1046 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1047 cache_file=$ac_optarg ;; 1048 1049 --config-cache | -C) 1050 cache_file=config.cache ;; 1051 1052 -datadir | --datadir | --datadi | --datad) 1053 ac_prev=datadir ;; 1054 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1055 datadir=$ac_optarg ;; 1056 1057 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1058 | --dataroo | --dataro | --datar) 1059 ac_prev=datarootdir ;; 1060 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1061 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1062 datarootdir=$ac_optarg ;; 1063 1064 -disable-* | --disable-*) 1065 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1066 # Reject names that are not valid shell variable names. 1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1068 as_fn_error $? "invalid feature name: $ac_useropt" 1069 ac_useropt_orig=$ac_useropt 1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1071 case $ac_user_opts in 1072 *" 1073"enable_$ac_useropt" 1074"*) ;; 1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1076 ac_unrecognized_sep=', ';; 1077 esac 1078 eval enable_$ac_useropt=no ;; 1079 1080 -docdir | --docdir | --docdi | --doc | --do) 1081 ac_prev=docdir ;; 1082 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1083 docdir=$ac_optarg ;; 1084 1085 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1086 ac_prev=dvidir ;; 1087 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1088 dvidir=$ac_optarg ;; 1089 1090 -enable-* | --enable-*) 1091 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1092 # Reject names that are not valid shell variable names. 1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1094 as_fn_error $? "invalid feature name: $ac_useropt" 1095 ac_useropt_orig=$ac_useropt 1096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1097 case $ac_user_opts in 1098 *" 1099"enable_$ac_useropt" 1100"*) ;; 1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1102 ac_unrecognized_sep=', ';; 1103 esac 1104 eval enable_$ac_useropt=\$ac_optarg ;; 1105 1106 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1107 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1108 | --exec | --exe | --ex) 1109 ac_prev=exec_prefix ;; 1110 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1111 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1112 | --exec=* | --exe=* | --ex=*) 1113 exec_prefix=$ac_optarg ;; 1114 1115 -gas | --gas | --ga | --g) 1116 # Obsolete; use --with-gas. 1117 with_gas=yes ;; 1118 1119 -help | --help | --hel | --he | -h) 1120 ac_init_help=long ;; 1121 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1122 ac_init_help=recursive ;; 1123 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1124 ac_init_help=short ;; 1125 1126 -host | --host | --hos | --ho) 1127 ac_prev=host_alias ;; 1128 -host=* | --host=* | --hos=* | --ho=*) 1129 host_alias=$ac_optarg ;; 1130 1131 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1132 ac_prev=htmldir ;; 1133 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1134 | --ht=*) 1135 htmldir=$ac_optarg ;; 1136 1137 -includedir | --includedir | --includedi | --included | --include \ 1138 | --includ | --inclu | --incl | --inc) 1139 ac_prev=includedir ;; 1140 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1141 | --includ=* | --inclu=* | --incl=* | --inc=*) 1142 includedir=$ac_optarg ;; 1143 1144 -infodir | --infodir | --infodi | --infod | --info | --inf) 1145 ac_prev=infodir ;; 1146 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1147 infodir=$ac_optarg ;; 1148 1149 -libdir | --libdir | --libdi | --libd) 1150 ac_prev=libdir ;; 1151 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1152 libdir=$ac_optarg ;; 1153 1154 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1155 | --libexe | --libex | --libe) 1156 ac_prev=libexecdir ;; 1157 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1158 | --libexe=* | --libex=* | --libe=*) 1159 libexecdir=$ac_optarg ;; 1160 1161 -localedir | --localedir | --localedi | --localed | --locale) 1162 ac_prev=localedir ;; 1163 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1164 localedir=$ac_optarg ;; 1165 1166 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1167 | --localstate | --localstat | --localsta | --localst | --locals) 1168 ac_prev=localstatedir ;; 1169 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1170 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1171 localstatedir=$ac_optarg ;; 1172 1173 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1174 ac_prev=mandir ;; 1175 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1176 mandir=$ac_optarg ;; 1177 1178 -nfp | --nfp | --nf) 1179 # Obsolete; use --without-fp. 1180 with_fp=no ;; 1181 1182 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1183 | --no-cr | --no-c | -n) 1184 no_create=yes ;; 1185 1186 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1187 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1188 no_recursion=yes ;; 1189 1190 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1191 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1192 | --oldin | --oldi | --old | --ol | --o) 1193 ac_prev=oldincludedir ;; 1194 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1195 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1196 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1197 oldincludedir=$ac_optarg ;; 1198 1199 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1200 ac_prev=prefix ;; 1201 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1202 prefix=$ac_optarg ;; 1203 1204 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1205 | --program-pre | --program-pr | --program-p) 1206 ac_prev=program_prefix ;; 1207 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1208 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1209 program_prefix=$ac_optarg ;; 1210 1211 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1212 | --program-suf | --program-su | --program-s) 1213 ac_prev=program_suffix ;; 1214 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1215 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1216 program_suffix=$ac_optarg ;; 1217 1218 -program-transform-name | --program-transform-name \ 1219 | --program-transform-nam | --program-transform-na \ 1220 | --program-transform-n | --program-transform- \ 1221 | --program-transform | --program-transfor \ 1222 | --program-transfo | --program-transf \ 1223 | --program-trans | --program-tran \ 1224 | --progr-tra | --program-tr | --program-t) 1225 ac_prev=program_transform_name ;; 1226 -program-transform-name=* | --program-transform-name=* \ 1227 | --program-transform-nam=* | --program-transform-na=* \ 1228 | --program-transform-n=* | --program-transform-=* \ 1229 | --program-transform=* | --program-transfor=* \ 1230 | --program-transfo=* | --program-transf=* \ 1231 | --program-trans=* | --program-tran=* \ 1232 | --progr-tra=* | --program-tr=* | --program-t=*) 1233 program_transform_name=$ac_optarg ;; 1234 1235 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1236 ac_prev=pdfdir ;; 1237 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1238 pdfdir=$ac_optarg ;; 1239 1240 -psdir | --psdir | --psdi | --psd | --ps) 1241 ac_prev=psdir ;; 1242 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1243 psdir=$ac_optarg ;; 1244 1245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1246 | -silent | --silent | --silen | --sile | --sil) 1247 silent=yes ;; 1248 1249 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1250 ac_prev=sbindir ;; 1251 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1252 | --sbi=* | --sb=*) 1253 sbindir=$ac_optarg ;; 1254 1255 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1256 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1257 | --sharedst | --shareds | --shared | --share | --shar \ 1258 | --sha | --sh) 1259 ac_prev=sharedstatedir ;; 1260 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1261 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1262 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1263 | --sha=* | --sh=*) 1264 sharedstatedir=$ac_optarg ;; 1265 1266 -site | --site | --sit) 1267 ac_prev=site ;; 1268 -site=* | --site=* | --sit=*) 1269 site=$ac_optarg ;; 1270 1271 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1272 ac_prev=srcdir ;; 1273 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1274 srcdir=$ac_optarg ;; 1275 1276 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1277 | --syscon | --sysco | --sysc | --sys | --sy) 1278 ac_prev=sysconfdir ;; 1279 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1280 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1281 sysconfdir=$ac_optarg ;; 1282 1283 -target | --target | --targe | --targ | --tar | --ta | --t) 1284 ac_prev=target_alias ;; 1285 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1286 target_alias=$ac_optarg ;; 1287 1288 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1289 verbose=yes ;; 1290 1291 -version | --version | --versio | --versi | --vers | -V) 1292 ac_init_version=: ;; 1293 1294 -with-* | --with-*) 1295 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1296 # Reject names that are not valid shell variable names. 1297 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1298 as_fn_error $? "invalid package name: $ac_useropt" 1299 ac_useropt_orig=$ac_useropt 1300 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1301 case $ac_user_opts in 1302 *" 1303"with_$ac_useropt" 1304"*) ;; 1305 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1306 ac_unrecognized_sep=', ';; 1307 esac 1308 eval with_$ac_useropt=\$ac_optarg ;; 1309 1310 -without-* | --without-*) 1311 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1312 # Reject names that are not valid shell variable names. 1313 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1314 as_fn_error $? "invalid package name: $ac_useropt" 1315 ac_useropt_orig=$ac_useropt 1316 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1317 case $ac_user_opts in 1318 *" 1319"with_$ac_useropt" 1320"*) ;; 1321 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1322 ac_unrecognized_sep=', ';; 1323 esac 1324 eval with_$ac_useropt=no ;; 1325 1326 --x) 1327 # Obsolete; use --with-x. 1328 with_x=yes ;; 1329 1330 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1331 | --x-incl | --x-inc | --x-in | --x-i) 1332 ac_prev=x_includes ;; 1333 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1334 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1335 x_includes=$ac_optarg ;; 1336 1337 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1338 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1339 ac_prev=x_libraries ;; 1340 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1341 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1342 x_libraries=$ac_optarg ;; 1343 1344 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1345Try \`$0 --help' for more information" 1346 ;; 1347 1348 *=*) 1349 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1350 # Reject names that are not valid shell variable names. 1351 case $ac_envvar in #( 1352 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1353 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1354 esac 1355 eval $ac_envvar=\$ac_optarg 1356 export $ac_envvar ;; 1357 1358 *) 1359 # FIXME: should be removed in autoconf 3.0. 1360 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1361 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1362 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1363 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1364 ;; 1365 1366 esac 1367done 1368 1369if test -n "$ac_prev"; then 1370 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1371 as_fn_error $? "missing argument to $ac_option" 1372fi 1373 1374if test -n "$ac_unrecognized_opts"; then 1375 case $enable_option_checking in 1376 no) ;; 1377 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1378 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1379 esac 1380fi 1381 1382# Check all directory arguments for consistency. 1383for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1384 datadir sysconfdir sharedstatedir localstatedir includedir \ 1385 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1386 libdir localedir mandir 1387do 1388 eval ac_val=\$$ac_var 1389 # Remove trailing slashes. 1390 case $ac_val in 1391 */ ) 1392 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1393 eval $ac_var=\$ac_val;; 1394 esac 1395 # Be sure to have absolute directory names. 1396 case $ac_val in 1397 [\\/$]* | ?:[\\/]* ) continue;; 1398 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1399 esac 1400 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1401done 1402 1403# There might be people who depend on the old broken behavior: `$host' 1404# used to hold the argument of --host etc. 1405# FIXME: To remove some day. 1406build=$build_alias 1407host=$host_alias 1408target=$target_alias 1409 1410# FIXME: To remove some day. 1411if test "x$host_alias" != x; then 1412 if test "x$build_alias" = x; then 1413 cross_compiling=maybe 1414 elif test "x$build_alias" != "x$host_alias"; then 1415 cross_compiling=yes 1416 fi 1417fi 1418 1419ac_tool_prefix= 1420test -n "$host_alias" && ac_tool_prefix=$host_alias- 1421 1422test "$silent" = yes && exec 6>/dev/null 1423 1424 1425ac_pwd=`pwd` && test -n "$ac_pwd" && 1426ac_ls_di=`ls -di .` && 1427ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1428 as_fn_error $? "working directory cannot be determined" 1429test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1430 as_fn_error $? "pwd does not report name of working directory" 1431 1432 1433# Find the source files, if location was not specified. 1434if test -z "$srcdir"; then 1435 ac_srcdir_defaulted=yes 1436 # Try the directory containing this script, then the parent directory. 1437 ac_confdir=`$as_dirname -- "$as_myself" || 1438$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1439 X"$as_myself" : 'X\(//\)[^/]' \| \ 1440 X"$as_myself" : 'X\(//\)$' \| \ 1441 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1442$as_echo X"$as_myself" | 1443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1444 s//\1/ 1445 q 1446 } 1447 /^X\(\/\/\)[^/].*/{ 1448 s//\1/ 1449 q 1450 } 1451 /^X\(\/\/\)$/{ 1452 s//\1/ 1453 q 1454 } 1455 /^X\(\/\).*/{ 1456 s//\1/ 1457 q 1458 } 1459 s/.*/./; q'` 1460 srcdir=$ac_confdir 1461 if test ! -r "$srcdir/$ac_unique_file"; then 1462 srcdir=.. 1463 fi 1464else 1465 ac_srcdir_defaulted=no 1466fi 1467if test ! -r "$srcdir/$ac_unique_file"; then 1468 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1469 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1470fi 1471ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1472ac_abs_confdir=`( 1473 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1474 pwd)` 1475# When building in place, set srcdir=. 1476if test "$ac_abs_confdir" = "$ac_pwd"; then 1477 srcdir=. 1478fi 1479# Remove unnecessary trailing slashes from srcdir. 1480# Double slashes in file names in object file debugging info 1481# mess up M-x gdb in Emacs. 1482case $srcdir in 1483*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1484esac 1485for ac_var in $ac_precious_vars; do 1486 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1487 eval ac_env_${ac_var}_value=\$${ac_var} 1488 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1489 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1490done 1491 1492# 1493# Report the --help message. 1494# 1495if test "$ac_init_help" = "long"; then 1496 # Omit some internal or obsolete options to make the list less imposing. 1497 # This message is too long to be a string in the A/UX 3.1 sh. 1498 cat <<_ACEOF 1499\`configure' configures libxml2 2.9.12 to adapt to many kinds of systems. 1500 1501Usage: $0 [OPTION]... [VAR=VALUE]... 1502 1503To assign environment variables (e.g., CC, CFLAGS...), specify them as 1504VAR=VALUE. See below for descriptions of some of the useful variables. 1505 1506Defaults for the options are specified in brackets. 1507 1508Configuration: 1509 -h, --help display this help and exit 1510 --help=short display options specific to this package 1511 --help=recursive display the short help of all the included packages 1512 -V, --version display version information and exit 1513 -q, --quiet, --silent do not print \`checking ...' messages 1514 --cache-file=FILE cache test results in FILE [disabled] 1515 -C, --config-cache alias for \`--cache-file=config.cache' 1516 -n, --no-create do not create output files 1517 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1518 1519Installation directories: 1520 --prefix=PREFIX install architecture-independent files in PREFIX 1521 [$ac_default_prefix] 1522 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1523 [PREFIX] 1524 1525By default, \`make install' will install all the files in 1526\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1527an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1528for instance \`--prefix=\$HOME'. 1529 1530For better control, use the options below. 1531 1532Fine tuning of the installation directories: 1533 --bindir=DIR user executables [EPREFIX/bin] 1534 --sbindir=DIR system admin executables [EPREFIX/sbin] 1535 --libexecdir=DIR program executables [EPREFIX/libexec] 1536 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1537 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1538 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1539 --libdir=DIR object code libraries [EPREFIX/lib] 1540 --includedir=DIR C header files [PREFIX/include] 1541 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1542 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1543 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1544 --infodir=DIR info documentation [DATAROOTDIR/info] 1545 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1546 --mandir=DIR man documentation [DATAROOTDIR/man] 1547 --docdir=DIR documentation root [DATAROOTDIR/doc/libxml2] 1548 --htmldir=DIR html documentation [DOCDIR] 1549 --dvidir=DIR dvi documentation [DOCDIR] 1550 --pdfdir=DIR pdf documentation [DOCDIR] 1551 --psdir=DIR ps documentation [DOCDIR] 1552_ACEOF 1553 1554 cat <<\_ACEOF 1555 1556Program names: 1557 --program-prefix=PREFIX prepend PREFIX to installed program names 1558 --program-suffix=SUFFIX append SUFFIX to installed program names 1559 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1560 1561System types: 1562 --build=BUILD configure for building on BUILD [guessed] 1563 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1564_ACEOF 1565fi 1566 1567if test -n "$ac_init_help"; then 1568 case $ac_init_help in 1569 short | recursive ) echo "Configuration of libxml2 2.9.12:";; 1570 esac 1571 cat <<\_ACEOF 1572 1573Optional Features: 1574 --disable-option-checking ignore unrecognized --enable/--with options 1575 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1576 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1577 --disable-maintainer-mode 1578 disable make rules and dependencies not useful (and 1579 sometimes confusing) to the casual installer 1580 --enable-silent-rules less verbose build output (undo: "make V=1") 1581 --disable-silent-rules verbose build output (undo: "make V=0") 1582 --enable-dependency-tracking 1583 do not reject slow dependency extractors 1584 --disable-dependency-tracking 1585 speeds up one-time build 1586 --enable-shared[=PKGS] build shared libraries [default=yes] 1587 --enable-static[=PKGS] build static libraries [default=yes] 1588 --enable-fast-install[=PKGS] 1589 optimize for fast installation [default=yes] 1590 --disable-libtool-lock avoid locking (might break parallel builds) 1591 --enable-rebuild-docs[=yes/no] rebuild some generated docs [default=no] 1592 --enable-ipv6[=yes/no] enables compilation of IPv6 code [default=yes] 1593 1594Optional Packages: 1595 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1596 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1597 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1598 both] 1599 --with-aix-soname=aix|svr4|both 1600 shared library versioning (aka "SONAME") variant to 1601 provide on AIX, [default=aix]. 1602 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1603 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1604 compiler's sysroot if not specified). 1605 --with-c14n add the Canonicalization support (on) 1606 --with-catalog add the Catalog support (on) 1607 --with-debug add the debugging module (on) 1608 --with-docbook add Docbook SGML support (on) 1609 --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off) 1610 --with-ftp add the FTP support (on) 1611 --with-history add history support to xmllint shell(off) 1612 --with-html add the HTML support (on) 1613 --with-html-dir=path path to base html directory, default 1614 $datadir/doc/html 1615 --with-html-subdir=path directory used under html-dir, default 1616 $PACKAGE-$VERSION/html 1617 --with-http add the HTTP support (on) 1618 --with-iconv[=DIR] add ICONV support (on) 1619 --with-icu add ICU support (off) 1620 --with-iso8859x add ISO8859X support if no iconv (on) 1621 --with-legacy add deprecated APIs for compatibility (on) 1622 --with-mem-debug add the memory debugging module (off) 1623 --with-minimum build a minimally sized library (off) 1624 --with-output add the serialization support (on) 1625 --with-pattern add the xmlPattern selection interface (on) 1626 --with-push add the PUSH parser interfaces (on) 1627 --with-python[=DIR] build Python bindings if found 1628 --with-python-install-dir=DIR 1629 install Python bindings in DIR 1630 --with-reader add the xmlReader parsing interface (on) 1631 --with-readline=DIR use readline in DIR 1632 --with-regexps add Regular Expressions support (on) 1633 --with-run-debug add the runtime debugging module (off) 1634 --with-sax1 add the older SAX1 interface (on) 1635 --with-schemas add Relax-NG and Schemas support (on) 1636 --with-schematron add Schematron support (on) 1637 --with-threads add multithread support(on) 1638 --with-thread-alloc add per-thread memory(off) 1639 --with-tree add the DOM like tree manipulation APIs (on) 1640 --with-valid add the DTD validation support (on) 1641 --with-writer add the xmlWriter saving interface (on) 1642 --with-xinclude add the XInclude support (on) 1643 --with-xpath add the XPATH support (on) 1644 --with-xptr add the XPointer support (on) 1645 --with-modules add the dynamic modules support (on) 1646 --with-zlib[=DIR] use libz in DIR 1647 --with-lzma[=DIR] use liblzma in DIR 1648 --with-coverage build for code coverage with GCC (off) 1649 1650Some influential environment variables: 1651 CC C compiler command 1652 CFLAGS C compiler flags 1653 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1654 nonstandard directory <lib dir> 1655 LIBS libraries to pass to the linker, e.g. -l<library> 1656 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1657 you have headers in a nonstandard directory <include dir> 1658 CPP C preprocessor 1659 PKG_CONFIG path to pkg-config utility 1660 PKG_CONFIG_PATH 1661 directories to add to pkg-config's search path 1662 PKG_CONFIG_LIBDIR 1663 path overriding pkg-config's built-in search path 1664 LT_SYS_LIBRARY_PATH 1665 User-defined run-time library search path. 1666 Z_CFLAGS C compiler flags for Z, overriding pkg-config 1667 Z_LIBS linker flags for Z, overriding pkg-config 1668 LZMA_CFLAGS C compiler flags for LZMA, overriding pkg-config 1669 LZMA_LIBS linker flags for LZMA, overriding pkg-config 1670 ICU_CFLAGS C compiler flags for ICU, overriding pkg-config 1671 ICU_LIBS linker flags for ICU, overriding pkg-config 1672 1673Use these variables to override the choices made by `configure' or to help 1674it to find libraries and programs with nonstandard names/locations. 1675 1676Report bugs to the package provider. 1677_ACEOF 1678ac_status=$? 1679fi 1680 1681if test "$ac_init_help" = "recursive"; then 1682 # If there are subdirs, report their specific --help. 1683 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1684 test -d "$ac_dir" || 1685 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1686 continue 1687 ac_builddir=. 1688 1689case "$ac_dir" in 1690.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1691*) 1692 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1693 # A ".." for each directory in $ac_dir_suffix. 1694 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1695 case $ac_top_builddir_sub in 1696 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1697 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1698 esac ;; 1699esac 1700ac_abs_top_builddir=$ac_pwd 1701ac_abs_builddir=$ac_pwd$ac_dir_suffix 1702# for backward compatibility: 1703ac_top_builddir=$ac_top_build_prefix 1704 1705case $srcdir in 1706 .) # We are building in place. 1707 ac_srcdir=. 1708 ac_top_srcdir=$ac_top_builddir_sub 1709 ac_abs_top_srcdir=$ac_pwd ;; 1710 [\\/]* | ?:[\\/]* ) # Absolute name. 1711 ac_srcdir=$srcdir$ac_dir_suffix; 1712 ac_top_srcdir=$srcdir 1713 ac_abs_top_srcdir=$srcdir ;; 1714 *) # Relative name. 1715 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1716 ac_top_srcdir=$ac_top_build_prefix$srcdir 1717 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1718esac 1719ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1720 1721 cd "$ac_dir" || { ac_status=$?; continue; } 1722 # Check for guested configure. 1723 if test -f "$ac_srcdir/configure.gnu"; then 1724 echo && 1725 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1726 elif test -f "$ac_srcdir/configure"; then 1727 echo && 1728 $SHELL "$ac_srcdir/configure" --help=recursive 1729 else 1730 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1731 fi || ac_status=$? 1732 cd "$ac_pwd" || { ac_status=$?; break; } 1733 done 1734fi 1735 1736test -n "$ac_init_help" && exit $ac_status 1737if $ac_init_version; then 1738 cat <<\_ACEOF 1739libxml2 configure 2.9.12 1740generated by GNU Autoconf 2.69 1741 1742Copyright (C) 2012 Free Software Foundation, Inc. 1743This configure script is free software; the Free Software Foundation 1744gives unlimited permission to copy, distribute and modify it. 1745_ACEOF 1746 exit 1747fi 1748 1749## ------------------------ ## 1750## Autoconf initialization. ## 1751## ------------------------ ## 1752 1753# ac_fn_c_try_compile LINENO 1754# -------------------------- 1755# Try to compile conftest.$ac_ext, and return whether this succeeded. 1756ac_fn_c_try_compile () 1757{ 1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1759 rm -f conftest.$ac_objext 1760 if { { ac_try="$ac_compile" 1761case "(($ac_try" in 1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1763 *) ac_try_echo=$ac_try;; 1764esac 1765eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1766$as_echo "$ac_try_echo"; } >&5 1767 (eval "$ac_compile") 2>conftest.err 1768 ac_status=$? 1769 if test -s conftest.err; then 1770 grep -v '^ *+' conftest.err >conftest.er1 1771 cat conftest.er1 >&5 1772 mv -f conftest.er1 conftest.err 1773 fi 1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1775 test $ac_status = 0; } && { 1776 test -z "$ac_c_werror_flag" || 1777 test ! -s conftest.err 1778 } && test -s conftest.$ac_objext; then : 1779 ac_retval=0 1780else 1781 $as_echo "$as_me: failed program was:" >&5 1782sed 's/^/| /' conftest.$ac_ext >&5 1783 1784 ac_retval=1 1785fi 1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1787 as_fn_set_status $ac_retval 1788 1789} # ac_fn_c_try_compile 1790 1791# ac_fn_c_try_cpp LINENO 1792# ---------------------- 1793# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1794ac_fn_c_try_cpp () 1795{ 1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1797 if { { ac_try="$ac_cpp conftest.$ac_ext" 1798case "(($ac_try" in 1799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1800 *) ac_try_echo=$ac_try;; 1801esac 1802eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1803$as_echo "$ac_try_echo"; } >&5 1804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1805 ac_status=$? 1806 if test -s conftest.err; then 1807 grep -v '^ *+' conftest.err >conftest.er1 1808 cat conftest.er1 >&5 1809 mv -f conftest.er1 conftest.err 1810 fi 1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1812 test $ac_status = 0; } > conftest.i && { 1813 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1814 test ! -s conftest.err 1815 }; then : 1816 ac_retval=0 1817else 1818 $as_echo "$as_me: failed program was:" >&5 1819sed 's/^/| /' conftest.$ac_ext >&5 1820 1821 ac_retval=1 1822fi 1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1824 as_fn_set_status $ac_retval 1825 1826} # ac_fn_c_try_cpp 1827 1828# ac_fn_c_try_link LINENO 1829# ----------------------- 1830# Try to link conftest.$ac_ext, and return whether this succeeded. 1831ac_fn_c_try_link () 1832{ 1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1834 rm -f conftest.$ac_objext conftest$ac_exeext 1835 if { { ac_try="$ac_link" 1836case "(($ac_try" in 1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1838 *) ac_try_echo=$ac_try;; 1839esac 1840eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1841$as_echo "$ac_try_echo"; } >&5 1842 (eval "$ac_link") 2>conftest.err 1843 ac_status=$? 1844 if test -s conftest.err; then 1845 grep -v '^ *+' conftest.err >conftest.er1 1846 cat conftest.er1 >&5 1847 mv -f conftest.er1 conftest.err 1848 fi 1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1850 test $ac_status = 0; } && { 1851 test -z "$ac_c_werror_flag" || 1852 test ! -s conftest.err 1853 } && test -s conftest$ac_exeext && { 1854 test "$cross_compiling" = yes || 1855 test -x conftest$ac_exeext 1856 }; then : 1857 ac_retval=0 1858else 1859 $as_echo "$as_me: failed program was:" >&5 1860sed 's/^/| /' conftest.$ac_ext >&5 1861 1862 ac_retval=1 1863fi 1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1866 # interfere with the next link command; also delete a directory that is 1867 # left behind by Apple's compiler. We do this before executing the actions. 1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1870 as_fn_set_status $ac_retval 1871 1872} # ac_fn_c_try_link 1873 1874# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1875# ------------------------------------------------------- 1876# Tests whether HEADER exists and can be compiled using the include files in 1877# INCLUDES, setting the cache variable VAR accordingly. 1878ac_fn_c_check_header_compile () 1879{ 1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1882$as_echo_n "checking for $2... " >&6; } 1883if eval \${$3+:} false; then : 1884 $as_echo_n "(cached) " >&6 1885else 1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1887/* end confdefs.h. */ 1888$4 1889#include <$2> 1890_ACEOF 1891if ac_fn_c_try_compile "$LINENO"; then : 1892 eval "$3=yes" 1893else 1894 eval "$3=no" 1895fi 1896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1897fi 1898eval ac_res=\$$3 1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1900$as_echo "$ac_res" >&6; } 1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1902 1903} # ac_fn_c_check_header_compile 1904 1905# ac_fn_c_try_run LINENO 1906# ---------------------- 1907# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1908# that executables *can* be run. 1909ac_fn_c_try_run () 1910{ 1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1912 if { { ac_try="$ac_link" 1913case "(($ac_try" in 1914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1915 *) ac_try_echo=$ac_try;; 1916esac 1917eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1918$as_echo "$ac_try_echo"; } >&5 1919 (eval "$ac_link") 2>&5 1920 ac_status=$? 1921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1922 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1923 { { case "(($ac_try" in 1924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1925 *) ac_try_echo=$ac_try;; 1926esac 1927eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1928$as_echo "$ac_try_echo"; } >&5 1929 (eval "$ac_try") 2>&5 1930 ac_status=$? 1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1932 test $ac_status = 0; }; }; then : 1933 ac_retval=0 1934else 1935 $as_echo "$as_me: program exited with status $ac_status" >&5 1936 $as_echo "$as_me: failed program was:" >&5 1937sed 's/^/| /' conftest.$ac_ext >&5 1938 1939 ac_retval=$ac_status 1940fi 1941 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1943 as_fn_set_status $ac_retval 1944 1945} # ac_fn_c_try_run 1946 1947# ac_fn_c_check_func LINENO FUNC VAR 1948# ---------------------------------- 1949# Tests whether FUNC exists, setting the cache variable VAR accordingly 1950ac_fn_c_check_func () 1951{ 1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1954$as_echo_n "checking for $2... " >&6; } 1955if eval \${$3+:} false; then : 1956 $as_echo_n "(cached) " >&6 1957else 1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1959/* end confdefs.h. */ 1960/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1961 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1962#define $2 innocuous_$2 1963 1964/* System header to define __stub macros and hopefully few prototypes, 1965 which can conflict with char $2 (); below. 1966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1967 <limits.h> exists even on freestanding compilers. */ 1968 1969#ifdef __STDC__ 1970# include <limits.h> 1971#else 1972# include <assert.h> 1973#endif 1974 1975#undef $2 1976 1977/* Override any GCC internal prototype to avoid an error. 1978 Use char because int might match the return type of a GCC 1979 builtin and then its argument prototype would still apply. */ 1980#ifdef __cplusplus 1981extern "C" 1982#endif 1983char $2 (); 1984/* The GNU C library defines this for functions which it implements 1985 to always fail with ENOSYS. Some functions are actually named 1986 something starting with __ and the normal name is an alias. */ 1987#if defined __stub_$2 || defined __stub___$2 1988choke me 1989#endif 1990 1991int 1992main () 1993{ 1994return $2 (); 1995 ; 1996 return 0; 1997} 1998_ACEOF 1999if ac_fn_c_try_link "$LINENO"; then : 2000 eval "$3=yes" 2001else 2002 eval "$3=no" 2003fi 2004rm -f core conftest.err conftest.$ac_objext \ 2005 conftest$ac_exeext conftest.$ac_ext 2006fi 2007eval ac_res=\$$3 2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2009$as_echo "$ac_res" >&6; } 2010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2011 2012} # ac_fn_c_check_func 2013 2014# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2015# ------------------------------------------------------- 2016# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2017# the include files in INCLUDES and setting the cache variable VAR 2018# accordingly. 2019ac_fn_c_check_header_mongrel () 2020{ 2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2022 if eval \${$3+:} false; then : 2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2024$as_echo_n "checking for $2... " >&6; } 2025if eval \${$3+:} false; then : 2026 $as_echo_n "(cached) " >&6 2027fi 2028eval ac_res=\$$3 2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2030$as_echo "$ac_res" >&6; } 2031else 2032 # Is the header compilable? 2033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2034$as_echo_n "checking $2 usability... " >&6; } 2035cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2036/* end confdefs.h. */ 2037$4 2038#include <$2> 2039_ACEOF 2040if ac_fn_c_try_compile "$LINENO"; then : 2041 ac_header_compiler=yes 2042else 2043 ac_header_compiler=no 2044fi 2045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2047$as_echo "$ac_header_compiler" >&6; } 2048 2049# Is the header present? 2050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2051$as_echo_n "checking $2 presence... " >&6; } 2052cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2053/* end confdefs.h. */ 2054#include <$2> 2055_ACEOF 2056if ac_fn_c_try_cpp "$LINENO"; then : 2057 ac_header_preproc=yes 2058else 2059 ac_header_preproc=no 2060fi 2061rm -f conftest.err conftest.i conftest.$ac_ext 2062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2063$as_echo "$ac_header_preproc" >&6; } 2064 2065# So? What about this header? 2066case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2067 yes:no: ) 2068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2069$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2071$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2072 ;; 2073 no:yes:* ) 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2075$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2077$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2079$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2081$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2083$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2084 ;; 2085esac 2086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2087$as_echo_n "checking for $2... " >&6; } 2088if eval \${$3+:} false; then : 2089 $as_echo_n "(cached) " >&6 2090else 2091 eval "$3=\$ac_header_compiler" 2092fi 2093eval ac_res=\$$3 2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2095$as_echo "$ac_res" >&6; } 2096fi 2097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2098 2099} # ac_fn_c_check_header_mongrel 2100 2101# ac_fn_c_find_uintX_t LINENO BITS VAR 2102# ------------------------------------ 2103# Finds an unsigned integer type with width BITS, setting cache variable VAR 2104# accordingly. 2105ac_fn_c_find_uintX_t () 2106{ 2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 2109$as_echo_n "checking for uint$2_t... " >&6; } 2110if eval \${$3+:} false; then : 2111 $as_echo_n "(cached) " >&6 2112else 2113 eval "$3=no" 2114 # Order is important - never check a type that is potentially smaller 2115 # than half of the expected target width. 2116 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 2117 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2119/* end confdefs.h. */ 2120$ac_includes_default 2121int 2122main () 2123{ 2124static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 2125test_array [0] = 0; 2126return test_array [0]; 2127 2128 ; 2129 return 0; 2130} 2131_ACEOF 2132if ac_fn_c_try_compile "$LINENO"; then : 2133 case $ac_type in #( 2134 uint$2_t) : 2135 eval "$3=yes" ;; #( 2136 *) : 2137 eval "$3=\$ac_type" ;; 2138esac 2139fi 2140rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2141 if eval test \"x\$"$3"\" = x"no"; then : 2142 2143else 2144 break 2145fi 2146 done 2147fi 2148eval ac_res=\$$3 2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2150$as_echo "$ac_res" >&6; } 2151 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2152 2153} # ac_fn_c_find_uintX_t 2154cat >config.log <<_ACEOF 2155This file contains any messages produced by compilers while 2156running configure, to aid debugging if configure makes a mistake. 2157 2158It was created by libxml2 $as_me 2.9.12, which was 2159generated by GNU Autoconf 2.69. Invocation command line was 2160 2161 $ $0 $@ 2162 2163_ACEOF 2164exec 5>>config.log 2165{ 2166cat <<_ASUNAME 2167## --------- ## 2168## Platform. ## 2169## --------- ## 2170 2171hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2172uname -m = `(uname -m) 2>/dev/null || echo unknown` 2173uname -r = `(uname -r) 2>/dev/null || echo unknown` 2174uname -s = `(uname -s) 2>/dev/null || echo unknown` 2175uname -v = `(uname -v) 2>/dev/null || echo unknown` 2176 2177/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2178/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2179 2180/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2181/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2182/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2183/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2184/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2185/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2186/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2187 2188_ASUNAME 2189 2190as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2191for as_dir in $PATH 2192do 2193 IFS=$as_save_IFS 2194 test -z "$as_dir" && as_dir=. 2195 $as_echo "PATH: $as_dir" 2196 done 2197IFS=$as_save_IFS 2198 2199} >&5 2200 2201cat >&5 <<_ACEOF 2202 2203 2204## ----------- ## 2205## Core tests. ## 2206## ----------- ## 2207 2208_ACEOF 2209 2210 2211# Keep a trace of the command line. 2212# Strip out --no-create and --no-recursion so they do not pile up. 2213# Strip out --silent because we don't want to record it for future runs. 2214# Also quote any args containing shell meta-characters. 2215# Make two passes to allow for proper duplicate-argument suppression. 2216ac_configure_args= 2217ac_configure_args0= 2218ac_configure_args1= 2219ac_must_keep_next=false 2220for ac_pass in 1 2 2221do 2222 for ac_arg 2223 do 2224 case $ac_arg in 2225 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2226 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2227 | -silent | --silent | --silen | --sile | --sil) 2228 continue ;; 2229 *\'*) 2230 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2231 esac 2232 case $ac_pass in 2233 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2234 2) 2235 as_fn_append ac_configure_args1 " '$ac_arg'" 2236 if test $ac_must_keep_next = true; then 2237 ac_must_keep_next=false # Got value, back to normal. 2238 else 2239 case $ac_arg in 2240 *=* | --config-cache | -C | -disable-* | --disable-* \ 2241 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2242 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2243 | -with-* | --with-* | -without-* | --without-* | --x) 2244 case "$ac_configure_args0 " in 2245 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2246 esac 2247 ;; 2248 -* ) ac_must_keep_next=true ;; 2249 esac 2250 fi 2251 as_fn_append ac_configure_args " '$ac_arg'" 2252 ;; 2253 esac 2254 done 2255done 2256{ ac_configure_args0=; unset ac_configure_args0;} 2257{ ac_configure_args1=; unset ac_configure_args1;} 2258 2259# When interrupted or exit'd, cleanup temporary files, and complete 2260# config.log. We remove comments because anyway the quotes in there 2261# would cause problems or look ugly. 2262# WARNING: Use '\'' to represent an apostrophe within the trap. 2263# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2264trap 'exit_status=$? 2265 # Save into config.log some information that might help in debugging. 2266 { 2267 echo 2268 2269 $as_echo "## ---------------- ## 2270## Cache variables. ## 2271## ---------------- ##" 2272 echo 2273 # The following way of writing the cache mishandles newlines in values, 2274( 2275 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2276 eval ac_val=\$$ac_var 2277 case $ac_val in #( 2278 *${as_nl}*) 2279 case $ac_var in #( 2280 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2281$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2282 esac 2283 case $ac_var in #( 2284 _ | IFS | as_nl) ;; #( 2285 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2286 *) { eval $ac_var=; unset $ac_var;} ;; 2287 esac ;; 2288 esac 2289 done 2290 (set) 2>&1 | 2291 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2292 *${as_nl}ac_space=\ *) 2293 sed -n \ 2294 "s/'\''/'\''\\\\'\'''\''/g; 2295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2296 ;; #( 2297 *) 2298 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2299 ;; 2300 esac | 2301 sort 2302) 2303 echo 2304 2305 $as_echo "## ----------------- ## 2306## Output variables. ## 2307## ----------------- ##" 2308 echo 2309 for ac_var in $ac_subst_vars 2310 do 2311 eval ac_val=\$$ac_var 2312 case $ac_val in 2313 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2314 esac 2315 $as_echo "$ac_var='\''$ac_val'\''" 2316 done | sort 2317 echo 2318 2319 if test -n "$ac_subst_files"; then 2320 $as_echo "## ------------------- ## 2321## File substitutions. ## 2322## ------------------- ##" 2323 echo 2324 for ac_var in $ac_subst_files 2325 do 2326 eval ac_val=\$$ac_var 2327 case $ac_val in 2328 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2329 esac 2330 $as_echo "$ac_var='\''$ac_val'\''" 2331 done | sort 2332 echo 2333 fi 2334 2335 if test -s confdefs.h; then 2336 $as_echo "## ----------- ## 2337## confdefs.h. ## 2338## ----------- ##" 2339 echo 2340 cat confdefs.h 2341 echo 2342 fi 2343 test "$ac_signal" != 0 && 2344 $as_echo "$as_me: caught signal $ac_signal" 2345 $as_echo "$as_me: exit $exit_status" 2346 } >&5 2347 rm -f core *.core core.conftest.* && 2348 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2349 exit $exit_status 2350' 0 2351for ac_signal in 1 2 13 15; do 2352 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2353done 2354ac_signal=0 2355 2356# confdefs.h avoids OS command line length limits that DEFS can exceed. 2357rm -f -r conftest* confdefs.h 2358 2359$as_echo "/* confdefs.h */" > confdefs.h 2360 2361# Predefined preprocessor variables. 2362 2363cat >>confdefs.h <<_ACEOF 2364#define PACKAGE_NAME "$PACKAGE_NAME" 2365_ACEOF 2366 2367cat >>confdefs.h <<_ACEOF 2368#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2369_ACEOF 2370 2371cat >>confdefs.h <<_ACEOF 2372#define PACKAGE_VERSION "$PACKAGE_VERSION" 2373_ACEOF 2374 2375cat >>confdefs.h <<_ACEOF 2376#define PACKAGE_STRING "$PACKAGE_STRING" 2377_ACEOF 2378 2379cat >>confdefs.h <<_ACEOF 2380#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2381_ACEOF 2382 2383cat >>confdefs.h <<_ACEOF 2384#define PACKAGE_URL "$PACKAGE_URL" 2385_ACEOF 2386 2387 2388# Let the site file select an alternate cache file if it wants to. 2389# Prefer an explicitly selected file to automatically selected ones. 2390ac_site_file1=NONE 2391ac_site_file2=NONE 2392if test -n "$CONFIG_SITE"; then 2393 # We do not want a PATH search for config.site. 2394 case $CONFIG_SITE in #(( 2395 -*) ac_site_file1=./$CONFIG_SITE;; 2396 */*) ac_site_file1=$CONFIG_SITE;; 2397 *) ac_site_file1=./$CONFIG_SITE;; 2398 esac 2399elif test "x$prefix" != xNONE; then 2400 ac_site_file1=$prefix/share/config.site 2401 ac_site_file2=$prefix/etc/config.site 2402else 2403 ac_site_file1=$ac_default_prefix/share/config.site 2404 ac_site_file2=$ac_default_prefix/etc/config.site 2405fi 2406for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2407do 2408 test "x$ac_site_file" = xNONE && continue 2409 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2410 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2411$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2412 sed 's/^/| /' "$ac_site_file" >&5 2413 . "$ac_site_file" \ 2414 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2415$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2416as_fn_error $? "failed to load site script $ac_site_file 2417See \`config.log' for more details" "$LINENO" 5; } 2418 fi 2419done 2420 2421if test -r "$cache_file"; then 2422 # Some versions of bash will fail to source /dev/null (special files 2423 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2424 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2425 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2426$as_echo "$as_me: loading cache $cache_file" >&6;} 2427 case $cache_file in 2428 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2429 *) . "./$cache_file";; 2430 esac 2431 fi 2432else 2433 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2434$as_echo "$as_me: creating cache $cache_file" >&6;} 2435 >$cache_file 2436fi 2437 2438# Check that the precious variables saved in the cache have kept the same 2439# value. 2440ac_cache_corrupted=false 2441for ac_var in $ac_precious_vars; do 2442 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2443 eval ac_new_set=\$ac_env_${ac_var}_set 2444 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2445 eval ac_new_val=\$ac_env_${ac_var}_value 2446 case $ac_old_set,$ac_new_set in 2447 set,) 2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2449$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2450 ac_cache_corrupted=: ;; 2451 ,set) 2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2453$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2454 ac_cache_corrupted=: ;; 2455 ,);; 2456 *) 2457 if test "x$ac_old_val" != "x$ac_new_val"; then 2458 # differences in whitespace do not lead to failure. 2459 ac_old_val_w=`echo x $ac_old_val` 2460 ac_new_val_w=`echo x $ac_new_val` 2461 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2463$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2464 ac_cache_corrupted=: 2465 else 2466 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2467$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2468 eval $ac_var=\$ac_old_val 2469 fi 2470 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2471$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2472 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2473$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2474 fi;; 2475 esac 2476 # Pass precious variables to config.status. 2477 if test "$ac_new_set" = set; then 2478 case $ac_new_val in 2479 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2480 *) ac_arg=$ac_var=$ac_new_val ;; 2481 esac 2482 case " $ac_configure_args " in 2483 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2484 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2485 esac 2486 fi 2487done 2488if $ac_cache_corrupted; then 2489 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2490$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2491 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2492$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2493 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2494fi 2495## -------------------- ## 2496## Main body of script. ## 2497## -------------------- ## 2498 2499ac_ext=c 2500ac_cpp='$CPP $CPPFLAGS' 2501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2503ac_compiler_gnu=$ac_cv_c_compiler_gnu 2504 2505 2506 2507ac_config_headers="$ac_config_headers config.h" 2508 2509 2510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2511$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2512 # Check whether --enable-maintainer-mode was given. 2513if test "${enable_maintainer_mode+set}" = set; then : 2514 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2515else 2516 USE_MAINTAINER_MODE=yes 2517fi 2518 2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2520$as_echo "$USE_MAINTAINER_MODE" >&6; } 2521 if test $USE_MAINTAINER_MODE = yes; then 2522 MAINTAINER_MODE_TRUE= 2523 MAINTAINER_MODE_FALSE='#' 2524else 2525 MAINTAINER_MODE_TRUE='#' 2526 MAINTAINER_MODE_FALSE= 2527fi 2528 2529 MAINT=$MAINTAINER_MODE_TRUE 2530 2531 2532 2533ac_aux_dir= 2534for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2535 if test -f "$ac_dir/install-sh"; then 2536 ac_aux_dir=$ac_dir 2537 ac_install_sh="$ac_aux_dir/install-sh -c" 2538 break 2539 elif test -f "$ac_dir/install.sh"; then 2540 ac_aux_dir=$ac_dir 2541 ac_install_sh="$ac_aux_dir/install.sh -c" 2542 break 2543 elif test -f "$ac_dir/shtool"; then 2544 ac_aux_dir=$ac_dir 2545 ac_install_sh="$ac_aux_dir/shtool install -c" 2546 break 2547 fi 2548done 2549if test -z "$ac_aux_dir"; then 2550 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2551fi 2552 2553# These three variables are undocumented and unsupported, 2554# and are intended to be withdrawn in a future Autoconf release. 2555# They can cause serious problems if a builder's source tree is in a directory 2556# whose full name contains unusual characters. 2557ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2558ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2559ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2560 2561 2562# Make sure we can run config.sub. 2563$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2564 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2565 2566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2567$as_echo_n "checking build system type... " >&6; } 2568if ${ac_cv_build+:} false; then : 2569 $as_echo_n "(cached) " >&6 2570else 2571 ac_build_alias=$build_alias 2572test "x$ac_build_alias" = x && 2573 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2574test "x$ac_build_alias" = x && 2575 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2576ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2577 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2578 2579fi 2580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2581$as_echo "$ac_cv_build" >&6; } 2582case $ac_cv_build in 2583*-*-*) ;; 2584*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2585esac 2586build=$ac_cv_build 2587ac_save_IFS=$IFS; IFS='-' 2588set x $ac_cv_build 2589shift 2590build_cpu=$1 2591build_vendor=$2 2592shift; shift 2593# Remember, the first character of IFS is used to create $*, 2594# except with old shells: 2595build_os=$* 2596IFS=$ac_save_IFS 2597case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2598 2599 2600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2601$as_echo_n "checking host system type... " >&6; } 2602if ${ac_cv_host+:} false; then : 2603 $as_echo_n "(cached) " >&6 2604else 2605 if test "x$host_alias" = x; then 2606 ac_cv_host=$ac_cv_build 2607else 2608 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2609 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2610fi 2611 2612fi 2613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2614$as_echo "$ac_cv_host" >&6; } 2615case $ac_cv_host in 2616*-*-*) ;; 2617*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2618esac 2619host=$ac_cv_host 2620ac_save_IFS=$IFS; IFS='-' 2621set x $ac_cv_host 2622shift 2623host_cpu=$1 2624host_vendor=$2 2625shift; shift 2626# Remember, the first character of IFS is used to create $*, 2627# except with old shells: 2628host_os=$* 2629IFS=$ac_save_IFS 2630case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2631 2632 2633 2634LIBXML_MAJOR_VERSION=2 2635LIBXML_MINOR_VERSION=9 2636LIBXML_MICRO_VERSION=12 2637LIBXML_MICRO_VERSION_SUFFIX= 2638LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX 2639LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION 2640 2641LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION` 2642 2643if test -f CVS/Entries ; then 2644 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%` 2645 echo extra=$extra 2646 if test "$extra" != "" 2647 then 2648 LIBXML_VERSION_EXTRA="-CVS$extra" 2649 fi 2650else if test -d .svn ; then 2651 extra=`svn info | grep Revision | sed 's+Revision: ++'` 2652 echo extra=$extra 2653 if test "$extra" != "" 2654 then 2655 LIBXML_VERSION_EXTRA="-SVN$extra" 2656 fi 2657else if test -d .git ; then 2658 extra=`git describe 2>/dev/null | sed 's+LIBXML[0-9.]*-++'` 2659 echo extra=$extra 2660 if test "$extra" != "" 2661 then 2662 LIBXML_VERSION_EXTRA="-GIT$extra" 2663 fi 2664fi 2665fi 2666fi 2667 2668 2669 2670 2671 2672 2673 2674 2675VERSION=${LIBXML_VERSION} 2676 2677am__api_version='1.16' 2678 2679# Find a good install program. We prefer a C program (faster), 2680# so one script is as good as another. But avoid the broken or 2681# incompatible versions: 2682# SysV /etc/install, /usr/sbin/install 2683# SunOS /usr/etc/install 2684# IRIX /sbin/install 2685# AIX /bin/install 2686# AmigaOS /C/install, which installs bootblocks on floppy discs 2687# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2688# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2689# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2690# OS/2's system install, which has a completely different semantic 2691# ./install, which can be erroneously created by make from ./install.sh. 2692# Reject install programs that cannot install multiple files. 2693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2694$as_echo_n "checking for a BSD-compatible install... " >&6; } 2695if test -z "$INSTALL"; then 2696if ${ac_cv_path_install+:} false; then : 2697 $as_echo_n "(cached) " >&6 2698else 2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2700for as_dir in $PATH 2701do 2702 IFS=$as_save_IFS 2703 test -z "$as_dir" && as_dir=. 2704 # Account for people who put trailing slashes in PATH elements. 2705case $as_dir/ in #(( 2706 ./ | .// | /[cC]/* | \ 2707 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2708 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2709 /usr/ucb/* ) ;; 2710 *) 2711 # OSF1 and SCO ODT 3.0 have their own names for install. 2712 # Don't use installbsd from OSF since it installs stuff as root 2713 # by default. 2714 for ac_prog in ginstall scoinst install; do 2715 for ac_exec_ext in '' $ac_executable_extensions; do 2716 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2717 if test $ac_prog = install && 2718 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2719 # AIX install. It has an incompatible calling convention. 2720 : 2721 elif test $ac_prog = install && 2722 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2723 # program-specific install script used by HP pwplus--don't use. 2724 : 2725 else 2726 rm -rf conftest.one conftest.two conftest.dir 2727 echo one > conftest.one 2728 echo two > conftest.two 2729 mkdir conftest.dir 2730 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2731 test -s conftest.one && test -s conftest.two && 2732 test -s conftest.dir/conftest.one && 2733 test -s conftest.dir/conftest.two 2734 then 2735 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2736 break 3 2737 fi 2738 fi 2739 fi 2740 done 2741 done 2742 ;; 2743esac 2744 2745 done 2746IFS=$as_save_IFS 2747 2748rm -rf conftest.one conftest.two conftest.dir 2749 2750fi 2751 if test "${ac_cv_path_install+set}" = set; then 2752 INSTALL=$ac_cv_path_install 2753 else 2754 # As a last resort, use the slow shell script. Don't cache a 2755 # value for INSTALL within a source directory, because that will 2756 # break other packages using the cache if that directory is 2757 # removed, or if the value is a relative name. 2758 INSTALL=$ac_install_sh 2759 fi 2760fi 2761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2762$as_echo "$INSTALL" >&6; } 2763 2764# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2765# It thinks the first close brace ends the variable substitution. 2766test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2767 2768test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2769 2770test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2771 2772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2773$as_echo_n "checking whether build environment is sane... " >&6; } 2774# Reject unsafe characters in $srcdir or the absolute working directory 2775# name. Accept space and tab only in the latter. 2776am_lf=' 2777' 2778case `pwd` in 2779 *[\\\"\#\$\&\'\`$am_lf]*) 2780 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2781esac 2782case $srcdir in 2783 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2784 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2785esac 2786 2787# Do 'set' in a subshell so we don't clobber the current shell's 2788# arguments. Must try -L first in case configure is actually a 2789# symlink; some systems play weird games with the mod time of symlinks 2790# (eg FreeBSD returns the mod time of the symlink's containing 2791# directory). 2792if ( 2793 am_has_slept=no 2794 for am_try in 1 2; do 2795 echo "timestamp, slept: $am_has_slept" > conftest.file 2796 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2797 if test "$*" = "X"; then 2798 # -L didn't work. 2799 set X `ls -t "$srcdir/configure" conftest.file` 2800 fi 2801 if test "$*" != "X $srcdir/configure conftest.file" \ 2802 && test "$*" != "X conftest.file $srcdir/configure"; then 2803 2804 # If neither matched, then we have a broken ls. This can happen 2805 # if, for instance, CONFIG_SHELL is bash and it inherits a 2806 # broken ls alias from the environment. This has actually 2807 # happened. Such a system could not be considered "sane". 2808 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2809 alias in your environment" "$LINENO" 5 2810 fi 2811 if test "$2" = conftest.file || test $am_try -eq 2; then 2812 break 2813 fi 2814 # Just in case. 2815 sleep 1 2816 am_has_slept=yes 2817 done 2818 test "$2" = conftest.file 2819 ) 2820then 2821 # Ok. 2822 : 2823else 2824 as_fn_error $? "newly created file is older than distributed files! 2825Check your system clock" "$LINENO" 5 2826fi 2827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2828$as_echo "yes" >&6; } 2829# If we didn't sleep, we still need to ensure time stamps of config.status and 2830# generated files are strictly newer. 2831am_sleep_pid= 2832if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2833 ( sleep 1 ) & 2834 am_sleep_pid=$! 2835fi 2836 2837rm -f conftest.file 2838 2839test "$program_prefix" != NONE && 2840 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2841# Use a double $ so make ignores it. 2842test "$program_suffix" != NONE && 2843 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2844# Double any \ or $. 2845# By default was `s,x,x', remove it if useless. 2846ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2847program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2848 2849# Expand $ac_aux_dir to an absolute path. 2850am_aux_dir=`cd "$ac_aux_dir" && pwd` 2851 2852if test x"${MISSING+set}" != xset; then 2853 case $am_aux_dir in 2854 *\ * | *\ *) 2855 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2856 *) 2857 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2858 esac 2859fi 2860# Use eval to expand $SHELL 2861if eval "$MISSING --is-lightweight"; then 2862 am_missing_run="$MISSING " 2863else 2864 am_missing_run= 2865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2866$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2867fi 2868 2869if test x"${install_sh+set}" != xset; then 2870 case $am_aux_dir in 2871 *\ * | *\ *) 2872 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2873 *) 2874 install_sh="\${SHELL} $am_aux_dir/install-sh" 2875 esac 2876fi 2877 2878# Installed binaries are usually stripped using 'strip' when the user 2879# run "make install-strip". However 'strip' might not be the right 2880# tool to use in cross-compilation environments, therefore Automake 2881# will honor the 'STRIP' environment variable to overrule this program. 2882if test "$cross_compiling" != no; then 2883 if test -n "$ac_tool_prefix"; then 2884 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2885set dummy ${ac_tool_prefix}strip; ac_word=$2 2886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2887$as_echo_n "checking for $ac_word... " >&6; } 2888if ${ac_cv_prog_STRIP+:} false; then : 2889 $as_echo_n "(cached) " >&6 2890else 2891 if test -n "$STRIP"; then 2892 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2893else 2894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2895for as_dir in $PATH 2896do 2897 IFS=$as_save_IFS 2898 test -z "$as_dir" && as_dir=. 2899 for ac_exec_ext in '' $ac_executable_extensions; do 2900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2901 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2903 break 2 2904 fi 2905done 2906 done 2907IFS=$as_save_IFS 2908 2909fi 2910fi 2911STRIP=$ac_cv_prog_STRIP 2912if test -n "$STRIP"; then 2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2914$as_echo "$STRIP" >&6; } 2915else 2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2917$as_echo "no" >&6; } 2918fi 2919 2920 2921fi 2922if test -z "$ac_cv_prog_STRIP"; then 2923 ac_ct_STRIP=$STRIP 2924 # Extract the first word of "strip", so it can be a program name with args. 2925set dummy strip; ac_word=$2 2926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2927$as_echo_n "checking for $ac_word... " >&6; } 2928if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2929 $as_echo_n "(cached) " >&6 2930else 2931 if test -n "$ac_ct_STRIP"; then 2932 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2933else 2934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2935for as_dir in $PATH 2936do 2937 IFS=$as_save_IFS 2938 test -z "$as_dir" && as_dir=. 2939 for ac_exec_ext in '' $ac_executable_extensions; do 2940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2941 ac_cv_prog_ac_ct_STRIP="strip" 2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2943 break 2 2944 fi 2945done 2946 done 2947IFS=$as_save_IFS 2948 2949fi 2950fi 2951ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2952if test -n "$ac_ct_STRIP"; then 2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2954$as_echo "$ac_ct_STRIP" >&6; } 2955else 2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2957$as_echo "no" >&6; } 2958fi 2959 2960 if test "x$ac_ct_STRIP" = x; then 2961 STRIP=":" 2962 else 2963 case $cross_compiling:$ac_tool_warned in 2964yes:) 2965{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2966$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2967ac_tool_warned=yes ;; 2968esac 2969 STRIP=$ac_ct_STRIP 2970 fi 2971else 2972 STRIP="$ac_cv_prog_STRIP" 2973fi 2974 2975fi 2976INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2977 2978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2979$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2980if test -z "$MKDIR_P"; then 2981 if ${ac_cv_path_mkdir+:} false; then : 2982 $as_echo_n "(cached) " >&6 2983else 2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2985for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2986do 2987 IFS=$as_save_IFS 2988 test -z "$as_dir" && as_dir=. 2989 for ac_prog in mkdir gmkdir; do 2990 for ac_exec_ext in '' $ac_executable_extensions; do 2991 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2992 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2993 'mkdir (GNU coreutils) '* | \ 2994 'mkdir (coreutils) '* | \ 2995 'mkdir (fileutils) '4.1*) 2996 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2997 break 3;; 2998 esac 2999 done 3000 done 3001 done 3002IFS=$as_save_IFS 3003 3004fi 3005 3006 test -d ./--version && rmdir ./--version 3007 if test "${ac_cv_path_mkdir+set}" = set; then 3008 MKDIR_P="$ac_cv_path_mkdir -p" 3009 else 3010 # As a last resort, use the slow shell script. Don't cache a 3011 # value for MKDIR_P within a source directory, because that will 3012 # break other packages using the cache if that directory is 3013 # removed, or if the value is a relative name. 3014 MKDIR_P="$ac_install_sh -d" 3015 fi 3016fi 3017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3018$as_echo "$MKDIR_P" >&6; } 3019 3020for ac_prog in gawk mawk nawk awk 3021do 3022 # Extract the first word of "$ac_prog", so it can be a program name with args. 3023set dummy $ac_prog; ac_word=$2 3024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3025$as_echo_n "checking for $ac_word... " >&6; } 3026if ${ac_cv_prog_AWK+:} false; then : 3027 $as_echo_n "(cached) " >&6 3028else 3029 if test -n "$AWK"; then 3030 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3031else 3032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3033for as_dir in $PATH 3034do 3035 IFS=$as_save_IFS 3036 test -z "$as_dir" && as_dir=. 3037 for ac_exec_ext in '' $ac_executable_extensions; do 3038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3039 ac_cv_prog_AWK="$ac_prog" 3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3041 break 2 3042 fi 3043done 3044 done 3045IFS=$as_save_IFS 3046 3047fi 3048fi 3049AWK=$ac_cv_prog_AWK 3050if test -n "$AWK"; then 3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3052$as_echo "$AWK" >&6; } 3053else 3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3055$as_echo "no" >&6; } 3056fi 3057 3058 3059 test -n "$AWK" && break 3060done 3061 3062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3063$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3064set x ${MAKE-make} 3065ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3066if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3067 $as_echo_n "(cached) " >&6 3068else 3069 cat >conftest.make <<\_ACEOF 3070SHELL = /bin/sh 3071all: 3072 @echo '@@@%%%=$(MAKE)=@@@%%%' 3073_ACEOF 3074# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3075case `${MAKE-make} -f conftest.make 2>/dev/null` in 3076 *@@@%%%=?*=@@@%%%*) 3077 eval ac_cv_prog_make_${ac_make}_set=yes;; 3078 *) 3079 eval ac_cv_prog_make_${ac_make}_set=no;; 3080esac 3081rm -f conftest.make 3082fi 3083if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3085$as_echo "yes" >&6; } 3086 SET_MAKE= 3087else 3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3089$as_echo "no" >&6; } 3090 SET_MAKE="MAKE=${MAKE-make}" 3091fi 3092 3093rm -rf .tst 2>/dev/null 3094mkdir .tst 2>/dev/null 3095if test -d .tst; then 3096 am__leading_dot=. 3097else 3098 am__leading_dot=_ 3099fi 3100rmdir .tst 2>/dev/null 3101 3102# Check whether --enable-silent-rules was given. 3103if test "${enable_silent_rules+set}" = set; then : 3104 enableval=$enable_silent_rules; 3105fi 3106 3107case $enable_silent_rules in # ((( 3108 yes) AM_DEFAULT_VERBOSITY=0;; 3109 no) AM_DEFAULT_VERBOSITY=1;; 3110 *) AM_DEFAULT_VERBOSITY=1;; 3111esac 3112am_make=${MAKE-make} 3113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3114$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3115if ${am_cv_make_support_nested_variables+:} false; then : 3116 $as_echo_n "(cached) " >&6 3117else 3118 if $as_echo 'TRUE=$(BAR$(V)) 3119BAR0=false 3120BAR1=true 3121V=1 3122am__doit: 3123 @$(TRUE) 3124.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3125 am_cv_make_support_nested_variables=yes 3126else 3127 am_cv_make_support_nested_variables=no 3128fi 3129fi 3130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3131$as_echo "$am_cv_make_support_nested_variables" >&6; } 3132if test $am_cv_make_support_nested_variables = yes; then 3133 AM_V='$(V)' 3134 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3135else 3136 AM_V=$AM_DEFAULT_VERBOSITY 3137 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3138fi 3139AM_BACKSLASH='\' 3140 3141if test "`cd $srcdir && pwd`" != "`pwd`"; then 3142 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3143 # is not polluted with repeated "-I." 3144 am__isrc=' -I$(srcdir)' 3145 # test to see if srcdir already configured 3146 if test -f $srcdir/config.status; then 3147 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3148 fi 3149fi 3150 3151# test whether we have cygpath 3152if test -z "$CYGPATH_W"; then 3153 if (cygpath --version) >/dev/null 2>/dev/null; then 3154 CYGPATH_W='cygpath -w' 3155 else 3156 CYGPATH_W=echo 3157 fi 3158fi 3159 3160 3161# Define the identity of the package. 3162 PACKAGE='libxml2' 3163 VERSION='2.9.12' 3164 3165 3166cat >>confdefs.h <<_ACEOF 3167#define PACKAGE "$PACKAGE" 3168_ACEOF 3169 3170 3171cat >>confdefs.h <<_ACEOF 3172#define VERSION "$VERSION" 3173_ACEOF 3174 3175# Some tools Automake needs. 3176 3177ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3178 3179 3180AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3181 3182 3183AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3184 3185 3186AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3187 3188 3189MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3190 3191# For better backward compatibility. To be removed once Automake 1.9.x 3192# dies out for good. For more background, see: 3193# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3194# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3195mkdir_p='$(MKDIR_P)' 3196 3197# We need awk for the "check" target (and possibly the TAP driver). The 3198# system "awk" is bad on some platforms. 3199# Always define AMTAR for backward compatibility. Yes, it's still used 3200# in the wild :-( We should find a proper way to deprecate it ... 3201AMTAR='$${TAR-tar}' 3202 3203 3204# We'll loop over all known methods to create a tar archive until one works. 3205_am_tools='gnutar pax cpio none' 3206 3207am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3208 3209 3210 3211 3212 3213 3214# POSIX will say in a future version that running "rm -f" with no argument 3215# is OK; and we want to be able to make that assumption in our Makefile 3216# recipes. So use an aggressive probe to check that the usage we want is 3217# actually supported "in the wild" to an acceptable degree. 3218# See automake bug#10828. 3219# To make any issue more visible, cause the running configure to be aborted 3220# by default if the 'rm' program in use doesn't match our expectations; the 3221# user can still override this though. 3222if rm -f && rm -fr && rm -rf; then : OK; else 3223 cat >&2 <<'END' 3224Oops! 3225 3226Your 'rm' program seems unable to run without file operands specified 3227on the command line, even when the '-f' option is present. This is contrary 3228to the behaviour of most rm programs out there, and not conforming with 3229the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3230 3231Please tell bug-automake@gnu.org about your system, including the value 3232of your $PATH and any error possibly output before this message. This 3233can help us improve future automake versions. 3234 3235END 3236 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3237 echo 'Configuration will proceed anyway, since you have set the' >&2 3238 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3239 echo >&2 3240 else 3241 cat >&2 <<'END' 3242Aborting the configuration process, to ensure you take notice of the issue. 3243 3244You can download and install GNU coreutils to get an 'rm' implementation 3245that behaves properly: <https://www.gnu.org/software/coreutils/>. 3246 3247If you want to complete the configuration process using your problematic 3248'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3249to "yes", and re-run configure. 3250 3251END 3252 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3253 fi 3254fi 3255 3256 3257# Support silent build rules, requires at least automake-1.11. Disable 3258# by either passing --disable-silent-rules to configure or passing V=1 3259# to make 3260# Check whether --enable-silent-rules was given. 3261if test "${enable_silent_rules+set}" = set; then : 3262 enableval=$enable_silent_rules; 3263fi 3264 3265case $enable_silent_rules in # ((( 3266 yes) AM_DEFAULT_VERBOSITY=0;; 3267 no) AM_DEFAULT_VERBOSITY=1;; 3268 *) AM_DEFAULT_VERBOSITY=0;; 3269esac 3270am_make=${MAKE-make} 3271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3272$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3273if ${am_cv_make_support_nested_variables+:} false; then : 3274 $as_echo_n "(cached) " >&6 3275else 3276 if $as_echo 'TRUE=$(BAR$(V)) 3277BAR0=false 3278BAR1=true 3279V=1 3280am__doit: 3281 @$(TRUE) 3282.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3283 am_cv_make_support_nested_variables=yes 3284else 3285 am_cv_make_support_nested_variables=no 3286fi 3287fi 3288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3289$as_echo "$am_cv_make_support_nested_variables" >&6; } 3290if test $am_cv_make_support_nested_variables = yes; then 3291 AM_V='$(V)' 3292 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3293else 3294 AM_V=$AM_DEFAULT_VERBOSITY 3295 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3296fi 3297AM_BACKSLASH='\' 3298 3299 3300ac_ext=c 3301ac_cpp='$CPP $CPPFLAGS' 3302ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3303ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3304ac_compiler_gnu=$ac_cv_c_compiler_gnu 3305if test -n "$ac_tool_prefix"; then 3306 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3307set dummy ${ac_tool_prefix}gcc; ac_word=$2 3308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3309$as_echo_n "checking for $ac_word... " >&6; } 3310if ${ac_cv_prog_CC+:} false; then : 3311 $as_echo_n "(cached) " >&6 3312else 3313 if test -n "$CC"; then 3314 ac_cv_prog_CC="$CC" # Let the user override the test. 3315else 3316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3317for as_dir in $PATH 3318do 3319 IFS=$as_save_IFS 3320 test -z "$as_dir" && as_dir=. 3321 for ac_exec_ext in '' $ac_executable_extensions; do 3322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3323 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3325 break 2 3326 fi 3327done 3328 done 3329IFS=$as_save_IFS 3330 3331fi 3332fi 3333CC=$ac_cv_prog_CC 3334if test -n "$CC"; then 3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3336$as_echo "$CC" >&6; } 3337else 3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3339$as_echo "no" >&6; } 3340fi 3341 3342 3343fi 3344if test -z "$ac_cv_prog_CC"; then 3345 ac_ct_CC=$CC 3346 # Extract the first word of "gcc", so it can be a program name with args. 3347set dummy gcc; ac_word=$2 3348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3349$as_echo_n "checking for $ac_word... " >&6; } 3350if ${ac_cv_prog_ac_ct_CC+:} false; then : 3351 $as_echo_n "(cached) " >&6 3352else 3353 if test -n "$ac_ct_CC"; then 3354 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3355else 3356as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3357for as_dir in $PATH 3358do 3359 IFS=$as_save_IFS 3360 test -z "$as_dir" && as_dir=. 3361 for ac_exec_ext in '' $ac_executable_extensions; do 3362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3363 ac_cv_prog_ac_ct_CC="gcc" 3364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3365 break 2 3366 fi 3367done 3368 done 3369IFS=$as_save_IFS 3370 3371fi 3372fi 3373ac_ct_CC=$ac_cv_prog_ac_ct_CC 3374if test -n "$ac_ct_CC"; then 3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3376$as_echo "$ac_ct_CC" >&6; } 3377else 3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3379$as_echo "no" >&6; } 3380fi 3381 3382 if test "x$ac_ct_CC" = x; then 3383 CC="" 3384 else 3385 case $cross_compiling:$ac_tool_warned in 3386yes:) 3387{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3388$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3389ac_tool_warned=yes ;; 3390esac 3391 CC=$ac_ct_CC 3392 fi 3393else 3394 CC="$ac_cv_prog_CC" 3395fi 3396 3397if test -z "$CC"; then 3398 if test -n "$ac_tool_prefix"; then 3399 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3400set dummy ${ac_tool_prefix}cc; ac_word=$2 3401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3402$as_echo_n "checking for $ac_word... " >&6; } 3403if ${ac_cv_prog_CC+:} false; then : 3404 $as_echo_n "(cached) " >&6 3405else 3406 if test -n "$CC"; then 3407 ac_cv_prog_CC="$CC" # Let the user override the test. 3408else 3409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3410for as_dir in $PATH 3411do 3412 IFS=$as_save_IFS 3413 test -z "$as_dir" && as_dir=. 3414 for ac_exec_ext in '' $ac_executable_extensions; do 3415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3416 ac_cv_prog_CC="${ac_tool_prefix}cc" 3417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3418 break 2 3419 fi 3420done 3421 done 3422IFS=$as_save_IFS 3423 3424fi 3425fi 3426CC=$ac_cv_prog_CC 3427if test -n "$CC"; then 3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3429$as_echo "$CC" >&6; } 3430else 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3432$as_echo "no" >&6; } 3433fi 3434 3435 3436 fi 3437fi 3438if test -z "$CC"; then 3439 # Extract the first word of "cc", so it can be a program name with args. 3440set dummy cc; ac_word=$2 3441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3442$as_echo_n "checking for $ac_word... " >&6; } 3443if ${ac_cv_prog_CC+:} false; then : 3444 $as_echo_n "(cached) " >&6 3445else 3446 if test -n "$CC"; then 3447 ac_cv_prog_CC="$CC" # Let the user override the test. 3448else 3449 ac_prog_rejected=no 3450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3451for as_dir in $PATH 3452do 3453 IFS=$as_save_IFS 3454 test -z "$as_dir" && as_dir=. 3455 for ac_exec_ext in '' $ac_executable_extensions; do 3456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3457 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3458 ac_prog_rejected=yes 3459 continue 3460 fi 3461 ac_cv_prog_CC="cc" 3462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3463 break 2 3464 fi 3465done 3466 done 3467IFS=$as_save_IFS 3468 3469if test $ac_prog_rejected = yes; then 3470 # We found a bogon in the path, so make sure we never use it. 3471 set dummy $ac_cv_prog_CC 3472 shift 3473 if test $# != 0; then 3474 # We chose a different compiler from the bogus one. 3475 # However, it has the same basename, so the bogon will be chosen 3476 # first if we set CC to just the basename; use the full file name. 3477 shift 3478 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3479 fi 3480fi 3481fi 3482fi 3483CC=$ac_cv_prog_CC 3484if test -n "$CC"; then 3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3486$as_echo "$CC" >&6; } 3487else 3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3489$as_echo "no" >&6; } 3490fi 3491 3492 3493fi 3494if test -z "$CC"; then 3495 if test -n "$ac_tool_prefix"; then 3496 for ac_prog in cl.exe 3497 do 3498 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3499set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3501$as_echo_n "checking for $ac_word... " >&6; } 3502if ${ac_cv_prog_CC+:} false; then : 3503 $as_echo_n "(cached) " >&6 3504else 3505 if test -n "$CC"; then 3506 ac_cv_prog_CC="$CC" # Let the user override the test. 3507else 3508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3509for as_dir in $PATH 3510do 3511 IFS=$as_save_IFS 3512 test -z "$as_dir" && as_dir=. 3513 for ac_exec_ext in '' $ac_executable_extensions; do 3514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3515 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3517 break 2 3518 fi 3519done 3520 done 3521IFS=$as_save_IFS 3522 3523fi 3524fi 3525CC=$ac_cv_prog_CC 3526if test -n "$CC"; then 3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3528$as_echo "$CC" >&6; } 3529else 3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3531$as_echo "no" >&6; } 3532fi 3533 3534 3535 test -n "$CC" && break 3536 done 3537fi 3538if test -z "$CC"; then 3539 ac_ct_CC=$CC 3540 for ac_prog in cl.exe 3541do 3542 # Extract the first word of "$ac_prog", so it can be a program name with args. 3543set dummy $ac_prog; ac_word=$2 3544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3545$as_echo_n "checking for $ac_word... " >&6; } 3546if ${ac_cv_prog_ac_ct_CC+:} false; then : 3547 $as_echo_n "(cached) " >&6 3548else 3549 if test -n "$ac_ct_CC"; then 3550 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3551else 3552as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3553for as_dir in $PATH 3554do 3555 IFS=$as_save_IFS 3556 test -z "$as_dir" && as_dir=. 3557 for ac_exec_ext in '' $ac_executable_extensions; do 3558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3559 ac_cv_prog_ac_ct_CC="$ac_prog" 3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3561 break 2 3562 fi 3563done 3564 done 3565IFS=$as_save_IFS 3566 3567fi 3568fi 3569ac_ct_CC=$ac_cv_prog_ac_ct_CC 3570if test -n "$ac_ct_CC"; then 3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3572$as_echo "$ac_ct_CC" >&6; } 3573else 3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3575$as_echo "no" >&6; } 3576fi 3577 3578 3579 test -n "$ac_ct_CC" && break 3580done 3581 3582 if test "x$ac_ct_CC" = x; then 3583 CC="" 3584 else 3585 case $cross_compiling:$ac_tool_warned in 3586yes:) 3587{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3588$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3589ac_tool_warned=yes ;; 3590esac 3591 CC=$ac_ct_CC 3592 fi 3593fi 3594 3595fi 3596 3597 3598test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3599$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3600as_fn_error $? "no acceptable C compiler found in \$PATH 3601See \`config.log' for more details" "$LINENO" 5; } 3602 3603# Provide some information about the compiler. 3604$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3605set X $ac_compile 3606ac_compiler=$2 3607for ac_option in --version -v -V -qversion; do 3608 { { ac_try="$ac_compiler $ac_option >&5" 3609case "(($ac_try" in 3610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3611 *) ac_try_echo=$ac_try;; 3612esac 3613eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3614$as_echo "$ac_try_echo"; } >&5 3615 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3616 ac_status=$? 3617 if test -s conftest.err; then 3618 sed '10a\ 3619... rest of stderr output deleted ... 3620 10q' conftest.err >conftest.er1 3621 cat conftest.er1 >&5 3622 fi 3623 rm -f conftest.er1 conftest.err 3624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3625 test $ac_status = 0; } 3626done 3627 3628cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3629/* end confdefs.h. */ 3630 3631int 3632main () 3633{ 3634 3635 ; 3636 return 0; 3637} 3638_ACEOF 3639ac_clean_files_save=$ac_clean_files 3640ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3641# Try to create an executable without -o first, disregard a.out. 3642# It will help us diagnose broken compilers, and finding out an intuition 3643# of exeext. 3644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3645$as_echo_n "checking whether the C compiler works... " >&6; } 3646ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3647 3648# The possible output files: 3649ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3650 3651ac_rmfiles= 3652for ac_file in $ac_files 3653do 3654 case $ac_file in 3655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3656 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3657 esac 3658done 3659rm -f $ac_rmfiles 3660 3661if { { ac_try="$ac_link_default" 3662case "(($ac_try" in 3663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3664 *) ac_try_echo=$ac_try;; 3665esac 3666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3667$as_echo "$ac_try_echo"; } >&5 3668 (eval "$ac_link_default") 2>&5 3669 ac_status=$? 3670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3671 test $ac_status = 0; }; then : 3672 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3673# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3674# in a Makefile. We should not override ac_cv_exeext if it was cached, 3675# so that the user can short-circuit this test for compilers unknown to 3676# Autoconf. 3677for ac_file in $ac_files '' 3678do 3679 test -f "$ac_file" || continue 3680 case $ac_file in 3681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3682 ;; 3683 [ab].out ) 3684 # We found the default executable, but exeext='' is most 3685 # certainly right. 3686 break;; 3687 *.* ) 3688 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3689 then :; else 3690 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3691 fi 3692 # We set ac_cv_exeext here because the later test for it is not 3693 # safe: cross compilers may not add the suffix if given an `-o' 3694 # argument, so we may need to know it at that point already. 3695 # Even if this section looks crufty: it has the advantage of 3696 # actually working. 3697 break;; 3698 * ) 3699 break;; 3700 esac 3701done 3702test "$ac_cv_exeext" = no && ac_cv_exeext= 3703 3704else 3705 ac_file='' 3706fi 3707if test -z "$ac_file"; then : 3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3709$as_echo "no" >&6; } 3710$as_echo "$as_me: failed program was:" >&5 3711sed 's/^/| /' conftest.$ac_ext >&5 3712 3713{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3714$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3715as_fn_error 77 "C compiler cannot create executables 3716See \`config.log' for more details" "$LINENO" 5; } 3717else 3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3719$as_echo "yes" >&6; } 3720fi 3721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3722$as_echo_n "checking for C compiler default output file name... " >&6; } 3723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3724$as_echo "$ac_file" >&6; } 3725ac_exeext=$ac_cv_exeext 3726 3727rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3728ac_clean_files=$ac_clean_files_save 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3730$as_echo_n "checking for suffix of executables... " >&6; } 3731if { { ac_try="$ac_link" 3732case "(($ac_try" in 3733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3734 *) ac_try_echo=$ac_try;; 3735esac 3736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3737$as_echo "$ac_try_echo"; } >&5 3738 (eval "$ac_link") 2>&5 3739 ac_status=$? 3740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3741 test $ac_status = 0; }; then : 3742 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3743# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3744# work properly (i.e., refer to `conftest.exe'), while it won't with 3745# `rm'. 3746for ac_file in conftest.exe conftest conftest.*; do 3747 test -f "$ac_file" || continue 3748 case $ac_file in 3749 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3750 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3751 break;; 3752 * ) break;; 3753 esac 3754done 3755else 3756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3757$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3758as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3759See \`config.log' for more details" "$LINENO" 5; } 3760fi 3761rm -f conftest conftest$ac_cv_exeext 3762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3763$as_echo "$ac_cv_exeext" >&6; } 3764 3765rm -f conftest.$ac_ext 3766EXEEXT=$ac_cv_exeext 3767ac_exeext=$EXEEXT 3768cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3769/* end confdefs.h. */ 3770#include <stdio.h> 3771int 3772main () 3773{ 3774FILE *f = fopen ("conftest.out", "w"); 3775 return ferror (f) || fclose (f) != 0; 3776 3777 ; 3778 return 0; 3779} 3780_ACEOF 3781ac_clean_files="$ac_clean_files conftest.out" 3782# Check that the compiler produces executables we can run. If not, either 3783# the compiler is broken, or we cross compile. 3784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3785$as_echo_n "checking whether we are cross compiling... " >&6; } 3786if test "$cross_compiling" != yes; then 3787 { { ac_try="$ac_link" 3788case "(($ac_try" in 3789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3790 *) ac_try_echo=$ac_try;; 3791esac 3792eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3793$as_echo "$ac_try_echo"; } >&5 3794 (eval "$ac_link") 2>&5 3795 ac_status=$? 3796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3797 test $ac_status = 0; } 3798 if { ac_try='./conftest$ac_cv_exeext' 3799 { { case "(($ac_try" in 3800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3801 *) ac_try_echo=$ac_try;; 3802esac 3803eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3804$as_echo "$ac_try_echo"; } >&5 3805 (eval "$ac_try") 2>&5 3806 ac_status=$? 3807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3808 test $ac_status = 0; }; }; then 3809 cross_compiling=no 3810 else 3811 if test "$cross_compiling" = maybe; then 3812 cross_compiling=yes 3813 else 3814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3815$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3816as_fn_error $? "cannot run C compiled programs. 3817If you meant to cross compile, use \`--host'. 3818See \`config.log' for more details" "$LINENO" 5; } 3819 fi 3820 fi 3821fi 3822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3823$as_echo "$cross_compiling" >&6; } 3824 3825rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3826ac_clean_files=$ac_clean_files_save 3827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3828$as_echo_n "checking for suffix of object files... " >&6; } 3829if ${ac_cv_objext+:} false; then : 3830 $as_echo_n "(cached) " >&6 3831else 3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3833/* end confdefs.h. */ 3834 3835int 3836main () 3837{ 3838 3839 ; 3840 return 0; 3841} 3842_ACEOF 3843rm -f conftest.o conftest.obj 3844if { { ac_try="$ac_compile" 3845case "(($ac_try" in 3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3847 *) ac_try_echo=$ac_try;; 3848esac 3849eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3850$as_echo "$ac_try_echo"; } >&5 3851 (eval "$ac_compile") 2>&5 3852 ac_status=$? 3853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3854 test $ac_status = 0; }; then : 3855 for ac_file in conftest.o conftest.obj conftest.*; do 3856 test -f "$ac_file" || continue; 3857 case $ac_file in 3858 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3859 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3860 break;; 3861 esac 3862done 3863else 3864 $as_echo "$as_me: failed program was:" >&5 3865sed 's/^/| /' conftest.$ac_ext >&5 3866 3867{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3868$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3869as_fn_error $? "cannot compute suffix of object files: cannot compile 3870See \`config.log' for more details" "$LINENO" 5; } 3871fi 3872rm -f conftest.$ac_cv_objext conftest.$ac_ext 3873fi 3874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3875$as_echo "$ac_cv_objext" >&6; } 3876OBJEXT=$ac_cv_objext 3877ac_objext=$OBJEXT 3878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3879$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3880if ${ac_cv_c_compiler_gnu+:} false; then : 3881 $as_echo_n "(cached) " >&6 3882else 3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3884/* end confdefs.h. */ 3885 3886int 3887main () 3888{ 3889#ifndef __GNUC__ 3890 choke me 3891#endif 3892 3893 ; 3894 return 0; 3895} 3896_ACEOF 3897if ac_fn_c_try_compile "$LINENO"; then : 3898 ac_compiler_gnu=yes 3899else 3900 ac_compiler_gnu=no 3901fi 3902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3903ac_cv_c_compiler_gnu=$ac_compiler_gnu 3904 3905fi 3906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3907$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3908if test $ac_compiler_gnu = yes; then 3909 GCC=yes 3910else 3911 GCC= 3912fi 3913ac_test_CFLAGS=${CFLAGS+set} 3914ac_save_CFLAGS=$CFLAGS 3915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3916$as_echo_n "checking whether $CC accepts -g... " >&6; } 3917if ${ac_cv_prog_cc_g+:} false; then : 3918 $as_echo_n "(cached) " >&6 3919else 3920 ac_save_c_werror_flag=$ac_c_werror_flag 3921 ac_c_werror_flag=yes 3922 ac_cv_prog_cc_g=no 3923 CFLAGS="-g" 3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3925/* end confdefs.h. */ 3926 3927int 3928main () 3929{ 3930 3931 ; 3932 return 0; 3933} 3934_ACEOF 3935if ac_fn_c_try_compile "$LINENO"; then : 3936 ac_cv_prog_cc_g=yes 3937else 3938 CFLAGS="" 3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3940/* end confdefs.h. */ 3941 3942int 3943main () 3944{ 3945 3946 ; 3947 return 0; 3948} 3949_ACEOF 3950if ac_fn_c_try_compile "$LINENO"; then : 3951 3952else 3953 ac_c_werror_flag=$ac_save_c_werror_flag 3954 CFLAGS="-g" 3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3956/* end confdefs.h. */ 3957 3958int 3959main () 3960{ 3961 3962 ; 3963 return 0; 3964} 3965_ACEOF 3966if ac_fn_c_try_compile "$LINENO"; then : 3967 ac_cv_prog_cc_g=yes 3968fi 3969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3970fi 3971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3972fi 3973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3974 ac_c_werror_flag=$ac_save_c_werror_flag 3975fi 3976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3977$as_echo "$ac_cv_prog_cc_g" >&6; } 3978if test "$ac_test_CFLAGS" = set; then 3979 CFLAGS=$ac_save_CFLAGS 3980elif test $ac_cv_prog_cc_g = yes; then 3981 if test "$GCC" = yes; then 3982 CFLAGS="-g -O2" 3983 else 3984 CFLAGS="-g" 3985 fi 3986else 3987 if test "$GCC" = yes; then 3988 CFLAGS="-O2" 3989 else 3990 CFLAGS= 3991 fi 3992fi 3993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3994$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3995if ${ac_cv_prog_cc_c89+:} false; then : 3996 $as_echo_n "(cached) " >&6 3997else 3998 ac_cv_prog_cc_c89=no 3999ac_save_CC=$CC 4000cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4001/* end confdefs.h. */ 4002#include <stdarg.h> 4003#include <stdio.h> 4004struct stat; 4005/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4006struct buf { int x; }; 4007FILE * (*rcsopen) (struct buf *, struct stat *, int); 4008static char *e (p, i) 4009 char **p; 4010 int i; 4011{ 4012 return p[i]; 4013} 4014static char *f (char * (*g) (char **, int), char **p, ...) 4015{ 4016 char *s; 4017 va_list v; 4018 va_start (v,p); 4019 s = g (p, va_arg (v,int)); 4020 va_end (v); 4021 return s; 4022} 4023 4024/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4025 function prototypes and stuff, but not '\xHH' hex character constants. 4026 These don't provoke an error unfortunately, instead are silently treated 4027 as 'x'. The following induces an error, until -std is added to get 4028 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4029 array size at least. It's necessary to write '\x00'==0 to get something 4030 that's true only with -std. */ 4031int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4032 4033/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4034 inside strings and character constants. */ 4035#define FOO(x) 'x' 4036int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4037 4038int test (int i, double x); 4039struct s1 {int (*f) (int a);}; 4040struct s2 {int (*f) (double a);}; 4041int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4042int argc; 4043char **argv; 4044int 4045main () 4046{ 4047return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4048 ; 4049 return 0; 4050} 4051_ACEOF 4052for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4053 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4054do 4055 CC="$ac_save_CC $ac_arg" 4056 if ac_fn_c_try_compile "$LINENO"; then : 4057 ac_cv_prog_cc_c89=$ac_arg 4058fi 4059rm -f core conftest.err conftest.$ac_objext 4060 test "x$ac_cv_prog_cc_c89" != "xno" && break 4061done 4062rm -f conftest.$ac_ext 4063CC=$ac_save_CC 4064 4065fi 4066# AC_CACHE_VAL 4067case "x$ac_cv_prog_cc_c89" in 4068 x) 4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4070$as_echo "none needed" >&6; } ;; 4071 xno) 4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4073$as_echo "unsupported" >&6; } ;; 4074 *) 4075 CC="$CC $ac_cv_prog_cc_c89" 4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4077$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4078esac 4079if test "x$ac_cv_prog_cc_c89" != xno; then : 4080 4081fi 4082 4083ac_ext=c 4084ac_cpp='$CPP $CPPFLAGS' 4085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4087ac_compiler_gnu=$ac_cv_c_compiler_gnu 4088 4089ac_ext=c 4090ac_cpp='$CPP $CPPFLAGS' 4091ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4092ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4093ac_compiler_gnu=$ac_cv_c_compiler_gnu 4094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4095$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4096if ${am_cv_prog_cc_c_o+:} false; then : 4097 $as_echo_n "(cached) " >&6 4098else 4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4100/* end confdefs.h. */ 4101 4102int 4103main () 4104{ 4105 4106 ; 4107 return 0; 4108} 4109_ACEOF 4110 # Make sure it works both with $CC and with simple cc. 4111 # Following AC_PROG_CC_C_O, we do the test twice because some 4112 # compilers refuse to overwrite an existing .o file with -o, 4113 # though they will create one. 4114 am_cv_prog_cc_c_o=yes 4115 for am_i in 1 2; do 4116 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4117 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4118 ac_status=$? 4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4120 (exit $ac_status); } \ 4121 && test -f conftest2.$ac_objext; then 4122 : OK 4123 else 4124 am_cv_prog_cc_c_o=no 4125 break 4126 fi 4127 done 4128 rm -f core conftest* 4129 unset am_i 4130fi 4131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4132$as_echo "$am_cv_prog_cc_c_o" >&6; } 4133if test "$am_cv_prog_cc_c_o" != yes; then 4134 # Losing compiler, so override with the script. 4135 # FIXME: It is wrong to rewrite CC. 4136 # But if we don't then we get into trouble of one sort or another. 4137 # A longer-term fix would be to have automake use am__CC in this case, 4138 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4139 CC="$am_aux_dir/compile $CC" 4140fi 4141ac_ext=c 4142ac_cpp='$CPP $CPPFLAGS' 4143ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4144ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4145ac_compiler_gnu=$ac_cv_c_compiler_gnu 4146 4147DEPDIR="${am__leading_dot}deps" 4148 4149ac_config_commands="$ac_config_commands depfiles" 4150 4151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 4152$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 4153cat > confinc.mk << 'END' 4154am__doit: 4155 @echo this is the am__doit target >confinc.out 4156.PHONY: am__doit 4157END 4158am__include="#" 4159am__quote= 4160# BSD make does it like this. 4161echo '.include "confinc.mk" # ignored' > confmf.BSD 4162# Other make implementations (GNU, Solaris 10, AIX) do it like this. 4163echo 'include confinc.mk # ignored' > confmf.GNU 4164_am_result=no 4165for s in GNU BSD; do 4166 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 4167 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 4168 ac_status=$? 4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4170 (exit $ac_status); } 4171 case $?:`cat confinc.out 2>/dev/null` in #( 4172 '0:this is the am__doit target') : 4173 case $s in #( 4174 BSD) : 4175 am__include='.include' am__quote='"' ;; #( 4176 *) : 4177 am__include='include' am__quote='' ;; 4178esac ;; #( 4179 *) : 4180 ;; 4181esac 4182 if test "$am__include" != "#"; then 4183 _am_result="yes ($s style)" 4184 break 4185 fi 4186done 4187rm -f confinc.* confmf.* 4188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 4189$as_echo "${_am_result}" >&6; } 4190 4191# Check whether --enable-dependency-tracking was given. 4192if test "${enable_dependency_tracking+set}" = set; then : 4193 enableval=$enable_dependency_tracking; 4194fi 4195 4196if test "x$enable_dependency_tracking" != xno; then 4197 am_depcomp="$ac_aux_dir/depcomp" 4198 AMDEPBACKSLASH='\' 4199 am__nodep='_no' 4200fi 4201 if test "x$enable_dependency_tracking" != xno; then 4202 AMDEP_TRUE= 4203 AMDEP_FALSE='#' 4204else 4205 AMDEP_TRUE='#' 4206 AMDEP_FALSE= 4207fi 4208 4209 4210 4211depcc="$CC" am_compiler_list= 4212 4213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4214$as_echo_n "checking dependency style of $depcc... " >&6; } 4215if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4216 $as_echo_n "(cached) " >&6 4217else 4218 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4219 # We make a subdir and do the tests there. Otherwise we can end up 4220 # making bogus files that we don't know about and never remove. For 4221 # instance it was reported that on HP-UX the gcc test will end up 4222 # making a dummy file named 'D' -- because '-MD' means "put the output 4223 # in D". 4224 rm -rf conftest.dir 4225 mkdir conftest.dir 4226 # Copy depcomp to subdir because otherwise we won't find it if we're 4227 # using a relative directory. 4228 cp "$am_depcomp" conftest.dir 4229 cd conftest.dir 4230 # We will build objects and dependencies in a subdirectory because 4231 # it helps to detect inapplicable dependency modes. For instance 4232 # both Tru64's cc and ICC support -MD to output dependencies as a 4233 # side effect of compilation, but ICC will put the dependencies in 4234 # the current directory while Tru64 will put them in the object 4235 # directory. 4236 mkdir sub 4237 4238 am_cv_CC_dependencies_compiler_type=none 4239 if test "$am_compiler_list" = ""; then 4240 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4241 fi 4242 am__universal=false 4243 case " $depcc " in #( 4244 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4245 esac 4246 4247 for depmode in $am_compiler_list; do 4248 # Setup a source with many dependencies, because some compilers 4249 # like to wrap large dependency lists on column 80 (with \), and 4250 # we should not choose a depcomp mode which is confused by this. 4251 # 4252 # We need to recreate these files for each test, as the compiler may 4253 # overwrite some of them when testing with obscure command lines. 4254 # This happens at least with the AIX C compiler. 4255 : > sub/conftest.c 4256 for i in 1 2 3 4 5 6; do 4257 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4258 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4259 # Solaris 10 /bin/sh. 4260 echo '/* dummy */' > sub/conftst$i.h 4261 done 4262 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4263 4264 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4265 # mode. It turns out that the SunPro C++ compiler does not properly 4266 # handle '-M -o', and we need to detect this. Also, some Intel 4267 # versions had trouble with output in subdirs. 4268 am__obj=sub/conftest.${OBJEXT-o} 4269 am__minus_obj="-o $am__obj" 4270 case $depmode in 4271 gcc) 4272 # This depmode causes a compiler race in universal mode. 4273 test "$am__universal" = false || continue 4274 ;; 4275 nosideeffect) 4276 # After this tag, mechanisms are not by side-effect, so they'll 4277 # only be used when explicitly requested. 4278 if test "x$enable_dependency_tracking" = xyes; then 4279 continue 4280 else 4281 break 4282 fi 4283 ;; 4284 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4285 # This compiler won't grok '-c -o', but also, the minuso test has 4286 # not run yet. These depmodes are late enough in the game, and 4287 # so weak that their functioning should not be impacted. 4288 am__obj=conftest.${OBJEXT-o} 4289 am__minus_obj= 4290 ;; 4291 none) break ;; 4292 esac 4293 if depmode=$depmode \ 4294 source=sub/conftest.c object=$am__obj \ 4295 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4296 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4297 >/dev/null 2>conftest.err && 4298 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4299 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4300 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4301 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4302 # icc doesn't choke on unknown options, it will just issue warnings 4303 # or remarks (even with -Werror). So we grep stderr for any message 4304 # that says an option was ignored or not supported. 4305 # When given -MP, icc 7.0 and 7.1 complain thusly: 4306 # icc: Command line warning: ignoring option '-M'; no argument required 4307 # The diagnosis changed in icc 8.0: 4308 # icc: Command line remark: option '-MP' not supported 4309 if (grep 'ignoring option' conftest.err || 4310 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4311 am_cv_CC_dependencies_compiler_type=$depmode 4312 break 4313 fi 4314 fi 4315 done 4316 4317 cd .. 4318 rm -rf conftest.dir 4319else 4320 am_cv_CC_dependencies_compiler_type=none 4321fi 4322 4323fi 4324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4325$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4326CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4327 4328 if 4329 test "x$enable_dependency_tracking" != xno \ 4330 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4331 am__fastdepCC_TRUE= 4332 am__fastdepCC_FALSE='#' 4333else 4334 am__fastdepCC_TRUE='#' 4335 am__fastdepCC_FALSE= 4336fi 4337 4338 4339 4340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4341$as_echo_n "checking whether ln -s works... " >&6; } 4342LN_S=$as_ln_s 4343if test "$LN_S" = "ln -s"; then 4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4345$as_echo "yes" >&6; } 4346else 4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4348$as_echo "no, using $LN_S" >&6; } 4349fi 4350 4351 4352ac_ext=c 4353ac_cpp='$CPP $CPPFLAGS' 4354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4356ac_compiler_gnu=$ac_cv_c_compiler_gnu 4357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4358$as_echo_n "checking how to run the C preprocessor... " >&6; } 4359# On Suns, sometimes $CPP names a directory. 4360if test -n "$CPP" && test -d "$CPP"; then 4361 CPP= 4362fi 4363if test -z "$CPP"; then 4364 if ${ac_cv_prog_CPP+:} false; then : 4365 $as_echo_n "(cached) " >&6 4366else 4367 # Double quotes because CPP needs to be expanded 4368 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4369 do 4370 ac_preproc_ok=false 4371for ac_c_preproc_warn_flag in '' yes 4372do 4373 # Use a header file that comes with gcc, so configuring glibc 4374 # with a fresh cross-compiler works. 4375 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4376 # <limits.h> exists even on freestanding compilers. 4377 # On the NeXT, cc -E runs the code through the compiler's parser, 4378 # not just through cpp. "Syntax error" is here to catch this case. 4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4380/* end confdefs.h. */ 4381#ifdef __STDC__ 4382# include <limits.h> 4383#else 4384# include <assert.h> 4385#endif 4386 Syntax error 4387_ACEOF 4388if ac_fn_c_try_cpp "$LINENO"; then : 4389 4390else 4391 # Broken: fails on valid input. 4392continue 4393fi 4394rm -f conftest.err conftest.i conftest.$ac_ext 4395 4396 # OK, works on sane cases. Now check whether nonexistent headers 4397 # can be detected and how. 4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4399/* end confdefs.h. */ 4400#include <ac_nonexistent.h> 4401_ACEOF 4402if ac_fn_c_try_cpp "$LINENO"; then : 4403 # Broken: success on invalid input. 4404continue 4405else 4406 # Passes both tests. 4407ac_preproc_ok=: 4408break 4409fi 4410rm -f conftest.err conftest.i conftest.$ac_ext 4411 4412done 4413# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4414rm -f conftest.i conftest.err conftest.$ac_ext 4415if $ac_preproc_ok; then : 4416 break 4417fi 4418 4419 done 4420 ac_cv_prog_CPP=$CPP 4421 4422fi 4423 CPP=$ac_cv_prog_CPP 4424else 4425 ac_cv_prog_CPP=$CPP 4426fi 4427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4428$as_echo "$CPP" >&6; } 4429ac_preproc_ok=false 4430for ac_c_preproc_warn_flag in '' yes 4431do 4432 # Use a header file that comes with gcc, so configuring glibc 4433 # with a fresh cross-compiler works. 4434 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4435 # <limits.h> exists even on freestanding compilers. 4436 # On the NeXT, cc -E runs the code through the compiler's parser, 4437 # not just through cpp. "Syntax error" is here to catch this case. 4438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4439/* end confdefs.h. */ 4440#ifdef __STDC__ 4441# include <limits.h> 4442#else 4443# include <assert.h> 4444#endif 4445 Syntax error 4446_ACEOF 4447if ac_fn_c_try_cpp "$LINENO"; then : 4448 4449else 4450 # Broken: fails on valid input. 4451continue 4452fi 4453rm -f conftest.err conftest.i conftest.$ac_ext 4454 4455 # OK, works on sane cases. Now check whether nonexistent headers 4456 # can be detected and how. 4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4458/* end confdefs.h. */ 4459#include <ac_nonexistent.h> 4460_ACEOF 4461if ac_fn_c_try_cpp "$LINENO"; then : 4462 # Broken: success on invalid input. 4463continue 4464else 4465 # Passes both tests. 4466ac_preproc_ok=: 4467break 4468fi 4469rm -f conftest.err conftest.i conftest.$ac_ext 4470 4471done 4472# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4473rm -f conftest.i conftest.err conftest.$ac_ext 4474if $ac_preproc_ok; then : 4475 4476else 4477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4478$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4479as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4480See \`config.log' for more details" "$LINENO" 5; } 4481fi 4482 4483ac_ext=c 4484ac_cpp='$CPP $CPPFLAGS' 4485ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4486ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4487ac_compiler_gnu=$ac_cv_c_compiler_gnu 4488 4489# Extract the first word of "mv", so it can be a program name with args. 4490set dummy mv; ac_word=$2 4491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4492$as_echo_n "checking for $ac_word... " >&6; } 4493if ${ac_cv_path_MV+:} false; then : 4494 $as_echo_n "(cached) " >&6 4495else 4496 case $MV in 4497 [\\/]* | ?:[\\/]*) 4498 ac_cv_path_MV="$MV" # Let the user override the test with a path. 4499 ;; 4500 *) 4501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4502for as_dir in $PATH 4503do 4504 IFS=$as_save_IFS 4505 test -z "$as_dir" && as_dir=. 4506 for ac_exec_ext in '' $ac_executable_extensions; do 4507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4508 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" 4509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4510 break 2 4511 fi 4512done 4513 done 4514IFS=$as_save_IFS 4515 4516 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv" 4517 ;; 4518esac 4519fi 4520MV=$ac_cv_path_MV 4521if test -n "$MV"; then 4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 4523$as_echo "$MV" >&6; } 4524else 4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4526$as_echo "no" >&6; } 4527fi 4528 4529 4530# Extract the first word of "tar", so it can be a program name with args. 4531set dummy tar; ac_word=$2 4532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4533$as_echo_n "checking for $ac_word... " >&6; } 4534if ${ac_cv_path_TAR+:} false; then : 4535 $as_echo_n "(cached) " >&6 4536else 4537 case $TAR in 4538 [\\/]* | ?:[\\/]*) 4539 ac_cv_path_TAR="$TAR" # Let the user override the test with a path. 4540 ;; 4541 *) 4542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4543for as_dir in $PATH 4544do 4545 IFS=$as_save_IFS 4546 test -z "$as_dir" && as_dir=. 4547 for ac_exec_ext in '' $ac_executable_extensions; do 4548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4549 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" 4550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4551 break 2 4552 fi 4553done 4554 done 4555IFS=$as_save_IFS 4556 4557 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar" 4558 ;; 4559esac 4560fi 4561TAR=$ac_cv_path_TAR 4562if test -n "$TAR"; then 4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 4564$as_echo "$TAR" >&6; } 4565else 4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4567$as_echo "no" >&6; } 4568fi 4569 4570 4571# Extract the first word of "perl", so it can be a program name with args. 4572set dummy perl; ac_word=$2 4573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4574$as_echo_n "checking for $ac_word... " >&6; } 4575if ${ac_cv_path_PERL+:} false; then : 4576 $as_echo_n "(cached) " >&6 4577else 4578 case $PERL in 4579 [\\/]* | ?:[\\/]*) 4580 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 4581 ;; 4582 *) 4583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4584for as_dir in $PATH 4585do 4586 IFS=$as_save_IFS 4587 test -z "$as_dir" && as_dir=. 4588 for ac_exec_ext in '' $ac_executable_extensions; do 4589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4590 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 4591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4592 break 2 4593 fi 4594done 4595 done 4596IFS=$as_save_IFS 4597 4598 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl" 4599 ;; 4600esac 4601fi 4602PERL=$ac_cv_path_PERL 4603if test -n "$PERL"; then 4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 4605$as_echo "$PERL" >&6; } 4606else 4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4608$as_echo "no" >&6; } 4609fi 4610 4611 4612# Extract the first word of "wget", so it can be a program name with args. 4613set dummy wget; ac_word=$2 4614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4615$as_echo_n "checking for $ac_word... " >&6; } 4616if ${ac_cv_path_WGET+:} false; then : 4617 $as_echo_n "(cached) " >&6 4618else 4619 case $WGET in 4620 [\\/]* | ?:[\\/]*) 4621 ac_cv_path_WGET="$WGET" # Let the user override the test with a path. 4622 ;; 4623 *) 4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4625for as_dir in $PATH 4626do 4627 IFS=$as_save_IFS 4628 test -z "$as_dir" && as_dir=. 4629 for ac_exec_ext in '' $ac_executable_extensions; do 4630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4631 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext" 4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4633 break 2 4634 fi 4635done 4636 done 4637IFS=$as_save_IFS 4638 4639 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="/usr/bin/wget" 4640 ;; 4641esac 4642fi 4643WGET=$ac_cv_path_WGET 4644if test -n "$WGET"; then 4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5 4646$as_echo "$WGET" >&6; } 4647else 4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4649$as_echo "no" >&6; } 4650fi 4651 4652 4653# Extract the first word of "xmllint", so it can be a program name with args. 4654set dummy xmllint; ac_word=$2 4655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4656$as_echo_n "checking for $ac_word... " >&6; } 4657if ${ac_cv_path_XMLLINT+:} false; then : 4658 $as_echo_n "(cached) " >&6 4659else 4660 case $XMLLINT in 4661 [\\/]* | ?:[\\/]*) 4662 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path. 4663 ;; 4664 *) 4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4666for as_dir in $PATH 4667do 4668 IFS=$as_save_IFS 4669 test -z "$as_dir" && as_dir=. 4670 for ac_exec_ext in '' $ac_executable_extensions; do 4671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4672 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext" 4673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4674 break 2 4675 fi 4676done 4677 done 4678IFS=$as_save_IFS 4679 4680 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint" 4681 ;; 4682esac 4683fi 4684XMLLINT=$ac_cv_path_XMLLINT 4685if test -n "$XMLLINT"; then 4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 4687$as_echo "$XMLLINT" >&6; } 4688else 4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4690$as_echo "no" >&6; } 4691fi 4692 4693 4694# Extract the first word of "xsltproc", so it can be a program name with args. 4695set dummy xsltproc; ac_word=$2 4696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4697$as_echo_n "checking for $ac_word... " >&6; } 4698if ${ac_cv_path_XSLTPROC+:} false; then : 4699 $as_echo_n "(cached) " >&6 4700else 4701 case $XSLTPROC in 4702 [\\/]* | ?:[\\/]*) 4703 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. 4704 ;; 4705 *) 4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4707for as_dir in $PATH 4708do 4709 IFS=$as_save_IFS 4710 test -z "$as_dir" && as_dir=. 4711 for ac_exec_ext in '' $ac_executable_extensions; do 4712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4713 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" 4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4715 break 2 4716 fi 4717done 4718 done 4719IFS=$as_save_IFS 4720 4721 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc" 4722 ;; 4723esac 4724fi 4725XSLTPROC=$ac_cv_path_XSLTPROC 4726if test -n "$XSLTPROC"; then 4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 4728$as_echo "$XSLTPROC" >&6; } 4729else 4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4731$as_echo "no" >&6; } 4732fi 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4743 if test -n "$ac_tool_prefix"; then 4744 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4745set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4747$as_echo_n "checking for $ac_word... " >&6; } 4748if ${ac_cv_path_PKG_CONFIG+:} false; then : 4749 $as_echo_n "(cached) " >&6 4750else 4751 case $PKG_CONFIG in 4752 [\\/]* | ?:[\\/]*) 4753 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4754 ;; 4755 *) 4756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4757for as_dir in $PATH 4758do 4759 IFS=$as_save_IFS 4760 test -z "$as_dir" && as_dir=. 4761 for ac_exec_ext in '' $ac_executable_extensions; do 4762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4763 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4765 break 2 4766 fi 4767done 4768 done 4769IFS=$as_save_IFS 4770 4771 ;; 4772esac 4773fi 4774PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4775if test -n "$PKG_CONFIG"; then 4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4777$as_echo "$PKG_CONFIG" >&6; } 4778else 4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4780$as_echo "no" >&6; } 4781fi 4782 4783 4784fi 4785if test -z "$ac_cv_path_PKG_CONFIG"; then 4786 ac_pt_PKG_CONFIG=$PKG_CONFIG 4787 # Extract the first word of "pkg-config", so it can be a program name with args. 4788set dummy pkg-config; ac_word=$2 4789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4790$as_echo_n "checking for $ac_word... " >&6; } 4791if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4792 $as_echo_n "(cached) " >&6 4793else 4794 case $ac_pt_PKG_CONFIG in 4795 [\\/]* | ?:[\\/]*) 4796 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4797 ;; 4798 *) 4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4800for as_dir in $PATH 4801do 4802 IFS=$as_save_IFS 4803 test -z "$as_dir" && as_dir=. 4804 for ac_exec_ext in '' $ac_executable_extensions; do 4805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4806 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4808 break 2 4809 fi 4810done 4811 done 4812IFS=$as_save_IFS 4813 4814 ;; 4815esac 4816fi 4817ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4818if test -n "$ac_pt_PKG_CONFIG"; then 4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4820$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4821else 4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4823$as_echo "no" >&6; } 4824fi 4825 4826 if test "x$ac_pt_PKG_CONFIG" = x; then 4827 PKG_CONFIG="" 4828 else 4829 case $cross_compiling:$ac_tool_warned in 4830yes:) 4831{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4832$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4833ac_tool_warned=yes ;; 4834esac 4835 PKG_CONFIG=$ac_pt_PKG_CONFIG 4836 fi 4837else 4838 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4839fi 4840 4841fi 4842if test -n "$PKG_CONFIG"; then 4843 _pkg_min_version=0.9.0 4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4845$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4846 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4848$as_echo "yes" >&6; } 4849 else 4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4851$as_echo "no" >&6; } 4852 PKG_CONFIG="" 4853 fi 4854fi 4855 4856case `pwd` in 4857 *\ * | *\ *) 4858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4859$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4860esac 4861 4862 4863 4864macro_version='2.4.6' 4865macro_revision='2.4.6' 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879ltmain=$ac_aux_dir/ltmain.sh 4880 4881# Backslashify metacharacters that are still active within 4882# double-quoted strings. 4883sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4884 4885# Same as above, but do not quote variable references. 4886double_quote_subst='s/\(["`\\]\)/\\\1/g' 4887 4888# Sed substitution to delay expansion of an escaped shell variable in a 4889# double_quote_subst'ed string. 4890delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4891 4892# Sed substitution to delay expansion of an escaped single quote. 4893delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4894 4895# Sed substitution to avoid accidental globbing in evaled expressions 4896no_glob_subst='s/\*/\\\*/g' 4897 4898ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4899ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4900ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4901 4902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4903$as_echo_n "checking how to print strings... " >&6; } 4904# Test print first, because it will be a builtin if present. 4905if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4906 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4907 ECHO='print -r --' 4908elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4909 ECHO='printf %s\n' 4910else 4911 # Use this function as a fallback that always works. 4912 func_fallback_echo () 4913 { 4914 eval 'cat <<_LTECHO_EOF 4915$1 4916_LTECHO_EOF' 4917 } 4918 ECHO='func_fallback_echo' 4919fi 4920 4921# func_echo_all arg... 4922# Invoke $ECHO with all args, space-separated. 4923func_echo_all () 4924{ 4925 $ECHO "" 4926} 4927 4928case $ECHO in 4929 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4930$as_echo "printf" >&6; } ;; 4931 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4932$as_echo "print -r" >&6; } ;; 4933 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4934$as_echo "cat" >&6; } ;; 4935esac 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4951$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4952if ${ac_cv_path_SED+:} false; then : 4953 $as_echo_n "(cached) " >&6 4954else 4955 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4956 for ac_i in 1 2 3 4 5 6 7; do 4957 ac_script="$ac_script$as_nl$ac_script" 4958 done 4959 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4960 { ac_script=; unset ac_script;} 4961 if test -z "$SED"; then 4962 ac_path_SED_found=false 4963 # Loop through the user's path and test for each of PROGNAME-LIST 4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4965for as_dir in $PATH 4966do 4967 IFS=$as_save_IFS 4968 test -z "$as_dir" && as_dir=. 4969 for ac_prog in sed gsed; do 4970 for ac_exec_ext in '' $ac_executable_extensions; do 4971 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4972 as_fn_executable_p "$ac_path_SED" || continue 4973# Check for GNU ac_path_SED and select it if it is found. 4974 # Check for GNU $ac_path_SED 4975case `"$ac_path_SED" --version 2>&1` in 4976*GNU*) 4977 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4978*) 4979 ac_count=0 4980 $as_echo_n 0123456789 >"conftest.in" 4981 while : 4982 do 4983 cat "conftest.in" "conftest.in" >"conftest.tmp" 4984 mv "conftest.tmp" "conftest.in" 4985 cp "conftest.in" "conftest.nl" 4986 $as_echo '' >> "conftest.nl" 4987 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4988 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4989 as_fn_arith $ac_count + 1 && ac_count=$as_val 4990 if test $ac_count -gt ${ac_path_SED_max-0}; then 4991 # Best one so far, save it but keep looking for a better one 4992 ac_cv_path_SED="$ac_path_SED" 4993 ac_path_SED_max=$ac_count 4994 fi 4995 # 10*(2^10) chars as input seems more than enough 4996 test $ac_count -gt 10 && break 4997 done 4998 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4999esac 5000 5001 $ac_path_SED_found && break 3 5002 done 5003 done 5004 done 5005IFS=$as_save_IFS 5006 if test -z "$ac_cv_path_SED"; then 5007 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5008 fi 5009else 5010 ac_cv_path_SED=$SED 5011fi 5012 5013fi 5014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5015$as_echo "$ac_cv_path_SED" >&6; } 5016 SED="$ac_cv_path_SED" 5017 rm -f conftest.sed 5018 5019test -z "$SED" && SED=sed 5020Xsed="$SED -e 1s/^X//" 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5033$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5034if ${ac_cv_path_GREP+:} false; then : 5035 $as_echo_n "(cached) " >&6 5036else 5037 if test -z "$GREP"; then 5038 ac_path_GREP_found=false 5039 # Loop through the user's path and test for each of PROGNAME-LIST 5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5041for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5042do 5043 IFS=$as_save_IFS 5044 test -z "$as_dir" && as_dir=. 5045 for ac_prog in grep ggrep; do 5046 for ac_exec_ext in '' $ac_executable_extensions; do 5047 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5048 as_fn_executable_p "$ac_path_GREP" || continue 5049# Check for GNU ac_path_GREP and select it if it is found. 5050 # Check for GNU $ac_path_GREP 5051case `"$ac_path_GREP" --version 2>&1` in 5052*GNU*) 5053 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5054*) 5055 ac_count=0 5056 $as_echo_n 0123456789 >"conftest.in" 5057 while : 5058 do 5059 cat "conftest.in" "conftest.in" >"conftest.tmp" 5060 mv "conftest.tmp" "conftest.in" 5061 cp "conftest.in" "conftest.nl" 5062 $as_echo 'GREP' >> "conftest.nl" 5063 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5064 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5065 as_fn_arith $ac_count + 1 && ac_count=$as_val 5066 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5067 # Best one so far, save it but keep looking for a better one 5068 ac_cv_path_GREP="$ac_path_GREP" 5069 ac_path_GREP_max=$ac_count 5070 fi 5071 # 10*(2^10) chars as input seems more than enough 5072 test $ac_count -gt 10 && break 5073 done 5074 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5075esac 5076 5077 $ac_path_GREP_found && break 3 5078 done 5079 done 5080 done 5081IFS=$as_save_IFS 5082 if test -z "$ac_cv_path_GREP"; then 5083 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5084 fi 5085else 5086 ac_cv_path_GREP=$GREP 5087fi 5088 5089fi 5090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5091$as_echo "$ac_cv_path_GREP" >&6; } 5092 GREP="$ac_cv_path_GREP" 5093 5094 5095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5096$as_echo_n "checking for egrep... " >&6; } 5097if ${ac_cv_path_EGREP+:} false; then : 5098 $as_echo_n "(cached) " >&6 5099else 5100 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5101 then ac_cv_path_EGREP="$GREP -E" 5102 else 5103 if test -z "$EGREP"; then 5104 ac_path_EGREP_found=false 5105 # Loop through the user's path and test for each of PROGNAME-LIST 5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5107for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5108do 5109 IFS=$as_save_IFS 5110 test -z "$as_dir" && as_dir=. 5111 for ac_prog in egrep; do 5112 for ac_exec_ext in '' $ac_executable_extensions; do 5113 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5114 as_fn_executable_p "$ac_path_EGREP" || continue 5115# Check for GNU ac_path_EGREP and select it if it is found. 5116 # Check for GNU $ac_path_EGREP 5117case `"$ac_path_EGREP" --version 2>&1` in 5118*GNU*) 5119 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5120*) 5121 ac_count=0 5122 $as_echo_n 0123456789 >"conftest.in" 5123 while : 5124 do 5125 cat "conftest.in" "conftest.in" >"conftest.tmp" 5126 mv "conftest.tmp" "conftest.in" 5127 cp "conftest.in" "conftest.nl" 5128 $as_echo 'EGREP' >> "conftest.nl" 5129 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5130 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5131 as_fn_arith $ac_count + 1 && ac_count=$as_val 5132 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5133 # Best one so far, save it but keep looking for a better one 5134 ac_cv_path_EGREP="$ac_path_EGREP" 5135 ac_path_EGREP_max=$ac_count 5136 fi 5137 # 10*(2^10) chars as input seems more than enough 5138 test $ac_count -gt 10 && break 5139 done 5140 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5141esac 5142 5143 $ac_path_EGREP_found && break 3 5144 done 5145 done 5146 done 5147IFS=$as_save_IFS 5148 if test -z "$ac_cv_path_EGREP"; then 5149 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5150 fi 5151else 5152 ac_cv_path_EGREP=$EGREP 5153fi 5154 5155 fi 5156fi 5157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5158$as_echo "$ac_cv_path_EGREP" >&6; } 5159 EGREP="$ac_cv_path_EGREP" 5160 5161 5162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5163$as_echo_n "checking for fgrep... " >&6; } 5164if ${ac_cv_path_FGREP+:} false; then : 5165 $as_echo_n "(cached) " >&6 5166else 5167 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5168 then ac_cv_path_FGREP="$GREP -F" 5169 else 5170 if test -z "$FGREP"; then 5171 ac_path_FGREP_found=false 5172 # Loop through the user's path and test for each of PROGNAME-LIST 5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5174for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5175do 5176 IFS=$as_save_IFS 5177 test -z "$as_dir" && as_dir=. 5178 for ac_prog in fgrep; do 5179 for ac_exec_ext in '' $ac_executable_extensions; do 5180 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5181 as_fn_executable_p "$ac_path_FGREP" || continue 5182# Check for GNU ac_path_FGREP and select it if it is found. 5183 # Check for GNU $ac_path_FGREP 5184case `"$ac_path_FGREP" --version 2>&1` in 5185*GNU*) 5186 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5187*) 5188 ac_count=0 5189 $as_echo_n 0123456789 >"conftest.in" 5190 while : 5191 do 5192 cat "conftest.in" "conftest.in" >"conftest.tmp" 5193 mv "conftest.tmp" "conftest.in" 5194 cp "conftest.in" "conftest.nl" 5195 $as_echo 'FGREP' >> "conftest.nl" 5196 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5197 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5198 as_fn_arith $ac_count + 1 && ac_count=$as_val 5199 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5200 # Best one so far, save it but keep looking for a better one 5201 ac_cv_path_FGREP="$ac_path_FGREP" 5202 ac_path_FGREP_max=$ac_count 5203 fi 5204 # 10*(2^10) chars as input seems more than enough 5205 test $ac_count -gt 10 && break 5206 done 5207 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5208esac 5209 5210 $ac_path_FGREP_found && break 3 5211 done 5212 done 5213 done 5214IFS=$as_save_IFS 5215 if test -z "$ac_cv_path_FGREP"; then 5216 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5217 fi 5218else 5219 ac_cv_path_FGREP=$FGREP 5220fi 5221 5222 fi 5223fi 5224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5225$as_echo "$ac_cv_path_FGREP" >&6; } 5226 FGREP="$ac_cv_path_FGREP" 5227 5228 5229test -z "$GREP" && GREP=grep 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249# Check whether --with-gnu-ld was given. 5250if test "${with_gnu_ld+set}" = set; then : 5251 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5252else 5253 with_gnu_ld=no 5254fi 5255 5256ac_prog=ld 5257if test yes = "$GCC"; then 5258 # Check if gcc -print-prog-name=ld gives a path. 5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5260$as_echo_n "checking for ld used by $CC... " >&6; } 5261 case $host in 5262 *-*-mingw*) 5263 # gcc leaves a trailing carriage return, which upsets mingw 5264 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5265 *) 5266 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5267 esac 5268 case $ac_prog in 5269 # Accept absolute paths. 5270 [\\/]* | ?:[\\/]*) 5271 re_direlt='/[^/][^/]*/\.\./' 5272 # Canonicalize the pathname of ld 5273 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5274 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5275 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5276 done 5277 test -z "$LD" && LD=$ac_prog 5278 ;; 5279 "") 5280 # If it fails, then pretend we aren't using GCC. 5281 ac_prog=ld 5282 ;; 5283 *) 5284 # If it is relative, then search for the first ld in PATH. 5285 with_gnu_ld=unknown 5286 ;; 5287 esac 5288elif test yes = "$with_gnu_ld"; then 5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5290$as_echo_n "checking for GNU ld... " >&6; } 5291else 5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5293$as_echo_n "checking for non-GNU ld... " >&6; } 5294fi 5295if ${lt_cv_path_LD+:} false; then : 5296 $as_echo_n "(cached) " >&6 5297else 5298 if test -z "$LD"; then 5299 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5300 for ac_dir in $PATH; do 5301 IFS=$lt_save_ifs 5302 test -z "$ac_dir" && ac_dir=. 5303 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5304 lt_cv_path_LD=$ac_dir/$ac_prog 5305 # Check to see if the program is GNU ld. I'd rather use --version, 5306 # but apparently some variants of GNU ld only accept -v. 5307 # Break only if it was the GNU/non-GNU ld that we prefer. 5308 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5309 *GNU* | *'with BFD'*) 5310 test no != "$with_gnu_ld" && break 5311 ;; 5312 *) 5313 test yes != "$with_gnu_ld" && break 5314 ;; 5315 esac 5316 fi 5317 done 5318 IFS=$lt_save_ifs 5319else 5320 lt_cv_path_LD=$LD # Let the user override the test with a path. 5321fi 5322fi 5323 5324LD=$lt_cv_path_LD 5325if test -n "$LD"; then 5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5327$as_echo "$LD" >&6; } 5328else 5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5330$as_echo "no" >&6; } 5331fi 5332test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5334$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5335if ${lt_cv_prog_gnu_ld+:} false; then : 5336 $as_echo_n "(cached) " >&6 5337else 5338 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5339case `$LD -v 2>&1 </dev/null` in 5340*GNU* | *'with BFD'*) 5341 lt_cv_prog_gnu_ld=yes 5342 ;; 5343*) 5344 lt_cv_prog_gnu_ld=no 5345 ;; 5346esac 5347fi 5348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5349$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5350with_gnu_ld=$lt_cv_prog_gnu_ld 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5361$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5362if ${lt_cv_path_NM+:} false; then : 5363 $as_echo_n "(cached) " >&6 5364else 5365 if test -n "$NM"; then 5366 # Let the user override the test. 5367 lt_cv_path_NM=$NM 5368else 5369 lt_nm_to_check=${ac_tool_prefix}nm 5370 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5371 lt_nm_to_check="$lt_nm_to_check nm" 5372 fi 5373 for lt_tmp_nm in $lt_nm_to_check; do 5374 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5375 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5376 IFS=$lt_save_ifs 5377 test -z "$ac_dir" && ac_dir=. 5378 tmp_nm=$ac_dir/$lt_tmp_nm 5379 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5380 # Check to see if the nm accepts a BSD-compat flag. 5381 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5382 # nm: unknown option "B" ignored 5383 # Tru64's nm complains that /dev/null is an invalid object file 5384 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5385 case $build_os in 5386 mingw*) lt_bad_file=conftest.nm/nofile ;; 5387 *) lt_bad_file=/dev/null ;; 5388 esac 5389 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5390 *$lt_bad_file* | *'Invalid file or object type'*) 5391 lt_cv_path_NM="$tmp_nm -B" 5392 break 2 5393 ;; 5394 *) 5395 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5396 */dev/null*) 5397 lt_cv_path_NM="$tmp_nm -p" 5398 break 2 5399 ;; 5400 *) 5401 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5402 continue # so that we can try to find one that supports BSD flags 5403 ;; 5404 esac 5405 ;; 5406 esac 5407 fi 5408 done 5409 IFS=$lt_save_ifs 5410 done 5411 : ${lt_cv_path_NM=no} 5412fi 5413fi 5414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5415$as_echo "$lt_cv_path_NM" >&6; } 5416if test no != "$lt_cv_path_NM"; then 5417 NM=$lt_cv_path_NM 5418else 5419 # Didn't find any BSD compatible name lister, look for dumpbin. 5420 if test -n "$DUMPBIN"; then : 5421 # Let the user override the test. 5422 else 5423 if test -n "$ac_tool_prefix"; then 5424 for ac_prog in dumpbin "link -dump" 5425 do 5426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5427set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5429$as_echo_n "checking for $ac_word... " >&6; } 5430if ${ac_cv_prog_DUMPBIN+:} false; then : 5431 $as_echo_n "(cached) " >&6 5432else 5433 if test -n "$DUMPBIN"; then 5434 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5435else 5436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5437for as_dir in $PATH 5438do 5439 IFS=$as_save_IFS 5440 test -z "$as_dir" && as_dir=. 5441 for ac_exec_ext in '' $ac_executable_extensions; do 5442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5443 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5445 break 2 5446 fi 5447done 5448 done 5449IFS=$as_save_IFS 5450 5451fi 5452fi 5453DUMPBIN=$ac_cv_prog_DUMPBIN 5454if test -n "$DUMPBIN"; then 5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5456$as_echo "$DUMPBIN" >&6; } 5457else 5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5459$as_echo "no" >&6; } 5460fi 5461 5462 5463 test -n "$DUMPBIN" && break 5464 done 5465fi 5466if test -z "$DUMPBIN"; then 5467 ac_ct_DUMPBIN=$DUMPBIN 5468 for ac_prog in dumpbin "link -dump" 5469do 5470 # Extract the first word of "$ac_prog", so it can be a program name with args. 5471set dummy $ac_prog; ac_word=$2 5472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5473$as_echo_n "checking for $ac_word... " >&6; } 5474if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5475 $as_echo_n "(cached) " >&6 5476else 5477 if test -n "$ac_ct_DUMPBIN"; then 5478 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5479else 5480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5481for as_dir in $PATH 5482do 5483 IFS=$as_save_IFS 5484 test -z "$as_dir" && as_dir=. 5485 for ac_exec_ext in '' $ac_executable_extensions; do 5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5487 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5489 break 2 5490 fi 5491done 5492 done 5493IFS=$as_save_IFS 5494 5495fi 5496fi 5497ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5498if test -n "$ac_ct_DUMPBIN"; then 5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5500$as_echo "$ac_ct_DUMPBIN" >&6; } 5501else 5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5503$as_echo "no" >&6; } 5504fi 5505 5506 5507 test -n "$ac_ct_DUMPBIN" && break 5508done 5509 5510 if test "x$ac_ct_DUMPBIN" = x; then 5511 DUMPBIN=":" 5512 else 5513 case $cross_compiling:$ac_tool_warned in 5514yes:) 5515{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5516$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5517ac_tool_warned=yes ;; 5518esac 5519 DUMPBIN=$ac_ct_DUMPBIN 5520 fi 5521fi 5522 5523 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5524 *COFF*) 5525 DUMPBIN="$DUMPBIN -symbols -headers" 5526 ;; 5527 *) 5528 DUMPBIN=: 5529 ;; 5530 esac 5531 fi 5532 5533 if test : != "$DUMPBIN"; then 5534 NM=$DUMPBIN 5535 fi 5536fi 5537test -z "$NM" && NM=nm 5538 5539 5540 5541 5542 5543 5544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5545$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5546if ${lt_cv_nm_interface+:} false; then : 5547 $as_echo_n "(cached) " >&6 5548else 5549 lt_cv_nm_interface="BSD nm" 5550 echo "int some_variable = 0;" > conftest.$ac_ext 5551 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5552 (eval "$ac_compile" 2>conftest.err) 5553 cat conftest.err >&5 5554 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5555 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5556 cat conftest.err >&5 5557 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5558 cat conftest.out >&5 5559 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5560 lt_cv_nm_interface="MS dumpbin" 5561 fi 5562 rm -f conftest* 5563fi 5564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5565$as_echo "$lt_cv_nm_interface" >&6; } 5566 5567# find the maximum length of command line arguments 5568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5569$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5570if ${lt_cv_sys_max_cmd_len+:} false; then : 5571 $as_echo_n "(cached) " >&6 5572else 5573 i=0 5574 teststring=ABCD 5575 5576 case $build_os in 5577 msdosdjgpp*) 5578 # On DJGPP, this test can blow up pretty badly due to problems in libc 5579 # (any single argument exceeding 2000 bytes causes a buffer overrun 5580 # during glob expansion). Even if it were fixed, the result of this 5581 # check would be larger than it should be. 5582 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5583 ;; 5584 5585 gnu*) 5586 # Under GNU Hurd, this test is not required because there is 5587 # no limit to the length of command line arguments. 5588 # Libtool will interpret -1 as no limit whatsoever 5589 lt_cv_sys_max_cmd_len=-1; 5590 ;; 5591 5592 cygwin* | mingw* | cegcc*) 5593 # On Win9x/ME, this test blows up -- it succeeds, but takes 5594 # about 5 minutes as the teststring grows exponentially. 5595 # Worse, since 9x/ME are not pre-emptively multitasking, 5596 # you end up with a "frozen" computer, even though with patience 5597 # the test eventually succeeds (with a max line length of 256k). 5598 # Instead, let's just punt: use the minimum linelength reported by 5599 # all of the supported platforms: 8192 (on NT/2K/XP). 5600 lt_cv_sys_max_cmd_len=8192; 5601 ;; 5602 5603 mint*) 5604 # On MiNT this can take a long time and run out of memory. 5605 lt_cv_sys_max_cmd_len=8192; 5606 ;; 5607 5608 amigaos*) 5609 # On AmigaOS with pdksh, this test takes hours, literally. 5610 # So we just punt and use a minimum line length of 8192. 5611 lt_cv_sys_max_cmd_len=8192; 5612 ;; 5613 5614 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5615 # This has been around since 386BSD, at least. Likely further. 5616 if test -x /sbin/sysctl; then 5617 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5618 elif test -x /usr/sbin/sysctl; then 5619 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5620 else 5621 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5622 fi 5623 # And add a safety zone 5624 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5625 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5626 ;; 5627 5628 interix*) 5629 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5630 lt_cv_sys_max_cmd_len=196608 5631 ;; 5632 5633 os2*) 5634 # The test takes a long time on OS/2. 5635 lt_cv_sys_max_cmd_len=8192 5636 ;; 5637 5638 osf*) 5639 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5640 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5641 # nice to cause kernel panics so lets avoid the loop below. 5642 # First set a reasonable default. 5643 lt_cv_sys_max_cmd_len=16384 5644 # 5645 if test -x /sbin/sysconfig; then 5646 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5647 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5648 esac 5649 fi 5650 ;; 5651 sco3.2v5*) 5652 lt_cv_sys_max_cmd_len=102400 5653 ;; 5654 sysv5* | sco5v6* | sysv4.2uw2*) 5655 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5656 if test -n "$kargmax"; then 5657 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5658 else 5659 lt_cv_sys_max_cmd_len=32768 5660 fi 5661 ;; 5662 *) 5663 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5664 if test -n "$lt_cv_sys_max_cmd_len" && \ 5665 test undefined != "$lt_cv_sys_max_cmd_len"; then 5666 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5667 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5668 else 5669 # Make teststring a little bigger before we do anything with it. 5670 # a 1K string should be a reasonable start. 5671 for i in 1 2 3 4 5 6 7 8; do 5672 teststring=$teststring$teststring 5673 done 5674 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5675 # If test is not a shell built-in, we'll probably end up computing a 5676 # maximum length that is only half of the actual maximum length, but 5677 # we can't tell. 5678 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5679 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5680 test 17 != "$i" # 1/2 MB should be enough 5681 do 5682 i=`expr $i + 1` 5683 teststring=$teststring$teststring 5684 done 5685 # Only check the string length outside the loop. 5686 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5687 teststring= 5688 # Add a significant safety factor because C++ compilers can tack on 5689 # massive amounts of additional arguments before passing them to the 5690 # linker. It appears as though 1/2 is a usable value. 5691 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5692 fi 5693 ;; 5694 esac 5695 5696fi 5697 5698if test -n "$lt_cv_sys_max_cmd_len"; then 5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5700$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5701else 5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5703$as_echo "none" >&6; } 5704fi 5705max_cmd_len=$lt_cv_sys_max_cmd_len 5706 5707 5708 5709 5710 5711 5712: ${CP="cp -f"} 5713: ${MV="mv -f"} 5714: ${RM="rm -f"} 5715 5716if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5717 lt_unset=unset 5718else 5719 lt_unset=false 5720fi 5721 5722 5723 5724 5725 5726# test EBCDIC or ASCII 5727case `echo X|tr X '\101'` in 5728 A) # ASCII based system 5729 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5730 lt_SP2NL='tr \040 \012' 5731 lt_NL2SP='tr \015\012 \040\040' 5732 ;; 5733 *) # EBCDIC based system 5734 lt_SP2NL='tr \100 \n' 5735 lt_NL2SP='tr \r\n \100\100' 5736 ;; 5737esac 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5748$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5749if ${lt_cv_to_host_file_cmd+:} false; then : 5750 $as_echo_n "(cached) " >&6 5751else 5752 case $host in 5753 *-*-mingw* ) 5754 case $build in 5755 *-*-mingw* ) # actually msys 5756 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5757 ;; 5758 *-*-cygwin* ) 5759 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5760 ;; 5761 * ) # otherwise, assume *nix 5762 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5763 ;; 5764 esac 5765 ;; 5766 *-*-cygwin* ) 5767 case $build in 5768 *-*-mingw* ) # actually msys 5769 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5770 ;; 5771 *-*-cygwin* ) 5772 lt_cv_to_host_file_cmd=func_convert_file_noop 5773 ;; 5774 * ) # otherwise, assume *nix 5775 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5776 ;; 5777 esac 5778 ;; 5779 * ) # unhandled hosts (and "normal" native builds) 5780 lt_cv_to_host_file_cmd=func_convert_file_noop 5781 ;; 5782esac 5783 5784fi 5785 5786to_host_file_cmd=$lt_cv_to_host_file_cmd 5787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5788$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5789 5790 5791 5792 5793 5794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5795$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5796if ${lt_cv_to_tool_file_cmd+:} false; then : 5797 $as_echo_n "(cached) " >&6 5798else 5799 #assume ordinary cross tools, or native build. 5800lt_cv_to_tool_file_cmd=func_convert_file_noop 5801case $host in 5802 *-*-mingw* ) 5803 case $build in 5804 *-*-mingw* ) # actually msys 5805 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5806 ;; 5807 esac 5808 ;; 5809esac 5810 5811fi 5812 5813to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5815$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5816 5817 5818 5819 5820 5821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5822$as_echo_n "checking for $LD option to reload object files... " >&6; } 5823if ${lt_cv_ld_reload_flag+:} false; then : 5824 $as_echo_n "(cached) " >&6 5825else 5826 lt_cv_ld_reload_flag='-r' 5827fi 5828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5829$as_echo "$lt_cv_ld_reload_flag" >&6; } 5830reload_flag=$lt_cv_ld_reload_flag 5831case $reload_flag in 5832"" | " "*) ;; 5833*) reload_flag=" $reload_flag" ;; 5834esac 5835reload_cmds='$LD$reload_flag -o $output$reload_objs' 5836case $host_os in 5837 cygwin* | mingw* | pw32* | cegcc*) 5838 if test yes != "$GCC"; then 5839 reload_cmds=false 5840 fi 5841 ;; 5842 darwin*) 5843 if test yes = "$GCC"; then 5844 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5845 else 5846 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5847 fi 5848 ;; 5849esac 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859if test -n "$ac_tool_prefix"; then 5860 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5861set dummy ${ac_tool_prefix}objdump; ac_word=$2 5862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5863$as_echo_n "checking for $ac_word... " >&6; } 5864if ${ac_cv_prog_OBJDUMP+:} false; then : 5865 $as_echo_n "(cached) " >&6 5866else 5867 if test -n "$OBJDUMP"; then 5868 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5869else 5870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5871for as_dir in $PATH 5872do 5873 IFS=$as_save_IFS 5874 test -z "$as_dir" && as_dir=. 5875 for ac_exec_ext in '' $ac_executable_extensions; do 5876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5877 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5879 break 2 5880 fi 5881done 5882 done 5883IFS=$as_save_IFS 5884 5885fi 5886fi 5887OBJDUMP=$ac_cv_prog_OBJDUMP 5888if test -n "$OBJDUMP"; then 5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5890$as_echo "$OBJDUMP" >&6; } 5891else 5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5893$as_echo "no" >&6; } 5894fi 5895 5896 5897fi 5898if test -z "$ac_cv_prog_OBJDUMP"; then 5899 ac_ct_OBJDUMP=$OBJDUMP 5900 # Extract the first word of "objdump", so it can be a program name with args. 5901set dummy objdump; ac_word=$2 5902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5903$as_echo_n "checking for $ac_word... " >&6; } 5904if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5905 $as_echo_n "(cached) " >&6 5906else 5907 if test -n "$ac_ct_OBJDUMP"; then 5908 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5909else 5910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5911for as_dir in $PATH 5912do 5913 IFS=$as_save_IFS 5914 test -z "$as_dir" && as_dir=. 5915 for ac_exec_ext in '' $ac_executable_extensions; do 5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5917 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5919 break 2 5920 fi 5921done 5922 done 5923IFS=$as_save_IFS 5924 5925fi 5926fi 5927ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5928if test -n "$ac_ct_OBJDUMP"; then 5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5930$as_echo "$ac_ct_OBJDUMP" >&6; } 5931else 5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5933$as_echo "no" >&6; } 5934fi 5935 5936 if test "x$ac_ct_OBJDUMP" = x; then 5937 OBJDUMP="false" 5938 else 5939 case $cross_compiling:$ac_tool_warned in 5940yes:) 5941{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5942$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5943ac_tool_warned=yes ;; 5944esac 5945 OBJDUMP=$ac_ct_OBJDUMP 5946 fi 5947else 5948 OBJDUMP="$ac_cv_prog_OBJDUMP" 5949fi 5950 5951test -z "$OBJDUMP" && OBJDUMP=objdump 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5962$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5963if ${lt_cv_deplibs_check_method+:} false; then : 5964 $as_echo_n "(cached) " >&6 5965else 5966 lt_cv_file_magic_cmd='$MAGIC_CMD' 5967lt_cv_file_magic_test_file= 5968lt_cv_deplibs_check_method='unknown' 5969# Need to set the preceding variable on all platforms that support 5970# interlibrary dependencies. 5971# 'none' -- dependencies not supported. 5972# 'unknown' -- same as none, but documents that we really don't know. 5973# 'pass_all' -- all dependencies passed with no checks. 5974# 'test_compile' -- check by making test program. 5975# 'file_magic [[regex]]' -- check by looking for files in library path 5976# that responds to the $file_magic_cmd with a given extended regex. 5977# If you have 'file' or equivalent on your system and you're not sure 5978# whether 'pass_all' will *always* work, you probably want this one. 5979 5980case $host_os in 5981aix[4-9]*) 5982 lt_cv_deplibs_check_method=pass_all 5983 ;; 5984 5985beos*) 5986 lt_cv_deplibs_check_method=pass_all 5987 ;; 5988 5989bsdi[45]*) 5990 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5991 lt_cv_file_magic_cmd='/usr/bin/file -L' 5992 lt_cv_file_magic_test_file=/shlib/libc.so 5993 ;; 5994 5995cygwin*) 5996 # func_win32_libid is a shell function defined in ltmain.sh 5997 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5998 lt_cv_file_magic_cmd='func_win32_libid' 5999 ;; 6000 6001mingw* | pw32*) 6002 # Base MSYS/MinGW do not provide the 'file' command needed by 6003 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6004 # unless we find 'file', for example because we are cross-compiling. 6005 if ( file / ) >/dev/null 2>&1; then 6006 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6007 lt_cv_file_magic_cmd='func_win32_libid' 6008 else 6009 # Keep this pattern in sync with the one in func_win32_libid. 6010 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6011 lt_cv_file_magic_cmd='$OBJDUMP -f' 6012 fi 6013 ;; 6014 6015cegcc*) 6016 # use the weaker test based on 'objdump'. See mingw*. 6017 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6018 lt_cv_file_magic_cmd='$OBJDUMP -f' 6019 ;; 6020 6021darwin* | rhapsody*) 6022 lt_cv_deplibs_check_method=pass_all 6023 ;; 6024 6025freebsd* | dragonfly*) 6026 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6027 case $host_cpu in 6028 i*86 ) 6029 # Not sure whether the presence of OpenBSD here was a mistake. 6030 # Let's accept both of them until this is cleared up. 6031 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6032 lt_cv_file_magic_cmd=/usr/bin/file 6033 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6034 ;; 6035 esac 6036 else 6037 lt_cv_deplibs_check_method=pass_all 6038 fi 6039 ;; 6040 6041haiku*) 6042 lt_cv_deplibs_check_method=pass_all 6043 ;; 6044 6045hpux10.20* | hpux11*) 6046 lt_cv_file_magic_cmd=/usr/bin/file 6047 case $host_cpu in 6048 ia64*) 6049 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6050 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6051 ;; 6052 hppa*64*) 6053 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]' 6054 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6055 ;; 6056 *) 6057 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6058 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6059 ;; 6060 esac 6061 ;; 6062 6063interix[3-9]*) 6064 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6065 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6066 ;; 6067 6068irix5* | irix6* | nonstopux*) 6069 case $LD in 6070 *-32|*"-32 ") libmagic=32-bit;; 6071 *-n32|*"-n32 ") libmagic=N32;; 6072 *-64|*"-64 ") libmagic=64-bit;; 6073 *) libmagic=never-match;; 6074 esac 6075 lt_cv_deplibs_check_method=pass_all 6076 ;; 6077 6078# This must be glibc/ELF. 6079linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6080 lt_cv_deplibs_check_method=pass_all 6081 ;; 6082 6083netbsd*) 6084 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6085 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6086 else 6087 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6088 fi 6089 ;; 6090 6091newos6*) 6092 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6093 lt_cv_file_magic_cmd=/usr/bin/file 6094 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6095 ;; 6096 6097*nto* | *qnx*) 6098 lt_cv_deplibs_check_method=pass_all 6099 ;; 6100 6101openbsd* | bitrig*) 6102 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6103 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6104 else 6105 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6106 fi 6107 ;; 6108 6109osf3* | osf4* | osf5*) 6110 lt_cv_deplibs_check_method=pass_all 6111 ;; 6112 6113rdos*) 6114 lt_cv_deplibs_check_method=pass_all 6115 ;; 6116 6117solaris*) 6118 lt_cv_deplibs_check_method=pass_all 6119 ;; 6120 6121sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6122 lt_cv_deplibs_check_method=pass_all 6123 ;; 6124 6125sysv4 | sysv4.3*) 6126 case $host_vendor in 6127 motorola) 6128 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]' 6129 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6130 ;; 6131 ncr) 6132 lt_cv_deplibs_check_method=pass_all 6133 ;; 6134 sequent) 6135 lt_cv_file_magic_cmd='/bin/file' 6136 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6137 ;; 6138 sni) 6139 lt_cv_file_magic_cmd='/bin/file' 6140 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6141 lt_cv_file_magic_test_file=/lib/libc.so 6142 ;; 6143 siemens) 6144 lt_cv_deplibs_check_method=pass_all 6145 ;; 6146 pc) 6147 lt_cv_deplibs_check_method=pass_all 6148 ;; 6149 esac 6150 ;; 6151 6152tpf*) 6153 lt_cv_deplibs_check_method=pass_all 6154 ;; 6155os2*) 6156 lt_cv_deplibs_check_method=pass_all 6157 ;; 6158esac 6159 6160fi 6161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6162$as_echo "$lt_cv_deplibs_check_method" >&6; } 6163 6164file_magic_glob= 6165want_nocaseglob=no 6166if test "$build" = "$host"; then 6167 case $host_os in 6168 mingw* | pw32*) 6169 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6170 want_nocaseglob=yes 6171 else 6172 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6173 fi 6174 ;; 6175 esac 6176fi 6177 6178file_magic_cmd=$lt_cv_file_magic_cmd 6179deplibs_check_method=$lt_cv_deplibs_check_method 6180test -z "$deplibs_check_method" && deplibs_check_method=unknown 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203if test -n "$ac_tool_prefix"; then 6204 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6205set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6207$as_echo_n "checking for $ac_word... " >&6; } 6208if ${ac_cv_prog_DLLTOOL+:} false; then : 6209 $as_echo_n "(cached) " >&6 6210else 6211 if test -n "$DLLTOOL"; then 6212 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6213else 6214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6215for as_dir in $PATH 6216do 6217 IFS=$as_save_IFS 6218 test -z "$as_dir" && as_dir=. 6219 for ac_exec_ext in '' $ac_executable_extensions; do 6220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6221 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6223 break 2 6224 fi 6225done 6226 done 6227IFS=$as_save_IFS 6228 6229fi 6230fi 6231DLLTOOL=$ac_cv_prog_DLLTOOL 6232if test -n "$DLLTOOL"; then 6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6234$as_echo "$DLLTOOL" >&6; } 6235else 6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6237$as_echo "no" >&6; } 6238fi 6239 6240 6241fi 6242if test -z "$ac_cv_prog_DLLTOOL"; then 6243 ac_ct_DLLTOOL=$DLLTOOL 6244 # Extract the first word of "dlltool", so it can be a program name with args. 6245set dummy dlltool; ac_word=$2 6246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6247$as_echo_n "checking for $ac_word... " >&6; } 6248if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6249 $as_echo_n "(cached) " >&6 6250else 6251 if test -n "$ac_ct_DLLTOOL"; then 6252 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6253else 6254as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6255for as_dir in $PATH 6256do 6257 IFS=$as_save_IFS 6258 test -z "$as_dir" && as_dir=. 6259 for ac_exec_ext in '' $ac_executable_extensions; do 6260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6261 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6263 break 2 6264 fi 6265done 6266 done 6267IFS=$as_save_IFS 6268 6269fi 6270fi 6271ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6272if test -n "$ac_ct_DLLTOOL"; then 6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6274$as_echo "$ac_ct_DLLTOOL" >&6; } 6275else 6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6277$as_echo "no" >&6; } 6278fi 6279 6280 if test "x$ac_ct_DLLTOOL" = x; then 6281 DLLTOOL="false" 6282 else 6283 case $cross_compiling:$ac_tool_warned in 6284yes:) 6285{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6286$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6287ac_tool_warned=yes ;; 6288esac 6289 DLLTOOL=$ac_ct_DLLTOOL 6290 fi 6291else 6292 DLLTOOL="$ac_cv_prog_DLLTOOL" 6293fi 6294 6295test -z "$DLLTOOL" && DLLTOOL=dlltool 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6307$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6308if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6309 $as_echo_n "(cached) " >&6 6310else 6311 lt_cv_sharedlib_from_linklib_cmd='unknown' 6312 6313case $host_os in 6314cygwin* | mingw* | pw32* | cegcc*) 6315 # two different shell functions defined in ltmain.sh; 6316 # decide which one to use based on capabilities of $DLLTOOL 6317 case `$DLLTOOL --help 2>&1` in 6318 *--identify-strict*) 6319 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6320 ;; 6321 *) 6322 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6323 ;; 6324 esac 6325 ;; 6326*) 6327 # fallback: assume linklib IS sharedlib 6328 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6329 ;; 6330esac 6331 6332fi 6333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6334$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6335sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6336test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6337 6338 6339 6340 6341 6342 6343 6344 6345if test -n "$ac_tool_prefix"; then 6346 for ac_prog in ar 6347 do 6348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6349set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6351$as_echo_n "checking for $ac_word... " >&6; } 6352if ${ac_cv_prog_AR+:} false; then : 6353 $as_echo_n "(cached) " >&6 6354else 6355 if test -n "$AR"; then 6356 ac_cv_prog_AR="$AR" # Let the user override the test. 6357else 6358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6359for as_dir in $PATH 6360do 6361 IFS=$as_save_IFS 6362 test -z "$as_dir" && as_dir=. 6363 for ac_exec_ext in '' $ac_executable_extensions; do 6364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6365 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6367 break 2 6368 fi 6369done 6370 done 6371IFS=$as_save_IFS 6372 6373fi 6374fi 6375AR=$ac_cv_prog_AR 6376if test -n "$AR"; then 6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6378$as_echo "$AR" >&6; } 6379else 6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6381$as_echo "no" >&6; } 6382fi 6383 6384 6385 test -n "$AR" && break 6386 done 6387fi 6388if test -z "$AR"; then 6389 ac_ct_AR=$AR 6390 for ac_prog in ar 6391do 6392 # Extract the first word of "$ac_prog", so it can be a program name with args. 6393set dummy $ac_prog; ac_word=$2 6394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6395$as_echo_n "checking for $ac_word... " >&6; } 6396if ${ac_cv_prog_ac_ct_AR+:} false; then : 6397 $as_echo_n "(cached) " >&6 6398else 6399 if test -n "$ac_ct_AR"; then 6400 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6401else 6402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6403for as_dir in $PATH 6404do 6405 IFS=$as_save_IFS 6406 test -z "$as_dir" && as_dir=. 6407 for ac_exec_ext in '' $ac_executable_extensions; do 6408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6409 ac_cv_prog_ac_ct_AR="$ac_prog" 6410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6411 break 2 6412 fi 6413done 6414 done 6415IFS=$as_save_IFS 6416 6417fi 6418fi 6419ac_ct_AR=$ac_cv_prog_ac_ct_AR 6420if test -n "$ac_ct_AR"; then 6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6422$as_echo "$ac_ct_AR" >&6; } 6423else 6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6425$as_echo "no" >&6; } 6426fi 6427 6428 6429 test -n "$ac_ct_AR" && break 6430done 6431 6432 if test "x$ac_ct_AR" = x; then 6433 AR="false" 6434 else 6435 case $cross_compiling:$ac_tool_warned in 6436yes:) 6437{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6438$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6439ac_tool_warned=yes ;; 6440esac 6441 AR=$ac_ct_AR 6442 fi 6443fi 6444 6445: ${AR=ar} 6446: ${AR_FLAGS=cru} 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6459$as_echo_n "checking for archiver @FILE support... " >&6; } 6460if ${lt_cv_ar_at_file+:} false; then : 6461 $as_echo_n "(cached) " >&6 6462else 6463 lt_cv_ar_at_file=no 6464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6465/* end confdefs.h. */ 6466 6467int 6468main () 6469{ 6470 6471 ; 6472 return 0; 6473} 6474_ACEOF 6475if ac_fn_c_try_compile "$LINENO"; then : 6476 echo conftest.$ac_objext > conftest.lst 6477 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6478 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6479 (eval $lt_ar_try) 2>&5 6480 ac_status=$? 6481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6482 test $ac_status = 0; } 6483 if test 0 -eq "$ac_status"; then 6484 # Ensure the archiver fails upon bogus file names. 6485 rm -f conftest.$ac_objext libconftest.a 6486 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6487 (eval $lt_ar_try) 2>&5 6488 ac_status=$? 6489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6490 test $ac_status = 0; } 6491 if test 0 -ne "$ac_status"; then 6492 lt_cv_ar_at_file=@ 6493 fi 6494 fi 6495 rm -f conftest.* libconftest.a 6496 6497fi 6498rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6499 6500fi 6501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6502$as_echo "$lt_cv_ar_at_file" >&6; } 6503 6504if test no = "$lt_cv_ar_at_file"; then 6505 archiver_list_spec= 6506else 6507 archiver_list_spec=$lt_cv_ar_at_file 6508fi 6509 6510 6511 6512 6513 6514 6515 6516if test -n "$ac_tool_prefix"; then 6517 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6518set dummy ${ac_tool_prefix}strip; ac_word=$2 6519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6520$as_echo_n "checking for $ac_word... " >&6; } 6521if ${ac_cv_prog_STRIP+:} false; then : 6522 $as_echo_n "(cached) " >&6 6523else 6524 if test -n "$STRIP"; then 6525 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6526else 6527as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6528for as_dir in $PATH 6529do 6530 IFS=$as_save_IFS 6531 test -z "$as_dir" && as_dir=. 6532 for ac_exec_ext in '' $ac_executable_extensions; do 6533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6534 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6536 break 2 6537 fi 6538done 6539 done 6540IFS=$as_save_IFS 6541 6542fi 6543fi 6544STRIP=$ac_cv_prog_STRIP 6545if test -n "$STRIP"; then 6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6547$as_echo "$STRIP" >&6; } 6548else 6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6550$as_echo "no" >&6; } 6551fi 6552 6553 6554fi 6555if test -z "$ac_cv_prog_STRIP"; then 6556 ac_ct_STRIP=$STRIP 6557 # Extract the first word of "strip", so it can be a program name with args. 6558set dummy strip; ac_word=$2 6559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6560$as_echo_n "checking for $ac_word... " >&6; } 6561if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6562 $as_echo_n "(cached) " >&6 6563else 6564 if test -n "$ac_ct_STRIP"; then 6565 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6566else 6567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6568for as_dir in $PATH 6569do 6570 IFS=$as_save_IFS 6571 test -z "$as_dir" && as_dir=. 6572 for ac_exec_ext in '' $ac_executable_extensions; do 6573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6574 ac_cv_prog_ac_ct_STRIP="strip" 6575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6576 break 2 6577 fi 6578done 6579 done 6580IFS=$as_save_IFS 6581 6582fi 6583fi 6584ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6585if test -n "$ac_ct_STRIP"; then 6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6587$as_echo "$ac_ct_STRIP" >&6; } 6588else 6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6590$as_echo "no" >&6; } 6591fi 6592 6593 if test "x$ac_ct_STRIP" = x; then 6594 STRIP=":" 6595 else 6596 case $cross_compiling:$ac_tool_warned in 6597yes:) 6598{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6599$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6600ac_tool_warned=yes ;; 6601esac 6602 STRIP=$ac_ct_STRIP 6603 fi 6604else 6605 STRIP="$ac_cv_prog_STRIP" 6606fi 6607 6608test -z "$STRIP" && STRIP=: 6609 6610 6611 6612 6613 6614 6615if test -n "$ac_tool_prefix"; then 6616 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6617set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6619$as_echo_n "checking for $ac_word... " >&6; } 6620if ${ac_cv_prog_RANLIB+:} false; then : 6621 $as_echo_n "(cached) " >&6 6622else 6623 if test -n "$RANLIB"; then 6624 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6625else 6626as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6627for as_dir in $PATH 6628do 6629 IFS=$as_save_IFS 6630 test -z "$as_dir" && as_dir=. 6631 for ac_exec_ext in '' $ac_executable_extensions; do 6632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6633 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6635 break 2 6636 fi 6637done 6638 done 6639IFS=$as_save_IFS 6640 6641fi 6642fi 6643RANLIB=$ac_cv_prog_RANLIB 6644if test -n "$RANLIB"; then 6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6646$as_echo "$RANLIB" >&6; } 6647else 6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6649$as_echo "no" >&6; } 6650fi 6651 6652 6653fi 6654if test -z "$ac_cv_prog_RANLIB"; then 6655 ac_ct_RANLIB=$RANLIB 6656 # Extract the first word of "ranlib", so it can be a program name with args. 6657set dummy ranlib; ac_word=$2 6658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6659$as_echo_n "checking for $ac_word... " >&6; } 6660if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6661 $as_echo_n "(cached) " >&6 6662else 6663 if test -n "$ac_ct_RANLIB"; then 6664 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6665else 6666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6667for as_dir in $PATH 6668do 6669 IFS=$as_save_IFS 6670 test -z "$as_dir" && as_dir=. 6671 for ac_exec_ext in '' $ac_executable_extensions; do 6672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6673 ac_cv_prog_ac_ct_RANLIB="ranlib" 6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6675 break 2 6676 fi 6677done 6678 done 6679IFS=$as_save_IFS 6680 6681fi 6682fi 6683ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6684if test -n "$ac_ct_RANLIB"; then 6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6686$as_echo "$ac_ct_RANLIB" >&6; } 6687else 6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6689$as_echo "no" >&6; } 6690fi 6691 6692 if test "x$ac_ct_RANLIB" = x; then 6693 RANLIB=":" 6694 else 6695 case $cross_compiling:$ac_tool_warned in 6696yes:) 6697{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6698$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6699ac_tool_warned=yes ;; 6700esac 6701 RANLIB=$ac_ct_RANLIB 6702 fi 6703else 6704 RANLIB="$ac_cv_prog_RANLIB" 6705fi 6706 6707test -z "$RANLIB" && RANLIB=: 6708 6709 6710 6711 6712 6713 6714# Determine commands to create old-style static archives. 6715old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6716old_postinstall_cmds='chmod 644 $oldlib' 6717old_postuninstall_cmds= 6718 6719if test -n "$RANLIB"; then 6720 case $host_os in 6721 bitrig* | openbsd*) 6722 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6723 ;; 6724 *) 6725 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6726 ;; 6727 esac 6728 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6729fi 6730 6731case $host_os in 6732 darwin*) 6733 lock_old_archive_extraction=yes ;; 6734 *) 6735 lock_old_archive_extraction=no ;; 6736esac 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776# If no C compiler was specified, use CC. 6777LTCC=${LTCC-"$CC"} 6778 6779# If no C compiler flags were specified, use CFLAGS. 6780LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6781 6782# Allow CC to be a program name with arguments. 6783compiler=$CC 6784 6785 6786# Check for command to grab the raw symbol name followed by C symbol from nm. 6787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6788$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6789if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6790 $as_echo_n "(cached) " >&6 6791else 6792 6793# These are sane defaults that work on at least a few old systems. 6794# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6795 6796# Character class describing NM global symbol codes. 6797symcode='[BCDEGRST]' 6798 6799# Regexp to match symbols that can be accessed directly from C. 6800sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6801 6802# Define system-specific variables. 6803case $host_os in 6804aix*) 6805 symcode='[BCDT]' 6806 ;; 6807cygwin* | mingw* | pw32* | cegcc*) 6808 symcode='[ABCDGISTW]' 6809 ;; 6810hpux*) 6811 if test ia64 = "$host_cpu"; then 6812 symcode='[ABCDEGRST]' 6813 fi 6814 ;; 6815irix* | nonstopux*) 6816 symcode='[BCDEGRST]' 6817 ;; 6818osf*) 6819 symcode='[BCDEGQRST]' 6820 ;; 6821solaris*) 6822 symcode='[BDRT]' 6823 ;; 6824sco3.2v5*) 6825 symcode='[DT]' 6826 ;; 6827sysv4.2uw2*) 6828 symcode='[DT]' 6829 ;; 6830sysv5* | sco5v6* | unixware* | OpenUNIX*) 6831 symcode='[ABDT]' 6832 ;; 6833sysv4) 6834 symcode='[DFNSTU]' 6835 ;; 6836esac 6837 6838# If we're using GNU nm, then use its standard symbol codes. 6839case `$NM -V 2>&1` in 6840*GNU* | *'with BFD'*) 6841 symcode='[ABCDGIRSTW]' ;; 6842esac 6843 6844if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6845 # Gets list of data symbols to import. 6846 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6847 # Adjust the below global symbol transforms to fixup imported variables. 6848 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6849 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6850 lt_c_name_lib_hook="\ 6851 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6852 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6853else 6854 # Disable hooks by default. 6855 lt_cv_sys_global_symbol_to_import= 6856 lt_cdecl_hook= 6857 lt_c_name_hook= 6858 lt_c_name_lib_hook= 6859fi 6860 6861# Transform an extracted symbol line into a proper C declaration. 6862# Some systems (esp. on ia64) link data and code symbols differently, 6863# so use this general approach. 6864lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6865$lt_cdecl_hook\ 6866" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6867" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6868 6869# Transform an extracted symbol line into symbol name and symbol address 6870lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6871$lt_c_name_hook\ 6872" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6873" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6874 6875# Transform an extracted symbol line into symbol name with lib prefix and 6876# symbol address. 6877lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6878$lt_c_name_lib_hook\ 6879" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6880" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6881" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6882 6883# Handle CRLF in mingw tool chain 6884opt_cr= 6885case $build_os in 6886mingw*) 6887 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6888 ;; 6889esac 6890 6891# Try without a prefix underscore, then with it. 6892for ac_symprfx in "" "_"; do 6893 6894 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6895 symxfrm="\\1 $ac_symprfx\\2 \\2" 6896 6897 # Write the raw and C identifiers. 6898 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6899 # Fake it for dumpbin and say T for any non-static function, 6900 # D for any global variable and I for any imported variable. 6901 # Also find C++ and __fastcall symbols from MSVC++, 6902 # which start with @ or ?. 6903 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6904" {last_section=section; section=\$ 3};"\ 6905" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6906" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6907" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6908" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6909" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6910" \$ 0!~/External *\|/{next};"\ 6911" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6912" {if(hide[section]) next};"\ 6913" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6914" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6915" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6916" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6917" ' prfx=^$ac_symprfx" 6918 else 6919 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6920 fi 6921 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6922 6923 # Check to see that the pipe works correctly. 6924 pipe_works=no 6925 6926 rm -f conftest* 6927 cat > conftest.$ac_ext <<_LT_EOF 6928#ifdef __cplusplus 6929extern "C" { 6930#endif 6931char nm_test_var; 6932void nm_test_func(void); 6933void nm_test_func(void){} 6934#ifdef __cplusplus 6935} 6936#endif 6937int main(){nm_test_var='a';nm_test_func();return(0);} 6938_LT_EOF 6939 6940 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6941 (eval $ac_compile) 2>&5 6942 ac_status=$? 6943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6944 test $ac_status = 0; }; then 6945 # Now try to grab the symbols. 6946 nlist=conftest.nm 6947 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6948 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6949 ac_status=$? 6950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6951 test $ac_status = 0; } && test -s "$nlist"; then 6952 # Try sorting and uniquifying the output. 6953 if sort "$nlist" | uniq > "$nlist"T; then 6954 mv -f "$nlist"T "$nlist" 6955 else 6956 rm -f "$nlist"T 6957 fi 6958 6959 # Make sure that we snagged all the symbols we need. 6960 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6961 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6962 cat <<_LT_EOF > conftest.$ac_ext 6963/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6964#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6965/* DATA imports from DLLs on WIN32 can't be const, because runtime 6966 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6967# define LT_DLSYM_CONST 6968#elif defined __osf__ 6969/* This system does not cope well with relocations in const data. */ 6970# define LT_DLSYM_CONST 6971#else 6972# define LT_DLSYM_CONST const 6973#endif 6974 6975#ifdef __cplusplus 6976extern "C" { 6977#endif 6978 6979_LT_EOF 6980 # Now generate the symbol file. 6981 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6982 6983 cat <<_LT_EOF >> conftest.$ac_ext 6984 6985/* The mapping between symbol names and symbols. */ 6986LT_DLSYM_CONST struct { 6987 const char *name; 6988 void *address; 6989} 6990lt__PROGRAM__LTX_preloaded_symbols[] = 6991{ 6992 { "@PROGRAM@", (void *) 0 }, 6993_LT_EOF 6994 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6995 cat <<\_LT_EOF >> conftest.$ac_ext 6996 {0, (void *) 0} 6997}; 6998 6999/* This works around a problem in FreeBSD linker */ 7000#ifdef FREEBSD_WORKAROUND 7001static const void *lt_preloaded_setup() { 7002 return lt__PROGRAM__LTX_preloaded_symbols; 7003} 7004#endif 7005 7006#ifdef __cplusplus 7007} 7008#endif 7009_LT_EOF 7010 # Now try linking the two files. 7011 mv conftest.$ac_objext conftstm.$ac_objext 7012 lt_globsym_save_LIBS=$LIBS 7013 lt_globsym_save_CFLAGS=$CFLAGS 7014 LIBS=conftstm.$ac_objext 7015 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7016 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7017 (eval $ac_link) 2>&5 7018 ac_status=$? 7019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7020 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7021 pipe_works=yes 7022 fi 7023 LIBS=$lt_globsym_save_LIBS 7024 CFLAGS=$lt_globsym_save_CFLAGS 7025 else 7026 echo "cannot find nm_test_func in $nlist" >&5 7027 fi 7028 else 7029 echo "cannot find nm_test_var in $nlist" >&5 7030 fi 7031 else 7032 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7033 fi 7034 else 7035 echo "$progname: failed program was:" >&5 7036 cat conftest.$ac_ext >&5 7037 fi 7038 rm -rf conftest* conftst* 7039 7040 # Do not use the global_symbol_pipe unless it works. 7041 if test yes = "$pipe_works"; then 7042 break 7043 else 7044 lt_cv_sys_global_symbol_pipe= 7045 fi 7046done 7047 7048fi 7049 7050if test -z "$lt_cv_sys_global_symbol_pipe"; then 7051 lt_cv_sys_global_symbol_to_cdecl= 7052fi 7053if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7055$as_echo "failed" >&6; } 7056else 7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7058$as_echo "ok" >&6; } 7059fi 7060 7061# Response file support. 7062if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7063 nm_file_list_spec='@' 7064elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7065 nm_file_list_spec='@' 7066fi 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7105$as_echo_n "checking for sysroot... " >&6; } 7106 7107# Check whether --with-sysroot was given. 7108if test "${with_sysroot+set}" = set; then : 7109 withval=$with_sysroot; 7110else 7111 with_sysroot=no 7112fi 7113 7114 7115lt_sysroot= 7116case $with_sysroot in #( 7117 yes) 7118 if test yes = "$GCC"; then 7119 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7120 fi 7121 ;; #( 7122 /*) 7123 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7124 ;; #( 7125 no|'') 7126 ;; #( 7127 *) 7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7129$as_echo "$with_sysroot" >&6; } 7130 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7131 ;; 7132esac 7133 7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7135$as_echo "${lt_sysroot:-no}" >&6; } 7136 7137 7138 7139 7140 7141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7142$as_echo_n "checking for a working dd... " >&6; } 7143if ${ac_cv_path_lt_DD+:} false; then : 7144 $as_echo_n "(cached) " >&6 7145else 7146 printf 0123456789abcdef0123456789abcdef >conftest.i 7147cat conftest.i conftest.i >conftest2.i 7148: ${lt_DD:=$DD} 7149if test -z "$lt_DD"; then 7150 ac_path_lt_DD_found=false 7151 # Loop through the user's path and test for each of PROGNAME-LIST 7152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7153for as_dir in $PATH 7154do 7155 IFS=$as_save_IFS 7156 test -z "$as_dir" && as_dir=. 7157 for ac_prog in dd; do 7158 for ac_exec_ext in '' $ac_executable_extensions; do 7159 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 7160 as_fn_executable_p "$ac_path_lt_DD" || continue 7161if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7162 cmp -s conftest.i conftest.out \ 7163 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7164fi 7165 $ac_path_lt_DD_found && break 3 7166 done 7167 done 7168 done 7169IFS=$as_save_IFS 7170 if test -z "$ac_cv_path_lt_DD"; then 7171 : 7172 fi 7173else 7174 ac_cv_path_lt_DD=$lt_DD 7175fi 7176 7177rm -f conftest.i conftest2.i conftest.out 7178fi 7179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7180$as_echo "$ac_cv_path_lt_DD" >&6; } 7181 7182 7183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7184$as_echo_n "checking how to truncate binary pipes... " >&6; } 7185if ${lt_cv_truncate_bin+:} false; then : 7186 $as_echo_n "(cached) " >&6 7187else 7188 printf 0123456789abcdef0123456789abcdef >conftest.i 7189cat conftest.i conftest.i >conftest2.i 7190lt_cv_truncate_bin= 7191if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7192 cmp -s conftest.i conftest.out \ 7193 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7194fi 7195rm -f conftest.i conftest2.i conftest.out 7196test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7197fi 7198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7199$as_echo "$lt_cv_truncate_bin" >&6; } 7200 7201 7202 7203 7204 7205 7206 7207# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7208func_cc_basename () 7209{ 7210 for cc_temp in $*""; do 7211 case $cc_temp in 7212 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7213 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7214 \-*) ;; 7215 *) break;; 7216 esac 7217 done 7218 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7219} 7220 7221# Check whether --enable-libtool-lock was given. 7222if test "${enable_libtool_lock+set}" = set; then : 7223 enableval=$enable_libtool_lock; 7224fi 7225 7226test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7227 7228# Some flags need to be propagated to the compiler or linker for good 7229# libtool support. 7230case $host in 7231ia64-*-hpux*) 7232 # Find out what ABI is being produced by ac_compile, and set mode 7233 # options accordingly. 7234 echo 'int i;' > conftest.$ac_ext 7235 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7236 (eval $ac_compile) 2>&5 7237 ac_status=$? 7238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7239 test $ac_status = 0; }; then 7240 case `/usr/bin/file conftest.$ac_objext` in 7241 *ELF-32*) 7242 HPUX_IA64_MODE=32 7243 ;; 7244 *ELF-64*) 7245 HPUX_IA64_MODE=64 7246 ;; 7247 esac 7248 fi 7249 rm -rf conftest* 7250 ;; 7251*-*-irix6*) 7252 # Find out what ABI is being produced by ac_compile, and set linker 7253 # options accordingly. 7254 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7255 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7256 (eval $ac_compile) 2>&5 7257 ac_status=$? 7258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7259 test $ac_status = 0; }; then 7260 if test yes = "$lt_cv_prog_gnu_ld"; then 7261 case `/usr/bin/file conftest.$ac_objext` in 7262 *32-bit*) 7263 LD="${LD-ld} -melf32bsmip" 7264 ;; 7265 *N32*) 7266 LD="${LD-ld} -melf32bmipn32" 7267 ;; 7268 *64-bit*) 7269 LD="${LD-ld} -melf64bmip" 7270 ;; 7271 esac 7272 else 7273 case `/usr/bin/file conftest.$ac_objext` in 7274 *32-bit*) 7275 LD="${LD-ld} -32" 7276 ;; 7277 *N32*) 7278 LD="${LD-ld} -n32" 7279 ;; 7280 *64-bit*) 7281 LD="${LD-ld} -64" 7282 ;; 7283 esac 7284 fi 7285 fi 7286 rm -rf conftest* 7287 ;; 7288 7289mips64*-*linux*) 7290 # Find out what ABI is being produced by ac_compile, and set linker 7291 # options accordingly. 7292 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7293 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7294 (eval $ac_compile) 2>&5 7295 ac_status=$? 7296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7297 test $ac_status = 0; }; then 7298 emul=elf 7299 case `/usr/bin/file conftest.$ac_objext` in 7300 *32-bit*) 7301 emul="${emul}32" 7302 ;; 7303 *64-bit*) 7304 emul="${emul}64" 7305 ;; 7306 esac 7307 case `/usr/bin/file conftest.$ac_objext` in 7308 *MSB*) 7309 emul="${emul}btsmip" 7310 ;; 7311 *LSB*) 7312 emul="${emul}ltsmip" 7313 ;; 7314 esac 7315 case `/usr/bin/file conftest.$ac_objext` in 7316 *N32*) 7317 emul="${emul}n32" 7318 ;; 7319 esac 7320 LD="${LD-ld} -m $emul" 7321 fi 7322 rm -rf conftest* 7323 ;; 7324 7325x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7326s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7327 # Find out what ABI is being produced by ac_compile, and set linker 7328 # options accordingly. Note that the listed cases only cover the 7329 # situations where additional linker options are needed (such as when 7330 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7331 # vice versa); the common cases where no linker options are needed do 7332 # not appear in the list. 7333 echo 'int i;' > conftest.$ac_ext 7334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7335 (eval $ac_compile) 2>&5 7336 ac_status=$? 7337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7338 test $ac_status = 0; }; then 7339 case `/usr/bin/file conftest.o` in 7340 *32-bit*) 7341 case $host in 7342 x86_64-*kfreebsd*-gnu) 7343 LD="${LD-ld} -m elf_i386_fbsd" 7344 ;; 7345 x86_64-*linux*) 7346 case `/usr/bin/file conftest.o` in 7347 *x86-64*) 7348 LD="${LD-ld} -m elf32_x86_64" 7349 ;; 7350 *) 7351 LD="${LD-ld} -m elf_i386" 7352 ;; 7353 esac 7354 ;; 7355 powerpc64le-*linux*) 7356 LD="${LD-ld} -m elf32lppclinux" 7357 ;; 7358 powerpc64-*linux*) 7359 LD="${LD-ld} -m elf32ppclinux" 7360 ;; 7361 s390x-*linux*) 7362 LD="${LD-ld} -m elf_s390" 7363 ;; 7364 sparc64-*linux*) 7365 LD="${LD-ld} -m elf32_sparc" 7366 ;; 7367 esac 7368 ;; 7369 *64-bit*) 7370 case $host in 7371 x86_64-*kfreebsd*-gnu) 7372 LD="${LD-ld} -m elf_x86_64_fbsd" 7373 ;; 7374 x86_64-*linux*) 7375 LD="${LD-ld} -m elf_x86_64" 7376 ;; 7377 powerpcle-*linux*) 7378 LD="${LD-ld} -m elf64lppc" 7379 ;; 7380 powerpc-*linux*) 7381 LD="${LD-ld} -m elf64ppc" 7382 ;; 7383 s390*-*linux*|s390*-*tpf*) 7384 LD="${LD-ld} -m elf64_s390" 7385 ;; 7386 sparc*-*linux*) 7387 LD="${LD-ld} -m elf64_sparc" 7388 ;; 7389 esac 7390 ;; 7391 esac 7392 fi 7393 rm -rf conftest* 7394 ;; 7395 7396*-*-sco3.2v5*) 7397 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7398 SAVE_CFLAGS=$CFLAGS 7399 CFLAGS="$CFLAGS -belf" 7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7401$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7402if ${lt_cv_cc_needs_belf+:} false; then : 7403 $as_echo_n "(cached) " >&6 7404else 7405 ac_ext=c 7406ac_cpp='$CPP $CPPFLAGS' 7407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7409ac_compiler_gnu=$ac_cv_c_compiler_gnu 7410 7411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7412/* end confdefs.h. */ 7413 7414int 7415main () 7416{ 7417 7418 ; 7419 return 0; 7420} 7421_ACEOF 7422if ac_fn_c_try_link "$LINENO"; then : 7423 lt_cv_cc_needs_belf=yes 7424else 7425 lt_cv_cc_needs_belf=no 7426fi 7427rm -f core conftest.err conftest.$ac_objext \ 7428 conftest$ac_exeext conftest.$ac_ext 7429 ac_ext=c 7430ac_cpp='$CPP $CPPFLAGS' 7431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7433ac_compiler_gnu=$ac_cv_c_compiler_gnu 7434 7435fi 7436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7437$as_echo "$lt_cv_cc_needs_belf" >&6; } 7438 if test yes != "$lt_cv_cc_needs_belf"; then 7439 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7440 CFLAGS=$SAVE_CFLAGS 7441 fi 7442 ;; 7443*-*solaris*) 7444 # Find out what ABI is being produced by ac_compile, and set linker 7445 # options accordingly. 7446 echo 'int i;' > conftest.$ac_ext 7447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7448 (eval $ac_compile) 2>&5 7449 ac_status=$? 7450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7451 test $ac_status = 0; }; then 7452 case `/usr/bin/file conftest.o` in 7453 *64-bit*) 7454 case $lt_cv_prog_gnu_ld in 7455 yes*) 7456 case $host in 7457 i?86-*-solaris*|x86_64-*-solaris*) 7458 LD="${LD-ld} -m elf_x86_64" 7459 ;; 7460 sparc*-*-solaris*) 7461 LD="${LD-ld} -m elf64_sparc" 7462 ;; 7463 esac 7464 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7465 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7466 LD=${LD-ld}_sol2 7467 fi 7468 ;; 7469 *) 7470 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7471 LD="${LD-ld} -64" 7472 fi 7473 ;; 7474 esac 7475 ;; 7476 esac 7477 fi 7478 rm -rf conftest* 7479 ;; 7480esac 7481 7482need_locks=$enable_libtool_lock 7483 7484if test -n "$ac_tool_prefix"; then 7485 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7486set dummy ${ac_tool_prefix}mt; ac_word=$2 7487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7488$as_echo_n "checking for $ac_word... " >&6; } 7489if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7490 $as_echo_n "(cached) " >&6 7491else 7492 if test -n "$MANIFEST_TOOL"; then 7493 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7494else 7495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7496for as_dir in $PATH 7497do 7498 IFS=$as_save_IFS 7499 test -z "$as_dir" && as_dir=. 7500 for ac_exec_ext in '' $ac_executable_extensions; do 7501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7502 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7504 break 2 7505 fi 7506done 7507 done 7508IFS=$as_save_IFS 7509 7510fi 7511fi 7512MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7513if test -n "$MANIFEST_TOOL"; then 7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7515$as_echo "$MANIFEST_TOOL" >&6; } 7516else 7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7518$as_echo "no" >&6; } 7519fi 7520 7521 7522fi 7523if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7524 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7525 # Extract the first word of "mt", so it can be a program name with args. 7526set dummy mt; ac_word=$2 7527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7528$as_echo_n "checking for $ac_word... " >&6; } 7529if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7530 $as_echo_n "(cached) " >&6 7531else 7532 if test -n "$ac_ct_MANIFEST_TOOL"; then 7533 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7534else 7535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7536for as_dir in $PATH 7537do 7538 IFS=$as_save_IFS 7539 test -z "$as_dir" && as_dir=. 7540 for ac_exec_ext in '' $ac_executable_extensions; do 7541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7542 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7544 break 2 7545 fi 7546done 7547 done 7548IFS=$as_save_IFS 7549 7550fi 7551fi 7552ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7553if test -n "$ac_ct_MANIFEST_TOOL"; then 7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7555$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7556else 7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7558$as_echo "no" >&6; } 7559fi 7560 7561 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7562 MANIFEST_TOOL=":" 7563 else 7564 case $cross_compiling:$ac_tool_warned in 7565yes:) 7566{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7567$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7568ac_tool_warned=yes ;; 7569esac 7570 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7571 fi 7572else 7573 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7574fi 7575 7576test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7578$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7579if ${lt_cv_path_mainfest_tool+:} false; then : 7580 $as_echo_n "(cached) " >&6 7581else 7582 lt_cv_path_mainfest_tool=no 7583 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7584 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7585 cat conftest.err >&5 7586 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7587 lt_cv_path_mainfest_tool=yes 7588 fi 7589 rm -f conftest* 7590fi 7591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7592$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7593if test yes != "$lt_cv_path_mainfest_tool"; then 7594 MANIFEST_TOOL=: 7595fi 7596 7597 7598 7599 7600 7601 7602 case $host_os in 7603 rhapsody* | darwin*) 7604 if test -n "$ac_tool_prefix"; then 7605 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7606set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7608$as_echo_n "checking for $ac_word... " >&6; } 7609if ${ac_cv_prog_DSYMUTIL+:} false; then : 7610 $as_echo_n "(cached) " >&6 7611else 7612 if test -n "$DSYMUTIL"; then 7613 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7614else 7615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7616for as_dir in $PATH 7617do 7618 IFS=$as_save_IFS 7619 test -z "$as_dir" && as_dir=. 7620 for ac_exec_ext in '' $ac_executable_extensions; do 7621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7622 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7624 break 2 7625 fi 7626done 7627 done 7628IFS=$as_save_IFS 7629 7630fi 7631fi 7632DSYMUTIL=$ac_cv_prog_DSYMUTIL 7633if test -n "$DSYMUTIL"; then 7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7635$as_echo "$DSYMUTIL" >&6; } 7636else 7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7638$as_echo "no" >&6; } 7639fi 7640 7641 7642fi 7643if test -z "$ac_cv_prog_DSYMUTIL"; then 7644 ac_ct_DSYMUTIL=$DSYMUTIL 7645 # Extract the first word of "dsymutil", so it can be a program name with args. 7646set dummy dsymutil; ac_word=$2 7647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7648$as_echo_n "checking for $ac_word... " >&6; } 7649if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7650 $as_echo_n "(cached) " >&6 7651else 7652 if test -n "$ac_ct_DSYMUTIL"; then 7653 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7654else 7655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7656for as_dir in $PATH 7657do 7658 IFS=$as_save_IFS 7659 test -z "$as_dir" && as_dir=. 7660 for ac_exec_ext in '' $ac_executable_extensions; do 7661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7662 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7664 break 2 7665 fi 7666done 7667 done 7668IFS=$as_save_IFS 7669 7670fi 7671fi 7672ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7673if test -n "$ac_ct_DSYMUTIL"; then 7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7675$as_echo "$ac_ct_DSYMUTIL" >&6; } 7676else 7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7678$as_echo "no" >&6; } 7679fi 7680 7681 if test "x$ac_ct_DSYMUTIL" = x; then 7682 DSYMUTIL=":" 7683 else 7684 case $cross_compiling:$ac_tool_warned in 7685yes:) 7686{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7687$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7688ac_tool_warned=yes ;; 7689esac 7690 DSYMUTIL=$ac_ct_DSYMUTIL 7691 fi 7692else 7693 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7694fi 7695 7696 if test -n "$ac_tool_prefix"; then 7697 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7698set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7700$as_echo_n "checking for $ac_word... " >&6; } 7701if ${ac_cv_prog_NMEDIT+:} false; then : 7702 $as_echo_n "(cached) " >&6 7703else 7704 if test -n "$NMEDIT"; then 7705 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7706else 7707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7708for as_dir in $PATH 7709do 7710 IFS=$as_save_IFS 7711 test -z "$as_dir" && as_dir=. 7712 for ac_exec_ext in '' $ac_executable_extensions; do 7713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7714 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7716 break 2 7717 fi 7718done 7719 done 7720IFS=$as_save_IFS 7721 7722fi 7723fi 7724NMEDIT=$ac_cv_prog_NMEDIT 7725if test -n "$NMEDIT"; then 7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7727$as_echo "$NMEDIT" >&6; } 7728else 7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7730$as_echo "no" >&6; } 7731fi 7732 7733 7734fi 7735if test -z "$ac_cv_prog_NMEDIT"; then 7736 ac_ct_NMEDIT=$NMEDIT 7737 # Extract the first word of "nmedit", so it can be a program name with args. 7738set dummy nmedit; ac_word=$2 7739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7740$as_echo_n "checking for $ac_word... " >&6; } 7741if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7742 $as_echo_n "(cached) " >&6 7743else 7744 if test -n "$ac_ct_NMEDIT"; then 7745 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7746else 7747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7748for as_dir in $PATH 7749do 7750 IFS=$as_save_IFS 7751 test -z "$as_dir" && as_dir=. 7752 for ac_exec_ext in '' $ac_executable_extensions; do 7753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7754 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7756 break 2 7757 fi 7758done 7759 done 7760IFS=$as_save_IFS 7761 7762fi 7763fi 7764ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7765if test -n "$ac_ct_NMEDIT"; then 7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7767$as_echo "$ac_ct_NMEDIT" >&6; } 7768else 7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7770$as_echo "no" >&6; } 7771fi 7772 7773 if test "x$ac_ct_NMEDIT" = x; then 7774 NMEDIT=":" 7775 else 7776 case $cross_compiling:$ac_tool_warned in 7777yes:) 7778{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7779$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7780ac_tool_warned=yes ;; 7781esac 7782 NMEDIT=$ac_ct_NMEDIT 7783 fi 7784else 7785 NMEDIT="$ac_cv_prog_NMEDIT" 7786fi 7787 7788 if test -n "$ac_tool_prefix"; then 7789 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7790set dummy ${ac_tool_prefix}lipo; ac_word=$2 7791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7792$as_echo_n "checking for $ac_word... " >&6; } 7793if ${ac_cv_prog_LIPO+:} false; then : 7794 $as_echo_n "(cached) " >&6 7795else 7796 if test -n "$LIPO"; then 7797 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7798else 7799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7800for as_dir in $PATH 7801do 7802 IFS=$as_save_IFS 7803 test -z "$as_dir" && as_dir=. 7804 for ac_exec_ext in '' $ac_executable_extensions; do 7805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7806 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7808 break 2 7809 fi 7810done 7811 done 7812IFS=$as_save_IFS 7813 7814fi 7815fi 7816LIPO=$ac_cv_prog_LIPO 7817if test -n "$LIPO"; then 7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7819$as_echo "$LIPO" >&6; } 7820else 7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7822$as_echo "no" >&6; } 7823fi 7824 7825 7826fi 7827if test -z "$ac_cv_prog_LIPO"; then 7828 ac_ct_LIPO=$LIPO 7829 # Extract the first word of "lipo", so it can be a program name with args. 7830set dummy lipo; ac_word=$2 7831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7832$as_echo_n "checking for $ac_word... " >&6; } 7833if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7834 $as_echo_n "(cached) " >&6 7835else 7836 if test -n "$ac_ct_LIPO"; then 7837 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7838else 7839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7840for as_dir in $PATH 7841do 7842 IFS=$as_save_IFS 7843 test -z "$as_dir" && as_dir=. 7844 for ac_exec_ext in '' $ac_executable_extensions; do 7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7846 ac_cv_prog_ac_ct_LIPO="lipo" 7847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7848 break 2 7849 fi 7850done 7851 done 7852IFS=$as_save_IFS 7853 7854fi 7855fi 7856ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7857if test -n "$ac_ct_LIPO"; then 7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7859$as_echo "$ac_ct_LIPO" >&6; } 7860else 7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7862$as_echo "no" >&6; } 7863fi 7864 7865 if test "x$ac_ct_LIPO" = x; then 7866 LIPO=":" 7867 else 7868 case $cross_compiling:$ac_tool_warned in 7869yes:) 7870{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7871$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7872ac_tool_warned=yes ;; 7873esac 7874 LIPO=$ac_ct_LIPO 7875 fi 7876else 7877 LIPO="$ac_cv_prog_LIPO" 7878fi 7879 7880 if test -n "$ac_tool_prefix"; then 7881 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7882set dummy ${ac_tool_prefix}otool; ac_word=$2 7883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7884$as_echo_n "checking for $ac_word... " >&6; } 7885if ${ac_cv_prog_OTOOL+:} false; then : 7886 $as_echo_n "(cached) " >&6 7887else 7888 if test -n "$OTOOL"; then 7889 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7890else 7891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7892for as_dir in $PATH 7893do 7894 IFS=$as_save_IFS 7895 test -z "$as_dir" && as_dir=. 7896 for ac_exec_ext in '' $ac_executable_extensions; do 7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7898 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7900 break 2 7901 fi 7902done 7903 done 7904IFS=$as_save_IFS 7905 7906fi 7907fi 7908OTOOL=$ac_cv_prog_OTOOL 7909if test -n "$OTOOL"; then 7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7911$as_echo "$OTOOL" >&6; } 7912else 7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7914$as_echo "no" >&6; } 7915fi 7916 7917 7918fi 7919if test -z "$ac_cv_prog_OTOOL"; then 7920 ac_ct_OTOOL=$OTOOL 7921 # Extract the first word of "otool", so it can be a program name with args. 7922set dummy otool; ac_word=$2 7923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7924$as_echo_n "checking for $ac_word... " >&6; } 7925if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7926 $as_echo_n "(cached) " >&6 7927else 7928 if test -n "$ac_ct_OTOOL"; then 7929 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7930else 7931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7932for as_dir in $PATH 7933do 7934 IFS=$as_save_IFS 7935 test -z "$as_dir" && as_dir=. 7936 for ac_exec_ext in '' $ac_executable_extensions; do 7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7938 ac_cv_prog_ac_ct_OTOOL="otool" 7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7940 break 2 7941 fi 7942done 7943 done 7944IFS=$as_save_IFS 7945 7946fi 7947fi 7948ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7949if test -n "$ac_ct_OTOOL"; then 7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7951$as_echo "$ac_ct_OTOOL" >&6; } 7952else 7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7954$as_echo "no" >&6; } 7955fi 7956 7957 if test "x$ac_ct_OTOOL" = x; then 7958 OTOOL=":" 7959 else 7960 case $cross_compiling:$ac_tool_warned in 7961yes:) 7962{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7963$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7964ac_tool_warned=yes ;; 7965esac 7966 OTOOL=$ac_ct_OTOOL 7967 fi 7968else 7969 OTOOL="$ac_cv_prog_OTOOL" 7970fi 7971 7972 if test -n "$ac_tool_prefix"; then 7973 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7974set dummy ${ac_tool_prefix}otool64; ac_word=$2 7975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7976$as_echo_n "checking for $ac_word... " >&6; } 7977if ${ac_cv_prog_OTOOL64+:} false; then : 7978 $as_echo_n "(cached) " >&6 7979else 7980 if test -n "$OTOOL64"; then 7981 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7982else 7983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7984for as_dir in $PATH 7985do 7986 IFS=$as_save_IFS 7987 test -z "$as_dir" && as_dir=. 7988 for ac_exec_ext in '' $ac_executable_extensions; do 7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7990 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7992 break 2 7993 fi 7994done 7995 done 7996IFS=$as_save_IFS 7997 7998fi 7999fi 8000OTOOL64=$ac_cv_prog_OTOOL64 8001if test -n "$OTOOL64"; then 8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8003$as_echo "$OTOOL64" >&6; } 8004else 8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8006$as_echo "no" >&6; } 8007fi 8008 8009 8010fi 8011if test -z "$ac_cv_prog_OTOOL64"; then 8012 ac_ct_OTOOL64=$OTOOL64 8013 # Extract the first word of "otool64", so it can be a program name with args. 8014set dummy otool64; ac_word=$2 8015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8016$as_echo_n "checking for $ac_word... " >&6; } 8017if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8018 $as_echo_n "(cached) " >&6 8019else 8020 if test -n "$ac_ct_OTOOL64"; then 8021 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8022else 8023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8024for as_dir in $PATH 8025do 8026 IFS=$as_save_IFS 8027 test -z "$as_dir" && as_dir=. 8028 for ac_exec_ext in '' $ac_executable_extensions; do 8029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8030 ac_cv_prog_ac_ct_OTOOL64="otool64" 8031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8032 break 2 8033 fi 8034done 8035 done 8036IFS=$as_save_IFS 8037 8038fi 8039fi 8040ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8041if test -n "$ac_ct_OTOOL64"; then 8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8043$as_echo "$ac_ct_OTOOL64" >&6; } 8044else 8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8046$as_echo "no" >&6; } 8047fi 8048 8049 if test "x$ac_ct_OTOOL64" = x; then 8050 OTOOL64=":" 8051 else 8052 case $cross_compiling:$ac_tool_warned in 8053yes:) 8054{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8055$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8056ac_tool_warned=yes ;; 8057esac 8058 OTOOL64=$ac_ct_OTOOL64 8059 fi 8060else 8061 OTOOL64="$ac_cv_prog_OTOOL64" 8062fi 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8091$as_echo_n "checking for -single_module linker flag... " >&6; } 8092if ${lt_cv_apple_cc_single_mod+:} false; then : 8093 $as_echo_n "(cached) " >&6 8094else 8095 lt_cv_apple_cc_single_mod=no 8096 if test -z "$LT_MULTI_MODULE"; then 8097 # By default we will add the -single_module flag. You can override 8098 # by either setting the environment variable LT_MULTI_MODULE 8099 # non-empty at configure time, or by adding -multi_module to the 8100 # link flags. 8101 rm -rf libconftest.dylib* 8102 echo "int foo(void){return 1;}" > conftest.c 8103 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8104-dynamiclib -Wl,-single_module conftest.c" >&5 8105 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8106 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8107 _lt_result=$? 8108 # If there is a non-empty error log, and "single_module" 8109 # appears in it, assume the flag caused a linker warning 8110 if test -s conftest.err && $GREP single_module conftest.err; then 8111 cat conftest.err >&5 8112 # Otherwise, if the output was created with a 0 exit code from 8113 # the compiler, it worked. 8114 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8115 lt_cv_apple_cc_single_mod=yes 8116 else 8117 cat conftest.err >&5 8118 fi 8119 rm -rf libconftest.dylib* 8120 rm -f conftest.* 8121 fi 8122fi 8123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8124$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8125 8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8127$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8128if ${lt_cv_ld_exported_symbols_list+:} false; then : 8129 $as_echo_n "(cached) " >&6 8130else 8131 lt_cv_ld_exported_symbols_list=no 8132 save_LDFLAGS=$LDFLAGS 8133 echo "_main" > conftest.sym 8134 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8136/* end confdefs.h. */ 8137 8138int 8139main () 8140{ 8141 8142 ; 8143 return 0; 8144} 8145_ACEOF 8146if ac_fn_c_try_link "$LINENO"; then : 8147 lt_cv_ld_exported_symbols_list=yes 8148else 8149 lt_cv_ld_exported_symbols_list=no 8150fi 8151rm -f core conftest.err conftest.$ac_objext \ 8152 conftest$ac_exeext conftest.$ac_ext 8153 LDFLAGS=$save_LDFLAGS 8154 8155fi 8156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8157$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8158 8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8160$as_echo_n "checking for -force_load linker flag... " >&6; } 8161if ${lt_cv_ld_force_load+:} false; then : 8162 $as_echo_n "(cached) " >&6 8163else 8164 lt_cv_ld_force_load=no 8165 cat > conftest.c << _LT_EOF 8166int forced_loaded() { return 2;} 8167_LT_EOF 8168 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8169 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8170 echo "$AR cru libconftest.a conftest.o" >&5 8171 $AR cru libconftest.a conftest.o 2>&5 8172 echo "$RANLIB libconftest.a" >&5 8173 $RANLIB libconftest.a 2>&5 8174 cat > conftest.c << _LT_EOF 8175int main() { return 0;} 8176_LT_EOF 8177 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8178 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8179 _lt_result=$? 8180 if test -s conftest.err && $GREP force_load conftest.err; then 8181 cat conftest.err >&5 8182 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8183 lt_cv_ld_force_load=yes 8184 else 8185 cat conftest.err >&5 8186 fi 8187 rm -f conftest.err libconftest.a conftest conftest.c 8188 rm -rf conftest.dSYM 8189 8190fi 8191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8192$as_echo "$lt_cv_ld_force_load" >&6; } 8193 case $host_os in 8194 rhapsody* | darwin1.[012]) 8195 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8196 darwin1.*) 8197 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8198 darwin*) # darwin 5.x on 8199 # if running on 10.5 or later, the deployment target defaults 8200 # to the OS version, if on x86, and 10.4, the deployment 8201 # target defaults to 10.4. Don't you love it? 8202 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8203 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8204 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8205 10.[012][,.]*) 8206 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8207 10.*) 8208 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8209 esac 8210 ;; 8211 esac 8212 if test yes = "$lt_cv_apple_cc_single_mod"; then 8213 _lt_dar_single_mod='$single_module' 8214 fi 8215 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8216 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8217 else 8218 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8219 fi 8220 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8221 _lt_dsymutil='~$DSYMUTIL $lib || :' 8222 else 8223 _lt_dsymutil= 8224 fi 8225 ;; 8226 esac 8227 8228# func_munge_path_list VARIABLE PATH 8229# ----------------------------------- 8230# VARIABLE is name of variable containing _space_ separated list of 8231# directories to be munged by the contents of PATH, which is string 8232# having a format: 8233# "DIR[:DIR]:" 8234# string "DIR[ DIR]" will be prepended to VARIABLE 8235# ":DIR[:DIR]" 8236# string "DIR[ DIR]" will be appended to VARIABLE 8237# "DIRP[:DIRP]::[DIRA:]DIRA" 8238# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8239# "DIRA[ DIRA]" will be appended to VARIABLE 8240# "DIR[:DIR]" 8241# VARIABLE will be replaced by "DIR[ DIR]" 8242func_munge_path_list () 8243{ 8244 case x$2 in 8245 x) 8246 ;; 8247 *:) 8248 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8249 ;; 8250 x:*) 8251 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8252 ;; 8253 *::*) 8254 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8255 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8256 ;; 8257 *) 8258 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8259 ;; 8260 esac 8261} 8262 8263 8264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8265$as_echo_n "checking for ANSI C header files... " >&6; } 8266if ${ac_cv_header_stdc+:} false; then : 8267 $as_echo_n "(cached) " >&6 8268else 8269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8270/* end confdefs.h. */ 8271#include <stdlib.h> 8272#include <stdarg.h> 8273#include <string.h> 8274#include <float.h> 8275 8276int 8277main () 8278{ 8279 8280 ; 8281 return 0; 8282} 8283_ACEOF 8284if ac_fn_c_try_compile "$LINENO"; then : 8285 ac_cv_header_stdc=yes 8286else 8287 ac_cv_header_stdc=no 8288fi 8289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8290 8291if test $ac_cv_header_stdc = yes; then 8292 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8294/* end confdefs.h. */ 8295#include <string.h> 8296 8297_ACEOF 8298if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8299 $EGREP "memchr" >/dev/null 2>&1; then : 8300 8301else 8302 ac_cv_header_stdc=no 8303fi 8304rm -f conftest* 8305 8306fi 8307 8308if test $ac_cv_header_stdc = yes; then 8309 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8311/* end confdefs.h. */ 8312#include <stdlib.h> 8313 8314_ACEOF 8315if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8316 $EGREP "free" >/dev/null 2>&1; then : 8317 8318else 8319 ac_cv_header_stdc=no 8320fi 8321rm -f conftest* 8322 8323fi 8324 8325if test $ac_cv_header_stdc = yes; then 8326 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8327 if test "$cross_compiling" = yes; then : 8328 : 8329else 8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8331/* end confdefs.h. */ 8332#include <ctype.h> 8333#include <stdlib.h> 8334#if ((' ' & 0x0FF) == 0x020) 8335# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8336# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8337#else 8338# define ISLOWER(c) \ 8339 (('a' <= (c) && (c) <= 'i') \ 8340 || ('j' <= (c) && (c) <= 'r') \ 8341 || ('s' <= (c) && (c) <= 'z')) 8342# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8343#endif 8344 8345#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8346int 8347main () 8348{ 8349 int i; 8350 for (i = 0; i < 256; i++) 8351 if (XOR (islower (i), ISLOWER (i)) 8352 || toupper (i) != TOUPPER (i)) 8353 return 2; 8354 return 0; 8355} 8356_ACEOF 8357if ac_fn_c_try_run "$LINENO"; then : 8358 8359else 8360 ac_cv_header_stdc=no 8361fi 8362rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8363 conftest.$ac_objext conftest.beam conftest.$ac_ext 8364fi 8365 8366fi 8367fi 8368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8369$as_echo "$ac_cv_header_stdc" >&6; } 8370if test $ac_cv_header_stdc = yes; then 8371 8372$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8373 8374fi 8375 8376# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8377for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8378 inttypes.h stdint.h unistd.h 8379do : 8380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8381ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8382" 8383if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8384 cat >>confdefs.h <<_ACEOF 8385#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8386_ACEOF 8387 8388fi 8389 8390done 8391 8392 8393for ac_header in dlfcn.h 8394do : 8395 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8396" 8397if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8398 cat >>confdefs.h <<_ACEOF 8399#define HAVE_DLFCN_H 1 8400_ACEOF 8401 8402fi 8403 8404done 8405 8406 8407 8408 8409 8410# Set options 8411 8412 8413 8414 enable_dlopen=no 8415 8416 8417 enable_win32_dll=no 8418 8419 8420 # Check whether --enable-shared was given. 8421if test "${enable_shared+set}" = set; then : 8422 enableval=$enable_shared; p=${PACKAGE-default} 8423 case $enableval in 8424 yes) enable_shared=yes ;; 8425 no) enable_shared=no ;; 8426 *) 8427 enable_shared=no 8428 # Look at the argument we got. We use all the common list separators. 8429 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8430 for pkg in $enableval; do 8431 IFS=$lt_save_ifs 8432 if test "X$pkg" = "X$p"; then 8433 enable_shared=yes 8434 fi 8435 done 8436 IFS=$lt_save_ifs 8437 ;; 8438 esac 8439else 8440 enable_shared=yes 8441fi 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 # Check whether --enable-static was given. 8452if test "${enable_static+set}" = set; then : 8453 enableval=$enable_static; p=${PACKAGE-default} 8454 case $enableval in 8455 yes) enable_static=yes ;; 8456 no) enable_static=no ;; 8457 *) 8458 enable_static=no 8459 # Look at the argument we got. We use all the common list separators. 8460 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8461 for pkg in $enableval; do 8462 IFS=$lt_save_ifs 8463 if test "X$pkg" = "X$p"; then 8464 enable_static=yes 8465 fi 8466 done 8467 IFS=$lt_save_ifs 8468 ;; 8469 esac 8470else 8471 enable_static=yes 8472fi 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483# Check whether --with-pic was given. 8484if test "${with_pic+set}" = set; then : 8485 withval=$with_pic; lt_p=${PACKAGE-default} 8486 case $withval in 8487 yes|no) pic_mode=$withval ;; 8488 *) 8489 pic_mode=default 8490 # Look at the argument we got. We use all the common list separators. 8491 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8492 for lt_pkg in $withval; do 8493 IFS=$lt_save_ifs 8494 if test "X$lt_pkg" = "X$lt_p"; then 8495 pic_mode=yes 8496 fi 8497 done 8498 IFS=$lt_save_ifs 8499 ;; 8500 esac 8501else 8502 pic_mode=default 8503fi 8504 8505 8506 8507 8508 8509 8510 8511 8512 # Check whether --enable-fast-install was given. 8513if test "${enable_fast_install+set}" = set; then : 8514 enableval=$enable_fast_install; p=${PACKAGE-default} 8515 case $enableval in 8516 yes) enable_fast_install=yes ;; 8517 no) enable_fast_install=no ;; 8518 *) 8519 enable_fast_install=no 8520 # Look at the argument we got. We use all the common list separators. 8521 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8522 for pkg in $enableval; do 8523 IFS=$lt_save_ifs 8524 if test "X$pkg" = "X$p"; then 8525 enable_fast_install=yes 8526 fi 8527 done 8528 IFS=$lt_save_ifs 8529 ;; 8530 esac 8531else 8532 enable_fast_install=yes 8533fi 8534 8535 8536 8537 8538 8539 8540 8541 8542 shared_archive_member_spec= 8543case $host,$enable_shared in 8544power*-*-aix[5-9]*,yes) 8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8546$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8547 8548# Check whether --with-aix-soname was given. 8549if test "${with_aix_soname+set}" = set; then : 8550 withval=$with_aix_soname; case $withval in 8551 aix|svr4|both) 8552 ;; 8553 *) 8554 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8555 ;; 8556 esac 8557 lt_cv_with_aix_soname=$with_aix_soname 8558else 8559 if ${lt_cv_with_aix_soname+:} false; then : 8560 $as_echo_n "(cached) " >&6 8561else 8562 lt_cv_with_aix_soname=aix 8563fi 8564 8565 with_aix_soname=$lt_cv_with_aix_soname 8566fi 8567 8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8569$as_echo "$with_aix_soname" >&6; } 8570 if test aix != "$with_aix_soname"; then 8571 # For the AIX way of multilib, we name the shared archive member 8572 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8573 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8574 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8575 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8576 if test 64 = "${OBJECT_MODE-32}"; then 8577 shared_archive_member_spec=shr_64 8578 else 8579 shared_archive_member_spec=shr 8580 fi 8581 fi 8582 ;; 8583*) 8584 with_aix_soname=aix 8585 ;; 8586esac 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597# This can be used to rebuild libtool when needed 8598LIBTOOL_DEPS=$ltmain 8599 8600# Always use our own libtool. 8601LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632test -z "$LN_S" && LN_S="ln -s" 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647if test -n "${ZSH_VERSION+set}"; then 8648 setopt NO_GLOB_SUBST 8649fi 8650 8651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8652$as_echo_n "checking for objdir... " >&6; } 8653if ${lt_cv_objdir+:} false; then : 8654 $as_echo_n "(cached) " >&6 8655else 8656 rm -f .libs 2>/dev/null 8657mkdir .libs 2>/dev/null 8658if test -d .libs; then 8659 lt_cv_objdir=.libs 8660else 8661 # MS-DOS does not allow filenames that begin with a dot. 8662 lt_cv_objdir=_libs 8663fi 8664rmdir .libs 2>/dev/null 8665fi 8666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8667$as_echo "$lt_cv_objdir" >&6; } 8668objdir=$lt_cv_objdir 8669 8670 8671 8672 8673 8674cat >>confdefs.h <<_ACEOF 8675#define LT_OBJDIR "$lt_cv_objdir/" 8676_ACEOF 8677 8678 8679 8680 8681case $host_os in 8682aix3*) 8683 # AIX sometimes has problems with the GCC collect2 program. For some 8684 # reason, if we set the COLLECT_NAMES environment variable, the problems 8685 # vanish in a puff of smoke. 8686 if test set != "${COLLECT_NAMES+set}"; then 8687 COLLECT_NAMES= 8688 export COLLECT_NAMES 8689 fi 8690 ;; 8691esac 8692 8693# Global variables: 8694ofile=libtool 8695can_build_shared=yes 8696 8697# All known linkers require a '.a' archive for static linking (except MSVC, 8698# which needs '.lib'). 8699libext=a 8700 8701with_gnu_ld=$lt_cv_prog_gnu_ld 8702 8703old_CC=$CC 8704old_CFLAGS=$CFLAGS 8705 8706# Set sane defaults for various variables 8707test -z "$CC" && CC=cc 8708test -z "$LTCC" && LTCC=$CC 8709test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8710test -z "$LD" && LD=ld 8711test -z "$ac_objext" && ac_objext=o 8712 8713func_cc_basename $compiler 8714cc_basename=$func_cc_basename_result 8715 8716 8717# Only perform the check for file, if the check method requires it 8718test -z "$MAGIC_CMD" && MAGIC_CMD=file 8719case $deplibs_check_method in 8720file_magic*) 8721 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8723$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8724if ${lt_cv_path_MAGIC_CMD+:} false; then : 8725 $as_echo_n "(cached) " >&6 8726else 8727 case $MAGIC_CMD in 8728[\\/*] | ?:[\\/]*) 8729 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8730 ;; 8731*) 8732 lt_save_MAGIC_CMD=$MAGIC_CMD 8733 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8734 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8735 for ac_dir in $ac_dummy; do 8736 IFS=$lt_save_ifs 8737 test -z "$ac_dir" && ac_dir=. 8738 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8739 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8740 if test -n "$file_magic_test_file"; then 8741 case $deplibs_check_method in 8742 "file_magic "*) 8743 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8744 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8745 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8746 $EGREP "$file_magic_regex" > /dev/null; then 8747 : 8748 else 8749 cat <<_LT_EOF 1>&2 8750 8751*** Warning: the command libtool uses to detect shared libraries, 8752*** $file_magic_cmd, produces output that libtool cannot recognize. 8753*** The result is that libtool may fail to recognize shared libraries 8754*** as such. This will affect the creation of libtool libraries that 8755*** depend on shared libraries, but programs linked with such libtool 8756*** libraries will work regardless of this problem. Nevertheless, you 8757*** may want to report the problem to your system manager and/or to 8758*** bug-libtool@gnu.org 8759 8760_LT_EOF 8761 fi ;; 8762 esac 8763 fi 8764 break 8765 fi 8766 done 8767 IFS=$lt_save_ifs 8768 MAGIC_CMD=$lt_save_MAGIC_CMD 8769 ;; 8770esac 8771fi 8772 8773MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8774if test -n "$MAGIC_CMD"; then 8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8776$as_echo "$MAGIC_CMD" >&6; } 8777else 8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8779$as_echo "no" >&6; } 8780fi 8781 8782 8783 8784 8785 8786if test -z "$lt_cv_path_MAGIC_CMD"; then 8787 if test -n "$ac_tool_prefix"; then 8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8789$as_echo_n "checking for file... " >&6; } 8790if ${lt_cv_path_MAGIC_CMD+:} false; then : 8791 $as_echo_n "(cached) " >&6 8792else 8793 case $MAGIC_CMD in 8794[\\/*] | ?:[\\/]*) 8795 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8796 ;; 8797*) 8798 lt_save_MAGIC_CMD=$MAGIC_CMD 8799 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8800 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8801 for ac_dir in $ac_dummy; do 8802 IFS=$lt_save_ifs 8803 test -z "$ac_dir" && ac_dir=. 8804 if test -f "$ac_dir/file"; then 8805 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8806 if test -n "$file_magic_test_file"; then 8807 case $deplibs_check_method in 8808 "file_magic "*) 8809 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8810 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8811 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8812 $EGREP "$file_magic_regex" > /dev/null; then 8813 : 8814 else 8815 cat <<_LT_EOF 1>&2 8816 8817*** Warning: the command libtool uses to detect shared libraries, 8818*** $file_magic_cmd, produces output that libtool cannot recognize. 8819*** The result is that libtool may fail to recognize shared libraries 8820*** as such. This will affect the creation of libtool libraries that 8821*** depend on shared libraries, but programs linked with such libtool 8822*** libraries will work regardless of this problem. Nevertheless, you 8823*** may want to report the problem to your system manager and/or to 8824*** bug-libtool@gnu.org 8825 8826_LT_EOF 8827 fi ;; 8828 esac 8829 fi 8830 break 8831 fi 8832 done 8833 IFS=$lt_save_ifs 8834 MAGIC_CMD=$lt_save_MAGIC_CMD 8835 ;; 8836esac 8837fi 8838 8839MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8840if test -n "$MAGIC_CMD"; then 8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8842$as_echo "$MAGIC_CMD" >&6; } 8843else 8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8845$as_echo "no" >&6; } 8846fi 8847 8848 8849 else 8850 MAGIC_CMD=: 8851 fi 8852fi 8853 8854 fi 8855 ;; 8856esac 8857 8858# Use C for the default configuration in the libtool script 8859 8860lt_save_CC=$CC 8861ac_ext=c 8862ac_cpp='$CPP $CPPFLAGS' 8863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8865ac_compiler_gnu=$ac_cv_c_compiler_gnu 8866 8867 8868# Source file extension for C test sources. 8869ac_ext=c 8870 8871# Object file extension for compiled C test sources. 8872objext=o 8873objext=$objext 8874 8875# Code to be used in simple compile tests 8876lt_simple_compile_test_code="int some_variable = 0;" 8877 8878# Code to be used in simple link tests 8879lt_simple_link_test_code='int main(){return(0);}' 8880 8881 8882 8883 8884 8885 8886 8887# If no C compiler was specified, use CC. 8888LTCC=${LTCC-"$CC"} 8889 8890# If no C compiler flags were specified, use CFLAGS. 8891LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8892 8893# Allow CC to be a program name with arguments. 8894compiler=$CC 8895 8896# Save the default compiler, since it gets overwritten when the other 8897# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8898compiler_DEFAULT=$CC 8899 8900# save warnings/boilerplate of simple test code 8901ac_outfile=conftest.$ac_objext 8902echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8903eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8904_lt_compiler_boilerplate=`cat conftest.err` 8905$RM conftest* 8906 8907ac_outfile=conftest.$ac_objext 8908echo "$lt_simple_link_test_code" >conftest.$ac_ext 8909eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8910_lt_linker_boilerplate=`cat conftest.err` 8911$RM -r conftest* 8912 8913 8914## CAVEAT EMPTOR: 8915## There is no encapsulation within the following macros, do not change 8916## the running order or otherwise move them around unless you know exactly 8917## what you are doing... 8918if test -n "$compiler"; then 8919 8920lt_prog_compiler_no_builtin_flag= 8921 8922if test yes = "$GCC"; then 8923 case $cc_basename in 8924 nvcc*) 8925 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8926 *) 8927 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8928 esac 8929 8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8931$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8932if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8933 $as_echo_n "(cached) " >&6 8934else 8935 lt_cv_prog_compiler_rtti_exceptions=no 8936 ac_outfile=conftest.$ac_objext 8937 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8938 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8939 # Insert the option either (1) after the last *FLAGS variable, or 8940 # (2) before a word containing "conftest.", or (3) at the end. 8941 # Note that $ac_compile itself does not contain backslashes and begins 8942 # with a dollar sign (not a hyphen), so the echo should work correctly. 8943 # The option is referenced via a variable to avoid confusing sed. 8944 lt_compile=`echo "$ac_compile" | $SED \ 8945 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8946 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8947 -e 's:$: $lt_compiler_flag:'` 8948 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8949 (eval "$lt_compile" 2>conftest.err) 8950 ac_status=$? 8951 cat conftest.err >&5 8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8953 if (exit $ac_status) && test -s "$ac_outfile"; then 8954 # The compiler can only warn and ignore the option if not recognized 8955 # So say no if there are warnings other than the usual output. 8956 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8957 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8958 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8959 lt_cv_prog_compiler_rtti_exceptions=yes 8960 fi 8961 fi 8962 $RM conftest* 8963 8964fi 8965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8966$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8967 8968if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8969 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8970else 8971 : 8972fi 8973 8974fi 8975 8976 8977 8978 8979 8980 8981 lt_prog_compiler_wl= 8982lt_prog_compiler_pic= 8983lt_prog_compiler_static= 8984 8985 8986 if test yes = "$GCC"; then 8987 lt_prog_compiler_wl='-Wl,' 8988 lt_prog_compiler_static='-static' 8989 8990 case $host_os in 8991 aix*) 8992 # All AIX code is PIC. 8993 if test ia64 = "$host_cpu"; then 8994 # AIX 5 now supports IA64 processor 8995 lt_prog_compiler_static='-Bstatic' 8996 fi 8997 lt_prog_compiler_pic='-fPIC' 8998 ;; 8999 9000 amigaos*) 9001 case $host_cpu in 9002 powerpc) 9003 # see comment about AmigaOS4 .so support 9004 lt_prog_compiler_pic='-fPIC' 9005 ;; 9006 m68k) 9007 # FIXME: we need at least 68020 code to build shared libraries, but 9008 # adding the '-m68020' flag to GCC prevents building anything better, 9009 # like '-m68040'. 9010 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9011 ;; 9012 esac 9013 ;; 9014 9015 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9016 # PIC is the default for these OSes. 9017 ;; 9018 9019 mingw* | cygwin* | pw32* | os2* | cegcc*) 9020 # This hack is so that the source file can tell whether it is being 9021 # built for inclusion in a dll (and should export symbols for example). 9022 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9023 # (--disable-auto-import) libraries 9024 lt_prog_compiler_pic='-DDLL_EXPORT' 9025 case $host_os in 9026 os2*) 9027 lt_prog_compiler_static='$wl-static' 9028 ;; 9029 esac 9030 ;; 9031 9032 darwin* | rhapsody*) 9033 # PIC is the default on this platform 9034 # Common symbols not allowed in MH_DYLIB files 9035 lt_prog_compiler_pic='-fno-common' 9036 ;; 9037 9038 haiku*) 9039 # PIC is the default for Haiku. 9040 # The "-static" flag exists, but is broken. 9041 lt_prog_compiler_static= 9042 ;; 9043 9044 hpux*) 9045 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9046 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9047 # sets the default TLS model and affects inlining. 9048 case $host_cpu in 9049 hppa*64*) 9050 # +Z the default 9051 ;; 9052 *) 9053 lt_prog_compiler_pic='-fPIC' 9054 ;; 9055 esac 9056 ;; 9057 9058 interix[3-9]*) 9059 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9060 # Instead, we relocate shared libraries at runtime. 9061 ;; 9062 9063 msdosdjgpp*) 9064 # Just because we use GCC doesn't mean we suddenly get shared libraries 9065 # on systems that don't support them. 9066 lt_prog_compiler_can_build_shared=no 9067 enable_shared=no 9068 ;; 9069 9070 *nto* | *qnx*) 9071 # QNX uses GNU C++, but need to define -shared option too, otherwise 9072 # it will coredump. 9073 lt_prog_compiler_pic='-fPIC -shared' 9074 ;; 9075 9076 sysv4*MP*) 9077 if test -d /usr/nec; then 9078 lt_prog_compiler_pic=-Kconform_pic 9079 fi 9080 ;; 9081 9082 *) 9083 lt_prog_compiler_pic='-fPIC' 9084 ;; 9085 esac 9086 9087 case $cc_basename in 9088 nvcc*) # Cuda Compiler Driver 2.2 9089 lt_prog_compiler_wl='-Xlinker ' 9090 if test -n "$lt_prog_compiler_pic"; then 9091 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9092 fi 9093 ;; 9094 esac 9095 else 9096 # PORTME Check for flag to pass linker flags through the system compiler. 9097 case $host_os in 9098 aix*) 9099 lt_prog_compiler_wl='-Wl,' 9100 if test ia64 = "$host_cpu"; then 9101 # AIX 5 now supports IA64 processor 9102 lt_prog_compiler_static='-Bstatic' 9103 else 9104 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9105 fi 9106 ;; 9107 9108 darwin* | rhapsody*) 9109 # PIC is the default on this platform 9110 # Common symbols not allowed in MH_DYLIB files 9111 lt_prog_compiler_pic='-fno-common' 9112 case $cc_basename in 9113 nagfor*) 9114 # NAG Fortran compiler 9115 lt_prog_compiler_wl='-Wl,-Wl,,' 9116 lt_prog_compiler_pic='-PIC' 9117 lt_prog_compiler_static='-Bstatic' 9118 ;; 9119 esac 9120 ;; 9121 9122 mingw* | cygwin* | pw32* | os2* | cegcc*) 9123 # This hack is so that the source file can tell whether it is being 9124 # built for inclusion in a dll (and should export symbols for example). 9125 lt_prog_compiler_pic='-DDLL_EXPORT' 9126 case $host_os in 9127 os2*) 9128 lt_prog_compiler_static='$wl-static' 9129 ;; 9130 esac 9131 ;; 9132 9133 hpux9* | hpux10* | hpux11*) 9134 lt_prog_compiler_wl='-Wl,' 9135 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9136 # not for PA HP-UX. 9137 case $host_cpu in 9138 hppa*64*|ia64*) 9139 # +Z the default 9140 ;; 9141 *) 9142 lt_prog_compiler_pic='+Z' 9143 ;; 9144 esac 9145 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9146 lt_prog_compiler_static='$wl-a ${wl}archive' 9147 ;; 9148 9149 irix5* | irix6* | nonstopux*) 9150 lt_prog_compiler_wl='-Wl,' 9151 # PIC (with -KPIC) is the default. 9152 lt_prog_compiler_static='-non_shared' 9153 ;; 9154 9155 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9156 case $cc_basename in 9157 # old Intel for x86_64, which still supported -KPIC. 9158 ecc*) 9159 lt_prog_compiler_wl='-Wl,' 9160 lt_prog_compiler_pic='-KPIC' 9161 lt_prog_compiler_static='-static' 9162 ;; 9163 # icc used to be incompatible with GCC. 9164 # ICC 10 doesn't accept -KPIC any more. 9165 icc* | ifort*) 9166 lt_prog_compiler_wl='-Wl,' 9167 lt_prog_compiler_pic='-fPIC' 9168 lt_prog_compiler_static='-static' 9169 ;; 9170 # Lahey Fortran 8.1. 9171 lf95*) 9172 lt_prog_compiler_wl='-Wl,' 9173 lt_prog_compiler_pic='--shared' 9174 lt_prog_compiler_static='--static' 9175 ;; 9176 nagfor*) 9177 # NAG Fortran compiler 9178 lt_prog_compiler_wl='-Wl,-Wl,,' 9179 lt_prog_compiler_pic='-PIC' 9180 lt_prog_compiler_static='-Bstatic' 9181 ;; 9182 tcc*) 9183 # Fabrice Bellard et al's Tiny C Compiler 9184 lt_prog_compiler_wl='-Wl,' 9185 lt_prog_compiler_pic='-fPIC' 9186 lt_prog_compiler_static='-static' 9187 ;; 9188 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9189 # Portland Group compilers (*not* the Pentium gcc compiler, 9190 # which looks to be a dead project) 9191 lt_prog_compiler_wl='-Wl,' 9192 lt_prog_compiler_pic='-fpic' 9193 lt_prog_compiler_static='-Bstatic' 9194 ;; 9195 ccc*) 9196 lt_prog_compiler_wl='-Wl,' 9197 # All Alpha code is PIC. 9198 lt_prog_compiler_static='-non_shared' 9199 ;; 9200 xl* | bgxl* | bgf* | mpixl*) 9201 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9202 lt_prog_compiler_wl='-Wl,' 9203 lt_prog_compiler_pic='-qpic' 9204 lt_prog_compiler_static='-qstaticlink' 9205 ;; 9206 *) 9207 case `$CC -V 2>&1 | sed 5q` in 9208 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9209 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9210 lt_prog_compiler_pic='-KPIC' 9211 lt_prog_compiler_static='-Bstatic' 9212 lt_prog_compiler_wl='' 9213 ;; 9214 *Sun\ F* | *Sun*Fortran*) 9215 lt_prog_compiler_pic='-KPIC' 9216 lt_prog_compiler_static='-Bstatic' 9217 lt_prog_compiler_wl='-Qoption ld ' 9218 ;; 9219 *Sun\ C*) 9220 # Sun C 5.9 9221 lt_prog_compiler_pic='-KPIC' 9222 lt_prog_compiler_static='-Bstatic' 9223 lt_prog_compiler_wl='-Wl,' 9224 ;; 9225 *Intel*\ [CF]*Compiler*) 9226 lt_prog_compiler_wl='-Wl,' 9227 lt_prog_compiler_pic='-fPIC' 9228 lt_prog_compiler_static='-static' 9229 ;; 9230 *Portland\ Group*) 9231 lt_prog_compiler_wl='-Wl,' 9232 lt_prog_compiler_pic='-fpic' 9233 lt_prog_compiler_static='-Bstatic' 9234 ;; 9235 esac 9236 ;; 9237 esac 9238 ;; 9239 9240 newsos6) 9241 lt_prog_compiler_pic='-KPIC' 9242 lt_prog_compiler_static='-Bstatic' 9243 ;; 9244 9245 *nto* | *qnx*) 9246 # QNX uses GNU C++, but need to define -shared option too, otherwise 9247 # it will coredump. 9248 lt_prog_compiler_pic='-fPIC -shared' 9249 ;; 9250 9251 osf3* | osf4* | osf5*) 9252 lt_prog_compiler_wl='-Wl,' 9253 # All OSF/1 code is PIC. 9254 lt_prog_compiler_static='-non_shared' 9255 ;; 9256 9257 rdos*) 9258 lt_prog_compiler_static='-non_shared' 9259 ;; 9260 9261 solaris*) 9262 lt_prog_compiler_pic='-KPIC' 9263 lt_prog_compiler_static='-Bstatic' 9264 case $cc_basename in 9265 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9266 lt_prog_compiler_wl='-Qoption ld ';; 9267 *) 9268 lt_prog_compiler_wl='-Wl,';; 9269 esac 9270 ;; 9271 9272 sunos4*) 9273 lt_prog_compiler_wl='-Qoption ld ' 9274 lt_prog_compiler_pic='-PIC' 9275 lt_prog_compiler_static='-Bstatic' 9276 ;; 9277 9278 sysv4 | sysv4.2uw2* | sysv4.3*) 9279 lt_prog_compiler_wl='-Wl,' 9280 lt_prog_compiler_pic='-KPIC' 9281 lt_prog_compiler_static='-Bstatic' 9282 ;; 9283 9284 sysv4*MP*) 9285 if test -d /usr/nec; then 9286 lt_prog_compiler_pic='-Kconform_pic' 9287 lt_prog_compiler_static='-Bstatic' 9288 fi 9289 ;; 9290 9291 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9292 lt_prog_compiler_wl='-Wl,' 9293 lt_prog_compiler_pic='-KPIC' 9294 lt_prog_compiler_static='-Bstatic' 9295 ;; 9296 9297 unicos*) 9298 lt_prog_compiler_wl='-Wl,' 9299 lt_prog_compiler_can_build_shared=no 9300 ;; 9301 9302 uts4*) 9303 lt_prog_compiler_pic='-pic' 9304 lt_prog_compiler_static='-Bstatic' 9305 ;; 9306 9307 *) 9308 lt_prog_compiler_can_build_shared=no 9309 ;; 9310 esac 9311 fi 9312 9313case $host_os in 9314 # For platforms that do not support PIC, -DPIC is meaningless: 9315 *djgpp*) 9316 lt_prog_compiler_pic= 9317 ;; 9318 *) 9319 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9320 ;; 9321esac 9322 9323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9324$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9325if ${lt_cv_prog_compiler_pic+:} false; then : 9326 $as_echo_n "(cached) " >&6 9327else 9328 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9329fi 9330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9331$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9332lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9333 9334# 9335# Check to make sure the PIC flag actually works. 9336# 9337if test -n "$lt_prog_compiler_pic"; then 9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9339$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9340if ${lt_cv_prog_compiler_pic_works+:} false; then : 9341 $as_echo_n "(cached) " >&6 9342else 9343 lt_cv_prog_compiler_pic_works=no 9344 ac_outfile=conftest.$ac_objext 9345 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9346 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9347 # Insert the option either (1) after the last *FLAGS variable, or 9348 # (2) before a word containing "conftest.", or (3) at the end. 9349 # Note that $ac_compile itself does not contain backslashes and begins 9350 # with a dollar sign (not a hyphen), so the echo should work correctly. 9351 # The option is referenced via a variable to avoid confusing sed. 9352 lt_compile=`echo "$ac_compile" | $SED \ 9353 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9354 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9355 -e 's:$: $lt_compiler_flag:'` 9356 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9357 (eval "$lt_compile" 2>conftest.err) 9358 ac_status=$? 9359 cat conftest.err >&5 9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9361 if (exit $ac_status) && test -s "$ac_outfile"; then 9362 # The compiler can only warn and ignore the option if not recognized 9363 # So say no if there are warnings other than the usual output. 9364 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9365 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9366 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9367 lt_cv_prog_compiler_pic_works=yes 9368 fi 9369 fi 9370 $RM conftest* 9371 9372fi 9373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9374$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9375 9376if test yes = "$lt_cv_prog_compiler_pic_works"; then 9377 case $lt_prog_compiler_pic in 9378 "" | " "*) ;; 9379 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9380 esac 9381else 9382 lt_prog_compiler_pic= 9383 lt_prog_compiler_can_build_shared=no 9384fi 9385 9386fi 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398# 9399# Check to make sure the static flag actually works. 9400# 9401wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9403$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9404if ${lt_cv_prog_compiler_static_works+:} false; then : 9405 $as_echo_n "(cached) " >&6 9406else 9407 lt_cv_prog_compiler_static_works=no 9408 save_LDFLAGS=$LDFLAGS 9409 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9410 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9411 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9412 # The linker can only warn and ignore the option if not recognized 9413 # So say no if there are warnings 9414 if test -s conftest.err; then 9415 # Append any errors to the config.log. 9416 cat conftest.err 1>&5 9417 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9418 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9419 if diff conftest.exp conftest.er2 >/dev/null; then 9420 lt_cv_prog_compiler_static_works=yes 9421 fi 9422 else 9423 lt_cv_prog_compiler_static_works=yes 9424 fi 9425 fi 9426 $RM -r conftest* 9427 LDFLAGS=$save_LDFLAGS 9428 9429fi 9430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9431$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9432 9433if test yes = "$lt_cv_prog_compiler_static_works"; then 9434 : 9435else 9436 lt_prog_compiler_static= 9437fi 9438 9439 9440 9441 9442 9443 9444 9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9446$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9447if ${lt_cv_prog_compiler_c_o+:} false; then : 9448 $as_echo_n "(cached) " >&6 9449else 9450 lt_cv_prog_compiler_c_o=no 9451 $RM -r conftest 2>/dev/null 9452 mkdir conftest 9453 cd conftest 9454 mkdir out 9455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9456 9457 lt_compiler_flag="-o out/conftest2.$ac_objext" 9458 # Insert the option either (1) after the last *FLAGS variable, or 9459 # (2) before a word containing "conftest.", or (3) at the end. 9460 # Note that $ac_compile itself does not contain backslashes and begins 9461 # with a dollar sign (not a hyphen), so the echo should work correctly. 9462 lt_compile=`echo "$ac_compile" | $SED \ 9463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9465 -e 's:$: $lt_compiler_flag:'` 9466 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9467 (eval "$lt_compile" 2>out/conftest.err) 9468 ac_status=$? 9469 cat out/conftest.err >&5 9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9471 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9472 then 9473 # The compiler can only warn and ignore the option if not recognized 9474 # So say no if there are warnings 9475 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9476 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9477 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9478 lt_cv_prog_compiler_c_o=yes 9479 fi 9480 fi 9481 chmod u+w . 2>&5 9482 $RM conftest* 9483 # SGI C++ compiler will create directory out/ii_files/ for 9484 # template instantiation 9485 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9486 $RM out/* && rmdir out 9487 cd .. 9488 $RM -r conftest 9489 $RM conftest* 9490 9491fi 9492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9493$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9494 9495 9496 9497 9498 9499 9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9501$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9502if ${lt_cv_prog_compiler_c_o+:} false; then : 9503 $as_echo_n "(cached) " >&6 9504else 9505 lt_cv_prog_compiler_c_o=no 9506 $RM -r conftest 2>/dev/null 9507 mkdir conftest 9508 cd conftest 9509 mkdir out 9510 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9511 9512 lt_compiler_flag="-o out/conftest2.$ac_objext" 9513 # Insert the option either (1) after the last *FLAGS variable, or 9514 # (2) before a word containing "conftest.", or (3) at the end. 9515 # Note that $ac_compile itself does not contain backslashes and begins 9516 # with a dollar sign (not a hyphen), so the echo should work correctly. 9517 lt_compile=`echo "$ac_compile" | $SED \ 9518 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9519 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9520 -e 's:$: $lt_compiler_flag:'` 9521 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9522 (eval "$lt_compile" 2>out/conftest.err) 9523 ac_status=$? 9524 cat out/conftest.err >&5 9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9526 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9527 then 9528 # The compiler can only warn and ignore the option if not recognized 9529 # So say no if there are warnings 9530 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9531 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9532 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9533 lt_cv_prog_compiler_c_o=yes 9534 fi 9535 fi 9536 chmod u+w . 2>&5 9537 $RM conftest* 9538 # SGI C++ compiler will create directory out/ii_files/ for 9539 # template instantiation 9540 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9541 $RM out/* && rmdir out 9542 cd .. 9543 $RM -r conftest 9544 $RM conftest* 9545 9546fi 9547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9548$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9549 9550 9551 9552 9553hard_links=nottested 9554if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9555 # do not overwrite the value of need_locks provided by the user 9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9557$as_echo_n "checking if we can lock with hard links... " >&6; } 9558 hard_links=yes 9559 $RM conftest* 9560 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9561 touch conftest.a 9562 ln conftest.a conftest.b 2>&5 || hard_links=no 9563 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9565$as_echo "$hard_links" >&6; } 9566 if test no = "$hard_links"; then 9567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9568$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9569 need_locks=warn 9570 fi 9571else 9572 need_locks=no 9573fi 9574 9575 9576 9577 9578 9579 9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9581$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9582 9583 runpath_var= 9584 allow_undefined_flag= 9585 always_export_symbols=no 9586 archive_cmds= 9587 archive_expsym_cmds= 9588 compiler_needs_object=no 9589 enable_shared_with_static_runtimes=no 9590 export_dynamic_flag_spec= 9591 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9592 hardcode_automatic=no 9593 hardcode_direct=no 9594 hardcode_direct_absolute=no 9595 hardcode_libdir_flag_spec= 9596 hardcode_libdir_separator= 9597 hardcode_minus_L=no 9598 hardcode_shlibpath_var=unsupported 9599 inherit_rpath=no 9600 link_all_deplibs=unknown 9601 module_cmds= 9602 module_expsym_cmds= 9603 old_archive_from_new_cmds= 9604 old_archive_from_expsyms_cmds= 9605 thread_safe_flag_spec= 9606 whole_archive_flag_spec= 9607 # include_expsyms should be a list of space-separated symbols to be *always* 9608 # included in the symbol list 9609 include_expsyms= 9610 # exclude_expsyms can be an extended regexp of symbols to exclude 9611 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9612 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9613 # as well as any symbol that contains 'd'. 9614 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9615 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9616 # platforms (ab)use it in PIC code, but their linkers get confused if 9617 # the symbol is explicitly referenced. Since portable code cannot 9618 # rely on this symbol name, it's probably fine to never include it in 9619 # preloaded symbol tables. 9620 # Exclude shared library initialization/finalization symbols. 9621 extract_expsyms_cmds= 9622 9623 case $host_os in 9624 cygwin* | mingw* | pw32* | cegcc*) 9625 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9626 # When not using gcc, we currently assume that we are using 9627 # Microsoft Visual C++. 9628 if test yes != "$GCC"; then 9629 with_gnu_ld=no 9630 fi 9631 ;; 9632 interix*) 9633 # we just hope/assume this is gcc and not c89 (= MSVC++) 9634 with_gnu_ld=yes 9635 ;; 9636 openbsd* | bitrig*) 9637 with_gnu_ld=no 9638 ;; 9639 esac 9640 9641 ld_shlibs=yes 9642 9643 # On some targets, GNU ld is compatible enough with the native linker 9644 # that we're better off using the native interface for both. 9645 lt_use_gnu_ld_interface=no 9646 if test yes = "$with_gnu_ld"; then 9647 case $host_os in 9648 aix*) 9649 # The AIX port of GNU ld has always aspired to compatibility 9650 # with the native linker. However, as the warning in the GNU ld 9651 # block says, versions before 2.19.5* couldn't really create working 9652 # shared libraries, regardless of the interface used. 9653 case `$LD -v 2>&1` in 9654 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9655 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9656 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9657 *) 9658 lt_use_gnu_ld_interface=yes 9659 ;; 9660 esac 9661 ;; 9662 *) 9663 lt_use_gnu_ld_interface=yes 9664 ;; 9665 esac 9666 fi 9667 9668 if test yes = "$lt_use_gnu_ld_interface"; then 9669 # If archive_cmds runs LD, not CC, wlarc should be empty 9670 wlarc='$wl' 9671 9672 # Set some defaults for GNU ld with shared library support. These 9673 # are reset later if shared libraries are not supported. Putting them 9674 # here allows them to be overridden if necessary. 9675 runpath_var=LD_RUN_PATH 9676 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9677 export_dynamic_flag_spec='$wl--export-dynamic' 9678 # ancient GNU ld didn't support --whole-archive et. al. 9679 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9680 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9681 else 9682 whole_archive_flag_spec= 9683 fi 9684 supports_anon_versioning=no 9685 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9686 *GNU\ gold*) supports_anon_versioning=yes ;; 9687 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9688 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9689 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9690 *\ 2.11.*) ;; # other 2.11 versions 9691 *) supports_anon_versioning=yes ;; 9692 esac 9693 9694 # See if GNU ld supports shared libraries. 9695 case $host_os in 9696 aix[3-9]*) 9697 # On AIX/PPC, the GNU linker is very broken 9698 if test ia64 != "$host_cpu"; then 9699 ld_shlibs=no 9700 cat <<_LT_EOF 1>&2 9701 9702*** Warning: the GNU linker, at least up to release 2.19, is reported 9703*** to be unable to reliably create shared libraries on AIX. 9704*** Therefore, libtool is disabling shared libraries support. If you 9705*** really care for shared libraries, you may want to install binutils 9706*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9707*** You will then need to restart the configuration process. 9708 9709_LT_EOF 9710 fi 9711 ;; 9712 9713 amigaos*) 9714 case $host_cpu in 9715 powerpc) 9716 # see comment about AmigaOS4 .so support 9717 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9718 archive_expsym_cmds='' 9719 ;; 9720 m68k) 9721 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)' 9722 hardcode_libdir_flag_spec='-L$libdir' 9723 hardcode_minus_L=yes 9724 ;; 9725 esac 9726 ;; 9727 9728 beos*) 9729 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9730 allow_undefined_flag=unsupported 9731 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9732 # support --undefined. This deserves some investigation. FIXME 9733 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9734 else 9735 ld_shlibs=no 9736 fi 9737 ;; 9738 9739 cygwin* | mingw* | pw32* | cegcc*) 9740 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9741 # as there is no search path for DLLs. 9742 hardcode_libdir_flag_spec='-L$libdir' 9743 export_dynamic_flag_spec='$wl--export-all-symbols' 9744 allow_undefined_flag=unsupported 9745 always_export_symbols=no 9746 enable_shared_with_static_runtimes=yes 9747 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' 9748 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9749 9750 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9751 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9752 # If the export-symbols file already is a .def file, use it as 9753 # is; otherwise, prepend EXPORTS... 9754 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9755 cp $export_symbols $output_objdir/$soname.def; 9756 else 9757 echo EXPORTS > $output_objdir/$soname.def; 9758 cat $export_symbols >> $output_objdir/$soname.def; 9759 fi~ 9760 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9761 else 9762 ld_shlibs=no 9763 fi 9764 ;; 9765 9766 haiku*) 9767 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9768 link_all_deplibs=yes 9769 ;; 9770 9771 os2*) 9772 hardcode_libdir_flag_spec='-L$libdir' 9773 hardcode_minus_L=yes 9774 allow_undefined_flag=unsupported 9775 shrext_cmds=.dll 9776 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9777 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9778 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9779 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9780 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9781 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9782 emximp -o $lib $output_objdir/$libname.def' 9783 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9784 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9785 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9786 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9787 prefix_cmds="$SED"~ 9788 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9789 prefix_cmds="$prefix_cmds -e 1d"; 9790 fi~ 9791 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9792 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9793 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9794 emximp -o $lib $output_objdir/$libname.def' 9795 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9796 enable_shared_with_static_runtimes=yes 9797 ;; 9798 9799 interix[3-9]*) 9800 hardcode_direct=no 9801 hardcode_shlibpath_var=no 9802 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9803 export_dynamic_flag_spec='$wl-E' 9804 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9805 # Instead, shared libraries are loaded at an image base (0x10000000 by 9806 # default) and relocated if they conflict, which is a slow very memory 9807 # consuming and fragmenting process. To avoid this, we pick a random, 9808 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9809 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9810 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9811 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' 9812 ;; 9813 9814 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9815 tmp_diet=no 9816 if test linux-dietlibc = "$host_os"; then 9817 case $cc_basename in 9818 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9819 esac 9820 fi 9821 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9822 && test no = "$tmp_diet" 9823 then 9824 tmp_addflag=' $pic_flag' 9825 tmp_sharedflag='-shared' 9826 case $cc_basename,$host_cpu in 9827 pgcc*) # Portland Group C compiler 9828 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' 9829 tmp_addflag=' $pic_flag' 9830 ;; 9831 pgf77* | pgf90* | pgf95* | pgfortran*) 9832 # Portland Group f77 and f90 compilers 9833 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' 9834 tmp_addflag=' $pic_flag -Mnomain' ;; 9835 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9836 tmp_addflag=' -i_dynamic' ;; 9837 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9838 tmp_addflag=' -i_dynamic -nofor_main' ;; 9839 ifc* | ifort*) # Intel Fortran compiler 9840 tmp_addflag=' -nofor_main' ;; 9841 lf95*) # Lahey Fortran 8.1 9842 whole_archive_flag_spec= 9843 tmp_sharedflag='--shared' ;; 9844 nagfor*) # NAGFOR 5.3 9845 tmp_sharedflag='-Wl,-shared' ;; 9846 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9847 tmp_sharedflag='-qmkshrobj' 9848 tmp_addflag= ;; 9849 nvcc*) # Cuda Compiler Driver 2.2 9850 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' 9851 compiler_needs_object=yes 9852 ;; 9853 esac 9854 case `$CC -V 2>&1 | sed 5q` in 9855 *Sun\ C*) # Sun C 5.9 9856 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' 9857 compiler_needs_object=yes 9858 tmp_sharedflag='-G' ;; 9859 *Sun\ F*) # Sun Fortran 8.3 9860 tmp_sharedflag='-G' ;; 9861 esac 9862 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9863 9864 if test yes = "$supports_anon_versioning"; then 9865 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9866 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9867 echo "local: *; };" >> $output_objdir/$libname.ver~ 9868 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9869 fi 9870 9871 case $cc_basename in 9872 tcc*) 9873 export_dynamic_flag_spec='-rdynamic' 9874 ;; 9875 xlf* | bgf* | bgxlf* | mpixlf*) 9876 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9877 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9878 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9879 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9880 if test yes = "$supports_anon_versioning"; then 9881 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9882 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9883 echo "local: *; };" >> $output_objdir/$libname.ver~ 9884 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9885 fi 9886 ;; 9887 esac 9888 else 9889 ld_shlibs=no 9890 fi 9891 ;; 9892 9893 netbsd*) 9894 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9895 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9896 wlarc= 9897 else 9898 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9899 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9900 fi 9901 ;; 9902 9903 solaris*) 9904 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9905 ld_shlibs=no 9906 cat <<_LT_EOF 1>&2 9907 9908*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9909*** create shared libraries on Solaris systems. Therefore, libtool 9910*** is disabling shared libraries support. We urge you to upgrade GNU 9911*** binutils to release 2.9.1 or newer. Another option is to modify 9912*** your PATH or compiler configuration so that the native linker is 9913*** used, and then restart. 9914 9915_LT_EOF 9916 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9917 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9918 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9919 else 9920 ld_shlibs=no 9921 fi 9922 ;; 9923 9924 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9925 case `$LD -v 2>&1` in 9926 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9927 ld_shlibs=no 9928 cat <<_LT_EOF 1>&2 9929 9930*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9931*** reliably create shared libraries on SCO systems. Therefore, libtool 9932*** is disabling shared libraries support. We urge you to upgrade GNU 9933*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9934*** your PATH or compiler configuration so that the native linker is 9935*** used, and then restart. 9936 9937_LT_EOF 9938 ;; 9939 *) 9940 # For security reasons, it is highly recommended that you always 9941 # use absolute paths for naming shared libraries, and exclude the 9942 # DT_RUNPATH tag from executables and libraries. But doing so 9943 # requires that you compile everything twice, which is a pain. 9944 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9945 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9946 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9947 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9948 else 9949 ld_shlibs=no 9950 fi 9951 ;; 9952 esac 9953 ;; 9954 9955 sunos4*) 9956 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9957 wlarc= 9958 hardcode_direct=yes 9959 hardcode_shlibpath_var=no 9960 ;; 9961 9962 *) 9963 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9964 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9965 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9966 else 9967 ld_shlibs=no 9968 fi 9969 ;; 9970 esac 9971 9972 if test no = "$ld_shlibs"; then 9973 runpath_var= 9974 hardcode_libdir_flag_spec= 9975 export_dynamic_flag_spec= 9976 whole_archive_flag_spec= 9977 fi 9978 else 9979 # PORTME fill in a description of your system's linker (not GNU ld) 9980 case $host_os in 9981 aix3*) 9982 allow_undefined_flag=unsupported 9983 always_export_symbols=yes 9984 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' 9985 # Note: this linker hardcodes the directories in LIBPATH if there 9986 # are no directories specified by -L. 9987 hardcode_minus_L=yes 9988 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9989 # Neither direct hardcoding nor static linking is supported with a 9990 # broken collect2. 9991 hardcode_direct=unsupported 9992 fi 9993 ;; 9994 9995 aix[4-9]*) 9996 if test ia64 = "$host_cpu"; then 9997 # On IA64, the linker does run time linking by default, so we don't 9998 # have to do anything special. 9999 aix_use_runtimelinking=no 10000 exp_sym_flag='-Bexport' 10001 no_entry_flag= 10002 else 10003 # If we're using GNU nm, then we don't want the "-C" option. 10004 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10005 # Without the "-l" option, or with the "-B" option, AIX nm treats 10006 # weak defined symbols like other global defined symbols, whereas 10007 # GNU nm marks them as "W". 10008 # While the 'weak' keyword is ignored in the Export File, we need 10009 # it in the Import File for the 'aix-soname' feature, so we have 10010 # to replace the "-B" option with "-P" for AIX nm. 10011 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10012 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' 10013 else 10014 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' 10015 fi 10016 aix_use_runtimelinking=no 10017 10018 # Test if we are trying to use run time linking or normal 10019 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10020 # have runtime linking enabled, and use it for executables. 10021 # For shared libraries, we enable/disable runtime linking 10022 # depending on the kind of the shared library created - 10023 # when "with_aix_soname,aix_use_runtimelinking" is: 10024 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10025 # "aix,yes" lib.so shared, rtl:yes, for executables 10026 # lib.a static archive 10027 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10028 # lib.a(lib.so.V) shared, rtl:no, for executables 10029 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10030 # lib.a(lib.so.V) shared, rtl:no 10031 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10032 # lib.a static archive 10033 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10034 for ld_flag in $LDFLAGS; do 10035 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10036 aix_use_runtimelinking=yes 10037 break 10038 fi 10039 done 10040 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10041 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10042 # so we don't have lib.a shared libs to link our executables. 10043 # We have to force runtime linking in this case. 10044 aix_use_runtimelinking=yes 10045 LDFLAGS="$LDFLAGS -Wl,-brtl" 10046 fi 10047 ;; 10048 esac 10049 10050 exp_sym_flag='-bexport' 10051 no_entry_flag='-bnoentry' 10052 fi 10053 10054 # When large executables or shared objects are built, AIX ld can 10055 # have problems creating the table of contents. If linking a library 10056 # or program results in "error TOC overflow" add -mminimal-toc to 10057 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10058 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10059 10060 archive_cmds='' 10061 hardcode_direct=yes 10062 hardcode_direct_absolute=yes 10063 hardcode_libdir_separator=':' 10064 link_all_deplibs=yes 10065 file_list_spec='$wl-f,' 10066 case $with_aix_soname,$aix_use_runtimelinking in 10067 aix,*) ;; # traditional, no import file 10068 svr4,* | *,yes) # use import file 10069 # The Import File defines what to hardcode. 10070 hardcode_direct=no 10071 hardcode_direct_absolute=no 10072 ;; 10073 esac 10074 10075 if test yes = "$GCC"; then 10076 case $host_os in aix4.[012]|aix4.[012].*) 10077 # We only want to do this on AIX 4.2 and lower, the check 10078 # below for broken collect2 doesn't work under 4.3+ 10079 collect2name=`$CC -print-prog-name=collect2` 10080 if test -f "$collect2name" && 10081 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10082 then 10083 # We have reworked collect2 10084 : 10085 else 10086 # We have old collect2 10087 hardcode_direct=unsupported 10088 # It fails to find uninstalled libraries when the uninstalled 10089 # path is not listed in the libpath. Setting hardcode_minus_L 10090 # to unsupported forces relinking 10091 hardcode_minus_L=yes 10092 hardcode_libdir_flag_spec='-L$libdir' 10093 hardcode_libdir_separator= 10094 fi 10095 ;; 10096 esac 10097 shared_flag='-shared' 10098 if test yes = "$aix_use_runtimelinking"; then 10099 shared_flag="$shared_flag "'$wl-G' 10100 fi 10101 # Need to ensure runtime linking is disabled for the traditional 10102 # shared library, or the linker may eventually find shared libraries 10103 # /with/ Import File - we do not want to mix them. 10104 shared_flag_aix='-shared' 10105 shared_flag_svr4='-shared $wl-G' 10106 else 10107 # not using gcc 10108 if test ia64 = "$host_cpu"; then 10109 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10110 # chokes on -Wl,-G. The following line is correct: 10111 shared_flag='-G' 10112 else 10113 if test yes = "$aix_use_runtimelinking"; then 10114 shared_flag='$wl-G' 10115 else 10116 shared_flag='$wl-bM:SRE' 10117 fi 10118 shared_flag_aix='$wl-bM:SRE' 10119 shared_flag_svr4='$wl-G' 10120 fi 10121 fi 10122 10123 export_dynamic_flag_spec='$wl-bexpall' 10124 # It seems that -bexpall does not export symbols beginning with 10125 # underscore (_), so it is better to generate a list of symbols to export. 10126 always_export_symbols=yes 10127 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10128 # Warning - without using the other runtime loading flags (-brtl), 10129 # -berok will link without error, but may produce a broken library. 10130 allow_undefined_flag='-berok' 10131 # Determine the default libpath from the value encoded in an 10132 # empty executable. 10133 if test set = "${lt_cv_aix_libpath+set}"; then 10134 aix_libpath=$lt_cv_aix_libpath 10135else 10136 if ${lt_cv_aix_libpath_+:} false; then : 10137 $as_echo_n "(cached) " >&6 10138else 10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10140/* end confdefs.h. */ 10141 10142int 10143main () 10144{ 10145 10146 ; 10147 return 0; 10148} 10149_ACEOF 10150if ac_fn_c_try_link "$LINENO"; then : 10151 10152 lt_aix_libpath_sed=' 10153 /Import File Strings/,/^$/ { 10154 /^0/ { 10155 s/^0 *\([^ ]*\) *$/\1/ 10156 p 10157 } 10158 }' 10159 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10160 # Check for a 64-bit object if we didn't find anything. 10161 if test -z "$lt_cv_aix_libpath_"; then 10162 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10163 fi 10164fi 10165rm -f core conftest.err conftest.$ac_objext \ 10166 conftest$ac_exeext conftest.$ac_ext 10167 if test -z "$lt_cv_aix_libpath_"; then 10168 lt_cv_aix_libpath_=/usr/lib:/lib 10169 fi 10170 10171fi 10172 10173 aix_libpath=$lt_cv_aix_libpath_ 10174fi 10175 10176 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10177 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 10178 else 10179 if test ia64 = "$host_cpu"; then 10180 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10181 allow_undefined_flag="-z nodefs" 10182 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" 10183 else 10184 # Determine the default libpath from the value encoded in an 10185 # empty executable. 10186 if test set = "${lt_cv_aix_libpath+set}"; then 10187 aix_libpath=$lt_cv_aix_libpath 10188else 10189 if ${lt_cv_aix_libpath_+:} false; then : 10190 $as_echo_n "(cached) " >&6 10191else 10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10193/* end confdefs.h. */ 10194 10195int 10196main () 10197{ 10198 10199 ; 10200 return 0; 10201} 10202_ACEOF 10203if ac_fn_c_try_link "$LINENO"; then : 10204 10205 lt_aix_libpath_sed=' 10206 /Import File Strings/,/^$/ { 10207 /^0/ { 10208 s/^0 *\([^ ]*\) *$/\1/ 10209 p 10210 } 10211 }' 10212 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10213 # Check for a 64-bit object if we didn't find anything. 10214 if test -z "$lt_cv_aix_libpath_"; then 10215 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10216 fi 10217fi 10218rm -f core conftest.err conftest.$ac_objext \ 10219 conftest$ac_exeext conftest.$ac_ext 10220 if test -z "$lt_cv_aix_libpath_"; then 10221 lt_cv_aix_libpath_=/usr/lib:/lib 10222 fi 10223 10224fi 10225 10226 aix_libpath=$lt_cv_aix_libpath_ 10227fi 10228 10229 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10230 # Warning - without using the other run time loading flags, 10231 # -berok will link without error, but may produce a broken library. 10232 no_undefined_flag=' $wl-bernotok' 10233 allow_undefined_flag=' $wl-berok' 10234 if test yes = "$with_gnu_ld"; then 10235 # We only use this code for GNU lds that support --whole-archive. 10236 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10237 else 10238 # Exported symbols can be pulled into shared objects from archives 10239 whole_archive_flag_spec='$convenience' 10240 fi 10241 archive_cmds_need_lc=yes 10242 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10243 # -brtl affects multiple linker settings, -berok does not and is overridden later 10244 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10245 if test svr4 != "$with_aix_soname"; then 10246 # This is similar to how AIX traditionally builds its shared libraries. 10247 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' 10248 fi 10249 if test aix != "$with_aix_soname"; then 10250 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' 10251 else 10252 # used by -dlpreopen to get the symbols 10253 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10254 fi 10255 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10256 fi 10257 fi 10258 ;; 10259 10260 amigaos*) 10261 case $host_cpu in 10262 powerpc) 10263 # see comment about AmigaOS4 .so support 10264 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10265 archive_expsym_cmds='' 10266 ;; 10267 m68k) 10268 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)' 10269 hardcode_libdir_flag_spec='-L$libdir' 10270 hardcode_minus_L=yes 10271 ;; 10272 esac 10273 ;; 10274 10275 bsdi[45]*) 10276 export_dynamic_flag_spec=-rdynamic 10277 ;; 10278 10279 cygwin* | mingw* | pw32* | cegcc*) 10280 # When not using gcc, we currently assume that we are using 10281 # Microsoft Visual C++. 10282 # hardcode_libdir_flag_spec is actually meaningless, as there is 10283 # no search path for DLLs. 10284 case $cc_basename in 10285 cl*) 10286 # Native MSVC 10287 hardcode_libdir_flag_spec=' ' 10288 allow_undefined_flag=unsupported 10289 always_export_symbols=yes 10290 file_list_spec='@' 10291 # Tell ltmain to make .lib files, not .a files. 10292 libext=lib 10293 # Tell ltmain to make .dll files, not .so files. 10294 shrext_cmds=.dll 10295 # FIXME: Setting linknames here is a bad hack. 10296 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10297 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10298 cp "$export_symbols" "$output_objdir/$soname.def"; 10299 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10300 else 10301 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10302 fi~ 10303 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10304 linknames=' 10305 # The linker will not automatically build a static lib if we build a DLL. 10306 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10307 enable_shared_with_static_runtimes=yes 10308 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10309 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10310 # Don't use ranlib 10311 old_postinstall_cmds='chmod 644 $oldlib' 10312 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10313 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10314 case $lt_outputfile in 10315 *.exe|*.EXE) ;; 10316 *) 10317 lt_outputfile=$lt_outputfile.exe 10318 lt_tool_outputfile=$lt_tool_outputfile.exe 10319 ;; 10320 esac~ 10321 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10322 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10323 $RM "$lt_outputfile.manifest"; 10324 fi' 10325 ;; 10326 *) 10327 # Assume MSVC wrapper 10328 hardcode_libdir_flag_spec=' ' 10329 allow_undefined_flag=unsupported 10330 # Tell ltmain to make .lib files, not .a files. 10331 libext=lib 10332 # Tell ltmain to make .dll files, not .so files. 10333 shrext_cmds=.dll 10334 # FIXME: Setting linknames here is a bad hack. 10335 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10336 # The linker will automatically build a .lib file if we build a DLL. 10337 old_archive_from_new_cmds='true' 10338 # FIXME: Should let the user specify the lib program. 10339 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10340 enable_shared_with_static_runtimes=yes 10341 ;; 10342 esac 10343 ;; 10344 10345 darwin* | rhapsody*) 10346 10347 10348 archive_cmds_need_lc=no 10349 hardcode_direct=no 10350 hardcode_automatic=yes 10351 hardcode_shlibpath_var=unsupported 10352 if test yes = "$lt_cv_ld_force_load"; then 10353 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\"`' 10354 10355 else 10356 whole_archive_flag_spec='' 10357 fi 10358 link_all_deplibs=yes 10359 allow_undefined_flag=$_lt_dar_allow_undefined 10360 case $cc_basename in 10361 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10362 *) _lt_dar_can_shared=$GCC ;; 10363 esac 10364 if test yes = "$_lt_dar_can_shared"; then 10365 output_verbose_link_cmd=func_echo_all 10366 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10367 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10368 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" 10369 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" 10370 10371 else 10372 ld_shlibs=no 10373 fi 10374 10375 ;; 10376 10377 dgux*) 10378 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10379 hardcode_libdir_flag_spec='-L$libdir' 10380 hardcode_shlibpath_var=no 10381 ;; 10382 10383 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10384 # support. Future versions do this automatically, but an explicit c++rt0.o 10385 # does not break anything, and helps significantly (at the cost of a little 10386 # extra space). 10387 freebsd2.2*) 10388 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10389 hardcode_libdir_flag_spec='-R$libdir' 10390 hardcode_direct=yes 10391 hardcode_shlibpath_var=no 10392 ;; 10393 10394 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10395 freebsd2.*) 10396 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10397 hardcode_direct=yes 10398 hardcode_minus_L=yes 10399 hardcode_shlibpath_var=no 10400 ;; 10401 10402 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10403 freebsd* | dragonfly*) 10404 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10405 hardcode_libdir_flag_spec='-R$libdir' 10406 hardcode_direct=yes 10407 hardcode_shlibpath_var=no 10408 ;; 10409 10410 hpux9*) 10411 if test yes = "$GCC"; then 10412 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' 10413 else 10414 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' 10415 fi 10416 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10417 hardcode_libdir_separator=: 10418 hardcode_direct=yes 10419 10420 # hardcode_minus_L: Not really in the search PATH, 10421 # but as the default location of the library. 10422 hardcode_minus_L=yes 10423 export_dynamic_flag_spec='$wl-E' 10424 ;; 10425 10426 hpux10*) 10427 if test yes,no = "$GCC,$with_gnu_ld"; then 10428 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10429 else 10430 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10431 fi 10432 if test no = "$with_gnu_ld"; then 10433 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10434 hardcode_libdir_separator=: 10435 hardcode_direct=yes 10436 hardcode_direct_absolute=yes 10437 export_dynamic_flag_spec='$wl-E' 10438 # hardcode_minus_L: Not really in the search PATH, 10439 # but as the default location of the library. 10440 hardcode_minus_L=yes 10441 fi 10442 ;; 10443 10444 hpux11*) 10445 if test yes,no = "$GCC,$with_gnu_ld"; then 10446 case $host_cpu in 10447 hppa*64*) 10448 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10449 ;; 10450 ia64*) 10451 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10452 ;; 10453 *) 10454 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10455 ;; 10456 esac 10457 else 10458 case $host_cpu in 10459 hppa*64*) 10460 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10461 ;; 10462 ia64*) 10463 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10464 ;; 10465 *) 10466 10467 # Older versions of the 11.00 compiler do not understand -b yet 10468 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10470$as_echo_n "checking if $CC understands -b... " >&6; } 10471if ${lt_cv_prog_compiler__b+:} false; then : 10472 $as_echo_n "(cached) " >&6 10473else 10474 lt_cv_prog_compiler__b=no 10475 save_LDFLAGS=$LDFLAGS 10476 LDFLAGS="$LDFLAGS -b" 10477 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10478 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10479 # The linker can only warn and ignore the option if not recognized 10480 # So say no if there are warnings 10481 if test -s conftest.err; then 10482 # Append any errors to the config.log. 10483 cat conftest.err 1>&5 10484 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10485 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10486 if diff conftest.exp conftest.er2 >/dev/null; then 10487 lt_cv_prog_compiler__b=yes 10488 fi 10489 else 10490 lt_cv_prog_compiler__b=yes 10491 fi 10492 fi 10493 $RM -r conftest* 10494 LDFLAGS=$save_LDFLAGS 10495 10496fi 10497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10498$as_echo "$lt_cv_prog_compiler__b" >&6; } 10499 10500if test yes = "$lt_cv_prog_compiler__b"; then 10501 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10502else 10503 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10504fi 10505 10506 ;; 10507 esac 10508 fi 10509 if test no = "$with_gnu_ld"; then 10510 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10511 hardcode_libdir_separator=: 10512 10513 case $host_cpu in 10514 hppa*64*|ia64*) 10515 hardcode_direct=no 10516 hardcode_shlibpath_var=no 10517 ;; 10518 *) 10519 hardcode_direct=yes 10520 hardcode_direct_absolute=yes 10521 export_dynamic_flag_spec='$wl-E' 10522 10523 # hardcode_minus_L: Not really in the search PATH, 10524 # but as the default location of the library. 10525 hardcode_minus_L=yes 10526 ;; 10527 esac 10528 fi 10529 ;; 10530 10531 irix5* | irix6* | nonstopux*) 10532 if test yes = "$GCC"; then 10533 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' 10534 # Try to use the -exported_symbol ld option, if it does not 10535 # work, assume that -exports_file does not work either and 10536 # implicitly export all symbols. 10537 # This should be the same for all languages, so no per-tag cache variable. 10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10539$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10540if ${lt_cv_irix_exported_symbol+:} false; then : 10541 $as_echo_n "(cached) " >&6 10542else 10543 save_LDFLAGS=$LDFLAGS 10544 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10546/* end confdefs.h. */ 10547int foo (void) { return 0; } 10548_ACEOF 10549if ac_fn_c_try_link "$LINENO"; then : 10550 lt_cv_irix_exported_symbol=yes 10551else 10552 lt_cv_irix_exported_symbol=no 10553fi 10554rm -f core conftest.err conftest.$ac_objext \ 10555 conftest$ac_exeext conftest.$ac_ext 10556 LDFLAGS=$save_LDFLAGS 10557fi 10558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10559$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10560 if test yes = "$lt_cv_irix_exported_symbol"; then 10561 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' 10562 fi 10563 else 10564 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' 10565 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' 10566 fi 10567 archive_cmds_need_lc='no' 10568 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10569 hardcode_libdir_separator=: 10570 inherit_rpath=yes 10571 link_all_deplibs=yes 10572 ;; 10573 10574 linux*) 10575 case $cc_basename in 10576 tcc*) 10577 # Fabrice Bellard et al's Tiny C Compiler 10578 ld_shlibs=yes 10579 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10580 ;; 10581 esac 10582 ;; 10583 10584 netbsd*) 10585 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10586 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10587 else 10588 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10589 fi 10590 hardcode_libdir_flag_spec='-R$libdir' 10591 hardcode_direct=yes 10592 hardcode_shlibpath_var=no 10593 ;; 10594 10595 newsos6) 10596 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10597 hardcode_direct=yes 10598 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10599 hardcode_libdir_separator=: 10600 hardcode_shlibpath_var=no 10601 ;; 10602 10603 *nto* | *qnx*) 10604 ;; 10605 10606 openbsd* | bitrig*) 10607 if test -f /usr/libexec/ld.so; then 10608 hardcode_direct=yes 10609 hardcode_shlibpath_var=no 10610 hardcode_direct_absolute=yes 10611 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10612 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10613 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10614 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10615 export_dynamic_flag_spec='$wl-E' 10616 else 10617 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10618 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10619 fi 10620 else 10621 ld_shlibs=no 10622 fi 10623 ;; 10624 10625 os2*) 10626 hardcode_libdir_flag_spec='-L$libdir' 10627 hardcode_minus_L=yes 10628 allow_undefined_flag=unsupported 10629 shrext_cmds=.dll 10630 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10631 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10632 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10633 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10634 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10635 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10636 emximp -o $lib $output_objdir/$libname.def' 10637 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10638 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10639 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10640 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10641 prefix_cmds="$SED"~ 10642 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10643 prefix_cmds="$prefix_cmds -e 1d"; 10644 fi~ 10645 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10646 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10647 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10648 emximp -o $lib $output_objdir/$libname.def' 10649 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10650 enable_shared_with_static_runtimes=yes 10651 ;; 10652 10653 osf3*) 10654 if test yes = "$GCC"; then 10655 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10656 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' 10657 else 10658 allow_undefined_flag=' -expect_unresolved \*' 10659 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' 10660 fi 10661 archive_cmds_need_lc='no' 10662 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10663 hardcode_libdir_separator=: 10664 ;; 10665 10666 osf4* | osf5*) # as osf3* with the addition of -msym flag 10667 if test yes = "$GCC"; then 10668 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10669 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' 10670 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10671 else 10672 allow_undefined_flag=' -expect_unresolved \*' 10673 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' 10674 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~ 10675 $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' 10676 10677 # Both c and cxx compiler support -rpath directly 10678 hardcode_libdir_flag_spec='-rpath $libdir' 10679 fi 10680 archive_cmds_need_lc='no' 10681 hardcode_libdir_separator=: 10682 ;; 10683 10684 solaris*) 10685 no_undefined_flag=' -z defs' 10686 if test yes = "$GCC"; then 10687 wlarc='$wl' 10688 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10689 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10690 $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' 10691 else 10692 case `$CC -V 2>&1` in 10693 *"Compilers 5.0"*) 10694 wlarc='' 10695 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10696 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10697 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10698 ;; 10699 *) 10700 wlarc='$wl' 10701 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10702 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10703 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10704 ;; 10705 esac 10706 fi 10707 hardcode_libdir_flag_spec='-R$libdir' 10708 hardcode_shlibpath_var=no 10709 case $host_os in 10710 solaris2.[0-5] | solaris2.[0-5].*) ;; 10711 *) 10712 # The compiler driver will combine and reorder linker options, 10713 # but understands '-z linker_flag'. GCC discards it without '$wl', 10714 # but is careful enough not to reorder. 10715 # Supported since Solaris 2.6 (maybe 2.5.1?) 10716 if test yes = "$GCC"; then 10717 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10718 else 10719 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10720 fi 10721 ;; 10722 esac 10723 link_all_deplibs=yes 10724 ;; 10725 10726 sunos4*) 10727 if test sequent = "$host_vendor"; then 10728 # Use $CC to link under sequent, because it throws in some extra .o 10729 # files that make .init and .fini sections work. 10730 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10731 else 10732 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10733 fi 10734 hardcode_libdir_flag_spec='-L$libdir' 10735 hardcode_direct=yes 10736 hardcode_minus_L=yes 10737 hardcode_shlibpath_var=no 10738 ;; 10739 10740 sysv4) 10741 case $host_vendor in 10742 sni) 10743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10744 hardcode_direct=yes # is this really true??? 10745 ;; 10746 siemens) 10747 ## LD is ld it makes a PLAMLIB 10748 ## CC just makes a GrossModule. 10749 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10750 reload_cmds='$CC -r -o $output$reload_objs' 10751 hardcode_direct=no 10752 ;; 10753 motorola) 10754 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10755 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10756 ;; 10757 esac 10758 runpath_var='LD_RUN_PATH' 10759 hardcode_shlibpath_var=no 10760 ;; 10761 10762 sysv4.3*) 10763 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10764 hardcode_shlibpath_var=no 10765 export_dynamic_flag_spec='-Bexport' 10766 ;; 10767 10768 sysv4*MP*) 10769 if test -d /usr/nec; then 10770 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10771 hardcode_shlibpath_var=no 10772 runpath_var=LD_RUN_PATH 10773 hardcode_runpath_var=yes 10774 ld_shlibs=yes 10775 fi 10776 ;; 10777 10778 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10779 no_undefined_flag='$wl-z,text' 10780 archive_cmds_need_lc=no 10781 hardcode_shlibpath_var=no 10782 runpath_var='LD_RUN_PATH' 10783 10784 if test yes = "$GCC"; then 10785 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10786 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10787 else 10788 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10789 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10790 fi 10791 ;; 10792 10793 sysv5* | sco3.2v5* | sco5v6*) 10794 # Note: We CANNOT use -z defs as we might desire, because we do not 10795 # link with -lc, and that would cause any symbols used from libc to 10796 # always be unresolved, which means just about no library would 10797 # ever link correctly. If we're not using GNU ld we use -z text 10798 # though, which does catch some bad symbols but isn't as heavy-handed 10799 # as -z defs. 10800 no_undefined_flag='$wl-z,text' 10801 allow_undefined_flag='$wl-z,nodefs' 10802 archive_cmds_need_lc=no 10803 hardcode_shlibpath_var=no 10804 hardcode_libdir_flag_spec='$wl-R,$libdir' 10805 hardcode_libdir_separator=':' 10806 link_all_deplibs=yes 10807 export_dynamic_flag_spec='$wl-Bexport' 10808 runpath_var='LD_RUN_PATH' 10809 10810 if test yes = "$GCC"; then 10811 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10812 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10813 else 10814 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10815 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10816 fi 10817 ;; 10818 10819 uts4*) 10820 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10821 hardcode_libdir_flag_spec='-L$libdir' 10822 hardcode_shlibpath_var=no 10823 ;; 10824 10825 *) 10826 ld_shlibs=no 10827 ;; 10828 esac 10829 10830 if test sni = "$host_vendor"; then 10831 case $host in 10832 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10833 export_dynamic_flag_spec='$wl-Blargedynsym' 10834 ;; 10835 esac 10836 fi 10837 fi 10838 10839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10840$as_echo "$ld_shlibs" >&6; } 10841test no = "$ld_shlibs" && can_build_shared=no 10842 10843with_gnu_ld=$with_gnu_ld 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859# 10860# Do we need to explicitly link libc? 10861# 10862case "x$archive_cmds_need_lc" in 10863x|xyes) 10864 # Assume -lc should be added 10865 archive_cmds_need_lc=yes 10866 10867 if test yes,yes = "$GCC,$enable_shared"; then 10868 case $archive_cmds in 10869 *'~'*) 10870 # FIXME: we may have to deal with multi-command sequences. 10871 ;; 10872 '$CC '*) 10873 # Test whether the compiler implicitly links with -lc since on some 10874 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10875 # to ld, don't add -lc before -lgcc. 10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10877$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10878if ${lt_cv_archive_cmds_need_lc+:} false; then : 10879 $as_echo_n "(cached) " >&6 10880else 10881 $RM conftest* 10882 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10883 10884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10885 (eval $ac_compile) 2>&5 10886 ac_status=$? 10887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10888 test $ac_status = 0; } 2>conftest.err; then 10889 soname=conftest 10890 lib=conftest 10891 libobjs=conftest.$ac_objext 10892 deplibs= 10893 wl=$lt_prog_compiler_wl 10894 pic_flag=$lt_prog_compiler_pic 10895 compiler_flags=-v 10896 linker_flags=-v 10897 verstring= 10898 output_objdir=. 10899 libname=conftest 10900 lt_save_allow_undefined_flag=$allow_undefined_flag 10901 allow_undefined_flag= 10902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10903 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10904 ac_status=$? 10905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10906 test $ac_status = 0; } 10907 then 10908 lt_cv_archive_cmds_need_lc=no 10909 else 10910 lt_cv_archive_cmds_need_lc=yes 10911 fi 10912 allow_undefined_flag=$lt_save_allow_undefined_flag 10913 else 10914 cat conftest.err 1>&5 10915 fi 10916 $RM conftest* 10917 10918fi 10919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10920$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10921 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10922 ;; 10923 esac 10924 fi 10925 ;; 10926esac 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11080$as_echo_n "checking dynamic linker characteristics... " >&6; } 11081 11082if test yes = "$GCC"; then 11083 case $host_os in 11084 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11085 *) lt_awk_arg='/^libraries:/' ;; 11086 esac 11087 case $host_os in 11088 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11089 *) lt_sed_strip_eq='s|=/|/|g' ;; 11090 esac 11091 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11092 case $lt_search_path_spec in 11093 *\;*) 11094 # if the path contains ";" then we assume it to be the separator 11095 # otherwise default to the standard path separator (i.e. ":") - it is 11096 # assumed that no part of a normal pathname contains ";" but that should 11097 # okay in the real world where ";" in dirpaths is itself problematic. 11098 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11099 ;; 11100 *) 11101 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11102 ;; 11103 esac 11104 # Ok, now we have the path, separated by spaces, we can step through it 11105 # and add multilib dir if necessary... 11106 lt_tmp_lt_search_path_spec= 11107 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11108 # ...but if some path component already ends with the multilib dir we assume 11109 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11110 case "$lt_multi_os_dir; $lt_search_path_spec " in 11111 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11112 lt_multi_os_dir= 11113 ;; 11114 esac 11115 for lt_sys_path in $lt_search_path_spec; do 11116 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11117 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11118 elif test -n "$lt_multi_os_dir"; then 11119 test -d "$lt_sys_path" && \ 11120 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11121 fi 11122 done 11123 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11124BEGIN {RS = " "; FS = "/|\n";} { 11125 lt_foo = ""; 11126 lt_count = 0; 11127 for (lt_i = NF; lt_i > 0; lt_i--) { 11128 if ($lt_i != "" && $lt_i != ".") { 11129 if ($lt_i == "..") { 11130 lt_count++; 11131 } else { 11132 if (lt_count == 0) { 11133 lt_foo = "/" $lt_i lt_foo; 11134 } else { 11135 lt_count--; 11136 } 11137 } 11138 } 11139 } 11140 if (lt_foo != "") { lt_freq[lt_foo]++; } 11141 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11142}'` 11143 # AWK program above erroneously prepends '/' to C:/dos/paths 11144 # for these hosts. 11145 case $host_os in 11146 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11147 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11148 esac 11149 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11150else 11151 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11152fi 11153library_names_spec= 11154libname_spec='lib$name' 11155soname_spec= 11156shrext_cmds=.so 11157postinstall_cmds= 11158postuninstall_cmds= 11159finish_cmds= 11160finish_eval= 11161shlibpath_var= 11162shlibpath_overrides_runpath=unknown 11163version_type=none 11164dynamic_linker="$host_os ld.so" 11165sys_lib_dlsearch_path_spec="/lib /usr/lib" 11166need_lib_prefix=unknown 11167hardcode_into_libs=no 11168 11169# when you set need_version to no, make sure it does not cause -set_version 11170# flags to be left without arguments 11171need_version=unknown 11172 11173 11174 11175case $host_os in 11176aix3*) 11177 version_type=linux # correct to gnu/linux during the next big refactor 11178 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11179 shlibpath_var=LIBPATH 11180 11181 # AIX 3 has no versioning support, so we append a major version to the name. 11182 soname_spec='$libname$release$shared_ext$major' 11183 ;; 11184 11185aix[4-9]*) 11186 version_type=linux # correct to gnu/linux during the next big refactor 11187 need_lib_prefix=no 11188 need_version=no 11189 hardcode_into_libs=yes 11190 if test ia64 = "$host_cpu"; then 11191 # AIX 5 supports IA64 11192 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11193 shlibpath_var=LD_LIBRARY_PATH 11194 else 11195 # With GCC up to 2.95.x, collect2 would create an import file 11196 # for dependence libraries. The import file would start with 11197 # the line '#! .'. This would cause the generated library to 11198 # depend on '.', always an invalid library. This was fixed in 11199 # development snapshots of GCC prior to 3.0. 11200 case $host_os in 11201 aix4 | aix4.[01] | aix4.[01].*) 11202 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11203 echo ' yes ' 11204 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11205 : 11206 else 11207 can_build_shared=no 11208 fi 11209 ;; 11210 esac 11211 # Using Import Files as archive members, it is possible to support 11212 # filename-based versioning of shared library archives on AIX. While 11213 # this would work for both with and without runtime linking, it will 11214 # prevent static linking of such archives. So we do filename-based 11215 # shared library versioning with .so extension only, which is used 11216 # when both runtime linking and shared linking is enabled. 11217 # Unfortunately, runtime linking may impact performance, so we do 11218 # not want this to be the default eventually. Also, we use the 11219 # versioned .so libs for executables only if there is the -brtl 11220 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11221 # To allow for filename-based versioning support, we need to create 11222 # libNAME.so.V as an archive file, containing: 11223 # *) an Import File, referring to the versioned filename of the 11224 # archive as well as the shared archive member, telling the 11225 # bitwidth (32 or 64) of that shared object, and providing the 11226 # list of exported symbols of that shared object, eventually 11227 # decorated with the 'weak' keyword 11228 # *) the shared object with the F_LOADONLY flag set, to really avoid 11229 # it being seen by the linker. 11230 # At run time we better use the real file rather than another symlink, 11231 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11232 11233 case $with_aix_soname,$aix_use_runtimelinking in 11234 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11235 # soname into executable. Probably we can add versioning support to 11236 # collect2, so additional links can be useful in future. 11237 aix,yes) # traditional libtool 11238 dynamic_linker='AIX unversionable lib.so' 11239 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11240 # instead of lib<name>.a to let people know that these are not 11241 # typical AIX shared libraries. 11242 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11243 ;; 11244 aix,no) # traditional AIX only 11245 dynamic_linker='AIX lib.a(lib.so.V)' 11246 # We preserve .a as extension for shared libraries through AIX4.2 11247 # and later when we are not doing run time linking. 11248 library_names_spec='$libname$release.a $libname.a' 11249 soname_spec='$libname$release$shared_ext$major' 11250 ;; 11251 svr4,*) # full svr4 only 11252 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11253 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11254 # We do not specify a path in Import Files, so LIBPATH fires. 11255 shlibpath_overrides_runpath=yes 11256 ;; 11257 *,yes) # both, prefer svr4 11258 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11259 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11260 # unpreferred sharedlib libNAME.a needs extra handling 11261 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"' 11262 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"' 11263 # We do not specify a path in Import Files, so LIBPATH fires. 11264 shlibpath_overrides_runpath=yes 11265 ;; 11266 *,no) # both, prefer aix 11267 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11268 library_names_spec='$libname$release.a $libname.a' 11269 soname_spec='$libname$release$shared_ext$major' 11270 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11271 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)' 11272 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"' 11273 ;; 11274 esac 11275 shlibpath_var=LIBPATH 11276 fi 11277 ;; 11278 11279amigaos*) 11280 case $host_cpu in 11281 powerpc) 11282 # Since July 2007 AmigaOS4 officially supports .so libraries. 11283 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11284 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11285 ;; 11286 m68k) 11287 library_names_spec='$libname.ixlibrary $libname.a' 11288 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11289 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' 11290 ;; 11291 esac 11292 ;; 11293 11294beos*) 11295 library_names_spec='$libname$shared_ext' 11296 dynamic_linker="$host_os ld.so" 11297 shlibpath_var=LIBRARY_PATH 11298 ;; 11299 11300bsdi[45]*) 11301 version_type=linux # correct to gnu/linux during the next big refactor 11302 need_version=no 11303 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11304 soname_spec='$libname$release$shared_ext$major' 11305 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11306 shlibpath_var=LD_LIBRARY_PATH 11307 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11308 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11309 # the default ld.so.conf also contains /usr/contrib/lib and 11310 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11311 # libtool to hard-code these into programs 11312 ;; 11313 11314cygwin* | mingw* | pw32* | cegcc*) 11315 version_type=windows 11316 shrext_cmds=.dll 11317 need_version=no 11318 need_lib_prefix=no 11319 11320 case $GCC,$cc_basename in 11321 yes,*) 11322 # gcc 11323 library_names_spec='$libname.dll.a' 11324 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11325 postinstall_cmds='base_file=`basename \$file`~ 11326 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11327 dldir=$destdir/`dirname \$dlpath`~ 11328 test -d \$dldir || mkdir -p \$dldir~ 11329 $install_prog $dir/$dlname \$dldir/$dlname~ 11330 chmod a+x \$dldir/$dlname~ 11331 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11332 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11333 fi' 11334 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11335 dlpath=$dir/\$dldll~ 11336 $RM \$dlpath' 11337 shlibpath_overrides_runpath=yes 11338 11339 case $host_os in 11340 cygwin*) 11341 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11342 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11343 11344 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11345 ;; 11346 mingw* | cegcc*) 11347 # MinGW DLLs use traditional 'lib' prefix 11348 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11349 ;; 11350 pw32*) 11351 # pw32 DLLs use 'pw' prefix rather than 'lib' 11352 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11353 ;; 11354 esac 11355 dynamic_linker='Win32 ld.exe' 11356 ;; 11357 11358 *,cl*) 11359 # Native MSVC 11360 libname_spec='$name' 11361 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11362 library_names_spec='$libname.dll.lib' 11363 11364 case $build_os in 11365 mingw*) 11366 sys_lib_search_path_spec= 11367 lt_save_ifs=$IFS 11368 IFS=';' 11369 for lt_path in $LIB 11370 do 11371 IFS=$lt_save_ifs 11372 # Let DOS variable expansion print the short 8.3 style file name. 11373 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11374 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11375 done 11376 IFS=$lt_save_ifs 11377 # Convert to MSYS style. 11378 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11379 ;; 11380 cygwin*) 11381 # Convert to unix form, then to dos form, then back to unix form 11382 # but this time dos style (no spaces!) so that the unix form looks 11383 # like /cygdrive/c/PROGRA~1:/cygdr... 11384 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11385 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11386 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11387 ;; 11388 *) 11389 sys_lib_search_path_spec=$LIB 11390 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11391 # It is most probably a Windows format PATH. 11392 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11393 else 11394 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11395 fi 11396 # FIXME: find the short name or the path components, as spaces are 11397 # common. (e.g. "Program Files" -> "PROGRA~1") 11398 ;; 11399 esac 11400 11401 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11402 postinstall_cmds='base_file=`basename \$file`~ 11403 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11404 dldir=$destdir/`dirname \$dlpath`~ 11405 test -d \$dldir || mkdir -p \$dldir~ 11406 $install_prog $dir/$dlname \$dldir/$dlname' 11407 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11408 dlpath=$dir/\$dldll~ 11409 $RM \$dlpath' 11410 shlibpath_overrides_runpath=yes 11411 dynamic_linker='Win32 link.exe' 11412 ;; 11413 11414 *) 11415 # Assume MSVC wrapper 11416 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11417 dynamic_linker='Win32 ld.exe' 11418 ;; 11419 esac 11420 # FIXME: first we should search . and the directory the executable is in 11421 shlibpath_var=PATH 11422 ;; 11423 11424darwin* | rhapsody*) 11425 dynamic_linker="$host_os dyld" 11426 version_type=darwin 11427 need_lib_prefix=no 11428 need_version=no 11429 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11430 soname_spec='$libname$release$major$shared_ext' 11431 shlibpath_overrides_runpath=yes 11432 shlibpath_var=DYLD_LIBRARY_PATH 11433 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11434 11435 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11436 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11437 ;; 11438 11439dgux*) 11440 version_type=linux # correct to gnu/linux during the next big refactor 11441 need_lib_prefix=no 11442 need_version=no 11443 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11444 soname_spec='$libname$release$shared_ext$major' 11445 shlibpath_var=LD_LIBRARY_PATH 11446 ;; 11447 11448freebsd* | dragonfly*) 11449 # DragonFly does not have aout. When/if they implement a new 11450 # versioning mechanism, adjust this. 11451 if test -x /usr/bin/objformat; then 11452 objformat=`/usr/bin/objformat` 11453 else 11454 case $host_os in 11455 freebsd[23].*) objformat=aout ;; 11456 *) objformat=elf ;; 11457 esac 11458 fi 11459 version_type=freebsd-$objformat 11460 case $version_type in 11461 freebsd-elf*) 11462 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11463 soname_spec='$libname$release$shared_ext$major' 11464 need_version=no 11465 need_lib_prefix=no 11466 ;; 11467 freebsd-*) 11468 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11469 need_version=yes 11470 ;; 11471 esac 11472 shlibpath_var=LD_LIBRARY_PATH 11473 case $host_os in 11474 freebsd2.*) 11475 shlibpath_overrides_runpath=yes 11476 ;; 11477 freebsd3.[01]* | freebsdelf3.[01]*) 11478 shlibpath_overrides_runpath=yes 11479 hardcode_into_libs=yes 11480 ;; 11481 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11482 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11483 shlibpath_overrides_runpath=no 11484 hardcode_into_libs=yes 11485 ;; 11486 *) # from 4.6 on, and DragonFly 11487 shlibpath_overrides_runpath=yes 11488 hardcode_into_libs=yes 11489 ;; 11490 esac 11491 ;; 11492 11493haiku*) 11494 version_type=linux # correct to gnu/linux during the next big refactor 11495 need_lib_prefix=no 11496 need_version=no 11497 dynamic_linker="$host_os runtime_loader" 11498 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11499 soname_spec='$libname$release$shared_ext$major' 11500 shlibpath_var=LIBRARY_PATH 11501 shlibpath_overrides_runpath=no 11502 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11503 hardcode_into_libs=yes 11504 ;; 11505 11506hpux9* | hpux10* | hpux11*) 11507 # Give a soname corresponding to the major version so that dld.sl refuses to 11508 # link against other versions. 11509 version_type=sunos 11510 need_lib_prefix=no 11511 need_version=no 11512 case $host_cpu in 11513 ia64*) 11514 shrext_cmds='.so' 11515 hardcode_into_libs=yes 11516 dynamic_linker="$host_os dld.so" 11517 shlibpath_var=LD_LIBRARY_PATH 11518 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11519 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11520 soname_spec='$libname$release$shared_ext$major' 11521 if test 32 = "$HPUX_IA64_MODE"; then 11522 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11523 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11524 else 11525 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11526 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11527 fi 11528 ;; 11529 hppa*64*) 11530 shrext_cmds='.sl' 11531 hardcode_into_libs=yes 11532 dynamic_linker="$host_os dld.sl" 11533 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11534 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11535 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11536 soname_spec='$libname$release$shared_ext$major' 11537 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11538 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11539 ;; 11540 *) 11541 shrext_cmds='.sl' 11542 dynamic_linker="$host_os dld.sl" 11543 shlibpath_var=SHLIB_PATH 11544 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11545 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11546 soname_spec='$libname$release$shared_ext$major' 11547 ;; 11548 esac 11549 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11550 postinstall_cmds='chmod 555 $lib' 11551 # or fails outright, so override atomically: 11552 install_override_mode=555 11553 ;; 11554 11555interix[3-9]*) 11556 version_type=linux # correct to gnu/linux during the next big refactor 11557 need_lib_prefix=no 11558 need_version=no 11559 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11560 soname_spec='$libname$release$shared_ext$major' 11561 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11562 shlibpath_var=LD_LIBRARY_PATH 11563 shlibpath_overrides_runpath=no 11564 hardcode_into_libs=yes 11565 ;; 11566 11567irix5* | irix6* | nonstopux*) 11568 case $host_os in 11569 nonstopux*) version_type=nonstopux ;; 11570 *) 11571 if test yes = "$lt_cv_prog_gnu_ld"; then 11572 version_type=linux # correct to gnu/linux during the next big refactor 11573 else 11574 version_type=irix 11575 fi ;; 11576 esac 11577 need_lib_prefix=no 11578 need_version=no 11579 soname_spec='$libname$release$shared_ext$major' 11580 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11581 case $host_os in 11582 irix5* | nonstopux*) 11583 libsuff= shlibsuff= 11584 ;; 11585 *) 11586 case $LD in # libtool.m4 will add one of these switches to LD 11587 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11588 libsuff= shlibsuff= libmagic=32-bit;; 11589 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11590 libsuff=32 shlibsuff=N32 libmagic=N32;; 11591 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11592 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11593 *) libsuff= shlibsuff= libmagic=never-match;; 11594 esac 11595 ;; 11596 esac 11597 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11598 shlibpath_overrides_runpath=no 11599 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11600 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11601 hardcode_into_libs=yes 11602 ;; 11603 11604# No shared lib support for Linux oldld, aout, or coff. 11605linux*oldld* | linux*aout* | linux*coff*) 11606 dynamic_linker=no 11607 ;; 11608 11609linux*android*) 11610 version_type=none # Android doesn't support versioned libraries. 11611 need_lib_prefix=no 11612 need_version=no 11613 library_names_spec='$libname$release$shared_ext' 11614 soname_spec='$libname$release$shared_ext' 11615 finish_cmds= 11616 shlibpath_var=LD_LIBRARY_PATH 11617 shlibpath_overrides_runpath=yes 11618 11619 # This implies no fast_install, which is unacceptable. 11620 # Some rework will be needed to allow for fast_install 11621 # before this can be enabled. 11622 hardcode_into_libs=yes 11623 11624 dynamic_linker='Android linker' 11625 # Don't embed -rpath directories since the linker doesn't support them. 11626 hardcode_libdir_flag_spec='-L$libdir' 11627 ;; 11628 11629# This must be glibc/ELF. 11630linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11631 version_type=linux # correct to gnu/linux during the next big refactor 11632 need_lib_prefix=no 11633 need_version=no 11634 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11635 soname_spec='$libname$release$shared_ext$major' 11636 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11637 shlibpath_var=LD_LIBRARY_PATH 11638 shlibpath_overrides_runpath=no 11639 11640 # Some binutils ld are patched to set DT_RUNPATH 11641 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11642 $as_echo_n "(cached) " >&6 11643else 11644 lt_cv_shlibpath_overrides_runpath=no 11645 save_LDFLAGS=$LDFLAGS 11646 save_libdir=$libdir 11647 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11648 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11650/* end confdefs.h. */ 11651 11652int 11653main () 11654{ 11655 11656 ; 11657 return 0; 11658} 11659_ACEOF 11660if ac_fn_c_try_link "$LINENO"; then : 11661 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11662 lt_cv_shlibpath_overrides_runpath=yes 11663fi 11664fi 11665rm -f core conftest.err conftest.$ac_objext \ 11666 conftest$ac_exeext conftest.$ac_ext 11667 LDFLAGS=$save_LDFLAGS 11668 libdir=$save_libdir 11669 11670fi 11671 11672 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11673 11674 # This implies no fast_install, which is unacceptable. 11675 # Some rework will be needed to allow for fast_install 11676 # before this can be enabled. 11677 hardcode_into_libs=yes 11678 11679 # Add ABI-specific directories to the system library path. 11680 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11681 11682 # Ideally, we could use ldconfig to report *all* directores which are 11683 # searched for libraries, however this is still not possible. Aside from not 11684 # being certain /sbin/ldconfig is available, command 11685 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11686 # even though it is searched at run-time. Try to do the best guess by 11687 # appending ld.so.conf contents (and includes) to the search path. 11688 if test -f /etc/ld.so.conf; then 11689 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' ' '` 11690 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11691 fi 11692 11693 # We used to test for /lib/ld.so.1 and disable shared libraries on 11694 # powerpc, because MkLinux only supported shared libraries with the 11695 # GNU dynamic linker. Since this was broken with cross compilers, 11696 # most powerpc-linux boxes support dynamic linking these days and 11697 # people can always --disable-shared, the test was removed, and we 11698 # assume the GNU/Linux dynamic linker is in use. 11699 dynamic_linker='GNU/Linux ld.so' 11700 ;; 11701 11702netbsd*) 11703 version_type=sunos 11704 need_lib_prefix=no 11705 need_version=no 11706 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11707 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11708 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11709 dynamic_linker='NetBSD (a.out) ld.so' 11710 else 11711 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11712 soname_spec='$libname$release$shared_ext$major' 11713 dynamic_linker='NetBSD ld.elf_so' 11714 fi 11715 shlibpath_var=LD_LIBRARY_PATH 11716 shlibpath_overrides_runpath=yes 11717 hardcode_into_libs=yes 11718 ;; 11719 11720newsos6) 11721 version_type=linux # correct to gnu/linux during the next big refactor 11722 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11723 shlibpath_var=LD_LIBRARY_PATH 11724 shlibpath_overrides_runpath=yes 11725 ;; 11726 11727*nto* | *qnx*) 11728 version_type=qnx 11729 need_lib_prefix=no 11730 need_version=no 11731 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11732 soname_spec='$libname$release$shared_ext$major' 11733 shlibpath_var=LD_LIBRARY_PATH 11734 shlibpath_overrides_runpath=no 11735 hardcode_into_libs=yes 11736 dynamic_linker='ldqnx.so' 11737 ;; 11738 11739openbsd* | bitrig*) 11740 version_type=sunos 11741 sys_lib_dlsearch_path_spec=/usr/lib 11742 need_lib_prefix=no 11743 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11744 need_version=no 11745 else 11746 need_version=yes 11747 fi 11748 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11749 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11750 shlibpath_var=LD_LIBRARY_PATH 11751 shlibpath_overrides_runpath=yes 11752 ;; 11753 11754os2*) 11755 libname_spec='$name' 11756 version_type=windows 11757 shrext_cmds=.dll 11758 need_version=no 11759 need_lib_prefix=no 11760 # OS/2 can only load a DLL with a base name of 8 characters or less. 11761 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11762 v=$($ECHO $release$versuffix | tr -d .-); 11763 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11764 $ECHO $n$v`$shared_ext' 11765 library_names_spec='${libname}_dll.$libext' 11766 dynamic_linker='OS/2 ld.exe' 11767 shlibpath_var=BEGINLIBPATH 11768 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11769 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11770 postinstall_cmds='base_file=`basename \$file`~ 11771 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11772 dldir=$destdir/`dirname \$dlpath`~ 11773 test -d \$dldir || mkdir -p \$dldir~ 11774 $install_prog $dir/$dlname \$dldir/$dlname~ 11775 chmod a+x \$dldir/$dlname~ 11776 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11777 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11778 fi' 11779 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11780 dlpath=$dir/\$dldll~ 11781 $RM \$dlpath' 11782 ;; 11783 11784osf3* | osf4* | osf5*) 11785 version_type=osf 11786 need_lib_prefix=no 11787 need_version=no 11788 soname_spec='$libname$release$shared_ext$major' 11789 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11790 shlibpath_var=LD_LIBRARY_PATH 11791 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11792 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11793 ;; 11794 11795rdos*) 11796 dynamic_linker=no 11797 ;; 11798 11799solaris*) 11800 version_type=linux # correct to gnu/linux during the next big refactor 11801 need_lib_prefix=no 11802 need_version=no 11803 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11804 soname_spec='$libname$release$shared_ext$major' 11805 shlibpath_var=LD_LIBRARY_PATH 11806 shlibpath_overrides_runpath=yes 11807 hardcode_into_libs=yes 11808 # ldd complains unless libraries are executable 11809 postinstall_cmds='chmod +x $lib' 11810 ;; 11811 11812sunos4*) 11813 version_type=sunos 11814 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11815 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11816 shlibpath_var=LD_LIBRARY_PATH 11817 shlibpath_overrides_runpath=yes 11818 if test yes = "$with_gnu_ld"; then 11819 need_lib_prefix=no 11820 fi 11821 need_version=yes 11822 ;; 11823 11824sysv4 | sysv4.3*) 11825 version_type=linux # correct to gnu/linux during the next big refactor 11826 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11827 soname_spec='$libname$release$shared_ext$major' 11828 shlibpath_var=LD_LIBRARY_PATH 11829 case $host_vendor in 11830 sni) 11831 shlibpath_overrides_runpath=no 11832 need_lib_prefix=no 11833 runpath_var=LD_RUN_PATH 11834 ;; 11835 siemens) 11836 need_lib_prefix=no 11837 ;; 11838 motorola) 11839 need_lib_prefix=no 11840 need_version=no 11841 shlibpath_overrides_runpath=no 11842 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11843 ;; 11844 esac 11845 ;; 11846 11847sysv4*MP*) 11848 if test -d /usr/nec; then 11849 version_type=linux # correct to gnu/linux during the next big refactor 11850 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11851 soname_spec='$libname$shared_ext.$major' 11852 shlibpath_var=LD_LIBRARY_PATH 11853 fi 11854 ;; 11855 11856sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11857 version_type=sco 11858 need_lib_prefix=no 11859 need_version=no 11860 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11861 soname_spec='$libname$release$shared_ext$major' 11862 shlibpath_var=LD_LIBRARY_PATH 11863 shlibpath_overrides_runpath=yes 11864 hardcode_into_libs=yes 11865 if test yes = "$with_gnu_ld"; then 11866 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11867 else 11868 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11869 case $host_os in 11870 sco3.2v5*) 11871 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11872 ;; 11873 esac 11874 fi 11875 sys_lib_dlsearch_path_spec='/usr/lib' 11876 ;; 11877 11878tpf*) 11879 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11880 version_type=linux # correct to gnu/linux during the next big refactor 11881 need_lib_prefix=no 11882 need_version=no 11883 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11884 shlibpath_var=LD_LIBRARY_PATH 11885 shlibpath_overrides_runpath=no 11886 hardcode_into_libs=yes 11887 ;; 11888 11889uts4*) 11890 version_type=linux # correct to gnu/linux during the next big refactor 11891 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11892 soname_spec='$libname$release$shared_ext$major' 11893 shlibpath_var=LD_LIBRARY_PATH 11894 ;; 11895 11896*) 11897 dynamic_linker=no 11898 ;; 11899esac 11900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11901$as_echo "$dynamic_linker" >&6; } 11902test no = "$dynamic_linker" && can_build_shared=no 11903 11904variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11905if test yes = "$GCC"; then 11906 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11907fi 11908 11909if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11910 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11911fi 11912 11913if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11914 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11915fi 11916 11917# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11918configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11919 11920# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11921func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11922 11923# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11924configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12023$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12024hardcode_action= 12025if test -n "$hardcode_libdir_flag_spec" || 12026 test -n "$runpath_var" || 12027 test yes = "$hardcode_automatic"; then 12028 12029 # We can hardcode non-existent directories. 12030 if test no != "$hardcode_direct" && 12031 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12032 # have to relink, otherwise we might link with an installed library 12033 # when we should be linking with a yet-to-be-installed one 12034 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12035 test no != "$hardcode_minus_L"; then 12036 # Linking always hardcodes the temporary library directory. 12037 hardcode_action=relink 12038 else 12039 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12040 hardcode_action=immediate 12041 fi 12042else 12043 # We cannot hardcode anything, or else we can only hardcode existing 12044 # directories. 12045 hardcode_action=unsupported 12046fi 12047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12048$as_echo "$hardcode_action" >&6; } 12049 12050if test relink = "$hardcode_action" || 12051 test yes = "$inherit_rpath"; then 12052 # Fast installation is not supported 12053 enable_fast_install=no 12054elif test yes = "$shlibpath_overrides_runpath" || 12055 test no = "$enable_shared"; then 12056 # Fast installation is not necessary 12057 enable_fast_install=needless 12058fi 12059 12060 12061 12062 12063 12064 12065 if test yes != "$enable_dlopen"; then 12066 enable_dlopen=unknown 12067 enable_dlopen_self=unknown 12068 enable_dlopen_self_static=unknown 12069else 12070 lt_cv_dlopen=no 12071 lt_cv_dlopen_libs= 12072 12073 case $host_os in 12074 beos*) 12075 lt_cv_dlopen=load_add_on 12076 lt_cv_dlopen_libs= 12077 lt_cv_dlopen_self=yes 12078 ;; 12079 12080 mingw* | pw32* | cegcc*) 12081 lt_cv_dlopen=LoadLibrary 12082 lt_cv_dlopen_libs= 12083 ;; 12084 12085 cygwin*) 12086 lt_cv_dlopen=dlopen 12087 lt_cv_dlopen_libs= 12088 ;; 12089 12090 darwin*) 12091 # if libdl is installed we need to link against it 12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12093$as_echo_n "checking for dlopen in -ldl... " >&6; } 12094if ${ac_cv_lib_dl_dlopen+:} false; then : 12095 $as_echo_n "(cached) " >&6 12096else 12097 ac_check_lib_save_LIBS=$LIBS 12098LIBS="-ldl $LIBS" 12099cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12100/* end confdefs.h. */ 12101 12102/* Override any GCC internal prototype to avoid an error. 12103 Use char because int might match the return type of a GCC 12104 builtin and then its argument prototype would still apply. */ 12105#ifdef __cplusplus 12106extern "C" 12107#endif 12108char dlopen (); 12109int 12110main () 12111{ 12112return dlopen (); 12113 ; 12114 return 0; 12115} 12116_ACEOF 12117if ac_fn_c_try_link "$LINENO"; then : 12118 ac_cv_lib_dl_dlopen=yes 12119else 12120 ac_cv_lib_dl_dlopen=no 12121fi 12122rm -f core conftest.err conftest.$ac_objext \ 12123 conftest$ac_exeext conftest.$ac_ext 12124LIBS=$ac_check_lib_save_LIBS 12125fi 12126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12127$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12128if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12129 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12130else 12131 12132 lt_cv_dlopen=dyld 12133 lt_cv_dlopen_libs= 12134 lt_cv_dlopen_self=yes 12135 12136fi 12137 12138 ;; 12139 12140 tpf*) 12141 # Don't try to run any link tests for TPF. We know it's impossible 12142 # because TPF is a cross-compiler, and we know how we open DSOs. 12143 lt_cv_dlopen=dlopen 12144 lt_cv_dlopen_libs= 12145 lt_cv_dlopen_self=no 12146 ;; 12147 12148 *) 12149 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12150if test "x$ac_cv_func_shl_load" = xyes; then : 12151 lt_cv_dlopen=shl_load 12152else 12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12154$as_echo_n "checking for shl_load in -ldld... " >&6; } 12155if ${ac_cv_lib_dld_shl_load+:} false; then : 12156 $as_echo_n "(cached) " >&6 12157else 12158 ac_check_lib_save_LIBS=$LIBS 12159LIBS="-ldld $LIBS" 12160cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12161/* end confdefs.h. */ 12162 12163/* Override any GCC internal prototype to avoid an error. 12164 Use char because int might match the return type of a GCC 12165 builtin and then its argument prototype would still apply. */ 12166#ifdef __cplusplus 12167extern "C" 12168#endif 12169char shl_load (); 12170int 12171main () 12172{ 12173return shl_load (); 12174 ; 12175 return 0; 12176} 12177_ACEOF 12178if ac_fn_c_try_link "$LINENO"; then : 12179 ac_cv_lib_dld_shl_load=yes 12180else 12181 ac_cv_lib_dld_shl_load=no 12182fi 12183rm -f core conftest.err conftest.$ac_objext \ 12184 conftest$ac_exeext conftest.$ac_ext 12185LIBS=$ac_check_lib_save_LIBS 12186fi 12187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12188$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12189if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12190 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12191else 12192 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12193if test "x$ac_cv_func_dlopen" = xyes; then : 12194 lt_cv_dlopen=dlopen 12195else 12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12197$as_echo_n "checking for dlopen in -ldl... " >&6; } 12198if ${ac_cv_lib_dl_dlopen+:} false; then : 12199 $as_echo_n "(cached) " >&6 12200else 12201 ac_check_lib_save_LIBS=$LIBS 12202LIBS="-ldl $LIBS" 12203cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12204/* end confdefs.h. */ 12205 12206/* Override any GCC internal prototype to avoid an error. 12207 Use char because int might match the return type of a GCC 12208 builtin and then its argument prototype would still apply. */ 12209#ifdef __cplusplus 12210extern "C" 12211#endif 12212char dlopen (); 12213int 12214main () 12215{ 12216return dlopen (); 12217 ; 12218 return 0; 12219} 12220_ACEOF 12221if ac_fn_c_try_link "$LINENO"; then : 12222 ac_cv_lib_dl_dlopen=yes 12223else 12224 ac_cv_lib_dl_dlopen=no 12225fi 12226rm -f core conftest.err conftest.$ac_objext \ 12227 conftest$ac_exeext conftest.$ac_ext 12228LIBS=$ac_check_lib_save_LIBS 12229fi 12230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12231$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12232if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12233 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12234else 12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12236$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12237if ${ac_cv_lib_svld_dlopen+:} false; then : 12238 $as_echo_n "(cached) " >&6 12239else 12240 ac_check_lib_save_LIBS=$LIBS 12241LIBS="-lsvld $LIBS" 12242cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12243/* end confdefs.h. */ 12244 12245/* Override any GCC internal prototype to avoid an error. 12246 Use char because int might match the return type of a GCC 12247 builtin and then its argument prototype would still apply. */ 12248#ifdef __cplusplus 12249extern "C" 12250#endif 12251char dlopen (); 12252int 12253main () 12254{ 12255return dlopen (); 12256 ; 12257 return 0; 12258} 12259_ACEOF 12260if ac_fn_c_try_link "$LINENO"; then : 12261 ac_cv_lib_svld_dlopen=yes 12262else 12263 ac_cv_lib_svld_dlopen=no 12264fi 12265rm -f core conftest.err conftest.$ac_objext \ 12266 conftest$ac_exeext conftest.$ac_ext 12267LIBS=$ac_check_lib_save_LIBS 12268fi 12269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12270$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12271if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12272 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12273else 12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12275$as_echo_n "checking for dld_link in -ldld... " >&6; } 12276if ${ac_cv_lib_dld_dld_link+:} false; then : 12277 $as_echo_n "(cached) " >&6 12278else 12279 ac_check_lib_save_LIBS=$LIBS 12280LIBS="-ldld $LIBS" 12281cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12282/* end confdefs.h. */ 12283 12284/* Override any GCC internal prototype to avoid an error. 12285 Use char because int might match the return type of a GCC 12286 builtin and then its argument prototype would still apply. */ 12287#ifdef __cplusplus 12288extern "C" 12289#endif 12290char dld_link (); 12291int 12292main () 12293{ 12294return dld_link (); 12295 ; 12296 return 0; 12297} 12298_ACEOF 12299if ac_fn_c_try_link "$LINENO"; then : 12300 ac_cv_lib_dld_dld_link=yes 12301else 12302 ac_cv_lib_dld_dld_link=no 12303fi 12304rm -f core conftest.err conftest.$ac_objext \ 12305 conftest$ac_exeext conftest.$ac_ext 12306LIBS=$ac_check_lib_save_LIBS 12307fi 12308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12309$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12310if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12311 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12312fi 12313 12314 12315fi 12316 12317 12318fi 12319 12320 12321fi 12322 12323 12324fi 12325 12326 12327fi 12328 12329 ;; 12330 esac 12331 12332 if test no = "$lt_cv_dlopen"; then 12333 enable_dlopen=no 12334 else 12335 enable_dlopen=yes 12336 fi 12337 12338 case $lt_cv_dlopen in 12339 dlopen) 12340 save_CPPFLAGS=$CPPFLAGS 12341 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12342 12343 save_LDFLAGS=$LDFLAGS 12344 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12345 12346 save_LIBS=$LIBS 12347 LIBS="$lt_cv_dlopen_libs $LIBS" 12348 12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12350$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12351if ${lt_cv_dlopen_self+:} false; then : 12352 $as_echo_n "(cached) " >&6 12353else 12354 if test yes = "$cross_compiling"; then : 12355 lt_cv_dlopen_self=cross 12356else 12357 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12358 lt_status=$lt_dlunknown 12359 cat > conftest.$ac_ext <<_LT_EOF 12360#line $LINENO "configure" 12361#include "confdefs.h" 12362 12363#if HAVE_DLFCN_H 12364#include <dlfcn.h> 12365#endif 12366 12367#include <stdio.h> 12368 12369#ifdef RTLD_GLOBAL 12370# define LT_DLGLOBAL RTLD_GLOBAL 12371#else 12372# ifdef DL_GLOBAL 12373# define LT_DLGLOBAL DL_GLOBAL 12374# else 12375# define LT_DLGLOBAL 0 12376# endif 12377#endif 12378 12379/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12380 find out it does not work in some platform. */ 12381#ifndef LT_DLLAZY_OR_NOW 12382# ifdef RTLD_LAZY 12383# define LT_DLLAZY_OR_NOW RTLD_LAZY 12384# else 12385# ifdef DL_LAZY 12386# define LT_DLLAZY_OR_NOW DL_LAZY 12387# else 12388# ifdef RTLD_NOW 12389# define LT_DLLAZY_OR_NOW RTLD_NOW 12390# else 12391# ifdef DL_NOW 12392# define LT_DLLAZY_OR_NOW DL_NOW 12393# else 12394# define LT_DLLAZY_OR_NOW 0 12395# endif 12396# endif 12397# endif 12398# endif 12399#endif 12400 12401/* When -fvisibility=hidden is used, assume the code has been annotated 12402 correspondingly for the symbols needed. */ 12403#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12404int fnord () __attribute__((visibility("default"))); 12405#endif 12406 12407int fnord () { return 42; } 12408int main () 12409{ 12410 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12411 int status = $lt_dlunknown; 12412 12413 if (self) 12414 { 12415 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12416 else 12417 { 12418 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12419 else puts (dlerror ()); 12420 } 12421 /* dlclose (self); */ 12422 } 12423 else 12424 puts (dlerror ()); 12425 12426 return status; 12427} 12428_LT_EOF 12429 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12430 (eval $ac_link) 2>&5 12431 ac_status=$? 12432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12433 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12434 (./conftest; exit; ) >&5 2>/dev/null 12435 lt_status=$? 12436 case x$lt_status in 12437 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12438 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12439 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12440 esac 12441 else : 12442 # compilation failed 12443 lt_cv_dlopen_self=no 12444 fi 12445fi 12446rm -fr conftest* 12447 12448 12449fi 12450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12451$as_echo "$lt_cv_dlopen_self" >&6; } 12452 12453 if test yes = "$lt_cv_dlopen_self"; then 12454 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12456$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12457if ${lt_cv_dlopen_self_static+:} false; then : 12458 $as_echo_n "(cached) " >&6 12459else 12460 if test yes = "$cross_compiling"; then : 12461 lt_cv_dlopen_self_static=cross 12462else 12463 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12464 lt_status=$lt_dlunknown 12465 cat > conftest.$ac_ext <<_LT_EOF 12466#line $LINENO "configure" 12467#include "confdefs.h" 12468 12469#if HAVE_DLFCN_H 12470#include <dlfcn.h> 12471#endif 12472 12473#include <stdio.h> 12474 12475#ifdef RTLD_GLOBAL 12476# define LT_DLGLOBAL RTLD_GLOBAL 12477#else 12478# ifdef DL_GLOBAL 12479# define LT_DLGLOBAL DL_GLOBAL 12480# else 12481# define LT_DLGLOBAL 0 12482# endif 12483#endif 12484 12485/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12486 find out it does not work in some platform. */ 12487#ifndef LT_DLLAZY_OR_NOW 12488# ifdef RTLD_LAZY 12489# define LT_DLLAZY_OR_NOW RTLD_LAZY 12490# else 12491# ifdef DL_LAZY 12492# define LT_DLLAZY_OR_NOW DL_LAZY 12493# else 12494# ifdef RTLD_NOW 12495# define LT_DLLAZY_OR_NOW RTLD_NOW 12496# else 12497# ifdef DL_NOW 12498# define LT_DLLAZY_OR_NOW DL_NOW 12499# else 12500# define LT_DLLAZY_OR_NOW 0 12501# endif 12502# endif 12503# endif 12504# endif 12505#endif 12506 12507/* When -fvisibility=hidden is used, assume the code has been annotated 12508 correspondingly for the symbols needed. */ 12509#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12510int fnord () __attribute__((visibility("default"))); 12511#endif 12512 12513int fnord () { return 42; } 12514int main () 12515{ 12516 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12517 int status = $lt_dlunknown; 12518 12519 if (self) 12520 { 12521 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12522 else 12523 { 12524 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12525 else puts (dlerror ()); 12526 } 12527 /* dlclose (self); */ 12528 } 12529 else 12530 puts (dlerror ()); 12531 12532 return status; 12533} 12534_LT_EOF 12535 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12536 (eval $ac_link) 2>&5 12537 ac_status=$? 12538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12539 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12540 (./conftest; exit; ) >&5 2>/dev/null 12541 lt_status=$? 12542 case x$lt_status in 12543 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12544 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12545 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12546 esac 12547 else : 12548 # compilation failed 12549 lt_cv_dlopen_self_static=no 12550 fi 12551fi 12552rm -fr conftest* 12553 12554 12555fi 12556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12557$as_echo "$lt_cv_dlopen_self_static" >&6; } 12558 fi 12559 12560 CPPFLAGS=$save_CPPFLAGS 12561 LDFLAGS=$save_LDFLAGS 12562 LIBS=$save_LIBS 12563 ;; 12564 esac 12565 12566 case $lt_cv_dlopen_self in 12567 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12568 *) enable_dlopen_self=unknown ;; 12569 esac 12570 12571 case $lt_cv_dlopen_self_static in 12572 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12573 *) enable_dlopen_self_static=unknown ;; 12574 esac 12575fi 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593striplib= 12594old_striplib= 12595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12596$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12597if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12598 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12599 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12601$as_echo "yes" >&6; } 12602else 12603# FIXME - insert some real tests, host_os isn't really good enough 12604 case $host_os in 12605 darwin*) 12606 if test -n "$STRIP"; then 12607 striplib="$STRIP -x" 12608 old_striplib="$STRIP -S" 12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12610$as_echo "yes" >&6; } 12611 else 12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12613$as_echo "no" >&6; } 12614 fi 12615 ;; 12616 *) 12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12618$as_echo "no" >&6; } 12619 ;; 12620 esac 12621fi 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 # Report what library types will actually be built 12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12636$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12638$as_echo "$can_build_shared" >&6; } 12639 12640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12641$as_echo_n "checking whether to build shared libraries... " >&6; } 12642 test no = "$can_build_shared" && enable_shared=no 12643 12644 # On AIX, shared libraries and static libraries use the same namespace, and 12645 # are all built from PIC. 12646 case $host_os in 12647 aix3*) 12648 test yes = "$enable_shared" && enable_static=no 12649 if test -n "$RANLIB"; then 12650 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12651 postinstall_cmds='$RANLIB $lib' 12652 fi 12653 ;; 12654 12655 aix[4-9]*) 12656 if test ia64 != "$host_cpu"; then 12657 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12658 yes,aix,yes) ;; # shared object as lib.so file only 12659 yes,svr4,*) ;; # shared object as lib.so archive member only 12660 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12661 esac 12662 fi 12663 ;; 12664 esac 12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12666$as_echo "$enable_shared" >&6; } 12667 12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12669$as_echo_n "checking whether to build static libraries... " >&6; } 12670 # Make sure either enable_shared or enable_static is yes. 12671 test yes = "$enable_shared" || enable_static=yes 12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12673$as_echo "$enable_static" >&6; } 12674 12675 12676 12677 12678fi 12679ac_ext=c 12680ac_cpp='$CPP $CPPFLAGS' 12681ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12682ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12683ac_compiler_gnu=$ac_cv_c_compiler_gnu 12684 12685CC=$lt_save_CC 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 ac_config_commands="$ac_config_commands libtool" 12702 12703 12704 12705 12706# Only expand once: 12707 12708 12709 12710VERSION_SCRIPT_FLAGS= 12711# lt_cv_prog_gnu_ld is from libtool 2.+ 12712if test "$lt_cv_prog_gnu_ld" = yes; then 12713 VERSION_SCRIPT_FLAGS=-Wl,--version-script= 12714else 12715 case $host in 12716 *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";; 12717 esac 12718fi 12719 12720 if test -n "$VERSION_SCRIPT_FLAGS"; then 12721 USE_VERSION_SCRIPT_TRUE= 12722 USE_VERSION_SCRIPT_FALSE='#' 12723else 12724 USE_VERSION_SCRIPT_TRUE='#' 12725 USE_VERSION_SCRIPT_FALSE= 12726fi 12727 12728 12729 12730_cppflags="${CPPFLAGS}" 12731_libs="${LIBS}" 12732 12733 12734# Check whether --with-c14n was given. 12735if test "${with_c14n+set}" = set; then : 12736 withval=$with_c14n; 12737fi 12738 12739 12740# Check whether --with-catalog was given. 12741if test "${with_catalog+set}" = set; then : 12742 withval=$with_catalog; 12743fi 12744 12745 12746# Check whether --with-debug was given. 12747if test "${with_debug+set}" = set; then : 12748 withval=$with_debug; 12749fi 12750 12751 12752# Check whether --with-docbook was given. 12753if test "${with_docbook+set}" = set; then : 12754 withval=$with_docbook; 12755fi 12756 12757 12758# Check whether --with-fexceptions was given. 12759if test "${with_fexceptions+set}" = set; then : 12760 withval=$with_fexceptions; 12761fi 12762 12763 12764# Check whether --with-ftp was given. 12765if test "${with_ftp+set}" = set; then : 12766 withval=$with_ftp; 12767fi 12768 12769 12770# Check whether --with-history was given. 12771if test "${with_history+set}" = set; then : 12772 withval=$with_history; 12773fi 12774 12775 12776# Check whether --with-html was given. 12777if test "${with_html+set}" = set; then : 12778 withval=$with_html; 12779fi 12780 12781 12782# Check whether --with-html-dir was given. 12783if test "${with_html_dir+set}" = set; then : 12784 withval=$with_html_dir; HTML_DIR=$withval 12785else 12786 HTML_DIR='$(datadir)/doc' 12787fi 12788 12789 12790 12791# Check whether --with-html-subdir was given. 12792if test "${with_html_subdir+set}" = set; then : 12793 withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval" 12794else 12795 HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html" 12796fi 12797 12798 12799 12800# Check whether --with-http was given. 12801if test "${with_http+set}" = set; then : 12802 withval=$with_http; 12803fi 12804 12805 12806# Check whether --with-iconv was given. 12807if test "${with_iconv+set}" = set; then : 12808 withval=$with_iconv; 12809fi 12810 12811 12812# Check whether --with-icu was given. 12813if test "${with_icu+set}" = set; then : 12814 withval=$with_icu; 12815fi 12816 12817 12818# Check whether --with-iso8859x was given. 12819if test "${with_iso8859x+set}" = set; then : 12820 withval=$with_iso8859x; 12821fi 12822 12823 12824# Check whether --with-legacy was given. 12825if test "${with_legacy+set}" = set; then : 12826 withval=$with_legacy; 12827fi 12828 12829 12830# Check whether --with-mem_debug was given. 12831if test "${with_mem_debug+set}" = set; then : 12832 withval=$with_mem_debug; 12833fi 12834 12835 12836# Check whether --with-minimum was given. 12837if test "${with_minimum+set}" = set; then : 12838 withval=$with_minimum; 12839fi 12840 12841 12842# Check whether --with-output was given. 12843if test "${with_output+set}" = set; then : 12844 withval=$with_output; 12845fi 12846 12847 12848# Check whether --with-pattern was given. 12849if test "${with_pattern+set}" = set; then : 12850 withval=$with_pattern; 12851fi 12852 12853 12854# Check whether --with-push was given. 12855if test "${with_push+set}" = set; then : 12856 withval=$with_push; 12857fi 12858 12859 12860# Check whether --with-python was given. 12861if test "${with_python+set}" = set; then : 12862 withval=$with_python; 12863fi 12864 12865 12866# Check whether --with-python_install_dir was given. 12867if test "${with_python_install_dir+set}" = set; then : 12868 withval=$with_python_install_dir; 12869fi 12870 12871 12872# Check whether --with-reader was given. 12873if test "${with_reader+set}" = set; then : 12874 withval=$with_reader; 12875fi 12876 12877 12878# Check whether --with-readline was given. 12879if test "${with_readline+set}" = set; then : 12880 withval=$with_readline; 12881 if test "$withval" != "no" -a "$withval" != "yes"; then 12882 RDL_DIR=$withval 12883 CPPFLAGS="${CPPFLAGS} -I$withval/include" 12884 LDFLAGS="${LDFLAGS} -L$withval/lib" 12885 fi 12886 12887fi 12888 12889 12890# Check whether --with-regexps was given. 12891if test "${with_regexps+set}" = set; then : 12892 withval=$with_regexps; 12893fi 12894 12895 12896# Check whether --with-run_debug was given. 12897if test "${with_run_debug+set}" = set; then : 12898 withval=$with_run_debug; 12899fi 12900 12901 12902# Check whether --with-sax1 was given. 12903if test "${with_sax1+set}" = set; then : 12904 withval=$with_sax1; 12905fi 12906 12907 12908# Check whether --with-schemas was given. 12909if test "${with_schemas+set}" = set; then : 12910 withval=$with_schemas; 12911fi 12912 12913 12914# Check whether --with-schematron was given. 12915if test "${with_schematron+set}" = set; then : 12916 withval=$with_schematron; 12917fi 12918 12919 12920# Check whether --with-threads was given. 12921if test "${with_threads+set}" = set; then : 12922 withval=$with_threads; 12923fi 12924 12925 12926# Check whether --with-thread-alloc was given. 12927if test "${with_thread_alloc+set}" = set; then : 12928 withval=$with_thread_alloc; 12929fi 12930 12931 12932# Check whether --with-tree was given. 12933if test "${with_tree+set}" = set; then : 12934 withval=$with_tree; 12935fi 12936 12937 12938# Check whether --with-valid was given. 12939if test "${with_valid+set}" = set; then : 12940 withval=$with_valid; 12941fi 12942 12943 12944# Check whether --with-writer was given. 12945if test "${with_writer+set}" = set; then : 12946 withval=$with_writer; 12947fi 12948 12949 12950# Check whether --with-xinclude was given. 12951if test "${with_xinclude+set}" = set; then : 12952 withval=$with_xinclude; 12953fi 12954 12955 12956# Check whether --with-xpath was given. 12957if test "${with_xpath+set}" = set; then : 12958 withval=$with_xpath; 12959fi 12960 12961 12962# Check whether --with-xptr was given. 12963if test "${with_xptr+set}" = set; then : 12964 withval=$with_xptr; 12965fi 12966 12967 12968# Check whether --with-modules was given. 12969if test "${with_modules+set}" = set; then : 12970 withval=$with_modules; 12971fi 12972 12973 12974# Check whether --with-zlib was given. 12975if test "${with_zlib+set}" = set; then : 12976 withval=$with_zlib; 12977 if test "$withval" != "no" -a "$withval" != "yes"; then 12978 Z_DIR=$withval 12979 CPPFLAGS="${CPPFLAGS} -I$withval/include" 12980 LDFLAGS="${LDFLAGS} -L$withval/lib" 12981 fi 12982 12983fi 12984 12985 12986# Check whether --with-lzma was given. 12987if test "${with_lzma+set}" = set; then : 12988 withval=$with_lzma; 12989 if test "$withval" != "no" -a "$withval" != "yes"; then 12990 LZMA_DIR=$withval 12991 CPPFLAGS="${CPPFLAGS} -I$withval/include" 12992 LDFLAGS="${LDFLAGS} -L$withval/lib" 12993 fi 12994 12995fi 12996 12997 12998# Check whether --with-coverage was given. 12999if test "${with_coverage+set}" = set; then : 13000 withval=$with_coverage; 13001fi 13002 13003 13004# Check whether --enable-rebuild-docs was given. 13005if test "${enable_rebuild_docs+set}" = set; then : 13006 enableval=$enable_rebuild_docs; 13007fi 13008 13009if test "$enable_rebuild_docs" = "yes" -a "$srcdir" != "."; then 13010 as_fn_error $? "cannot rebuild docs when builddir != srcdir" "$LINENO" 5 13011fi 13012 if test "$enable_rebuild_docs" = "yes" -o "$USER" = "veillard"; then 13013 REBUILD_DOCS_TRUE= 13014 REBUILD_DOCS_FALSE='#' 13015else 13016 REBUILD_DOCS_TRUE='#' 13017 REBUILD_DOCS_FALSE= 13018fi 13019 13020 13021if test "$with_schemas" = "yes" 13022then 13023 with_pattern=yes 13024 with_regexps=yes 13025fi 13026if test "$with_schematron" = "yes" 13027then 13028 with_pattern=yes 13029 with_tree=yes 13030 with_xpath=yes 13031fi 13032if test "$with_reader" = "yes" 13033then 13034 with_push=yes 13035fi 13036if test "$with_xptr" = "yes" 13037then 13038 with_xpath=yes 13039fi 13040if test "$with_minimum" = "yes" 13041then 13042 echo "Configuring for a minimal library" 13043 if test "$with_c14n" = "" 13044 then 13045 with_c14n=no 13046 fi 13047 if test "$with_catalog" = "" 13048 then 13049 with_catalog=no 13050 fi 13051 echo So far so good! 13052 if test "$with_debug" = "" 13053 then 13054 with_debug=no 13055 fi 13056 if test "$with_docbook" = "" 13057 then 13058 with_docbook=no 13059 fi 13060 if test "$with_fexceptions" = "" 13061 then 13062 with_fexceptions=no 13063 fi 13064 if test "$with_ftp" = "" 13065 then 13066 with_ftp=no 13067 fi 13068 if test "$with_history" = "" 13069 then 13070 with_history=no 13071 fi 13072 if test "$with_html" = "" 13073 then 13074 with_html=no 13075 fi 13076 if test "$with_http" = "" 13077 then 13078 with_http=no 13079 fi 13080 if test "$with_iconv" = "" 13081 then 13082 with_iconv=no 13083 fi 13084 if test "$with_iso8859x" = "" 13085 then 13086 with_iso8859x=no 13087 fi 13088 if test "$with_legacy" = "" 13089 then 13090 with_legacy=no 13091 fi 13092 if test "$with_mem_debug" = "" 13093 then 13094 with_mem_debug=no 13095 fi 13096 if test "$with_output" = "" 13097 then 13098 with_output=no 13099 fi 13100 if test "$with_pattern" = "" 13101 then 13102 with_pattern=no 13103 fi 13104 if test "$with_push" = "" 13105 then 13106 with_push=no 13107 fi 13108 if test "$with_python" = "" 13109 then 13110 with_python=no 13111 fi 13112 if test "$with_reader" = "" 13113 then 13114 with_reader=no 13115 fi 13116 if test "$with_readline" = "" 13117 then 13118 with_readline=no 13119 fi 13120 if test "$with_regexps" = "" 13121 then 13122 with_regexps=no 13123 fi 13124 if test "$with_run_debug" = "" 13125 then 13126 with_run_debug=no 13127 fi 13128 if test "$with_sax1" = "" 13129 then 13130 with_sax1=no 13131 fi 13132 if test "$with_schemas" = "" 13133 then 13134 with_schemas=no 13135 fi 13136 if test "$with_schematron" = "" 13137 then 13138 with_schematron=no 13139 fi 13140 if test "$with_threads" = "" 13141 then 13142 with_threads=no 13143 fi 13144 if test "$with_thread_alloc" = "" 13145 then 13146 with_thread_alloc=no 13147 fi 13148 if test "$with_tree" = "" 13149 then 13150 with_tree=no 13151 fi 13152 if test "$with_valid" = "" 13153 then 13154 with_valid=no 13155 fi 13156 if test "$with_writer" = "" 13157 then 13158 with_writer=no 13159 fi 13160 if test "$with_xinclude" = "" 13161 then 13162 with_xinclude=no 13163 fi 13164 if test "$with_xpath" = "" 13165 then 13166 with_xpath=no 13167 fi 13168 if test "$with_xptr" = "" 13169 then 13170 with_xptr=no 13171 fi 13172 if test "$with_zlib" = "" 13173 then 13174 with_zlib=no 13175 fi 13176 if test "$with_modules" = "" 13177 then 13178 with_modules=no 13179 fi 13180fi 13181 13182echo Checking zlib 13183 13184 13185WITH_ZLIB=0 13186if test "$with_zlib" = "no"; then 13187 echo "Disabling zlib compression support" 13188else 13189 # Don't run pkg-config if with_zlib contains a path. 13190 if test "x$Z_DIR" = "x"; then 13191 # Try pkg-config first so that static linking works. 13192 13193pkg_failed=no 13194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Z" >&5 13195$as_echo_n "checking for Z... " >&6; } 13196 13197if test -n "$Z_CFLAGS"; then 13198 pkg_cv_Z_CFLAGS="$Z_CFLAGS" 13199 elif test -n "$PKG_CONFIG"; then 13200 if test -n "$PKG_CONFIG" && \ 13201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5 13202 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 13203 ac_status=$? 13204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13205 test $ac_status = 0; }; then 13206 pkg_cv_Z_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null` 13207 test "x$?" != "x0" && pkg_failed=yes 13208else 13209 pkg_failed=yes 13210fi 13211 else 13212 pkg_failed=untried 13213fi 13214if test -n "$Z_LIBS"; then 13215 pkg_cv_Z_LIBS="$Z_LIBS" 13216 elif test -n "$PKG_CONFIG"; then 13217 if test -n "$PKG_CONFIG" && \ 13218 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5 13219 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 13220 ac_status=$? 13221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13222 test $ac_status = 0; }; then 13223 pkg_cv_Z_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null` 13224 test "x$?" != "x0" && pkg_failed=yes 13225else 13226 pkg_failed=yes 13227fi 13228 else 13229 pkg_failed=untried 13230fi 13231 13232 13233 13234if test $pkg_failed = yes; then 13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13236$as_echo "no" >&6; } 13237 13238if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13239 _pkg_short_errors_supported=yes 13240else 13241 _pkg_short_errors_supported=no 13242fi 13243 if test $_pkg_short_errors_supported = yes; then 13244 Z_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1` 13245 else 13246 Z_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1` 13247 fi 13248 # Put the nasty error message in config.log where it belongs 13249 echo "$Z_PKG_ERRORS" >&5 13250 13251 : 13252elif test $pkg_failed = untried; then 13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13254$as_echo "no" >&6; } 13255 : 13256else 13257 Z_CFLAGS=$pkg_cv_Z_CFLAGS 13258 Z_LIBS=$pkg_cv_Z_LIBS 13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13260$as_echo "yes" >&6; } 13261 WITH_ZLIB=1 13262fi 13263 fi 13264 13265 if test "$WITH_ZLIB" = "0"; then 13266 for ac_header in zlib.h 13267do : 13268 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" 13269if test "x$ac_cv_header_zlib_h" = xyes; then : 13270 cat >>confdefs.h <<_ACEOF 13271#define HAVE_ZLIB_H 1 13272_ACEOF 13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5 13274$as_echo_n "checking for gzread in -lz... " >&6; } 13275if ${ac_cv_lib_z_gzread+:} false; then : 13276 $as_echo_n "(cached) " >&6 13277else 13278 ac_check_lib_save_LIBS=$LIBS 13279LIBS="-lz $LIBS" 13280cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13281/* end confdefs.h. */ 13282 13283/* Override any GCC internal prototype to avoid an error. 13284 Use char because int might match the return type of a GCC 13285 builtin and then its argument prototype would still apply. */ 13286#ifdef __cplusplus 13287extern "C" 13288#endif 13289char gzread (); 13290int 13291main () 13292{ 13293return gzread (); 13294 ; 13295 return 0; 13296} 13297_ACEOF 13298if ac_fn_c_try_link "$LINENO"; then : 13299 ac_cv_lib_z_gzread=yes 13300else 13301 ac_cv_lib_z_gzread=no 13302fi 13303rm -f core conftest.err conftest.$ac_objext \ 13304 conftest$ac_exeext conftest.$ac_ext 13305LIBS=$ac_check_lib_save_LIBS 13306fi 13307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5 13308$as_echo "$ac_cv_lib_z_gzread" >&6; } 13309if test "x$ac_cv_lib_z_gzread" = xyes; then : 13310 13311 WITH_ZLIB=1 13312 if test "x${Z_DIR}" != "x"; then 13313 Z_CFLAGS="-I${Z_DIR}/include" 13314 Z_LIBS="-L${Z_DIR}/lib -lz" 13315 case ${host} in 13316 *-*-solaris*) 13317 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz" 13318 ;; 13319 esac 13320 else 13321 Z_LIBS="-lz" 13322 fi 13323fi 13324 13325 13326fi 13327 13328done 13329 13330 fi 13331fi 13332 13333 13334 13335 13336 13337echo Checking lzma 13338 13339 13340WITH_LZMA=0 13341if test "$with_lzma" = "no"; then 13342 echo "Disabling lzma compression support" 13343else 13344 # Don't run pkg-config if with_lzma contains a path. 13345 if test "x$LZMA_DIR" = "x"; then 13346 # Try pkg-config first so that static linking works. 13347 13348pkg_failed=no 13349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LZMA" >&5 13350$as_echo_n "checking for LZMA... " >&6; } 13351 13352if test -n "$LZMA_CFLAGS"; then 13353 pkg_cv_LZMA_CFLAGS="$LZMA_CFLAGS" 13354 elif test -n "$PKG_CONFIG"; then 13355 if test -n "$PKG_CONFIG" && \ 13356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5 13357 ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5 13358 ac_status=$? 13359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13360 test $ac_status = 0; }; then 13361 pkg_cv_LZMA_CFLAGS=`$PKG_CONFIG --cflags "liblzma" 2>/dev/null` 13362 test "x$?" != "x0" && pkg_failed=yes 13363else 13364 pkg_failed=yes 13365fi 13366 else 13367 pkg_failed=untried 13368fi 13369if test -n "$LZMA_LIBS"; then 13370 pkg_cv_LZMA_LIBS="$LZMA_LIBS" 13371 elif test -n "$PKG_CONFIG"; then 13372 if test -n "$PKG_CONFIG" && \ 13373 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5 13374 ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5 13375 ac_status=$? 13376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13377 test $ac_status = 0; }; then 13378 pkg_cv_LZMA_LIBS=`$PKG_CONFIG --libs "liblzma" 2>/dev/null` 13379 test "x$?" != "x0" && pkg_failed=yes 13380else 13381 pkg_failed=yes 13382fi 13383 else 13384 pkg_failed=untried 13385fi 13386 13387 13388 13389if test $pkg_failed = yes; then 13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13391$as_echo "no" >&6; } 13392 13393if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13394 _pkg_short_errors_supported=yes 13395else 13396 _pkg_short_errors_supported=no 13397fi 13398 if test $_pkg_short_errors_supported = yes; then 13399 LZMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblzma" 2>&1` 13400 else 13401 LZMA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblzma" 2>&1` 13402 fi 13403 # Put the nasty error message in config.log where it belongs 13404 echo "$LZMA_PKG_ERRORS" >&5 13405 13406 : 13407elif test $pkg_failed = untried; then 13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13409$as_echo "no" >&6; } 13410 : 13411else 13412 LZMA_CFLAGS=$pkg_cv_LZMA_CFLAGS 13413 LZMA_LIBS=$pkg_cv_LZMA_LIBS 13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13415$as_echo "yes" >&6; } 13416 WITH_LZMA=1 13417fi 13418 fi 13419 13420 # If pkg-config failed, fall back to AC_CHECK_LIB. This 13421 # will not pick up the necessary LIBS flags for liblzma's 13422 # private dependencies, though, so static linking may fail. 13423 if test "$WITH_LZMA" = "0"; then 13424 for ac_header in lzma.h 13425do : 13426 ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default" 13427if test "x$ac_cv_header_lzma_h" = xyes; then : 13428 cat >>confdefs.h <<_ACEOF 13429#define HAVE_LZMA_H 1 13430_ACEOF 13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5 13432$as_echo_n "checking for lzma_code in -llzma... " >&6; } 13433if ${ac_cv_lib_lzma_lzma_code+:} false; then : 13434 $as_echo_n "(cached) " >&6 13435else 13436 ac_check_lib_save_LIBS=$LIBS 13437LIBS="-llzma $LIBS" 13438cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13439/* end confdefs.h. */ 13440 13441/* Override any GCC internal prototype to avoid an error. 13442 Use char because int might match the return type of a GCC 13443 builtin and then its argument prototype would still apply. */ 13444#ifdef __cplusplus 13445extern "C" 13446#endif 13447char lzma_code (); 13448int 13449main () 13450{ 13451return lzma_code (); 13452 ; 13453 return 0; 13454} 13455_ACEOF 13456if ac_fn_c_try_link "$LINENO"; then : 13457 ac_cv_lib_lzma_lzma_code=yes 13458else 13459 ac_cv_lib_lzma_lzma_code=no 13460fi 13461rm -f core conftest.err conftest.$ac_objext \ 13462 conftest$ac_exeext conftest.$ac_ext 13463LIBS=$ac_check_lib_save_LIBS 13464fi 13465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5 13466$as_echo "$ac_cv_lib_lzma_lzma_code" >&6; } 13467if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then : 13468 13469 WITH_LZMA=1 13470 if test "x${LZMA_DIR}" != "x"; then 13471 LZMA_CFLAGS="-I${LZMA_DIR}/include" 13472 LZMA_LIBS="-L${LZMA_DIR}/lib -llzma" 13473 else 13474 LZMA_LIBS="-llzma" 13475 fi 13476fi 13477 13478 13479fi 13480 13481done 13482 13483 fi 13484fi 13485 13486 13487 13488 13489 13490CPPFLAGS=${_cppflags} 13491LIBS=${_libs} 13492 13493echo Checking headers 13494 13495ac_header_dirent=no 13496for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 13497 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 13498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 13499$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 13500if eval \${$as_ac_Header+:} false; then : 13501 $as_echo_n "(cached) " >&6 13502else 13503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13504/* end confdefs.h. */ 13505#include <sys/types.h> 13506#include <$ac_hdr> 13507 13508int 13509main () 13510{ 13511if ((DIR *) 0) 13512return 0; 13513 ; 13514 return 0; 13515} 13516_ACEOF 13517if ac_fn_c_try_compile "$LINENO"; then : 13518 eval "$as_ac_Header=yes" 13519else 13520 eval "$as_ac_Header=no" 13521fi 13522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13523fi 13524eval ac_res=\$$as_ac_Header 13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 13526$as_echo "$ac_res" >&6; } 13527if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13528 cat >>confdefs.h <<_ACEOF 13529#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 13530_ACEOF 13531 13532ac_header_dirent=$ac_hdr; break 13533fi 13534 13535done 13536# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 13537if test $ac_header_dirent = dirent.h; then 13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 13539$as_echo_n "checking for library containing opendir... " >&6; } 13540if ${ac_cv_search_opendir+:} false; then : 13541 $as_echo_n "(cached) " >&6 13542else 13543 ac_func_search_save_LIBS=$LIBS 13544cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13545/* end confdefs.h. */ 13546 13547/* Override any GCC internal prototype to avoid an error. 13548 Use char because int might match the return type of a GCC 13549 builtin and then its argument prototype would still apply. */ 13550#ifdef __cplusplus 13551extern "C" 13552#endif 13553char opendir (); 13554int 13555main () 13556{ 13557return opendir (); 13558 ; 13559 return 0; 13560} 13561_ACEOF 13562for ac_lib in '' dir; do 13563 if test -z "$ac_lib"; then 13564 ac_res="none required" 13565 else 13566 ac_res=-l$ac_lib 13567 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13568 fi 13569 if ac_fn_c_try_link "$LINENO"; then : 13570 ac_cv_search_opendir=$ac_res 13571fi 13572rm -f core conftest.err conftest.$ac_objext \ 13573 conftest$ac_exeext 13574 if ${ac_cv_search_opendir+:} false; then : 13575 break 13576fi 13577done 13578if ${ac_cv_search_opendir+:} false; then : 13579 13580else 13581 ac_cv_search_opendir=no 13582fi 13583rm conftest.$ac_ext 13584LIBS=$ac_func_search_save_LIBS 13585fi 13586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13587$as_echo "$ac_cv_search_opendir" >&6; } 13588ac_res=$ac_cv_search_opendir 13589if test "$ac_res" != no; then : 13590 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13591 13592fi 13593 13594else 13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 13596$as_echo_n "checking for library containing opendir... " >&6; } 13597if ${ac_cv_search_opendir+:} false; then : 13598 $as_echo_n "(cached) " >&6 13599else 13600 ac_func_search_save_LIBS=$LIBS 13601cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13602/* end confdefs.h. */ 13603 13604/* Override any GCC internal prototype to avoid an error. 13605 Use char because int might match the return type of a GCC 13606 builtin and then its argument prototype would still apply. */ 13607#ifdef __cplusplus 13608extern "C" 13609#endif 13610char opendir (); 13611int 13612main () 13613{ 13614return opendir (); 13615 ; 13616 return 0; 13617} 13618_ACEOF 13619for ac_lib in '' x; do 13620 if test -z "$ac_lib"; then 13621 ac_res="none required" 13622 else 13623 ac_res=-l$ac_lib 13624 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13625 fi 13626 if ac_fn_c_try_link "$LINENO"; then : 13627 ac_cv_search_opendir=$ac_res 13628fi 13629rm -f core conftest.err conftest.$ac_objext \ 13630 conftest$ac_exeext 13631 if ${ac_cv_search_opendir+:} false; then : 13632 break 13633fi 13634done 13635if ${ac_cv_search_opendir+:} false; then : 13636 13637else 13638 ac_cv_search_opendir=no 13639fi 13640rm conftest.$ac_ext 13641LIBS=$ac_func_search_save_LIBS 13642fi 13643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13644$as_echo "$ac_cv_search_opendir" >&6; } 13645ac_res=$ac_cv_search_opendir 13646if test "$ac_res" != no; then : 13647 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13648 13649fi 13650 13651fi 13652 13653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13654$as_echo_n "checking for ANSI C header files... " >&6; } 13655if ${ac_cv_header_stdc+:} false; then : 13656 $as_echo_n "(cached) " >&6 13657else 13658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13659/* end confdefs.h. */ 13660#include <stdlib.h> 13661#include <stdarg.h> 13662#include <string.h> 13663#include <float.h> 13664 13665int 13666main () 13667{ 13668 13669 ; 13670 return 0; 13671} 13672_ACEOF 13673if ac_fn_c_try_compile "$LINENO"; then : 13674 ac_cv_header_stdc=yes 13675else 13676 ac_cv_header_stdc=no 13677fi 13678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13679 13680if test $ac_cv_header_stdc = yes; then 13681 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13683/* end confdefs.h. */ 13684#include <string.h> 13685 13686_ACEOF 13687if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13688 $EGREP "memchr" >/dev/null 2>&1; then : 13689 13690else 13691 ac_cv_header_stdc=no 13692fi 13693rm -f conftest* 13694 13695fi 13696 13697if test $ac_cv_header_stdc = yes; then 13698 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13700/* end confdefs.h. */ 13701#include <stdlib.h> 13702 13703_ACEOF 13704if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13705 $EGREP "free" >/dev/null 2>&1; then : 13706 13707else 13708 ac_cv_header_stdc=no 13709fi 13710rm -f conftest* 13711 13712fi 13713 13714if test $ac_cv_header_stdc = yes; then 13715 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13716 if test "$cross_compiling" = yes; then : 13717 : 13718else 13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13720/* end confdefs.h. */ 13721#include <ctype.h> 13722#include <stdlib.h> 13723#if ((' ' & 0x0FF) == 0x020) 13724# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13725# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13726#else 13727# define ISLOWER(c) \ 13728 (('a' <= (c) && (c) <= 'i') \ 13729 || ('j' <= (c) && (c) <= 'r') \ 13730 || ('s' <= (c) && (c) <= 'z')) 13731# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13732#endif 13733 13734#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13735int 13736main () 13737{ 13738 int i; 13739 for (i = 0; i < 256; i++) 13740 if (XOR (islower (i), ISLOWER (i)) 13741 || toupper (i) != TOUPPER (i)) 13742 return 2; 13743 return 0; 13744} 13745_ACEOF 13746if ac_fn_c_try_run "$LINENO"; then : 13747 13748else 13749 ac_cv_header_stdc=no 13750fi 13751rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13752 conftest.$ac_objext conftest.beam conftest.$ac_ext 13753fi 13754 13755fi 13756fi 13757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13758$as_echo "$ac_cv_header_stdc" >&6; } 13759if test $ac_cv_header_stdc = yes; then 13760 13761$as_echo "#define STDC_HEADERS 1" >>confdefs.h 13762 13763fi 13764 13765for ac_header in fcntl.h 13766do : 13767 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 13768if test "x$ac_cv_header_fcntl_h" = xyes; then : 13769 cat >>confdefs.h <<_ACEOF 13770#define HAVE_FCNTL_H 1 13771_ACEOF 13772 13773fi 13774 13775done 13776 13777for ac_header in unistd.h 13778do : 13779 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 13780if test "x$ac_cv_header_unistd_h" = xyes; then : 13781 cat >>confdefs.h <<_ACEOF 13782#define HAVE_UNISTD_H 1 13783_ACEOF 13784 13785fi 13786 13787done 13788 13789for ac_header in ctype.h 13790do : 13791 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 13792if test "x$ac_cv_header_ctype_h" = xyes; then : 13793 cat >>confdefs.h <<_ACEOF 13794#define HAVE_CTYPE_H 1 13795_ACEOF 13796 13797fi 13798 13799done 13800 13801for ac_header in dirent.h 13802do : 13803 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default" 13804if test "x$ac_cv_header_dirent_h" = xyes; then : 13805 cat >>confdefs.h <<_ACEOF 13806#define HAVE_DIRENT_H 1 13807_ACEOF 13808 13809fi 13810 13811done 13812 13813for ac_header in errno.h 13814do : 13815 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 13816if test "x$ac_cv_header_errno_h" = xyes; then : 13817 cat >>confdefs.h <<_ACEOF 13818#define HAVE_ERRNO_H 1 13819_ACEOF 13820 13821fi 13822 13823done 13824 13825for ac_header in malloc.h 13826do : 13827 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 13828if test "x$ac_cv_header_malloc_h" = xyes; then : 13829 cat >>confdefs.h <<_ACEOF 13830#define HAVE_MALLOC_H 1 13831_ACEOF 13832 13833fi 13834 13835done 13836 13837for ac_header in stdarg.h 13838do : 13839 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 13840if test "x$ac_cv_header_stdarg_h" = xyes; then : 13841 cat >>confdefs.h <<_ACEOF 13842#define HAVE_STDARG_H 1 13843_ACEOF 13844 13845fi 13846 13847done 13848 13849for ac_header in sys/stat.h 13850do : 13851 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" 13852if test "x$ac_cv_header_sys_stat_h" = xyes; then : 13853 cat >>confdefs.h <<_ACEOF 13854#define HAVE_SYS_STAT_H 1 13855_ACEOF 13856 13857fi 13858 13859done 13860 13861for ac_header in sys/types.h 13862do : 13863 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 13864if test "x$ac_cv_header_sys_types_h" = xyes; then : 13865 cat >>confdefs.h <<_ACEOF 13866#define HAVE_SYS_TYPES_H 1 13867_ACEOF 13868 13869fi 13870 13871done 13872 13873for ac_header in stdint.h 13874do : 13875 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 13876if test "x$ac_cv_header_stdint_h" = xyes; then : 13877 cat >>confdefs.h <<_ACEOF 13878#define HAVE_STDINT_H 1 13879_ACEOF 13880 13881fi 13882 13883done 13884 13885for ac_header in inttypes.h 13886do : 13887 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 13888if test "x$ac_cv_header_inttypes_h" = xyes; then : 13889 cat >>confdefs.h <<_ACEOF 13890#define HAVE_INTTYPES_H 1 13891_ACEOF 13892 13893fi 13894 13895done 13896 13897for ac_header in time.h 13898do : 13899 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 13900if test "x$ac_cv_header_time_h" = xyes; then : 13901 cat >>confdefs.h <<_ACEOF 13902#define HAVE_TIME_H 1 13903_ACEOF 13904 13905fi 13906 13907done 13908 13909for ac_header in math.h 13910do : 13911 ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 13912if test "x$ac_cv_header_math_h" = xyes; then : 13913 cat >>confdefs.h <<_ACEOF 13914#define HAVE_MATH_H 1 13915_ACEOF 13916 13917fi 13918 13919done 13920 13921for ac_header in limits.h 13922do : 13923 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 13924if test "x$ac_cv_header_limits_h" = xyes; then : 13925 cat >>confdefs.h <<_ACEOF 13926#define HAVE_LIMITS_H 1 13927_ACEOF 13928 13929fi 13930 13931done 13932 13933for ac_header in float.h 13934do : 13935 ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 13936if test "x$ac_cv_header_float_h" = xyes; then : 13937 cat >>confdefs.h <<_ACEOF 13938#define HAVE_FLOAT_H 1 13939_ACEOF 13940 13941fi 13942 13943done 13944 13945for ac_header in stdlib.h 13946do : 13947 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 13948if test "x$ac_cv_header_stdlib_h" = xyes; then : 13949 cat >>confdefs.h <<_ACEOF 13950#define HAVE_STDLIB_H 1 13951_ACEOF 13952 13953fi 13954 13955done 13956 13957for ac_header in sys/socket.h 13958do : 13959 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "#if HAVE_SYS_TYPES_H 13960# include <sys/types.h> 13961# endif 13962 13963" 13964if test "x$ac_cv_header_sys_socket_h" = xyes; then : 13965 cat >>confdefs.h <<_ACEOF 13966#define HAVE_SYS_SOCKET_H 1 13967_ACEOF 13968 13969fi 13970 13971done 13972 13973for ac_header in netinet/in.h 13974do : 13975 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "#if HAVE_SYS_TYPES_H 13976# include <sys/types.h> 13977# endif 13978 13979" 13980if test "x$ac_cv_header_netinet_in_h" = xyes; then : 13981 cat >>confdefs.h <<_ACEOF 13982#define HAVE_NETINET_IN_H 1 13983_ACEOF 13984 13985fi 13986 13987done 13988 13989for ac_header in arpa/inet.h 13990do : 13991 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "#if HAVE_SYS_TYPES_H 13992# include <sys/types.h> 13993# endif 13994#if HAVE_ARPA_INET_H 13995# include <arpa/inet.h> 13996# endif 13997 13998" 13999if test "x$ac_cv_header_arpa_inet_h" = xyes; then : 14000 cat >>confdefs.h <<_ACEOF 14001#define HAVE_ARPA_INET_H 1 14002_ACEOF 14003 14004fi 14005 14006done 14007 14008for ac_header in netdb.h 14009do : 14010 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 14011if test "x$ac_cv_header_netdb_h" = xyes; then : 14012 cat >>confdefs.h <<_ACEOF 14013#define HAVE_NETDB_H 1 14014_ACEOF 14015 14016fi 14017 14018done 14019 14020for ac_header in sys/time.h 14021do : 14022 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 14023if test "x$ac_cv_header_sys_time_h" = xyes; then : 14024 cat >>confdefs.h <<_ACEOF 14025#define HAVE_SYS_TIME_H 1 14026_ACEOF 14027 14028fi 14029 14030done 14031 14032for ac_header in sys/select.h 14033do : 14034 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 14035if test "x$ac_cv_header_sys_select_h" = xyes; then : 14036 cat >>confdefs.h <<_ACEOF 14037#define HAVE_SYS_SELECT_H 1 14038_ACEOF 14039 14040fi 14041 14042done 14043 14044for ac_header in poll.h 14045do : 14046 ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" 14047if test "x$ac_cv_header_poll_h" = xyes; then : 14048 cat >>confdefs.h <<_ACEOF 14049#define HAVE_POLL_H 1 14050_ACEOF 14051 14052fi 14053 14054done 14055 14056for ac_header in sys/mman.h 14057do : 14058 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" 14059if test "x$ac_cv_header_sys_mman_h" = xyes; then : 14060 cat >>confdefs.h <<_ACEOF 14061#define HAVE_SYS_MMAN_H 1 14062_ACEOF 14063 14064fi 14065 14066done 14067 14068for ac_header in sys/timeb.h 14069do : 14070 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 14071if test "x$ac_cv_header_sys_timeb_h" = xyes; then : 14072 cat >>confdefs.h <<_ACEOF 14073#define HAVE_SYS_TIMEB_H 1 14074_ACEOF 14075 14076fi 14077 14078done 14079 14080for ac_header in signal.h 14081do : 14082 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default" 14083if test "x$ac_cv_header_signal_h" = xyes; then : 14084 cat >>confdefs.h <<_ACEOF 14085#define HAVE_SIGNAL_H 1 14086_ACEOF 14087 14088fi 14089 14090done 14091 14092for ac_header in arpa/nameser.h 14093do : 14094 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "#if HAVE_SYS_TYPES_H 14095# include <sys/types.h> 14096# endif 14097 14098" 14099if test "x$ac_cv_header_arpa_nameser_h" = xyes; then : 14100 cat >>confdefs.h <<_ACEOF 14101#define HAVE_ARPA_NAMESER_H 1 14102_ACEOF 14103 14104fi 14105 14106done 14107 14108for ac_header in resolv.h 14109do : 14110 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#if HAVE_SYS_TYPES_H 14111# include <sys/types.h> 14112# endif 14113#if HAVE_NETINET_IN_H 14114# include <netinet/in.h> 14115# endif 14116#if HAVE_ARPA_NAMESER_H 14117# include <arpa/nameser.h> 14118# endif 14119 14120" 14121if test "x$ac_cv_header_resolv_h" = xyes; then : 14122 cat >>confdefs.h <<_ACEOF 14123#define HAVE_RESOLV_H 1 14124_ACEOF 14125 14126fi 14127 14128done 14129 14130for ac_header in dl.h 14131do : 14132 ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default" 14133if test "x$ac_cv_header_dl_h" = xyes; then : 14134 cat >>confdefs.h <<_ACEOF 14135#define HAVE_DL_H 1 14136_ACEOF 14137 14138fi 14139 14140done 14141 14142for ac_header in dlfcn.h 14143do : 14144 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 14145if test "x$ac_cv_header_dlfcn_h" = xyes; then : 14146 cat >>confdefs.h <<_ACEOF 14147#define HAVE_DLFCN_H 1 14148_ACEOF 14149 14150fi 14151 14152done 14153 14154 14155 14156echo Checking types 14157 14158ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" 14159case $ac_cv_c_uint32_t in #( 14160 no|yes) ;; #( 14161 *) 14162 14163$as_echo "#define _UINT32_T 1" >>confdefs.h 14164 14165 14166cat >>confdefs.h <<_ACEOF 14167#define uint32_t $ac_cv_c_uint32_t 14168_ACEOF 14169;; 14170 esac 14171 14172 14173 14174echo Checking libraries 14175 14176for ac_func in strftime 14177do : 14178 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" 14179if test "x$ac_cv_func_strftime" = xyes; then : 14180 cat >>confdefs.h <<_ACEOF 14181#define HAVE_STRFTIME 1 14182_ACEOF 14183 14184else 14185 # strftime is in -lintl on SCO UNIX. 14186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 14187$as_echo_n "checking for strftime in -lintl... " >&6; } 14188if ${ac_cv_lib_intl_strftime+:} false; then : 14189 $as_echo_n "(cached) " >&6 14190else 14191 ac_check_lib_save_LIBS=$LIBS 14192LIBS="-lintl $LIBS" 14193cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14194/* end confdefs.h. */ 14195 14196/* Override any GCC internal prototype to avoid an error. 14197 Use char because int might match the return type of a GCC 14198 builtin and then its argument prototype would still apply. */ 14199#ifdef __cplusplus 14200extern "C" 14201#endif 14202char strftime (); 14203int 14204main () 14205{ 14206return strftime (); 14207 ; 14208 return 0; 14209} 14210_ACEOF 14211if ac_fn_c_try_link "$LINENO"; then : 14212 ac_cv_lib_intl_strftime=yes 14213else 14214 ac_cv_lib_intl_strftime=no 14215fi 14216rm -f core conftest.err conftest.$ac_objext \ 14217 conftest$ac_exeext conftest.$ac_ext 14218LIBS=$ac_check_lib_save_LIBS 14219fi 14220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 14221$as_echo "$ac_cv_lib_intl_strftime" >&6; } 14222if test "x$ac_cv_lib_intl_strftime" = xyes; then : 14223 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h 14224 14225LIBS="-lintl $LIBS" 14226fi 14227 14228fi 14229done 14230 14231for ac_func in strftime localtime gettimeofday ftime 14232do : 14233 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14234ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14235if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 14236 cat >>confdefs.h <<_ACEOF 14237#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14238_ACEOF 14239 14240fi 14241done 14242 14243for ac_func in stat signal 14244do : 14245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14246ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14247if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 14248 cat >>confdefs.h <<_ACEOF 14249#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14250_ACEOF 14251 14252fi 14253done 14254 14255for ac_func in rand rand_r srand time 14256do : 14257 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14258ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14259if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 14260 cat >>confdefs.h <<_ACEOF 14261#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14262_ACEOF 14263 14264fi 14265done 14266 14267for ac_func in isascii mmap munmap putenv 14268do : 14269 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14270ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14271if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 14272 cat >>confdefs.h <<_ACEOF 14273#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14274_ACEOF 14275 14276fi 14277done 14278 14279 14280 14281 14282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 14283$as_echo_n "checking for va_copy... " >&6; } 14284cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14285/* end confdefs.h. */ 14286#include <stdarg.h> 14287va_list ap1,ap2; 14288int 14289main () 14290{ 14291va_copy(ap1,ap2); 14292 ; 14293 return 0; 14294} 14295_ACEOF 14296if ac_fn_c_try_link "$LINENO"; then : 14297 have_va_copy=yes 14298else 14299 have_va_copy=no 14300fi 14301rm -f core conftest.err conftest.$ac_objext \ 14302 conftest$ac_exeext conftest.$ac_ext 14303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_va_copy" >&5 14304$as_echo "$have_va_copy" >&6; } 14305if test x"$have_va_copy" = x"yes"; then 14306 14307$as_echo "#define HAVE_VA_COPY 1" >>confdefs.h 14308 14309else 14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5 14311$as_echo_n "checking for __va_copy... " >&6; } 14312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14313/* end confdefs.h. */ 14314#include <stdarg.h> 14315 va_list ap1,ap2; 14316int 14317main () 14318{ 14319__va_copy(ap1,ap2); 14320 ; 14321 return 0; 14322} 14323_ACEOF 14324if ac_fn_c_try_link "$LINENO"; then : 14325 have___va_copy=yes 14326else 14327 have___va_copy=no 14328fi 14329rm -f core conftest.err conftest.$ac_objext \ 14330 conftest$ac_exeext conftest.$ac_ext 14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have___va_copy" >&5 14332$as_echo "$have___va_copy" >&6; } 14333 if test x"$have___va_copy" = x"yes"; then 14334 14335$as_echo "#define HAVE___VA_COPY 1" >>confdefs.h 14336 14337 fi 14338fi 14339 14340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_list is an array type" >&5 14341$as_echo_n "checking whether va_list is an array type... " >&6; } 14342cat > conftest.$ac_ext <<EOF 14343#line 14343 "configure" 14344#include "confdefs.h" 14345 14346#include <stdarg.h> 14347void a(va_list * ap) {} 14348int main(void) { 14349 14350va_list ap1, ap2; a(&ap1); ap2 = (va_list) ap1 14351; return 0; } 14352EOF 14353if { (eval echo configure:14353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then 14354 rm -rf conftest* 14355 14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14357$as_echo "no" >&6; } 14358else 14359 echo "configure: failed program was:" >&5 14360 cat conftest.$ac_ext >&5 14361 rm -rf conftest* 14362 14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14364$as_echo "yes" >&6; } 14365 14366$as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h 14367 14368fi 14369rm -f conftest* 14370 14371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5 14372$as_echo_n "checking for library containing gethostent... " >&6; } 14373if ${ac_cv_search_gethostent+:} false; then : 14374 $as_echo_n "(cached) " >&6 14375else 14376 ac_func_search_save_LIBS=$LIBS 14377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14378/* end confdefs.h. */ 14379 14380/* Override any GCC internal prototype to avoid an error. 14381 Use char because int might match the return type of a GCC 14382 builtin and then its argument prototype would still apply. */ 14383#ifdef __cplusplus 14384extern "C" 14385#endif 14386char gethostent (); 14387int 14388main () 14389{ 14390return gethostent (); 14391 ; 14392 return 0; 14393} 14394_ACEOF 14395for ac_lib in '' nsl; do 14396 if test -z "$ac_lib"; then 14397 ac_res="none required" 14398 else 14399 ac_res=-l$ac_lib 14400 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14401 fi 14402 if ac_fn_c_try_link "$LINENO"; then : 14403 ac_cv_search_gethostent=$ac_res 14404fi 14405rm -f core conftest.err conftest.$ac_objext \ 14406 conftest$ac_exeext 14407 if ${ac_cv_search_gethostent+:} false; then : 14408 break 14409fi 14410done 14411if ${ac_cv_search_gethostent+:} false; then : 14412 14413else 14414 ac_cv_search_gethostent=no 14415fi 14416rm conftest.$ac_ext 14417LIBS=$ac_func_search_save_LIBS 14418fi 14419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5 14420$as_echo "$ac_cv_search_gethostent" >&6; } 14421ac_res=$ac_cv_search_gethostent 14422if test "$ac_res" != no; then : 14423 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 14424 14425fi 14426 14427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 14428$as_echo_n "checking for library containing setsockopt... " >&6; } 14429if ${ac_cv_search_setsockopt+:} false; then : 14430 $as_echo_n "(cached) " >&6 14431else 14432 ac_func_search_save_LIBS=$LIBS 14433cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14434/* end confdefs.h. */ 14435 14436/* Override any GCC internal prototype to avoid an error. 14437 Use char because int might match the return type of a GCC 14438 builtin and then its argument prototype would still apply. */ 14439#ifdef __cplusplus 14440extern "C" 14441#endif 14442char setsockopt (); 14443int 14444main () 14445{ 14446return setsockopt (); 14447 ; 14448 return 0; 14449} 14450_ACEOF 14451for ac_lib in '' socket net network; do 14452 if test -z "$ac_lib"; then 14453 ac_res="none required" 14454 else 14455 ac_res=-l$ac_lib 14456 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14457 fi 14458 if ac_fn_c_try_link "$LINENO"; then : 14459 ac_cv_search_setsockopt=$ac_res 14460fi 14461rm -f core conftest.err conftest.$ac_objext \ 14462 conftest$ac_exeext 14463 if ${ac_cv_search_setsockopt+:} false; then : 14464 break 14465fi 14466done 14467if ${ac_cv_search_setsockopt+:} false; then : 14468 14469else 14470 ac_cv_search_setsockopt=no 14471fi 14472rm conftest.$ac_ext 14473LIBS=$ac_func_search_save_LIBS 14474fi 14475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5 14476$as_echo "$ac_cv_search_setsockopt" >&6; } 14477ac_res=$ac_cv_search_setsockopt 14478if test "$ac_res" != no; then : 14479 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 14480 14481fi 14482 14483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5 14484$as_echo_n "checking for library containing connect... " >&6; } 14485if ${ac_cv_search_connect+:} false; then : 14486 $as_echo_n "(cached) " >&6 14487else 14488 ac_func_search_save_LIBS=$LIBS 14489cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14490/* end confdefs.h. */ 14491 14492/* Override any GCC internal prototype to avoid an error. 14493 Use char because int might match the return type of a GCC 14494 builtin and then its argument prototype would still apply. */ 14495#ifdef __cplusplus 14496extern "C" 14497#endif 14498char connect (); 14499int 14500main () 14501{ 14502return connect (); 14503 ; 14504 return 0; 14505} 14506_ACEOF 14507for ac_lib in '' inet; do 14508 if test -z "$ac_lib"; then 14509 ac_res="none required" 14510 else 14511 ac_res=-l$ac_lib 14512 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14513 fi 14514 if ac_fn_c_try_link "$LINENO"; then : 14515 ac_cv_search_connect=$ac_res 14516fi 14517rm -f core conftest.err conftest.$ac_objext \ 14518 conftest$ac_exeext 14519 if ${ac_cv_search_connect+:} false; then : 14520 break 14521fi 14522done 14523if ${ac_cv_search_connect+:} false; then : 14524 14525else 14526 ac_cv_search_connect=no 14527fi 14528rm conftest.$ac_ext 14529LIBS=$ac_func_search_save_LIBS 14530fi 14531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5 14532$as_echo "$ac_cv_search_connect" >&6; } 14533ac_res=$ac_cv_search_connect 14534if test "$ac_res" != no; then : 14535 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 14536 14537fi 14538 14539 14540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5 14541$as_echo_n "checking for type of socket length (socklen_t)... " >&6; } 14542cat > conftest.$ac_ext <<EOF 14543#line 14543 "configure" 14544#include "confdefs.h" 14545 14546#include <stddef.h> 14547#include <sys/types.h> 14548#include <sys/socket.h> 14549int main(void) { 14550 14551(void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL) 14552; return 0; } 14553EOF 14554if { (eval echo configure:14554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then 14555 rm -rf conftest* 14556 14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5 14558$as_echo "socklen_t *" >&6; } 14559 XML_SOCKLEN_T=socklen_t 14560else 14561 echo "configure: failed program was:" >&5 14562 cat conftest.$ac_ext >&5 14563 rm -rf conftest* 14564 14565 cat > conftest.$ac_ext <<EOF 14566#line 14566 "configure" 14567#include "confdefs.h" 14568 14569#include <stddef.h> 14570#include <sys/types.h> 14571#include <sys/socket.h> 14572int main(void) { 14573 14574(void)getsockopt (1, 1, 1, NULL, (size_t *)NULL) 14575; return 0; } 14576EOF 14577if { (eval echo configure:14577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then 14578 rm -rf conftest* 14579 14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5 14581$as_echo "size_t *" >&6; } 14582 XML_SOCKLEN_T=size_t 14583else 14584 echo "configure: failed program was:" >&5 14585 cat conftest.$ac_ext >&5 14586 rm -rf conftest* 14587 14588 cat > conftest.$ac_ext <<EOF 14589#line 14589 "configure" 14590#include "confdefs.h" 14591 14592#include <stddef.h> 14593#include <sys/types.h> 14594#include <sys/socket.h> 14595int main(void) { 14596 14597(void)getsockopt (1, 1, 1, NULL, (int *)NULL) 14598; return 0; } 14599EOF 14600if { (eval echo configure:14600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then 14601 rm -rf conftest* 14602 14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5 14604$as_echo "int *" >&6; } 14605 XML_SOCKLEN_T=int 14606else 14607 echo "configure: failed program was:" >&5 14608 cat conftest.$ac_ext >&5 14609 rm -rf conftest* 14610 14611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine" >&5 14612$as_echo "$as_me: WARNING: could not determine" >&2;} 14613 XML_SOCKLEN_T="int" 14614fi 14615rm -f conftest* 14616fi 14617rm -f conftest* 14618fi 14619rm -f conftest* 14620 14621cat >>confdefs.h <<_ACEOF 14622#define XML_SOCKLEN_T $XML_SOCKLEN_T 14623_ACEOF 14624 14625 14626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for const gethostbyname() argument" >&5 14627$as_echo_n "checking for const gethostbyname() argument... " >&6; } 14628cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14629/* end confdefs.h. */ 14630#include <netdb.h> 14631int 14632main () 14633{ 14634(void)gethostbyname((const char *)""); 14635 ; 14636 return 0; 14637} 14638_ACEOF 14639if ac_fn_c_try_link "$LINENO"; then : 14640 have_gethostbyname_const_arg=yes 14641else 14642 have_gethostbyname_const_arg=no 14643fi 14644rm -f core conftest.err conftest.$ac_objext \ 14645 conftest$ac_exeext conftest.$ac_ext 14646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gethostbyname_const_arg" >&5 14647$as_echo "$have_gethostbyname_const_arg" >&6; } 14648if test x"$have_gethostbyname_const_arg" = x"yes"; then 14649 14650$as_echo "#define GETHOSTBYNAME_ARG_CAST /**/" >>confdefs.h 14651 14652else 14653 14654$as_echo "#define GETHOSTBYNAME_ARG_CAST (char *)" >>confdefs.h 14655 14656fi 14657 14658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for const send() second argument" >&5 14659$as_echo_n "checking for const send() second argument... " >&6; } 14660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14661/* end confdefs.h. */ 14662#include <sys/types.h> 14663#include <sys/socket.h> 14664int 14665main () 14666{ 14667(void)send(1,(const char *)"",1,1); 14668 ; 14669 return 0; 14670} 14671_ACEOF 14672if ac_fn_c_try_link "$LINENO"; then : 14673 have_send_const_arg2=yes 14674else 14675 have_send_const_arg2=no 14676fi 14677rm -f core conftest.err conftest.$ac_objext \ 14678 conftest$ac_exeext conftest.$ac_ext 14679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_send_const_arg2" >&5 14680$as_echo "$have_send_const_arg2" >&6; } 14681if test x"$have_send_const_arg2" = x"yes"; then 14682 14683$as_echo "#define SEND_ARG2_CAST /**/" >>confdefs.h 14684 14685else 14686 14687$as_echo "#define SEND_ARG2_CAST (char *)" >>confdefs.h 14688 14689fi 14690 14691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __attribute__((destructor)) is accepted" >&5 14692$as_echo_n "checking whether __attribute__((destructor)) is accepted... " >&6; } 14693cat > conftest.$ac_ext <<EOF 14694#line 14694 "configure" 14695#include "confdefs.h" 14696 14697void __attribute__((destructor)) 14698f(void) {} 14699int main(void) { 14700 14701; return 0; } 14702EOF 14703if { (eval echo configure:14703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then 14704 rm -rf conftest* 14705 14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14707$as_echo "yes" >&6; } 14708 14709$as_echo "#define HAVE_ATTRIBUTE_DESTRUCTOR 1" >>confdefs.h 14710 14711 14712$as_echo "#define ATTRIBUTE_DESTRUCTOR __attribute__((destructor))" >>confdefs.h 14713 14714else 14715 echo "configure: failed program was:" >&5 14716 cat conftest.$ac_ext >&5 14717 rm -rf conftest* 14718 14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14720$as_echo "no" >&6; } 14721fi 14722rm -f conftest* 14723 14724 14725 14726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5 14727$as_echo_n "checking whether to enable IPv6... " >&6; } 14728# Check whether --enable-ipv6 was given. 14729if test "${enable_ipv6+set}" = set; then : 14730 enableval=$enable_ipv6; 14731else 14732 enable_ipv6=yes 14733fi 14734 14735if test "$with_minimum" = "yes" 14736then 14737 enable_ipv6=no 14738fi 14739if test $enable_ipv6 = yes; then 14740 have_ipv6=no 14741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14742/* end confdefs.h. */ 14743 14744# include <sys/types.h> 14745# include <sys/socket.h> 14746 14747int 14748main () 14749{ 14750 14751 struct sockaddr_storage ss; 14752 socket(AF_INET6, SOCK_STREAM, 0) 14753 14754 ; 14755 return 0; 14756} 14757_ACEOF 14758if ac_fn_c_try_compile "$LINENO"; then : 14759 have_ipv6=yes 14760else 14761 have_ipv6=no 14762 14763fi 14764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipv6" >&5 14766$as_echo "$have_ipv6" >&6; } 14767 14768 if test $have_ipv6 = yes; then 14769 14770$as_echo "#define SUPPORT_IP6 /**/" >>confdefs.h 14771 14772 have_broken_ss_family=no 14773 14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct sockaddr::ss_family" >&5 14775$as_echo_n "checking struct sockaddr::ss_family... " >&6; } 14776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14777/* end confdefs.h. */ 14778 14779# include <sys/types.h> 14780# include <sys/socket.h> 14781 14782int 14783main () 14784{ 14785 14786 struct sockaddr_storage ss ; 14787 ss.ss_family = 0 ; 14788 14789 ; 14790 return 0; 14791} 14792_ACEOF 14793if ac_fn_c_try_compile "$LINENO"; then : 14794 have_ss_family=yes 14795else 14796 have_ss_family=no 14797 14798fi 14799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ss_family" >&5 14801$as_echo "$have_ss_family" >&6; } 14802 if test x$have_ss_family = xno ; then 14803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking broken struct sockaddr::ss_family" >&5 14804$as_echo_n "checking broken struct sockaddr::ss_family... " >&6; } 14805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14806/* end confdefs.h. */ 14807 14808# include <sys/types.h> 14809# include <sys/socket.h> 14810 14811int 14812main () 14813{ 14814 14815 struct sockaddr_storage ss ; 14816 ss.__ss_family = 0 ; 14817 14818 ; 14819 return 0; 14820} 14821_ACEOF 14822if ac_fn_c_try_compile "$LINENO"; then : 14823 have_broken_ss_family=yes 14824else 14825 have_broken_ss_family=no 14826 14827fi 14828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_broken_ss_family" >&5 14830$as_echo "$have_broken_ss_family" >&6; } 14831 if test x$have_broken_ss_family = xyes ; then 14832 14833$as_echo "#define HAVE_BROKEN_SS_FAMILY /**/" >>confdefs.h 14834 14835 14836$as_echo "#define ss_family __ss_family" >>confdefs.h 14837 14838 else 14839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ss_family and __ss_family not found" >&5 14840$as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;} 14841 fi 14842 fi 14843 14844 have_getaddrinfo=no 14845 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" 14846if test "x$ac_cv_func_getaddrinfo" = xyes; then : 14847 have_getaddrinfo=yes 14848fi 14849 14850 if test $have_getaddrinfo != yes; then 14851 for lib in bsd socket inet; do 14852 as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh` 14853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5 14854$as_echo_n "checking for getaddrinfo in -l$lib... " >&6; } 14855if eval \${$as_ac_Lib+:} false; then : 14856 $as_echo_n "(cached) " >&6 14857else 14858 ac_check_lib_save_LIBS=$LIBS 14859LIBS="-l$lib $LIBS" 14860cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14861/* end confdefs.h. */ 14862 14863/* Override any GCC internal prototype to avoid an error. 14864 Use char because int might match the return type of a GCC 14865 builtin and then its argument prototype would still apply. */ 14866#ifdef __cplusplus 14867extern "C" 14868#endif 14869char getaddrinfo (); 14870int 14871main () 14872{ 14873return getaddrinfo (); 14874 ; 14875 return 0; 14876} 14877_ACEOF 14878if ac_fn_c_try_link "$LINENO"; then : 14879 eval "$as_ac_Lib=yes" 14880else 14881 eval "$as_ac_Lib=no" 14882fi 14883rm -f core conftest.err conftest.$ac_objext \ 14884 conftest$ac_exeext conftest.$ac_ext 14885LIBS=$ac_check_lib_save_LIBS 14886fi 14887eval ac_res=\$$as_ac_Lib 14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 14889$as_echo "$ac_res" >&6; } 14890if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 14891 LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break 14892fi 14893 14894 done 14895 fi 14896 14897 if test $have_getaddrinfo = yes; then 14898 14899$as_echo "#define HAVE_GETADDRINFO /**/" >>confdefs.h 14900 14901 fi 14902 fi 14903fi 14904 14905 14906ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" 14907if test "x$ac_cv_func_isnan" = xyes; then : 14908 14909$as_echo "#define HAVE_ISNAN /**/" >>confdefs.h 14910 14911else 14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5 14913$as_echo_n "checking for isnan in -lm... " >&6; } 14914if ${ac_cv_lib_m_isnan+:} false; then : 14915 $as_echo_n "(cached) " >&6 14916else 14917 ac_check_lib_save_LIBS=$LIBS 14918LIBS="-lm $LIBS" 14919cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14920/* end confdefs.h. */ 14921 14922/* Override any GCC internal prototype to avoid an error. 14923 Use char because int might match the return type of a GCC 14924 builtin and then its argument prototype would still apply. */ 14925#ifdef __cplusplus 14926extern "C" 14927#endif 14928char isnan (); 14929int 14930main () 14931{ 14932return isnan (); 14933 ; 14934 return 0; 14935} 14936_ACEOF 14937if ac_fn_c_try_link "$LINENO"; then : 14938 ac_cv_lib_m_isnan=yes 14939else 14940 ac_cv_lib_m_isnan=no 14941fi 14942rm -f core conftest.err conftest.$ac_objext \ 14943 conftest$ac_exeext conftest.$ac_ext 14944LIBS=$ac_check_lib_save_LIBS 14945fi 14946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5 14947$as_echo "$ac_cv_lib_m_isnan" >&6; } 14948if test "x$ac_cv_lib_m_isnan" = xyes; then : 14949 14950$as_echo "#define HAVE_ISNAN /**/" >>confdefs.h 14951 14952fi 14953 14954fi 14955 14956 14957ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" 14958if test "x$ac_cv_func_isinf" = xyes; then : 14959 14960$as_echo "#define HAVE_ISINF /**/" >>confdefs.h 14961 14962else 14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5 14964$as_echo_n "checking for isinf in -lm... " >&6; } 14965if ${ac_cv_lib_m_isinf+:} false; then : 14966 $as_echo_n "(cached) " >&6 14967else 14968 ac_check_lib_save_LIBS=$LIBS 14969LIBS="-lm $LIBS" 14970cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14971/* end confdefs.h. */ 14972 14973/* Override any GCC internal prototype to avoid an error. 14974 Use char because int might match the return type of a GCC 14975 builtin and then its argument prototype would still apply. */ 14976#ifdef __cplusplus 14977extern "C" 14978#endif 14979char isinf (); 14980int 14981main () 14982{ 14983return isinf (); 14984 ; 14985 return 0; 14986} 14987_ACEOF 14988if ac_fn_c_try_link "$LINENO"; then : 14989 ac_cv_lib_m_isinf=yes 14990else 14991 ac_cv_lib_m_isinf=no 14992fi 14993rm -f core conftest.err conftest.$ac_objext \ 14994 conftest$ac_exeext conftest.$ac_ext 14995LIBS=$ac_check_lib_save_LIBS 14996fi 14997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5 14998$as_echo "$ac_cv_lib_m_isinf" >&6; } 14999if test "x$ac_cv_lib_m_isinf" = xyes; then : 15000 15001$as_echo "#define HAVE_ISINF /**/" >>confdefs.h 15002 15003fi 15004 15005fi 15006 15007 15008XML_LIBDIR='-L${libdir}' 15009XML_INCLUDEDIR='-I${includedir}/libxml2' 15010 15011XML_CFLAGS="" 15012RDL_LIBS="" 15013 15014if test "${GCC}" != "yes" ; then 15015 case "${host}" in 15016 hppa*-*-hpux* ) 15017 EXTRA_CFLAGS="${EXTRA_CFLAGS} -Wp,-H30000" 15018 ;; 15019 *-dec-osf* ) 15020 EXTRA_CFLAGS="${EXTRA_CFLAGS} -ieee" 15021 ;; 15022 alpha*-*-linux* ) 15023 EXTRA_CFLAGS="${EXTRA_CFLAGS} -ieee" 15024 ;; 15025 esac 15026else 15027 if test "$with_fexceptions" = "yes" 15028 then 15029 # 15030 # Not activated by default because this inflates the code size 15031 # Used to allow propagation of C++ exceptions through the library 15032 # 15033 EXTRA_CFLAGS="${EXTRA_CFLAGS} -fexceptions" 15034 fi 15035 15036 # warnings we'd like to see 15037 EXTRA_CFLAGS="${EXTRA_CFLAGS} -pedantic -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls" 15038 # warnings we'd like to suppress 15039 EXTRA_CFLAGS="${EXTRA_CFLAGS} -Wno-long-long -Wno-format-extra-args" 15040 case "${host}" in 15041 alpha*-*-linux* ) 15042 EXTRA_CFLAGS="${EXTRA_CFLAGS} -mieee" 15043 ;; 15044 alpha*-*-osf* ) 15045 EXTRA_CFLAGS="${EXTRA_CFLAGS} -mieee" 15046 ;; 15047 esac 15048fi 15049case ${host} in 15050 *-*-solaris*) 15051 XML_LIBDIR="${XML_LIBDIR} -R${libdir}" 15052 ;; 15053 hppa*-hp-mpeix) 15054 NEED_TRIO=1 15055 ;; 15056 *-*-mingw* | *-*-cygwin* | *-*-msvc* ) 15057 # If the host is Windows, and shared libraries are disabled, we 15058 # need to add -DLIBXML_STATIC to EXTRA_CFLAGS in order for linking to 15059 # work properly (without it, xmlexports.h would force the use of 15060 # DLL imports, which obviously aren't present in a static 15061 # library). 15062 if test "x$enable_shared" = "xno"; then 15063 XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC" 15064 EXTRA_CFLAGS="$EXTRA_CFLAGS -DLIBXML_STATIC" 15065 fi 15066 ;; 15067esac 15068 15069 15070 15071PYTHON_VERSION= 15072PYTHON_INCLUDES= 15073PYTHON_SITE_PACKAGES= 15074PYTHON_TESTS= 15075pythondir= 15076if test "$with_python" != "no" ; then 15077 if test -x "$with_python/bin/python" 15078 then 15079 echo Found python in $with_python/bin/python 15080 PYTHON="$with_python/bin/python" 15081 else 15082 if test -x "$with_python/python.exe" 15083 then 15084 echo Found python in $with_python/python.exe 15085 PYTHON="$with_python/python.exe" 15086 else 15087 if test -x "$with_python" 15088 then 15089 echo Found python in $with_python 15090 PYTHON="$with_python" 15091 else 15092 if test -x "$PYTHON" 15093 then 15094 echo Found python in environment PYTHON=$PYTHON 15095 with_python=`$PYTHON -c "import sys; print(sys.exec_prefix)"` 15096 else 15097 # Extract the first word of "python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. 15098set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 15099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15100$as_echo_n "checking for $ac_word... " >&6; } 15101if ${ac_cv_path_PYTHON+:} false; then : 15102 $as_echo_n "(cached) " >&6 15103else 15104 case $PYTHON in 15105 [\\/]* | ?:[\\/]*) 15106 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 15107 ;; 15108 *) 15109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15110for as_dir in $PATH 15111do 15112 IFS=$as_save_IFS 15113 test -z "$as_dir" && as_dir=. 15114 for ac_exec_ext in '' $ac_executable_extensions; do 15115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15116 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 15117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15118 break 2 15119 fi 15120done 15121 done 15122IFS=$as_save_IFS 15123 15124 ;; 15125esac 15126fi 15127PYTHON=$ac_cv_path_PYTHON 15128if test -n "$PYTHON"; then 15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 15130$as_echo "$PYTHON" >&6; } 15131else 15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15133$as_echo "no" >&6; } 15134fi 15135 15136 15137 fi 15138 fi 15139 fi 15140 fi 15141 if test "$PYTHON" != "" 15142 then 15143 PYTHON_VERSION=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_version())"` 15144 PYTHON_INCLUDES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_inc())"` 15145# does not work as it produce a /usr/lib/python path instead of/usr/lib64/python 15146# 15147# PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib())"` 15148 echo Found Python version $PYTHON_VERSION 15149 fi 15150 if test "$PYTHON_VERSION" != "" -a "$PYTHON_INCLUDES" = "" 15151 then 15152 if test -r $with_python/include/python$PYTHON_VERSION/Python.h 15153 then 15154 PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION 15155 else 15156 if test -r $prefix/include/python$PYTHON_VERSION/Python.h 15157 then 15158 PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION 15159 else 15160 if test -r /usr/include/python$PYTHON_VERSION/Python.h 15161 then 15162 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION 15163 else 15164 if test -r $with_python/include/Python.h 15165 then 15166 PYTHON_INCLUDES=$with_python/include 15167 else 15168 echo could not find python$PYTHON_VERSION/Python.h or $with_python/include/Python.h 15169 fi 15170 fi 15171 fi 15172 fi 15173 fi 15174 if test "$with_python_install_dir" != "" 15175 then 15176 PYTHON_SITE_PACKAGES="$with_python_install_dir" 15177 fi 15178 if test "$PYTHON_VERSION" != "" -a "$PYTHON_SITE_PACKAGES" = "" 15179 then 15180 if test -d $libdir/python$PYTHON_VERSION/site-packages 15181 then 15182 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages 15183 else 15184 if test -d $with_python/lib/site-packages 15185 then 15186 PYTHON_SITE_PACKAGES=$with_python/lib/site-packages 15187 else 15188 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib())"` 15189 fi 15190 fi 15191 fi 15192 pythondir='$(PYTHON_SITE_PACKAGES)' 15193 PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags` 15194else 15195 PYTHON= 15196fi 15197 if test "$PYTHON_INCLUDES" != ""; then 15198 WITH_PYTHON_TRUE= 15199 WITH_PYTHON_FALSE='#' 15200else 15201 WITH_PYTHON_TRUE='#' 15202 WITH_PYTHON_FALSE= 15203fi 15204 15205if test "$PYTHON_INCLUDES" != "" 15206then 15207 PYTHON_SUBDIR=python 15208else 15209 PYTHON_SUBDIR= 15210fi 15211 15212 15213 15214 15215WITH_MODULES=0 15216TEST_MODULES= 15217 15218if test "$with_modules" != "no" ; then 15219 case "$host" in 15220 *-*-cygwin*) 15221 MODULE_EXTENSION=".dll" 15222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5 15223$as_echo_n "checking for dlopen in -lcygwin... " >&6; } 15224if ${ac_cv_lib_cygwin_dlopen+:} false; then : 15225 $as_echo_n "(cached) " >&6 15226else 15227 ac_check_lib_save_LIBS=$LIBS 15228LIBS="-lcygwin $LIBS" 15229cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15230/* end confdefs.h. */ 15231 15232/* Override any GCC internal prototype to avoid an error. 15233 Use char because int might match the return type of a GCC 15234 builtin and then its argument prototype would still apply. */ 15235#ifdef __cplusplus 15236extern "C" 15237#endif 15238char dlopen (); 15239int 15240main () 15241{ 15242return dlopen (); 15243 ; 15244 return 0; 15245} 15246_ACEOF 15247if ac_fn_c_try_link "$LINENO"; then : 15248 ac_cv_lib_cygwin_dlopen=yes 15249else 15250 ac_cv_lib_cygwin_dlopen=no 15251fi 15252rm -f core conftest.err conftest.$ac_objext \ 15253 conftest$ac_exeext conftest.$ac_ext 15254LIBS=$ac_check_lib_save_LIBS 15255fi 15256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5 15257$as_echo "$ac_cv_lib_cygwin_dlopen" >&6; } 15258if test "x$ac_cv_lib_cygwin_dlopen" = xyes; then : 15259 15260 WITH_MODULES=1 15261 MODULE_PLATFORM_LIBS= 15262 15263$as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h 15264 15265 15266fi 15267 15268 ;; 15269 *-*-mingw*) 15270 MODULE_EXTENSION=".dll" 15271 WITH_MODULES=1 15272 ;; 15273 *) 15274 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 15275if test "x$ac_cv_func_shl_load" = xyes; then : 15276 libxml_have_shl_load=yes 15277else 15278 15279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 15280$as_echo_n "checking for shl_load in -ldld... " >&6; } 15281if ${ac_cv_lib_dld_shl_load+:} false; then : 15282 $as_echo_n "(cached) " >&6 15283else 15284 ac_check_lib_save_LIBS=$LIBS 15285LIBS="-ldld $LIBS" 15286cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15287/* end confdefs.h. */ 15288 15289/* Override any GCC internal prototype to avoid an error. 15290 Use char because int might match the return type of a GCC 15291 builtin and then its argument prototype would still apply. */ 15292#ifdef __cplusplus 15293extern "C" 15294#endif 15295char shl_load (); 15296int 15297main () 15298{ 15299return shl_load (); 15300 ; 15301 return 0; 15302} 15303_ACEOF 15304if ac_fn_c_try_link "$LINENO"; then : 15305 ac_cv_lib_dld_shl_load=yes 15306else 15307 ac_cv_lib_dld_shl_load=no 15308fi 15309rm -f core conftest.err conftest.$ac_objext \ 15310 conftest$ac_exeext conftest.$ac_ext 15311LIBS=$ac_check_lib_save_LIBS 15312fi 15313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 15314$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 15315if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 15316 15317 MODULE_PLATFORM_LIBS="-ldld" 15318 libxml_have_shl_load=yes 15319else 15320 15321 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 15322if test "x$ac_cv_func_dlopen" = xyes; then : 15323 libxml_have_dlopen=yes 15324else 15325 15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 15327$as_echo_n "checking for dlopen in -ldl... " >&6; } 15328if ${ac_cv_lib_dl_dlopen+:} false; then : 15329 $as_echo_n "(cached) " >&6 15330else 15331 ac_check_lib_save_LIBS=$LIBS 15332LIBS="-ldl $LIBS" 15333cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15334/* end confdefs.h. */ 15335 15336/* Override any GCC internal prototype to avoid an error. 15337 Use char because int might match the return type of a GCC 15338 builtin and then its argument prototype would still apply. */ 15339#ifdef __cplusplus 15340extern "C" 15341#endif 15342char dlopen (); 15343int 15344main () 15345{ 15346return dlopen (); 15347 ; 15348 return 0; 15349} 15350_ACEOF 15351if ac_fn_c_try_link "$LINENO"; then : 15352 ac_cv_lib_dl_dlopen=yes 15353else 15354 ac_cv_lib_dl_dlopen=no 15355fi 15356rm -f core conftest.err conftest.$ac_objext \ 15357 conftest$ac_exeext conftest.$ac_ext 15358LIBS=$ac_check_lib_save_LIBS 15359fi 15360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 15361$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 15362if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 15363 15364 MODULE_PLATFORM_LIBS="-ldl" 15365 libxml_have_dlopen=yes 15366fi 15367 15368fi 15369 15370fi 15371 15372fi 15373 15374 15375 if test "${libxml_have_shl_load}" = "yes"; then 15376 MODULE_EXTENSION=".sl" 15377 WITH_MODULES=1 15378 15379$as_echo "#define HAVE_SHLLOAD /**/" >>confdefs.h 15380 15381 fi 15382 15383 if test "${libxml_have_dlopen}" = "yes"; then 15384 case "${host}" in 15385 *-*-hpux* ) 15386 MODULE_EXTENSION=".sl" 15387 ;; 15388 * ) 15389 MODULE_EXTENSION=".so" 15390 ;; 15391 esac 15392 15393 WITH_MODULES=1 15394 15395$as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h 15396 15397 fi 15398 ;; 15399 esac 15400fi 15401 15402if test "${WITH_MODULES}" = "1"; then 15403 TEST_MODULES="ModuleTests" 15404fi 15405 15406 15407 15408 15409 15410 15411 15412if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \ 15413 [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \ 15414 [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ] 15415 then 15416 if test "$with_minimum" != "yes" 15417 then 15418 if test "${with_mem_debug}" = "" ; then 15419 echo Activating memory debugging 15420 with_mem_debug="yes" 15421 with_run_debug="yes" 15422 fi 15423 if test "${with_docbook}" = "" ; then 15424 with_docbook="yes" 15425 fi 15426 fi 15427 if test "${GCC}" = "yes" ; then 15428 EXTRA_CFLAGS="-g -O -pedantic -W -Wformat -Wno-format-extra-args -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall" 15429 fi 15430 STATIC_BINARIES="-static" 15431else 15432 STATIC_BINARIES= 15433fi 15434 15435 15436 15437if test "${NEED_TRIO}" = "1" ; then 15438 echo Adding trio library for string functions 15439 WITH_TRIO=1 15440else 15441 WITH_TRIO=0 15442fi 15443 if test "${NEED_TRIO}" = "1"; then 15444 WITH_TRIO_SOURCES_TRUE= 15445 WITH_TRIO_SOURCES_FALSE='#' 15446else 15447 WITH_TRIO_SOURCES_TRUE='#' 15448 WITH_TRIO_SOURCES_FALSE= 15449fi 15450 15451 15452 15453echo Checking configuration requirements 15454 15455THREAD_LIBS="" 15456BASE_THREAD_LIBS="" 15457WITH_THREADS=0 15458THREAD_CFLAGS="" 15459TEST_THREADS="" 15460THREADS_W32="" 15461WITH_THREAD_ALLOC=0 15462 15463if test "$with_threads" = "no" ; then 15464 echo Disabling multithreaded support 15465else 15466 echo Enabling multithreaded support 15467 15468 case $host_os in 15469 *mingw*) if test "$with_threads" != "pthread" && test "$with_threads" != "no"; then 15470 WITH_THREADS="1" 15471 THREADS_W32="1" 15472 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS" 15473 fi 15474 ;; 15475 esac 15476 15477 if test -z "$THREADS_W32"; then 15478 if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then 15479 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 15480if test "x$ac_cv_header_pthread_h" = xyes; then : 15481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 15482$as_echo_n "checking for pthread_join in -lpthread... " >&6; } 15483if ${ac_cv_lib_pthread_pthread_join+:} false; then : 15484 $as_echo_n "(cached) " >&6 15485else 15486 ac_check_lib_save_LIBS=$LIBS 15487LIBS="-lpthread $LIBS" 15488cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15489/* end confdefs.h. */ 15490 15491/* Override any GCC internal prototype to avoid an error. 15492 Use char because int might match the return type of a GCC 15493 builtin and then its argument prototype would still apply. */ 15494#ifdef __cplusplus 15495extern "C" 15496#endif 15497char pthread_join (); 15498int 15499main () 15500{ 15501return pthread_join (); 15502 ; 15503 return 0; 15504} 15505_ACEOF 15506if ac_fn_c_try_link "$LINENO"; then : 15507 ac_cv_lib_pthread_pthread_join=yes 15508else 15509 ac_cv_lib_pthread_pthread_join=no 15510fi 15511rm -f core conftest.err conftest.$ac_objext \ 15512 conftest$ac_exeext conftest.$ac_ext 15513LIBS=$ac_check_lib_save_LIBS 15514fi 15515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 15516$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } 15517if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : 15518 15519 THREAD_LIBS="-lpthread" 15520 15521$as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h 15522 15523 15524$as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h 15525 15526 WITH_THREADS="1" 15527fi 15528 15529fi 15530 15531 15532 fi 15533 fi 15534 15535 case $host_os in 15536 *cygwin*) THREAD_LIBS="" 15537 ;; 15538 *beos*) WITH_THREADS="1" 15539 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS" 15540 ;; 15541 *linux*) 15542 if test "${GCC}" = "yes" ; then 15543 GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'` 15544 GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'` 15545 GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'` 15546 if test "${THREAD_LIBS}" = "-lpthread" ; then 15547 if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null 15548 then 15549 THREAD_LIBS="" 15550 BASE_THREAD_LIBS="-lpthread" 15551 else 15552 if expr ${GCC_MAJOR} \> 3 > /dev/null 15553 then 15554 THREAD_LIBS="" 15555 BASE_THREAD_LIBS="-lpthread" 15556 else 15557 echo old GCC disabling weak symbols for pthread 15558 fi 15559 fi 15560 fi 15561 fi 15562 ;; 15563 *freebsd*|*dragonfly*) THREAD_LIBS="" 15564 ;; 15565 esac 15566 if test "$WITH_THREADS" = "1" ; then 15567 THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT" 15568 TEST_THREADS="Threadtests" 15569 fi 15570fi 15571if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then 15572 WITH_THREAD_ALLOC=1 15573fi 15574 15575 15576 15577 15578 15579 15580 15581 if test -n "$THREADS_W32"; then 15582 THREADS_W32_TRUE= 15583 THREADS_W32_FALSE='#' 15584else 15585 THREADS_W32_TRUE='#' 15586 THREADS_W32_FALSE= 15587fi 15588 15589 15590if test "$with_history" = "yes" ; then 15591 echo Enabling xmllint shell history 15592 unset tcap 15593 for termlib in ncurses curses termcap terminfo termlib; do 15594 as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh` 15595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5 15596$as_echo_n "checking for tputs in -l${termlib}... " >&6; } 15597if eval \${$as_ac_Lib+:} false; then : 15598 $as_echo_n "(cached) " >&6 15599else 15600 ac_check_lib_save_LIBS=$LIBS 15601LIBS="-l${termlib} $LIBS" 15602cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15603/* end confdefs.h. */ 15604 15605/* Override any GCC internal prototype to avoid an error. 15606 Use char because int might match the return type of a GCC 15607 builtin and then its argument prototype would still apply. */ 15608#ifdef __cplusplus 15609extern "C" 15610#endif 15611char tputs (); 15612int 15613main () 15614{ 15615return tputs (); 15616 ; 15617 return 0; 15618} 15619_ACEOF 15620if ac_fn_c_try_link "$LINENO"; then : 15621 eval "$as_ac_Lib=yes" 15622else 15623 eval "$as_ac_Lib=no" 15624fi 15625rm -f core conftest.err conftest.$ac_objext \ 15626 conftest$ac_exeext conftest.$ac_ext 15627LIBS=$ac_check_lib_save_LIBS 15628fi 15629eval ac_res=\$$as_ac_Lib 15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15631$as_echo "$ac_res" >&6; } 15632if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 15633 tcap="-l$termlib" 15634fi 15635 15636 test -n "$tcap" && break 15637 done 15638 15639 ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default" 15640if test "x$ac_cv_header_readline_history_h" = xyes; then : 15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5 15642$as_echo_n "checking for append_history in -lhistory... " >&6; } 15643if ${ac_cv_lib_history_append_history+:} false; then : 15644 $as_echo_n "(cached) " >&6 15645else 15646 ac_check_lib_save_LIBS=$LIBS 15647LIBS="-lhistory $LIBS" 15648cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15649/* end confdefs.h. */ 15650 15651/* Override any GCC internal prototype to avoid an error. 15652 Use char because int might match the return type of a GCC 15653 builtin and then its argument prototype would still apply. */ 15654#ifdef __cplusplus 15655extern "C" 15656#endif 15657char append_history (); 15658int 15659main () 15660{ 15661return append_history (); 15662 ; 15663 return 0; 15664} 15665_ACEOF 15666if ac_fn_c_try_link "$LINENO"; then : 15667 ac_cv_lib_history_append_history=yes 15668else 15669 ac_cv_lib_history_append_history=no 15670fi 15671rm -f core conftest.err conftest.$ac_objext \ 15672 conftest$ac_exeext conftest.$ac_ext 15673LIBS=$ac_check_lib_save_LIBS 15674fi 15675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5 15676$as_echo "$ac_cv_lib_history_append_history" >&6; } 15677if test "x$ac_cv_lib_history_append_history" = xyes; then : 15678 15679 RDL_LIBS="-lhistory" 15680 15681$as_echo "#define HAVE_LIBHISTORY /**/" >>confdefs.h 15682 15683fi 15684 15685fi 15686 15687 15688 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default" 15689if test "x$ac_cv_header_readline_readline_h" = xyes; then : 15690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 15691$as_echo_n "checking for readline in -lreadline... " >&6; } 15692if ${ac_cv_lib_readline_readline+:} false; then : 15693 $as_echo_n "(cached) " >&6 15694else 15695 ac_check_lib_save_LIBS=$LIBS 15696LIBS="-lreadline $tcap $LIBS" 15697cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15698/* end confdefs.h. */ 15699 15700/* Override any GCC internal prototype to avoid an error. 15701 Use char because int might match the return type of a GCC 15702 builtin and then its argument prototype would still apply. */ 15703#ifdef __cplusplus 15704extern "C" 15705#endif 15706char readline (); 15707int 15708main () 15709{ 15710return readline (); 15711 ; 15712 return 0; 15713} 15714_ACEOF 15715if ac_fn_c_try_link "$LINENO"; then : 15716 ac_cv_lib_readline_readline=yes 15717else 15718 ac_cv_lib_readline_readline=no 15719fi 15720rm -f core conftest.err conftest.$ac_objext \ 15721 conftest$ac_exeext conftest.$ac_ext 15722LIBS=$ac_check_lib_save_LIBS 15723fi 15724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 15725$as_echo "$ac_cv_lib_readline_readline" >&6; } 15726if test "x$ac_cv_lib_readline_readline" = xyes; then : 15727 15728 RDL_LIBS="-lreadline $RDL_LIBS $tcap" 15729 15730$as_echo "#define HAVE_LIBREADLINE /**/" >>confdefs.h 15731 15732fi 15733 15734fi 15735 15736 15737 if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then 15738 CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include" 15739 RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS" 15740 fi 15741fi 15742 15743if test "$with_tree" = "no" ; then 15744 echo Disabling DOM like tree manipulation APIs 15745 WITH_TREE=0 15746else 15747 WITH_TREE=1 15748fi 15749 15750 15751if test "$with_ftp" = "no" ; then 15752 echo Disabling FTP support 15753 WITH_FTP=0 15754 FTP_OBJ= 15755else 15756 WITH_FTP=1 15757 FTP_OBJ=nanoftp.o 15758fi 15759 15760 15761 15762if test "$with_http" = "no" ; then 15763 echo Disabling HTTP support 15764 WITH_HTTP=0 15765 HTTP_OBJ= 15766else 15767 WITH_HTTP=1 15768 HTTP_OBJ=nanohttp.o 15769fi 15770 15771 15772 15773if test "$with_legacy" = "no" ; then 15774 echo Disabling deprecated APIs 15775 WITH_LEGACY=0 15776else 15777 WITH_LEGACY=1 15778fi 15779 15780 15781if test "$with_reader" = "no" ; then 15782 echo Disabling the xmlReader parsing interface 15783 WITH_READER=0 15784 READER_TEST= 15785else 15786 WITH_READER=1 15787 READER_TEST=Readertests 15788 if test "$with_push" = "no" ; then 15789 echo xmlReader requires Push interface - enabling it 15790 with_push=yes 15791 fi 15792fi 15793 15794 15795 15796if test "$with_writer" = "no" ; then 15797 echo Disabling the xmlWriter saving interface 15798 WITH_WRITER=0 15799# WRITER_TEST= 15800else 15801 WITH_WRITER=1 15802# WRITER_TEST=Writertests 15803 if test "$with_push" = "no" ; then 15804 echo xmlWriter requires Push interface - enabling it 15805 with_push=yes 15806 fi 15807 if test "$with_output" = "no" ; then 15808 echo xmlWriter requires Output interface - enabling it 15809 with_output=yes 15810 fi 15811fi 15812 15813#AC_SUBST(WRITER_TEST) 15814 15815if test "$with_pattern" = "no" ; then 15816 echo Disabling the xmlPattern parsing interface 15817 WITH_PATTERN=0 15818 TEST_PATTERN= 15819else 15820 WITH_PATTERN=1 15821 TEST_PATTERN=Patterntests 15822fi 15823 15824 15825 15826if test "$with_sax1" = "no" ; then 15827 echo Disabling the older SAX1 interface 15828 WITH_SAX1=0 15829 TEST_SAX= 15830else 15831 WITH_SAX1=1 15832 TEST_SAX=SAXtests 15833fi 15834 15835 if test "${WITH_TRIO}" = "1"; then 15836 WITH_SAX1_SOURCES_TRUE= 15837 WITH_SAX1_SOURCES_FALSE='#' 15838else 15839 WITH_SAX1_SOURCES_TRUE='#' 15840 WITH_SAX1_SOURCES_FALSE= 15841fi 15842 15843 15844 15845if test "$with_push" = "no" ; then 15846 echo Disabling the PUSH parser interfaces 15847 WITH_PUSH=0 15848 TEST_PUSH= 15849else 15850 WITH_PUSH=1 15851 TEST_PUSH="XMLPushtests" 15852fi 15853 15854 15855 15856if test "$with_html" = "no" ; then 15857 echo Disabling HTML support 15858 WITH_HTML=0 15859 HTML_OBJ= 15860 TEST_HTML= 15861else 15862 WITH_HTML=1 15863 HTML_OBJ="HTMLparser.o HTMLtree.o" 15864 TEST_HTML=HTMLtests 15865 if test "$with_push" != "no" ; then 15866 TEST_PHTML=HTMLPushtests 15867 else 15868 TEST_PHTML= 15869 fi 15870fi 15871 15872 15873 15874 15875 15876if test "$with_valid" = "no" ; then 15877 echo Disabling DTD validation support 15878 WITH_VALID=0 15879 TEST_VALID= 15880 TEST_VTIME= 15881else 15882 WITH_VALID=1 15883 TEST_VALID=Validtests 15884 TEST_VTIME=VTimingtests 15885fi 15886 15887 15888 15889 15890if test "$with_catalog" = "no" ; then 15891 echo Disabling Catalog support 15892 WITH_CATALOG=0 15893 CATALOG_OBJ= 15894 TEST_CATALOG= 15895else 15896 WITH_CATALOG=1 15897 CATALOG_OBJ="catalog.o" 15898 TEST_CATALOG=Catatests 15899fi 15900 15901 15902 15903 15904if test "$with_docbook" = "no" ; then 15905 echo Disabling Docbook support 15906 WITH_DOCB=0 15907 DOCB_OBJ= 15908else 15909 WITH_DOCB=1 15910 DOCB_OBJ="DOCBparser.o" 15911fi 15912 15913 15914 15915 15916if test "$with_xptr" = "no" ; then 15917 echo Disabling XPointer support 15918 WITH_XPTR=0 15919 XPTR_OBJ= 15920 TEST_XPTR= 15921else 15922 WITH_XPTR=1 15923 XPTR_OBJ=xpointer.o 15924 TEST_XPTR=XPtrtests 15925 if test "$with_xpath" = "no" ; then 15926 echo XPointer requires XPath support - enabling it 15927 with_xpath=yes 15928 fi 15929fi 15930 15931 15932 15933 15934if test "$with_c14n" = "no" ; then 15935 echo Disabling C14N support 15936 WITH_C14N=0 15937 C14N_OBJ= 15938 TEST_C14N= 15939else 15940 WITH_C14N=1 15941 C14N_OBJ="c14n.c" 15942 TEST_C14N=C14Ntests 15943 if test "$with_xpath" = "no" ; then 15944 echo C14N requires XPath support - enabling it 15945 with_xpath=yes 15946 fi 15947fi 15948 15949 15950 15951 15952if test "$with_xinclude" = "no" ; then 15953 echo Disabling XInclude support 15954 WITH_XINCLUDE=0 15955 XINCLUDE_OBJ= 15956 with_xinclude="no" 15957 TEST_XINCLUDE= 15958else 15959 WITH_XINCLUDE=1 15960 XINCLUDE_OBJ=xinclude.o 15961 TEST_XINCLUDE=XIncludetests 15962 if test "$with_xpath" = "no" ; then 15963 echo XInclude requires XPath support - enabling it 15964 with_xpath=yes 15965 fi 15966fi 15967 15968 15969 15970 15971if test "$with_xptr" = "" -a "$with_xpath" = "no" ; then 15972 with_xptr=no 15973fi 15974 15975if test "$with_schematron" = "" -a "$with_xpath" = "no" ; then 15976 with_schematron=no 15977fi 15978 15979if test "$with_schematron" = "no" ; then 15980 echo "Disabling Schematron support" 15981 WITH_SCHEMATRON=0 15982 TEST_SCHEMATRON= 15983else 15984 echo "Enabled Schematron support" 15985 WITH_SCHEMATRON=1 15986 TEST_SCHEMATRON="Schematrontests" 15987 with_xpath=yes 15988 with_pattern=yes 15989 with_schematron=yes 15990fi 15991 15992 15993 15994if test "$with_xpath" = "no" ; then 15995 echo Disabling XPATH support 15996 WITH_XPATH=0 15997 XPATH_OBJ= 15998 TEST_XPATH= 15999else 16000 WITH_XPATH=1 16001 XPATH_OBJ=xpath.o 16002 TEST_XPATH=XPathtests 16003fi 16004 16005 16006 16007 16008if test "$with_output" = "no" ; then 16009 echo Disabling serialization/saving support 16010 WITH_OUTPUT=0 16011else 16012 WITH_OUTPUT=1 16013fi 16014 16015 16016WITH_ICONV=0 16017if test "$with_iconv" = "no" ; then 16018 echo Disabling ICONV support 16019else 16020 if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then 16021 CPPFLAGS="${CPPFLAGS} -I$with_iconv/include" 16022 # Export this since our headers include iconv.h 16023 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include" 16024 ICONV_LIBS="-L$with_iconv/lib" 16025 fi 16026 16027 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default" 16028if test "x$ac_cv_header_iconv_h" = xyes; then : 16029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 16030$as_echo_n "checking for iconv... " >&6; } 16031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16032/* end confdefs.h. */ 16033#include <stdlib.h> 16034#include <iconv.h> 16035int 16036main () 16037{ 16038 16039iconv_t cd = iconv_open ("",""); 16040iconv (cd, NULL, NULL, NULL, NULL); 16041 ; 16042 return 0; 16043} 16044_ACEOF 16045if ac_fn_c_try_link "$LINENO"; then : 16046 16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16048$as_echo "yes" >&6; } 16049 WITH_ICONV=1 16050else 16051 16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16053$as_echo "no" >&6; } 16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in -liconv" >&5 16055$as_echo_n "checking for iconv in -liconv... " >&6; } 16056 16057 _ldflags="${LDFLAGS}" 16058 _libs="${LIBS}" 16059 LDFLAGS="${LDFLAGS} ${ICONV_LIBS}" 16060 LIBS="${LIBS} -liconv" 16061 16062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16063/* end confdefs.h. */ 16064#include <stdlib.h> 16065#include <iconv.h> 16066int 16067main () 16068{ 16069 16070iconv_t cd = iconv_open ("",""); 16071iconv (cd, NULL, NULL, NULL, NULL); 16072 ; 16073 return 0; 16074} 16075_ACEOF 16076if ac_fn_c_try_link "$LINENO"; then : 16077 16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16079$as_echo "yes" >&6; } 16080 WITH_ICONV=1 16081 ICONV_LIBS="${ICONV_LIBS} -liconv" 16082 LIBS="${_libs}" 16083 LDFLAGS="${_ldflags}" 16084else 16085 16086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16087$as_echo "no" >&6; } 16088 LIBS="${_libs}" 16089 LDFLAGS="${_ldflags}" 16090fi 16091rm -f core conftest.err conftest.$ac_objext \ 16092 conftest$ac_exeext conftest.$ac_ext 16093fi 16094rm -f core conftest.err conftest.$ac_objext \ 16095 conftest$ac_exeext conftest.$ac_ext 16096fi 16097 16098 16099 16100 if test "$WITH_ICONV" = "1" ; then 16101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 16102$as_echo_n "checking for iconv declaration... " >&6; } 16103 if ${xml_cv_iconv_arg2+:} false; then : 16104 $as_echo_n "(cached) " >&6 16105else 16106 16107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16108/* end confdefs.h. */ 16109#include <stdlib.h> 16110#include <iconv.h> 16111extern 16112#ifdef __cplusplus 16113"C" 16114#endif 16115#if defined(__STDC__) || defined(__cplusplus) 16116size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 16117#else 16118size_t iconv(); 16119#endif 16120 16121int 16122main () 16123{ 16124 16125 ; 16126 return 0; 16127} 16128_ACEOF 16129if ac_fn_c_try_compile "$LINENO"; then : 16130 xml_cv_iconv_arg2="" 16131else 16132 xml_cv_iconv_arg2="const" 16133fi 16134rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16135fi 16136 16137 16138 xml_cv_iconv_decl="extern size_t iconv (iconv_t cd, $xml_cv_iconv_arg2 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" 16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xml_xxx:- 16140 }$xml_cv_iconv_decl" >&5 16141$as_echo "${xml_xxx:- 16142 }$xml_cv_iconv_decl" >&6; } 16143 16144cat >>confdefs.h <<_ACEOF 16145#define ICONV_CONST $xml_cv_iconv_arg2 16146_ACEOF 16147 16148 fi 16149fi 16150case "$host" in 16151 *mingw*) M_LIBS="" 16152 ;; 16153 *beos*) M_LIBS="" 16154 ;; 16155 *haiku*) M_LIBS="" 16156 ;; 16157 *) M_LIBS="-lm" 16158 ;; 16159esac 16160 16161 16162WITH_ICU=0 16163ICU_LIBS="" 16164if test "$with_icu" != "yes" ; then 16165 echo Disabling ICU support 16166else 16167 # Try pkg-config first so that static linking works. 16168 # If this succeeeds, we ignore the WITH_ICU directory. 16169 16170pkg_failed=no 16171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5 16172$as_echo_n "checking for ICU... " >&6; } 16173 16174if test -n "$ICU_CFLAGS"; then 16175 pkg_cv_ICU_CFLAGS="$ICU_CFLAGS" 16176 elif test -n "$PKG_CONFIG"; then 16177 if test -n "$PKG_CONFIG" && \ 16178 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n\""; } >&5 16179 ($PKG_CONFIG --exists --print-errors "icu-i18n") 2>&5 16180 ac_status=$? 16181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16182 test $ac_status = 0; }; then 16183 pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-i18n" 2>/dev/null` 16184 test "x$?" != "x0" && pkg_failed=yes 16185else 16186 pkg_failed=yes 16187fi 16188 else 16189 pkg_failed=untried 16190fi 16191if test -n "$ICU_LIBS"; then 16192 pkg_cv_ICU_LIBS="$ICU_LIBS" 16193 elif test -n "$PKG_CONFIG"; then 16194 if test -n "$PKG_CONFIG" && \ 16195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n\""; } >&5 16196 ($PKG_CONFIG --exists --print-errors "icu-i18n") 2>&5 16197 ac_status=$? 16198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16199 test $ac_status = 0; }; then 16200 pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-i18n" 2>/dev/null` 16201 test "x$?" != "x0" && pkg_failed=yes 16202else 16203 pkg_failed=yes 16204fi 16205 else 16206 pkg_failed=untried 16207fi 16208 16209 16210 16211if test $pkg_failed = yes; then 16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16213$as_echo "no" >&6; } 16214 16215if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16216 _pkg_short_errors_supported=yes 16217else 16218 _pkg_short_errors_supported=no 16219fi 16220 if test $_pkg_short_errors_supported = yes; then 16221 ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-i18n" 2>&1` 16222 else 16223 ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-i18n" 2>&1` 16224 fi 16225 # Put the nasty error message in config.log where it belongs 16226 echo "$ICU_PKG_ERRORS" >&5 16227 16228 have_libicu=no 16229elif test $pkg_failed = untried; then 16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16231$as_echo "no" >&6; } 16232 have_libicu=no 16233else 16234 ICU_CFLAGS=$pkg_cv_ICU_CFLAGS 16235 ICU_LIBS=$pkg_cv_ICU_LIBS 16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16237$as_echo "yes" >&6; } 16238 have_libicu=yes 16239fi 16240 16241 # If pkg-config failed, fall back to AC_CHECK_LIB. This 16242 # will not pick up the necessary LIBS flags for liblzma's 16243 # private dependencies, though, so static linking may fail. 16244 if test "x$have_libicu" = "xno"; then 16245 ICU_CONFIG=icu-config 16246 if ${ICU_CONFIG} --cflags >/dev/null 2>&1 16247 then 16248 ICU_LIBS=`${ICU_CONFIG} --ldflags` 16249 have_libicu=yes 16250 echo Enabling ICU support 16251 else 16252 if test "$with_icu" != "yes" -a "$with_iconv" != "" ; then 16253 CPPFLAGS="${CPPFLAGS} -I$with_icu" 16254 # Export this since our headers include icu.h 16255 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_icu" 16256 fi 16257 16258 ac_fn_c_check_header_mongrel "$LINENO" "unicode/ucnv.h" "ac_cv_header_unicode_ucnv_h" "$ac_includes_default" 16259if test "x$ac_cv_header_unicode_ucnv_h" = xyes; then : 16260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icu" >&5 16261$as_echo_n "checking for icu... " >&6; } 16262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16263/* end confdefs.h. */ 16264#include <unicode/ucnv.h> 16265int 16266main () 16267{ 16268 16269 UConverter *utf = ucnv_open("UTF-8", NULL); 16270 ; 16271 return 0; 16272} 16273_ACEOF 16274if ac_fn_c_try_link "$LINENO"; then : 16275 16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16277$as_echo "yes" >&6; } 16278 have_libicu=yes 16279else 16280 16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16282$as_echo "no" >&6; } 16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icu in -licucore" >&5 16284$as_echo_n "checking for icu in -licucore... " >&6; } 16285 16286 _ldflags="${LDFLAGS}" 16287 _libs="${LIBS}" 16288 LDFLAGS="${LDFLAGS} ${ICU_LIBS}" 16289 LIBS="${LIBS} -licucore" 16290 16291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16292/* end confdefs.h. */ 16293#include <unicode/ucnv.h> 16294int 16295main () 16296{ 16297 16298 UConverter *utf = ucnv_open("UTF-8", NULL); 16299 ; 16300 return 0; 16301} 16302_ACEOF 16303if ac_fn_c_try_link "$LINENO"; then : 16304 16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16306$as_echo "yes" >&6; } 16307 have_libicu=yes 16308 ICU_LIBS="${ICU_LIBS} -licucore" 16309 LIBS="${_libs}" 16310 LDFLAGS="${_ldflags}" 16311else 16312 16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16314$as_echo "no" >&6; } 16315 LIBS="${_libs}" 16316 LDFLAGS="${_ldflags}" 16317fi 16318rm -f core conftest.err conftest.$ac_objext \ 16319 conftest$ac_exeext conftest.$ac_ext 16320fi 16321rm -f core conftest.err conftest.$ac_objext \ 16322 conftest$ac_exeext conftest.$ac_ext 16323fi 16324 16325 16326 fi 16327 fi 16328 16329 # Found the library via either method? 16330 if test "x$have_libicu" = "xyes"; then 16331 WITH_ICU=1 16332 fi 16333fi 16334XML_LIBS="-lxml2" 16335XML_PRIVATE_LIBS="$Z_LIBS $LZMA_LIBS $THREAD_LIBS $ICONV_LIBS $ICU_LIBS $M_LIBS $LIBS" 16336XML_LIBTOOLLIBS="libxml2.la" 16337 16338 16339WITH_ISO8859X=1 16340if test "$WITH_ICONV" != "1" ; then 16341if test "$with_iso8859x" = "no" ; then 16342 echo Disabling ISO8859X support 16343 WITH_ISO8859X=0 16344fi 16345fi 16346 16347 16348if test "$with_schemas" = "no" ; then 16349 echo "Disabling Schemas/Relax-NG support" 16350 WITH_SCHEMAS=0 16351 TEST_SCHEMAS= 16352else 16353 echo "Enabled Schemas/Relax-NG support" 16354 WITH_SCHEMAS=1 16355 TEST_SCHEMAS="Schemastests Relaxtests" 16356 if test "$PYTHON_INCLUDES" != "" ; then 16357 PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests" 16358 fi 16359 with_regexps=yes 16360fi 16361 16362 16363 16364if test "$with_regexps" = "no" ; then 16365 echo Disabling Regexps support 16366 WITH_REGEXPS=0 16367 TEST_REGEXPS= 16368else 16369 WITH_REGEXPS=1 16370 TEST_REGEXPS="Regexptests Automatatests" 16371fi 16372 16373 16374 16375if test "$with_debug" = "no" ; then 16376 echo Disabling DEBUG support 16377 WITH_DEBUG=0 16378 DEBUG_OBJ= 16379 TEST_DEBUG= 16380else 16381 WITH_DEBUG=1 16382 DEBUG_OBJ=debugXML.o 16383 TEST_DEBUG=Scripttests 16384fi 16385 16386 16387 16388 16389if test "$with_mem_debug" = "yes" ; then 16390 if test "$with_thread_alloc" = "yes" ; then 16391 echo Disabling memory debug - cannot use mem-debug with thread-alloc! 16392 WITH_MEM_DEBUG=0 16393 else 16394 echo Enabling memory debug support 16395 WITH_MEM_DEBUG=1 16396 fi 16397else 16398 WITH_MEM_DEBUG=0 16399fi 16400 16401 16402if test "$with_run_debug" = "yes" ; then 16403 echo Enabling runtime debug support 16404 WITH_RUN_DEBUG=1 16405else 16406 WITH_RUN_DEBUG=0 16407fi 16408 16409 16410WIN32_EXTRA_LIBADD= 16411WIN32_EXTRA_LDFLAGS= 16412CYGWIN_EXTRA_LDFLAGS= 16413CYGWIN_EXTRA_PYTHON_LIBADD= 16414WIN32_EXTRA_PYTHON_LIBADD= 16415case "$host" in 16416 *-*-mingw*) 16417 CPPFLAGS="$CPPFLAGS -DWIN32" 16418 WIN32_EXTRA_LIBADD="-lws2_32" 16419 WIN32_EXTRA_LDFLAGS="-no-undefined" 16420 if test "${PYTHON}" != "" 16421 then 16422 case "$host" in 16423 *-w64-mingw*) 16424 WIN32_EXTRA_PYTHON_LIBADD="-shrext .pyd -L${pythondir}/../../lib -lpython${PYTHON_VERSION}" 16425 ;; 16426 *) 16427 WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython$(echo ${PYTHON_VERSION} | tr -d .)" 16428 ;; 16429 esac 16430 fi 16431 ;; 16432 *-*-cygwin*) 16433 CYGWIN_EXTRA_LDFLAGS="-no-undefined" 16434 if test "${PYTHON}" != "" 16435 then 16436 CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}" 16437 fi 16438 ;; 16439esac 16440 16441 16442 16443 16444 16445 16446for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf 16447do : 16448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16449ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 16450if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 16451 cat >>confdefs.h <<_ACEOF 16452#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16453_ACEOF 16454 16455else 16456 NEED_TRIO=1 16457fi 16458done 16459 16460 16461if test "$with_coverage" = "yes" -a "${GCC}" = "yes" 16462then 16463 echo Enabling code coverage for GCC 16464 EXTRA_CFLAGS="$EXTRA_CFLAGS -fprofile-arcs -ftest-coverage" 16465 LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage" 16466else 16467 echo Disabling code coverage for GCC 16468fi 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493RELDATE=`date +'%a %b %e %Y'` 16494 16495 16496 16497rm -f COPYING.LIB COPYING 16498ln -s $srcdir/Copyright COPYING 16499 16500# keep on one line for cygwin c.f. #130896 16501ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/Makefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/Makefile example/Makefile fuzz/Makefile python/Makefile python/tests/Makefile xstc/Makefile include/libxml/xmlversion.h libxml-2.0.pc libxml-2.0-uninstalled.pc libxml2-config.cmake" 16502 16503ac_config_files="$ac_config_files python/setup.py" 16504 16505ac_config_files="$ac_config_files xml2-config" 16506 16507cat >confcache <<\_ACEOF 16508# This file is a shell script that caches the results of configure 16509# tests run on this system so they can be shared between configure 16510# scripts and configure runs, see configure's option --config-cache. 16511# It is not useful on other systems. If it contains results you don't 16512# want to keep, you may remove or edit it. 16513# 16514# config.status only pays attention to the cache file if you give it 16515# the --recheck option to rerun configure. 16516# 16517# `ac_cv_env_foo' variables (set or unset) will be overridden when 16518# loading this file, other *unset* `ac_cv_foo' will be assigned the 16519# following values. 16520 16521_ACEOF 16522 16523# The following way of writing the cache mishandles newlines in values, 16524# but we know of no workaround that is simple, portable, and efficient. 16525# So, we kill variables containing newlines. 16526# Ultrix sh set writes to stderr and can't be redirected directly, 16527# and sets the high bit in the cache file unless we assign to the vars. 16528( 16529 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 16530 eval ac_val=\$$ac_var 16531 case $ac_val in #( 16532 *${as_nl}*) 16533 case $ac_var in #( 16534 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16535$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16536 esac 16537 case $ac_var in #( 16538 _ | IFS | as_nl) ;; #( 16539 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16540 *) { eval $ac_var=; unset $ac_var;} ;; 16541 esac ;; 16542 esac 16543 done 16544 16545 (set) 2>&1 | 16546 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16547 *${as_nl}ac_space=\ *) 16548 # `set' does not quote correctly, so add quotes: double-quote 16549 # substitution turns \\\\ into \\, and sed turns \\ into \. 16550 sed -n \ 16551 "s/'/'\\\\''/g; 16552 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 16553 ;; #( 16554 *) 16555 # `set' quotes correctly as required by POSIX, so do not add quotes. 16556 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16557 ;; 16558 esac | 16559 sort 16560) | 16561 sed ' 16562 /^ac_cv_env_/b end 16563 t clear 16564 :clear 16565 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 16566 t end 16567 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16568 :end' >>confcache 16569if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16570 if test -w "$cache_file"; then 16571 if test "x$cache_file" != "x/dev/null"; then 16572 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16573$as_echo "$as_me: updating cache $cache_file" >&6;} 16574 if test ! -f "$cache_file" || test -h "$cache_file"; then 16575 cat confcache >"$cache_file" 16576 else 16577 case $cache_file in #( 16578 */* | ?:*) 16579 mv -f confcache "$cache_file"$$ && 16580 mv -f "$cache_file"$$ "$cache_file" ;; #( 16581 *) 16582 mv -f confcache "$cache_file" ;; 16583 esac 16584 fi 16585 fi 16586 else 16587 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16588$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16589 fi 16590fi 16591rm -f confcache 16592 16593test "x$prefix" = xNONE && prefix=$ac_default_prefix 16594# Let make expand exec_prefix. 16595test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 16596 16597DEFS=-DHAVE_CONFIG_H 16598 16599ac_libobjs= 16600ac_ltlibobjs= 16601U= 16602for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16603 # 1. Remove the extension, and $U if already installed. 16604 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16605 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16606 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16607 # will be set to the directory where LIBOBJS objects are built. 16608 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 16609 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16610done 16611LIBOBJS=$ac_libobjs 16612 16613LTLIBOBJS=$ac_ltlibobjs 16614 16615 16616if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 16617 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 16618Usually this means the macro was only invoked conditionally." "$LINENO" 5 16619fi 16620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 16621$as_echo_n "checking that generated files are newer than configure... " >&6; } 16622 if test -n "$am_sleep_pid"; then 16623 # Hide warnings about reused PIDs. 16624 wait $am_sleep_pid 2>/dev/null 16625 fi 16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 16627$as_echo "done" >&6; } 16628 if test -n "$EXEEXT"; then 16629 am__EXEEXT_TRUE= 16630 am__EXEEXT_FALSE='#' 16631else 16632 am__EXEEXT_TRUE='#' 16633 am__EXEEXT_FALSE= 16634fi 16635 16636if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16637 as_fn_error $? "conditional \"AMDEP\" was never defined. 16638Usually this means the macro was only invoked conditionally." "$LINENO" 5 16639fi 16640if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16641 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16642Usually this means the macro was only invoked conditionally." "$LINENO" 5 16643fi 16644if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then 16645 as_fn_error $? "conditional \"USE_VERSION_SCRIPT\" was never defined. 16646Usually this means the macro was only invoked conditionally." "$LINENO" 5 16647fi 16648if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then 16649 as_fn_error $? "conditional \"REBUILD_DOCS\" was never defined. 16650Usually this means the macro was only invoked conditionally." "$LINENO" 5 16651fi 16652if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then 16653 as_fn_error $? "conditional \"WITH_PYTHON\" was never defined. 16654Usually this means the macro was only invoked conditionally." "$LINENO" 5 16655fi 16656if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then 16657 as_fn_error $? "conditional \"WITH_TRIO_SOURCES\" was never defined. 16658Usually this means the macro was only invoked conditionally." "$LINENO" 5 16659fi 16660if test -z "${THREADS_W32_TRUE}" && test -z "${THREADS_W32_FALSE}"; then 16661 as_fn_error $? "conditional \"THREADS_W32\" was never defined. 16662Usually this means the macro was only invoked conditionally." "$LINENO" 5 16663fi 16664if test -z "${WITH_SAX1_SOURCES_TRUE}" && test -z "${WITH_SAX1_SOURCES_FALSE}"; then 16665 as_fn_error $? "conditional \"WITH_SAX1_SOURCES\" was never defined. 16666Usually this means the macro was only invoked conditionally." "$LINENO" 5 16667fi 16668 16669: "${CONFIG_STATUS=./config.status}" 16670ac_write_fail=0 16671ac_clean_files_save=$ac_clean_files 16672ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16673{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16674$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16675as_write_fail=0 16676cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16677#! $SHELL 16678# Generated by $as_me. 16679# Run this file to recreate the current configuration. 16680# Compiler output produced by configure, useful for debugging 16681# configure, is in config.log if it exists. 16682 16683debug=false 16684ac_cs_recheck=false 16685ac_cs_silent=false 16686 16687SHELL=\${CONFIG_SHELL-$SHELL} 16688export SHELL 16689_ASEOF 16690cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 16691## -------------------- ## 16692## M4sh Initialization. ## 16693## -------------------- ## 16694 16695# Be more Bourne compatible 16696DUALCASE=1; export DUALCASE # for MKS sh 16697if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16698 emulate sh 16699 NULLCMD=: 16700 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16701 # is contrary to our usage. Disable this feature. 16702 alias -g '${1+"$@"}'='"$@"' 16703 setopt NO_GLOB_SUBST 16704else 16705 case `(set -o) 2>/dev/null` in #( 16706 *posix*) : 16707 set -o posix ;; #( 16708 *) : 16709 ;; 16710esac 16711fi 16712 16713 16714as_nl=' 16715' 16716export as_nl 16717# Printing a long string crashes Solaris 7 /usr/bin/printf. 16718as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 16719as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 16720as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 16721# Prefer a ksh shell builtin over an external printf program on Solaris, 16722# but without wasting forks for bash or zsh. 16723if test -z "$BASH_VERSION$ZSH_VERSION" \ 16724 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 16725 as_echo='print -r --' 16726 as_echo_n='print -rn --' 16727elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16728 as_echo='printf %s\n' 16729 as_echo_n='printf %s' 16730else 16731 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 16732 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 16733 as_echo_n='/usr/ucb/echo -n' 16734 else 16735 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 16736 as_echo_n_body='eval 16737 arg=$1; 16738 case $arg in #( 16739 *"$as_nl"*) 16740 expr "X$arg" : "X\\(.*\\)$as_nl"; 16741 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 16742 esac; 16743 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 16744 ' 16745 export as_echo_n_body 16746 as_echo_n='sh -c $as_echo_n_body as_echo' 16747 fi 16748 export as_echo_body 16749 as_echo='sh -c $as_echo_body as_echo' 16750fi 16751 16752# The user is always right. 16753if test "${PATH_SEPARATOR+set}" != set; then 16754 PATH_SEPARATOR=: 16755 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 16756 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 16757 PATH_SEPARATOR=';' 16758 } 16759fi 16760 16761 16762# IFS 16763# We need space, tab and new line, in precisely that order. Quoting is 16764# there to prevent editors from complaining about space-tab. 16765# (If _AS_PATH_WALK were called with IFS unset, it would disable word 16766# splitting by setting IFS to empty value.) 16767IFS=" "" $as_nl" 16768 16769# Find who we are. Look in the path if we contain no directory separator. 16770as_myself= 16771case $0 in #(( 16772 *[\\/]* ) as_myself=$0 ;; 16773 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16774for as_dir in $PATH 16775do 16776 IFS=$as_save_IFS 16777 test -z "$as_dir" && as_dir=. 16778 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16779 done 16780IFS=$as_save_IFS 16781 16782 ;; 16783esac 16784# We did not find ourselves, most probably we were run as `sh COMMAND' 16785# in which case we are not to be found in the path. 16786if test "x$as_myself" = x; then 16787 as_myself=$0 16788fi 16789if test ! -f "$as_myself"; then 16790 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16791 exit 1 16792fi 16793 16794# Unset variables that we do not need and which cause bugs (e.g. in 16795# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 16796# suppresses any "Segmentation fault" message there. '((' could 16797# trigger a bug in pdksh 5.2.14. 16798for as_var in BASH_ENV ENV MAIL MAILPATH 16799do eval test x\${$as_var+set} = xset \ 16800 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16801done 16802PS1='$ ' 16803PS2='> ' 16804PS4='+ ' 16805 16806# NLS nuisances. 16807LC_ALL=C 16808export LC_ALL 16809LANGUAGE=C 16810export LANGUAGE 16811 16812# CDPATH. 16813(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16814 16815 16816# as_fn_error STATUS ERROR [LINENO LOG_FD] 16817# ---------------------------------------- 16818# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 16819# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 16820# script with STATUS, using 1 if that was 0. 16821as_fn_error () 16822{ 16823 as_status=$1; test $as_status -eq 0 && as_status=1 16824 if test "$4"; then 16825 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16826 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16827 fi 16828 $as_echo "$as_me: error: $2" >&2 16829 as_fn_exit $as_status 16830} # as_fn_error 16831 16832 16833# as_fn_set_status STATUS 16834# ----------------------- 16835# Set $? to STATUS, without forking. 16836as_fn_set_status () 16837{ 16838 return $1 16839} # as_fn_set_status 16840 16841# as_fn_exit STATUS 16842# ----------------- 16843# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 16844as_fn_exit () 16845{ 16846 set +e 16847 as_fn_set_status $1 16848 exit $1 16849} # as_fn_exit 16850 16851# as_fn_unset VAR 16852# --------------- 16853# Portably unset VAR. 16854as_fn_unset () 16855{ 16856 { eval $1=; unset $1;} 16857} 16858as_unset=as_fn_unset 16859# as_fn_append VAR VALUE 16860# ---------------------- 16861# Append the text in VALUE to the end of the definition contained in VAR. Take 16862# advantage of any shell optimizations that allow amortized linear growth over 16863# repeated appends, instead of the typical quadratic growth present in naive 16864# implementations. 16865if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 16866 eval 'as_fn_append () 16867 { 16868 eval $1+=\$2 16869 }' 16870else 16871 as_fn_append () 16872 { 16873 eval $1=\$$1\$2 16874 } 16875fi # as_fn_append 16876 16877# as_fn_arith ARG... 16878# ------------------ 16879# Perform arithmetic evaluation on the ARGs, and store the result in the 16880# global $as_val. Take advantage of shells that can avoid forks. The arguments 16881# must be portable across $(()) and expr. 16882if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 16883 eval 'as_fn_arith () 16884 { 16885 as_val=$(( $* )) 16886 }' 16887else 16888 as_fn_arith () 16889 { 16890 as_val=`expr "$@" || test $? -eq 1` 16891 } 16892fi # as_fn_arith 16893 16894 16895if expr a : '\(a\)' >/dev/null 2>&1 && 16896 test "X`expr 00001 : '.*\(...\)'`" = X001; then 16897 as_expr=expr 16898else 16899 as_expr=false 16900fi 16901 16902if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 16903 as_basename=basename 16904else 16905 as_basename=false 16906fi 16907 16908if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16909 as_dirname=dirname 16910else 16911 as_dirname=false 16912fi 16913 16914as_me=`$as_basename -- "$0" || 16915$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16916 X"$0" : 'X\(//\)$' \| \ 16917 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16918$as_echo X/"$0" | 16919 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16920 s//\1/ 16921 q 16922 } 16923 /^X\/\(\/\/\)$/{ 16924 s//\1/ 16925 q 16926 } 16927 /^X\/\(\/\).*/{ 16928 s//\1/ 16929 q 16930 } 16931 s/.*/./; q'` 16932 16933# Avoid depending upon Character Ranges. 16934as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16935as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16936as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16937as_cr_digits='0123456789' 16938as_cr_alnum=$as_cr_Letters$as_cr_digits 16939 16940ECHO_C= ECHO_N= ECHO_T= 16941case `echo -n x` in #((((( 16942-n*) 16943 case `echo 'xy\c'` in 16944 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16945 xy) ECHO_C='\c';; 16946 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 16947 ECHO_T=' ';; 16948 esac;; 16949*) 16950 ECHO_N='-n';; 16951esac 16952 16953rm -f conf$$ conf$$.exe conf$$.file 16954if test -d conf$$.dir; then 16955 rm -f conf$$.dir/conf$$.file 16956else 16957 rm -f conf$$.dir 16958 mkdir conf$$.dir 2>/dev/null 16959fi 16960if (echo >conf$$.file) 2>/dev/null; then 16961 if ln -s conf$$.file conf$$ 2>/dev/null; then 16962 as_ln_s='ln -s' 16963 # ... but there are two gotchas: 16964 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16965 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16966 # In both cases, we have to default to `cp -pR'. 16967 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 16968 as_ln_s='cp -pR' 16969 elif ln conf$$.file conf$$ 2>/dev/null; then 16970 as_ln_s=ln 16971 else 16972 as_ln_s='cp -pR' 16973 fi 16974else 16975 as_ln_s='cp -pR' 16976fi 16977rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 16978rmdir conf$$.dir 2>/dev/null 16979 16980 16981# as_fn_mkdir_p 16982# ------------- 16983# Create "$as_dir" as a directory, including parents if necessary. 16984as_fn_mkdir_p () 16985{ 16986 16987 case $as_dir in #( 16988 -*) as_dir=./$as_dir;; 16989 esac 16990 test -d "$as_dir" || eval $as_mkdir_p || { 16991 as_dirs= 16992 while :; do 16993 case $as_dir in #( 16994 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16995 *) as_qdir=$as_dir;; 16996 esac 16997 as_dirs="'$as_qdir' $as_dirs" 16998 as_dir=`$as_dirname -- "$as_dir" || 16999$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17000 X"$as_dir" : 'X\(//\)[^/]' \| \ 17001 X"$as_dir" : 'X\(//\)$' \| \ 17002 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17003$as_echo X"$as_dir" | 17004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17005 s//\1/ 17006 q 17007 } 17008 /^X\(\/\/\)[^/].*/{ 17009 s//\1/ 17010 q 17011 } 17012 /^X\(\/\/\)$/{ 17013 s//\1/ 17014 q 17015 } 17016 /^X\(\/\).*/{ 17017 s//\1/ 17018 q 17019 } 17020 s/.*/./; q'` 17021 test -d "$as_dir" && break 17022 done 17023 test -z "$as_dirs" || eval "mkdir $as_dirs" 17024 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 17025 17026 17027} # as_fn_mkdir_p 17028if mkdir -p . 2>/dev/null; then 17029 as_mkdir_p='mkdir -p "$as_dir"' 17030else 17031 test -d ./-p && rmdir ./-p 17032 as_mkdir_p=false 17033fi 17034 17035 17036# as_fn_executable_p FILE 17037# ----------------------- 17038# Test if FILE is an executable regular file. 17039as_fn_executable_p () 17040{ 17041 test -f "$1" && test -x "$1" 17042} # as_fn_executable_p 17043as_test_x='test -x' 17044as_executable_p=as_fn_executable_p 17045 17046# Sed expression to map a string onto a valid CPP name. 17047as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17048 17049# Sed expression to map a string onto a valid variable name. 17050as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17051 17052 17053exec 6>&1 17054## ----------------------------------- ## 17055## Main body of $CONFIG_STATUS script. ## 17056## ----------------------------------- ## 17057_ASEOF 17058test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17059 17060cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17061# Save the log message, to keep $0 and so on meaningful, and to 17062# report actual input values of CONFIG_FILES etc. instead of their 17063# values after options handling. 17064ac_log=" 17065This file was extended by libxml2 $as_me 2.9.12, which was 17066generated by GNU Autoconf 2.69. Invocation command line was 17067 17068 CONFIG_FILES = $CONFIG_FILES 17069 CONFIG_HEADERS = $CONFIG_HEADERS 17070 CONFIG_LINKS = $CONFIG_LINKS 17071 CONFIG_COMMANDS = $CONFIG_COMMANDS 17072 $ $0 $@ 17073 17074on `(hostname || uname -n) 2>/dev/null | sed 1q` 17075" 17076 17077_ACEOF 17078 17079case $ac_config_files in *" 17080"*) set x $ac_config_files; shift; ac_config_files=$*;; 17081esac 17082 17083case $ac_config_headers in *" 17084"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17085esac 17086 17087 17088cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17089# Files that config.status was made for. 17090config_files="$ac_config_files" 17091config_headers="$ac_config_headers" 17092config_commands="$ac_config_commands" 17093 17094_ACEOF 17095 17096cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17097ac_cs_usage="\ 17098\`$as_me' instantiates files and other configuration actions 17099from templates according to the current configuration. Unless the files 17100and actions are specified as TAGs, all are instantiated by default. 17101 17102Usage: $0 [OPTION]... [TAG]... 17103 17104 -h, --help print this help, then exit 17105 -V, --version print version number and configuration settings, then exit 17106 --config print configuration, then exit 17107 -q, --quiet, --silent 17108 do not print progress messages 17109 -d, --debug don't remove temporary files 17110 --recheck update $as_me by reconfiguring in the same conditions 17111 --file=FILE[:TEMPLATE] 17112 instantiate the configuration file FILE 17113 --header=FILE[:TEMPLATE] 17114 instantiate the configuration header FILE 17115 17116Configuration files: 17117$config_files 17118 17119Configuration headers: 17120$config_headers 17121 17122Configuration commands: 17123$config_commands 17124 17125Report bugs to the package provider." 17126 17127_ACEOF 17128cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17129ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17130ac_cs_version="\\ 17131libxml2 config.status 2.9.12 17132configured by $0, generated by GNU Autoconf 2.69, 17133 with options \\"\$ac_cs_config\\" 17134 17135Copyright (C) 2012 Free Software Foundation, Inc. 17136This config.status script is free software; the Free Software Foundation 17137gives unlimited permission to copy, distribute and modify it." 17138 17139ac_pwd='$ac_pwd' 17140srcdir='$srcdir' 17141INSTALL='$INSTALL' 17142MKDIR_P='$MKDIR_P' 17143AWK='$AWK' 17144test -n "\$AWK" || AWK=awk 17145_ACEOF 17146 17147cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17148# The default lists apply if the user does not specify any file. 17149ac_need_defaults=: 17150while test $# != 0 17151do 17152 case $1 in 17153 --*=?*) 17154 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17155 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17156 ac_shift=: 17157 ;; 17158 --*=) 17159 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17160 ac_optarg= 17161 ac_shift=: 17162 ;; 17163 *) 17164 ac_option=$1 17165 ac_optarg=$2 17166 ac_shift=shift 17167 ;; 17168 esac 17169 17170 case $ac_option in 17171 # Handling of the options. 17172 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17173 ac_cs_recheck=: ;; 17174 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17175 $as_echo "$ac_cs_version"; exit ;; 17176 --config | --confi | --conf | --con | --co | --c ) 17177 $as_echo "$ac_cs_config"; exit ;; 17178 --debug | --debu | --deb | --de | --d | -d ) 17179 debug=: ;; 17180 --file | --fil | --fi | --f ) 17181 $ac_shift 17182 case $ac_optarg in 17183 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17184 '') as_fn_error $? "missing file argument" ;; 17185 esac 17186 as_fn_append CONFIG_FILES " '$ac_optarg'" 17187 ac_need_defaults=false;; 17188 --header | --heade | --head | --hea ) 17189 $ac_shift 17190 case $ac_optarg in 17191 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17192 esac 17193 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17194 ac_need_defaults=false;; 17195 --he | --h) 17196 # Conflict between --help and --header 17197 as_fn_error $? "ambiguous option: \`$1' 17198Try \`$0 --help' for more information.";; 17199 --help | --hel | -h ) 17200 $as_echo "$ac_cs_usage"; exit ;; 17201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17202 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17203 ac_cs_silent=: ;; 17204 17205 # This is an error. 17206 -*) as_fn_error $? "unrecognized option: \`$1' 17207Try \`$0 --help' for more information." ;; 17208 17209 *) as_fn_append ac_config_targets " $1" 17210 ac_need_defaults=false ;; 17211 17212 esac 17213 shift 17214done 17215 17216ac_configure_extra_args= 17217 17218if $ac_cs_silent; then 17219 exec 6>/dev/null 17220 ac_configure_extra_args="$ac_configure_extra_args --silent" 17221fi 17222 17223_ACEOF 17224cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17225if \$ac_cs_recheck; then 17226 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17227 shift 17228 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17229 CONFIG_SHELL='$SHELL' 17230 export CONFIG_SHELL 17231 exec "\$@" 17232fi 17233 17234_ACEOF 17235cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17236exec 5>>config.log 17237{ 17238 echo 17239 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17240## Running $as_me. ## 17241_ASBOX 17242 $as_echo "$ac_log" 17243} >&5 17244 17245_ACEOF 17246cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17247# 17248# INIT-COMMANDS 17249# 17250AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 17251 17252 17253# The HP-UX ksh and POSIX shell print the target directory to stdout 17254# if CDPATH is set. 17255(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17256 17257sed_quote_subst='$sed_quote_subst' 17258double_quote_subst='$double_quote_subst' 17259delay_variable_subst='$delay_variable_subst' 17260macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17261macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17262enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17263enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17264pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17265enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 17266shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 17267SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 17268ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 17269PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 17270host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 17271host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 17272host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 17273build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 17274build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 17275build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 17276SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 17277Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 17278GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 17279EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 17280FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 17281LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 17282NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 17283LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 17284max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 17285ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 17286exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 17287lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 17288lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 17289lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 17290lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 17291lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 17292reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 17293reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 17294OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 17295deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 17296file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 17297file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 17298want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 17299DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 17300sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 17301AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 17302AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 17303archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 17304STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 17305RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 17306old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17307old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17308old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 17309lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 17310CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 17311CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 17312compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 17313GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 17314lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 17315lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 17316lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 17317lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 17318lt_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"`' 17319lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 17320nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 17321lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 17322lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 17323objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 17324MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 17325lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 17326lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 17327lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 17328lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 17329lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 17330need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 17331MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 17332DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 17333NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 17334LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 17335OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 17336OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 17337libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 17338shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 17339extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17340archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 17341enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 17342export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 17343whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 17344compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 17345old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 17346old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17347archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 17348archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17349module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 17350module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17351with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 17352allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 17353no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 17354hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 17355hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 17356hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 17357hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 17358hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 17359hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 17360hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 17361inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 17362link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 17363always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 17364export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 17365exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 17366include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 17367prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 17368postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 17369file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 17370variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 17371need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 17372need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 17373version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 17374runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 17375shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 17376shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 17377libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 17378library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 17379soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 17380install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 17381postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17382postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17383finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 17384finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 17385hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 17386sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 17387configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 17388configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 17389hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 17390enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 17391enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 17392enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 17393old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 17394striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 17395 17396LTCC='$LTCC' 17397LTCFLAGS='$LTCFLAGS' 17398compiler='$compiler_DEFAULT' 17399 17400# A function that is used when there is no print builtin or printf. 17401func_fallback_echo () 17402{ 17403 eval 'cat <<_LTECHO_EOF 17404\$1 17405_LTECHO_EOF' 17406} 17407 17408# Quote evaled strings. 17409for var in SHELL \ 17410ECHO \ 17411PATH_SEPARATOR \ 17412SED \ 17413GREP \ 17414EGREP \ 17415FGREP \ 17416LD \ 17417NM \ 17418LN_S \ 17419lt_SP2NL \ 17420lt_NL2SP \ 17421reload_flag \ 17422OBJDUMP \ 17423deplibs_check_method \ 17424file_magic_cmd \ 17425file_magic_glob \ 17426want_nocaseglob \ 17427DLLTOOL \ 17428sharedlib_from_linklib_cmd \ 17429AR \ 17430AR_FLAGS \ 17431archiver_list_spec \ 17432STRIP \ 17433RANLIB \ 17434CC \ 17435CFLAGS \ 17436compiler \ 17437lt_cv_sys_global_symbol_pipe \ 17438lt_cv_sys_global_symbol_to_cdecl \ 17439lt_cv_sys_global_symbol_to_import \ 17440lt_cv_sys_global_symbol_to_c_name_address \ 17441lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 17442lt_cv_nm_interface \ 17443nm_file_list_spec \ 17444lt_cv_truncate_bin \ 17445lt_prog_compiler_no_builtin_flag \ 17446lt_prog_compiler_pic \ 17447lt_prog_compiler_wl \ 17448lt_prog_compiler_static \ 17449lt_cv_prog_compiler_c_o \ 17450need_locks \ 17451MANIFEST_TOOL \ 17452DSYMUTIL \ 17453NMEDIT \ 17454LIPO \ 17455OTOOL \ 17456OTOOL64 \ 17457shrext_cmds \ 17458export_dynamic_flag_spec \ 17459whole_archive_flag_spec \ 17460compiler_needs_object \ 17461with_gnu_ld \ 17462allow_undefined_flag \ 17463no_undefined_flag \ 17464hardcode_libdir_flag_spec \ 17465hardcode_libdir_separator \ 17466exclude_expsyms \ 17467include_expsyms \ 17468file_list_spec \ 17469variables_saved_for_relink \ 17470libname_spec \ 17471library_names_spec \ 17472soname_spec \ 17473install_override_mode \ 17474finish_eval \ 17475old_striplib \ 17476striplib; do 17477 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17478 *[\\\\\\\`\\"\\\$]*) 17479 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 17480 ;; 17481 *) 17482 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17483 ;; 17484 esac 17485done 17486 17487# Double-quote double-evaled strings. 17488for var in reload_cmds \ 17489old_postinstall_cmds \ 17490old_postuninstall_cmds \ 17491old_archive_cmds \ 17492extract_expsyms_cmds \ 17493old_archive_from_new_cmds \ 17494old_archive_from_expsyms_cmds \ 17495archive_cmds \ 17496archive_expsym_cmds \ 17497module_cmds \ 17498module_expsym_cmds \ 17499export_symbols_cmds \ 17500prelink_cmds \ 17501postlink_cmds \ 17502postinstall_cmds \ 17503postuninstall_cmds \ 17504finish_cmds \ 17505sys_lib_search_path_spec \ 17506configure_time_dlsearch_path \ 17507configure_time_lt_sys_library_path; do 17508 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17509 *[\\\\\\\`\\"\\\$]*) 17510 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 17511 ;; 17512 *) 17513 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17514 ;; 17515 esac 17516done 17517 17518ac_aux_dir='$ac_aux_dir' 17519 17520# See if we are running on zsh, and set the options that allow our 17521# commands through without removal of \ escapes INIT. 17522if test -n "\${ZSH_VERSION+set}"; then 17523 setopt NO_GLOB_SUBST 17524fi 17525 17526 17527 PACKAGE='$PACKAGE' 17528 VERSION='$VERSION' 17529 RM='$RM' 17530 ofile='$ofile' 17531 17532 17533 17534 17535_ACEOF 17536 17537cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17538 17539# Handling of arguments. 17540for ac_config_target in $ac_config_targets 17541do 17542 case $ac_config_target in 17543 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 17544 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 17545 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 17546 "libxml2.spec") CONFIG_FILES="$CONFIG_FILES libxml2.spec:libxml.spec.in" ;; 17547 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17548 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 17549 "include/libxml/Makefile") CONFIG_FILES="$CONFIG_FILES include/libxml/Makefile" ;; 17550 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 17551 "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;; 17552 "doc/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES doc/devhelp/Makefile" ;; 17553 "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;; 17554 "fuzz/Makefile") CONFIG_FILES="$CONFIG_FILES fuzz/Makefile" ;; 17555 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; 17556 "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;; 17557 "xstc/Makefile") CONFIG_FILES="$CONFIG_FILES xstc/Makefile" ;; 17558 "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xmlversion.h" ;; 17559 "libxml-2.0.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0.pc" ;; 17560 "libxml-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0-uninstalled.pc" ;; 17561 "libxml2-config.cmake") CONFIG_FILES="$CONFIG_FILES libxml2-config.cmake" ;; 17562 "python/setup.py") CONFIG_FILES="$CONFIG_FILES python/setup.py" ;; 17563 "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;; 17564 17565 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17566 esac 17567done 17568 17569 17570# If the user did not use the arguments to specify the items to instantiate, 17571# then the envvar interface is used. Set only those that are not. 17572# We use the long form for the default assignment because of an extremely 17573# bizarre bug on SunOS 4.1.3. 17574if $ac_need_defaults; then 17575 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 17576 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 17577 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 17578fi 17579 17580# Have a temporary directory for convenience. Make it in the build tree 17581# simply because there is no reason against having it here, and in addition, 17582# creating and moving files from /tmp can sometimes cause problems. 17583# Hook for its removal unless debugging. 17584# Note that there is a small window in which the directory will not be cleaned: 17585# after its creation but before its name has been assigned to `$tmp'. 17586$debug || 17587{ 17588 tmp= ac_tmp= 17589 trap 'exit_status=$? 17590 : "${ac_tmp:=$tmp}" 17591 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17592' 0 17593 trap 'as_fn_exit 1' 1 2 13 15 17594} 17595# Create a (secure) tmp directory for tmp files. 17596 17597{ 17598 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17599 test -d "$tmp" 17600} || 17601{ 17602 tmp=./conf$$-$RANDOM 17603 (umask 077 && mkdir "$tmp") 17604} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 17605ac_tmp=$tmp 17606 17607# Set up the scripts for CONFIG_FILES section. 17608# No need to generate them if there are no CONFIG_FILES. 17609# This happens for instance with `./config.status config.h'. 17610if test -n "$CONFIG_FILES"; then 17611 17612 17613ac_cr=`echo X | tr X '\015'` 17614# On cygwin, bash can eat \r inside `` if the user requested igncr. 17615# But we know of no other shell where ac_cr would be empty at this 17616# point, so we can use a bashism as a fallback. 17617if test "x$ac_cr" = x; then 17618 eval ac_cr=\$\'\\r\' 17619fi 17620ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17621if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 17622 ac_cs_awk_cr='\\r' 17623else 17624 ac_cs_awk_cr=$ac_cr 17625fi 17626 17627echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 17628_ACEOF 17629 17630 17631{ 17632 echo "cat >conf$$subs.awk <<_ACEOF" && 17633 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17634 echo "_ACEOF" 17635} >conf$$subs.sh || 17636 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17637ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17638ac_delim='%!_!# ' 17639for ac_last_try in false false false false false :; do 17640 . ./conf$$subs.sh || 17641 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17642 17643 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17644 if test $ac_delim_n = $ac_delim_num; then 17645 break 17646 elif $ac_last_try; then 17647 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17648 else 17649 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17650 fi 17651done 17652rm -f conf$$subs.sh 17653 17654cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17655cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17656_ACEOF 17657sed -n ' 17658h 17659s/^/S["/; s/!.*/"]=/ 17660p 17661g 17662s/^[^!]*!// 17663:repl 17664t repl 17665s/'"$ac_delim"'$// 17666t delim 17667:nl 17668h 17669s/\(.\{148\}\)..*/\1/ 17670t more1 17671s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 17672p 17673n 17674b repl 17675:more1 17676s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17677p 17678g 17679s/.\{148\}// 17680t nl 17681:delim 17682h 17683s/\(.\{148\}\)..*/\1/ 17684t more2 17685s/["\\]/\\&/g; s/^/"/; s/$/"/ 17686p 17687b 17688:more2 17689s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17690p 17691g 17692s/.\{148\}// 17693t delim 17694' <conf$$subs.awk | sed ' 17695/^[^""]/{ 17696 N 17697 s/\n// 17698} 17699' >>$CONFIG_STATUS || ac_write_fail=1 17700rm -f conf$$subs.awk 17701cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17702_ACAWK 17703cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17704 for (key in S) S_is_set[key] = 1 17705 FS = "" 17706 17707} 17708{ 17709 line = $ 0 17710 nfields = split(line, field, "@") 17711 substed = 0 17712 len = length(field[1]) 17713 for (i = 2; i < nfields; i++) { 17714 key = field[i] 17715 keylen = length(key) 17716 if (S_is_set[key]) { 17717 value = S[key] 17718 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 17719 len += length(value) + length(field[++i]) 17720 substed = 1 17721 } else 17722 len += 1 + keylen 17723 } 17724 17725 print line 17726} 17727 17728_ACAWK 17729_ACEOF 17730cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17731if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17732 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17733else 17734 cat 17735fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 17736 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17737_ACEOF 17738 17739# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17740# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17741# trailing colons and then remove the whole line if VPATH becomes empty 17742# (actually we leave an empty line to preserve line numbers). 17743if test "x$srcdir" = x.; then 17744 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 17745h 17746s/// 17747s/^/:/ 17748s/[ ]*$/:/ 17749s/:\$(srcdir):/:/g 17750s/:\${srcdir}:/:/g 17751s/:@srcdir@:/:/g 17752s/^:*// 17753s/:*$// 17754x 17755s/\(=[ ]*\).*/\1/ 17756G 17757s/\n// 17758s/^[^=]*=[ ]*$// 17759}' 17760fi 17761 17762cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17763fi # test -n "$CONFIG_FILES" 17764 17765# Set up the scripts for CONFIG_HEADERS section. 17766# No need to generate them if there are no CONFIG_HEADERS. 17767# This happens for instance with `./config.status Makefile'. 17768if test -n "$CONFIG_HEADERS"; then 17769cat >"$ac_tmp/defines.awk" <<\_ACAWK || 17770BEGIN { 17771_ACEOF 17772 17773# Transform confdefs.h into an awk script `defines.awk', embedded as 17774# here-document in config.status, that substitutes the proper values into 17775# config.h.in to produce config.h. 17776 17777# Create a delimiter string that does not exist in confdefs.h, to ease 17778# handling of long lines. 17779ac_delim='%!_!# ' 17780for ac_last_try in false false :; do 17781 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 17782 if test -z "$ac_tt"; then 17783 break 17784 elif $ac_last_try; then 17785 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17786 else 17787 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17788 fi 17789done 17790 17791# For the awk script, D is an array of macro values keyed by name, 17792# likewise P contains macro parameters if any. Preserve backslash 17793# newline sequences. 17794 17795ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 17796sed -n ' 17797s/.\{148\}/&'"$ac_delim"'/g 17798t rset 17799:rset 17800s/^[ ]*#[ ]*define[ ][ ]*/ / 17801t def 17802d 17803:def 17804s/\\$// 17805t bsnl 17806s/["\\]/\\&/g 17807s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17808D["\1"]=" \3"/p 17809s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 17810d 17811:bsnl 17812s/["\\]/\\&/g 17813s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17814D["\1"]=" \3\\\\\\n"\\/p 17815t cont 17816s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 17817t cont 17818d 17819:cont 17820n 17821s/.\{148\}/&'"$ac_delim"'/g 17822t clear 17823:clear 17824s/\\$// 17825t bsnlc 17826s/["\\]/\\&/g; s/^/"/; s/$/"/p 17827d 17828:bsnlc 17829s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 17830b cont 17831' <confdefs.h | sed ' 17832s/'"$ac_delim"'/"\\\ 17833"/g' >>$CONFIG_STATUS || ac_write_fail=1 17834 17835cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17836 for (key in D) D_is_set[key] = 1 17837 FS = "" 17838} 17839/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 17840 line = \$ 0 17841 split(line, arg, " ") 17842 if (arg[1] == "#") { 17843 defundef = arg[2] 17844 mac1 = arg[3] 17845 } else { 17846 defundef = substr(arg[1], 2) 17847 mac1 = arg[2] 17848 } 17849 split(mac1, mac2, "(") #) 17850 macro = mac2[1] 17851 prefix = substr(line, 1, index(line, defundef) - 1) 17852 if (D_is_set[macro]) { 17853 # Preserve the white space surrounding the "#". 17854 print prefix "define", macro P[macro] D[macro] 17855 next 17856 } else { 17857 # Replace #undef with comments. This is necessary, for example, 17858 # in the case of _POSIX_SOURCE, which is predefined and required 17859 # on some systems where configure will not decide to define it. 17860 if (defundef == "undef") { 17861 print "/*", prefix defundef, macro, "*/" 17862 next 17863 } 17864 } 17865} 17866{ print } 17867_ACAWK 17868_ACEOF 17869cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17870 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17871fi # test -n "$CONFIG_HEADERS" 17872 17873 17874eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 17875shift 17876for ac_tag 17877do 17878 case $ac_tag in 17879 :[FHLC]) ac_mode=$ac_tag; continue;; 17880 esac 17881 case $ac_mode$ac_tag in 17882 :[FHL]*:*);; 17883 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17884 :[FH]-) ac_tag=-:-;; 17885 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17886 esac 17887 ac_save_IFS=$IFS 17888 IFS=: 17889 set x $ac_tag 17890 IFS=$ac_save_IFS 17891 shift 17892 ac_file=$1 17893 shift 17894 17895 case $ac_mode in 17896 :L) ac_source=$1;; 17897 :[FH]) 17898 ac_file_inputs= 17899 for ac_f 17900 do 17901 case $ac_f in 17902 -) ac_f="$ac_tmp/stdin";; 17903 *) # Look for the file first in the build tree, then in the source tree 17904 # (if the path is not absolute). The absolute path cannot be DOS-style, 17905 # because $ac_f cannot contain `:'. 17906 test -f "$ac_f" || 17907 case $ac_f in 17908 [\\/$]*) false;; 17909 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17910 esac || 17911 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17912 esac 17913 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17914 as_fn_append ac_file_inputs " '$ac_f'" 17915 done 17916 17917 # Let's still pretend it is `configure' which instantiates (i.e., don't 17918 # use $as_me), people would be surprised to read: 17919 # /* config.h. Generated by config.status. */ 17920 configure_input='Generated from '` 17921 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 17922 `' by configure.' 17923 if test x"$ac_file" != x-; then 17924 configure_input="$ac_file. $configure_input" 17925 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 17926$as_echo "$as_me: creating $ac_file" >&6;} 17927 fi 17928 # Neutralize special characters interpreted by sed in replacement strings. 17929 case $configure_input in #( 17930 *\&* | *\|* | *\\* ) 17931 ac_sed_conf_input=`$as_echo "$configure_input" | 17932 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17933 *) ac_sed_conf_input=$configure_input;; 17934 esac 17935 17936 case $ac_tag in 17937 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 17938 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17939 esac 17940 ;; 17941 esac 17942 17943 ac_dir=`$as_dirname -- "$ac_file" || 17944$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17945 X"$ac_file" : 'X\(//\)[^/]' \| \ 17946 X"$ac_file" : 'X\(//\)$' \| \ 17947 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17948$as_echo X"$ac_file" | 17949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17950 s//\1/ 17951 q 17952 } 17953 /^X\(\/\/\)[^/].*/{ 17954 s//\1/ 17955 q 17956 } 17957 /^X\(\/\/\)$/{ 17958 s//\1/ 17959 q 17960 } 17961 /^X\(\/\).*/{ 17962 s//\1/ 17963 q 17964 } 17965 s/.*/./; q'` 17966 as_dir="$ac_dir"; as_fn_mkdir_p 17967 ac_builddir=. 17968 17969case "$ac_dir" in 17970.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17971*) 17972 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17973 # A ".." for each directory in $ac_dir_suffix. 17974 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17975 case $ac_top_builddir_sub in 17976 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 17977 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 17978 esac ;; 17979esac 17980ac_abs_top_builddir=$ac_pwd 17981ac_abs_builddir=$ac_pwd$ac_dir_suffix 17982# for backward compatibility: 17983ac_top_builddir=$ac_top_build_prefix 17984 17985case $srcdir in 17986 .) # We are building in place. 17987 ac_srcdir=. 17988 ac_top_srcdir=$ac_top_builddir_sub 17989 ac_abs_top_srcdir=$ac_pwd ;; 17990 [\\/]* | ?:[\\/]* ) # Absolute name. 17991 ac_srcdir=$srcdir$ac_dir_suffix; 17992 ac_top_srcdir=$srcdir 17993 ac_abs_top_srcdir=$srcdir ;; 17994 *) # Relative name. 17995 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 17996 ac_top_srcdir=$ac_top_build_prefix$srcdir 17997 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 17998esac 17999ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 18000 18001 18002 case $ac_mode in 18003 :F) 18004 # 18005 # CONFIG_FILE 18006 # 18007 18008 case $INSTALL in 18009 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18010 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 18011 esac 18012 ac_MKDIR_P=$MKDIR_P 18013 case $MKDIR_P in 18014 [\\/$]* | ?:[\\/]* ) ;; 18015 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 18016 esac 18017_ACEOF 18018 18019cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18020# If the template does not know about datarootdir, expand it. 18021# FIXME: This hack should be removed a few years after 2.60. 18022ac_datarootdir_hack=; ac_datarootdir_seen= 18023ac_sed_dataroot=' 18024/datarootdir/ { 18025 p 18026 q 18027} 18028/@datadir@/p 18029/@docdir@/p 18030/@infodir@/p 18031/@localedir@/p 18032/@mandir@/p' 18033case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 18034*datarootdir*) ac_datarootdir_seen=yes;; 18035*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 18036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 18037$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 18038_ACEOF 18039cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18040 ac_datarootdir_hack=' 18041 s&@datadir@&$datadir&g 18042 s&@docdir@&$docdir&g 18043 s&@infodir@&$infodir&g 18044 s&@localedir@&$localedir&g 18045 s&@mandir@&$mandir&g 18046 s&\\\${datarootdir}&$datarootdir&g' ;; 18047esac 18048_ACEOF 18049 18050# Neutralize VPATH when `$srcdir' = `.'. 18051# Shell code in configure.ac might set extrasub. 18052# FIXME: do we really want to maintain this feature? 18053cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18054ac_sed_extra="$ac_vpsub 18055$extrasub 18056_ACEOF 18057cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18058:t 18059/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18060s|@configure_input@|$ac_sed_conf_input|;t t 18061s&@top_builddir@&$ac_top_builddir_sub&;t t 18062s&@top_build_prefix@&$ac_top_build_prefix&;t t 18063s&@srcdir@&$ac_srcdir&;t t 18064s&@abs_srcdir@&$ac_abs_srcdir&;t t 18065s&@top_srcdir@&$ac_top_srcdir&;t t 18066s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18067s&@builddir@&$ac_builddir&;t t 18068s&@abs_builddir@&$ac_abs_builddir&;t t 18069s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18070s&@INSTALL@&$ac_INSTALL&;t t 18071s&@MKDIR_P@&$ac_MKDIR_P&;t t 18072$ac_datarootdir_hack 18073" 18074eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18075 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18076 18077test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18078 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18079 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18080 "$ac_tmp/out"`; test -z "$ac_out"; } && 18081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18082which seems to be undefined. Please make sure it is defined" >&5 18083$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18084which seems to be undefined. Please make sure it is defined" >&2;} 18085 18086 rm -f "$ac_tmp/stdin" 18087 case $ac_file in 18088 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18089 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18090 esac \ 18091 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18092 ;; 18093 :H) 18094 # 18095 # CONFIG_HEADER 18096 # 18097 if test x"$ac_file" != x-; then 18098 { 18099 $as_echo "/* $configure_input */" \ 18100 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18101 } >"$ac_tmp/config.h" \ 18102 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18103 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18104 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18105$as_echo "$as_me: $ac_file is unchanged" >&6;} 18106 else 18107 rm -f "$ac_file" 18108 mv "$ac_tmp/config.h" "$ac_file" \ 18109 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18110 fi 18111 else 18112 $as_echo "/* $configure_input */" \ 18113 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18114 || as_fn_error $? "could not create -" "$LINENO" 5 18115 fi 18116# Compute "$ac_file"'s index in $config_headers. 18117_am_arg="$ac_file" 18118_am_stamp_count=1 18119for _am_header in $config_headers :; do 18120 case $_am_header in 18121 $_am_arg | $_am_arg:* ) 18122 break ;; 18123 * ) 18124 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18125 esac 18126done 18127echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18128$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18129 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18130 X"$_am_arg" : 'X\(//\)$' \| \ 18131 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18132$as_echo X"$_am_arg" | 18133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18134 s//\1/ 18135 q 18136 } 18137 /^X\(\/\/\)[^/].*/{ 18138 s//\1/ 18139 q 18140 } 18141 /^X\(\/\/\)$/{ 18142 s//\1/ 18143 q 18144 } 18145 /^X\(\/\).*/{ 18146 s//\1/ 18147 q 18148 } 18149 s/.*/./; q'`/stamp-h$_am_stamp_count 18150 ;; 18151 18152 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18153$as_echo "$as_me: executing $ac_file commands" >&6;} 18154 ;; 18155 esac 18156 18157 18158 case $ac_file$ac_mode in 18159 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18160 # Older Autoconf quotes --file arguments for eval, but not when files 18161 # are listed without --file. Let's play safe and only enable the eval 18162 # if we detect the quoting. 18163 # TODO: see whether this extra hack can be removed once we start 18164 # requiring Autoconf 2.70 or later. 18165 case $CONFIG_FILES in #( 18166 *\'*) : 18167 eval set x "$CONFIG_FILES" ;; #( 18168 *) : 18169 set x $CONFIG_FILES ;; #( 18170 *) : 18171 ;; 18172esac 18173 shift 18174 # Used to flag and report bootstrapping failures. 18175 am_rc=0 18176 for am_mf 18177 do 18178 # Strip MF so we end up with the name of the file. 18179 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 18180 # Check whether this is an Automake generated Makefile which includes 18181 # dependency-tracking related rules and includes. 18182 # Grep'ing the whole file directly is not great: AIX grep has a line 18183 # limit of 2048, but all sed's we know have understand at least 4000. 18184 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 18185 || continue 18186 am_dirpart=`$as_dirname -- "$am_mf" || 18187$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18188 X"$am_mf" : 'X\(//\)[^/]' \| \ 18189 X"$am_mf" : 'X\(//\)$' \| \ 18190 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 18191$as_echo X"$am_mf" | 18192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18193 s//\1/ 18194 q 18195 } 18196 /^X\(\/\/\)[^/].*/{ 18197 s//\1/ 18198 q 18199 } 18200 /^X\(\/\/\)$/{ 18201 s//\1/ 18202 q 18203 } 18204 /^X\(\/\).*/{ 18205 s//\1/ 18206 q 18207 } 18208 s/.*/./; q'` 18209 am_filepart=`$as_basename -- "$am_mf" || 18210$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 18211 X"$am_mf" : 'X\(//\)$' \| \ 18212 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 18213$as_echo X/"$am_mf" | 18214 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18215 s//\1/ 18216 q 18217 } 18218 /^X\/\(\/\/\)$/{ 18219 s//\1/ 18220 q 18221 } 18222 /^X\/\(\/\).*/{ 18223 s//\1/ 18224 q 18225 } 18226 s/.*/./; q'` 18227 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 18228 && sed -e '/# am--include-marker/d' "$am_filepart" \ 18229 | $MAKE -f - am--depfiles" >&5 18230 (cd "$am_dirpart" \ 18231 && sed -e '/# am--include-marker/d' "$am_filepart" \ 18232 | $MAKE -f - am--depfiles) >&5 2>&5 18233 ac_status=$? 18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18235 (exit $ac_status); } || am_rc=$? 18236 done 18237 if test $am_rc -ne 0; then 18238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18239$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18240as_fn_error $? "Something went wrong bootstrapping makefile fragments 18241 for automatic dependency tracking. Try re-running configure with the 18242 '--disable-dependency-tracking' option to at least be able to build 18243 the package (albeit without support for automatic dependency tracking). 18244See \`config.log' for more details" "$LINENO" 5; } 18245 fi 18246 { am_dirpart=; unset am_dirpart;} 18247 { am_filepart=; unset am_filepart;} 18248 { am_mf=; unset am_mf;} 18249 { am_rc=; unset am_rc;} 18250 rm -f conftest-deps.mk 18251} 18252 ;; 18253 "libtool":C) 18254 18255 # See if we are running on zsh, and set the options that allow our 18256 # commands through without removal of \ escapes. 18257 if test -n "${ZSH_VERSION+set}"; then 18258 setopt NO_GLOB_SUBST 18259 fi 18260 18261 cfgfile=${ofile}T 18262 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 18263 $RM "$cfgfile" 18264 18265 cat <<_LT_EOF >> "$cfgfile" 18266#! $SHELL 18267# Generated automatically by $as_me ($PACKAGE) $VERSION 18268# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 18269# NOTE: Changes made to this file will be lost: look at ltmain.sh. 18270 18271# Provide generalized library-building support services. 18272# Written by Gordon Matzigkeit, 1996 18273 18274# Copyright (C) 2014 Free Software Foundation, Inc. 18275# This is free software; see the source for copying conditions. There is NO 18276# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 18277 18278# GNU Libtool is free software; you can redistribute it and/or modify 18279# it under the terms of the GNU General Public License as published by 18280# the Free Software Foundation; either version 2 of of the License, or 18281# (at your option) any later version. 18282# 18283# As a special exception to the GNU General Public License, if you 18284# distribute this file as part of a program or library that is built 18285# using GNU Libtool, you may include this file under the same 18286# distribution terms that you use for the rest of that program. 18287# 18288# GNU Libtool is distributed in the hope that it will be useful, but 18289# WITHOUT ANY WARRANTY; without even the implied warranty of 18290# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18291# GNU General Public License for more details. 18292# 18293# You should have received a copy of the GNU General Public License 18294# along with this program. If not, see <http://www.gnu.org/licenses/>. 18295 18296 18297# The names of the tagged configurations supported by this script. 18298available_tags='' 18299 18300# Configured defaults for sys_lib_dlsearch_path munging. 18301: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 18302 18303# ### BEGIN LIBTOOL CONFIG 18304 18305# Which release of libtool.m4 was used? 18306macro_version=$macro_version 18307macro_revision=$macro_revision 18308 18309# Whether or not to build shared libraries. 18310build_libtool_libs=$enable_shared 18311 18312# Whether or not to build static libraries. 18313build_old_libs=$enable_static 18314 18315# What type of objects to build. 18316pic_mode=$pic_mode 18317 18318# Whether or not to optimize for fast installation. 18319fast_install=$enable_fast_install 18320 18321# Shared archive member basename,for filename based shared library versioning on AIX. 18322shared_archive_member_spec=$shared_archive_member_spec 18323 18324# Shell to use when invoking shell scripts. 18325SHELL=$lt_SHELL 18326 18327# An echo program that protects backslashes. 18328ECHO=$lt_ECHO 18329 18330# The PATH separator for the build system. 18331PATH_SEPARATOR=$lt_PATH_SEPARATOR 18332 18333# The host system. 18334host_alias=$host_alias 18335host=$host 18336host_os=$host_os 18337 18338# The build system. 18339build_alias=$build_alias 18340build=$build 18341build_os=$build_os 18342 18343# A sed program that does not truncate output. 18344SED=$lt_SED 18345 18346# Sed that helps us avoid accidentally triggering echo(1) options like -n. 18347Xsed="\$SED -e 1s/^X//" 18348 18349# A grep program that handles long lines. 18350GREP=$lt_GREP 18351 18352# An ERE matcher. 18353EGREP=$lt_EGREP 18354 18355# A literal string matcher. 18356FGREP=$lt_FGREP 18357 18358# A BSD- or MS-compatible name lister. 18359NM=$lt_NM 18360 18361# Whether we need soft or hard links. 18362LN_S=$lt_LN_S 18363 18364# What is the maximum length of a command? 18365max_cmd_len=$max_cmd_len 18366 18367# Object file suffix (normally "o"). 18368objext=$ac_objext 18369 18370# Executable file suffix (normally ""). 18371exeext=$exeext 18372 18373# whether the shell understands "unset". 18374lt_unset=$lt_unset 18375 18376# turn spaces into newlines. 18377SP2NL=$lt_lt_SP2NL 18378 18379# turn newlines into spaces. 18380NL2SP=$lt_lt_NL2SP 18381 18382# convert \$build file names to \$host format. 18383to_host_file_cmd=$lt_cv_to_host_file_cmd 18384 18385# convert \$build files to toolchain format. 18386to_tool_file_cmd=$lt_cv_to_tool_file_cmd 18387 18388# An object symbol dumper. 18389OBJDUMP=$lt_OBJDUMP 18390 18391# Method to check whether dependent libraries are shared objects. 18392deplibs_check_method=$lt_deplibs_check_method 18393 18394# Command to use when deplibs_check_method = "file_magic". 18395file_magic_cmd=$lt_file_magic_cmd 18396 18397# How to find potential files when deplibs_check_method = "file_magic". 18398file_magic_glob=$lt_file_magic_glob 18399 18400# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 18401want_nocaseglob=$lt_want_nocaseglob 18402 18403# DLL creation program. 18404DLLTOOL=$lt_DLLTOOL 18405 18406# Command to associate shared and link libraries. 18407sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 18408 18409# The archiver. 18410AR=$lt_AR 18411 18412# Flags to create an archive. 18413AR_FLAGS=$lt_AR_FLAGS 18414 18415# How to feed a file listing to the archiver. 18416archiver_list_spec=$lt_archiver_list_spec 18417 18418# A symbol stripping program. 18419STRIP=$lt_STRIP 18420 18421# Commands used to install an old-style archive. 18422RANLIB=$lt_RANLIB 18423old_postinstall_cmds=$lt_old_postinstall_cmds 18424old_postuninstall_cmds=$lt_old_postuninstall_cmds 18425 18426# Whether to use a lock for old archive extraction. 18427lock_old_archive_extraction=$lock_old_archive_extraction 18428 18429# A C compiler. 18430LTCC=$lt_CC 18431 18432# LTCC compiler flags. 18433LTCFLAGS=$lt_CFLAGS 18434 18435# Take the output of nm and produce a listing of raw symbols and C names. 18436global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 18437 18438# Transform the output of nm in a proper C declaration. 18439global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 18440 18441# Transform the output of nm into a list of symbols to manually relocate. 18442global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 18443 18444# Transform the output of nm in a C name address pair. 18445global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 18446 18447# Transform the output of nm in a C name address pair when lib prefix is needed. 18448global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 18449 18450# The name lister interface. 18451nm_interface=$lt_lt_cv_nm_interface 18452 18453# Specify filename containing input files for \$NM. 18454nm_file_list_spec=$lt_nm_file_list_spec 18455 18456# The root where to search for dependent libraries,and where our libraries should be installed. 18457lt_sysroot=$lt_sysroot 18458 18459# Command to truncate a binary pipe. 18460lt_truncate_bin=$lt_lt_cv_truncate_bin 18461 18462# The name of the directory that contains temporary libtool files. 18463objdir=$objdir 18464 18465# Used to examine libraries when file_magic_cmd begins with "file". 18466MAGIC_CMD=$MAGIC_CMD 18467 18468# Must we lock files when doing compilation? 18469need_locks=$lt_need_locks 18470 18471# Manifest tool. 18472MANIFEST_TOOL=$lt_MANIFEST_TOOL 18473 18474# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 18475DSYMUTIL=$lt_DSYMUTIL 18476 18477# Tool to change global to local symbols on Mac OS X. 18478NMEDIT=$lt_NMEDIT 18479 18480# Tool to manipulate fat objects and archives on Mac OS X. 18481LIPO=$lt_LIPO 18482 18483# ldd/readelf like tool for Mach-O binaries on Mac OS X. 18484OTOOL=$lt_OTOOL 18485 18486# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 18487OTOOL64=$lt_OTOOL64 18488 18489# Old archive suffix (normally "a"). 18490libext=$libext 18491 18492# Shared library suffix (normally ".so"). 18493shrext_cmds=$lt_shrext_cmds 18494 18495# The commands to extract the exported symbol list from a shared archive. 18496extract_expsyms_cmds=$lt_extract_expsyms_cmds 18497 18498# Variables whose values should be saved in libtool wrapper scripts and 18499# restored at link time. 18500variables_saved_for_relink=$lt_variables_saved_for_relink 18501 18502# Do we need the "lib" prefix for modules? 18503need_lib_prefix=$need_lib_prefix 18504 18505# Do we need a version for libraries? 18506need_version=$need_version 18507 18508# Library versioning type. 18509version_type=$version_type 18510 18511# Shared library runtime path variable. 18512runpath_var=$runpath_var 18513 18514# Shared library path variable. 18515shlibpath_var=$shlibpath_var 18516 18517# Is shlibpath searched before the hard-coded library search path? 18518shlibpath_overrides_runpath=$shlibpath_overrides_runpath 18519 18520# Format of library name prefix. 18521libname_spec=$lt_libname_spec 18522 18523# List of archive names. First name is the real one, the rest are links. 18524# The last name is the one that the linker finds with -lNAME 18525library_names_spec=$lt_library_names_spec 18526 18527# The coded name of the library, if different from the real name. 18528soname_spec=$lt_soname_spec 18529 18530# Permission mode override for installation of shared libraries. 18531install_override_mode=$lt_install_override_mode 18532 18533# Command to use after installation of a shared archive. 18534postinstall_cmds=$lt_postinstall_cmds 18535 18536# Command to use after uninstallation of a shared archive. 18537postuninstall_cmds=$lt_postuninstall_cmds 18538 18539# Commands used to finish a libtool library installation in a directory. 18540finish_cmds=$lt_finish_cmds 18541 18542# As "finish_cmds", except a single script fragment to be evaled but 18543# not shown. 18544finish_eval=$lt_finish_eval 18545 18546# Whether we should hardcode library paths into libraries. 18547hardcode_into_libs=$hardcode_into_libs 18548 18549# Compile-time system search path for libraries. 18550sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 18551 18552# Detected run-time system search path for libraries. 18553sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 18554 18555# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 18556configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 18557 18558# Whether dlopen is supported. 18559dlopen_support=$enable_dlopen 18560 18561# Whether dlopen of programs is supported. 18562dlopen_self=$enable_dlopen_self 18563 18564# Whether dlopen of statically linked programs is supported. 18565dlopen_self_static=$enable_dlopen_self_static 18566 18567# Commands to strip libraries. 18568old_striplib=$lt_old_striplib 18569striplib=$lt_striplib 18570 18571 18572# The linker used to build libraries. 18573LD=$lt_LD 18574 18575# How to create reloadable object files. 18576reload_flag=$lt_reload_flag 18577reload_cmds=$lt_reload_cmds 18578 18579# Commands used to build an old-style archive. 18580old_archive_cmds=$lt_old_archive_cmds 18581 18582# A language specific compiler. 18583CC=$lt_compiler 18584 18585# Is the compiler the GNU compiler? 18586with_gcc=$GCC 18587 18588# Compiler flag to turn off builtin functions. 18589no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18590 18591# Additional compiler flags for building library objects. 18592pic_flag=$lt_lt_prog_compiler_pic 18593 18594# How to pass a linker flag through the compiler. 18595wl=$lt_lt_prog_compiler_wl 18596 18597# Compiler flag to prevent dynamic linking. 18598link_static_flag=$lt_lt_prog_compiler_static 18599 18600# Does compiler simultaneously support -c and -o options? 18601compiler_c_o=$lt_lt_cv_prog_compiler_c_o 18602 18603# Whether or not to add -lc for building shared libraries. 18604build_libtool_need_lc=$archive_cmds_need_lc 18605 18606# Whether or not to disallow shared libs when runtime libs are static. 18607allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 18608 18609# Compiler flag to allow reflexive dlopens. 18610export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 18611 18612# Compiler flag to generate shared objects directly from archives. 18613whole_archive_flag_spec=$lt_whole_archive_flag_spec 18614 18615# Whether the compiler copes with passing no objects directly. 18616compiler_needs_object=$lt_compiler_needs_object 18617 18618# Create an old-style archive from a shared archive. 18619old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 18620 18621# Create a temporary old-style archive to link instead of a shared archive. 18622old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 18623 18624# Commands used to build a shared archive. 18625archive_cmds=$lt_archive_cmds 18626archive_expsym_cmds=$lt_archive_expsym_cmds 18627 18628# Commands used to build a loadable module if different from building 18629# a shared archive. 18630module_cmds=$lt_module_cmds 18631module_expsym_cmds=$lt_module_expsym_cmds 18632 18633# Whether we are building with GNU ld or not. 18634with_gnu_ld=$lt_with_gnu_ld 18635 18636# Flag that allows shared libraries with undefined symbols to be built. 18637allow_undefined_flag=$lt_allow_undefined_flag 18638 18639# Flag that enforces no undefined symbols. 18640no_undefined_flag=$lt_no_undefined_flag 18641 18642# Flag to hardcode \$libdir into a binary during linking. 18643# This must work even if \$libdir does not exist 18644hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 18645 18646# Whether we need a single "-rpath" flag with a separated argument. 18647hardcode_libdir_separator=$lt_hardcode_libdir_separator 18648 18649# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18650# DIR into the resulting binary. 18651hardcode_direct=$hardcode_direct 18652 18653# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18654# DIR into the resulting binary and the resulting library dependency is 18655# "absolute",i.e impossible to change by setting \$shlibpath_var if the 18656# library is relocated. 18657hardcode_direct_absolute=$hardcode_direct_absolute 18658 18659# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18660# into the resulting binary. 18661hardcode_minus_L=$hardcode_minus_L 18662 18663# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18664# into the resulting binary. 18665hardcode_shlibpath_var=$hardcode_shlibpath_var 18666 18667# Set to "yes" if building a shared library automatically hardcodes DIR 18668# into the library and all subsequent libraries and executables linked 18669# against it. 18670hardcode_automatic=$hardcode_automatic 18671 18672# Set to yes if linker adds runtime paths of dependent libraries 18673# to runtime path list. 18674inherit_rpath=$inherit_rpath 18675 18676# Whether libtool must link a program against all its dependency libraries. 18677link_all_deplibs=$link_all_deplibs 18678 18679# Set to "yes" if exported symbols are required. 18680always_export_symbols=$always_export_symbols 18681 18682# The commands to list exported symbols. 18683export_symbols_cmds=$lt_export_symbols_cmds 18684 18685# Symbols that should not be listed in the preloaded symbols. 18686exclude_expsyms=$lt_exclude_expsyms 18687 18688# Symbols that must always be exported. 18689include_expsyms=$lt_include_expsyms 18690 18691# Commands necessary for linking programs (against libraries) with templates. 18692prelink_cmds=$lt_prelink_cmds 18693 18694# Commands necessary for finishing linking programs. 18695postlink_cmds=$lt_postlink_cmds 18696 18697# Specify filename containing input files. 18698file_list_spec=$lt_file_list_spec 18699 18700# How to hardcode a shared library path into an executable. 18701hardcode_action=$hardcode_action 18702 18703# ### END LIBTOOL CONFIG 18704 18705_LT_EOF 18706 18707 cat <<'_LT_EOF' >> "$cfgfile" 18708 18709# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 18710 18711# func_munge_path_list VARIABLE PATH 18712# ----------------------------------- 18713# VARIABLE is name of variable containing _space_ separated list of 18714# directories to be munged by the contents of PATH, which is string 18715# having a format: 18716# "DIR[:DIR]:" 18717# string "DIR[ DIR]" will be prepended to VARIABLE 18718# ":DIR[:DIR]" 18719# string "DIR[ DIR]" will be appended to VARIABLE 18720# "DIRP[:DIRP]::[DIRA:]DIRA" 18721# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 18722# "DIRA[ DIRA]" will be appended to VARIABLE 18723# "DIR[:DIR]" 18724# VARIABLE will be replaced by "DIR[ DIR]" 18725func_munge_path_list () 18726{ 18727 case x$2 in 18728 x) 18729 ;; 18730 *:) 18731 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 18732 ;; 18733 x:*) 18734 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 18735 ;; 18736 *::*) 18737 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 18738 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 18739 ;; 18740 *) 18741 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 18742 ;; 18743 esac 18744} 18745 18746 18747# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 18748func_cc_basename () 18749{ 18750 for cc_temp in $*""; do 18751 case $cc_temp in 18752 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 18753 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 18754 \-*) ;; 18755 *) break;; 18756 esac 18757 done 18758 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 18759} 18760 18761 18762# ### END FUNCTIONS SHARED WITH CONFIGURE 18763 18764_LT_EOF 18765 18766 case $host_os in 18767 aix3*) 18768 cat <<\_LT_EOF >> "$cfgfile" 18769# AIX sometimes has problems with the GCC collect2 program. For some 18770# reason, if we set the COLLECT_NAMES environment variable, the problems 18771# vanish in a puff of smoke. 18772if test set != "${COLLECT_NAMES+set}"; then 18773 COLLECT_NAMES= 18774 export COLLECT_NAMES 18775fi 18776_LT_EOF 18777 ;; 18778 esac 18779 18780 18781ltmain=$ac_aux_dir/ltmain.sh 18782 18783 18784 # We use sed instead of cat because bash on DJGPP gets confused if 18785 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18786 # text mode, it properly converts lines to CR/LF. This bash problem 18787 # is reportedly fixed, but why not run on old versions too? 18788 sed '$q' "$ltmain" >> "$cfgfile" \ 18789 || (rm -f "$cfgfile"; exit 1) 18790 18791 mv -f "$cfgfile" "$ofile" || 18792 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18793 chmod +x "$ofile" 18794 18795 ;; 18796 "python/setup.py":F) chmod +x python/setup.py ;; 18797 "xml2-config":F) chmod +x xml2-config ;; 18798 18799 esac 18800done # for ac_tag 18801 18802 18803as_fn_exit 0 18804_ACEOF 18805ac_clean_files=$ac_clean_files_save 18806 18807test $ac_write_fail = 0 || 18808 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18809 18810 18811# configure is writing to config.log, and then calls config.status. 18812# config.status does its own redirection, appending to config.log. 18813# Unfortunately, on DOS this fails, as config.log is still kept open 18814# by configure, so config.status won't be able to write to it; its 18815# output is simply discarded. So we exec the FD to /dev/null, 18816# effectively closing config.log, so it can be properly (re)opened and 18817# appended to by config.status. When coming back to configure, we 18818# need to make the FD available again. 18819if test "$no_create" != yes; then 18820 ac_cs_success=: 18821 ac_config_status_args= 18822 test "$silent" = yes && 18823 ac_config_status_args="$ac_config_status_args --quiet" 18824 exec 5>/dev/null 18825 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18826 exec 5>>config.log 18827 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18828 # would make configure fail if this is the last instruction. 18829 $ac_cs_success || as_fn_exit 1 18830fi 18831if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18833$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18834fi 18835 18836 18837echo Done configuring 18838