1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for vkd3d 1.2. 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 199test \$(( 1 + 1 )) = 2 || exit 1 200 201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 PATH=/empty FPATH=/empty; export PATH FPATH 206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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='vkd3d' 589PACKAGE_TARNAME='vkd3d' 590PACKAGE_VERSION='1.2' 591PACKAGE_STRING='vkd3d 1.2' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595# Factoring default headers for most tests. 596ac_includes_default="\ 597#include <stdio.h> 598#ifdef HAVE_SYS_TYPES_H 599# include <sys/types.h> 600#endif 601#ifdef HAVE_SYS_STAT_H 602# include <sys/stat.h> 603#endif 604#ifdef STDC_HEADERS 605# include <stdlib.h> 606# include <stddef.h> 607#else 608# ifdef HAVE_STDLIB_H 609# include <stdlib.h> 610# endif 611#endif 612#ifdef HAVE_STRING_H 613# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 614# include <memory.h> 615# endif 616# include <string.h> 617#endif 618#ifdef HAVE_STRINGS_H 619# include <strings.h> 620#endif 621#ifdef HAVE_INTTYPES_H 622# include <inttypes.h> 623#endif 624#ifdef HAVE_STDINT_H 625# include <stdint.h> 626#endif 627#ifdef HAVE_UNISTD_H 628# include <unistd.h> 629#endif" 630 631ac_subst_vars='am__EXEEXT_FALSE 632am__EXEEXT_TRUE 633LTLIBOBJS 634LIBOBJS 635HAVE_CROSSTARGET64_FALSE 636HAVE_CROSSTARGET64_TRUE 637HAVE_CROSSTARGET32_FALSE 638HAVE_CROSSTARGET32_TRUE 639HAVE_WIDL_FALSE 640HAVE_WIDL_TRUE 641BUILD_TESTS_FALSE 642BUILD_TESTS_TRUE 643BUILD_DOC_FALSE 644BUILD_DOC_TRUE 645BUILD_DEMOS_FALSE 646BUILD_DEMOS_TRUE 647XCB_LIBS 648XCB_CFLAGS 649SPIRV_TOOLS_LIBS 650SPIRV_TOOLS_CFLAGS 651READELF 652LDD 653VULKAN_LIBS 654PTHREAD_LIBS 655DL_LIBS 656PKG_CONFIG_LIBDIR 657PKG_CONFIG_PATH 658PKG_CONFIG 659CROSSTARGET64 660CROSSTARGET32 661VKD3D_CFLAGS 662HAVE_LD_VERSION_SCRIPT_FALSE 663HAVE_LD_VERSION_SCRIPT_TRUE 664LT_SYS_LIBRARY_PATH 665OTOOL64 666OTOOL 667LIPO 668NMEDIT 669DSYMUTIL 670MANIFEST_TOOL 671RANLIB 672LN_S 673NM 674ac_ct_DUMPBIN 675DUMPBIN 676LD 677FGREP 678host_os 679host_vendor 680host_cpu 681host 682build_os 683build_vendor 684build_cpu 685build 686LIBTOOL 687OBJDUMP 688DLLTOOL 689AS 690MAINT 691MAINTAINER_MODE_FALSE 692MAINTAINER_MODE_TRUE 693AM_BACKSLASH 694AM_DEFAULT_VERBOSITY 695AM_DEFAULT_V 696AM_V 697am__fastdepCC_FALSE 698am__fastdepCC_TRUE 699CCDEPMODE 700am__nodep 701AMDEPBACKSLASH 702AMDEP_FALSE 703AMDEP_TRUE 704am__include 705DEPDIR 706am__untar 707am__tar 708AMTAR 709am__leading_dot 710SET_MAKE 711mkdir_p 712INSTALL_STRIP_PROGRAM 713STRIP 714install_sh 715MAKEINFO 716AUTOHEADER 717AUTOMAKE 718AUTOCONF 719ACLOCAL 720VERSION 721PACKAGE 722CYGPATH_W 723am__isrc 724INSTALL_DATA 725INSTALL_SCRIPT 726INSTALL_PROGRAM 727DX_RULES 728PAPER_SIZE 729DOXYGEN_PAPER_SIZE 730GENERATE_LATEX 731DX_PDFLATEX 732DX_FLAG_pdf 733DX_EGREP 734DX_DVIPS 735DX_MAKEINDEX 736DX_LATEX 737DX_FLAG_ps 738DX_FLAG_html 739GENERATE_CHI 740DX_FLAG_chi 741GENERATE_HTMLHELP 742GENERATE_HTML 743HHC_PATH 744DX_HHC 745DX_FLAG_chm 746GENERATE_XML 747DX_FLAG_xml 748GENERATE_RTF 749DX_FLAG_rtf 750GENERATE_MAN 751DX_FLAG_man 752DOT_PATH 753HAVE_DOT 754DX_DOT 755DX_FLAG_dot 756PERL_PATH 757DX_PERL 758DX_DOXYGEN 759DX_FLAG_doc 760PROJECT 761SRCDIR 762DX_ENV 763DX_DOCDIR 764DX_CONFIG 765DX_PROJECT 766AWK 767MKDIR_P 768SED 769ac_ct_AR 770AR 771EGREP 772GREP 773CPP 774OBJEXT 775EXEEXT 776ac_ct_CC 777CPPFLAGS 778LDFLAGS 779CFLAGS 780CC 781CROSSCC64 782CROSSCC32 783WIDL 784target_alias 785host_alias 786build_alias 787LIBS 788ECHO_T 789ECHO_N 790ECHO_C 791DEFS 792mandir 793localedir 794libdir 795psdir 796pdfdir 797dvidir 798htmldir 799infodir 800docdir 801oldincludedir 802includedir 803runstatedir 804localstatedir 805sharedstatedir 806sysconfdir 807datadir 808datarootdir 809libexecdir 810sbindir 811bindir 812program_transform_name 813prefix 814exec_prefix 815PACKAGE_URL 816PACKAGE_BUGREPORT 817PACKAGE_STRING 818PACKAGE_VERSION 819PACKAGE_TARNAME 820PACKAGE_NAME 821PATH_SEPARATOR 822SHELL 823am__quote' 824ac_subst_files='' 825ac_user_opts=' 826enable_option_checking 827with_xcb 828with_spirv_tools 829enable_demos 830enable_tests 831enable_doxygen_doc 832enable_doxygen_dot 833enable_doxygen_man 834enable_doxygen_rtf 835enable_doxygen_xml 836enable_doxygen_chm 837enable_doxygen_chi 838enable_doxygen_html 839enable_doxygen_ps 840enable_doxygen_pdf 841enable_dependency_tracking 842enable_silent_rules 843enable_maintainer_mode 844enable_shared 845enable_static 846with_pic 847enable_fast_install 848with_aix_soname 849with_gnu_ld 850with_sysroot 851enable_libtool_lock 852enable_ld_version_script 853' 854 ac_precious_vars='build_alias 855host_alias 856target_alias 857WIDL 858CROSSCC32 859CROSSCC64 860CC 861CFLAGS 862LDFLAGS 863LIBS 864CPPFLAGS 865CPP 866DOXYGEN_PAPER_SIZE 867LT_SYS_LIBRARY_PATH 868PKG_CONFIG 869PKG_CONFIG_PATH 870PKG_CONFIG_LIBDIR 871PTHREAD_LIBS 872SPIRV_TOOLS_CFLAGS 873SPIRV_TOOLS_LIBS 874XCB_CFLAGS 875XCB_LIBS' 876 877 878# Initialize some variables set by options. 879ac_init_help= 880ac_init_version=false 881ac_unrecognized_opts= 882ac_unrecognized_sep= 883# The variables have the same names as the options, with 884# dashes changed to underlines. 885cache_file=/dev/null 886exec_prefix=NONE 887no_create= 888no_recursion= 889prefix=NONE 890program_prefix=NONE 891program_suffix=NONE 892program_transform_name=s,x,x, 893silent= 894site= 895srcdir= 896verbose= 897x_includes=NONE 898x_libraries=NONE 899 900# Installation directory options. 901# These are left unexpanded so users can "make install exec_prefix=/foo" 902# and all the variables that are supposed to be based on exec_prefix 903# by default will actually change. 904# Use braces instead of parens because sh, perl, etc. also accept them. 905# (The list follows the same order as the GNU Coding Standards.) 906bindir='${exec_prefix}/bin' 907sbindir='${exec_prefix}/sbin' 908libexecdir='${exec_prefix}/libexec' 909datarootdir='${prefix}/share' 910datadir='${datarootdir}' 911sysconfdir='${prefix}/etc' 912sharedstatedir='${prefix}/com' 913localstatedir='${prefix}/var' 914runstatedir='${localstatedir}/run' 915includedir='${prefix}/include' 916oldincludedir='/usr/include' 917docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 918infodir='${datarootdir}/info' 919htmldir='${docdir}' 920dvidir='${docdir}' 921pdfdir='${docdir}' 922psdir='${docdir}' 923libdir='${exec_prefix}/lib' 924localedir='${datarootdir}/locale' 925mandir='${datarootdir}/man' 926 927ac_prev= 928ac_dashdash= 929for ac_option 930do 931 # If the previous option needs an argument, assign it. 932 if test -n "$ac_prev"; then 933 eval $ac_prev=\$ac_option 934 ac_prev= 935 continue 936 fi 937 938 case $ac_option in 939 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 940 *=) ac_optarg= ;; 941 *) ac_optarg=yes ;; 942 esac 943 944 # Accept the important Cygnus configure options, so we can diagnose typos. 945 946 case $ac_dashdash$ac_option in 947 --) 948 ac_dashdash=yes ;; 949 950 -bindir | --bindir | --bindi | --bind | --bin | --bi) 951 ac_prev=bindir ;; 952 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 953 bindir=$ac_optarg ;; 954 955 -build | --build | --buil | --bui | --bu) 956 ac_prev=build_alias ;; 957 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 958 build_alias=$ac_optarg ;; 959 960 -cache-file | --cache-file | --cache-fil | --cache-fi \ 961 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 962 ac_prev=cache_file ;; 963 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 964 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 965 cache_file=$ac_optarg ;; 966 967 --config-cache | -C) 968 cache_file=config.cache ;; 969 970 -datadir | --datadir | --datadi | --datad) 971 ac_prev=datadir ;; 972 -datadir=* | --datadir=* | --datadi=* | --datad=*) 973 datadir=$ac_optarg ;; 974 975 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 976 | --dataroo | --dataro | --datar) 977 ac_prev=datarootdir ;; 978 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 979 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 980 datarootdir=$ac_optarg ;; 981 982 -disable-* | --disable-*) 983 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 984 # Reject names that are not valid shell variable names. 985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 986 as_fn_error $? "invalid feature name: $ac_useropt" 987 ac_useropt_orig=$ac_useropt 988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 989 case $ac_user_opts in 990 *" 991"enable_$ac_useropt" 992"*) ;; 993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 994 ac_unrecognized_sep=', ';; 995 esac 996 eval enable_$ac_useropt=no ;; 997 998 -docdir | --docdir | --docdi | --doc | --do) 999 ac_prev=docdir ;; 1000 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1001 docdir=$ac_optarg ;; 1002 1003 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1004 ac_prev=dvidir ;; 1005 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1006 dvidir=$ac_optarg ;; 1007 1008 -enable-* | --enable-*) 1009 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1010 # Reject names that are not valid shell variable names. 1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1012 as_fn_error $? "invalid feature name: $ac_useropt" 1013 ac_useropt_orig=$ac_useropt 1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1015 case $ac_user_opts in 1016 *" 1017"enable_$ac_useropt" 1018"*) ;; 1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1020 ac_unrecognized_sep=', ';; 1021 esac 1022 eval enable_$ac_useropt=\$ac_optarg ;; 1023 1024 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1025 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1026 | --exec | --exe | --ex) 1027 ac_prev=exec_prefix ;; 1028 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1029 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1030 | --exec=* | --exe=* | --ex=*) 1031 exec_prefix=$ac_optarg ;; 1032 1033 -gas | --gas | --ga | --g) 1034 # Obsolete; use --with-gas. 1035 with_gas=yes ;; 1036 1037 -help | --help | --hel | --he | -h) 1038 ac_init_help=long ;; 1039 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1040 ac_init_help=recursive ;; 1041 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1042 ac_init_help=short ;; 1043 1044 -host | --host | --hos | --ho) 1045 ac_prev=host_alias ;; 1046 -host=* | --host=* | --hos=* | --ho=*) 1047 host_alias=$ac_optarg ;; 1048 1049 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1050 ac_prev=htmldir ;; 1051 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1052 | --ht=*) 1053 htmldir=$ac_optarg ;; 1054 1055 -includedir | --includedir | --includedi | --included | --include \ 1056 | --includ | --inclu | --incl | --inc) 1057 ac_prev=includedir ;; 1058 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1059 | --includ=* | --inclu=* | --incl=* | --inc=*) 1060 includedir=$ac_optarg ;; 1061 1062 -infodir | --infodir | --infodi | --infod | --info | --inf) 1063 ac_prev=infodir ;; 1064 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1065 infodir=$ac_optarg ;; 1066 1067 -libdir | --libdir | --libdi | --libd) 1068 ac_prev=libdir ;; 1069 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1070 libdir=$ac_optarg ;; 1071 1072 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1073 | --libexe | --libex | --libe) 1074 ac_prev=libexecdir ;; 1075 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1076 | --libexe=* | --libex=* | --libe=*) 1077 libexecdir=$ac_optarg ;; 1078 1079 -localedir | --localedir | --localedi | --localed | --locale) 1080 ac_prev=localedir ;; 1081 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1082 localedir=$ac_optarg ;; 1083 1084 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1085 | --localstate | --localstat | --localsta | --localst | --locals) 1086 ac_prev=localstatedir ;; 1087 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1088 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1089 localstatedir=$ac_optarg ;; 1090 1091 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1092 ac_prev=mandir ;; 1093 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1094 mandir=$ac_optarg ;; 1095 1096 -nfp | --nfp | --nf) 1097 # Obsolete; use --without-fp. 1098 with_fp=no ;; 1099 1100 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1101 | --no-cr | --no-c | -n) 1102 no_create=yes ;; 1103 1104 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1105 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1106 no_recursion=yes ;; 1107 1108 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1109 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1110 | --oldin | --oldi | --old | --ol | --o) 1111 ac_prev=oldincludedir ;; 1112 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1113 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1114 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1115 oldincludedir=$ac_optarg ;; 1116 1117 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1118 ac_prev=prefix ;; 1119 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1120 prefix=$ac_optarg ;; 1121 1122 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1123 | --program-pre | --program-pr | --program-p) 1124 ac_prev=program_prefix ;; 1125 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1126 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1127 program_prefix=$ac_optarg ;; 1128 1129 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1130 | --program-suf | --program-su | --program-s) 1131 ac_prev=program_suffix ;; 1132 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1133 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1134 program_suffix=$ac_optarg ;; 1135 1136 -program-transform-name | --program-transform-name \ 1137 | --program-transform-nam | --program-transform-na \ 1138 | --program-transform-n | --program-transform- \ 1139 | --program-transform | --program-transfor \ 1140 | --program-transfo | --program-transf \ 1141 | --program-trans | --program-tran \ 1142 | --progr-tra | --program-tr | --program-t) 1143 ac_prev=program_transform_name ;; 1144 -program-transform-name=* | --program-transform-name=* \ 1145 | --program-transform-nam=* | --program-transform-na=* \ 1146 | --program-transform-n=* | --program-transform-=* \ 1147 | --program-transform=* | --program-transfor=* \ 1148 | --program-transfo=* | --program-transf=* \ 1149 | --program-trans=* | --program-tran=* \ 1150 | --progr-tra=* | --program-tr=* | --program-t=*) 1151 program_transform_name=$ac_optarg ;; 1152 1153 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1154 ac_prev=pdfdir ;; 1155 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1156 pdfdir=$ac_optarg ;; 1157 1158 -psdir | --psdir | --psdi | --psd | --ps) 1159 ac_prev=psdir ;; 1160 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1161 psdir=$ac_optarg ;; 1162 1163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1164 | -silent | --silent | --silen | --sile | --sil) 1165 silent=yes ;; 1166 1167 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1168 | --runstate | --runstat | --runsta | --runst | --runs \ 1169 | --run | --ru | --r) 1170 ac_prev=runstatedir ;; 1171 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1172 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1173 | --run=* | --ru=* | --r=*) 1174 runstatedir=$ac_optarg ;; 1175 1176 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1177 ac_prev=sbindir ;; 1178 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1179 | --sbi=* | --sb=*) 1180 sbindir=$ac_optarg ;; 1181 1182 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1183 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1184 | --sharedst | --shareds | --shared | --share | --shar \ 1185 | --sha | --sh) 1186 ac_prev=sharedstatedir ;; 1187 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1188 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1189 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1190 | --sha=* | --sh=*) 1191 sharedstatedir=$ac_optarg ;; 1192 1193 -site | --site | --sit) 1194 ac_prev=site ;; 1195 -site=* | --site=* | --sit=*) 1196 site=$ac_optarg ;; 1197 1198 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1199 ac_prev=srcdir ;; 1200 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1201 srcdir=$ac_optarg ;; 1202 1203 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1204 | --syscon | --sysco | --sysc | --sys | --sy) 1205 ac_prev=sysconfdir ;; 1206 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1207 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1208 sysconfdir=$ac_optarg ;; 1209 1210 -target | --target | --targe | --targ | --tar | --ta | --t) 1211 ac_prev=target_alias ;; 1212 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1213 target_alias=$ac_optarg ;; 1214 1215 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1216 verbose=yes ;; 1217 1218 -version | --version | --versio | --versi | --vers | -V) 1219 ac_init_version=: ;; 1220 1221 -with-* | --with-*) 1222 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1223 # Reject names that are not valid shell variable names. 1224 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1225 as_fn_error $? "invalid package name: $ac_useropt" 1226 ac_useropt_orig=$ac_useropt 1227 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1228 case $ac_user_opts in 1229 *" 1230"with_$ac_useropt" 1231"*) ;; 1232 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1233 ac_unrecognized_sep=', ';; 1234 esac 1235 eval with_$ac_useropt=\$ac_optarg ;; 1236 1237 -without-* | --without-*) 1238 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1239 # Reject names that are not valid shell variable names. 1240 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1241 as_fn_error $? "invalid package name: $ac_useropt" 1242 ac_useropt_orig=$ac_useropt 1243 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1244 case $ac_user_opts in 1245 *" 1246"with_$ac_useropt" 1247"*) ;; 1248 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1249 ac_unrecognized_sep=', ';; 1250 esac 1251 eval with_$ac_useropt=no ;; 1252 1253 --x) 1254 # Obsolete; use --with-x. 1255 with_x=yes ;; 1256 1257 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1258 | --x-incl | --x-inc | --x-in | --x-i) 1259 ac_prev=x_includes ;; 1260 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1261 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1262 x_includes=$ac_optarg ;; 1263 1264 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1265 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1266 ac_prev=x_libraries ;; 1267 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1268 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1269 x_libraries=$ac_optarg ;; 1270 1271 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1272Try \`$0 --help' for more information" 1273 ;; 1274 1275 *=*) 1276 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1277 # Reject names that are not valid shell variable names. 1278 case $ac_envvar in #( 1279 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1280 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1281 esac 1282 eval $ac_envvar=\$ac_optarg 1283 export $ac_envvar ;; 1284 1285 *) 1286 # FIXME: should be removed in autoconf 3.0. 1287 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1288 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1289 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1290 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1291 ;; 1292 1293 esac 1294done 1295 1296if test -n "$ac_prev"; then 1297 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1298 as_fn_error $? "missing argument to $ac_option" 1299fi 1300 1301if test -n "$ac_unrecognized_opts"; then 1302 case $enable_option_checking in 1303 no) ;; 1304 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1305 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1306 esac 1307fi 1308 1309# Check all directory arguments for consistency. 1310for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1311 datadir sysconfdir sharedstatedir localstatedir includedir \ 1312 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1313 libdir localedir mandir runstatedir 1314do 1315 eval ac_val=\$$ac_var 1316 # Remove trailing slashes. 1317 case $ac_val in 1318 */ ) 1319 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1320 eval $ac_var=\$ac_val;; 1321 esac 1322 # Be sure to have absolute directory names. 1323 case $ac_val in 1324 [\\/$]* | ?:[\\/]* ) continue;; 1325 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1326 esac 1327 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1328done 1329 1330# There might be people who depend on the old broken behavior: `$host' 1331# used to hold the argument of --host etc. 1332# FIXME: To remove some day. 1333build=$build_alias 1334host=$host_alias 1335target=$target_alias 1336 1337# FIXME: To remove some day. 1338if test "x$host_alias" != x; then 1339 if test "x$build_alias" = x; then 1340 cross_compiling=maybe 1341 elif test "x$build_alias" != "x$host_alias"; then 1342 cross_compiling=yes 1343 fi 1344fi 1345 1346ac_tool_prefix= 1347test -n "$host_alias" && ac_tool_prefix=$host_alias- 1348 1349test "$silent" = yes && exec 6>/dev/null 1350 1351 1352ac_pwd=`pwd` && test -n "$ac_pwd" && 1353ac_ls_di=`ls -di .` && 1354ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1355 as_fn_error $? "working directory cannot be determined" 1356test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1357 as_fn_error $? "pwd does not report name of working directory" 1358 1359 1360# Find the source files, if location was not specified. 1361if test -z "$srcdir"; then 1362 ac_srcdir_defaulted=yes 1363 # Try the directory containing this script, then the parent directory. 1364 ac_confdir=`$as_dirname -- "$as_myself" || 1365$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1366 X"$as_myself" : 'X\(//\)[^/]' \| \ 1367 X"$as_myself" : 'X\(//\)$' \| \ 1368 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1369$as_echo X"$as_myself" | 1370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1371 s//\1/ 1372 q 1373 } 1374 /^X\(\/\/\)[^/].*/{ 1375 s//\1/ 1376 q 1377 } 1378 /^X\(\/\/\)$/{ 1379 s//\1/ 1380 q 1381 } 1382 /^X\(\/\).*/{ 1383 s//\1/ 1384 q 1385 } 1386 s/.*/./; q'` 1387 srcdir=$ac_confdir 1388 if test ! -r "$srcdir/$ac_unique_file"; then 1389 srcdir=.. 1390 fi 1391else 1392 ac_srcdir_defaulted=no 1393fi 1394if test ! -r "$srcdir/$ac_unique_file"; then 1395 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1396 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1397fi 1398ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1399ac_abs_confdir=`( 1400 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1401 pwd)` 1402# When building in place, set srcdir=. 1403if test "$ac_abs_confdir" = "$ac_pwd"; then 1404 srcdir=. 1405fi 1406# Remove unnecessary trailing slashes from srcdir. 1407# Double slashes in file names in object file debugging info 1408# mess up M-x gdb in Emacs. 1409case $srcdir in 1410*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1411esac 1412for ac_var in $ac_precious_vars; do 1413 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1414 eval ac_env_${ac_var}_value=\$${ac_var} 1415 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1416 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1417done 1418 1419# 1420# Report the --help message. 1421# 1422if test "$ac_init_help" = "long"; then 1423 # Omit some internal or obsolete options to make the list less imposing. 1424 # This message is too long to be a string in the A/UX 3.1 sh. 1425 cat <<_ACEOF 1426\`configure' configures vkd3d 1.2 to adapt to many kinds of systems. 1427 1428Usage: $0 [OPTION]... [VAR=VALUE]... 1429 1430To assign environment variables (e.g., CC, CFLAGS...), specify them as 1431VAR=VALUE. See below for descriptions of some of the useful variables. 1432 1433Defaults for the options are specified in brackets. 1434 1435Configuration: 1436 -h, --help display this help and exit 1437 --help=short display options specific to this package 1438 --help=recursive display the short help of all the included packages 1439 -V, --version display version information and exit 1440 -q, --quiet, --silent do not print \`checking ...' messages 1441 --cache-file=FILE cache test results in FILE [disabled] 1442 -C, --config-cache alias for \`--cache-file=config.cache' 1443 -n, --no-create do not create output files 1444 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1445 1446Installation directories: 1447 --prefix=PREFIX install architecture-independent files in PREFIX 1448 [$ac_default_prefix] 1449 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1450 [PREFIX] 1451 1452By default, \`make install' will install all the files in 1453\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1454an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1455for instance \`--prefix=\$HOME'. 1456 1457For better control, use the options below. 1458 1459Fine tuning of the installation directories: 1460 --bindir=DIR user executables [EPREFIX/bin] 1461 --sbindir=DIR system admin executables [EPREFIX/sbin] 1462 --libexecdir=DIR program executables [EPREFIX/libexec] 1463 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1464 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1465 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1466 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1467 --libdir=DIR object code libraries [EPREFIX/lib] 1468 --includedir=DIR C header files [PREFIX/include] 1469 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1472 --infodir=DIR info documentation [DATAROOTDIR/info] 1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1474 --mandir=DIR man documentation [DATAROOTDIR/man] 1475 --docdir=DIR documentation root [DATAROOTDIR/doc/vkd3d] 1476 --htmldir=DIR html documentation [DOCDIR] 1477 --dvidir=DIR dvi documentation [DOCDIR] 1478 --pdfdir=DIR pdf documentation [DOCDIR] 1479 --psdir=DIR ps documentation [DOCDIR] 1480_ACEOF 1481 1482 cat <<\_ACEOF 1483 1484Program names: 1485 --program-prefix=PREFIX prepend PREFIX to installed program names 1486 --program-suffix=SUFFIX append SUFFIX to installed program names 1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1488 1489System types: 1490 --build=BUILD configure for building on BUILD [guessed] 1491 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1492_ACEOF 1493fi 1494 1495if test -n "$ac_init_help"; then 1496 case $ac_init_help in 1497 short | recursive ) echo "Configuration of vkd3d 1.2:";; 1498 esac 1499 cat <<\_ACEOF 1500 1501Optional Features: 1502 --disable-option-checking ignore unrecognized --enable/--with options 1503 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1504 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1505 --enable-demos Build demo programs (default: disabled) 1506 --enable-tests Build tests (default: enabled) 1507 --disable-doxygen-doc don't generate any doxygen documentation 1508 --enable-doxygen-dot generate graphics for doxygen documentation 1509 --enable-doxygen-man generate doxygen manual pages 1510 --enable-doxygen-rtf generate doxygen RTF documentation 1511 --enable-doxygen-xml generate doxygen XML documentation 1512 --enable-doxygen-chm generate doxygen compressed HTML help documentation 1513 --enable-doxygen-chi generate doxygen separate compressed HTML help index 1514 file 1515 --disable-doxygen-html don't generate doxygen plain HTML documentation 1516 --enable-doxygen-ps generate doxygen PostScript documentation 1517 --disable-doxygen-pdf don't generate doxygen PDF documentation 1518 --enable-dependency-tracking 1519 do not reject slow dependency extractors 1520 --disable-dependency-tracking 1521 speeds up one-time build 1522 --enable-silent-rules less verbose build output (undo: "make V=1") 1523 --disable-silent-rules verbose build output (undo: "make V=0") 1524 --disable-maintainer-mode 1525 disable make rules and dependencies not useful (and 1526 sometimes confusing) to the casual installer 1527 --enable-shared[=PKGS] build shared libraries [default=yes] 1528 --enable-static[=PKGS] build static libraries [default=yes] 1529 --enable-fast-install[=PKGS] 1530 optimize for fast installation [default=yes] 1531 --disable-libtool-lock avoid locking (might break parallel builds) 1532 --enable-ld-version-script 1533 enable linker version script (default is enabled 1534 when possible) 1535 1536Optional Packages: 1537 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1538 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1539 --with-xcb Build with XCB library (default: test) 1540 --with-spirv-tools Build with SPIRV-Tools library (default: disabled) 1541 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1542 both] 1543 --with-aix-soname=aix|svr4|both 1544 shared library versioning (aka "SONAME") variant to 1545 provide on AIX, [default=aix]. 1546 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1547 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1548 compiler's sysroot if not specified). 1549 1550Some influential environment variables: 1551 WIDL widl IDL compiler 1552 CROSSCC32 32-bit Windows cross compiler 1553 CROSSCC64 64-bit Windows cross compiler 1554 CC C compiler command 1555 CFLAGS C compiler flags 1556 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1557 nonstandard directory <lib dir> 1558 LIBS libraries to pass to the linker, e.g. -l<library> 1559 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1560 you have headers in a nonstandard directory <include dir> 1561 CPP C preprocessor 1562 DOXYGEN_PAPER_SIZE 1563 a4wide (default), a4, letter, legal or executive 1564 LT_SYS_LIBRARY_PATH 1565 User-defined run-time library search path. 1566 PKG_CONFIG path to pkg-config utility 1567 PKG_CONFIG_PATH 1568 directories to add to pkg-config's search path 1569 PKG_CONFIG_LIBDIR 1570 path overriding pkg-config's built-in search path 1571 PTHREAD_LIBS 1572 linker flags for pthreads 1573 SPIRV_TOOLS_CFLAGS 1574 C compiler flags for SPIRV_TOOLS, overriding pkg-config 1575 SPIRV_TOOLS_LIBS 1576 linker flags for SPIRV_TOOLS, overriding pkg-config 1577 XCB_CFLAGS C compiler flags for XCB, overriding pkg-config 1578 XCB_LIBS linker flags for XCB, overriding pkg-config 1579 1580Use these variables to override the choices made by `configure' or to help 1581it to find libraries and programs with nonstandard names/locations. 1582 1583Report bugs to the package provider. 1584_ACEOF 1585ac_status=$? 1586fi 1587 1588if test "$ac_init_help" = "recursive"; then 1589 # If there are subdirs, report their specific --help. 1590 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1591 test -d "$ac_dir" || 1592 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1593 continue 1594 ac_builddir=. 1595 1596case "$ac_dir" in 1597.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1598*) 1599 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1600 # A ".." for each directory in $ac_dir_suffix. 1601 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1602 case $ac_top_builddir_sub in 1603 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1604 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1605 esac ;; 1606esac 1607ac_abs_top_builddir=$ac_pwd 1608ac_abs_builddir=$ac_pwd$ac_dir_suffix 1609# for backward compatibility: 1610ac_top_builddir=$ac_top_build_prefix 1611 1612case $srcdir in 1613 .) # We are building in place. 1614 ac_srcdir=. 1615 ac_top_srcdir=$ac_top_builddir_sub 1616 ac_abs_top_srcdir=$ac_pwd ;; 1617 [\\/]* | ?:[\\/]* ) # Absolute name. 1618 ac_srcdir=$srcdir$ac_dir_suffix; 1619 ac_top_srcdir=$srcdir 1620 ac_abs_top_srcdir=$srcdir ;; 1621 *) # Relative name. 1622 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1623 ac_top_srcdir=$ac_top_build_prefix$srcdir 1624 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1625esac 1626ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1627 1628 cd "$ac_dir" || { ac_status=$?; continue; } 1629 # Check for guested configure. 1630 if test -f "$ac_srcdir/configure.gnu"; then 1631 echo && 1632 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1633 elif test -f "$ac_srcdir/configure"; then 1634 echo && 1635 $SHELL "$ac_srcdir/configure" --help=recursive 1636 else 1637 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1638 fi || ac_status=$? 1639 cd "$ac_pwd" || { ac_status=$?; break; } 1640 done 1641fi 1642 1643test -n "$ac_init_help" && exit $ac_status 1644if $ac_init_version; then 1645 cat <<\_ACEOF 1646vkd3d configure 1.2 1647generated by GNU Autoconf 2.69 1648 1649Copyright (C) 2012 Free Software Foundation, Inc. 1650This configure script is free software; the Free Software Foundation 1651gives unlimited permission to copy, distribute and modify it. 1652_ACEOF 1653 exit 1654fi 1655 1656## ------------------------ ## 1657## Autoconf initialization. ## 1658## ------------------------ ## 1659 1660# ac_fn_c_try_compile LINENO 1661# -------------------------- 1662# Try to compile conftest.$ac_ext, and return whether this succeeded. 1663ac_fn_c_try_compile () 1664{ 1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1666 rm -f conftest.$ac_objext 1667 if { { ac_try="$ac_compile" 1668case "(($ac_try" in 1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1670 *) ac_try_echo=$ac_try;; 1671esac 1672eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1673$as_echo "$ac_try_echo"; } >&5 1674 (eval "$ac_compile") 2>conftest.err 1675 ac_status=$? 1676 if test -s conftest.err; then 1677 grep -v '^ *+' conftest.err >conftest.er1 1678 cat conftest.er1 >&5 1679 mv -f conftest.er1 conftest.err 1680 fi 1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1682 test $ac_status = 0; } && { 1683 test -z "$ac_c_werror_flag" || 1684 test ! -s conftest.err 1685 } && test -s conftest.$ac_objext; then : 1686 ac_retval=0 1687else 1688 $as_echo "$as_me: failed program was:" >&5 1689sed 's/^/| /' conftest.$ac_ext >&5 1690 1691 ac_retval=1 1692fi 1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1694 as_fn_set_status $ac_retval 1695 1696} # ac_fn_c_try_compile 1697 1698# ac_fn_c_try_cpp LINENO 1699# ---------------------- 1700# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1701ac_fn_c_try_cpp () 1702{ 1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1704 if { { ac_try="$ac_cpp conftest.$ac_ext" 1705case "(($ac_try" in 1706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1707 *) ac_try_echo=$ac_try;; 1708esac 1709eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1710$as_echo "$ac_try_echo"; } >&5 1711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1712 ac_status=$? 1713 if test -s conftest.err; then 1714 grep -v '^ *+' conftest.err >conftest.er1 1715 cat conftest.er1 >&5 1716 mv -f conftest.er1 conftest.err 1717 fi 1718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1719 test $ac_status = 0; } > conftest.i && { 1720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1721 test ! -s conftest.err 1722 }; then : 1723 ac_retval=0 1724else 1725 $as_echo "$as_me: failed program was:" >&5 1726sed 's/^/| /' conftest.$ac_ext >&5 1727 1728 ac_retval=1 1729fi 1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1731 as_fn_set_status $ac_retval 1732 1733} # ac_fn_c_try_cpp 1734 1735# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1736# ------------------------------------------------------- 1737# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1738# the include files in INCLUDES and setting the cache variable VAR 1739# accordingly. 1740ac_fn_c_check_header_mongrel () 1741{ 1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1743 if eval \${$3+:} false; then : 1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1745$as_echo_n "checking for $2... " >&6; } 1746if eval \${$3+:} false; then : 1747 $as_echo_n "(cached) " >&6 1748fi 1749eval ac_res=\$$3 1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1751$as_echo "$ac_res" >&6; } 1752else 1753 # Is the header compilable? 1754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1755$as_echo_n "checking $2 usability... " >&6; } 1756cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1757/* end confdefs.h. */ 1758$4 1759#include <$2> 1760_ACEOF 1761if ac_fn_c_try_compile "$LINENO"; then : 1762 ac_header_compiler=yes 1763else 1764 ac_header_compiler=no 1765fi 1766rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1768$as_echo "$ac_header_compiler" >&6; } 1769 1770# Is the header present? 1771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1772$as_echo_n "checking $2 presence... " >&6; } 1773cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1774/* end confdefs.h. */ 1775#include <$2> 1776_ACEOF 1777if ac_fn_c_try_cpp "$LINENO"; then : 1778 ac_header_preproc=yes 1779else 1780 ac_header_preproc=no 1781fi 1782rm -f conftest.err conftest.i conftest.$ac_ext 1783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1784$as_echo "$ac_header_preproc" >&6; } 1785 1786# So? What about this header? 1787case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1788 yes:no: ) 1789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1790$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1792$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1793 ;; 1794 no:yes:* ) 1795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1796$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1798$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1800$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1802$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1804$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1805 ;; 1806esac 1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1808$as_echo_n "checking for $2... " >&6; } 1809if eval \${$3+:} false; then : 1810 $as_echo_n "(cached) " >&6 1811else 1812 eval "$3=\$ac_header_compiler" 1813fi 1814eval ac_res=\$$3 1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1816$as_echo "$ac_res" >&6; } 1817fi 1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1819 1820} # ac_fn_c_check_header_mongrel 1821 1822# ac_fn_c_try_run LINENO 1823# ---------------------- 1824# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1825# that executables *can* be run. 1826ac_fn_c_try_run () 1827{ 1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1829 if { { ac_try="$ac_link" 1830case "(($ac_try" in 1831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1832 *) ac_try_echo=$ac_try;; 1833esac 1834eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1835$as_echo "$ac_try_echo"; } >&5 1836 (eval "$ac_link") 2>&5 1837 ac_status=$? 1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1839 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1840 { { case "(($ac_try" in 1841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1842 *) ac_try_echo=$ac_try;; 1843esac 1844eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1845$as_echo "$ac_try_echo"; } >&5 1846 (eval "$ac_try") 2>&5 1847 ac_status=$? 1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1849 test $ac_status = 0; }; }; then : 1850 ac_retval=0 1851else 1852 $as_echo "$as_me: program exited with status $ac_status" >&5 1853 $as_echo "$as_me: failed program was:" >&5 1854sed 's/^/| /' conftest.$ac_ext >&5 1855 1856 ac_retval=$ac_status 1857fi 1858 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1860 as_fn_set_status $ac_retval 1861 1862} # ac_fn_c_try_run 1863 1864# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1865# ------------------------------------------------------- 1866# Tests whether HEADER exists and can be compiled using the include files in 1867# INCLUDES, setting the cache variable VAR accordingly. 1868ac_fn_c_check_header_compile () 1869{ 1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1872$as_echo_n "checking for $2... " >&6; } 1873if eval \${$3+:} false; then : 1874 $as_echo_n "(cached) " >&6 1875else 1876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1877/* end confdefs.h. */ 1878$4 1879#include <$2> 1880_ACEOF 1881if ac_fn_c_try_compile "$LINENO"; then : 1882 eval "$3=yes" 1883else 1884 eval "$3=no" 1885fi 1886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1887fi 1888eval ac_res=\$$3 1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1890$as_echo "$ac_res" >&6; } 1891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1892 1893} # ac_fn_c_check_header_compile 1894 1895# ac_fn_c_try_link LINENO 1896# ----------------------- 1897# Try to link conftest.$ac_ext, and return whether this succeeded. 1898ac_fn_c_try_link () 1899{ 1900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1901 rm -f conftest.$ac_objext conftest$ac_exeext 1902 if { { ac_try="$ac_link" 1903case "(($ac_try" in 1904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1905 *) ac_try_echo=$ac_try;; 1906esac 1907eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1908$as_echo "$ac_try_echo"; } >&5 1909 (eval "$ac_link") 2>conftest.err 1910 ac_status=$? 1911 if test -s conftest.err; then 1912 grep -v '^ *+' conftest.err >conftest.er1 1913 cat conftest.er1 >&5 1914 mv -f conftest.er1 conftest.err 1915 fi 1916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1917 test $ac_status = 0; } && { 1918 test -z "$ac_c_werror_flag" || 1919 test ! -s conftest.err 1920 } && test -s conftest$ac_exeext && { 1921 test "$cross_compiling" = yes || 1922 test -x conftest$ac_exeext 1923 }; then : 1924 ac_retval=0 1925else 1926 $as_echo "$as_me: failed program was:" >&5 1927sed 's/^/| /' conftest.$ac_ext >&5 1928 1929 ac_retval=1 1930fi 1931 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1932 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1933 # interfere with the next link command; also delete a directory that is 1934 # left behind by Apple's compiler. We do this before executing the actions. 1935 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1937 as_fn_set_status $ac_retval 1938 1939} # ac_fn_c_try_link 1940 1941# ac_fn_c_check_func LINENO FUNC VAR 1942# ---------------------------------- 1943# Tests whether FUNC exists, setting the cache variable VAR accordingly 1944ac_fn_c_check_func () 1945{ 1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1948$as_echo_n "checking for $2... " >&6; } 1949if eval \${$3+:} false; then : 1950 $as_echo_n "(cached) " >&6 1951else 1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1953/* end confdefs.h. */ 1954/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1955 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1956#define $2 innocuous_$2 1957 1958/* System header to define __stub macros and hopefully few prototypes, 1959 which can conflict with char $2 (); below. 1960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1961 <limits.h> exists even on freestanding compilers. */ 1962 1963#ifdef __STDC__ 1964# include <limits.h> 1965#else 1966# include <assert.h> 1967#endif 1968 1969#undef $2 1970 1971/* Override any GCC internal prototype to avoid an error. 1972 Use char because int might match the return type of a GCC 1973 builtin and then its argument prototype would still apply. */ 1974#ifdef __cplusplus 1975extern "C" 1976#endif 1977char $2 (); 1978/* The GNU C library defines this for functions which it implements 1979 to always fail with ENOSYS. Some functions are actually named 1980 something starting with __ and the normal name is an alias. */ 1981#if defined __stub_$2 || defined __stub___$2 1982choke me 1983#endif 1984 1985int 1986main () 1987{ 1988return $2 (); 1989 ; 1990 return 0; 1991} 1992_ACEOF 1993if ac_fn_c_try_link "$LINENO"; then : 1994 eval "$3=yes" 1995else 1996 eval "$3=no" 1997fi 1998rm -f core conftest.err conftest.$ac_objext \ 1999 conftest$ac_exeext conftest.$ac_ext 2000fi 2001eval ac_res=\$$3 2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2003$as_echo "$ac_res" >&6; } 2004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2005 2006} # ac_fn_c_check_func 2007 2008# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2009# --------------------------------------------- 2010# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2011# accordingly. 2012ac_fn_c_check_decl () 2013{ 2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2015 as_decl_name=`echo $2|sed 's/ *(.*//'` 2016 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2018$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2019if eval \${$3+:} false; then : 2020 $as_echo_n "(cached) " >&6 2021else 2022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2023/* end confdefs.h. */ 2024$4 2025int 2026main () 2027{ 2028#ifndef $as_decl_name 2029#ifdef __cplusplus 2030 (void) $as_decl_use; 2031#else 2032 (void) $as_decl_name; 2033#endif 2034#endif 2035 2036 ; 2037 return 0; 2038} 2039_ACEOF 2040if ac_fn_c_try_compile "$LINENO"; then : 2041 eval "$3=yes" 2042else 2043 eval "$3=no" 2044fi 2045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2046fi 2047eval ac_res=\$$3 2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2049$as_echo "$ac_res" >&6; } 2050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2051 2052} # ac_fn_c_check_decl 2053cat >config.log <<_ACEOF 2054This file contains any messages produced by compilers while 2055running configure, to aid debugging if configure makes a mistake. 2056 2057It was created by vkd3d $as_me 1.2, which was 2058generated by GNU Autoconf 2.69. Invocation command line was 2059 2060 $ $0 $@ 2061 2062_ACEOF 2063exec 5>>config.log 2064{ 2065cat <<_ASUNAME 2066## --------- ## 2067## Platform. ## 2068## --------- ## 2069 2070hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2071uname -m = `(uname -m) 2>/dev/null || echo unknown` 2072uname -r = `(uname -r) 2>/dev/null || echo unknown` 2073uname -s = `(uname -s) 2>/dev/null || echo unknown` 2074uname -v = `(uname -v) 2>/dev/null || echo unknown` 2075 2076/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2077/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2078 2079/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2080/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2081/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2082/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2083/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2084/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2085/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2086 2087_ASUNAME 2088 2089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2090for as_dir in $PATH 2091do 2092 IFS=$as_save_IFS 2093 test -z "$as_dir" && as_dir=. 2094 $as_echo "PATH: $as_dir" 2095 done 2096IFS=$as_save_IFS 2097 2098} >&5 2099 2100cat >&5 <<_ACEOF 2101 2102 2103## ----------- ## 2104## Core tests. ## 2105## ----------- ## 2106 2107_ACEOF 2108 2109 2110# Keep a trace of the command line. 2111# Strip out --no-create and --no-recursion so they do not pile up. 2112# Strip out --silent because we don't want to record it for future runs. 2113# Also quote any args containing shell meta-characters. 2114# Make two passes to allow for proper duplicate-argument suppression. 2115ac_configure_args= 2116ac_configure_args0= 2117ac_configure_args1= 2118ac_must_keep_next=false 2119for ac_pass in 1 2 2120do 2121 for ac_arg 2122 do 2123 case $ac_arg in 2124 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2126 | -silent | --silent | --silen | --sile | --sil) 2127 continue ;; 2128 *\'*) 2129 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2130 esac 2131 case $ac_pass in 2132 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2133 2) 2134 as_fn_append ac_configure_args1 " '$ac_arg'" 2135 if test $ac_must_keep_next = true; then 2136 ac_must_keep_next=false # Got value, back to normal. 2137 else 2138 case $ac_arg in 2139 *=* | --config-cache | -C | -disable-* | --disable-* \ 2140 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2141 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2142 | -with-* | --with-* | -without-* | --without-* | --x) 2143 case "$ac_configure_args0 " in 2144 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2145 esac 2146 ;; 2147 -* ) ac_must_keep_next=true ;; 2148 esac 2149 fi 2150 as_fn_append ac_configure_args " '$ac_arg'" 2151 ;; 2152 esac 2153 done 2154done 2155{ ac_configure_args0=; unset ac_configure_args0;} 2156{ ac_configure_args1=; unset ac_configure_args1;} 2157 2158# When interrupted or exit'd, cleanup temporary files, and complete 2159# config.log. We remove comments because anyway the quotes in there 2160# would cause problems or look ugly. 2161# WARNING: Use '\'' to represent an apostrophe within the trap. 2162# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2163trap 'exit_status=$? 2164 # Save into config.log some information that might help in debugging. 2165 { 2166 echo 2167 2168 $as_echo "## ---------------- ## 2169## Cache variables. ## 2170## ---------------- ##" 2171 echo 2172 # The following way of writing the cache mishandles newlines in values, 2173( 2174 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2175 eval ac_val=\$$ac_var 2176 case $ac_val in #( 2177 *${as_nl}*) 2178 case $ac_var in #( 2179 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2180$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2181 esac 2182 case $ac_var in #( 2183 _ | IFS | as_nl) ;; #( 2184 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2185 *) { eval $ac_var=; unset $ac_var;} ;; 2186 esac ;; 2187 esac 2188 done 2189 (set) 2>&1 | 2190 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2191 *${as_nl}ac_space=\ *) 2192 sed -n \ 2193 "s/'\''/'\''\\\\'\'''\''/g; 2194 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2195 ;; #( 2196 *) 2197 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2198 ;; 2199 esac | 2200 sort 2201) 2202 echo 2203 2204 $as_echo "## ----------------- ## 2205## Output variables. ## 2206## ----------------- ##" 2207 echo 2208 for ac_var in $ac_subst_vars 2209 do 2210 eval ac_val=\$$ac_var 2211 case $ac_val in 2212 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2213 esac 2214 $as_echo "$ac_var='\''$ac_val'\''" 2215 done | sort 2216 echo 2217 2218 if test -n "$ac_subst_files"; then 2219 $as_echo "## ------------------- ## 2220## File substitutions. ## 2221## ------------------- ##" 2222 echo 2223 for ac_var in $ac_subst_files 2224 do 2225 eval ac_val=\$$ac_var 2226 case $ac_val in 2227 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2228 esac 2229 $as_echo "$ac_var='\''$ac_val'\''" 2230 done | sort 2231 echo 2232 fi 2233 2234 if test -s confdefs.h; then 2235 $as_echo "## ----------- ## 2236## confdefs.h. ## 2237## ----------- ##" 2238 echo 2239 cat confdefs.h 2240 echo 2241 fi 2242 test "$ac_signal" != 0 && 2243 $as_echo "$as_me: caught signal $ac_signal" 2244 $as_echo "$as_me: exit $exit_status" 2245 } >&5 2246 rm -f core *.core core.conftest.* && 2247 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2248 exit $exit_status 2249' 0 2250for ac_signal in 1 2 13 15; do 2251 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2252done 2253ac_signal=0 2254 2255# confdefs.h avoids OS command line length limits that DEFS can exceed. 2256rm -f -r conftest* confdefs.h 2257 2258$as_echo "/* confdefs.h */" > confdefs.h 2259 2260# Predefined preprocessor variables. 2261 2262cat >>confdefs.h <<_ACEOF 2263#define PACKAGE_NAME "$PACKAGE_NAME" 2264_ACEOF 2265 2266cat >>confdefs.h <<_ACEOF 2267#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2268_ACEOF 2269 2270cat >>confdefs.h <<_ACEOF 2271#define PACKAGE_VERSION "$PACKAGE_VERSION" 2272_ACEOF 2273 2274cat >>confdefs.h <<_ACEOF 2275#define PACKAGE_STRING "$PACKAGE_STRING" 2276_ACEOF 2277 2278cat >>confdefs.h <<_ACEOF 2279#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2280_ACEOF 2281 2282cat >>confdefs.h <<_ACEOF 2283#define PACKAGE_URL "$PACKAGE_URL" 2284_ACEOF 2285 2286 2287# Let the site file select an alternate cache file if it wants to. 2288# Prefer an explicitly selected file to automatically selected ones. 2289ac_site_file1=NONE 2290ac_site_file2=NONE 2291if test -n "$CONFIG_SITE"; then 2292 # We do not want a PATH search for config.site. 2293 case $CONFIG_SITE in #(( 2294 -*) ac_site_file1=./$CONFIG_SITE;; 2295 */*) ac_site_file1=$CONFIG_SITE;; 2296 *) ac_site_file1=./$CONFIG_SITE;; 2297 esac 2298elif test "x$prefix" != xNONE; then 2299 ac_site_file1=$prefix/share/config.site 2300 ac_site_file2=$prefix/etc/config.site 2301else 2302 ac_site_file1=$ac_default_prefix/share/config.site 2303 ac_site_file2=$ac_default_prefix/etc/config.site 2304fi 2305for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2306do 2307 test "x$ac_site_file" = xNONE && continue 2308 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2309 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2310$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2311 sed 's/^/| /' "$ac_site_file" >&5 2312 . "$ac_site_file" \ 2313 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2314$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2315as_fn_error $? "failed to load site script $ac_site_file 2316See \`config.log' for more details" "$LINENO" 5; } 2317 fi 2318done 2319 2320if test -r "$cache_file"; then 2321 # Some versions of bash will fail to source /dev/null (special files 2322 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2323 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2324 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2325$as_echo "$as_me: loading cache $cache_file" >&6;} 2326 case $cache_file in 2327 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2328 *) . "./$cache_file";; 2329 esac 2330 fi 2331else 2332 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2333$as_echo "$as_me: creating cache $cache_file" >&6;} 2334 >$cache_file 2335fi 2336 2337# Check that the precious variables saved in the cache have kept the same 2338# value. 2339ac_cache_corrupted=false 2340for ac_var in $ac_precious_vars; do 2341 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2342 eval ac_new_set=\$ac_env_${ac_var}_set 2343 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2344 eval ac_new_val=\$ac_env_${ac_var}_value 2345 case $ac_old_set,$ac_new_set in 2346 set,) 2347 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2348$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2349 ac_cache_corrupted=: ;; 2350 ,set) 2351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2352$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2353 ac_cache_corrupted=: ;; 2354 ,);; 2355 *) 2356 if test "x$ac_old_val" != "x$ac_new_val"; then 2357 # differences in whitespace do not lead to failure. 2358 ac_old_val_w=`echo x $ac_old_val` 2359 ac_new_val_w=`echo x $ac_new_val` 2360 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2361 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2362$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2363 ac_cache_corrupted=: 2364 else 2365 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2366$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2367 eval $ac_var=\$ac_old_val 2368 fi 2369 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2370$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2371 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2372$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2373 fi;; 2374 esac 2375 # Pass precious variables to config.status. 2376 if test "$ac_new_set" = set; then 2377 case $ac_new_val in 2378 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2379 *) ac_arg=$ac_var=$ac_new_val ;; 2380 esac 2381 case " $ac_configure_args " in 2382 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2383 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2384 esac 2385 fi 2386done 2387if $ac_cache_corrupted; then 2388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2389$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2391$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2392 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2393fi 2394## -------------------- ## 2395## Main body of script. ## 2396## -------------------- ## 2397 2398ac_ext=c 2399ac_cpp='$CPP $CPPFLAGS' 2400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2401ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2402ac_compiler_gnu=$ac_cv_c_compiler_gnu 2403 2404 2405 2406ac_aux_dir= 2407for ac_dir in bin "$srcdir"/bin; do 2408 if test -f "$ac_dir/install-sh"; then 2409 ac_aux_dir=$ac_dir 2410 ac_install_sh="$ac_aux_dir/install-sh -c" 2411 break 2412 elif test -f "$ac_dir/install.sh"; then 2413 ac_aux_dir=$ac_dir 2414 ac_install_sh="$ac_aux_dir/install.sh -c" 2415 break 2416 elif test -f "$ac_dir/shtool"; then 2417 ac_aux_dir=$ac_dir 2418 ac_install_sh="$ac_aux_dir/shtool install -c" 2419 break 2420 fi 2421done 2422if test -z "$ac_aux_dir"; then 2423 as_fn_error $? "cannot find install-sh, install.sh, or shtool in bin \"$srcdir\"/bin" "$LINENO" 5 2424fi 2425 2426# These three variables are undocumented and unsupported, 2427# and are intended to be withdrawn in a future Autoconf release. 2428# They can cause serious problems if a builder's source tree is in a directory 2429# whose full name contains unusual characters. 2430ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2431ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2432ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2433 2434 2435 2436ac_config_headers="$ac_config_headers include/config.h" 2437 2438 2439 2440 2441 2442 2443# Check whether --with-xcb was given. 2444if test "${with_xcb+set}" = set; then : 2445 withval=$with_xcb; 2446fi 2447 2448 2449# Check whether --with-spirv-tools was given. 2450if test "${with_spirv_tools+set}" = set; then : 2451 withval=$with_spirv_tools; 2452fi 2453 2454# Check whether --enable-demos was given. 2455if test "${enable_demos+set}" = set; then : 2456 enableval=$enable_demos; 2457else 2458 enable_demos=no 2459fi 2460 2461# Check whether --enable-tests was given. 2462if test "${enable_tests+set}" = set; then : 2463 enableval=$enable_tests; 2464else 2465 enable_tests=yes 2466fi 2467 2468 2469# Expand $ac_aux_dir to an absolute path. 2470am_aux_dir=`cd "$ac_aux_dir" && pwd` 2471 2472ac_ext=c 2473ac_cpp='$CPP $CPPFLAGS' 2474ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2475ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2476ac_compiler_gnu=$ac_cv_c_compiler_gnu 2477if test -n "$ac_tool_prefix"; then 2478 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2479set dummy ${ac_tool_prefix}gcc; ac_word=$2 2480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2481$as_echo_n "checking for $ac_word... " >&6; } 2482if ${ac_cv_prog_CC+:} false; then : 2483 $as_echo_n "(cached) " >&6 2484else 2485 if test -n "$CC"; then 2486 ac_cv_prog_CC="$CC" # Let the user override the test. 2487else 2488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2489for as_dir in $PATH 2490do 2491 IFS=$as_save_IFS 2492 test -z "$as_dir" && as_dir=. 2493 for ac_exec_ext in '' $ac_executable_extensions; do 2494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2495 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2497 break 2 2498 fi 2499done 2500 done 2501IFS=$as_save_IFS 2502 2503fi 2504fi 2505CC=$ac_cv_prog_CC 2506if test -n "$CC"; then 2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2508$as_echo "$CC" >&6; } 2509else 2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2511$as_echo "no" >&6; } 2512fi 2513 2514 2515fi 2516if test -z "$ac_cv_prog_CC"; then 2517 ac_ct_CC=$CC 2518 # Extract the first word of "gcc", so it can be a program name with args. 2519set dummy gcc; ac_word=$2 2520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2521$as_echo_n "checking for $ac_word... " >&6; } 2522if ${ac_cv_prog_ac_ct_CC+:} false; then : 2523 $as_echo_n "(cached) " >&6 2524else 2525 if test -n "$ac_ct_CC"; then 2526 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2527else 2528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2529for as_dir in $PATH 2530do 2531 IFS=$as_save_IFS 2532 test -z "$as_dir" && as_dir=. 2533 for ac_exec_ext in '' $ac_executable_extensions; do 2534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2535 ac_cv_prog_ac_ct_CC="gcc" 2536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2537 break 2 2538 fi 2539done 2540 done 2541IFS=$as_save_IFS 2542 2543fi 2544fi 2545ac_ct_CC=$ac_cv_prog_ac_ct_CC 2546if test -n "$ac_ct_CC"; then 2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2548$as_echo "$ac_ct_CC" >&6; } 2549else 2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2551$as_echo "no" >&6; } 2552fi 2553 2554 if test "x$ac_ct_CC" = x; then 2555 CC="" 2556 else 2557 case $cross_compiling:$ac_tool_warned in 2558yes:) 2559{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2560$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2561ac_tool_warned=yes ;; 2562esac 2563 CC=$ac_ct_CC 2564 fi 2565else 2566 CC="$ac_cv_prog_CC" 2567fi 2568 2569if test -z "$CC"; then 2570 if test -n "$ac_tool_prefix"; then 2571 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2572set dummy ${ac_tool_prefix}cc; ac_word=$2 2573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2574$as_echo_n "checking for $ac_word... " >&6; } 2575if ${ac_cv_prog_CC+:} false; then : 2576 $as_echo_n "(cached) " >&6 2577else 2578 if test -n "$CC"; then 2579 ac_cv_prog_CC="$CC" # Let the user override the test. 2580else 2581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2582for as_dir in $PATH 2583do 2584 IFS=$as_save_IFS 2585 test -z "$as_dir" && as_dir=. 2586 for ac_exec_ext in '' $ac_executable_extensions; do 2587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2588 ac_cv_prog_CC="${ac_tool_prefix}cc" 2589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2590 break 2 2591 fi 2592done 2593 done 2594IFS=$as_save_IFS 2595 2596fi 2597fi 2598CC=$ac_cv_prog_CC 2599if test -n "$CC"; then 2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2601$as_echo "$CC" >&6; } 2602else 2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2604$as_echo "no" >&6; } 2605fi 2606 2607 2608 fi 2609fi 2610if test -z "$CC"; then 2611 # Extract the first word of "cc", so it can be a program name with args. 2612set dummy cc; ac_word=$2 2613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2614$as_echo_n "checking for $ac_word... " >&6; } 2615if ${ac_cv_prog_CC+:} false; then : 2616 $as_echo_n "(cached) " >&6 2617else 2618 if test -n "$CC"; then 2619 ac_cv_prog_CC="$CC" # Let the user override the test. 2620else 2621 ac_prog_rejected=no 2622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2623for as_dir in $PATH 2624do 2625 IFS=$as_save_IFS 2626 test -z "$as_dir" && as_dir=. 2627 for ac_exec_ext in '' $ac_executable_extensions; do 2628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2629 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2630 ac_prog_rejected=yes 2631 continue 2632 fi 2633 ac_cv_prog_CC="cc" 2634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2635 break 2 2636 fi 2637done 2638 done 2639IFS=$as_save_IFS 2640 2641if test $ac_prog_rejected = yes; then 2642 # We found a bogon in the path, so make sure we never use it. 2643 set dummy $ac_cv_prog_CC 2644 shift 2645 if test $# != 0; then 2646 # We chose a different compiler from the bogus one. 2647 # However, it has the same basename, so the bogon will be chosen 2648 # first if we set CC to just the basename; use the full file name. 2649 shift 2650 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2651 fi 2652fi 2653fi 2654fi 2655CC=$ac_cv_prog_CC 2656if test -n "$CC"; then 2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2658$as_echo "$CC" >&6; } 2659else 2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2661$as_echo "no" >&6; } 2662fi 2663 2664 2665fi 2666if test -z "$CC"; then 2667 if test -n "$ac_tool_prefix"; then 2668 for ac_prog in cl.exe 2669 do 2670 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2671set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2673$as_echo_n "checking for $ac_word... " >&6; } 2674if ${ac_cv_prog_CC+:} false; then : 2675 $as_echo_n "(cached) " >&6 2676else 2677 if test -n "$CC"; then 2678 ac_cv_prog_CC="$CC" # Let the user override the test. 2679else 2680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2681for as_dir in $PATH 2682do 2683 IFS=$as_save_IFS 2684 test -z "$as_dir" && as_dir=. 2685 for ac_exec_ext in '' $ac_executable_extensions; do 2686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2687 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2689 break 2 2690 fi 2691done 2692 done 2693IFS=$as_save_IFS 2694 2695fi 2696fi 2697CC=$ac_cv_prog_CC 2698if test -n "$CC"; then 2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2700$as_echo "$CC" >&6; } 2701else 2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2703$as_echo "no" >&6; } 2704fi 2705 2706 2707 test -n "$CC" && break 2708 done 2709fi 2710if test -z "$CC"; then 2711 ac_ct_CC=$CC 2712 for ac_prog in cl.exe 2713do 2714 # Extract the first word of "$ac_prog", so it can be a program name with args. 2715set dummy $ac_prog; ac_word=$2 2716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2717$as_echo_n "checking for $ac_word... " >&6; } 2718if ${ac_cv_prog_ac_ct_CC+:} false; then : 2719 $as_echo_n "(cached) " >&6 2720else 2721 if test -n "$ac_ct_CC"; then 2722 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2723else 2724as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2725for as_dir in $PATH 2726do 2727 IFS=$as_save_IFS 2728 test -z "$as_dir" && as_dir=. 2729 for ac_exec_ext in '' $ac_executable_extensions; do 2730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2731 ac_cv_prog_ac_ct_CC="$ac_prog" 2732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2733 break 2 2734 fi 2735done 2736 done 2737IFS=$as_save_IFS 2738 2739fi 2740fi 2741ac_ct_CC=$ac_cv_prog_ac_ct_CC 2742if test -n "$ac_ct_CC"; then 2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2744$as_echo "$ac_ct_CC" >&6; } 2745else 2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2747$as_echo "no" >&6; } 2748fi 2749 2750 2751 test -n "$ac_ct_CC" && break 2752done 2753 2754 if test "x$ac_ct_CC" = x; then 2755 CC="" 2756 else 2757 case $cross_compiling:$ac_tool_warned in 2758yes:) 2759{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2760$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2761ac_tool_warned=yes ;; 2762esac 2763 CC=$ac_ct_CC 2764 fi 2765fi 2766 2767fi 2768 2769 2770test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2771$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2772as_fn_error $? "no acceptable C compiler found in \$PATH 2773See \`config.log' for more details" "$LINENO" 5; } 2774 2775# Provide some information about the compiler. 2776$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2777set X $ac_compile 2778ac_compiler=$2 2779for ac_option in --version -v -V -qversion; do 2780 { { ac_try="$ac_compiler $ac_option >&5" 2781case "(($ac_try" in 2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2783 *) ac_try_echo=$ac_try;; 2784esac 2785eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2786$as_echo "$ac_try_echo"; } >&5 2787 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2788 ac_status=$? 2789 if test -s conftest.err; then 2790 sed '10a\ 2791... rest of stderr output deleted ... 2792 10q' conftest.err >conftest.er1 2793 cat conftest.er1 >&5 2794 fi 2795 rm -f conftest.er1 conftest.err 2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2797 test $ac_status = 0; } 2798done 2799 2800cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2801/* end confdefs.h. */ 2802 2803int 2804main () 2805{ 2806 2807 ; 2808 return 0; 2809} 2810_ACEOF 2811ac_clean_files_save=$ac_clean_files 2812ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2813# Try to create an executable without -o first, disregard a.out. 2814# It will help us diagnose broken compilers, and finding out an intuition 2815# of exeext. 2816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2817$as_echo_n "checking whether the C compiler works... " >&6; } 2818ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2819 2820# The possible output files: 2821ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2822 2823ac_rmfiles= 2824for ac_file in $ac_files 2825do 2826 case $ac_file in 2827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2828 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2829 esac 2830done 2831rm -f $ac_rmfiles 2832 2833if { { ac_try="$ac_link_default" 2834case "(($ac_try" in 2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2836 *) ac_try_echo=$ac_try;; 2837esac 2838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2839$as_echo "$ac_try_echo"; } >&5 2840 (eval "$ac_link_default") 2>&5 2841 ac_status=$? 2842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2843 test $ac_status = 0; }; then : 2844 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2845# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2846# in a Makefile. We should not override ac_cv_exeext if it was cached, 2847# so that the user can short-circuit this test for compilers unknown to 2848# Autoconf. 2849for ac_file in $ac_files '' 2850do 2851 test -f "$ac_file" || continue 2852 case $ac_file in 2853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2854 ;; 2855 [ab].out ) 2856 # We found the default executable, but exeext='' is most 2857 # certainly right. 2858 break;; 2859 *.* ) 2860 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2861 then :; else 2862 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2863 fi 2864 # We set ac_cv_exeext here because the later test for it is not 2865 # safe: cross compilers may not add the suffix if given an `-o' 2866 # argument, so we may need to know it at that point already. 2867 # Even if this section looks crufty: it has the advantage of 2868 # actually working. 2869 break;; 2870 * ) 2871 break;; 2872 esac 2873done 2874test "$ac_cv_exeext" = no && ac_cv_exeext= 2875 2876else 2877 ac_file='' 2878fi 2879if test -z "$ac_file"; then : 2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2881$as_echo "no" >&6; } 2882$as_echo "$as_me: failed program was:" >&5 2883sed 's/^/| /' conftest.$ac_ext >&5 2884 2885{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2886$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2887as_fn_error 77 "C compiler cannot create executables 2888See \`config.log' for more details" "$LINENO" 5; } 2889else 2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2891$as_echo "yes" >&6; } 2892fi 2893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2894$as_echo_n "checking for C compiler default output file name... " >&6; } 2895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2896$as_echo "$ac_file" >&6; } 2897ac_exeext=$ac_cv_exeext 2898 2899rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2900ac_clean_files=$ac_clean_files_save 2901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2902$as_echo_n "checking for suffix of executables... " >&6; } 2903if { { ac_try="$ac_link" 2904case "(($ac_try" in 2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2906 *) ac_try_echo=$ac_try;; 2907esac 2908eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2909$as_echo "$ac_try_echo"; } >&5 2910 (eval "$ac_link") 2>&5 2911 ac_status=$? 2912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2913 test $ac_status = 0; }; then : 2914 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2915# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2916# work properly (i.e., refer to `conftest.exe'), while it won't with 2917# `rm'. 2918for ac_file in conftest.exe conftest conftest.*; do 2919 test -f "$ac_file" || continue 2920 case $ac_file in 2921 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2922 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2923 break;; 2924 * ) break;; 2925 esac 2926done 2927else 2928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2929$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2930as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2931See \`config.log' for more details" "$LINENO" 5; } 2932fi 2933rm -f conftest conftest$ac_cv_exeext 2934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2935$as_echo "$ac_cv_exeext" >&6; } 2936 2937rm -f conftest.$ac_ext 2938EXEEXT=$ac_cv_exeext 2939ac_exeext=$EXEEXT 2940cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2941/* end confdefs.h. */ 2942#include <stdio.h> 2943int 2944main () 2945{ 2946FILE *f = fopen ("conftest.out", "w"); 2947 return ferror (f) || fclose (f) != 0; 2948 2949 ; 2950 return 0; 2951} 2952_ACEOF 2953ac_clean_files="$ac_clean_files conftest.out" 2954# Check that the compiler produces executables we can run. If not, either 2955# the compiler is broken, or we cross compile. 2956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2957$as_echo_n "checking whether we are cross compiling... " >&6; } 2958if test "$cross_compiling" != yes; then 2959 { { ac_try="$ac_link" 2960case "(($ac_try" in 2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2962 *) ac_try_echo=$ac_try;; 2963esac 2964eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2965$as_echo "$ac_try_echo"; } >&5 2966 (eval "$ac_link") 2>&5 2967 ac_status=$? 2968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2969 test $ac_status = 0; } 2970 if { ac_try='./conftest$ac_cv_exeext' 2971 { { case "(($ac_try" in 2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2973 *) ac_try_echo=$ac_try;; 2974esac 2975eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2976$as_echo "$ac_try_echo"; } >&5 2977 (eval "$ac_try") 2>&5 2978 ac_status=$? 2979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2980 test $ac_status = 0; }; }; then 2981 cross_compiling=no 2982 else 2983 if test "$cross_compiling" = maybe; then 2984 cross_compiling=yes 2985 else 2986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2987$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2988as_fn_error $? "cannot run C compiled programs. 2989If you meant to cross compile, use \`--host'. 2990See \`config.log' for more details" "$LINENO" 5; } 2991 fi 2992 fi 2993fi 2994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2995$as_echo "$cross_compiling" >&6; } 2996 2997rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2998ac_clean_files=$ac_clean_files_save 2999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3000$as_echo_n "checking for suffix of object files... " >&6; } 3001if ${ac_cv_objext+:} false; then : 3002 $as_echo_n "(cached) " >&6 3003else 3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3005/* end confdefs.h. */ 3006 3007int 3008main () 3009{ 3010 3011 ; 3012 return 0; 3013} 3014_ACEOF 3015rm -f conftest.o conftest.obj 3016if { { ac_try="$ac_compile" 3017case "(($ac_try" in 3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3019 *) ac_try_echo=$ac_try;; 3020esac 3021eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3022$as_echo "$ac_try_echo"; } >&5 3023 (eval "$ac_compile") 2>&5 3024 ac_status=$? 3025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3026 test $ac_status = 0; }; then : 3027 for ac_file in conftest.o conftest.obj conftest.*; do 3028 test -f "$ac_file" || continue; 3029 case $ac_file in 3030 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3031 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3032 break;; 3033 esac 3034done 3035else 3036 $as_echo "$as_me: failed program was:" >&5 3037sed 's/^/| /' conftest.$ac_ext >&5 3038 3039{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3040$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3041as_fn_error $? "cannot compute suffix of object files: cannot compile 3042See \`config.log' for more details" "$LINENO" 5; } 3043fi 3044rm -f conftest.$ac_cv_objext conftest.$ac_ext 3045fi 3046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3047$as_echo "$ac_cv_objext" >&6; } 3048OBJEXT=$ac_cv_objext 3049ac_objext=$OBJEXT 3050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3051$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3052if ${ac_cv_c_compiler_gnu+:} false; then : 3053 $as_echo_n "(cached) " >&6 3054else 3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3056/* end confdefs.h. */ 3057 3058int 3059main () 3060{ 3061#ifndef __GNUC__ 3062 choke me 3063#endif 3064 3065 ; 3066 return 0; 3067} 3068_ACEOF 3069if ac_fn_c_try_compile "$LINENO"; then : 3070 ac_compiler_gnu=yes 3071else 3072 ac_compiler_gnu=no 3073fi 3074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3075ac_cv_c_compiler_gnu=$ac_compiler_gnu 3076 3077fi 3078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3079$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3080if test $ac_compiler_gnu = yes; then 3081 GCC=yes 3082else 3083 GCC= 3084fi 3085ac_test_CFLAGS=${CFLAGS+set} 3086ac_save_CFLAGS=$CFLAGS 3087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3088$as_echo_n "checking whether $CC accepts -g... " >&6; } 3089if ${ac_cv_prog_cc_g+:} false; then : 3090 $as_echo_n "(cached) " >&6 3091else 3092 ac_save_c_werror_flag=$ac_c_werror_flag 3093 ac_c_werror_flag=yes 3094 ac_cv_prog_cc_g=no 3095 CFLAGS="-g" 3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3097/* end confdefs.h. */ 3098 3099int 3100main () 3101{ 3102 3103 ; 3104 return 0; 3105} 3106_ACEOF 3107if ac_fn_c_try_compile "$LINENO"; then : 3108 ac_cv_prog_cc_g=yes 3109else 3110 CFLAGS="" 3111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3112/* end confdefs.h. */ 3113 3114int 3115main () 3116{ 3117 3118 ; 3119 return 0; 3120} 3121_ACEOF 3122if ac_fn_c_try_compile "$LINENO"; then : 3123 3124else 3125 ac_c_werror_flag=$ac_save_c_werror_flag 3126 CFLAGS="-g" 3127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3128/* end confdefs.h. */ 3129 3130int 3131main () 3132{ 3133 3134 ; 3135 return 0; 3136} 3137_ACEOF 3138if ac_fn_c_try_compile "$LINENO"; then : 3139 ac_cv_prog_cc_g=yes 3140fi 3141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3142fi 3143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3144fi 3145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3146 ac_c_werror_flag=$ac_save_c_werror_flag 3147fi 3148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3149$as_echo "$ac_cv_prog_cc_g" >&6; } 3150if test "$ac_test_CFLAGS" = set; then 3151 CFLAGS=$ac_save_CFLAGS 3152elif test $ac_cv_prog_cc_g = yes; then 3153 if test "$GCC" = yes; then 3154 CFLAGS="-g -O2" 3155 else 3156 CFLAGS="-g" 3157 fi 3158else 3159 if test "$GCC" = yes; then 3160 CFLAGS="-O2" 3161 else 3162 CFLAGS= 3163 fi 3164fi 3165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3166$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3167if ${ac_cv_prog_cc_c89+:} false; then : 3168 $as_echo_n "(cached) " >&6 3169else 3170 ac_cv_prog_cc_c89=no 3171ac_save_CC=$CC 3172cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3173/* end confdefs.h. */ 3174#include <stdarg.h> 3175#include <stdio.h> 3176struct stat; 3177/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3178struct buf { int x; }; 3179FILE * (*rcsopen) (struct buf *, struct stat *, int); 3180static char *e (p, i) 3181 char **p; 3182 int i; 3183{ 3184 return p[i]; 3185} 3186static char *f (char * (*g) (char **, int), char **p, ...) 3187{ 3188 char *s; 3189 va_list v; 3190 va_start (v,p); 3191 s = g (p, va_arg (v,int)); 3192 va_end (v); 3193 return s; 3194} 3195 3196/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3197 function prototypes and stuff, but not '\xHH' hex character constants. 3198 These don't provoke an error unfortunately, instead are silently treated 3199 as 'x'. The following induces an error, until -std is added to get 3200 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3201 array size at least. It's necessary to write '\x00'==0 to get something 3202 that's true only with -std. */ 3203int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3204 3205/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3206 inside strings and character constants. */ 3207#define FOO(x) 'x' 3208int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3209 3210int test (int i, double x); 3211struct s1 {int (*f) (int a);}; 3212struct s2 {int (*f) (double a);}; 3213int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3214int argc; 3215char **argv; 3216int 3217main () 3218{ 3219return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3220 ; 3221 return 0; 3222} 3223_ACEOF 3224for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3225 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3226do 3227 CC="$ac_save_CC $ac_arg" 3228 if ac_fn_c_try_compile "$LINENO"; then : 3229 ac_cv_prog_cc_c89=$ac_arg 3230fi 3231rm -f core conftest.err conftest.$ac_objext 3232 test "x$ac_cv_prog_cc_c89" != "xno" && break 3233done 3234rm -f conftest.$ac_ext 3235CC=$ac_save_CC 3236 3237fi 3238# AC_CACHE_VAL 3239case "x$ac_cv_prog_cc_c89" in 3240 x) 3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3242$as_echo "none needed" >&6; } ;; 3243 xno) 3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3245$as_echo "unsupported" >&6; } ;; 3246 *) 3247 CC="$CC $ac_cv_prog_cc_c89" 3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3249$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3250esac 3251if test "x$ac_cv_prog_cc_c89" != xno; then : 3252 3253fi 3254 3255ac_ext=c 3256ac_cpp='$CPP $CPPFLAGS' 3257ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3258ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3259ac_compiler_gnu=$ac_cv_c_compiler_gnu 3260 3261ac_ext=c 3262ac_cpp='$CPP $CPPFLAGS' 3263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3265ac_compiler_gnu=$ac_cv_c_compiler_gnu 3266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3267$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3268if ${am_cv_prog_cc_c_o+:} false; then : 3269 $as_echo_n "(cached) " >&6 3270else 3271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3272/* end confdefs.h. */ 3273 3274int 3275main () 3276{ 3277 3278 ; 3279 return 0; 3280} 3281_ACEOF 3282 # Make sure it works both with $CC and with simple cc. 3283 # Following AC_PROG_CC_C_O, we do the test twice because some 3284 # compilers refuse to overwrite an existing .o file with -o, 3285 # though they will create one. 3286 am_cv_prog_cc_c_o=yes 3287 for am_i in 1 2; do 3288 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3289 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3290 ac_status=$? 3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3292 (exit $ac_status); } \ 3293 && test -f conftest2.$ac_objext; then 3294 : OK 3295 else 3296 am_cv_prog_cc_c_o=no 3297 break 3298 fi 3299 done 3300 rm -f core conftest* 3301 unset am_i 3302fi 3303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3304$as_echo "$am_cv_prog_cc_c_o" >&6; } 3305if test "$am_cv_prog_cc_c_o" != yes; then 3306 # Losing compiler, so override with the script. 3307 # FIXME: It is wrong to rewrite CC. 3308 # But if we don't then we get into trouble of one sort or another. 3309 # A longer-term fix would be to have automake use am__CC in this case, 3310 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3311 CC="$am_aux_dir/compile $CC" 3312fi 3313ac_ext=c 3314ac_cpp='$CPP $CPPFLAGS' 3315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3317ac_compiler_gnu=$ac_cv_c_compiler_gnu 3318 3319 3320 3321ac_ext=c 3322ac_cpp='$CPP $CPPFLAGS' 3323ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3324ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3325ac_compiler_gnu=$ac_cv_c_compiler_gnu 3326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3327$as_echo_n "checking how to run the C preprocessor... " >&6; } 3328# On Suns, sometimes $CPP names a directory. 3329if test -n "$CPP" && test -d "$CPP"; then 3330 CPP= 3331fi 3332if test -z "$CPP"; then 3333 if ${ac_cv_prog_CPP+:} false; then : 3334 $as_echo_n "(cached) " >&6 3335else 3336 # Double quotes because CPP needs to be expanded 3337 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3338 do 3339 ac_preproc_ok=false 3340for ac_c_preproc_warn_flag in '' yes 3341do 3342 # Use a header file that comes with gcc, so configuring glibc 3343 # with a fresh cross-compiler works. 3344 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3345 # <limits.h> exists even on freestanding compilers. 3346 # On the NeXT, cc -E runs the code through the compiler's parser, 3347 # not just through cpp. "Syntax error" is here to catch this case. 3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3349/* end confdefs.h. */ 3350#ifdef __STDC__ 3351# include <limits.h> 3352#else 3353# include <assert.h> 3354#endif 3355 Syntax error 3356_ACEOF 3357if ac_fn_c_try_cpp "$LINENO"; then : 3358 3359else 3360 # Broken: fails on valid input. 3361continue 3362fi 3363rm -f conftest.err conftest.i conftest.$ac_ext 3364 3365 # OK, works on sane cases. Now check whether nonexistent headers 3366 # can be detected and how. 3367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3368/* end confdefs.h. */ 3369#include <ac_nonexistent.h> 3370_ACEOF 3371if ac_fn_c_try_cpp "$LINENO"; then : 3372 # Broken: success on invalid input. 3373continue 3374else 3375 # Passes both tests. 3376ac_preproc_ok=: 3377break 3378fi 3379rm -f conftest.err conftest.i conftest.$ac_ext 3380 3381done 3382# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3383rm -f conftest.i conftest.err conftest.$ac_ext 3384if $ac_preproc_ok; then : 3385 break 3386fi 3387 3388 done 3389 ac_cv_prog_CPP=$CPP 3390 3391fi 3392 CPP=$ac_cv_prog_CPP 3393else 3394 ac_cv_prog_CPP=$CPP 3395fi 3396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3397$as_echo "$CPP" >&6; } 3398ac_preproc_ok=false 3399for ac_c_preproc_warn_flag in '' yes 3400do 3401 # Use a header file that comes with gcc, so configuring glibc 3402 # with a fresh cross-compiler works. 3403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3404 # <limits.h> exists even on freestanding compilers. 3405 # On the NeXT, cc -E runs the code through the compiler's parser, 3406 # not just through cpp. "Syntax error" is here to catch this case. 3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3408/* end confdefs.h. */ 3409#ifdef __STDC__ 3410# include <limits.h> 3411#else 3412# include <assert.h> 3413#endif 3414 Syntax error 3415_ACEOF 3416if ac_fn_c_try_cpp "$LINENO"; then : 3417 3418else 3419 # Broken: fails on valid input. 3420continue 3421fi 3422rm -f conftest.err conftest.i conftest.$ac_ext 3423 3424 # OK, works on sane cases. Now check whether nonexistent headers 3425 # can be detected and how. 3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3427/* end confdefs.h. */ 3428#include <ac_nonexistent.h> 3429_ACEOF 3430if ac_fn_c_try_cpp "$LINENO"; then : 3431 # Broken: success on invalid input. 3432continue 3433else 3434 # Passes both tests. 3435ac_preproc_ok=: 3436break 3437fi 3438rm -f conftest.err conftest.i conftest.$ac_ext 3439 3440done 3441# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3442rm -f conftest.i conftest.err conftest.$ac_ext 3443if $ac_preproc_ok; then : 3444 3445else 3446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3447$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3448as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3449See \`config.log' for more details" "$LINENO" 5; } 3450fi 3451 3452ac_ext=c 3453ac_cpp='$CPP $CPPFLAGS' 3454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3456ac_compiler_gnu=$ac_cv_c_compiler_gnu 3457 3458 3459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3460$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3461if ${ac_cv_path_GREP+:} false; then : 3462 $as_echo_n "(cached) " >&6 3463else 3464 if test -z "$GREP"; then 3465 ac_path_GREP_found=false 3466 # Loop through the user's path and test for each of PROGNAME-LIST 3467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3468for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3469do 3470 IFS=$as_save_IFS 3471 test -z "$as_dir" && as_dir=. 3472 for ac_prog in grep ggrep; do 3473 for ac_exec_ext in '' $ac_executable_extensions; do 3474 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3475 as_fn_executable_p "$ac_path_GREP" || continue 3476# Check for GNU ac_path_GREP and select it if it is found. 3477 # Check for GNU $ac_path_GREP 3478case `"$ac_path_GREP" --version 2>&1` in 3479*GNU*) 3480 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3481*) 3482 ac_count=0 3483 $as_echo_n 0123456789 >"conftest.in" 3484 while : 3485 do 3486 cat "conftest.in" "conftest.in" >"conftest.tmp" 3487 mv "conftest.tmp" "conftest.in" 3488 cp "conftest.in" "conftest.nl" 3489 $as_echo 'GREP' >> "conftest.nl" 3490 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3492 as_fn_arith $ac_count + 1 && ac_count=$as_val 3493 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3494 # Best one so far, save it but keep looking for a better one 3495 ac_cv_path_GREP="$ac_path_GREP" 3496 ac_path_GREP_max=$ac_count 3497 fi 3498 # 10*(2^10) chars as input seems more than enough 3499 test $ac_count -gt 10 && break 3500 done 3501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3502esac 3503 3504 $ac_path_GREP_found && break 3 3505 done 3506 done 3507 done 3508IFS=$as_save_IFS 3509 if test -z "$ac_cv_path_GREP"; then 3510 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3511 fi 3512else 3513 ac_cv_path_GREP=$GREP 3514fi 3515 3516fi 3517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3518$as_echo "$ac_cv_path_GREP" >&6; } 3519 GREP="$ac_cv_path_GREP" 3520 3521 3522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3523$as_echo_n "checking for egrep... " >&6; } 3524if ${ac_cv_path_EGREP+:} false; then : 3525 $as_echo_n "(cached) " >&6 3526else 3527 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3528 then ac_cv_path_EGREP="$GREP -E" 3529 else 3530 if test -z "$EGREP"; then 3531 ac_path_EGREP_found=false 3532 # Loop through the user's path and test for each of PROGNAME-LIST 3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3534for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3535do 3536 IFS=$as_save_IFS 3537 test -z "$as_dir" && as_dir=. 3538 for ac_prog in egrep; do 3539 for ac_exec_ext in '' $ac_executable_extensions; do 3540 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3541 as_fn_executable_p "$ac_path_EGREP" || continue 3542# Check for GNU ac_path_EGREP and select it if it is found. 3543 # Check for GNU $ac_path_EGREP 3544case `"$ac_path_EGREP" --version 2>&1` in 3545*GNU*) 3546 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3547*) 3548 ac_count=0 3549 $as_echo_n 0123456789 >"conftest.in" 3550 while : 3551 do 3552 cat "conftest.in" "conftest.in" >"conftest.tmp" 3553 mv "conftest.tmp" "conftest.in" 3554 cp "conftest.in" "conftest.nl" 3555 $as_echo 'EGREP' >> "conftest.nl" 3556 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3557 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3558 as_fn_arith $ac_count + 1 && ac_count=$as_val 3559 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3560 # Best one so far, save it but keep looking for a better one 3561 ac_cv_path_EGREP="$ac_path_EGREP" 3562 ac_path_EGREP_max=$ac_count 3563 fi 3564 # 10*(2^10) chars as input seems more than enough 3565 test $ac_count -gt 10 && break 3566 done 3567 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3568esac 3569 3570 $ac_path_EGREP_found && break 3 3571 done 3572 done 3573 done 3574IFS=$as_save_IFS 3575 if test -z "$ac_cv_path_EGREP"; then 3576 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3577 fi 3578else 3579 ac_cv_path_EGREP=$EGREP 3580fi 3581 3582 fi 3583fi 3584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3585$as_echo "$ac_cv_path_EGREP" >&6; } 3586 EGREP="$ac_cv_path_EGREP" 3587 3588 3589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3590$as_echo_n "checking for ANSI C header files... " >&6; } 3591if ${ac_cv_header_stdc+:} false; then : 3592 $as_echo_n "(cached) " >&6 3593else 3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3595/* end confdefs.h. */ 3596#include <stdlib.h> 3597#include <stdarg.h> 3598#include <string.h> 3599#include <float.h> 3600 3601int 3602main () 3603{ 3604 3605 ; 3606 return 0; 3607} 3608_ACEOF 3609if ac_fn_c_try_compile "$LINENO"; then : 3610 ac_cv_header_stdc=yes 3611else 3612 ac_cv_header_stdc=no 3613fi 3614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3615 3616if test $ac_cv_header_stdc = yes; then 3617 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3619/* end confdefs.h. */ 3620#include <string.h> 3621 3622_ACEOF 3623if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3624 $EGREP "memchr" >/dev/null 2>&1; then : 3625 3626else 3627 ac_cv_header_stdc=no 3628fi 3629rm -f conftest* 3630 3631fi 3632 3633if test $ac_cv_header_stdc = yes; then 3634 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3636/* end confdefs.h. */ 3637#include <stdlib.h> 3638 3639_ACEOF 3640if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3641 $EGREP "free" >/dev/null 2>&1; then : 3642 3643else 3644 ac_cv_header_stdc=no 3645fi 3646rm -f conftest* 3647 3648fi 3649 3650if test $ac_cv_header_stdc = yes; then 3651 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3652 if test "$cross_compiling" = yes; then : 3653 : 3654else 3655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3656/* end confdefs.h. */ 3657#include <ctype.h> 3658#include <stdlib.h> 3659#if ((' ' & 0x0FF) == 0x020) 3660# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3661# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3662#else 3663# define ISLOWER(c) \ 3664 (('a' <= (c) && (c) <= 'i') \ 3665 || ('j' <= (c) && (c) <= 'r') \ 3666 || ('s' <= (c) && (c) <= 'z')) 3667# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3668#endif 3669 3670#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3671int 3672main () 3673{ 3674 int i; 3675 for (i = 0; i < 256; i++) 3676 if (XOR (islower (i), ISLOWER (i)) 3677 || toupper (i) != TOUPPER (i)) 3678 return 2; 3679 return 0; 3680} 3681_ACEOF 3682if ac_fn_c_try_run "$LINENO"; then : 3683 3684else 3685 ac_cv_header_stdc=no 3686fi 3687rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3688 conftest.$ac_objext conftest.beam conftest.$ac_ext 3689fi 3690 3691fi 3692fi 3693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3694$as_echo "$ac_cv_header_stdc" >&6; } 3695if test $ac_cv_header_stdc = yes; then 3696 3697$as_echo "#define STDC_HEADERS 1" >>confdefs.h 3698 3699fi 3700 3701# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3702for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3703 inttypes.h stdint.h unistd.h 3704do : 3705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3706ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3707" 3708if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3709 cat >>confdefs.h <<_ACEOF 3710#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3711_ACEOF 3712 3713fi 3714 3715done 3716 3717 3718 3719 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 3720if test "x$ac_cv_header_minix_config_h" = xyes; then : 3721 MINIX=yes 3722else 3723 MINIX= 3724fi 3725 3726 3727 if test "$MINIX" = yes; then 3728 3729$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 3730 3731 3732$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 3733 3734 3735$as_echo "#define _MINIX 1" >>confdefs.h 3736 3737 fi 3738 3739 3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 3741$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 3742if ${ac_cv_safe_to_define___extensions__+:} false; then : 3743 $as_echo_n "(cached) " >&6 3744else 3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3746/* end confdefs.h. */ 3747 3748# define __EXTENSIONS__ 1 3749 $ac_includes_default 3750int 3751main () 3752{ 3753 3754 ; 3755 return 0; 3756} 3757_ACEOF 3758if ac_fn_c_try_compile "$LINENO"; then : 3759 ac_cv_safe_to_define___extensions__=yes 3760else 3761 ac_cv_safe_to_define___extensions__=no 3762fi 3763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3764fi 3765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 3766$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 3767 test $ac_cv_safe_to_define___extensions__ = yes && 3768 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 3769 3770 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 3771 3772 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 3773 3774 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 3775 3776 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 3777 3778 3779 3780if test -n "$ac_tool_prefix"; then 3781 for ac_prog in ar lib "link -lib" 3782 do 3783 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3784set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3786$as_echo_n "checking for $ac_word... " >&6; } 3787if ${ac_cv_prog_AR+:} false; then : 3788 $as_echo_n "(cached) " >&6 3789else 3790 if test -n "$AR"; then 3791 ac_cv_prog_AR="$AR" # Let the user override the test. 3792else 3793as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3794for as_dir in $PATH 3795do 3796 IFS=$as_save_IFS 3797 test -z "$as_dir" && as_dir=. 3798 for ac_exec_ext in '' $ac_executable_extensions; do 3799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3800 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3802 break 2 3803 fi 3804done 3805 done 3806IFS=$as_save_IFS 3807 3808fi 3809fi 3810AR=$ac_cv_prog_AR 3811if test -n "$AR"; then 3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 3813$as_echo "$AR" >&6; } 3814else 3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3816$as_echo "no" >&6; } 3817fi 3818 3819 3820 test -n "$AR" && break 3821 done 3822fi 3823if test -z "$AR"; then 3824 ac_ct_AR=$AR 3825 for ac_prog in ar lib "link -lib" 3826do 3827 # Extract the first word of "$ac_prog", so it can be a program name with args. 3828set dummy $ac_prog; ac_word=$2 3829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3830$as_echo_n "checking for $ac_word... " >&6; } 3831if ${ac_cv_prog_ac_ct_AR+:} false; then : 3832 $as_echo_n "(cached) " >&6 3833else 3834 if test -n "$ac_ct_AR"; then 3835 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 3836else 3837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3838for as_dir in $PATH 3839do 3840 IFS=$as_save_IFS 3841 test -z "$as_dir" && as_dir=. 3842 for ac_exec_ext in '' $ac_executable_extensions; do 3843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3844 ac_cv_prog_ac_ct_AR="$ac_prog" 3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3846 break 2 3847 fi 3848done 3849 done 3850IFS=$as_save_IFS 3851 3852fi 3853fi 3854ac_ct_AR=$ac_cv_prog_ac_ct_AR 3855if test -n "$ac_ct_AR"; then 3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 3857$as_echo "$ac_ct_AR" >&6; } 3858else 3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3860$as_echo "no" >&6; } 3861fi 3862 3863 3864 test -n "$ac_ct_AR" && break 3865done 3866 3867 if test "x$ac_ct_AR" = x; then 3868 AR="false" 3869 else 3870 case $cross_compiling:$ac_tool_warned in 3871yes:) 3872{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3873$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3874ac_tool_warned=yes ;; 3875esac 3876 AR=$ac_ct_AR 3877 fi 3878fi 3879 3880: ${AR=ar} 3881 3882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 3883$as_echo_n "checking the archiver ($AR) interface... " >&6; } 3884if ${am_cv_ar_interface+:} false; then : 3885 $as_echo_n "(cached) " >&6 3886else 3887 ac_ext=c 3888ac_cpp='$CPP $CPPFLAGS' 3889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3891ac_compiler_gnu=$ac_cv_c_compiler_gnu 3892 3893 am_cv_ar_interface=ar 3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3895/* end confdefs.h. */ 3896int some_variable = 0; 3897_ACEOF 3898if ac_fn_c_try_compile "$LINENO"; then : 3899 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 3900 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 3901 (eval $am_ar_try) 2>&5 3902 ac_status=$? 3903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3904 test $ac_status = 0; } 3905 if test "$ac_status" -eq 0; then 3906 am_cv_ar_interface=ar 3907 else 3908 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 3909 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 3910 (eval $am_ar_try) 2>&5 3911 ac_status=$? 3912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3913 test $ac_status = 0; } 3914 if test "$ac_status" -eq 0; then 3915 am_cv_ar_interface=lib 3916 else 3917 am_cv_ar_interface=unknown 3918 fi 3919 fi 3920 rm -f conftest.lib libconftest.a 3921 3922fi 3923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3924 ac_ext=c 3925ac_cpp='$CPP $CPPFLAGS' 3926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3928ac_compiler_gnu=$ac_cv_c_compiler_gnu 3929 3930fi 3931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 3932$as_echo "$am_cv_ar_interface" >&6; } 3933 3934case $am_cv_ar_interface in 3935ar) 3936 ;; 3937lib) 3938 # Microsoft lib, so override with the ar-lib wrapper script. 3939 # FIXME: It is wrong to rewrite AR. 3940 # But if we don't then we get into trouble of one sort or another. 3941 # A longer-term fix would be to have automake use am__AR in this case, 3942 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 3943 # similar. 3944 AR="$am_aux_dir/ar-lib $AR" 3945 ;; 3946unknown) 3947 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 3948 ;; 3949esac 3950 3951ac_ext=c 3952ac_cpp='$CPP $CPPFLAGS' 3953ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3954ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3955ac_compiler_gnu=$ac_cv_c_compiler_gnu 3956if test -n "$ac_tool_prefix"; then 3957 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3958set dummy ${ac_tool_prefix}gcc; ac_word=$2 3959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3960$as_echo_n "checking for $ac_word... " >&6; } 3961if ${ac_cv_prog_CC+:} false; then : 3962 $as_echo_n "(cached) " >&6 3963else 3964 if test -n "$CC"; then 3965 ac_cv_prog_CC="$CC" # Let the user override the test. 3966else 3967as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3968for as_dir in $PATH 3969do 3970 IFS=$as_save_IFS 3971 test -z "$as_dir" && as_dir=. 3972 for ac_exec_ext in '' $ac_executable_extensions; do 3973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3974 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3976 break 2 3977 fi 3978done 3979 done 3980IFS=$as_save_IFS 3981 3982fi 3983fi 3984CC=$ac_cv_prog_CC 3985if test -n "$CC"; then 3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3987$as_echo "$CC" >&6; } 3988else 3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3990$as_echo "no" >&6; } 3991fi 3992 3993 3994fi 3995if test -z "$ac_cv_prog_CC"; then 3996 ac_ct_CC=$CC 3997 # Extract the first word of "gcc", so it can be a program name with args. 3998set dummy gcc; ac_word=$2 3999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4000$as_echo_n "checking for $ac_word... " >&6; } 4001if ${ac_cv_prog_ac_ct_CC+:} false; then : 4002 $as_echo_n "(cached) " >&6 4003else 4004 if test -n "$ac_ct_CC"; then 4005 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4006else 4007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4008for as_dir in $PATH 4009do 4010 IFS=$as_save_IFS 4011 test -z "$as_dir" && as_dir=. 4012 for ac_exec_ext in '' $ac_executable_extensions; do 4013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4014 ac_cv_prog_ac_ct_CC="gcc" 4015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4016 break 2 4017 fi 4018done 4019 done 4020IFS=$as_save_IFS 4021 4022fi 4023fi 4024ac_ct_CC=$ac_cv_prog_ac_ct_CC 4025if test -n "$ac_ct_CC"; then 4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4027$as_echo "$ac_ct_CC" >&6; } 4028else 4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4030$as_echo "no" >&6; } 4031fi 4032 4033 if test "x$ac_ct_CC" = x; then 4034 CC="" 4035 else 4036 case $cross_compiling:$ac_tool_warned in 4037yes:) 4038{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4039$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4040ac_tool_warned=yes ;; 4041esac 4042 CC=$ac_ct_CC 4043 fi 4044else 4045 CC="$ac_cv_prog_CC" 4046fi 4047 4048if test -z "$CC"; then 4049 if test -n "$ac_tool_prefix"; then 4050 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4051set dummy ${ac_tool_prefix}cc; ac_word=$2 4052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4053$as_echo_n "checking for $ac_word... " >&6; } 4054if ${ac_cv_prog_CC+:} false; then : 4055 $as_echo_n "(cached) " >&6 4056else 4057 if test -n "$CC"; then 4058 ac_cv_prog_CC="$CC" # Let the user override the test. 4059else 4060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4061for as_dir in $PATH 4062do 4063 IFS=$as_save_IFS 4064 test -z "$as_dir" && as_dir=. 4065 for ac_exec_ext in '' $ac_executable_extensions; do 4066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4067 ac_cv_prog_CC="${ac_tool_prefix}cc" 4068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4069 break 2 4070 fi 4071done 4072 done 4073IFS=$as_save_IFS 4074 4075fi 4076fi 4077CC=$ac_cv_prog_CC 4078if test -n "$CC"; then 4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4080$as_echo "$CC" >&6; } 4081else 4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4083$as_echo "no" >&6; } 4084fi 4085 4086 4087 fi 4088fi 4089if test -z "$CC"; then 4090 # Extract the first word of "cc", so it can be a program name with args. 4091set dummy cc; ac_word=$2 4092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4093$as_echo_n "checking for $ac_word... " >&6; } 4094if ${ac_cv_prog_CC+:} false; then : 4095 $as_echo_n "(cached) " >&6 4096else 4097 if test -n "$CC"; then 4098 ac_cv_prog_CC="$CC" # Let the user override the test. 4099else 4100 ac_prog_rejected=no 4101as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4102for as_dir in $PATH 4103do 4104 IFS=$as_save_IFS 4105 test -z "$as_dir" && as_dir=. 4106 for ac_exec_ext in '' $ac_executable_extensions; do 4107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4108 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4109 ac_prog_rejected=yes 4110 continue 4111 fi 4112 ac_cv_prog_CC="cc" 4113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4114 break 2 4115 fi 4116done 4117 done 4118IFS=$as_save_IFS 4119 4120if test $ac_prog_rejected = yes; then 4121 # We found a bogon in the path, so make sure we never use it. 4122 set dummy $ac_cv_prog_CC 4123 shift 4124 if test $# != 0; then 4125 # We chose a different compiler from the bogus one. 4126 # However, it has the same basename, so the bogon will be chosen 4127 # first if we set CC to just the basename; use the full file name. 4128 shift 4129 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4130 fi 4131fi 4132fi 4133fi 4134CC=$ac_cv_prog_CC 4135if test -n "$CC"; then 4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4137$as_echo "$CC" >&6; } 4138else 4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4140$as_echo "no" >&6; } 4141fi 4142 4143 4144fi 4145if test -z "$CC"; then 4146 if test -n "$ac_tool_prefix"; then 4147 for ac_prog in cl.exe 4148 do 4149 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4150set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4152$as_echo_n "checking for $ac_word... " >&6; } 4153if ${ac_cv_prog_CC+:} false; then : 4154 $as_echo_n "(cached) " >&6 4155else 4156 if test -n "$CC"; then 4157 ac_cv_prog_CC="$CC" # Let the user override the test. 4158else 4159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4160for as_dir in $PATH 4161do 4162 IFS=$as_save_IFS 4163 test -z "$as_dir" && as_dir=. 4164 for ac_exec_ext in '' $ac_executable_extensions; do 4165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4166 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4168 break 2 4169 fi 4170done 4171 done 4172IFS=$as_save_IFS 4173 4174fi 4175fi 4176CC=$ac_cv_prog_CC 4177if test -n "$CC"; then 4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4179$as_echo "$CC" >&6; } 4180else 4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4182$as_echo "no" >&6; } 4183fi 4184 4185 4186 test -n "$CC" && break 4187 done 4188fi 4189if test -z "$CC"; then 4190 ac_ct_CC=$CC 4191 for ac_prog in cl.exe 4192do 4193 # Extract the first word of "$ac_prog", so it can be a program name with args. 4194set dummy $ac_prog; ac_word=$2 4195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4196$as_echo_n "checking for $ac_word... " >&6; } 4197if ${ac_cv_prog_ac_ct_CC+:} false; then : 4198 $as_echo_n "(cached) " >&6 4199else 4200 if test -n "$ac_ct_CC"; then 4201 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4202else 4203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4204for as_dir in $PATH 4205do 4206 IFS=$as_save_IFS 4207 test -z "$as_dir" && as_dir=. 4208 for ac_exec_ext in '' $ac_executable_extensions; do 4209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4210 ac_cv_prog_ac_ct_CC="$ac_prog" 4211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4212 break 2 4213 fi 4214done 4215 done 4216IFS=$as_save_IFS 4217 4218fi 4219fi 4220ac_ct_CC=$ac_cv_prog_ac_ct_CC 4221if test -n "$ac_ct_CC"; then 4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4223$as_echo "$ac_ct_CC" >&6; } 4224else 4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4226$as_echo "no" >&6; } 4227fi 4228 4229 4230 test -n "$ac_ct_CC" && break 4231done 4232 4233 if test "x$ac_ct_CC" = x; then 4234 CC="" 4235 else 4236 case $cross_compiling:$ac_tool_warned in 4237yes:) 4238{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4239$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4240ac_tool_warned=yes ;; 4241esac 4242 CC=$ac_ct_CC 4243 fi 4244fi 4245 4246fi 4247 4248 4249test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4250$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4251as_fn_error $? "no acceptable C compiler found in \$PATH 4252See \`config.log' for more details" "$LINENO" 5; } 4253 4254# Provide some information about the compiler. 4255$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4256set X $ac_compile 4257ac_compiler=$2 4258for ac_option in --version -v -V -qversion; do 4259 { { ac_try="$ac_compiler $ac_option >&5" 4260case "(($ac_try" in 4261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4262 *) ac_try_echo=$ac_try;; 4263esac 4264eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4265$as_echo "$ac_try_echo"; } >&5 4266 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4267 ac_status=$? 4268 if test -s conftest.err; then 4269 sed '10a\ 4270... rest of stderr output deleted ... 4271 10q' conftest.err >conftest.er1 4272 cat conftest.er1 >&5 4273 fi 4274 rm -f conftest.er1 conftest.err 4275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4276 test $ac_status = 0; } 4277done 4278 4279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4280$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4281if ${ac_cv_c_compiler_gnu+:} false; then : 4282 $as_echo_n "(cached) " >&6 4283else 4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4285/* end confdefs.h. */ 4286 4287int 4288main () 4289{ 4290#ifndef __GNUC__ 4291 choke me 4292#endif 4293 4294 ; 4295 return 0; 4296} 4297_ACEOF 4298if ac_fn_c_try_compile "$LINENO"; then : 4299 ac_compiler_gnu=yes 4300else 4301 ac_compiler_gnu=no 4302fi 4303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4304ac_cv_c_compiler_gnu=$ac_compiler_gnu 4305 4306fi 4307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4308$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4309if test $ac_compiler_gnu = yes; then 4310 GCC=yes 4311else 4312 GCC= 4313fi 4314ac_test_CFLAGS=${CFLAGS+set} 4315ac_save_CFLAGS=$CFLAGS 4316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4317$as_echo_n "checking whether $CC accepts -g... " >&6; } 4318if ${ac_cv_prog_cc_g+:} false; then : 4319 $as_echo_n "(cached) " >&6 4320else 4321 ac_save_c_werror_flag=$ac_c_werror_flag 4322 ac_c_werror_flag=yes 4323 ac_cv_prog_cc_g=no 4324 CFLAGS="-g" 4325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4326/* end confdefs.h. */ 4327 4328int 4329main () 4330{ 4331 4332 ; 4333 return 0; 4334} 4335_ACEOF 4336if ac_fn_c_try_compile "$LINENO"; then : 4337 ac_cv_prog_cc_g=yes 4338else 4339 CFLAGS="" 4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4341/* end confdefs.h. */ 4342 4343int 4344main () 4345{ 4346 4347 ; 4348 return 0; 4349} 4350_ACEOF 4351if ac_fn_c_try_compile "$LINENO"; then : 4352 4353else 4354 ac_c_werror_flag=$ac_save_c_werror_flag 4355 CFLAGS="-g" 4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4357/* end confdefs.h. */ 4358 4359int 4360main () 4361{ 4362 4363 ; 4364 return 0; 4365} 4366_ACEOF 4367if ac_fn_c_try_compile "$LINENO"; then : 4368 ac_cv_prog_cc_g=yes 4369fi 4370rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4371fi 4372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4373fi 4374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4375 ac_c_werror_flag=$ac_save_c_werror_flag 4376fi 4377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4378$as_echo "$ac_cv_prog_cc_g" >&6; } 4379if test "$ac_test_CFLAGS" = set; then 4380 CFLAGS=$ac_save_CFLAGS 4381elif test $ac_cv_prog_cc_g = yes; then 4382 if test "$GCC" = yes; then 4383 CFLAGS="-g -O2" 4384 else 4385 CFLAGS="-g" 4386 fi 4387else 4388 if test "$GCC" = yes; then 4389 CFLAGS="-O2" 4390 else 4391 CFLAGS= 4392 fi 4393fi 4394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4395$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4396if ${ac_cv_prog_cc_c89+:} false; then : 4397 $as_echo_n "(cached) " >&6 4398else 4399 ac_cv_prog_cc_c89=no 4400ac_save_CC=$CC 4401cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4402/* end confdefs.h. */ 4403#include <stdarg.h> 4404#include <stdio.h> 4405struct stat; 4406/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4407struct buf { int x; }; 4408FILE * (*rcsopen) (struct buf *, struct stat *, int); 4409static char *e (p, i) 4410 char **p; 4411 int i; 4412{ 4413 return p[i]; 4414} 4415static char *f (char * (*g) (char **, int), char **p, ...) 4416{ 4417 char *s; 4418 va_list v; 4419 va_start (v,p); 4420 s = g (p, va_arg (v,int)); 4421 va_end (v); 4422 return s; 4423} 4424 4425/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4426 function prototypes and stuff, but not '\xHH' hex character constants. 4427 These don't provoke an error unfortunately, instead are silently treated 4428 as 'x'. The following induces an error, until -std is added to get 4429 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4430 array size at least. It's necessary to write '\x00'==0 to get something 4431 that's true only with -std. */ 4432int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4433 4434/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4435 inside strings and character constants. */ 4436#define FOO(x) 'x' 4437int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4438 4439int test (int i, double x); 4440struct s1 {int (*f) (int a);}; 4441struct s2 {int (*f) (double a);}; 4442int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4443int argc; 4444char **argv; 4445int 4446main () 4447{ 4448return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4449 ; 4450 return 0; 4451} 4452_ACEOF 4453for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4454 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4455do 4456 CC="$ac_save_CC $ac_arg" 4457 if ac_fn_c_try_compile "$LINENO"; then : 4458 ac_cv_prog_cc_c89=$ac_arg 4459fi 4460rm -f core conftest.err conftest.$ac_objext 4461 test "x$ac_cv_prog_cc_c89" != "xno" && break 4462done 4463rm -f conftest.$ac_ext 4464CC=$ac_save_CC 4465 4466fi 4467# AC_CACHE_VAL 4468case "x$ac_cv_prog_cc_c89" in 4469 x) 4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4471$as_echo "none needed" >&6; } ;; 4472 xno) 4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4474$as_echo "unsupported" >&6; } ;; 4475 *) 4476 CC="$CC $ac_cv_prog_cc_c89" 4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4478$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4479esac 4480if test "x$ac_cv_prog_cc_c89" != xno; then : 4481 4482fi 4483 4484ac_ext=c 4485ac_cpp='$CPP $CPPFLAGS' 4486ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4487ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4488ac_compiler_gnu=$ac_cv_c_compiler_gnu 4489 4490ac_ext=c 4491ac_cpp='$CPP $CPPFLAGS' 4492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4494ac_compiler_gnu=$ac_cv_c_compiler_gnu 4495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4496$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4497if ${am_cv_prog_cc_c_o+:} false; then : 4498 $as_echo_n "(cached) " >&6 4499else 4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4501/* end confdefs.h. */ 4502 4503int 4504main () 4505{ 4506 4507 ; 4508 return 0; 4509} 4510_ACEOF 4511 # Make sure it works both with $CC and with simple cc. 4512 # Following AC_PROG_CC_C_O, we do the test twice because some 4513 # compilers refuse to overwrite an existing .o file with -o, 4514 # though they will create one. 4515 am_cv_prog_cc_c_o=yes 4516 for am_i in 1 2; do 4517 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4518 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4519 ac_status=$? 4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4521 (exit $ac_status); } \ 4522 && test -f conftest2.$ac_objext; then 4523 : OK 4524 else 4525 am_cv_prog_cc_c_o=no 4526 break 4527 fi 4528 done 4529 rm -f core conftest* 4530 unset am_i 4531fi 4532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4533$as_echo "$am_cv_prog_cc_c_o" >&6; } 4534if test "$am_cv_prog_cc_c_o" != yes; then 4535 # Losing compiler, so override with the script. 4536 # FIXME: It is wrong to rewrite CC. 4537 # But if we don't then we get into trouble of one sort or another. 4538 # A longer-term fix would be to have automake use am__CC in this case, 4539 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4540 CC="$am_aux_dir/compile $CC" 4541fi 4542ac_ext=c 4543ac_cpp='$CPP $CPPFLAGS' 4544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4546ac_compiler_gnu=$ac_cv_c_compiler_gnu 4547 4548 4549 4550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4551$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4552if ${ac_cv_path_SED+:} false; then : 4553 $as_echo_n "(cached) " >&6 4554else 4555 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4556 for ac_i in 1 2 3 4 5 6 7; do 4557 ac_script="$ac_script$as_nl$ac_script" 4558 done 4559 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4560 { ac_script=; unset ac_script;} 4561 if test -z "$SED"; then 4562 ac_path_SED_found=false 4563 # Loop through the user's path and test for each of PROGNAME-LIST 4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4565for as_dir in $PATH 4566do 4567 IFS=$as_save_IFS 4568 test -z "$as_dir" && as_dir=. 4569 for ac_prog in sed gsed; do 4570 for ac_exec_ext in '' $ac_executable_extensions; do 4571 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4572 as_fn_executable_p "$ac_path_SED" || continue 4573# Check for GNU ac_path_SED and select it if it is found. 4574 # Check for GNU $ac_path_SED 4575case `"$ac_path_SED" --version 2>&1` in 4576*GNU*) 4577 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4578*) 4579 ac_count=0 4580 $as_echo_n 0123456789 >"conftest.in" 4581 while : 4582 do 4583 cat "conftest.in" "conftest.in" >"conftest.tmp" 4584 mv "conftest.tmp" "conftest.in" 4585 cp "conftest.in" "conftest.nl" 4586 $as_echo '' >> "conftest.nl" 4587 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4588 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4589 as_fn_arith $ac_count + 1 && ac_count=$as_val 4590 if test $ac_count -gt ${ac_path_SED_max-0}; then 4591 # Best one so far, save it but keep looking for a better one 4592 ac_cv_path_SED="$ac_path_SED" 4593 ac_path_SED_max=$ac_count 4594 fi 4595 # 10*(2^10) chars as input seems more than enough 4596 test $ac_count -gt 10 && break 4597 done 4598 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4599esac 4600 4601 $ac_path_SED_found && break 3 4602 done 4603 done 4604 done 4605IFS=$as_save_IFS 4606 if test -z "$ac_cv_path_SED"; then 4607 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4608 fi 4609else 4610 ac_cv_path_SED=$SED 4611fi 4612 4613fi 4614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4615$as_echo "$ac_cv_path_SED" >&6; } 4616 SED="$ac_cv_path_SED" 4617 rm -f conftest.sed 4618 4619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 4620$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 4621if test -z "$MKDIR_P"; then 4622 if ${ac_cv_path_mkdir+:} false; then : 4623 $as_echo_n "(cached) " >&6 4624else 4625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4626for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 4627do 4628 IFS=$as_save_IFS 4629 test -z "$as_dir" && as_dir=. 4630 for ac_prog in mkdir gmkdir; do 4631 for ac_exec_ext in '' $ac_executable_extensions; do 4632 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 4633 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 4634 'mkdir (GNU coreutils) '* | \ 4635 'mkdir (coreutils) '* | \ 4636 'mkdir (fileutils) '4.1*) 4637 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 4638 break 3;; 4639 esac 4640 done 4641 done 4642 done 4643IFS=$as_save_IFS 4644 4645fi 4646 4647 test -d ./--version && rmdir ./--version 4648 if test "${ac_cv_path_mkdir+set}" = set; then 4649 MKDIR_P="$ac_cv_path_mkdir -p" 4650 else 4651 # As a last resort, use the slow shell script. Don't cache a 4652 # value for MKDIR_P within a source directory, because that will 4653 # break other packages using the cache if that directory is 4654 # removed, or if the value is a relative name. 4655 MKDIR_P="$ac_install_sh -d" 4656 fi 4657fi 4658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 4659$as_echo "$MKDIR_P" >&6; } 4660 4661for ac_prog in gawk mawk nawk awk 4662do 4663 # Extract the first word of "$ac_prog", so it can be a program name with args. 4664set dummy $ac_prog; ac_word=$2 4665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4666$as_echo_n "checking for $ac_word... " >&6; } 4667if ${ac_cv_prog_AWK+:} false; then : 4668 $as_echo_n "(cached) " >&6 4669else 4670 if test -n "$AWK"; then 4671 ac_cv_prog_AWK="$AWK" # Let the user override the test. 4672else 4673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4674for as_dir in $PATH 4675do 4676 IFS=$as_save_IFS 4677 test -z "$as_dir" && as_dir=. 4678 for ac_exec_ext in '' $ac_executable_extensions; do 4679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4680 ac_cv_prog_AWK="$ac_prog" 4681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4682 break 2 4683 fi 4684done 4685 done 4686IFS=$as_save_IFS 4687 4688fi 4689fi 4690AWK=$ac_cv_prog_AWK 4691if test -n "$AWK"; then 4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 4693$as_echo "$AWK" >&6; } 4694else 4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4696$as_echo "no" >&6; } 4697fi 4698 4699 4700 test -n "$AWK" && break 4701done 4702 4703# Extract the first word of "widl", so it can be a program name with args. 4704set dummy widl; ac_word=$2 4705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4706$as_echo_n "checking for $ac_word... " >&6; } 4707if ${ac_cv_prog_WIDL+:} false; then : 4708 $as_echo_n "(cached) " >&6 4709else 4710 if test -n "$WIDL"; then 4711 ac_cv_prog_WIDL="$WIDL" # Let the user override the test. 4712else 4713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4714for as_dir in $PATH 4715do 4716 IFS=$as_save_IFS 4717 test -z "$as_dir" && as_dir=. 4718 for ac_exec_ext in '' $ac_executable_extensions; do 4719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4720 ac_cv_prog_WIDL="widl" 4721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4722 break 2 4723 fi 4724done 4725 done 4726IFS=$as_save_IFS 4727 4728 test -z "$ac_cv_prog_WIDL" && ac_cv_prog_WIDL="no" 4729fi 4730fi 4731WIDL=$ac_cv_prog_WIDL 4732if test -n "$WIDL"; then 4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIDL" >&5 4734$as_echo "$WIDL" >&6; } 4735else 4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4737$as_echo "no" >&6; } 4738fi 4739 4740 4741 4742if test "x$WIDL" != "xno"; then : 4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking whether widl version >= 3.20" >&5 4744$as_echo_n "checking checking whether widl version >= 3.20... " >&6; } 4745vkd3d_widl_version=`$WIDL -V 2>/dev/null | $SED -E '/version/{s/.* version (.*)/\1/;q;}'` 4746 4747 4748 4749 4750 # Used to indicate true or false condition 4751 ax_compare_version=false 4752 4753 # Convert the two version strings to be compared into a format that 4754 # allows a simple string comparison. The end result is that a version 4755 # string of the form 1.12.5-r617 will be converted to the form 4756 # 0001001200050617. In other words, each number is zero padded to four 4757 # digits, and non digits are removed. 4758 4759 ax_compare_version_A=`echo "$vkd3d_widl_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \ 4760 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \ 4761 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \ 4762 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \ 4763 -e 's/[^0-9]//g'` 4764 4765 4766 ax_compare_version_B=`echo "3.20" | sed -e 's/\([0-9]*\)/Z\1Z/g' \ 4767 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \ 4768 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \ 4769 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \ 4770 -e 's/[^0-9]//g'` 4771 4772 4773 ax_compare_version=`echo "x$ax_compare_version_A 4774x$ax_compare_version_B" | sed 's/^ *//' | sort -r | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"` 4775 4776 4777 4778 if test "$ax_compare_version" = "true" ; then 4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($vkd3d_widl_version)" >&5 4780$as_echo "yes ($vkd3d_widl_version)" >&6; } 4781 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($vkd3d_widl_version)" >&5 4782$as_echo "no ($vkd3d_widl_version)" >&6; } 4783 WIDL=no 4784 fi 4785 4786 4787fi 4788if test "x$WIDL" = "xno"; then : 4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: widl is required to build header files." >&5 4790$as_echo "$as_me: WARNING: widl is required to build header files." >&2;} 4791fi 4792 4793 4794 4795 4796# Files: 4797DX_PROJECT=vkd3d 4798 4799DX_CONFIG='Doxyfile' 4800 4801DX_DOCDIR='doc' 4802 4803 4804# Environment variables used inside doxygen.cfg: 4805DX_ENV="$DX_ENV SRCDIR='$srcdir'" 4806SRCDIR=$srcdir 4807 4808DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'" 4809PROJECT=$DX_PROJECT 4810 4811DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'" 4812 4813 4814# Doxygen itself: 4815 4816 4817 4818 # Check whether --enable-doxygen-doc was given. 4819if test "${enable_doxygen_doc+set}" = set; then : 4820 enableval=$enable_doxygen_doc; 4821case "$enableval" in 4822#( 4823y|Y|yes|Yes|YES) 4824 DX_FLAG_doc=1 4825 4826 4827;; #( 4828n|N|no|No|NO) 4829 DX_FLAG_doc=0 4830 4831;; #( 4832*) 4833 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5 4834;; 4835esac 4836 4837else 4838 4839DX_FLAG_doc=1 4840 4841 4842 4843fi 4844 4845if test "$DX_FLAG_doc" = 1; then 4846 4847if test -n "$ac_tool_prefix"; then 4848 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args. 4849set dummy ${ac_tool_prefix}doxygen; ac_word=$2 4850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4851$as_echo_n "checking for $ac_word... " >&6; } 4852if ${ac_cv_path_DX_DOXYGEN+:} false; then : 4853 $as_echo_n "(cached) " >&6 4854else 4855 case $DX_DOXYGEN in 4856 [\\/]* | ?:[\\/]*) 4857 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path. 4858 ;; 4859 *) 4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4861for as_dir in $PATH 4862do 4863 IFS=$as_save_IFS 4864 test -z "$as_dir" && as_dir=. 4865 for ac_exec_ext in '' $ac_executable_extensions; do 4866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4867 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 4868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4869 break 2 4870 fi 4871done 4872 done 4873IFS=$as_save_IFS 4874 4875 ;; 4876esac 4877fi 4878DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN 4879if test -n "$DX_DOXYGEN"; then 4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5 4881$as_echo "$DX_DOXYGEN" >&6; } 4882else 4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4884$as_echo "no" >&6; } 4885fi 4886 4887 4888fi 4889if test -z "$ac_cv_path_DX_DOXYGEN"; then 4890 ac_pt_DX_DOXYGEN=$DX_DOXYGEN 4891 # Extract the first word of "doxygen", so it can be a program name with args. 4892set dummy doxygen; ac_word=$2 4893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4894$as_echo_n "checking for $ac_word... " >&6; } 4895if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then : 4896 $as_echo_n "(cached) " >&6 4897else 4898 case $ac_pt_DX_DOXYGEN in 4899 [\\/]* | ?:[\\/]*) 4900 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path. 4901 ;; 4902 *) 4903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4904for as_dir in $PATH 4905do 4906 IFS=$as_save_IFS 4907 test -z "$as_dir" && as_dir=. 4908 for ac_exec_ext in '' $ac_executable_extensions; do 4909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4910 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4912 break 2 4913 fi 4914done 4915 done 4916IFS=$as_save_IFS 4917 4918 ;; 4919esac 4920fi 4921ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN 4922if test -n "$ac_pt_DX_DOXYGEN"; then 4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5 4924$as_echo "$ac_pt_DX_DOXYGEN" >&6; } 4925else 4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4927$as_echo "no" >&6; } 4928fi 4929 4930 if test "x$ac_pt_DX_DOXYGEN" = x; then 4931 DX_DOXYGEN="" 4932 else 4933 case $cross_compiling:$ac_tool_warned in 4934yes:) 4935{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4936$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4937ac_tool_warned=yes ;; 4938esac 4939 DX_DOXYGEN=$ac_pt_DX_DOXYGEN 4940 fi 4941else 4942 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN" 4943fi 4944 4945if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then 4946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5 4947$as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;} 4948 DX_FLAG_doc=0 4949 4950fi 4951 4952 4953if test -n "$ac_tool_prefix"; then 4954 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args. 4955set dummy ${ac_tool_prefix}perl; ac_word=$2 4956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4957$as_echo_n "checking for $ac_word... " >&6; } 4958if ${ac_cv_path_DX_PERL+:} false; then : 4959 $as_echo_n "(cached) " >&6 4960else 4961 case $DX_PERL in 4962 [\\/]* | ?:[\\/]*) 4963 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path. 4964 ;; 4965 *) 4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4967for as_dir in $PATH 4968do 4969 IFS=$as_save_IFS 4970 test -z "$as_dir" && as_dir=. 4971 for ac_exec_ext in '' $ac_executable_extensions; do 4972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4973 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext" 4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4975 break 2 4976 fi 4977done 4978 done 4979IFS=$as_save_IFS 4980 4981 ;; 4982esac 4983fi 4984DX_PERL=$ac_cv_path_DX_PERL 4985if test -n "$DX_PERL"; then 4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5 4987$as_echo "$DX_PERL" >&6; } 4988else 4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4990$as_echo "no" >&6; } 4991fi 4992 4993 4994fi 4995if test -z "$ac_cv_path_DX_PERL"; then 4996 ac_pt_DX_PERL=$DX_PERL 4997 # Extract the first word of "perl", so it can be a program name with args. 4998set dummy perl; ac_word=$2 4999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5000$as_echo_n "checking for $ac_word... " >&6; } 5001if ${ac_cv_path_ac_pt_DX_PERL+:} false; then : 5002 $as_echo_n "(cached) " >&6 5003else 5004 case $ac_pt_DX_PERL in 5005 [\\/]* | ?:[\\/]*) 5006 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path. 5007 ;; 5008 *) 5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5010for as_dir in $PATH 5011do 5012 IFS=$as_save_IFS 5013 test -z "$as_dir" && as_dir=. 5014 for ac_exec_ext in '' $ac_executable_extensions; do 5015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5016 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext" 5017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5018 break 2 5019 fi 5020done 5021 done 5022IFS=$as_save_IFS 5023 5024 ;; 5025esac 5026fi 5027ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL 5028if test -n "$ac_pt_DX_PERL"; then 5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5 5030$as_echo "$ac_pt_DX_PERL" >&6; } 5031else 5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5033$as_echo "no" >&6; } 5034fi 5035 5036 if test "x$ac_pt_DX_PERL" = x; then 5037 DX_PERL="" 5038 else 5039 case $cross_compiling:$ac_tool_warned in 5040yes:) 5041{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5042$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5043ac_tool_warned=yes ;; 5044esac 5045 DX_PERL=$ac_pt_DX_PERL 5046 fi 5047else 5048 DX_PERL="$ac_cv_path_DX_PERL" 5049fi 5050 5051if test "$DX_FLAG_doc$DX_PERL" = 1; then 5052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5 5053$as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;} 5054 DX_FLAG_doc=0 5055 5056fi 5057 5058 : 5059fi 5060if test "$DX_FLAG_doc" = 1; then 5061 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'" 5062PERL_PATH=$DX_PERL 5063 5064 : 5065else 5066 5067 : 5068fi 5069 5070 5071# Dot for graphics: 5072 5073 5074 5075 # Check whether --enable-doxygen-dot was given. 5076if test "${enable_doxygen_dot+set}" = set; then : 5077 enableval=$enable_doxygen_dot; 5078case "$enableval" in 5079#( 5080y|Y|yes|Yes|YES) 5081 DX_FLAG_dot=1 5082 5083 5084test "$DX_FLAG_doc" = "1" \ 5085|| as_fn_error $? "doxygen-dot requires doxygen-doc" "$LINENO" 5 5086 5087;; #( 5088n|N|no|No|NO) 5089 DX_FLAG_dot=0 5090 5091;; #( 5092*) 5093 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5 5094;; 5095esac 5096 5097else 5098 5099DX_FLAG_dot=0 5100 5101 5102test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0 5103 5104 5105 5106fi 5107 5108if test "$DX_FLAG_dot" = 1; then 5109 5110if test -n "$ac_tool_prefix"; then 5111 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args. 5112set dummy ${ac_tool_prefix}dot; ac_word=$2 5113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5114$as_echo_n "checking for $ac_word... " >&6; } 5115if ${ac_cv_path_DX_DOT+:} false; then : 5116 $as_echo_n "(cached) " >&6 5117else 5118 case $DX_DOT in 5119 [\\/]* | ?:[\\/]*) 5120 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path. 5121 ;; 5122 *) 5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5124for as_dir in $PATH 5125do 5126 IFS=$as_save_IFS 5127 test -z "$as_dir" && as_dir=. 5128 for ac_exec_ext in '' $ac_executable_extensions; do 5129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5130 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext" 5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5132 break 2 5133 fi 5134done 5135 done 5136IFS=$as_save_IFS 5137 5138 ;; 5139esac 5140fi 5141DX_DOT=$ac_cv_path_DX_DOT 5142if test -n "$DX_DOT"; then 5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5 5144$as_echo "$DX_DOT" >&6; } 5145else 5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5147$as_echo "no" >&6; } 5148fi 5149 5150 5151fi 5152if test -z "$ac_cv_path_DX_DOT"; then 5153 ac_pt_DX_DOT=$DX_DOT 5154 # Extract the first word of "dot", so it can be a program name with args. 5155set dummy dot; ac_word=$2 5156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5157$as_echo_n "checking for $ac_word... " >&6; } 5158if ${ac_cv_path_ac_pt_DX_DOT+:} false; then : 5159 $as_echo_n "(cached) " >&6 5160else 5161 case $ac_pt_DX_DOT in 5162 [\\/]* | ?:[\\/]*) 5163 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path. 5164 ;; 5165 *) 5166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5167for as_dir in $PATH 5168do 5169 IFS=$as_save_IFS 5170 test -z "$as_dir" && as_dir=. 5171 for ac_exec_ext in '' $ac_executable_extensions; do 5172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5173 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext" 5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5175 break 2 5176 fi 5177done 5178 done 5179IFS=$as_save_IFS 5180 5181 ;; 5182esac 5183fi 5184ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT 5185if test -n "$ac_pt_DX_DOT"; then 5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5 5187$as_echo "$ac_pt_DX_DOT" >&6; } 5188else 5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5190$as_echo "no" >&6; } 5191fi 5192 5193 if test "x$ac_pt_DX_DOT" = x; then 5194 DX_DOT="" 5195 else 5196 case $cross_compiling:$ac_tool_warned in 5197yes:) 5198{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5200ac_tool_warned=yes ;; 5201esac 5202 DX_DOT=$ac_pt_DX_DOT 5203 fi 5204else 5205 DX_DOT="$ac_cv_path_DX_DOT" 5206fi 5207 5208if test "$DX_FLAG_dot$DX_DOT" = 1; then 5209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5 5210$as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;} 5211 DX_FLAG_dot=0 5212 5213fi 5214 5215 : 5216fi 5217if test "$DX_FLAG_dot" = 1; then 5218 DX_ENV="$DX_ENV HAVE_DOT='YES'" 5219HAVE_DOT=YES 5220 5221 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'" 5222DOT_PATH=`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'` 5223 5224 : 5225else 5226 DX_ENV="$DX_ENV HAVE_DOT='NO'" 5227HAVE_DOT=NO 5228 5229 : 5230fi 5231 5232 5233# Man pages generation: 5234 5235 5236 5237 # Check whether --enable-doxygen-man was given. 5238if test "${enable_doxygen_man+set}" = set; then : 5239 enableval=$enable_doxygen_man; 5240case "$enableval" in 5241#( 5242y|Y|yes|Yes|YES) 5243 DX_FLAG_man=1 5244 5245 5246test "$DX_FLAG_doc" = "1" \ 5247|| as_fn_error $? "doxygen-man requires doxygen-doc" "$LINENO" 5 5248 5249;; #( 5250n|N|no|No|NO) 5251 DX_FLAG_man=0 5252 5253;; #( 5254*) 5255 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5 5256;; 5257esac 5258 5259else 5260 5261DX_FLAG_man=0 5262 5263 5264test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0 5265 5266 5267 5268fi 5269 5270if test "$DX_FLAG_man" = 1; then 5271 5272 : 5273fi 5274if test "$DX_FLAG_man" = 1; then 5275 DX_ENV="$DX_ENV GENERATE_MAN='YES'" 5276GENERATE_MAN=YES 5277 5278 : 5279else 5280 DX_ENV="$DX_ENV GENERATE_MAN='NO'" 5281GENERATE_MAN=NO 5282 5283 : 5284fi 5285 5286 5287# RTF file generation: 5288 5289 5290 5291 # Check whether --enable-doxygen-rtf was given. 5292if test "${enable_doxygen_rtf+set}" = set; then : 5293 enableval=$enable_doxygen_rtf; 5294case "$enableval" in 5295#( 5296y|Y|yes|Yes|YES) 5297 DX_FLAG_rtf=1 5298 5299 5300test "$DX_FLAG_doc" = "1" \ 5301|| as_fn_error $? "doxygen-rtf requires doxygen-doc" "$LINENO" 5 5302 5303;; #( 5304n|N|no|No|NO) 5305 DX_FLAG_rtf=0 5306 5307;; #( 5308*) 5309 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5 5310;; 5311esac 5312 5313else 5314 5315DX_FLAG_rtf=0 5316 5317 5318test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0 5319 5320 5321 5322fi 5323 5324if test "$DX_FLAG_rtf" = 1; then 5325 5326 : 5327fi 5328if test "$DX_FLAG_rtf" = 1; then 5329 DX_ENV="$DX_ENV GENERATE_RTF='YES'" 5330GENERATE_RTF=YES 5331 5332 : 5333else 5334 DX_ENV="$DX_ENV GENERATE_RTF='NO'" 5335GENERATE_RTF=NO 5336 5337 : 5338fi 5339 5340 5341# XML file generation: 5342 5343 5344 5345 # Check whether --enable-doxygen-xml was given. 5346if test "${enable_doxygen_xml+set}" = set; then : 5347 enableval=$enable_doxygen_xml; 5348case "$enableval" in 5349#( 5350y|Y|yes|Yes|YES) 5351 DX_FLAG_xml=1 5352 5353 5354test "$DX_FLAG_doc" = "1" \ 5355|| as_fn_error $? "doxygen-xml requires doxygen-doc" "$LINENO" 5 5356 5357;; #( 5358n|N|no|No|NO) 5359 DX_FLAG_xml=0 5360 5361;; #( 5362*) 5363 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5 5364;; 5365esac 5366 5367else 5368 5369DX_FLAG_xml=0 5370 5371 5372test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0 5373 5374 5375 5376fi 5377 5378if test "$DX_FLAG_xml" = 1; then 5379 5380 : 5381fi 5382if test "$DX_FLAG_xml" = 1; then 5383 DX_ENV="$DX_ENV GENERATE_XML='YES'" 5384GENERATE_XML=YES 5385 5386 : 5387else 5388 DX_ENV="$DX_ENV GENERATE_XML='NO'" 5389GENERATE_XML=NO 5390 5391 : 5392fi 5393 5394 5395# (Compressed) HTML help generation: 5396 5397 5398 5399 # Check whether --enable-doxygen-chm was given. 5400if test "${enable_doxygen_chm+set}" = set; then : 5401 enableval=$enable_doxygen_chm; 5402case "$enableval" in 5403#( 5404y|Y|yes|Yes|YES) 5405 DX_FLAG_chm=1 5406 5407 5408test "$DX_FLAG_doc" = "1" \ 5409|| as_fn_error $? "doxygen-chm requires doxygen-doc" "$LINENO" 5 5410 5411;; #( 5412n|N|no|No|NO) 5413 DX_FLAG_chm=0 5414 5415;; #( 5416*) 5417 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5 5418;; 5419esac 5420 5421else 5422 5423DX_FLAG_chm=0 5424 5425 5426test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0 5427 5428 5429 5430fi 5431 5432if test "$DX_FLAG_chm" = 1; then 5433 5434if test -n "$ac_tool_prefix"; then 5435 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args. 5436set dummy ${ac_tool_prefix}hhc; ac_word=$2 5437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5438$as_echo_n "checking for $ac_word... " >&6; } 5439if ${ac_cv_path_DX_HHC+:} false; then : 5440 $as_echo_n "(cached) " >&6 5441else 5442 case $DX_HHC in 5443 [\\/]* | ?:[\\/]*) 5444 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path. 5445 ;; 5446 *) 5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5448for as_dir in $PATH 5449do 5450 IFS=$as_save_IFS 5451 test -z "$as_dir" && as_dir=. 5452 for ac_exec_ext in '' $ac_executable_extensions; do 5453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5454 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext" 5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5456 break 2 5457 fi 5458done 5459 done 5460IFS=$as_save_IFS 5461 5462 ;; 5463esac 5464fi 5465DX_HHC=$ac_cv_path_DX_HHC 5466if test -n "$DX_HHC"; then 5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5 5468$as_echo "$DX_HHC" >&6; } 5469else 5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5471$as_echo "no" >&6; } 5472fi 5473 5474 5475fi 5476if test -z "$ac_cv_path_DX_HHC"; then 5477 ac_pt_DX_HHC=$DX_HHC 5478 # Extract the first word of "hhc", so it can be a program name with args. 5479set dummy hhc; ac_word=$2 5480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5481$as_echo_n "checking for $ac_word... " >&6; } 5482if ${ac_cv_path_ac_pt_DX_HHC+:} false; then : 5483 $as_echo_n "(cached) " >&6 5484else 5485 case $ac_pt_DX_HHC in 5486 [\\/]* | ?:[\\/]*) 5487 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path. 5488 ;; 5489 *) 5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5491for as_dir in $PATH 5492do 5493 IFS=$as_save_IFS 5494 test -z "$as_dir" && as_dir=. 5495 for ac_exec_ext in '' $ac_executable_extensions; do 5496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5497 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext" 5498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5499 break 2 5500 fi 5501done 5502 done 5503IFS=$as_save_IFS 5504 5505 ;; 5506esac 5507fi 5508ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC 5509if test -n "$ac_pt_DX_HHC"; then 5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5 5511$as_echo "$ac_pt_DX_HHC" >&6; } 5512else 5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5514$as_echo "no" >&6; } 5515fi 5516 5517 if test "x$ac_pt_DX_HHC" = x; then 5518 DX_HHC="" 5519 else 5520 case $cross_compiling:$ac_tool_warned in 5521yes:) 5522{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5523$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5524ac_tool_warned=yes ;; 5525esac 5526 DX_HHC=$ac_pt_DX_HHC 5527 fi 5528else 5529 DX_HHC="$ac_cv_path_DX_HHC" 5530fi 5531 5532if test "$DX_FLAG_chm$DX_HHC" = 1; then 5533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5 5534$as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;} 5535 DX_FLAG_chm=0 5536 5537fi 5538 5539 : 5540fi 5541if test "$DX_FLAG_chm" = 1; then 5542 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'" 5543HHC_PATH=$DX_HHC 5544 5545 DX_ENV="$DX_ENV GENERATE_HTML='YES'" 5546GENERATE_HTML=YES 5547 5548 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'" 5549GENERATE_HTMLHELP=YES 5550 5551 : 5552else 5553 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'" 5554GENERATE_HTMLHELP=NO 5555 5556 : 5557fi 5558 5559 5560# Separate CHI file generation. 5561 5562 5563 5564 # Check whether --enable-doxygen-chi was given. 5565if test "${enable_doxygen_chi+set}" = set; then : 5566 enableval=$enable_doxygen_chi; 5567case "$enableval" in 5568#( 5569y|Y|yes|Yes|YES) 5570 DX_FLAG_chi=1 5571 5572 5573test "$DX_FLAG_chm" = "1" \ 5574|| as_fn_error $? "doxygen-chi requires doxygen-chm" "$LINENO" 5 5575 5576;; #( 5577n|N|no|No|NO) 5578 DX_FLAG_chi=0 5579 5580;; #( 5581*) 5582 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5 5583;; 5584esac 5585 5586else 5587 5588DX_FLAG_chi=0 5589 5590 5591test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0 5592 5593 5594 5595fi 5596 5597if test "$DX_FLAG_chi" = 1; then 5598 5599 : 5600fi 5601if test "$DX_FLAG_chi" = 1; then 5602 DX_ENV="$DX_ENV GENERATE_CHI='YES'" 5603GENERATE_CHI=YES 5604 5605 : 5606else 5607 DX_ENV="$DX_ENV GENERATE_CHI='NO'" 5608GENERATE_CHI=NO 5609 5610 : 5611fi 5612 5613 5614# Plain HTML pages generation: 5615 5616 5617 5618 # Check whether --enable-doxygen-html was given. 5619if test "${enable_doxygen_html+set}" = set; then : 5620 enableval=$enable_doxygen_html; 5621case "$enableval" in 5622#( 5623y|Y|yes|Yes|YES) 5624 DX_FLAG_html=1 5625 5626 5627test "$DX_FLAG_doc" = "1" \ 5628|| as_fn_error $? "doxygen-html requires doxygen-doc" "$LINENO" 5 5629 5630test "$DX_FLAG_chm" = "0" \ 5631|| as_fn_error $? "doxygen-html contradicts doxygen-chm" "$LINENO" 5 5632 5633;; #( 5634n|N|no|No|NO) 5635 DX_FLAG_html=0 5636 5637;; #( 5638*) 5639 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5 5640;; 5641esac 5642 5643else 5644 5645DX_FLAG_html=1 5646 5647 5648test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0 5649 5650 5651test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0 5652 5653 5654 5655fi 5656 5657if test "$DX_FLAG_html" = 1; then 5658 5659 : 5660fi 5661if test "$DX_FLAG_html" = 1; then 5662 DX_ENV="$DX_ENV GENERATE_HTML='YES'" 5663GENERATE_HTML=YES 5664 5665 : 5666else 5667 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'" 5668GENERATE_HTML=NO 5669 5670 : 5671fi 5672 5673 5674# PostScript file generation: 5675 5676 5677 5678 # Check whether --enable-doxygen-ps was given. 5679if test "${enable_doxygen_ps+set}" = set; then : 5680 enableval=$enable_doxygen_ps; 5681case "$enableval" in 5682#( 5683y|Y|yes|Yes|YES) 5684 DX_FLAG_ps=1 5685 5686 5687test "$DX_FLAG_doc" = "1" \ 5688|| as_fn_error $? "doxygen-ps requires doxygen-doc" "$LINENO" 5 5689 5690;; #( 5691n|N|no|No|NO) 5692 DX_FLAG_ps=0 5693 5694;; #( 5695*) 5696 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5 5697;; 5698esac 5699 5700else 5701 5702DX_FLAG_ps=0 5703 5704 5705test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0 5706 5707 5708 5709fi 5710 5711if test "$DX_FLAG_ps" = 1; then 5712 5713if test -n "$ac_tool_prefix"; then 5714 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args. 5715set dummy ${ac_tool_prefix}latex; ac_word=$2 5716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5717$as_echo_n "checking for $ac_word... " >&6; } 5718if ${ac_cv_path_DX_LATEX+:} false; then : 5719 $as_echo_n "(cached) " >&6 5720else 5721 case $DX_LATEX in 5722 [\\/]* | ?:[\\/]*) 5723 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path. 5724 ;; 5725 *) 5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5727for as_dir in $PATH 5728do 5729 IFS=$as_save_IFS 5730 test -z "$as_dir" && as_dir=. 5731 for ac_exec_ext in '' $ac_executable_extensions; do 5732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5733 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext" 5734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5735 break 2 5736 fi 5737done 5738 done 5739IFS=$as_save_IFS 5740 5741 ;; 5742esac 5743fi 5744DX_LATEX=$ac_cv_path_DX_LATEX 5745if test -n "$DX_LATEX"; then 5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5 5747$as_echo "$DX_LATEX" >&6; } 5748else 5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5750$as_echo "no" >&6; } 5751fi 5752 5753 5754fi 5755if test -z "$ac_cv_path_DX_LATEX"; then 5756 ac_pt_DX_LATEX=$DX_LATEX 5757 # Extract the first word of "latex", so it can be a program name with args. 5758set dummy latex; ac_word=$2 5759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5760$as_echo_n "checking for $ac_word... " >&6; } 5761if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then : 5762 $as_echo_n "(cached) " >&6 5763else 5764 case $ac_pt_DX_LATEX in 5765 [\\/]* | ?:[\\/]*) 5766 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path. 5767 ;; 5768 *) 5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5770for as_dir in $PATH 5771do 5772 IFS=$as_save_IFS 5773 test -z "$as_dir" && as_dir=. 5774 for ac_exec_ext in '' $ac_executable_extensions; do 5775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5776 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext" 5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5778 break 2 5779 fi 5780done 5781 done 5782IFS=$as_save_IFS 5783 5784 ;; 5785esac 5786fi 5787ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX 5788if test -n "$ac_pt_DX_LATEX"; then 5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5 5790$as_echo "$ac_pt_DX_LATEX" >&6; } 5791else 5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5793$as_echo "no" >&6; } 5794fi 5795 5796 if test "x$ac_pt_DX_LATEX" = x; then 5797 DX_LATEX="" 5798 else 5799 case $cross_compiling:$ac_tool_warned in 5800yes:) 5801{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5802$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5803ac_tool_warned=yes ;; 5804esac 5805 DX_LATEX=$ac_pt_DX_LATEX 5806 fi 5807else 5808 DX_LATEX="$ac_cv_path_DX_LATEX" 5809fi 5810 5811if test "$DX_FLAG_ps$DX_LATEX" = 1; then 5812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5 5813$as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;} 5814 DX_FLAG_ps=0 5815 5816fi 5817 5818 5819if test -n "$ac_tool_prefix"; then 5820 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args. 5821set dummy ${ac_tool_prefix}makeindex; ac_word=$2 5822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5823$as_echo_n "checking for $ac_word... " >&6; } 5824if ${ac_cv_path_DX_MAKEINDEX+:} false; then : 5825 $as_echo_n "(cached) " >&6 5826else 5827 case $DX_MAKEINDEX in 5828 [\\/]* | ?:[\\/]*) 5829 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path. 5830 ;; 5831 *) 5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5833for as_dir in $PATH 5834do 5835 IFS=$as_save_IFS 5836 test -z "$as_dir" && as_dir=. 5837 for ac_exec_ext in '' $ac_executable_extensions; do 5838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5839 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 5840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5841 break 2 5842 fi 5843done 5844 done 5845IFS=$as_save_IFS 5846 5847 ;; 5848esac 5849fi 5850DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX 5851if test -n "$DX_MAKEINDEX"; then 5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5 5853$as_echo "$DX_MAKEINDEX" >&6; } 5854else 5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5856$as_echo "no" >&6; } 5857fi 5858 5859 5860fi 5861if test -z "$ac_cv_path_DX_MAKEINDEX"; then 5862 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX 5863 # Extract the first word of "makeindex", so it can be a program name with args. 5864set dummy makeindex; ac_word=$2 5865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5866$as_echo_n "checking for $ac_word... " >&6; } 5867if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then : 5868 $as_echo_n "(cached) " >&6 5869else 5870 case $ac_pt_DX_MAKEINDEX in 5871 [\\/]* | ?:[\\/]*) 5872 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path. 5873 ;; 5874 *) 5875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5876for as_dir in $PATH 5877do 5878 IFS=$as_save_IFS 5879 test -z "$as_dir" && as_dir=. 5880 for ac_exec_ext in '' $ac_executable_extensions; do 5881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5882 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 5883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5884 break 2 5885 fi 5886done 5887 done 5888IFS=$as_save_IFS 5889 5890 ;; 5891esac 5892fi 5893ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX 5894if test -n "$ac_pt_DX_MAKEINDEX"; then 5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5 5896$as_echo "$ac_pt_DX_MAKEINDEX" >&6; } 5897else 5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5899$as_echo "no" >&6; } 5900fi 5901 5902 if test "x$ac_pt_DX_MAKEINDEX" = x; then 5903 DX_MAKEINDEX="" 5904 else 5905 case $cross_compiling:$ac_tool_warned in 5906yes:) 5907{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5908$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5909ac_tool_warned=yes ;; 5910esac 5911 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX 5912 fi 5913else 5914 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX" 5915fi 5916 5917if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then 5918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5 5919$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;} 5920 DX_FLAG_ps=0 5921 5922fi 5923 5924 5925if test -n "$ac_tool_prefix"; then 5926 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args. 5927set dummy ${ac_tool_prefix}dvips; ac_word=$2 5928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5929$as_echo_n "checking for $ac_word... " >&6; } 5930if ${ac_cv_path_DX_DVIPS+:} false; then : 5931 $as_echo_n "(cached) " >&6 5932else 5933 case $DX_DVIPS in 5934 [\\/]* | ?:[\\/]*) 5935 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path. 5936 ;; 5937 *) 5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5939for as_dir in $PATH 5940do 5941 IFS=$as_save_IFS 5942 test -z "$as_dir" && as_dir=. 5943 for ac_exec_ext in '' $ac_executable_extensions; do 5944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5945 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext" 5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5947 break 2 5948 fi 5949done 5950 done 5951IFS=$as_save_IFS 5952 5953 ;; 5954esac 5955fi 5956DX_DVIPS=$ac_cv_path_DX_DVIPS 5957if test -n "$DX_DVIPS"; then 5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5 5959$as_echo "$DX_DVIPS" >&6; } 5960else 5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5962$as_echo "no" >&6; } 5963fi 5964 5965 5966fi 5967if test -z "$ac_cv_path_DX_DVIPS"; then 5968 ac_pt_DX_DVIPS=$DX_DVIPS 5969 # Extract the first word of "dvips", so it can be a program name with args. 5970set dummy dvips; ac_word=$2 5971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5972$as_echo_n "checking for $ac_word... " >&6; } 5973if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then : 5974 $as_echo_n "(cached) " >&6 5975else 5976 case $ac_pt_DX_DVIPS in 5977 [\\/]* | ?:[\\/]*) 5978 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path. 5979 ;; 5980 *) 5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5982for as_dir in $PATH 5983do 5984 IFS=$as_save_IFS 5985 test -z "$as_dir" && as_dir=. 5986 for ac_exec_ext in '' $ac_executable_extensions; do 5987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5988 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext" 5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5990 break 2 5991 fi 5992done 5993 done 5994IFS=$as_save_IFS 5995 5996 ;; 5997esac 5998fi 5999ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS 6000if test -n "$ac_pt_DX_DVIPS"; then 6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5 6002$as_echo "$ac_pt_DX_DVIPS" >&6; } 6003else 6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6005$as_echo "no" >&6; } 6006fi 6007 6008 if test "x$ac_pt_DX_DVIPS" = x; then 6009 DX_DVIPS="" 6010 else 6011 case $cross_compiling:$ac_tool_warned in 6012yes:) 6013{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6014$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6015ac_tool_warned=yes ;; 6016esac 6017 DX_DVIPS=$ac_pt_DX_DVIPS 6018 fi 6019else 6020 DX_DVIPS="$ac_cv_path_DX_DVIPS" 6021fi 6022 6023if test "$DX_FLAG_ps$DX_DVIPS" = 1; then 6024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5 6025$as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;} 6026 DX_FLAG_ps=0 6027 6028fi 6029 6030 6031if test -n "$ac_tool_prefix"; then 6032 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args. 6033set dummy ${ac_tool_prefix}egrep; ac_word=$2 6034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6035$as_echo_n "checking for $ac_word... " >&6; } 6036if ${ac_cv_path_DX_EGREP+:} false; then : 6037 $as_echo_n "(cached) " >&6 6038else 6039 case $DX_EGREP in 6040 [\\/]* | ?:[\\/]*) 6041 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path. 6042 ;; 6043 *) 6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6045for as_dir in $PATH 6046do 6047 IFS=$as_save_IFS 6048 test -z "$as_dir" && as_dir=. 6049 for ac_exec_ext in '' $ac_executable_extensions; do 6050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6051 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6053 break 2 6054 fi 6055done 6056 done 6057IFS=$as_save_IFS 6058 6059 ;; 6060esac 6061fi 6062DX_EGREP=$ac_cv_path_DX_EGREP 6063if test -n "$DX_EGREP"; then 6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5 6065$as_echo "$DX_EGREP" >&6; } 6066else 6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6068$as_echo "no" >&6; } 6069fi 6070 6071 6072fi 6073if test -z "$ac_cv_path_DX_EGREP"; then 6074 ac_pt_DX_EGREP=$DX_EGREP 6075 # Extract the first word of "egrep", so it can be a program name with args. 6076set dummy egrep; ac_word=$2 6077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6078$as_echo_n "checking for $ac_word... " >&6; } 6079if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then : 6080 $as_echo_n "(cached) " >&6 6081else 6082 case $ac_pt_DX_EGREP in 6083 [\\/]* | ?:[\\/]*) 6084 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path. 6085 ;; 6086 *) 6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6088for as_dir in $PATH 6089do 6090 IFS=$as_save_IFS 6091 test -z "$as_dir" && as_dir=. 6092 for ac_exec_ext in '' $ac_executable_extensions; do 6093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6094 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 6095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6096 break 2 6097 fi 6098done 6099 done 6100IFS=$as_save_IFS 6101 6102 ;; 6103esac 6104fi 6105ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP 6106if test -n "$ac_pt_DX_EGREP"; then 6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5 6108$as_echo "$ac_pt_DX_EGREP" >&6; } 6109else 6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6111$as_echo "no" >&6; } 6112fi 6113 6114 if test "x$ac_pt_DX_EGREP" = x; then 6115 DX_EGREP="" 6116 else 6117 case $cross_compiling:$ac_tool_warned in 6118yes:) 6119{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6120$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6121ac_tool_warned=yes ;; 6122esac 6123 DX_EGREP=$ac_pt_DX_EGREP 6124 fi 6125else 6126 DX_EGREP="$ac_cv_path_DX_EGREP" 6127fi 6128 6129if test "$DX_FLAG_ps$DX_EGREP" = 1; then 6130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5 6131$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;} 6132 DX_FLAG_ps=0 6133 6134fi 6135 6136 : 6137fi 6138if test "$DX_FLAG_ps" = 1; then 6139 6140 : 6141else 6142 6143 : 6144fi 6145 6146 6147# PDF file generation: 6148 6149 6150 6151 # Check whether --enable-doxygen-pdf was given. 6152if test "${enable_doxygen_pdf+set}" = set; then : 6153 enableval=$enable_doxygen_pdf; 6154case "$enableval" in 6155#( 6156y|Y|yes|Yes|YES) 6157 DX_FLAG_pdf=1 6158 6159 6160test "$DX_FLAG_doc" = "1" \ 6161|| as_fn_error $? "doxygen-pdf requires doxygen-doc" "$LINENO" 5 6162 6163;; #( 6164n|N|no|No|NO) 6165 DX_FLAG_pdf=0 6166 6167;; #( 6168*) 6169 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5 6170;; 6171esac 6172 6173else 6174 6175DX_FLAG_pdf=1 6176 6177 6178test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0 6179 6180 6181 6182fi 6183 6184if test "$DX_FLAG_pdf" = 1; then 6185 6186if test -n "$ac_tool_prefix"; then 6187 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args. 6188set dummy ${ac_tool_prefix}pdflatex; ac_word=$2 6189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6190$as_echo_n "checking for $ac_word... " >&6; } 6191if ${ac_cv_path_DX_PDFLATEX+:} false; then : 6192 $as_echo_n "(cached) " >&6 6193else 6194 case $DX_PDFLATEX in 6195 [\\/]* | ?:[\\/]*) 6196 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path. 6197 ;; 6198 *) 6199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6200for as_dir in $PATH 6201do 6202 IFS=$as_save_IFS 6203 test -z "$as_dir" && as_dir=. 6204 for ac_exec_ext in '' $ac_executable_extensions; do 6205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6206 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext" 6207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6208 break 2 6209 fi 6210done 6211 done 6212IFS=$as_save_IFS 6213 6214 ;; 6215esac 6216fi 6217DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX 6218if test -n "$DX_PDFLATEX"; then 6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5 6220$as_echo "$DX_PDFLATEX" >&6; } 6221else 6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6223$as_echo "no" >&6; } 6224fi 6225 6226 6227fi 6228if test -z "$ac_cv_path_DX_PDFLATEX"; then 6229 ac_pt_DX_PDFLATEX=$DX_PDFLATEX 6230 # Extract the first word of "pdflatex", so it can be a program name with args. 6231set dummy pdflatex; ac_word=$2 6232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6233$as_echo_n "checking for $ac_word... " >&6; } 6234if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then : 6235 $as_echo_n "(cached) " >&6 6236else 6237 case $ac_pt_DX_PDFLATEX in 6238 [\\/]* | ?:[\\/]*) 6239 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path. 6240 ;; 6241 *) 6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6243for as_dir in $PATH 6244do 6245 IFS=$as_save_IFS 6246 test -z "$as_dir" && as_dir=. 6247 for ac_exec_ext in '' $ac_executable_extensions; do 6248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6249 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext" 6250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6251 break 2 6252 fi 6253done 6254 done 6255IFS=$as_save_IFS 6256 6257 ;; 6258esac 6259fi 6260ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX 6261if test -n "$ac_pt_DX_PDFLATEX"; then 6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5 6263$as_echo "$ac_pt_DX_PDFLATEX" >&6; } 6264else 6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6266$as_echo "no" >&6; } 6267fi 6268 6269 if test "x$ac_pt_DX_PDFLATEX" = x; then 6270 DX_PDFLATEX="" 6271 else 6272 case $cross_compiling:$ac_tool_warned in 6273yes:) 6274{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6275$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6276ac_tool_warned=yes ;; 6277esac 6278 DX_PDFLATEX=$ac_pt_DX_PDFLATEX 6279 fi 6280else 6281 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX" 6282fi 6283 6284if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then 6285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5 6286$as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;} 6287 DX_FLAG_pdf=0 6288 6289fi 6290 6291 6292if test -n "$ac_tool_prefix"; then 6293 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args. 6294set dummy ${ac_tool_prefix}makeindex; ac_word=$2 6295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6296$as_echo_n "checking for $ac_word... " >&6; } 6297if ${ac_cv_path_DX_MAKEINDEX+:} false; then : 6298 $as_echo_n "(cached) " >&6 6299else 6300 case $DX_MAKEINDEX in 6301 [\\/]* | ?:[\\/]*) 6302 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path. 6303 ;; 6304 *) 6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6306for as_dir in $PATH 6307do 6308 IFS=$as_save_IFS 6309 test -z "$as_dir" && as_dir=. 6310 for ac_exec_ext in '' $ac_executable_extensions; do 6311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6312 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 6313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6314 break 2 6315 fi 6316done 6317 done 6318IFS=$as_save_IFS 6319 6320 ;; 6321esac 6322fi 6323DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX 6324if test -n "$DX_MAKEINDEX"; then 6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5 6326$as_echo "$DX_MAKEINDEX" >&6; } 6327else 6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6329$as_echo "no" >&6; } 6330fi 6331 6332 6333fi 6334if test -z "$ac_cv_path_DX_MAKEINDEX"; then 6335 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX 6336 # Extract the first word of "makeindex", so it can be a program name with args. 6337set dummy makeindex; ac_word=$2 6338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6339$as_echo_n "checking for $ac_word... " >&6; } 6340if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then : 6341 $as_echo_n "(cached) " >&6 6342else 6343 case $ac_pt_DX_MAKEINDEX in 6344 [\\/]* | ?:[\\/]*) 6345 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path. 6346 ;; 6347 *) 6348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6349for as_dir in $PATH 6350do 6351 IFS=$as_save_IFS 6352 test -z "$as_dir" && as_dir=. 6353 for ac_exec_ext in '' $ac_executable_extensions; do 6354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6355 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 6356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6357 break 2 6358 fi 6359done 6360 done 6361IFS=$as_save_IFS 6362 6363 ;; 6364esac 6365fi 6366ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX 6367if test -n "$ac_pt_DX_MAKEINDEX"; then 6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5 6369$as_echo "$ac_pt_DX_MAKEINDEX" >&6; } 6370else 6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6372$as_echo "no" >&6; } 6373fi 6374 6375 if test "x$ac_pt_DX_MAKEINDEX" = x; then 6376 DX_MAKEINDEX="" 6377 else 6378 case $cross_compiling:$ac_tool_warned in 6379yes:) 6380{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6381$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6382ac_tool_warned=yes ;; 6383esac 6384 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX 6385 fi 6386else 6387 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX" 6388fi 6389 6390if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then 6391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5 6392$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;} 6393 DX_FLAG_pdf=0 6394 6395fi 6396 6397 6398if test -n "$ac_tool_prefix"; then 6399 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args. 6400set dummy ${ac_tool_prefix}egrep; ac_word=$2 6401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6402$as_echo_n "checking for $ac_word... " >&6; } 6403if ${ac_cv_path_DX_EGREP+:} false; then : 6404 $as_echo_n "(cached) " >&6 6405else 6406 case $DX_EGREP in 6407 [\\/]* | ?:[\\/]*) 6408 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path. 6409 ;; 6410 *) 6411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6412for as_dir in $PATH 6413do 6414 IFS=$as_save_IFS 6415 test -z "$as_dir" && as_dir=. 6416 for ac_exec_ext in '' $ac_executable_extensions; do 6417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6418 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 6419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6420 break 2 6421 fi 6422done 6423 done 6424IFS=$as_save_IFS 6425 6426 ;; 6427esac 6428fi 6429DX_EGREP=$ac_cv_path_DX_EGREP 6430if test -n "$DX_EGREP"; then 6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5 6432$as_echo "$DX_EGREP" >&6; } 6433else 6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6435$as_echo "no" >&6; } 6436fi 6437 6438 6439fi 6440if test -z "$ac_cv_path_DX_EGREP"; then 6441 ac_pt_DX_EGREP=$DX_EGREP 6442 # Extract the first word of "egrep", so it can be a program name with args. 6443set dummy egrep; ac_word=$2 6444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6445$as_echo_n "checking for $ac_word... " >&6; } 6446if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then : 6447 $as_echo_n "(cached) " >&6 6448else 6449 case $ac_pt_DX_EGREP in 6450 [\\/]* | ?:[\\/]*) 6451 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path. 6452 ;; 6453 *) 6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6455for as_dir in $PATH 6456do 6457 IFS=$as_save_IFS 6458 test -z "$as_dir" && as_dir=. 6459 for ac_exec_ext in '' $ac_executable_extensions; do 6460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6461 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 6462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6463 break 2 6464 fi 6465done 6466 done 6467IFS=$as_save_IFS 6468 6469 ;; 6470esac 6471fi 6472ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP 6473if test -n "$ac_pt_DX_EGREP"; then 6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5 6475$as_echo "$ac_pt_DX_EGREP" >&6; } 6476else 6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6478$as_echo "no" >&6; } 6479fi 6480 6481 if test "x$ac_pt_DX_EGREP" = x; then 6482 DX_EGREP="" 6483 else 6484 case $cross_compiling:$ac_tool_warned in 6485yes:) 6486{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6487$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6488ac_tool_warned=yes ;; 6489esac 6490 DX_EGREP=$ac_pt_DX_EGREP 6491 fi 6492else 6493 DX_EGREP="$ac_cv_path_DX_EGREP" 6494fi 6495 6496if test "$DX_FLAG_pdf$DX_EGREP" = 1; then 6497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5 6498$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;} 6499 DX_FLAG_pdf=0 6500 6501fi 6502 6503 : 6504fi 6505if test "$DX_FLAG_pdf" = 1; then 6506 6507 : 6508else 6509 6510 : 6511fi 6512 6513 6514# LaTeX generation for PS and/or PDF: 6515if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then 6516 DX_ENV="$DX_ENV GENERATE_LATEX='YES'" 6517GENERATE_LATEX=YES 6518 6519else 6520 DX_ENV="$DX_ENV GENERATE_LATEX='NO'" 6521GENERATE_LATEX=NO 6522 6523fi 6524 6525# Paper size for PS and/or PDF: 6526 6527case "$DOXYGEN_PAPER_SIZE" in 6528#( 6529"") 6530 DOXYGEN_PAPER_SIZE="" 6531 6532;; #( 6533a4wide|a4|letter|legal|executive) 6534 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" 6535PAPER_SIZE=$DOXYGEN_PAPER_SIZE 6536 6537;; #( 6538*) 6539 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5 6540;; 6541esac 6542 6543# Rules: 6544if test $DX_FLAG_html -eq 1; then : 6545 DX_SNIPPET_html="## ------------------------------- ## 6546## Rules specific for HTML output. ## 6547## ------------------------------- ## 6548 6549DX_CLEAN_HTML = \$(DX_DOCDIR)/html\\ 6550 \$(DX_DOCDIR)/html 6551 6552" 6553else 6554 DX_SNIPPET_html="" 6555fi 6556if test $DX_FLAG_chi -eq 1; then : 6557 DX_SNIPPET_chi=" 6558DX_CLEAN_CHI = \$(DX_DOCDIR)/\$(PACKAGE).chi\\ 6559 \$(DX_DOCDIR)/\$(PACKAGE).chi" 6560else 6561 DX_SNIPPET_chi="" 6562fi 6563if test $DX_FLAG_chm -eq 1; then : 6564 DX_SNIPPET_chm="## ------------------------------ ## 6565## Rules specific for CHM output. ## 6566## ------------------------------ ## 6567 6568DX_CLEAN_CHM = \$(DX_DOCDIR)/chm\\ 6569 \$(DX_DOCDIR)/chm\ 6570${DX_SNIPPET_chi} 6571 6572" 6573else 6574 DX_SNIPPET_chm="" 6575fi 6576if test $DX_FLAG_man -eq 1; then : 6577 DX_SNIPPET_man="## ------------------------------ ## 6578## Rules specific for MAN output. ## 6579## ------------------------------ ## 6580 6581DX_CLEAN_MAN = \$(DX_DOCDIR)/man\\ 6582 \$(DX_DOCDIR)/man 6583 6584" 6585else 6586 DX_SNIPPET_man="" 6587fi 6588if test $DX_FLAG_rtf -eq 1; then : 6589 DX_SNIPPET_rtf="## ------------------------------ ## 6590## Rules specific for RTF output. ## 6591## ------------------------------ ## 6592 6593DX_CLEAN_RTF = \$(DX_DOCDIR)/rtf\\ 6594 \$(DX_DOCDIR)/rtf 6595 6596" 6597else 6598 DX_SNIPPET_rtf="" 6599fi 6600if test $DX_FLAG_xml -eq 1; then : 6601 DX_SNIPPET_xml="## ------------------------------ ## 6602## Rules specific for XML output. ## 6603## ------------------------------ ## 6604 6605DX_CLEAN_XML = \$(DX_DOCDIR)/xml\\ 6606 \$(DX_DOCDIR)/xml 6607 6608" 6609else 6610 DX_SNIPPET_xml="" 6611fi 6612if test $DX_FLAG_ps -eq 1; then : 6613 DX_SNIPPET_ps="## ----------------------------- ## 6614## Rules specific for PS output. ## 6615## ----------------------------- ## 6616 6617DX_CLEAN_PS = \$(DX_DOCDIR)/\$(PACKAGE).ps\\ 6618 \$(DX_DOCDIR)/\$(PACKAGE).ps 6619 6620DX_PS_GOAL = doxygen-ps 6621 6622doxygen-ps: \$(DX_CLEAN_PS) 6623 6624\$(DX_DOCDIR)/\$(PACKAGE).ps: \$(DX_DOCDIR)/\$(PACKAGE).tag 6625 \$(DX_V_LATEX)cd \$(DX_DOCDIR)/latex; \\ 6626 rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \\ 6627 \$(DX_LATEX) refman.tex; \\ 6628 \$(DX_MAKEINDEX) refman.idx; \\ 6629 \$(DX_LATEX) refman.tex; \\ 6630 countdown=5; \\ 6631 while \$(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \\ 6632 refman.log > /dev/null 2>&1 \\ 6633 && test \$\$countdown -gt 0; do \\ 6634 \$(DX_LATEX) refman.tex; \\ 6635 countdown=\`expr \$\$countdown - 1\`; \\ 6636 done; \\ 6637 \$(DX_DVIPS) -o ../\$(PACKAGE).ps refman.dvi 6638 6639" 6640else 6641 DX_SNIPPET_ps="" 6642fi 6643if test $DX_FLAG_pdf -eq 1; then : 6644 DX_SNIPPET_pdf="## ------------------------------ ## 6645## Rules specific for PDF output. ## 6646## ------------------------------ ## 6647 6648DX_CLEAN_PDF = \$(DX_DOCDIR)/\$(PACKAGE).pdf\\ 6649 \$(DX_DOCDIR)/\$(PACKAGE).pdf 6650 6651DX_PDF_GOAL = doxygen-pdf 6652 6653doxygen-pdf: \$(DX_CLEAN_PDF) 6654 6655\$(DX_DOCDIR)/\$(PACKAGE).pdf: \$(DX_DOCDIR)/\$(PACKAGE).tag 6656 \$(DX_V_LATEX)cd \$(DX_DOCDIR)/latex; \\ 6657 rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \\ 6658 \$(DX_PDFLATEX) refman.tex; \\ 6659 \$(DX_MAKEINDEX) refman.idx; \\ 6660 \$(DX_PDFLATEX) refman.tex; \\ 6661 countdown=5; \\ 6662 while \$(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \\ 6663 refman.log > /dev/null 2>&1 \\ 6664 && test \$\$countdown -gt 0; do \\ 6665 \$(DX_PDFLATEX) refman.tex; \\ 6666 countdown=\`expr \$\$countdown - 1\`; \\ 6667 done; \\ 6668 mv refman.pdf ../\$(PACKAGE).pdf 6669 6670" 6671else 6672 DX_SNIPPET_pdf="" 6673fi 6674if test $DX_FLAG_ps -eq 1 -o $DX_FLAG_pdf -eq 1; then : 6675 DX_SNIPPET_latex="## ------------------------------------------------- ## 6676## Rules specific for LaTeX (shared for PS and PDF). ## 6677## ------------------------------------------------- ## 6678 6679DX_V_LATEX = \$(_DX_v_LATEX_\$(V)) 6680_DX_v_LATEX_ = \$(_DX_v_LATEX_\$(AM_DEFAULT_VERBOSITY)) 6681_DX_v_LATEX_0 = @echo \" LATEX \" \$@; 6682 6683DX_CLEAN_LATEX = \$(DX_DOCDIR)/latex\\ 6684 \$(DX_DOCDIR)/latex 6685 6686" 6687else 6688 DX_SNIPPET_latex="" 6689fi 6690 6691if test $DX_FLAG_doc -eq 1; then : 6692 DX_SNIPPET_doc="## --------------------------------- ## 6693## Format-independent Doxygen rules. ## 6694## --------------------------------- ## 6695 6696${DX_SNIPPET_html}\ 6697${DX_SNIPPET_chm}\ 6698${DX_SNIPPET_man}\ 6699${DX_SNIPPET_rtf}\ 6700${DX_SNIPPET_xml}\ 6701${DX_SNIPPET_ps}\ 6702${DX_SNIPPET_pdf}\ 6703${DX_SNIPPET_latex}\ 6704DX_V_DXGEN = \$(_DX_v_DXGEN_\$(V)) 6705_DX_v_DXGEN_ = \$(_DX_v_DXGEN_\$(AM_DEFAULT_VERBOSITY)) 6706_DX_v_DXGEN_0 = @echo \" DXGEN \" \$<; 6707 6708.PHONY: doxygen-run doxygen-doc \$(DX_PS_GOAL) \$(DX_PDF_GOAL) 6709 6710.INTERMEDIATE: doxygen-run \$(DX_PS_GOAL) \$(DX_PDF_GOAL) 6711 6712doxygen-run: \$(DX_DOCDIR)/\$(PACKAGE).tag 6713 6714doxygen-doc: doxygen-run \$(DX_PS_GOAL) \$(DX_PDF_GOAL) 6715 6716\$(DX_DOCDIR)/\$(PACKAGE).tag: \$(DX_CONFIG) \$(pkginclude_HEADERS) 6717 \$(A""M_V_at)rm -rf \$(DX_DOCDIR) 6718 \$(DX_V_DXGEN)\$(DX_ENV) DOCDIR=\$(DX_DOCDIR) \$(DX_DOXYGEN) \$(DX_CONFIG) 6719 \$(A""M_V_at)echo Timestamp >\$@ 6720 6721DX_CLEANFILES = \\ 6722 \$(DX_DOCDIR)/doxygen_sqlite3.db \\ 6723 \$(DX_DOCDIR)/\$(PACKAGE).tag \\ 6724 -r \\ 6725 \$(DX_CLEAN_HTML) \\ 6726 \$(DX_CLEAN_CHM) \\ 6727 \$(DX_CLEAN_CHI) \\ 6728 \$(DX_CLEAN_MAN) \\ 6729 \$(DX_CLEAN_RTF) \\ 6730 \$(DX_CLEAN_XML) \\ 6731 \$(DX_CLEAN_PS) \\ 6732 \$(DX_CLEAN_PDF) \\ 6733 \$(DX_CLEAN_LATEX)" 6734else 6735 DX_SNIPPET_doc="" 6736fi 6737DX_RULES="${DX_SNIPPET_doc}" 6738 6739 6740#For debugging: 6741#echo DX_FLAG_doc=$DX_FLAG_doc 6742#echo DX_FLAG_dot=$DX_FLAG_dot 6743#echo DX_FLAG_man=$DX_FLAG_man 6744#echo DX_FLAG_html=$DX_FLAG_html 6745#echo DX_FLAG_chm=$DX_FLAG_chm 6746#echo DX_FLAG_chi=$DX_FLAG_chi 6747#echo DX_FLAG_rtf=$DX_FLAG_rtf 6748#echo DX_FLAG_xml=$DX_FLAG_xml 6749#echo DX_FLAG_pdf=$DX_FLAG_pdf 6750#echo DX_FLAG_ps=$DX_FLAG_ps 6751#echo DX_ENV=$DX_ENV 6752 6753ac_config_files="$ac_config_files Doxyfile" 6754 6755 6756am__api_version='1.16' 6757 6758# Find a good install program. We prefer a C program (faster), 6759# so one script is as good as another. But avoid the broken or 6760# incompatible versions: 6761# SysV /etc/install, /usr/sbin/install 6762# SunOS /usr/etc/install 6763# IRIX /sbin/install 6764# AIX /bin/install 6765# AmigaOS /C/install, which installs bootblocks on floppy discs 6766# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 6767# AFS /usr/afsws/bin/install, which mishandles nonexistent args 6768# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 6769# OS/2's system install, which has a completely different semantic 6770# ./install, which can be erroneously created by make from ./install.sh. 6771# Reject install programs that cannot install multiple files. 6772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 6773$as_echo_n "checking for a BSD-compatible install... " >&6; } 6774if test -z "$INSTALL"; then 6775if ${ac_cv_path_install+:} false; then : 6776 $as_echo_n "(cached) " >&6 6777else 6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6779for as_dir in $PATH 6780do 6781 IFS=$as_save_IFS 6782 test -z "$as_dir" && as_dir=. 6783 # Account for people who put trailing slashes in PATH elements. 6784case $as_dir/ in #(( 6785 ./ | .// | /[cC]/* | \ 6786 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6787 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 6788 /usr/ucb/* ) ;; 6789 *) 6790 # OSF1 and SCO ODT 3.0 have their own names for install. 6791 # Don't use installbsd from OSF since it installs stuff as root 6792 # by default. 6793 for ac_prog in ginstall scoinst install; do 6794 for ac_exec_ext in '' $ac_executable_extensions; do 6795 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 6796 if test $ac_prog = install && 6797 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6798 # AIX install. It has an incompatible calling convention. 6799 : 6800 elif test $ac_prog = install && 6801 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6802 # program-specific install script used by HP pwplus--don't use. 6803 : 6804 else 6805 rm -rf conftest.one conftest.two conftest.dir 6806 echo one > conftest.one 6807 echo two > conftest.two 6808 mkdir conftest.dir 6809 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 6810 test -s conftest.one && test -s conftest.two && 6811 test -s conftest.dir/conftest.one && 6812 test -s conftest.dir/conftest.two 6813 then 6814 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6815 break 3 6816 fi 6817 fi 6818 fi 6819 done 6820 done 6821 ;; 6822esac 6823 6824 done 6825IFS=$as_save_IFS 6826 6827rm -rf conftest.one conftest.two conftest.dir 6828 6829fi 6830 if test "${ac_cv_path_install+set}" = set; then 6831 INSTALL=$ac_cv_path_install 6832 else 6833 # As a last resort, use the slow shell script. Don't cache a 6834 # value for INSTALL within a source directory, because that will 6835 # break other packages using the cache if that directory is 6836 # removed, or if the value is a relative name. 6837 INSTALL=$ac_install_sh 6838 fi 6839fi 6840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 6841$as_echo "$INSTALL" >&6; } 6842 6843# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 6844# It thinks the first close brace ends the variable substitution. 6845test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 6846 6847test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 6848 6849test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 6850 6851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 6852$as_echo_n "checking whether build environment is sane... " >&6; } 6853# Reject unsafe characters in $srcdir or the absolute working directory 6854# name. Accept space and tab only in the latter. 6855am_lf=' 6856' 6857case `pwd` in 6858 *[\\\"\#\$\&\'\`$am_lf]*) 6859 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 6860esac 6861case $srcdir in 6862 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 6863 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 6864esac 6865 6866# Do 'set' in a subshell so we don't clobber the current shell's 6867# arguments. Must try -L first in case configure is actually a 6868# symlink; some systems play weird games with the mod time of symlinks 6869# (eg FreeBSD returns the mod time of the symlink's containing 6870# directory). 6871if ( 6872 am_has_slept=no 6873 for am_try in 1 2; do 6874 echo "timestamp, slept: $am_has_slept" > conftest.file 6875 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 6876 if test "$*" = "X"; then 6877 # -L didn't work. 6878 set X `ls -t "$srcdir/configure" conftest.file` 6879 fi 6880 if test "$*" != "X $srcdir/configure conftest.file" \ 6881 && test "$*" != "X conftest.file $srcdir/configure"; then 6882 6883 # If neither matched, then we have a broken ls. This can happen 6884 # if, for instance, CONFIG_SHELL is bash and it inherits a 6885 # broken ls alias from the environment. This has actually 6886 # happened. Such a system could not be considered "sane". 6887 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 6888 alias in your environment" "$LINENO" 5 6889 fi 6890 if test "$2" = conftest.file || test $am_try -eq 2; then 6891 break 6892 fi 6893 # Just in case. 6894 sleep 1 6895 am_has_slept=yes 6896 done 6897 test "$2" = conftest.file 6898 ) 6899then 6900 # Ok. 6901 : 6902else 6903 as_fn_error $? "newly created file is older than distributed files! 6904Check your system clock" "$LINENO" 5 6905fi 6906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6907$as_echo "yes" >&6; } 6908# If we didn't sleep, we still need to ensure time stamps of config.status and 6909# generated files are strictly newer. 6910am_sleep_pid= 6911if grep 'slept: no' conftest.file >/dev/null 2>&1; then 6912 ( sleep 1 ) & 6913 am_sleep_pid=$! 6914fi 6915 6916rm -f conftest.file 6917 6918test "$program_prefix" != NONE && 6919 program_transform_name="s&^&$program_prefix&;$program_transform_name" 6920# Use a double $ so make ignores it. 6921test "$program_suffix" != NONE && 6922 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 6923# Double any \ or $. 6924# By default was `s,x,x', remove it if useless. 6925ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 6926program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 6927 6928if test x"${MISSING+set}" != xset; then 6929 case $am_aux_dir in 6930 *\ * | *\ *) 6931 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 6932 *) 6933 MISSING="\${SHELL} $am_aux_dir/missing" ;; 6934 esac 6935fi 6936# Use eval to expand $SHELL 6937if eval "$MISSING --is-lightweight"; then 6938 am_missing_run="$MISSING " 6939else 6940 am_missing_run= 6941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 6942$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 6943fi 6944 6945if test x"${install_sh+set}" != xset; then 6946 case $am_aux_dir in 6947 *\ * | *\ *) 6948 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 6949 *) 6950 install_sh="\${SHELL} $am_aux_dir/install-sh" 6951 esac 6952fi 6953 6954# Installed binaries are usually stripped using 'strip' when the user 6955# run "make install-strip". However 'strip' might not be the right 6956# tool to use in cross-compilation environments, therefore Automake 6957# will honor the 'STRIP' environment variable to overrule this program. 6958if test "$cross_compiling" != no; then 6959 if test -n "$ac_tool_prefix"; then 6960 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6961set dummy ${ac_tool_prefix}strip; ac_word=$2 6962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6963$as_echo_n "checking for $ac_word... " >&6; } 6964if ${ac_cv_prog_STRIP+:} false; then : 6965 $as_echo_n "(cached) " >&6 6966else 6967 if test -n "$STRIP"; then 6968 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6969else 6970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6971for as_dir in $PATH 6972do 6973 IFS=$as_save_IFS 6974 test -z "$as_dir" && as_dir=. 6975 for ac_exec_ext in '' $ac_executable_extensions; do 6976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6977 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6979 break 2 6980 fi 6981done 6982 done 6983IFS=$as_save_IFS 6984 6985fi 6986fi 6987STRIP=$ac_cv_prog_STRIP 6988if test -n "$STRIP"; then 6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6990$as_echo "$STRIP" >&6; } 6991else 6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6993$as_echo "no" >&6; } 6994fi 6995 6996 6997fi 6998if test -z "$ac_cv_prog_STRIP"; then 6999 ac_ct_STRIP=$STRIP 7000 # Extract the first word of "strip", so it can be a program name with args. 7001set dummy strip; ac_word=$2 7002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7003$as_echo_n "checking for $ac_word... " >&6; } 7004if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7005 $as_echo_n "(cached) " >&6 7006else 7007 if test -n "$ac_ct_STRIP"; then 7008 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7009else 7010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7011for as_dir in $PATH 7012do 7013 IFS=$as_save_IFS 7014 test -z "$as_dir" && as_dir=. 7015 for ac_exec_ext in '' $ac_executable_extensions; do 7016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7017 ac_cv_prog_ac_ct_STRIP="strip" 7018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7019 break 2 7020 fi 7021done 7022 done 7023IFS=$as_save_IFS 7024 7025fi 7026fi 7027ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7028if test -n "$ac_ct_STRIP"; then 7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7030$as_echo "$ac_ct_STRIP" >&6; } 7031else 7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7033$as_echo "no" >&6; } 7034fi 7035 7036 if test "x$ac_ct_STRIP" = x; then 7037 STRIP=":" 7038 else 7039 case $cross_compiling:$ac_tool_warned in 7040yes:) 7041{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7042$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7043ac_tool_warned=yes ;; 7044esac 7045 STRIP=$ac_ct_STRIP 7046 fi 7047else 7048 STRIP="$ac_cv_prog_STRIP" 7049fi 7050 7051fi 7052INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 7053 7054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 7055$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 7056set x ${MAKE-make} 7057ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 7058if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 7059 $as_echo_n "(cached) " >&6 7060else 7061 cat >conftest.make <<\_ACEOF 7062SHELL = /bin/sh 7063all: 7064 @echo '@@@%%%=$(MAKE)=@@@%%%' 7065_ACEOF 7066# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 7067case `${MAKE-make} -f conftest.make 2>/dev/null` in 7068 *@@@%%%=?*=@@@%%%*) 7069 eval ac_cv_prog_make_${ac_make}_set=yes;; 7070 *) 7071 eval ac_cv_prog_make_${ac_make}_set=no;; 7072esac 7073rm -f conftest.make 7074fi 7075if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7077$as_echo "yes" >&6; } 7078 SET_MAKE= 7079else 7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7081$as_echo "no" >&6; } 7082 SET_MAKE="MAKE=${MAKE-make}" 7083fi 7084 7085rm -rf .tst 2>/dev/null 7086mkdir .tst 2>/dev/null 7087if test -d .tst; then 7088 am__leading_dot=. 7089else 7090 am__leading_dot=_ 7091fi 7092rmdir .tst 2>/dev/null 7093 7094DEPDIR="${am__leading_dot}deps" 7095 7096ac_config_commands="$ac_config_commands depfiles" 7097 7098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 7099$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 7100cat > confinc.mk << 'END' 7101am__doit: 7102 @echo this is the am__doit target >confinc.out 7103.PHONY: am__doit 7104END 7105am__include="#" 7106am__quote= 7107# BSD make does it like this. 7108echo '.include "confinc.mk" # ignored' > confmf.BSD 7109# Other make implementations (GNU, Solaris 10, AIX) do it like this. 7110echo 'include confinc.mk # ignored' > confmf.GNU 7111_am_result=no 7112for s in GNU BSD; do 7113 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 7114 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 7115 ac_status=$? 7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7117 (exit $ac_status); } 7118 case $?:`cat confinc.out 2>/dev/null` in #( 7119 '0:this is the am__doit target') : 7120 case $s in #( 7121 BSD) : 7122 am__include='.include' am__quote='"' ;; #( 7123 *) : 7124 am__include='include' am__quote='' ;; 7125esac ;; #( 7126 *) : 7127 ;; 7128esac 7129 if test "$am__include" != "#"; then 7130 _am_result="yes ($s style)" 7131 break 7132 fi 7133done 7134rm -f confinc.* confmf.* 7135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 7136$as_echo "${_am_result}" >&6; } 7137 7138# Check whether --enable-dependency-tracking was given. 7139if test "${enable_dependency_tracking+set}" = set; then : 7140 enableval=$enable_dependency_tracking; 7141fi 7142 7143if test "x$enable_dependency_tracking" != xno; then 7144 am_depcomp="$ac_aux_dir/depcomp" 7145 AMDEPBACKSLASH='\' 7146 am__nodep='_no' 7147fi 7148 if test "x$enable_dependency_tracking" != xno; then 7149 AMDEP_TRUE= 7150 AMDEP_FALSE='#' 7151else 7152 AMDEP_TRUE='#' 7153 AMDEP_FALSE= 7154fi 7155 7156 7157# Check whether --enable-silent-rules was given. 7158if test "${enable_silent_rules+set}" = set; then : 7159 enableval=$enable_silent_rules; 7160fi 7161 7162case $enable_silent_rules in # ((( 7163 yes) AM_DEFAULT_VERBOSITY=0;; 7164 no) AM_DEFAULT_VERBOSITY=1;; 7165 *) AM_DEFAULT_VERBOSITY=1;; 7166esac 7167am_make=${MAKE-make} 7168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 7169$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 7170if ${am_cv_make_support_nested_variables+:} false; then : 7171 $as_echo_n "(cached) " >&6 7172else 7173 if $as_echo 'TRUE=$(BAR$(V)) 7174BAR0=false 7175BAR1=true 7176V=1 7177am__doit: 7178 @$(TRUE) 7179.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 7180 am_cv_make_support_nested_variables=yes 7181else 7182 am_cv_make_support_nested_variables=no 7183fi 7184fi 7185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 7186$as_echo "$am_cv_make_support_nested_variables" >&6; } 7187if test $am_cv_make_support_nested_variables = yes; then 7188 AM_V='$(V)' 7189 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 7190else 7191 AM_V=$AM_DEFAULT_VERBOSITY 7192 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 7193fi 7194AM_BACKSLASH='\' 7195 7196if test "`cd $srcdir && pwd`" != "`pwd`"; then 7197 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 7198 # is not polluted with repeated "-I." 7199 am__isrc=' -I$(srcdir)' 7200 # test to see if srcdir already configured 7201 if test -f $srcdir/config.status; then 7202 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 7203 fi 7204fi 7205 7206# test whether we have cygpath 7207if test -z "$CYGPATH_W"; then 7208 if (cygpath --version) >/dev/null 2>/dev/null; then 7209 CYGPATH_W='cygpath -w' 7210 else 7211 CYGPATH_W=echo 7212 fi 7213fi 7214 7215 7216# Define the identity of the package. 7217 PACKAGE='vkd3d' 7218 VERSION='1.2' 7219 7220 7221cat >>confdefs.h <<_ACEOF 7222#define PACKAGE "$PACKAGE" 7223_ACEOF 7224 7225 7226cat >>confdefs.h <<_ACEOF 7227#define VERSION "$VERSION" 7228_ACEOF 7229 7230# Some tools Automake needs. 7231 7232ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 7233 7234 7235AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 7236 7237 7238AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 7239 7240 7241AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 7242 7243 7244MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 7245 7246# For better backward compatibility. To be removed once Automake 1.9.x 7247# dies out for good. For more background, see: 7248# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 7249# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 7250mkdir_p='$(MKDIR_P)' 7251 7252# We need awk for the "check" target (and possibly the TAP driver). The 7253# system "awk" is bad on some platforms. 7254# Always define AMTAR for backward compatibility. Yes, it's still used 7255# in the wild :-( We should find a proper way to deprecate it ... 7256AMTAR='$${TAR-tar}' 7257 7258 7259# We'll loop over all known methods to create a tar archive until one works. 7260_am_tools='gnutar pax cpio none' 7261 7262am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 7263 7264 7265 7266 7267 7268depcc="$CC" am_compiler_list= 7269 7270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 7271$as_echo_n "checking dependency style of $depcc... " >&6; } 7272if ${am_cv_CC_dependencies_compiler_type+:} false; then : 7273 $as_echo_n "(cached) " >&6 7274else 7275 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 7276 # We make a subdir and do the tests there. Otherwise we can end up 7277 # making bogus files that we don't know about and never remove. For 7278 # instance it was reported that on HP-UX the gcc test will end up 7279 # making a dummy file named 'D' -- because '-MD' means "put the output 7280 # in D". 7281 rm -rf conftest.dir 7282 mkdir conftest.dir 7283 # Copy depcomp to subdir because otherwise we won't find it if we're 7284 # using a relative directory. 7285 cp "$am_depcomp" conftest.dir 7286 cd conftest.dir 7287 # We will build objects and dependencies in a subdirectory because 7288 # it helps to detect inapplicable dependency modes. For instance 7289 # both Tru64's cc and ICC support -MD to output dependencies as a 7290 # side effect of compilation, but ICC will put the dependencies in 7291 # the current directory while Tru64 will put them in the object 7292 # directory. 7293 mkdir sub 7294 7295 am_cv_CC_dependencies_compiler_type=none 7296 if test "$am_compiler_list" = ""; then 7297 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 7298 fi 7299 am__universal=false 7300 case " $depcc " in #( 7301 *\ -arch\ *\ -arch\ *) am__universal=true ;; 7302 esac 7303 7304 for depmode in $am_compiler_list; do 7305 # Setup a source with many dependencies, because some compilers 7306 # like to wrap large dependency lists on column 80 (with \), and 7307 # we should not choose a depcomp mode which is confused by this. 7308 # 7309 # We need to recreate these files for each test, as the compiler may 7310 # overwrite some of them when testing with obscure command lines. 7311 # This happens at least with the AIX C compiler. 7312 : > sub/conftest.c 7313 for i in 1 2 3 4 5 6; do 7314 echo '#include "conftst'$i'.h"' >> sub/conftest.c 7315 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 7316 # Solaris 10 /bin/sh. 7317 echo '/* dummy */' > sub/conftst$i.h 7318 done 7319 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 7320 7321 # We check with '-c' and '-o' for the sake of the "dashmstdout" 7322 # mode. It turns out that the SunPro C++ compiler does not properly 7323 # handle '-M -o', and we need to detect this. Also, some Intel 7324 # versions had trouble with output in subdirs. 7325 am__obj=sub/conftest.${OBJEXT-o} 7326 am__minus_obj="-o $am__obj" 7327 case $depmode in 7328 gcc) 7329 # This depmode causes a compiler race in universal mode. 7330 test "$am__universal" = false || continue 7331 ;; 7332 nosideeffect) 7333 # After this tag, mechanisms are not by side-effect, so they'll 7334 # only be used when explicitly requested. 7335 if test "x$enable_dependency_tracking" = xyes; then 7336 continue 7337 else 7338 break 7339 fi 7340 ;; 7341 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 7342 # This compiler won't grok '-c -o', but also, the minuso test has 7343 # not run yet. These depmodes are late enough in the game, and 7344 # so weak that their functioning should not be impacted. 7345 am__obj=conftest.${OBJEXT-o} 7346 am__minus_obj= 7347 ;; 7348 none) break ;; 7349 esac 7350 if depmode=$depmode \ 7351 source=sub/conftest.c object=$am__obj \ 7352 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 7353 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 7354 >/dev/null 2>conftest.err && 7355 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 7356 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 7357 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 7358 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 7359 # icc doesn't choke on unknown options, it will just issue warnings 7360 # or remarks (even with -Werror). So we grep stderr for any message 7361 # that says an option was ignored or not supported. 7362 # When given -MP, icc 7.0 and 7.1 complain thusly: 7363 # icc: Command line warning: ignoring option '-M'; no argument required 7364 # The diagnosis changed in icc 8.0: 7365 # icc: Command line remark: option '-MP' not supported 7366 if (grep 'ignoring option' conftest.err || 7367 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 7368 am_cv_CC_dependencies_compiler_type=$depmode 7369 break 7370 fi 7371 fi 7372 done 7373 7374 cd .. 7375 rm -rf conftest.dir 7376else 7377 am_cv_CC_dependencies_compiler_type=none 7378fi 7379 7380fi 7381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 7382$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 7383CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 7384 7385 if 7386 test "x$enable_dependency_tracking" != xno \ 7387 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 7388 am__fastdepCC_TRUE= 7389 am__fastdepCC_FALSE='#' 7390else 7391 am__fastdepCC_TRUE='#' 7392 am__fastdepCC_FALSE= 7393fi 7394 7395 7396 7397# POSIX will say in a future version that running "rm -f" with no argument 7398# is OK; and we want to be able to make that assumption in our Makefile 7399# recipes. So use an aggressive probe to check that the usage we want is 7400# actually supported "in the wild" to an acceptable degree. 7401# See automake bug#10828. 7402# To make any issue more visible, cause the running configure to be aborted 7403# by default if the 'rm' program in use doesn't match our expectations; the 7404# user can still override this though. 7405if rm -f && rm -fr && rm -rf; then : OK; else 7406 cat >&2 <<'END' 7407Oops! 7408 7409Your 'rm' program seems unable to run without file operands specified 7410on the command line, even when the '-f' option is present. This is contrary 7411to the behaviour of most rm programs out there, and not conforming with 7412the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 7413 7414Please tell bug-automake@gnu.org about your system, including the value 7415of your $PATH and any error possibly output before this message. This 7416can help us improve future automake versions. 7417 7418END 7419 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 7420 echo 'Configuration will proceed anyway, since you have set the' >&2 7421 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 7422 echo >&2 7423 else 7424 cat >&2 <<'END' 7425Aborting the configuration process, to ensure you take notice of the issue. 7426 7427You can download and install GNU coreutils to get an 'rm' implementation 7428that behaves properly: <https://www.gnu.org/software/coreutils/>. 7429 7430If you want to complete the configuration process using your problematic 7431'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 7432to "yes", and re-run configure. 7433 7434END 7435 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 7436 fi 7437fi 7438 7439 7440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 7441$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 7442 # Check whether --enable-maintainer-mode was given. 7443if test "${enable_maintainer_mode+set}" = set; then : 7444 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 7445else 7446 USE_MAINTAINER_MODE=yes 7447fi 7448 7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 7450$as_echo "$USE_MAINTAINER_MODE" >&6; } 7451 if test $USE_MAINTAINER_MODE = yes; then 7452 MAINTAINER_MODE_TRUE= 7453 MAINTAINER_MODE_FALSE='#' 7454else 7455 MAINTAINER_MODE_TRUE='#' 7456 MAINTAINER_MODE_FALSE= 7457fi 7458 7459 MAINT=$MAINTAINER_MODE_TRUE 7460 7461 7462# Check whether --enable-silent-rules was given. 7463if test "${enable_silent_rules+set}" = set; then : 7464 enableval=$enable_silent_rules; 7465fi 7466 7467case $enable_silent_rules in # ((( 7468 yes) AM_DEFAULT_VERBOSITY=0;; 7469 no) AM_DEFAULT_VERBOSITY=1;; 7470 *) AM_DEFAULT_VERBOSITY=0;; 7471esac 7472am_make=${MAKE-make} 7473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 7474$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 7475if ${am_cv_make_support_nested_variables+:} false; then : 7476 $as_echo_n "(cached) " >&6 7477else 7478 if $as_echo 'TRUE=$(BAR$(V)) 7479BAR0=false 7480BAR1=true 7481V=1 7482am__doit: 7483 @$(TRUE) 7484.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 7485 am_cv_make_support_nested_variables=yes 7486else 7487 am_cv_make_support_nested_variables=no 7488fi 7489fi 7490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 7491$as_echo "$am_cv_make_support_nested_variables" >&6; } 7492if test $am_cv_make_support_nested_variables = yes; then 7493 AM_V='$(V)' 7494 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 7495else 7496 AM_V=$AM_DEFAULT_VERBOSITY 7497 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 7498fi 7499AM_BACKSLASH='\' 7500 7501 7502 7503case `pwd` in 7504 *\ * | *\ *) 7505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 7506$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 7507esac 7508 7509 7510 7511macro_version='2.4.6' 7512macro_revision='2.4.6' 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526ltmain=$ac_aux_dir/ltmain.sh 7527 7528# Make sure we can run config.sub. 7529$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 7530 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 7531 7532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 7533$as_echo_n "checking build system type... " >&6; } 7534if ${ac_cv_build+:} false; then : 7535 $as_echo_n "(cached) " >&6 7536else 7537 ac_build_alias=$build_alias 7538test "x$ac_build_alias" = x && 7539 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 7540test "x$ac_build_alias" = x && 7541 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 7542ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 7543 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 7544 7545fi 7546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 7547$as_echo "$ac_cv_build" >&6; } 7548case $ac_cv_build in 7549*-*-*) ;; 7550*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 7551esac 7552build=$ac_cv_build 7553ac_save_IFS=$IFS; IFS='-' 7554set x $ac_cv_build 7555shift 7556build_cpu=$1 7557build_vendor=$2 7558shift; shift 7559# Remember, the first character of IFS is used to create $*, 7560# except with old shells: 7561build_os=$* 7562IFS=$ac_save_IFS 7563case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 7564 7565 7566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 7567$as_echo_n "checking host system type... " >&6; } 7568if ${ac_cv_host+:} false; then : 7569 $as_echo_n "(cached) " >&6 7570else 7571 if test "x$host_alias" = x; then 7572 ac_cv_host=$ac_cv_build 7573else 7574 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 7575 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 7576fi 7577 7578fi 7579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 7580$as_echo "$ac_cv_host" >&6; } 7581case $ac_cv_host in 7582*-*-*) ;; 7583*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 7584esac 7585host=$ac_cv_host 7586ac_save_IFS=$IFS; IFS='-' 7587set x $ac_cv_host 7588shift 7589host_cpu=$1 7590host_vendor=$2 7591shift; shift 7592# Remember, the first character of IFS is used to create $*, 7593# except with old shells: 7594host_os=$* 7595IFS=$ac_save_IFS 7596case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 7597 7598 7599# Backslashify metacharacters that are still active within 7600# double-quoted strings. 7601sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7602 7603# Same as above, but do not quote variable references. 7604double_quote_subst='s/\(["`\\]\)/\\\1/g' 7605 7606# Sed substitution to delay expansion of an escaped shell variable in a 7607# double_quote_subst'ed string. 7608delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7609 7610# Sed substitution to delay expansion of an escaped single quote. 7611delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7612 7613# Sed substitution to avoid accidental globbing in evaled expressions 7614no_glob_subst='s/\*/\\\*/g' 7615 7616ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 7617ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 7618ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 7619 7620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 7621$as_echo_n "checking how to print strings... " >&6; } 7622# Test print first, because it will be a builtin if present. 7623if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 7624 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 7625 ECHO='print -r --' 7626elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 7627 ECHO='printf %s\n' 7628else 7629 # Use this function as a fallback that always works. 7630 func_fallback_echo () 7631 { 7632 eval 'cat <<_LTECHO_EOF 7633$1 7634_LTECHO_EOF' 7635 } 7636 ECHO='func_fallback_echo' 7637fi 7638 7639# func_echo_all arg... 7640# Invoke $ECHO with all args, space-separated. 7641func_echo_all () 7642{ 7643 $ECHO "" 7644} 7645 7646case $ECHO in 7647 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 7648$as_echo "printf" >&6; } ;; 7649 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 7650$as_echo "print -r" >&6; } ;; 7651 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 7652$as_echo "cat" >&6; } ;; 7653esac 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 7669$as_echo_n "checking for a sed that does not truncate output... " >&6; } 7670if ${ac_cv_path_SED+:} false; then : 7671 $as_echo_n "(cached) " >&6 7672else 7673 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 7674 for ac_i in 1 2 3 4 5 6 7; do 7675 ac_script="$ac_script$as_nl$ac_script" 7676 done 7677 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 7678 { ac_script=; unset ac_script;} 7679 if test -z "$SED"; then 7680 ac_path_SED_found=false 7681 # Loop through the user's path and test for each of PROGNAME-LIST 7682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7683for as_dir in $PATH 7684do 7685 IFS=$as_save_IFS 7686 test -z "$as_dir" && as_dir=. 7687 for ac_prog in sed gsed; do 7688 for ac_exec_ext in '' $ac_executable_extensions; do 7689 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 7690 as_fn_executable_p "$ac_path_SED" || continue 7691# Check for GNU ac_path_SED and select it if it is found. 7692 # Check for GNU $ac_path_SED 7693case `"$ac_path_SED" --version 2>&1` in 7694*GNU*) 7695 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 7696*) 7697 ac_count=0 7698 $as_echo_n 0123456789 >"conftest.in" 7699 while : 7700 do 7701 cat "conftest.in" "conftest.in" >"conftest.tmp" 7702 mv "conftest.tmp" "conftest.in" 7703 cp "conftest.in" "conftest.nl" 7704 $as_echo '' >> "conftest.nl" 7705 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 7706 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7707 as_fn_arith $ac_count + 1 && ac_count=$as_val 7708 if test $ac_count -gt ${ac_path_SED_max-0}; then 7709 # Best one so far, save it but keep looking for a better one 7710 ac_cv_path_SED="$ac_path_SED" 7711 ac_path_SED_max=$ac_count 7712 fi 7713 # 10*(2^10) chars as input seems more than enough 7714 test $ac_count -gt 10 && break 7715 done 7716 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7717esac 7718 7719 $ac_path_SED_found && break 3 7720 done 7721 done 7722 done 7723IFS=$as_save_IFS 7724 if test -z "$ac_cv_path_SED"; then 7725 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 7726 fi 7727else 7728 ac_cv_path_SED=$SED 7729fi 7730 7731fi 7732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 7733$as_echo "$ac_cv_path_SED" >&6; } 7734 SED="$ac_cv_path_SED" 7735 rm -f conftest.sed 7736 7737test -z "$SED" && SED=sed 7738Xsed="$SED -e 1s/^X//" 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 7751$as_echo_n "checking for fgrep... " >&6; } 7752if ${ac_cv_path_FGREP+:} false; then : 7753 $as_echo_n "(cached) " >&6 7754else 7755 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 7756 then ac_cv_path_FGREP="$GREP -F" 7757 else 7758 if test -z "$FGREP"; then 7759 ac_path_FGREP_found=false 7760 # Loop through the user's path and test for each of PROGNAME-LIST 7761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7762for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7763do 7764 IFS=$as_save_IFS 7765 test -z "$as_dir" && as_dir=. 7766 for ac_prog in fgrep; do 7767 for ac_exec_ext in '' $ac_executable_extensions; do 7768 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 7769 as_fn_executable_p "$ac_path_FGREP" || continue 7770# Check for GNU ac_path_FGREP and select it if it is found. 7771 # Check for GNU $ac_path_FGREP 7772case `"$ac_path_FGREP" --version 2>&1` in 7773*GNU*) 7774 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 7775*) 7776 ac_count=0 7777 $as_echo_n 0123456789 >"conftest.in" 7778 while : 7779 do 7780 cat "conftest.in" "conftest.in" >"conftest.tmp" 7781 mv "conftest.tmp" "conftest.in" 7782 cp "conftest.in" "conftest.nl" 7783 $as_echo 'FGREP' >> "conftest.nl" 7784 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 7785 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7786 as_fn_arith $ac_count + 1 && ac_count=$as_val 7787 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 7788 # Best one so far, save it but keep looking for a better one 7789 ac_cv_path_FGREP="$ac_path_FGREP" 7790 ac_path_FGREP_max=$ac_count 7791 fi 7792 # 10*(2^10) chars as input seems more than enough 7793 test $ac_count -gt 10 && break 7794 done 7795 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7796esac 7797 7798 $ac_path_FGREP_found && break 3 7799 done 7800 done 7801 done 7802IFS=$as_save_IFS 7803 if test -z "$ac_cv_path_FGREP"; then 7804 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 7805 fi 7806else 7807 ac_cv_path_FGREP=$FGREP 7808fi 7809 7810 fi 7811fi 7812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 7813$as_echo "$ac_cv_path_FGREP" >&6; } 7814 FGREP="$ac_cv_path_FGREP" 7815 7816 7817test -z "$GREP" && GREP=grep 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837# Check whether --with-gnu-ld was given. 7838if test "${with_gnu_ld+set}" = set; then : 7839 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 7840else 7841 with_gnu_ld=no 7842fi 7843 7844ac_prog=ld 7845if test yes = "$GCC"; then 7846 # Check if gcc -print-prog-name=ld gives a path. 7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 7848$as_echo_n "checking for ld used by $CC... " >&6; } 7849 case $host in 7850 *-*-mingw*) 7851 # gcc leaves a trailing carriage return, which upsets mingw 7852 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 7853 *) 7854 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 7855 esac 7856 case $ac_prog in 7857 # Accept absolute paths. 7858 [\\/]* | ?:[\\/]*) 7859 re_direlt='/[^/][^/]*/\.\./' 7860 # Canonicalize the pathname of ld 7861 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 7862 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 7863 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 7864 done 7865 test -z "$LD" && LD=$ac_prog 7866 ;; 7867 "") 7868 # If it fails, then pretend we aren't using GCC. 7869 ac_prog=ld 7870 ;; 7871 *) 7872 # If it is relative, then search for the first ld in PATH. 7873 with_gnu_ld=unknown 7874 ;; 7875 esac 7876elif test yes = "$with_gnu_ld"; then 7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 7878$as_echo_n "checking for GNU ld... " >&6; } 7879else 7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 7881$as_echo_n "checking for non-GNU ld... " >&6; } 7882fi 7883if ${lt_cv_path_LD+:} false; then : 7884 $as_echo_n "(cached) " >&6 7885else 7886 if test -z "$LD"; then 7887 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7888 for ac_dir in $PATH; do 7889 IFS=$lt_save_ifs 7890 test -z "$ac_dir" && ac_dir=. 7891 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 7892 lt_cv_path_LD=$ac_dir/$ac_prog 7893 # Check to see if the program is GNU ld. I'd rather use --version, 7894 # but apparently some variants of GNU ld only accept -v. 7895 # Break only if it was the GNU/non-GNU ld that we prefer. 7896 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 7897 *GNU* | *'with BFD'*) 7898 test no != "$with_gnu_ld" && break 7899 ;; 7900 *) 7901 test yes != "$with_gnu_ld" && break 7902 ;; 7903 esac 7904 fi 7905 done 7906 IFS=$lt_save_ifs 7907else 7908 lt_cv_path_LD=$LD # Let the user override the test with a path. 7909fi 7910fi 7911 7912LD=$lt_cv_path_LD 7913if test -n "$LD"; then 7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 7915$as_echo "$LD" >&6; } 7916else 7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7918$as_echo "no" >&6; } 7919fi 7920test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 7921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 7922$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 7923if ${lt_cv_prog_gnu_ld+:} false; then : 7924 $as_echo_n "(cached) " >&6 7925else 7926 # I'd rather use --version here, but apparently some GNU lds only accept -v. 7927case `$LD -v 2>&1 </dev/null` in 7928*GNU* | *'with BFD'*) 7929 lt_cv_prog_gnu_ld=yes 7930 ;; 7931*) 7932 lt_cv_prog_gnu_ld=no 7933 ;; 7934esac 7935fi 7936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 7937$as_echo "$lt_cv_prog_gnu_ld" >&6; } 7938with_gnu_ld=$lt_cv_prog_gnu_ld 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 7949$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 7950if ${lt_cv_path_NM+:} false; then : 7951 $as_echo_n "(cached) " >&6 7952else 7953 if test -n "$NM"; then 7954 # Let the user override the test. 7955 lt_cv_path_NM=$NM 7956else 7957 lt_nm_to_check=${ac_tool_prefix}nm 7958 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 7959 lt_nm_to_check="$lt_nm_to_check nm" 7960 fi 7961 for lt_tmp_nm in $lt_nm_to_check; do 7962 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7963 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 7964 IFS=$lt_save_ifs 7965 test -z "$ac_dir" && ac_dir=. 7966 tmp_nm=$ac_dir/$lt_tmp_nm 7967 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 7968 # Check to see if the nm accepts a BSD-compat flag. 7969 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 7970 # nm: unknown option "B" ignored 7971 # Tru64's nm complains that /dev/null is an invalid object file 7972 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 7973 case $build_os in 7974 mingw*) lt_bad_file=conftest.nm/nofile ;; 7975 *) lt_bad_file=/dev/null ;; 7976 esac 7977 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 7978 *$lt_bad_file* | *'Invalid file or object type'*) 7979 lt_cv_path_NM="$tmp_nm -B" 7980 break 2 7981 ;; 7982 *) 7983 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 7984 */dev/null*) 7985 lt_cv_path_NM="$tmp_nm -p" 7986 break 2 7987 ;; 7988 *) 7989 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 7990 continue # so that we can try to find one that supports BSD flags 7991 ;; 7992 esac 7993 ;; 7994 esac 7995 fi 7996 done 7997 IFS=$lt_save_ifs 7998 done 7999 : ${lt_cv_path_NM=no} 8000fi 8001fi 8002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 8003$as_echo "$lt_cv_path_NM" >&6; } 8004if test no != "$lt_cv_path_NM"; then 8005 NM=$lt_cv_path_NM 8006else 8007 # Didn't find any BSD compatible name lister, look for dumpbin. 8008 if test -n "$DUMPBIN"; then : 8009 # Let the user override the test. 8010 else 8011 if test -n "$ac_tool_prefix"; then 8012 for ac_prog in dumpbin "link -dump" 8013 do 8014 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8015set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8017$as_echo_n "checking for $ac_word... " >&6; } 8018if ${ac_cv_prog_DUMPBIN+:} false; then : 8019 $as_echo_n "(cached) " >&6 8020else 8021 if test -n "$DUMPBIN"; then 8022 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 8023else 8024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8025for as_dir in $PATH 8026do 8027 IFS=$as_save_IFS 8028 test -z "$as_dir" && as_dir=. 8029 for ac_exec_ext in '' $ac_executable_extensions; do 8030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8031 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 8032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8033 break 2 8034 fi 8035done 8036 done 8037IFS=$as_save_IFS 8038 8039fi 8040fi 8041DUMPBIN=$ac_cv_prog_DUMPBIN 8042if test -n "$DUMPBIN"; then 8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 8044$as_echo "$DUMPBIN" >&6; } 8045else 8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8047$as_echo "no" >&6; } 8048fi 8049 8050 8051 test -n "$DUMPBIN" && break 8052 done 8053fi 8054if test -z "$DUMPBIN"; then 8055 ac_ct_DUMPBIN=$DUMPBIN 8056 for ac_prog in dumpbin "link -dump" 8057do 8058 # Extract the first word of "$ac_prog", so it can be a program name with args. 8059set dummy $ac_prog; ac_word=$2 8060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8061$as_echo_n "checking for $ac_word... " >&6; } 8062if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 8063 $as_echo_n "(cached) " >&6 8064else 8065 if test -n "$ac_ct_DUMPBIN"; then 8066 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 8067else 8068as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8069for as_dir in $PATH 8070do 8071 IFS=$as_save_IFS 8072 test -z "$as_dir" && as_dir=. 8073 for ac_exec_ext in '' $ac_executable_extensions; do 8074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8075 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 8076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8077 break 2 8078 fi 8079done 8080 done 8081IFS=$as_save_IFS 8082 8083fi 8084fi 8085ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 8086if test -n "$ac_ct_DUMPBIN"; then 8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 8088$as_echo "$ac_ct_DUMPBIN" >&6; } 8089else 8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8091$as_echo "no" >&6; } 8092fi 8093 8094 8095 test -n "$ac_ct_DUMPBIN" && break 8096done 8097 8098 if test "x$ac_ct_DUMPBIN" = x; then 8099 DUMPBIN=":" 8100 else 8101 case $cross_compiling:$ac_tool_warned in 8102yes:) 8103{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8104$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8105ac_tool_warned=yes ;; 8106esac 8107 DUMPBIN=$ac_ct_DUMPBIN 8108 fi 8109fi 8110 8111 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 8112 *COFF*) 8113 DUMPBIN="$DUMPBIN -symbols -headers" 8114 ;; 8115 *) 8116 DUMPBIN=: 8117 ;; 8118 esac 8119 fi 8120 8121 if test : != "$DUMPBIN"; then 8122 NM=$DUMPBIN 8123 fi 8124fi 8125test -z "$NM" && NM=nm 8126 8127 8128 8129 8130 8131 8132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 8133$as_echo_n "checking the name lister ($NM) interface... " >&6; } 8134if ${lt_cv_nm_interface+:} false; then : 8135 $as_echo_n "(cached) " >&6 8136else 8137 lt_cv_nm_interface="BSD nm" 8138 echo "int some_variable = 0;" > conftest.$ac_ext 8139 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 8140 (eval "$ac_compile" 2>conftest.err) 8141 cat conftest.err >&5 8142 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 8143 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 8144 cat conftest.err >&5 8145 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 8146 cat conftest.out >&5 8147 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 8148 lt_cv_nm_interface="MS dumpbin" 8149 fi 8150 rm -f conftest* 8151fi 8152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 8153$as_echo "$lt_cv_nm_interface" >&6; } 8154 8155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 8156$as_echo_n "checking whether ln -s works... " >&6; } 8157LN_S=$as_ln_s 8158if test "$LN_S" = "ln -s"; then 8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8160$as_echo "yes" >&6; } 8161else 8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 8163$as_echo "no, using $LN_S" >&6; } 8164fi 8165 8166# find the maximum length of command line arguments 8167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 8168$as_echo_n "checking the maximum length of command line arguments... " >&6; } 8169if ${lt_cv_sys_max_cmd_len+:} false; then : 8170 $as_echo_n "(cached) " >&6 8171else 8172 i=0 8173 teststring=ABCD 8174 8175 case $build_os in 8176 msdosdjgpp*) 8177 # On DJGPP, this test can blow up pretty badly due to problems in libc 8178 # (any single argument exceeding 2000 bytes causes a buffer overrun 8179 # during glob expansion). Even if it were fixed, the result of this 8180 # check would be larger than it should be. 8181 lt_cv_sys_max_cmd_len=12288; # 12K is about right 8182 ;; 8183 8184 gnu*) 8185 # Under GNU Hurd, this test is not required because there is 8186 # no limit to the length of command line arguments. 8187 # Libtool will interpret -1 as no limit whatsoever 8188 lt_cv_sys_max_cmd_len=-1; 8189 ;; 8190 8191 cygwin* | mingw* | cegcc*) 8192 # On Win9x/ME, this test blows up -- it succeeds, but takes 8193 # about 5 minutes as the teststring grows exponentially. 8194 # Worse, since 9x/ME are not pre-emptively multitasking, 8195 # you end up with a "frozen" computer, even though with patience 8196 # the test eventually succeeds (with a max line length of 256k). 8197 # Instead, let's just punt: use the minimum linelength reported by 8198 # all of the supported platforms: 8192 (on NT/2K/XP). 8199 lt_cv_sys_max_cmd_len=8192; 8200 ;; 8201 8202 mint*) 8203 # On MiNT this can take a long time and run out of memory. 8204 lt_cv_sys_max_cmd_len=8192; 8205 ;; 8206 8207 amigaos*) 8208 # On AmigaOS with pdksh, this test takes hours, literally. 8209 # So we just punt and use a minimum line length of 8192. 8210 lt_cv_sys_max_cmd_len=8192; 8211 ;; 8212 8213 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 8214 # This has been around since 386BSD, at least. Likely further. 8215 if test -x /sbin/sysctl; then 8216 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 8217 elif test -x /usr/sbin/sysctl; then 8218 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 8219 else 8220 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 8221 fi 8222 # And add a safety zone 8223 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 8224 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 8225 ;; 8226 8227 interix*) 8228 # We know the value 262144 and hardcode it with a safety zone (like BSD) 8229 lt_cv_sys_max_cmd_len=196608 8230 ;; 8231 8232 os2*) 8233 # The test takes a long time on OS/2. 8234 lt_cv_sys_max_cmd_len=8192 8235 ;; 8236 8237 osf*) 8238 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 8239 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 8240 # nice to cause kernel panics so lets avoid the loop below. 8241 # First set a reasonable default. 8242 lt_cv_sys_max_cmd_len=16384 8243 # 8244 if test -x /sbin/sysconfig; then 8245 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 8246 *1*) lt_cv_sys_max_cmd_len=-1 ;; 8247 esac 8248 fi 8249 ;; 8250 sco3.2v5*) 8251 lt_cv_sys_max_cmd_len=102400 8252 ;; 8253 sysv5* | sco5v6* | sysv4.2uw2*) 8254 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 8255 if test -n "$kargmax"; then 8256 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 8257 else 8258 lt_cv_sys_max_cmd_len=32768 8259 fi 8260 ;; 8261 *) 8262 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 8263 if test -n "$lt_cv_sys_max_cmd_len" && \ 8264 test undefined != "$lt_cv_sys_max_cmd_len"; then 8265 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 8266 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 8267 else 8268 # Make teststring a little bigger before we do anything with it. 8269 # a 1K string should be a reasonable start. 8270 for i in 1 2 3 4 5 6 7 8; do 8271 teststring=$teststring$teststring 8272 done 8273 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 8274 # If test is not a shell built-in, we'll probably end up computing a 8275 # maximum length that is only half of the actual maximum length, but 8276 # we can't tell. 8277 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 8278 = "X$teststring$teststring"; } >/dev/null 2>&1 && 8279 test 17 != "$i" # 1/2 MB should be enough 8280 do 8281 i=`expr $i + 1` 8282 teststring=$teststring$teststring 8283 done 8284 # Only check the string length outside the loop. 8285 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 8286 teststring= 8287 # Add a significant safety factor because C++ compilers can tack on 8288 # massive amounts of additional arguments before passing them to the 8289 # linker. It appears as though 1/2 is a usable value. 8290 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 8291 fi 8292 ;; 8293 esac 8294 8295fi 8296 8297if test -n "$lt_cv_sys_max_cmd_len"; then 8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 8299$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 8300else 8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 8302$as_echo "none" >&6; } 8303fi 8304max_cmd_len=$lt_cv_sys_max_cmd_len 8305 8306 8307 8308 8309 8310 8311: ${CP="cp -f"} 8312: ${MV="mv -f"} 8313: ${RM="rm -f"} 8314 8315if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8316 lt_unset=unset 8317else 8318 lt_unset=false 8319fi 8320 8321 8322 8323 8324 8325# test EBCDIC or ASCII 8326case `echo X|tr X '\101'` in 8327 A) # ASCII based system 8328 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 8329 lt_SP2NL='tr \040 \012' 8330 lt_NL2SP='tr \015\012 \040\040' 8331 ;; 8332 *) # EBCDIC based system 8333 lt_SP2NL='tr \100 \n' 8334 lt_NL2SP='tr \r\n \100\100' 8335 ;; 8336esac 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 8347$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 8348if ${lt_cv_to_host_file_cmd+:} false; then : 8349 $as_echo_n "(cached) " >&6 8350else 8351 case $host in 8352 *-*-mingw* ) 8353 case $build in 8354 *-*-mingw* ) # actually msys 8355 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 8356 ;; 8357 *-*-cygwin* ) 8358 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 8359 ;; 8360 * ) # otherwise, assume *nix 8361 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 8362 ;; 8363 esac 8364 ;; 8365 *-*-cygwin* ) 8366 case $build in 8367 *-*-mingw* ) # actually msys 8368 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 8369 ;; 8370 *-*-cygwin* ) 8371 lt_cv_to_host_file_cmd=func_convert_file_noop 8372 ;; 8373 * ) # otherwise, assume *nix 8374 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 8375 ;; 8376 esac 8377 ;; 8378 * ) # unhandled hosts (and "normal" native builds) 8379 lt_cv_to_host_file_cmd=func_convert_file_noop 8380 ;; 8381esac 8382 8383fi 8384 8385to_host_file_cmd=$lt_cv_to_host_file_cmd 8386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 8387$as_echo "$lt_cv_to_host_file_cmd" >&6; } 8388 8389 8390 8391 8392 8393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 8394$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 8395if ${lt_cv_to_tool_file_cmd+:} false; then : 8396 $as_echo_n "(cached) " >&6 8397else 8398 #assume ordinary cross tools, or native build. 8399lt_cv_to_tool_file_cmd=func_convert_file_noop 8400case $host in 8401 *-*-mingw* ) 8402 case $build in 8403 *-*-mingw* ) # actually msys 8404 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 8405 ;; 8406 esac 8407 ;; 8408esac 8409 8410fi 8411 8412to_tool_file_cmd=$lt_cv_to_tool_file_cmd 8413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 8414$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 8415 8416 8417 8418 8419 8420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 8421$as_echo_n "checking for $LD option to reload object files... " >&6; } 8422if ${lt_cv_ld_reload_flag+:} false; then : 8423 $as_echo_n "(cached) " >&6 8424else 8425 lt_cv_ld_reload_flag='-r' 8426fi 8427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 8428$as_echo "$lt_cv_ld_reload_flag" >&6; } 8429reload_flag=$lt_cv_ld_reload_flag 8430case $reload_flag in 8431"" | " "*) ;; 8432*) reload_flag=" $reload_flag" ;; 8433esac 8434reload_cmds='$LD$reload_flag -o $output$reload_objs' 8435case $host_os in 8436 cygwin* | mingw* | pw32* | cegcc*) 8437 if test yes != "$GCC"; then 8438 reload_cmds=false 8439 fi 8440 ;; 8441 darwin*) 8442 if test yes = "$GCC"; then 8443 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 8444 else 8445 reload_cmds='$LD$reload_flag -o $output$reload_objs' 8446 fi 8447 ;; 8448esac 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458if test -n "$ac_tool_prefix"; then 8459 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8460set dummy ${ac_tool_prefix}objdump; ac_word=$2 8461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8462$as_echo_n "checking for $ac_word... " >&6; } 8463if ${ac_cv_prog_OBJDUMP+:} false; then : 8464 $as_echo_n "(cached) " >&6 8465else 8466 if test -n "$OBJDUMP"; then 8467 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8468else 8469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8470for as_dir in $PATH 8471do 8472 IFS=$as_save_IFS 8473 test -z "$as_dir" && as_dir=. 8474 for ac_exec_ext in '' $ac_executable_extensions; do 8475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8476 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8478 break 2 8479 fi 8480done 8481 done 8482IFS=$as_save_IFS 8483 8484fi 8485fi 8486OBJDUMP=$ac_cv_prog_OBJDUMP 8487if test -n "$OBJDUMP"; then 8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 8489$as_echo "$OBJDUMP" >&6; } 8490else 8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8492$as_echo "no" >&6; } 8493fi 8494 8495 8496fi 8497if test -z "$ac_cv_prog_OBJDUMP"; then 8498 ac_ct_OBJDUMP=$OBJDUMP 8499 # Extract the first word of "objdump", so it can be a program name with args. 8500set dummy objdump; ac_word=$2 8501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8502$as_echo_n "checking for $ac_word... " >&6; } 8503if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8504 $as_echo_n "(cached) " >&6 8505else 8506 if test -n "$ac_ct_OBJDUMP"; then 8507 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8508else 8509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8510for as_dir in $PATH 8511do 8512 IFS=$as_save_IFS 8513 test -z "$as_dir" && as_dir=. 8514 for ac_exec_ext in '' $ac_executable_extensions; do 8515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8516 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8518 break 2 8519 fi 8520done 8521 done 8522IFS=$as_save_IFS 8523 8524fi 8525fi 8526ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8527if test -n "$ac_ct_OBJDUMP"; then 8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 8529$as_echo "$ac_ct_OBJDUMP" >&6; } 8530else 8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8532$as_echo "no" >&6; } 8533fi 8534 8535 if test "x$ac_ct_OBJDUMP" = x; then 8536 OBJDUMP="false" 8537 else 8538 case $cross_compiling:$ac_tool_warned in 8539yes:) 8540{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8541$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8542ac_tool_warned=yes ;; 8543esac 8544 OBJDUMP=$ac_ct_OBJDUMP 8545 fi 8546else 8547 OBJDUMP="$ac_cv_prog_OBJDUMP" 8548fi 8549 8550test -z "$OBJDUMP" && OBJDUMP=objdump 8551 8552 8553 8554 8555 8556 8557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 8558$as_echo_n "checking how to recognize dependent libraries... " >&6; } 8559if ${lt_cv_deplibs_check_method+:} false; then : 8560 $as_echo_n "(cached) " >&6 8561else 8562 lt_cv_file_magic_cmd='$MAGIC_CMD' 8563lt_cv_file_magic_test_file= 8564lt_cv_deplibs_check_method='unknown' 8565# Need to set the preceding variable on all platforms that support 8566# interlibrary dependencies. 8567# 'none' -- dependencies not supported. 8568# 'unknown' -- same as none, but documents that we really don't know. 8569# 'pass_all' -- all dependencies passed with no checks. 8570# 'test_compile' -- check by making test program. 8571# 'file_magic [[regex]]' -- check by looking for files in library path 8572# that responds to the $file_magic_cmd with a given extended regex. 8573# If you have 'file' or equivalent on your system and you're not sure 8574# whether 'pass_all' will *always* work, you probably want this one. 8575 8576case $host_os in 8577aix[4-9]*) 8578 lt_cv_deplibs_check_method=pass_all 8579 ;; 8580 8581beos*) 8582 lt_cv_deplibs_check_method=pass_all 8583 ;; 8584 8585bsdi[45]*) 8586 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 8587 lt_cv_file_magic_cmd='/usr/bin/file -L' 8588 lt_cv_file_magic_test_file=/shlib/libc.so 8589 ;; 8590 8591cygwin*) 8592 # func_win32_libid is a shell function defined in ltmain.sh 8593 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 8594 lt_cv_file_magic_cmd='func_win32_libid' 8595 ;; 8596 8597mingw* | pw32*) 8598 # Base MSYS/MinGW do not provide the 'file' command needed by 8599 # func_win32_libid shell function, so use a weaker test based on 'objdump', 8600 # unless we find 'file', for example because we are cross-compiling. 8601 if ( file / ) >/dev/null 2>&1; then 8602 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 8603 lt_cv_file_magic_cmd='func_win32_libid' 8604 else 8605 # Keep this pattern in sync with the one in func_win32_libid. 8606 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 8607 lt_cv_file_magic_cmd='$OBJDUMP -f' 8608 fi 8609 ;; 8610 8611cegcc*) 8612 # use the weaker test based on 'objdump'. See mingw*. 8613 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 8614 lt_cv_file_magic_cmd='$OBJDUMP -f' 8615 ;; 8616 8617darwin* | rhapsody*) 8618 lt_cv_deplibs_check_method=pass_all 8619 ;; 8620 8621freebsd* | dragonfly*) 8622 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 8623 case $host_cpu in 8624 i*86 ) 8625 # Not sure whether the presence of OpenBSD here was a mistake. 8626 # Let's accept both of them until this is cleared up. 8627 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 8628 lt_cv_file_magic_cmd=/usr/bin/file 8629 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 8630 ;; 8631 esac 8632 else 8633 lt_cv_deplibs_check_method=pass_all 8634 fi 8635 ;; 8636 8637haiku*) 8638 lt_cv_deplibs_check_method=pass_all 8639 ;; 8640 8641hpux10.20* | hpux11*) 8642 lt_cv_file_magic_cmd=/usr/bin/file 8643 case $host_cpu in 8644 ia64*) 8645 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 8646 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 8647 ;; 8648 hppa*64*) 8649 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]' 8650 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 8651 ;; 8652 *) 8653 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 8654 lt_cv_file_magic_test_file=/usr/lib/libc.sl 8655 ;; 8656 esac 8657 ;; 8658 8659interix[3-9]*) 8660 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 8661 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 8662 ;; 8663 8664irix5* | irix6* | nonstopux*) 8665 case $LD in 8666 *-32|*"-32 ") libmagic=32-bit;; 8667 *-n32|*"-n32 ") libmagic=N32;; 8668 *-64|*"-64 ") libmagic=64-bit;; 8669 *) libmagic=never-match;; 8670 esac 8671 lt_cv_deplibs_check_method=pass_all 8672 ;; 8673 8674# This must be glibc/ELF. 8675linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8676 lt_cv_deplibs_check_method=pass_all 8677 ;; 8678 8679netbsd* | netbsdelf*-gnu) 8680 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 8681 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 8682 else 8683 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 8684 fi 8685 ;; 8686 8687newos6*) 8688 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 8689 lt_cv_file_magic_cmd=/usr/bin/file 8690 lt_cv_file_magic_test_file=/usr/lib/libnls.so 8691 ;; 8692 8693*nto* | *qnx*) 8694 lt_cv_deplibs_check_method=pass_all 8695 ;; 8696 8697openbsd* | bitrig*) 8698 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 8699 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 8700 else 8701 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 8702 fi 8703 ;; 8704 8705osf3* | osf4* | osf5*) 8706 lt_cv_deplibs_check_method=pass_all 8707 ;; 8708 8709rdos*) 8710 lt_cv_deplibs_check_method=pass_all 8711 ;; 8712 8713solaris*) 8714 lt_cv_deplibs_check_method=pass_all 8715 ;; 8716 8717sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 8718 lt_cv_deplibs_check_method=pass_all 8719 ;; 8720 8721sysv4 | sysv4.3*) 8722 case $host_vendor in 8723 motorola) 8724 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]' 8725 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 8726 ;; 8727 ncr) 8728 lt_cv_deplibs_check_method=pass_all 8729 ;; 8730 sequent) 8731 lt_cv_file_magic_cmd='/bin/file' 8732 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 8733 ;; 8734 sni) 8735 lt_cv_file_magic_cmd='/bin/file' 8736 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 8737 lt_cv_file_magic_test_file=/lib/libc.so 8738 ;; 8739 siemens) 8740 lt_cv_deplibs_check_method=pass_all 8741 ;; 8742 pc) 8743 lt_cv_deplibs_check_method=pass_all 8744 ;; 8745 esac 8746 ;; 8747 8748tpf*) 8749 lt_cv_deplibs_check_method=pass_all 8750 ;; 8751os2*) 8752 lt_cv_deplibs_check_method=pass_all 8753 ;; 8754esac 8755 8756fi 8757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 8758$as_echo "$lt_cv_deplibs_check_method" >&6; } 8759 8760file_magic_glob= 8761want_nocaseglob=no 8762if test "$build" = "$host"; then 8763 case $host_os in 8764 mingw* | pw32*) 8765 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 8766 want_nocaseglob=yes 8767 else 8768 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 8769 fi 8770 ;; 8771 esac 8772fi 8773 8774file_magic_cmd=$lt_cv_file_magic_cmd 8775deplibs_check_method=$lt_cv_deplibs_check_method 8776test -z "$deplibs_check_method" && deplibs_check_method=unknown 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799if test -n "$ac_tool_prefix"; then 8800 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8801set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8803$as_echo_n "checking for $ac_word... " >&6; } 8804if ${ac_cv_prog_DLLTOOL+:} false; then : 8805 $as_echo_n "(cached) " >&6 8806else 8807 if test -n "$DLLTOOL"; then 8808 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8809else 8810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8811for as_dir in $PATH 8812do 8813 IFS=$as_save_IFS 8814 test -z "$as_dir" && as_dir=. 8815 for ac_exec_ext in '' $ac_executable_extensions; do 8816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8817 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8819 break 2 8820 fi 8821done 8822 done 8823IFS=$as_save_IFS 8824 8825fi 8826fi 8827DLLTOOL=$ac_cv_prog_DLLTOOL 8828if test -n "$DLLTOOL"; then 8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8830$as_echo "$DLLTOOL" >&6; } 8831else 8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8833$as_echo "no" >&6; } 8834fi 8835 8836 8837fi 8838if test -z "$ac_cv_prog_DLLTOOL"; then 8839 ac_ct_DLLTOOL=$DLLTOOL 8840 # Extract the first word of "dlltool", so it can be a program name with args. 8841set dummy dlltool; ac_word=$2 8842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8843$as_echo_n "checking for $ac_word... " >&6; } 8844if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8845 $as_echo_n "(cached) " >&6 8846else 8847 if test -n "$ac_ct_DLLTOOL"; then 8848 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8849else 8850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8851for as_dir in $PATH 8852do 8853 IFS=$as_save_IFS 8854 test -z "$as_dir" && as_dir=. 8855 for ac_exec_ext in '' $ac_executable_extensions; do 8856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8857 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8859 break 2 8860 fi 8861done 8862 done 8863IFS=$as_save_IFS 8864 8865fi 8866fi 8867ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8868if test -n "$ac_ct_DLLTOOL"; then 8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 8870$as_echo "$ac_ct_DLLTOOL" >&6; } 8871else 8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8873$as_echo "no" >&6; } 8874fi 8875 8876 if test "x$ac_ct_DLLTOOL" = x; then 8877 DLLTOOL="false" 8878 else 8879 case $cross_compiling:$ac_tool_warned in 8880yes:) 8881{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8882$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8883ac_tool_warned=yes ;; 8884esac 8885 DLLTOOL=$ac_ct_DLLTOOL 8886 fi 8887else 8888 DLLTOOL="$ac_cv_prog_DLLTOOL" 8889fi 8890 8891test -z "$DLLTOOL" && DLLTOOL=dlltool 8892 8893 8894 8895 8896 8897 8898 8899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 8900$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 8901if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 8902 $as_echo_n "(cached) " >&6 8903else 8904 lt_cv_sharedlib_from_linklib_cmd='unknown' 8905 8906case $host_os in 8907cygwin* | mingw* | pw32* | cegcc*) 8908 # two different shell functions defined in ltmain.sh; 8909 # decide which one to use based on capabilities of $DLLTOOL 8910 case `$DLLTOOL --help 2>&1` in 8911 *--identify-strict*) 8912 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 8913 ;; 8914 *) 8915 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 8916 ;; 8917 esac 8918 ;; 8919*) 8920 # fallback: assume linklib IS sharedlib 8921 lt_cv_sharedlib_from_linklib_cmd=$ECHO 8922 ;; 8923esac 8924 8925fi 8926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 8927$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 8928sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 8929test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 8930 8931 8932 8933 8934 8935 8936 8937if test -n "$ac_tool_prefix"; then 8938 for ac_prog in ar 8939 do 8940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8941set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8943$as_echo_n "checking for $ac_word... " >&6; } 8944if ${ac_cv_prog_AR+:} false; then : 8945 $as_echo_n "(cached) " >&6 8946else 8947 if test -n "$AR"; then 8948 ac_cv_prog_AR="$AR" # Let the user override the test. 8949else 8950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8951for as_dir in $PATH 8952do 8953 IFS=$as_save_IFS 8954 test -z "$as_dir" && as_dir=. 8955 for ac_exec_ext in '' $ac_executable_extensions; do 8956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8957 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 8958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8959 break 2 8960 fi 8961done 8962 done 8963IFS=$as_save_IFS 8964 8965fi 8966fi 8967AR=$ac_cv_prog_AR 8968if test -n "$AR"; then 8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 8970$as_echo "$AR" >&6; } 8971else 8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8973$as_echo "no" >&6; } 8974fi 8975 8976 8977 test -n "$AR" && break 8978 done 8979fi 8980if test -z "$AR"; then 8981 ac_ct_AR=$AR 8982 for ac_prog in ar 8983do 8984 # Extract the first word of "$ac_prog", so it can be a program name with args. 8985set dummy $ac_prog; ac_word=$2 8986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8987$as_echo_n "checking for $ac_word... " >&6; } 8988if ${ac_cv_prog_ac_ct_AR+:} false; then : 8989 $as_echo_n "(cached) " >&6 8990else 8991 if test -n "$ac_ct_AR"; then 8992 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 8993else 8994as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8995for as_dir in $PATH 8996do 8997 IFS=$as_save_IFS 8998 test -z "$as_dir" && as_dir=. 8999 for ac_exec_ext in '' $ac_executable_extensions; do 9000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9001 ac_cv_prog_ac_ct_AR="$ac_prog" 9002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9003 break 2 9004 fi 9005done 9006 done 9007IFS=$as_save_IFS 9008 9009fi 9010fi 9011ac_ct_AR=$ac_cv_prog_ac_ct_AR 9012if test -n "$ac_ct_AR"; then 9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 9014$as_echo "$ac_ct_AR" >&6; } 9015else 9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9017$as_echo "no" >&6; } 9018fi 9019 9020 9021 test -n "$ac_ct_AR" && break 9022done 9023 9024 if test "x$ac_ct_AR" = x; then 9025 AR="false" 9026 else 9027 case $cross_compiling:$ac_tool_warned in 9028yes:) 9029{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9030$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9031ac_tool_warned=yes ;; 9032esac 9033 AR=$ac_ct_AR 9034 fi 9035fi 9036 9037: ${AR=ar} 9038: ${AR_FLAGS=cru} 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 9051$as_echo_n "checking for archiver @FILE support... " >&6; } 9052if ${lt_cv_ar_at_file+:} false; then : 9053 $as_echo_n "(cached) " >&6 9054else 9055 lt_cv_ar_at_file=no 9056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9057/* end confdefs.h. */ 9058 9059int 9060main () 9061{ 9062 9063 ; 9064 return 0; 9065} 9066_ACEOF 9067if ac_fn_c_try_compile "$LINENO"; then : 9068 echo conftest.$ac_objext > conftest.lst 9069 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 9070 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 9071 (eval $lt_ar_try) 2>&5 9072 ac_status=$? 9073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9074 test $ac_status = 0; } 9075 if test 0 -eq "$ac_status"; then 9076 # Ensure the archiver fails upon bogus file names. 9077 rm -f conftest.$ac_objext libconftest.a 9078 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 9079 (eval $lt_ar_try) 2>&5 9080 ac_status=$? 9081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9082 test $ac_status = 0; } 9083 if test 0 -ne "$ac_status"; then 9084 lt_cv_ar_at_file=@ 9085 fi 9086 fi 9087 rm -f conftest.* libconftest.a 9088 9089fi 9090rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9091 9092fi 9093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 9094$as_echo "$lt_cv_ar_at_file" >&6; } 9095 9096if test no = "$lt_cv_ar_at_file"; then 9097 archiver_list_spec= 9098else 9099 archiver_list_spec=$lt_cv_ar_at_file 9100fi 9101 9102 9103 9104 9105 9106 9107 9108if test -n "$ac_tool_prefix"; then 9109 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 9110set dummy ${ac_tool_prefix}strip; ac_word=$2 9111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9112$as_echo_n "checking for $ac_word... " >&6; } 9113if ${ac_cv_prog_STRIP+:} false; then : 9114 $as_echo_n "(cached) " >&6 9115else 9116 if test -n "$STRIP"; then 9117 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 9118else 9119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9120for as_dir in $PATH 9121do 9122 IFS=$as_save_IFS 9123 test -z "$as_dir" && as_dir=. 9124 for ac_exec_ext in '' $ac_executable_extensions; do 9125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9126 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 9127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9128 break 2 9129 fi 9130done 9131 done 9132IFS=$as_save_IFS 9133 9134fi 9135fi 9136STRIP=$ac_cv_prog_STRIP 9137if test -n "$STRIP"; then 9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 9139$as_echo "$STRIP" >&6; } 9140else 9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9142$as_echo "no" >&6; } 9143fi 9144 9145 9146fi 9147if test -z "$ac_cv_prog_STRIP"; then 9148 ac_ct_STRIP=$STRIP 9149 # Extract the first word of "strip", so it can be a program name with args. 9150set dummy strip; ac_word=$2 9151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9152$as_echo_n "checking for $ac_word... " >&6; } 9153if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 9154 $as_echo_n "(cached) " >&6 9155else 9156 if test -n "$ac_ct_STRIP"; then 9157 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 9158else 9159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9160for as_dir in $PATH 9161do 9162 IFS=$as_save_IFS 9163 test -z "$as_dir" && as_dir=. 9164 for ac_exec_ext in '' $ac_executable_extensions; do 9165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9166 ac_cv_prog_ac_ct_STRIP="strip" 9167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9168 break 2 9169 fi 9170done 9171 done 9172IFS=$as_save_IFS 9173 9174fi 9175fi 9176ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 9177if test -n "$ac_ct_STRIP"; then 9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 9179$as_echo "$ac_ct_STRIP" >&6; } 9180else 9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9182$as_echo "no" >&6; } 9183fi 9184 9185 if test "x$ac_ct_STRIP" = x; then 9186 STRIP=":" 9187 else 9188 case $cross_compiling:$ac_tool_warned in 9189yes:) 9190{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9191$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9192ac_tool_warned=yes ;; 9193esac 9194 STRIP=$ac_ct_STRIP 9195 fi 9196else 9197 STRIP="$ac_cv_prog_STRIP" 9198fi 9199 9200test -z "$STRIP" && STRIP=: 9201 9202 9203 9204 9205 9206 9207if test -n "$ac_tool_prefix"; then 9208 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 9209set dummy ${ac_tool_prefix}ranlib; ac_word=$2 9210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9211$as_echo_n "checking for $ac_word... " >&6; } 9212if ${ac_cv_prog_RANLIB+:} false; then : 9213 $as_echo_n "(cached) " >&6 9214else 9215 if test -n "$RANLIB"; then 9216 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 9217else 9218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9219for as_dir in $PATH 9220do 9221 IFS=$as_save_IFS 9222 test -z "$as_dir" && as_dir=. 9223 for ac_exec_ext in '' $ac_executable_extensions; do 9224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9225 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 9226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9227 break 2 9228 fi 9229done 9230 done 9231IFS=$as_save_IFS 9232 9233fi 9234fi 9235RANLIB=$ac_cv_prog_RANLIB 9236if test -n "$RANLIB"; then 9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 9238$as_echo "$RANLIB" >&6; } 9239else 9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9241$as_echo "no" >&6; } 9242fi 9243 9244 9245fi 9246if test -z "$ac_cv_prog_RANLIB"; then 9247 ac_ct_RANLIB=$RANLIB 9248 # Extract the first word of "ranlib", so it can be a program name with args. 9249set dummy ranlib; ac_word=$2 9250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9251$as_echo_n "checking for $ac_word... " >&6; } 9252if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 9253 $as_echo_n "(cached) " >&6 9254else 9255 if test -n "$ac_ct_RANLIB"; then 9256 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 9257else 9258as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9259for as_dir in $PATH 9260do 9261 IFS=$as_save_IFS 9262 test -z "$as_dir" && as_dir=. 9263 for ac_exec_ext in '' $ac_executable_extensions; do 9264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9265 ac_cv_prog_ac_ct_RANLIB="ranlib" 9266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9267 break 2 9268 fi 9269done 9270 done 9271IFS=$as_save_IFS 9272 9273fi 9274fi 9275ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 9276if test -n "$ac_ct_RANLIB"; then 9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 9278$as_echo "$ac_ct_RANLIB" >&6; } 9279else 9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9281$as_echo "no" >&6; } 9282fi 9283 9284 if test "x$ac_ct_RANLIB" = x; then 9285 RANLIB=":" 9286 else 9287 case $cross_compiling:$ac_tool_warned in 9288yes:) 9289{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9290$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9291ac_tool_warned=yes ;; 9292esac 9293 RANLIB=$ac_ct_RANLIB 9294 fi 9295else 9296 RANLIB="$ac_cv_prog_RANLIB" 9297fi 9298 9299test -z "$RANLIB" && RANLIB=: 9300 9301 9302 9303 9304 9305 9306# Determine commands to create old-style static archives. 9307old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 9308old_postinstall_cmds='chmod 644 $oldlib' 9309old_postuninstall_cmds= 9310 9311if test -n "$RANLIB"; then 9312 case $host_os in 9313 bitrig* | openbsd*) 9314 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 9315 ;; 9316 *) 9317 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 9318 ;; 9319 esac 9320 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 9321fi 9322 9323case $host_os in 9324 darwin*) 9325 lock_old_archive_extraction=yes ;; 9326 *) 9327 lock_old_archive_extraction=no ;; 9328esac 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368# If no C compiler was specified, use CC. 9369LTCC=${LTCC-"$CC"} 9370 9371# If no C compiler flags were specified, use CFLAGS. 9372LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9373 9374# Allow CC to be a program name with arguments. 9375compiler=$CC 9376 9377 9378# Check for command to grab the raw symbol name followed by C symbol from nm. 9379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 9380$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 9381if ${lt_cv_sys_global_symbol_pipe+:} false; then : 9382 $as_echo_n "(cached) " >&6 9383else 9384 9385# These are sane defaults that work on at least a few old systems. 9386# [They come from Ultrix. What could be older than Ultrix?!! ;)] 9387 9388# Character class describing NM global symbol codes. 9389symcode='[BCDEGRST]' 9390 9391# Regexp to match symbols that can be accessed directly from C. 9392sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 9393 9394# Define system-specific variables. 9395case $host_os in 9396aix*) 9397 symcode='[BCDT]' 9398 ;; 9399cygwin* | mingw* | pw32* | cegcc*) 9400 symcode='[ABCDGISTW]' 9401 ;; 9402hpux*) 9403 if test ia64 = "$host_cpu"; then 9404 symcode='[ABCDEGRST]' 9405 fi 9406 ;; 9407irix* | nonstopux*) 9408 symcode='[BCDEGRST]' 9409 ;; 9410osf*) 9411 symcode='[BCDEGQRST]' 9412 ;; 9413solaris*) 9414 symcode='[BDRT]' 9415 ;; 9416sco3.2v5*) 9417 symcode='[DT]' 9418 ;; 9419sysv4.2uw2*) 9420 symcode='[DT]' 9421 ;; 9422sysv5* | sco5v6* | unixware* | OpenUNIX*) 9423 symcode='[ABDT]' 9424 ;; 9425sysv4) 9426 symcode='[DFNSTU]' 9427 ;; 9428esac 9429 9430# If we're using GNU nm, then use its standard symbol codes. 9431case `$NM -V 2>&1` in 9432*GNU* | *'with BFD'*) 9433 symcode='[ABCDGIRSTW]' ;; 9434esac 9435 9436if test "$lt_cv_nm_interface" = "MS dumpbin"; then 9437 # Gets list of data symbols to import. 9438 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 9439 # Adjust the below global symbol transforms to fixup imported variables. 9440 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 9441 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 9442 lt_c_name_lib_hook="\ 9443 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 9444 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 9445else 9446 # Disable hooks by default. 9447 lt_cv_sys_global_symbol_to_import= 9448 lt_cdecl_hook= 9449 lt_c_name_hook= 9450 lt_c_name_lib_hook= 9451fi 9452 9453# Transform an extracted symbol line into a proper C declaration. 9454# Some systems (esp. on ia64) link data and code symbols differently, 9455# so use this general approach. 9456lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 9457$lt_cdecl_hook\ 9458" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 9459" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 9460 9461# Transform an extracted symbol line into symbol name and symbol address 9462lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 9463$lt_c_name_hook\ 9464" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 9465" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 9466 9467# Transform an extracted symbol line into symbol name with lib prefix and 9468# symbol address. 9469lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 9470$lt_c_name_lib_hook\ 9471" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 9472" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 9473" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 9474 9475# Handle CRLF in mingw tool chain 9476opt_cr= 9477case $build_os in 9478mingw*) 9479 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 9480 ;; 9481esac 9482 9483# Try without a prefix underscore, then with it. 9484for ac_symprfx in "" "_"; do 9485 9486 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 9487 symxfrm="\\1 $ac_symprfx\\2 \\2" 9488 9489 # Write the raw and C identifiers. 9490 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 9491 # Fake it for dumpbin and say T for any non-static function, 9492 # D for any global variable and I for any imported variable. 9493 # Also find C++ and __fastcall symbols from MSVC++, 9494 # which start with @ or ?. 9495 lt_cv_sys_global_symbol_pipe="$AWK '"\ 9496" {last_section=section; section=\$ 3};"\ 9497" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 9498" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 9499" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 9500" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 9501" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 9502" \$ 0!~/External *\|/{next};"\ 9503" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 9504" {if(hide[section]) next};"\ 9505" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 9506" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 9507" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 9508" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 9509" ' prfx=^$ac_symprfx" 9510 else 9511 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 9512 fi 9513 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 9514 9515 # Check to see that the pipe works correctly. 9516 pipe_works=no 9517 9518 rm -f conftest* 9519 cat > conftest.$ac_ext <<_LT_EOF 9520#ifdef __cplusplus 9521extern "C" { 9522#endif 9523char nm_test_var; 9524void nm_test_func(void); 9525void nm_test_func(void){} 9526#ifdef __cplusplus 9527} 9528#endif 9529int main(){nm_test_var='a';nm_test_func();return(0);} 9530_LT_EOF 9531 9532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9533 (eval $ac_compile) 2>&5 9534 ac_status=$? 9535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9536 test $ac_status = 0; }; then 9537 # Now try to grab the symbols. 9538 nlist=conftest.nm 9539 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 9540 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 9541 ac_status=$? 9542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9543 test $ac_status = 0; } && test -s "$nlist"; then 9544 # Try sorting and uniquifying the output. 9545 if sort "$nlist" | uniq > "$nlist"T; then 9546 mv -f "$nlist"T "$nlist" 9547 else 9548 rm -f "$nlist"T 9549 fi 9550 9551 # Make sure that we snagged all the symbols we need. 9552 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 9553 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 9554 cat <<_LT_EOF > conftest.$ac_ext 9555/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 9556#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 9557/* DATA imports from DLLs on WIN32 can't be const, because runtime 9558 relocations are performed -- see ld's documentation on pseudo-relocs. */ 9559# define LT_DLSYM_CONST 9560#elif defined __osf__ 9561/* This system does not cope well with relocations in const data. */ 9562# define LT_DLSYM_CONST 9563#else 9564# define LT_DLSYM_CONST const 9565#endif 9566 9567#ifdef __cplusplus 9568extern "C" { 9569#endif 9570 9571_LT_EOF 9572 # Now generate the symbol file. 9573 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 9574 9575 cat <<_LT_EOF >> conftest.$ac_ext 9576 9577/* The mapping between symbol names and symbols. */ 9578LT_DLSYM_CONST struct { 9579 const char *name; 9580 void *address; 9581} 9582lt__PROGRAM__LTX_preloaded_symbols[] = 9583{ 9584 { "@PROGRAM@", (void *) 0 }, 9585_LT_EOF 9586 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 9587 cat <<\_LT_EOF >> conftest.$ac_ext 9588 {0, (void *) 0} 9589}; 9590 9591/* This works around a problem in FreeBSD linker */ 9592#ifdef FREEBSD_WORKAROUND 9593static const void *lt_preloaded_setup() { 9594 return lt__PROGRAM__LTX_preloaded_symbols; 9595} 9596#endif 9597 9598#ifdef __cplusplus 9599} 9600#endif 9601_LT_EOF 9602 # Now try linking the two files. 9603 mv conftest.$ac_objext conftstm.$ac_objext 9604 lt_globsym_save_LIBS=$LIBS 9605 lt_globsym_save_CFLAGS=$CFLAGS 9606 LIBS=conftstm.$ac_objext 9607 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 9608 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 9609 (eval $ac_link) 2>&5 9610 ac_status=$? 9611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9612 test $ac_status = 0; } && test -s conftest$ac_exeext; then 9613 pipe_works=yes 9614 fi 9615 LIBS=$lt_globsym_save_LIBS 9616 CFLAGS=$lt_globsym_save_CFLAGS 9617 else 9618 echo "cannot find nm_test_func in $nlist" >&5 9619 fi 9620 else 9621 echo "cannot find nm_test_var in $nlist" >&5 9622 fi 9623 else 9624 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 9625 fi 9626 else 9627 echo "$progname: failed program was:" >&5 9628 cat conftest.$ac_ext >&5 9629 fi 9630 rm -rf conftest* conftst* 9631 9632 # Do not use the global_symbol_pipe unless it works. 9633 if test yes = "$pipe_works"; then 9634 break 9635 else 9636 lt_cv_sys_global_symbol_pipe= 9637 fi 9638done 9639 9640fi 9641 9642if test -z "$lt_cv_sys_global_symbol_pipe"; then 9643 lt_cv_sys_global_symbol_to_cdecl= 9644fi 9645if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 9647$as_echo "failed" >&6; } 9648else 9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 9650$as_echo "ok" >&6; } 9651fi 9652 9653# Response file support. 9654if test "$lt_cv_nm_interface" = "MS dumpbin"; then 9655 nm_file_list_spec='@' 9656elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 9657 nm_file_list_spec='@' 9658fi 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 9697$as_echo_n "checking for sysroot... " >&6; } 9698 9699# Check whether --with-sysroot was given. 9700if test "${with_sysroot+set}" = set; then : 9701 withval=$with_sysroot; 9702else 9703 with_sysroot=no 9704fi 9705 9706 9707lt_sysroot= 9708case $with_sysroot in #( 9709 yes) 9710 if test yes = "$GCC"; then 9711 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 9712 fi 9713 ;; #( 9714 /*) 9715 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 9716 ;; #( 9717 no|'') 9718 ;; #( 9719 *) 9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 9721$as_echo "$with_sysroot" >&6; } 9722 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 9723 ;; 9724esac 9725 9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 9727$as_echo "${lt_sysroot:-no}" >&6; } 9728 9729 9730 9731 9732 9733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 9734$as_echo_n "checking for a working dd... " >&6; } 9735if ${ac_cv_path_lt_DD+:} false; then : 9736 $as_echo_n "(cached) " >&6 9737else 9738 printf 0123456789abcdef0123456789abcdef >conftest.i 9739cat conftest.i conftest.i >conftest2.i 9740: ${lt_DD:=$DD} 9741if test -z "$lt_DD"; then 9742 ac_path_lt_DD_found=false 9743 # Loop through the user's path and test for each of PROGNAME-LIST 9744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9745for as_dir in $PATH 9746do 9747 IFS=$as_save_IFS 9748 test -z "$as_dir" && as_dir=. 9749 for ac_prog in dd; do 9750 for ac_exec_ext in '' $ac_executable_extensions; do 9751 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 9752 as_fn_executable_p "$ac_path_lt_DD" || continue 9753if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 9754 cmp -s conftest.i conftest.out \ 9755 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 9756fi 9757 $ac_path_lt_DD_found && break 3 9758 done 9759 done 9760 done 9761IFS=$as_save_IFS 9762 if test -z "$ac_cv_path_lt_DD"; then 9763 : 9764 fi 9765else 9766 ac_cv_path_lt_DD=$lt_DD 9767fi 9768 9769rm -f conftest.i conftest2.i conftest.out 9770fi 9771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 9772$as_echo "$ac_cv_path_lt_DD" >&6; } 9773 9774 9775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 9776$as_echo_n "checking how to truncate binary pipes... " >&6; } 9777if ${lt_cv_truncate_bin+:} false; then : 9778 $as_echo_n "(cached) " >&6 9779else 9780 printf 0123456789abcdef0123456789abcdef >conftest.i 9781cat conftest.i conftest.i >conftest2.i 9782lt_cv_truncate_bin= 9783if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 9784 cmp -s conftest.i conftest.out \ 9785 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 9786fi 9787rm -f conftest.i conftest2.i conftest.out 9788test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 9789fi 9790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 9791$as_echo "$lt_cv_truncate_bin" >&6; } 9792 9793 9794 9795 9796 9797 9798 9799# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 9800func_cc_basename () 9801{ 9802 for cc_temp in $*""; do 9803 case $cc_temp in 9804 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 9805 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 9806 \-*) ;; 9807 *) break;; 9808 esac 9809 done 9810 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 9811} 9812 9813# Check whether --enable-libtool-lock was given. 9814if test "${enable_libtool_lock+set}" = set; then : 9815 enableval=$enable_libtool_lock; 9816fi 9817 9818test no = "$enable_libtool_lock" || enable_libtool_lock=yes 9819 9820# Some flags need to be propagated to the compiler or linker for good 9821# libtool support. 9822case $host in 9823ia64-*-hpux*) 9824 # Find out what ABI is being produced by ac_compile, and set mode 9825 # options accordingly. 9826 echo 'int i;' > conftest.$ac_ext 9827 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9828 (eval $ac_compile) 2>&5 9829 ac_status=$? 9830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9831 test $ac_status = 0; }; then 9832 case `/usr/bin/file conftest.$ac_objext` in 9833 *ELF-32*) 9834 HPUX_IA64_MODE=32 9835 ;; 9836 *ELF-64*) 9837 HPUX_IA64_MODE=64 9838 ;; 9839 esac 9840 fi 9841 rm -rf conftest* 9842 ;; 9843*-*-irix6*) 9844 # Find out what ABI is being produced by ac_compile, and set linker 9845 # options accordingly. 9846 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 9847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9848 (eval $ac_compile) 2>&5 9849 ac_status=$? 9850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9851 test $ac_status = 0; }; then 9852 if test yes = "$lt_cv_prog_gnu_ld"; then 9853 case `/usr/bin/file conftest.$ac_objext` in 9854 *32-bit*) 9855 LD="${LD-ld} -melf32bsmip" 9856 ;; 9857 *N32*) 9858 LD="${LD-ld} -melf32bmipn32" 9859 ;; 9860 *64-bit*) 9861 LD="${LD-ld} -melf64bmip" 9862 ;; 9863 esac 9864 else 9865 case `/usr/bin/file conftest.$ac_objext` in 9866 *32-bit*) 9867 LD="${LD-ld} -32" 9868 ;; 9869 *N32*) 9870 LD="${LD-ld} -n32" 9871 ;; 9872 *64-bit*) 9873 LD="${LD-ld} -64" 9874 ;; 9875 esac 9876 fi 9877 fi 9878 rm -rf conftest* 9879 ;; 9880 9881mips64*-*linux*) 9882 # Find out what ABI is being produced by ac_compile, and set linker 9883 # options accordingly. 9884 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 9885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9886 (eval $ac_compile) 2>&5 9887 ac_status=$? 9888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9889 test $ac_status = 0; }; then 9890 emul=elf 9891 case `/usr/bin/file conftest.$ac_objext` in 9892 *32-bit*) 9893 emul="${emul}32" 9894 ;; 9895 *64-bit*) 9896 emul="${emul}64" 9897 ;; 9898 esac 9899 case `/usr/bin/file conftest.$ac_objext` in 9900 *MSB*) 9901 emul="${emul}btsmip" 9902 ;; 9903 *LSB*) 9904 emul="${emul}ltsmip" 9905 ;; 9906 esac 9907 case `/usr/bin/file conftest.$ac_objext` in 9908 *N32*) 9909 emul="${emul}n32" 9910 ;; 9911 esac 9912 LD="${LD-ld} -m $emul" 9913 fi 9914 rm -rf conftest* 9915 ;; 9916 9917x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 9918s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 9919 # Find out what ABI is being produced by ac_compile, and set linker 9920 # options accordingly. Note that the listed cases only cover the 9921 # situations where additional linker options are needed (such as when 9922 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 9923 # vice versa); the common cases where no linker options are needed do 9924 # not appear in the list. 9925 echo 'int i;' > conftest.$ac_ext 9926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9927 (eval $ac_compile) 2>&5 9928 ac_status=$? 9929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9930 test $ac_status = 0; }; then 9931 case `/usr/bin/file conftest.o` in 9932 *32-bit*) 9933 case $host in 9934 x86_64-*kfreebsd*-gnu) 9935 LD="${LD-ld} -m elf_i386_fbsd" 9936 ;; 9937 x86_64-*linux*) 9938 case `/usr/bin/file conftest.o` in 9939 *x86-64*) 9940 LD="${LD-ld} -m elf32_x86_64" 9941 ;; 9942 *) 9943 LD="${LD-ld} -m elf_i386" 9944 ;; 9945 esac 9946 ;; 9947 powerpc64le-*linux*) 9948 LD="${LD-ld} -m elf32lppclinux" 9949 ;; 9950 powerpc64-*linux*) 9951 LD="${LD-ld} -m elf32ppclinux" 9952 ;; 9953 s390x-*linux*) 9954 LD="${LD-ld} -m elf_s390" 9955 ;; 9956 sparc64-*linux*) 9957 LD="${LD-ld} -m elf32_sparc" 9958 ;; 9959 esac 9960 ;; 9961 *64-bit*) 9962 case $host in 9963 x86_64-*kfreebsd*-gnu) 9964 LD="${LD-ld} -m elf_x86_64_fbsd" 9965 ;; 9966 x86_64-*linux*) 9967 LD="${LD-ld} -m elf_x86_64" 9968 ;; 9969 powerpcle-*linux*) 9970 LD="${LD-ld} -m elf64lppc" 9971 ;; 9972 powerpc-*linux*) 9973 LD="${LD-ld} -m elf64ppc" 9974 ;; 9975 s390*-*linux*|s390*-*tpf*) 9976 LD="${LD-ld} -m elf64_s390" 9977 ;; 9978 sparc*-*linux*) 9979 LD="${LD-ld} -m elf64_sparc" 9980 ;; 9981 esac 9982 ;; 9983 esac 9984 fi 9985 rm -rf conftest* 9986 ;; 9987 9988*-*-sco3.2v5*) 9989 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 9990 SAVE_CFLAGS=$CFLAGS 9991 CFLAGS="$CFLAGS -belf" 9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 9993$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 9994if ${lt_cv_cc_needs_belf+:} false; then : 9995 $as_echo_n "(cached) " >&6 9996else 9997 ac_ext=c 9998ac_cpp='$CPP $CPPFLAGS' 9999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10001ac_compiler_gnu=$ac_cv_c_compiler_gnu 10002 10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10004/* end confdefs.h. */ 10005 10006int 10007main () 10008{ 10009 10010 ; 10011 return 0; 10012} 10013_ACEOF 10014if ac_fn_c_try_link "$LINENO"; then : 10015 lt_cv_cc_needs_belf=yes 10016else 10017 lt_cv_cc_needs_belf=no 10018fi 10019rm -f core conftest.err conftest.$ac_objext \ 10020 conftest$ac_exeext conftest.$ac_ext 10021 ac_ext=c 10022ac_cpp='$CPP $CPPFLAGS' 10023ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10024ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10025ac_compiler_gnu=$ac_cv_c_compiler_gnu 10026 10027fi 10028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 10029$as_echo "$lt_cv_cc_needs_belf" >&6; } 10030 if test yes != "$lt_cv_cc_needs_belf"; then 10031 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 10032 CFLAGS=$SAVE_CFLAGS 10033 fi 10034 ;; 10035*-*solaris*) 10036 # Find out what ABI is being produced by ac_compile, and set linker 10037 # options accordingly. 10038 echo 'int i;' > conftest.$ac_ext 10039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10040 (eval $ac_compile) 2>&5 10041 ac_status=$? 10042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10043 test $ac_status = 0; }; then 10044 case `/usr/bin/file conftest.o` in 10045 *64-bit*) 10046 case $lt_cv_prog_gnu_ld in 10047 yes*) 10048 case $host in 10049 i?86-*-solaris*|x86_64-*-solaris*) 10050 LD="${LD-ld} -m elf_x86_64" 10051 ;; 10052 sparc*-*-solaris*) 10053 LD="${LD-ld} -m elf64_sparc" 10054 ;; 10055 esac 10056 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 10057 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 10058 LD=${LD-ld}_sol2 10059 fi 10060 ;; 10061 *) 10062 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 10063 LD="${LD-ld} -64" 10064 fi 10065 ;; 10066 esac 10067 ;; 10068 esac 10069 fi 10070 rm -rf conftest* 10071 ;; 10072esac 10073 10074need_locks=$enable_libtool_lock 10075 10076if test -n "$ac_tool_prefix"; then 10077 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 10078set dummy ${ac_tool_prefix}mt; ac_word=$2 10079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10080$as_echo_n "checking for $ac_word... " >&6; } 10081if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 10082 $as_echo_n "(cached) " >&6 10083else 10084 if test -n "$MANIFEST_TOOL"; then 10085 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 10086else 10087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10088for as_dir in $PATH 10089do 10090 IFS=$as_save_IFS 10091 test -z "$as_dir" && as_dir=. 10092 for ac_exec_ext in '' $ac_executable_extensions; do 10093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10094 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 10095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10096 break 2 10097 fi 10098done 10099 done 10100IFS=$as_save_IFS 10101 10102fi 10103fi 10104MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 10105if test -n "$MANIFEST_TOOL"; then 10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 10107$as_echo "$MANIFEST_TOOL" >&6; } 10108else 10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10110$as_echo "no" >&6; } 10111fi 10112 10113 10114fi 10115if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 10116 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 10117 # Extract the first word of "mt", so it can be a program name with args. 10118set dummy mt; ac_word=$2 10119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10120$as_echo_n "checking for $ac_word... " >&6; } 10121if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 10122 $as_echo_n "(cached) " >&6 10123else 10124 if test -n "$ac_ct_MANIFEST_TOOL"; then 10125 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 10126else 10127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10128for as_dir in $PATH 10129do 10130 IFS=$as_save_IFS 10131 test -z "$as_dir" && as_dir=. 10132 for ac_exec_ext in '' $ac_executable_extensions; do 10133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10134 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 10135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10136 break 2 10137 fi 10138done 10139 done 10140IFS=$as_save_IFS 10141 10142fi 10143fi 10144ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 10145if test -n "$ac_ct_MANIFEST_TOOL"; then 10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 10147$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 10148else 10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10150$as_echo "no" >&6; } 10151fi 10152 10153 if test "x$ac_ct_MANIFEST_TOOL" = x; then 10154 MANIFEST_TOOL=":" 10155 else 10156 case $cross_compiling:$ac_tool_warned in 10157yes:) 10158{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10159$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10160ac_tool_warned=yes ;; 10161esac 10162 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 10163 fi 10164else 10165 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 10166fi 10167 10168test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 10169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 10170$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 10171if ${lt_cv_path_mainfest_tool+:} false; then : 10172 $as_echo_n "(cached) " >&6 10173else 10174 lt_cv_path_mainfest_tool=no 10175 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 10176 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 10177 cat conftest.err >&5 10178 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 10179 lt_cv_path_mainfest_tool=yes 10180 fi 10181 rm -f conftest* 10182fi 10183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 10184$as_echo "$lt_cv_path_mainfest_tool" >&6; } 10185if test yes != "$lt_cv_path_mainfest_tool"; then 10186 MANIFEST_TOOL=: 10187fi 10188 10189 10190 10191 10192 10193 10194 case $host_os in 10195 rhapsody* | darwin*) 10196 if test -n "$ac_tool_prefix"; then 10197 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 10198set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 10199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10200$as_echo_n "checking for $ac_word... " >&6; } 10201if ${ac_cv_prog_DSYMUTIL+:} false; then : 10202 $as_echo_n "(cached) " >&6 10203else 10204 if test -n "$DSYMUTIL"; then 10205 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 10206else 10207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10208for as_dir in $PATH 10209do 10210 IFS=$as_save_IFS 10211 test -z "$as_dir" && as_dir=. 10212 for ac_exec_ext in '' $ac_executable_extensions; do 10213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10214 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 10215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10216 break 2 10217 fi 10218done 10219 done 10220IFS=$as_save_IFS 10221 10222fi 10223fi 10224DSYMUTIL=$ac_cv_prog_DSYMUTIL 10225if test -n "$DSYMUTIL"; then 10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 10227$as_echo "$DSYMUTIL" >&6; } 10228else 10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10230$as_echo "no" >&6; } 10231fi 10232 10233 10234fi 10235if test -z "$ac_cv_prog_DSYMUTIL"; then 10236 ac_ct_DSYMUTIL=$DSYMUTIL 10237 # Extract the first word of "dsymutil", so it can be a program name with args. 10238set dummy dsymutil; ac_word=$2 10239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10240$as_echo_n "checking for $ac_word... " >&6; } 10241if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 10242 $as_echo_n "(cached) " >&6 10243else 10244 if test -n "$ac_ct_DSYMUTIL"; then 10245 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 10246else 10247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10248for as_dir in $PATH 10249do 10250 IFS=$as_save_IFS 10251 test -z "$as_dir" && as_dir=. 10252 for ac_exec_ext in '' $ac_executable_extensions; do 10253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10254 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 10255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10256 break 2 10257 fi 10258done 10259 done 10260IFS=$as_save_IFS 10261 10262fi 10263fi 10264ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 10265if test -n "$ac_ct_DSYMUTIL"; then 10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 10267$as_echo "$ac_ct_DSYMUTIL" >&6; } 10268else 10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10270$as_echo "no" >&6; } 10271fi 10272 10273 if test "x$ac_ct_DSYMUTIL" = x; then 10274 DSYMUTIL=":" 10275 else 10276 case $cross_compiling:$ac_tool_warned in 10277yes:) 10278{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10279$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10280ac_tool_warned=yes ;; 10281esac 10282 DSYMUTIL=$ac_ct_DSYMUTIL 10283 fi 10284else 10285 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 10286fi 10287 10288 if test -n "$ac_tool_prefix"; then 10289 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 10290set dummy ${ac_tool_prefix}nmedit; ac_word=$2 10291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10292$as_echo_n "checking for $ac_word... " >&6; } 10293if ${ac_cv_prog_NMEDIT+:} false; then : 10294 $as_echo_n "(cached) " >&6 10295else 10296 if test -n "$NMEDIT"; then 10297 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 10298else 10299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10300for as_dir in $PATH 10301do 10302 IFS=$as_save_IFS 10303 test -z "$as_dir" && as_dir=. 10304 for ac_exec_ext in '' $ac_executable_extensions; do 10305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10306 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 10307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10308 break 2 10309 fi 10310done 10311 done 10312IFS=$as_save_IFS 10313 10314fi 10315fi 10316NMEDIT=$ac_cv_prog_NMEDIT 10317if test -n "$NMEDIT"; then 10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 10319$as_echo "$NMEDIT" >&6; } 10320else 10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10322$as_echo "no" >&6; } 10323fi 10324 10325 10326fi 10327if test -z "$ac_cv_prog_NMEDIT"; then 10328 ac_ct_NMEDIT=$NMEDIT 10329 # Extract the first word of "nmedit", so it can be a program name with args. 10330set dummy nmedit; ac_word=$2 10331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10332$as_echo_n "checking for $ac_word... " >&6; } 10333if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 10334 $as_echo_n "(cached) " >&6 10335else 10336 if test -n "$ac_ct_NMEDIT"; then 10337 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 10338else 10339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10340for as_dir in $PATH 10341do 10342 IFS=$as_save_IFS 10343 test -z "$as_dir" && as_dir=. 10344 for ac_exec_ext in '' $ac_executable_extensions; do 10345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10346 ac_cv_prog_ac_ct_NMEDIT="nmedit" 10347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10348 break 2 10349 fi 10350done 10351 done 10352IFS=$as_save_IFS 10353 10354fi 10355fi 10356ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 10357if test -n "$ac_ct_NMEDIT"; then 10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 10359$as_echo "$ac_ct_NMEDIT" >&6; } 10360else 10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10362$as_echo "no" >&6; } 10363fi 10364 10365 if test "x$ac_ct_NMEDIT" = x; then 10366 NMEDIT=":" 10367 else 10368 case $cross_compiling:$ac_tool_warned in 10369yes:) 10370{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10371$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10372ac_tool_warned=yes ;; 10373esac 10374 NMEDIT=$ac_ct_NMEDIT 10375 fi 10376else 10377 NMEDIT="$ac_cv_prog_NMEDIT" 10378fi 10379 10380 if test -n "$ac_tool_prefix"; then 10381 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 10382set dummy ${ac_tool_prefix}lipo; ac_word=$2 10383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10384$as_echo_n "checking for $ac_word... " >&6; } 10385if ${ac_cv_prog_LIPO+:} false; then : 10386 $as_echo_n "(cached) " >&6 10387else 10388 if test -n "$LIPO"; then 10389 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 10390else 10391as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10392for as_dir in $PATH 10393do 10394 IFS=$as_save_IFS 10395 test -z "$as_dir" && as_dir=. 10396 for ac_exec_ext in '' $ac_executable_extensions; do 10397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10398 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 10399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10400 break 2 10401 fi 10402done 10403 done 10404IFS=$as_save_IFS 10405 10406fi 10407fi 10408LIPO=$ac_cv_prog_LIPO 10409if test -n "$LIPO"; then 10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 10411$as_echo "$LIPO" >&6; } 10412else 10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10414$as_echo "no" >&6; } 10415fi 10416 10417 10418fi 10419if test -z "$ac_cv_prog_LIPO"; then 10420 ac_ct_LIPO=$LIPO 10421 # Extract the first word of "lipo", so it can be a program name with args. 10422set dummy lipo; ac_word=$2 10423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10424$as_echo_n "checking for $ac_word... " >&6; } 10425if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 10426 $as_echo_n "(cached) " >&6 10427else 10428 if test -n "$ac_ct_LIPO"; then 10429 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 10430else 10431as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10432for as_dir in $PATH 10433do 10434 IFS=$as_save_IFS 10435 test -z "$as_dir" && as_dir=. 10436 for ac_exec_ext in '' $ac_executable_extensions; do 10437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10438 ac_cv_prog_ac_ct_LIPO="lipo" 10439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10440 break 2 10441 fi 10442done 10443 done 10444IFS=$as_save_IFS 10445 10446fi 10447fi 10448ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 10449if test -n "$ac_ct_LIPO"; then 10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 10451$as_echo "$ac_ct_LIPO" >&6; } 10452else 10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10454$as_echo "no" >&6; } 10455fi 10456 10457 if test "x$ac_ct_LIPO" = x; then 10458 LIPO=":" 10459 else 10460 case $cross_compiling:$ac_tool_warned in 10461yes:) 10462{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10463$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10464ac_tool_warned=yes ;; 10465esac 10466 LIPO=$ac_ct_LIPO 10467 fi 10468else 10469 LIPO="$ac_cv_prog_LIPO" 10470fi 10471 10472 if test -n "$ac_tool_prefix"; then 10473 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 10474set dummy ${ac_tool_prefix}otool; ac_word=$2 10475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10476$as_echo_n "checking for $ac_word... " >&6; } 10477if ${ac_cv_prog_OTOOL+:} false; then : 10478 $as_echo_n "(cached) " >&6 10479else 10480 if test -n "$OTOOL"; then 10481 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 10482else 10483as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10484for as_dir in $PATH 10485do 10486 IFS=$as_save_IFS 10487 test -z "$as_dir" && as_dir=. 10488 for ac_exec_ext in '' $ac_executable_extensions; do 10489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10490 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 10491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10492 break 2 10493 fi 10494done 10495 done 10496IFS=$as_save_IFS 10497 10498fi 10499fi 10500OTOOL=$ac_cv_prog_OTOOL 10501if test -n "$OTOOL"; then 10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 10503$as_echo "$OTOOL" >&6; } 10504else 10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10506$as_echo "no" >&6; } 10507fi 10508 10509 10510fi 10511if test -z "$ac_cv_prog_OTOOL"; then 10512 ac_ct_OTOOL=$OTOOL 10513 # Extract the first word of "otool", so it can be a program name with args. 10514set dummy otool; ac_word=$2 10515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10516$as_echo_n "checking for $ac_word... " >&6; } 10517if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 10518 $as_echo_n "(cached) " >&6 10519else 10520 if test -n "$ac_ct_OTOOL"; then 10521 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 10522else 10523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10524for as_dir in $PATH 10525do 10526 IFS=$as_save_IFS 10527 test -z "$as_dir" && as_dir=. 10528 for ac_exec_ext in '' $ac_executable_extensions; do 10529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10530 ac_cv_prog_ac_ct_OTOOL="otool" 10531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10532 break 2 10533 fi 10534done 10535 done 10536IFS=$as_save_IFS 10537 10538fi 10539fi 10540ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 10541if test -n "$ac_ct_OTOOL"; then 10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 10543$as_echo "$ac_ct_OTOOL" >&6; } 10544else 10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10546$as_echo "no" >&6; } 10547fi 10548 10549 if test "x$ac_ct_OTOOL" = x; then 10550 OTOOL=":" 10551 else 10552 case $cross_compiling:$ac_tool_warned in 10553yes:) 10554{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10555$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10556ac_tool_warned=yes ;; 10557esac 10558 OTOOL=$ac_ct_OTOOL 10559 fi 10560else 10561 OTOOL="$ac_cv_prog_OTOOL" 10562fi 10563 10564 if test -n "$ac_tool_prefix"; then 10565 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 10566set dummy ${ac_tool_prefix}otool64; ac_word=$2 10567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10568$as_echo_n "checking for $ac_word... " >&6; } 10569if ${ac_cv_prog_OTOOL64+:} false; then : 10570 $as_echo_n "(cached) " >&6 10571else 10572 if test -n "$OTOOL64"; then 10573 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 10574else 10575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10576for as_dir in $PATH 10577do 10578 IFS=$as_save_IFS 10579 test -z "$as_dir" && as_dir=. 10580 for ac_exec_ext in '' $ac_executable_extensions; do 10581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10582 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 10583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10584 break 2 10585 fi 10586done 10587 done 10588IFS=$as_save_IFS 10589 10590fi 10591fi 10592OTOOL64=$ac_cv_prog_OTOOL64 10593if test -n "$OTOOL64"; then 10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 10595$as_echo "$OTOOL64" >&6; } 10596else 10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10598$as_echo "no" >&6; } 10599fi 10600 10601 10602fi 10603if test -z "$ac_cv_prog_OTOOL64"; then 10604 ac_ct_OTOOL64=$OTOOL64 10605 # Extract the first word of "otool64", so it can be a program name with args. 10606set dummy otool64; ac_word=$2 10607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10608$as_echo_n "checking for $ac_word... " >&6; } 10609if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 10610 $as_echo_n "(cached) " >&6 10611else 10612 if test -n "$ac_ct_OTOOL64"; then 10613 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 10614else 10615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10616for as_dir in $PATH 10617do 10618 IFS=$as_save_IFS 10619 test -z "$as_dir" && as_dir=. 10620 for ac_exec_ext in '' $ac_executable_extensions; do 10621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10622 ac_cv_prog_ac_ct_OTOOL64="otool64" 10623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10624 break 2 10625 fi 10626done 10627 done 10628IFS=$as_save_IFS 10629 10630fi 10631fi 10632ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 10633if test -n "$ac_ct_OTOOL64"; then 10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 10635$as_echo "$ac_ct_OTOOL64" >&6; } 10636else 10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10638$as_echo "no" >&6; } 10639fi 10640 10641 if test "x$ac_ct_OTOOL64" = x; then 10642 OTOOL64=":" 10643 else 10644 case $cross_compiling:$ac_tool_warned in 10645yes:) 10646{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10647$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10648ac_tool_warned=yes ;; 10649esac 10650 OTOOL64=$ac_ct_OTOOL64 10651 fi 10652else 10653 OTOOL64="$ac_cv_prog_OTOOL64" 10654fi 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 10683$as_echo_n "checking for -single_module linker flag... " >&6; } 10684if ${lt_cv_apple_cc_single_mod+:} false; then : 10685 $as_echo_n "(cached) " >&6 10686else 10687 lt_cv_apple_cc_single_mod=no 10688 if test -z "$LT_MULTI_MODULE"; then 10689 # By default we will add the -single_module flag. You can override 10690 # by either setting the environment variable LT_MULTI_MODULE 10691 # non-empty at configure time, or by adding -multi_module to the 10692 # link flags. 10693 rm -rf libconftest.dylib* 10694 echo "int foo(void){return 1;}" > conftest.c 10695 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 10696-dynamiclib -Wl,-single_module conftest.c" >&5 10697 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 10698 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 10699 _lt_result=$? 10700 # If there is a non-empty error log, and "single_module" 10701 # appears in it, assume the flag caused a linker warning 10702 if test -s conftest.err && $GREP single_module conftest.err; then 10703 cat conftest.err >&5 10704 # Otherwise, if the output was created with a 0 exit code from 10705 # the compiler, it worked. 10706 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 10707 lt_cv_apple_cc_single_mod=yes 10708 else 10709 cat conftest.err >&5 10710 fi 10711 rm -rf libconftest.dylib* 10712 rm -f conftest.* 10713 fi 10714fi 10715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 10716$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 10717 10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 10719$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 10720if ${lt_cv_ld_exported_symbols_list+:} false; then : 10721 $as_echo_n "(cached) " >&6 10722else 10723 lt_cv_ld_exported_symbols_list=no 10724 save_LDFLAGS=$LDFLAGS 10725 echo "_main" > conftest.sym 10726 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 10727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10728/* end confdefs.h. */ 10729 10730int 10731main () 10732{ 10733 10734 ; 10735 return 0; 10736} 10737_ACEOF 10738if ac_fn_c_try_link "$LINENO"; then : 10739 lt_cv_ld_exported_symbols_list=yes 10740else 10741 lt_cv_ld_exported_symbols_list=no 10742fi 10743rm -f core conftest.err conftest.$ac_objext \ 10744 conftest$ac_exeext conftest.$ac_ext 10745 LDFLAGS=$save_LDFLAGS 10746 10747fi 10748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 10749$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 10750 10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 10752$as_echo_n "checking for -force_load linker flag... " >&6; } 10753if ${lt_cv_ld_force_load+:} false; then : 10754 $as_echo_n "(cached) " >&6 10755else 10756 lt_cv_ld_force_load=no 10757 cat > conftest.c << _LT_EOF 10758int forced_loaded() { return 2;} 10759_LT_EOF 10760 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 10761 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 10762 echo "$AR cru libconftest.a conftest.o" >&5 10763 $AR cru libconftest.a conftest.o 2>&5 10764 echo "$RANLIB libconftest.a" >&5 10765 $RANLIB libconftest.a 2>&5 10766 cat > conftest.c << _LT_EOF 10767int main() { return 0;} 10768_LT_EOF 10769 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 10770 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 10771 _lt_result=$? 10772 if test -s conftest.err && $GREP force_load conftest.err; then 10773 cat conftest.err >&5 10774 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 10775 lt_cv_ld_force_load=yes 10776 else 10777 cat conftest.err >&5 10778 fi 10779 rm -f conftest.err libconftest.a conftest conftest.c 10780 rm -rf conftest.dSYM 10781 10782fi 10783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 10784$as_echo "$lt_cv_ld_force_load" >&6; } 10785 case $host_os in 10786 rhapsody* | darwin1.[012]) 10787 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 10788 darwin1.*) 10789 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10790 darwin*) # darwin 5.x on 10791 # if running on 10.5 or later, the deployment target defaults 10792 # to the OS version, if on x86, and 10.4, the deployment 10793 # target defaults to 10.4. Don't you love it? 10794 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10795 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 10796 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10797 10.[012][,.]*) 10798 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10799 10.*) 10800 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10801 esac 10802 ;; 10803 esac 10804 if test yes = "$lt_cv_apple_cc_single_mod"; then 10805 _lt_dar_single_mod='$single_module' 10806 fi 10807 if test yes = "$lt_cv_ld_exported_symbols_list"; then 10808 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 10809 else 10810 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 10811 fi 10812 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 10813 _lt_dsymutil='~$DSYMUTIL $lib || :' 10814 else 10815 _lt_dsymutil= 10816 fi 10817 ;; 10818 esac 10819 10820# func_munge_path_list VARIABLE PATH 10821# ----------------------------------- 10822# VARIABLE is name of variable containing _space_ separated list of 10823# directories to be munged by the contents of PATH, which is string 10824# having a format: 10825# "DIR[:DIR]:" 10826# string "DIR[ DIR]" will be prepended to VARIABLE 10827# ":DIR[:DIR]" 10828# string "DIR[ DIR]" will be appended to VARIABLE 10829# "DIRP[:DIRP]::[DIRA:]DIRA" 10830# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 10831# "DIRA[ DIRA]" will be appended to VARIABLE 10832# "DIR[:DIR]" 10833# VARIABLE will be replaced by "DIR[ DIR]" 10834func_munge_path_list () 10835{ 10836 case x$2 in 10837 x) 10838 ;; 10839 *:) 10840 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 10841 ;; 10842 x:*) 10843 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 10844 ;; 10845 *::*) 10846 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 10847 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 10848 ;; 10849 *) 10850 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 10851 ;; 10852 esac 10853} 10854 10855for ac_header in dlfcn.h 10856do : 10857 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 10858" 10859if test "x$ac_cv_header_dlfcn_h" = xyes; then : 10860 cat >>confdefs.h <<_ACEOF 10861#define HAVE_DLFCN_H 1 10862_ACEOF 10863 10864fi 10865 10866done 10867 10868 10869 10870 10871 10872# Set options 10873enable_win32_dll=yes 10874 10875case $host in 10876*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 10877 if test -n "$ac_tool_prefix"; then 10878 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 10879set dummy ${ac_tool_prefix}as; ac_word=$2 10880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10881$as_echo_n "checking for $ac_word... " >&6; } 10882if ${ac_cv_prog_AS+:} false; then : 10883 $as_echo_n "(cached) " >&6 10884else 10885 if test -n "$AS"; then 10886 ac_cv_prog_AS="$AS" # Let the user override the test. 10887else 10888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10889for as_dir in $PATH 10890do 10891 IFS=$as_save_IFS 10892 test -z "$as_dir" && as_dir=. 10893 for ac_exec_ext in '' $ac_executable_extensions; do 10894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10895 ac_cv_prog_AS="${ac_tool_prefix}as" 10896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10897 break 2 10898 fi 10899done 10900 done 10901IFS=$as_save_IFS 10902 10903fi 10904fi 10905AS=$ac_cv_prog_AS 10906if test -n "$AS"; then 10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 10908$as_echo "$AS" >&6; } 10909else 10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10911$as_echo "no" >&6; } 10912fi 10913 10914 10915fi 10916if test -z "$ac_cv_prog_AS"; then 10917 ac_ct_AS=$AS 10918 # Extract the first word of "as", so it can be a program name with args. 10919set dummy as; ac_word=$2 10920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10921$as_echo_n "checking for $ac_word... " >&6; } 10922if ${ac_cv_prog_ac_ct_AS+:} false; then : 10923 $as_echo_n "(cached) " >&6 10924else 10925 if test -n "$ac_ct_AS"; then 10926 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 10927else 10928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10929for as_dir in $PATH 10930do 10931 IFS=$as_save_IFS 10932 test -z "$as_dir" && as_dir=. 10933 for ac_exec_ext in '' $ac_executable_extensions; do 10934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10935 ac_cv_prog_ac_ct_AS="as" 10936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10937 break 2 10938 fi 10939done 10940 done 10941IFS=$as_save_IFS 10942 10943fi 10944fi 10945ac_ct_AS=$ac_cv_prog_ac_ct_AS 10946if test -n "$ac_ct_AS"; then 10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 10948$as_echo "$ac_ct_AS" >&6; } 10949else 10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10951$as_echo "no" >&6; } 10952fi 10953 10954 if test "x$ac_ct_AS" = x; then 10955 AS="false" 10956 else 10957 case $cross_compiling:$ac_tool_warned in 10958yes:) 10959{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10960$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10961ac_tool_warned=yes ;; 10962esac 10963 AS=$ac_ct_AS 10964 fi 10965else 10966 AS="$ac_cv_prog_AS" 10967fi 10968 10969 if test -n "$ac_tool_prefix"; then 10970 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 10971set dummy ${ac_tool_prefix}dlltool; ac_word=$2 10972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10973$as_echo_n "checking for $ac_word... " >&6; } 10974if ${ac_cv_prog_DLLTOOL+:} false; then : 10975 $as_echo_n "(cached) " >&6 10976else 10977 if test -n "$DLLTOOL"; then 10978 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 10979else 10980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10981for as_dir in $PATH 10982do 10983 IFS=$as_save_IFS 10984 test -z "$as_dir" && as_dir=. 10985 for ac_exec_ext in '' $ac_executable_extensions; do 10986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10987 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 10988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10989 break 2 10990 fi 10991done 10992 done 10993IFS=$as_save_IFS 10994 10995fi 10996fi 10997DLLTOOL=$ac_cv_prog_DLLTOOL 10998if test -n "$DLLTOOL"; then 10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 11000$as_echo "$DLLTOOL" >&6; } 11001else 11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11003$as_echo "no" >&6; } 11004fi 11005 11006 11007fi 11008if test -z "$ac_cv_prog_DLLTOOL"; then 11009 ac_ct_DLLTOOL=$DLLTOOL 11010 # Extract the first word of "dlltool", so it can be a program name with args. 11011set dummy dlltool; ac_word=$2 11012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11013$as_echo_n "checking for $ac_word... " >&6; } 11014if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 11015 $as_echo_n "(cached) " >&6 11016else 11017 if test -n "$ac_ct_DLLTOOL"; then 11018 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 11019else 11020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11021for as_dir in $PATH 11022do 11023 IFS=$as_save_IFS 11024 test -z "$as_dir" && as_dir=. 11025 for ac_exec_ext in '' $ac_executable_extensions; do 11026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11027 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 11028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11029 break 2 11030 fi 11031done 11032 done 11033IFS=$as_save_IFS 11034 11035fi 11036fi 11037ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 11038if test -n "$ac_ct_DLLTOOL"; then 11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 11040$as_echo "$ac_ct_DLLTOOL" >&6; } 11041else 11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11043$as_echo "no" >&6; } 11044fi 11045 11046 if test "x$ac_ct_DLLTOOL" = x; then 11047 DLLTOOL="false" 11048 else 11049 case $cross_compiling:$ac_tool_warned in 11050yes:) 11051{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11052$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11053ac_tool_warned=yes ;; 11054esac 11055 DLLTOOL=$ac_ct_DLLTOOL 11056 fi 11057else 11058 DLLTOOL="$ac_cv_prog_DLLTOOL" 11059fi 11060 11061 if test -n "$ac_tool_prefix"; then 11062 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 11063set dummy ${ac_tool_prefix}objdump; ac_word=$2 11064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11065$as_echo_n "checking for $ac_word... " >&6; } 11066if ${ac_cv_prog_OBJDUMP+:} false; then : 11067 $as_echo_n "(cached) " >&6 11068else 11069 if test -n "$OBJDUMP"; then 11070 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 11071else 11072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11073for as_dir in $PATH 11074do 11075 IFS=$as_save_IFS 11076 test -z "$as_dir" && as_dir=. 11077 for ac_exec_ext in '' $ac_executable_extensions; do 11078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11079 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 11080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11081 break 2 11082 fi 11083done 11084 done 11085IFS=$as_save_IFS 11086 11087fi 11088fi 11089OBJDUMP=$ac_cv_prog_OBJDUMP 11090if test -n "$OBJDUMP"; then 11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 11092$as_echo "$OBJDUMP" >&6; } 11093else 11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11095$as_echo "no" >&6; } 11096fi 11097 11098 11099fi 11100if test -z "$ac_cv_prog_OBJDUMP"; then 11101 ac_ct_OBJDUMP=$OBJDUMP 11102 # Extract the first word of "objdump", so it can be a program name with args. 11103set dummy objdump; ac_word=$2 11104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11105$as_echo_n "checking for $ac_word... " >&6; } 11106if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 11107 $as_echo_n "(cached) " >&6 11108else 11109 if test -n "$ac_ct_OBJDUMP"; then 11110 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 11111else 11112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11113for as_dir in $PATH 11114do 11115 IFS=$as_save_IFS 11116 test -z "$as_dir" && as_dir=. 11117 for ac_exec_ext in '' $ac_executable_extensions; do 11118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11119 ac_cv_prog_ac_ct_OBJDUMP="objdump" 11120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11121 break 2 11122 fi 11123done 11124 done 11125IFS=$as_save_IFS 11126 11127fi 11128fi 11129ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 11130if test -n "$ac_ct_OBJDUMP"; then 11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 11132$as_echo "$ac_ct_OBJDUMP" >&6; } 11133else 11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11135$as_echo "no" >&6; } 11136fi 11137 11138 if test "x$ac_ct_OBJDUMP" = x; then 11139 OBJDUMP="false" 11140 else 11141 case $cross_compiling:$ac_tool_warned in 11142yes:) 11143{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11144$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11145ac_tool_warned=yes ;; 11146esac 11147 OBJDUMP=$ac_ct_OBJDUMP 11148 fi 11149else 11150 OBJDUMP="$ac_cv_prog_OBJDUMP" 11151fi 11152 11153 ;; 11154esac 11155 11156test -z "$AS" && AS=as 11157 11158 11159 11160 11161 11162test -z "$DLLTOOL" && DLLTOOL=dlltool 11163 11164 11165 11166 11167 11168test -z "$OBJDUMP" && OBJDUMP=objdump 11169 11170 11171 11172 11173 11174 11175 11176 enable_dlopen=no 11177 11178 11179 11180 # Check whether --enable-shared was given. 11181if test "${enable_shared+set}" = set; then : 11182 enableval=$enable_shared; p=${PACKAGE-default} 11183 case $enableval in 11184 yes) enable_shared=yes ;; 11185 no) enable_shared=no ;; 11186 *) 11187 enable_shared=no 11188 # Look at the argument we got. We use all the common list separators. 11189 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 11190 for pkg in $enableval; do 11191 IFS=$lt_save_ifs 11192 if test "X$pkg" = "X$p"; then 11193 enable_shared=yes 11194 fi 11195 done 11196 IFS=$lt_save_ifs 11197 ;; 11198 esac 11199else 11200 enable_shared=yes 11201fi 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 # Check whether --enable-static was given. 11212if test "${enable_static+set}" = set; then : 11213 enableval=$enable_static; p=${PACKAGE-default} 11214 case $enableval in 11215 yes) enable_static=yes ;; 11216 no) enable_static=no ;; 11217 *) 11218 enable_static=no 11219 # Look at the argument we got. We use all the common list separators. 11220 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 11221 for pkg in $enableval; do 11222 IFS=$lt_save_ifs 11223 if test "X$pkg" = "X$p"; then 11224 enable_static=yes 11225 fi 11226 done 11227 IFS=$lt_save_ifs 11228 ;; 11229 esac 11230else 11231 enable_static=yes 11232fi 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243# Check whether --with-pic was given. 11244if test "${with_pic+set}" = set; then : 11245 withval=$with_pic; lt_p=${PACKAGE-default} 11246 case $withval in 11247 yes|no) pic_mode=$withval ;; 11248 *) 11249 pic_mode=default 11250 # Look at the argument we got. We use all the common list separators. 11251 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 11252 for lt_pkg in $withval; do 11253 IFS=$lt_save_ifs 11254 if test "X$lt_pkg" = "X$lt_p"; then 11255 pic_mode=yes 11256 fi 11257 done 11258 IFS=$lt_save_ifs 11259 ;; 11260 esac 11261else 11262 pic_mode=default 11263fi 11264 11265 11266 11267 11268 11269 11270 11271 11272 # Check whether --enable-fast-install was given. 11273if test "${enable_fast_install+set}" = set; then : 11274 enableval=$enable_fast_install; p=${PACKAGE-default} 11275 case $enableval in 11276 yes) enable_fast_install=yes ;; 11277 no) enable_fast_install=no ;; 11278 *) 11279 enable_fast_install=no 11280 # Look at the argument we got. We use all the common list separators. 11281 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 11282 for pkg in $enableval; do 11283 IFS=$lt_save_ifs 11284 if test "X$pkg" = "X$p"; then 11285 enable_fast_install=yes 11286 fi 11287 done 11288 IFS=$lt_save_ifs 11289 ;; 11290 esac 11291else 11292 enable_fast_install=yes 11293fi 11294 11295 11296 11297 11298 11299 11300 11301 11302 shared_archive_member_spec= 11303case $host,$enable_shared in 11304power*-*-aix[5-9]*,yes) 11305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 11306$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 11307 11308# Check whether --with-aix-soname was given. 11309if test "${with_aix_soname+set}" = set; then : 11310 withval=$with_aix_soname; case $withval in 11311 aix|svr4|both) 11312 ;; 11313 *) 11314 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 11315 ;; 11316 esac 11317 lt_cv_with_aix_soname=$with_aix_soname 11318else 11319 if ${lt_cv_with_aix_soname+:} false; then : 11320 $as_echo_n "(cached) " >&6 11321else 11322 lt_cv_with_aix_soname=aix 11323fi 11324 11325 with_aix_soname=$lt_cv_with_aix_soname 11326fi 11327 11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 11329$as_echo "$with_aix_soname" >&6; } 11330 if test aix != "$with_aix_soname"; then 11331 # For the AIX way of multilib, we name the shared archive member 11332 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 11333 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 11334 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 11335 # the AIX toolchain works better with OBJECT_MODE set (default 32). 11336 if test 64 = "${OBJECT_MODE-32}"; then 11337 shared_archive_member_spec=shr_64 11338 else 11339 shared_archive_member_spec=shr 11340 fi 11341 fi 11342 ;; 11343*) 11344 with_aix_soname=aix 11345 ;; 11346esac 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357# This can be used to rebuild libtool when needed 11358LIBTOOL_DEPS=$ltmain 11359 11360# Always use our own libtool. 11361LIBTOOL='$(SHELL) $(top_builddir)/libtool' 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392test -z "$LN_S" && LN_S="ln -s" 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407if test -n "${ZSH_VERSION+set}"; then 11408 setopt NO_GLOB_SUBST 11409fi 11410 11411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 11412$as_echo_n "checking for objdir... " >&6; } 11413if ${lt_cv_objdir+:} false; then : 11414 $as_echo_n "(cached) " >&6 11415else 11416 rm -f .libs 2>/dev/null 11417mkdir .libs 2>/dev/null 11418if test -d .libs; then 11419 lt_cv_objdir=.libs 11420else 11421 # MS-DOS does not allow filenames that begin with a dot. 11422 lt_cv_objdir=_libs 11423fi 11424rmdir .libs 2>/dev/null 11425fi 11426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 11427$as_echo "$lt_cv_objdir" >&6; } 11428objdir=$lt_cv_objdir 11429 11430 11431 11432 11433 11434cat >>confdefs.h <<_ACEOF 11435#define LT_OBJDIR "$lt_cv_objdir/" 11436_ACEOF 11437 11438 11439 11440 11441case $host_os in 11442aix3*) 11443 # AIX sometimes has problems with the GCC collect2 program. For some 11444 # reason, if we set the COLLECT_NAMES environment variable, the problems 11445 # vanish in a puff of smoke. 11446 if test set != "${COLLECT_NAMES+set}"; then 11447 COLLECT_NAMES= 11448 export COLLECT_NAMES 11449 fi 11450 ;; 11451esac 11452 11453# Global variables: 11454ofile=libtool 11455can_build_shared=yes 11456 11457# All known linkers require a '.a' archive for static linking (except MSVC, 11458# which needs '.lib'). 11459libext=a 11460 11461with_gnu_ld=$lt_cv_prog_gnu_ld 11462 11463old_CC=$CC 11464old_CFLAGS=$CFLAGS 11465 11466# Set sane defaults for various variables 11467test -z "$CC" && CC=cc 11468test -z "$LTCC" && LTCC=$CC 11469test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 11470test -z "$LD" && LD=ld 11471test -z "$ac_objext" && ac_objext=o 11472 11473func_cc_basename $compiler 11474cc_basename=$func_cc_basename_result 11475 11476 11477# Only perform the check for file, if the check method requires it 11478test -z "$MAGIC_CMD" && MAGIC_CMD=file 11479case $deplibs_check_method in 11480file_magic*) 11481 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 11483$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 11484if ${lt_cv_path_MAGIC_CMD+:} false; then : 11485 $as_echo_n "(cached) " >&6 11486else 11487 case $MAGIC_CMD in 11488[\\/*] | ?:[\\/]*) 11489 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 11490 ;; 11491*) 11492 lt_save_MAGIC_CMD=$MAGIC_CMD 11493 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 11494 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 11495 for ac_dir in $ac_dummy; do 11496 IFS=$lt_save_ifs 11497 test -z "$ac_dir" && ac_dir=. 11498 if test -f "$ac_dir/${ac_tool_prefix}file"; then 11499 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 11500 if test -n "$file_magic_test_file"; then 11501 case $deplibs_check_method in 11502 "file_magic "*) 11503 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 11504 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 11505 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 11506 $EGREP "$file_magic_regex" > /dev/null; then 11507 : 11508 else 11509 cat <<_LT_EOF 1>&2 11510 11511*** Warning: the command libtool uses to detect shared libraries, 11512*** $file_magic_cmd, produces output that libtool cannot recognize. 11513*** The result is that libtool may fail to recognize shared libraries 11514*** as such. This will affect the creation of libtool libraries that 11515*** depend on shared libraries, but programs linked with such libtool 11516*** libraries will work regardless of this problem. Nevertheless, you 11517*** may want to report the problem to your system manager and/or to 11518*** bug-libtool@gnu.org 11519 11520_LT_EOF 11521 fi ;; 11522 esac 11523 fi 11524 break 11525 fi 11526 done 11527 IFS=$lt_save_ifs 11528 MAGIC_CMD=$lt_save_MAGIC_CMD 11529 ;; 11530esac 11531fi 11532 11533MAGIC_CMD=$lt_cv_path_MAGIC_CMD 11534if test -n "$MAGIC_CMD"; then 11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 11536$as_echo "$MAGIC_CMD" >&6; } 11537else 11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11539$as_echo "no" >&6; } 11540fi 11541 11542 11543 11544 11545 11546if test -z "$lt_cv_path_MAGIC_CMD"; then 11547 if test -n "$ac_tool_prefix"; then 11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 11549$as_echo_n "checking for file... " >&6; } 11550if ${lt_cv_path_MAGIC_CMD+:} false; then : 11551 $as_echo_n "(cached) " >&6 11552else 11553 case $MAGIC_CMD in 11554[\\/*] | ?:[\\/]*) 11555 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 11556 ;; 11557*) 11558 lt_save_MAGIC_CMD=$MAGIC_CMD 11559 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 11560 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 11561 for ac_dir in $ac_dummy; do 11562 IFS=$lt_save_ifs 11563 test -z "$ac_dir" && ac_dir=. 11564 if test -f "$ac_dir/file"; then 11565 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 11566 if test -n "$file_magic_test_file"; then 11567 case $deplibs_check_method in 11568 "file_magic "*) 11569 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 11570 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 11571 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 11572 $EGREP "$file_magic_regex" > /dev/null; then 11573 : 11574 else 11575 cat <<_LT_EOF 1>&2 11576 11577*** Warning: the command libtool uses to detect shared libraries, 11578*** $file_magic_cmd, produces output that libtool cannot recognize. 11579*** The result is that libtool may fail to recognize shared libraries 11580*** as such. This will affect the creation of libtool libraries that 11581*** depend on shared libraries, but programs linked with such libtool 11582*** libraries will work regardless of this problem. Nevertheless, you 11583*** may want to report the problem to your system manager and/or to 11584*** bug-libtool@gnu.org 11585 11586_LT_EOF 11587 fi ;; 11588 esac 11589 fi 11590 break 11591 fi 11592 done 11593 IFS=$lt_save_ifs 11594 MAGIC_CMD=$lt_save_MAGIC_CMD 11595 ;; 11596esac 11597fi 11598 11599MAGIC_CMD=$lt_cv_path_MAGIC_CMD 11600if test -n "$MAGIC_CMD"; then 11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 11602$as_echo "$MAGIC_CMD" >&6; } 11603else 11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11605$as_echo "no" >&6; } 11606fi 11607 11608 11609 else 11610 MAGIC_CMD=: 11611 fi 11612fi 11613 11614 fi 11615 ;; 11616esac 11617 11618# Use C for the default configuration in the libtool script 11619 11620lt_save_CC=$CC 11621ac_ext=c 11622ac_cpp='$CPP $CPPFLAGS' 11623ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11624ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11625ac_compiler_gnu=$ac_cv_c_compiler_gnu 11626 11627 11628# Source file extension for C test sources. 11629ac_ext=c 11630 11631# Object file extension for compiled C test sources. 11632objext=o 11633objext=$objext 11634 11635# Code to be used in simple compile tests 11636lt_simple_compile_test_code="int some_variable = 0;" 11637 11638# Code to be used in simple link tests 11639lt_simple_link_test_code='int main(){return(0);}' 11640 11641 11642 11643 11644 11645 11646 11647# If no C compiler was specified, use CC. 11648LTCC=${LTCC-"$CC"} 11649 11650# If no C compiler flags were specified, use CFLAGS. 11651LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 11652 11653# Allow CC to be a program name with arguments. 11654compiler=$CC 11655 11656# Save the default compiler, since it gets overwritten when the other 11657# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 11658compiler_DEFAULT=$CC 11659 11660# save warnings/boilerplate of simple test code 11661ac_outfile=conftest.$ac_objext 11662echo "$lt_simple_compile_test_code" >conftest.$ac_ext 11663eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 11664_lt_compiler_boilerplate=`cat conftest.err` 11665$RM conftest* 11666 11667ac_outfile=conftest.$ac_objext 11668echo "$lt_simple_link_test_code" >conftest.$ac_ext 11669eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 11670_lt_linker_boilerplate=`cat conftest.err` 11671$RM -r conftest* 11672 11673 11674## CAVEAT EMPTOR: 11675## There is no encapsulation within the following macros, do not change 11676## the running order or otherwise move them around unless you know exactly 11677## what you are doing... 11678if test -n "$compiler"; then 11679 11680lt_prog_compiler_no_builtin_flag= 11681 11682if test yes = "$GCC"; then 11683 case $cc_basename in 11684 nvcc*) 11685 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 11686 *) 11687 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 11688 esac 11689 11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 11691$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 11692if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 11693 $as_echo_n "(cached) " >&6 11694else 11695 lt_cv_prog_compiler_rtti_exceptions=no 11696 ac_outfile=conftest.$ac_objext 11697 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11698 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 11699 # Insert the option either (1) after the last *FLAGS variable, or 11700 # (2) before a word containing "conftest.", or (3) at the end. 11701 # Note that $ac_compile itself does not contain backslashes and begins 11702 # with a dollar sign (not a hyphen), so the echo should work correctly. 11703 # The option is referenced via a variable to avoid confusing sed. 11704 lt_compile=`echo "$ac_compile" | $SED \ 11705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 11706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11707 -e 's:$: $lt_compiler_flag:'` 11708 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 11709 (eval "$lt_compile" 2>conftest.err) 11710 ac_status=$? 11711 cat conftest.err >&5 11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11713 if (exit $ac_status) && test -s "$ac_outfile"; then 11714 # The compiler can only warn and ignore the option if not recognized 11715 # So say no if there are warnings other than the usual output. 11716 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 11717 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11718 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 11719 lt_cv_prog_compiler_rtti_exceptions=yes 11720 fi 11721 fi 11722 $RM conftest* 11723 11724fi 11725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 11726$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 11727 11728if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 11729 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 11730else 11731 : 11732fi 11733 11734fi 11735 11736 11737 11738 11739 11740 11741 lt_prog_compiler_wl= 11742lt_prog_compiler_pic= 11743lt_prog_compiler_static= 11744 11745 11746 if test yes = "$GCC"; then 11747 lt_prog_compiler_wl='-Wl,' 11748 lt_prog_compiler_static='-static' 11749 11750 case $host_os in 11751 aix*) 11752 # All AIX code is PIC. 11753 if test ia64 = "$host_cpu"; then 11754 # AIX 5 now supports IA64 processor 11755 lt_prog_compiler_static='-Bstatic' 11756 fi 11757 lt_prog_compiler_pic='-fPIC' 11758 ;; 11759 11760 amigaos*) 11761 case $host_cpu in 11762 powerpc) 11763 # see comment about AmigaOS4 .so support 11764 lt_prog_compiler_pic='-fPIC' 11765 ;; 11766 m68k) 11767 # FIXME: we need at least 68020 code to build shared libraries, but 11768 # adding the '-m68020' flag to GCC prevents building anything better, 11769 # like '-m68040'. 11770 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 11771 ;; 11772 esac 11773 ;; 11774 11775 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 11776 # PIC is the default for these OSes. 11777 ;; 11778 11779 mingw* | cygwin* | pw32* | os2* | cegcc*) 11780 # This hack is so that the source file can tell whether it is being 11781 # built for inclusion in a dll (and should export symbols for example). 11782 # Although the cygwin gcc ignores -fPIC, still need this for old-style 11783 # (--disable-auto-import) libraries 11784 lt_prog_compiler_pic='-DDLL_EXPORT' 11785 case $host_os in 11786 os2*) 11787 lt_prog_compiler_static='$wl-static' 11788 ;; 11789 esac 11790 ;; 11791 11792 darwin* | rhapsody*) 11793 # PIC is the default on this platform 11794 # Common symbols not allowed in MH_DYLIB files 11795 lt_prog_compiler_pic='-fno-common' 11796 ;; 11797 11798 haiku*) 11799 # PIC is the default for Haiku. 11800 # The "-static" flag exists, but is broken. 11801 lt_prog_compiler_static= 11802 ;; 11803 11804 hpux*) 11805 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 11806 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 11807 # sets the default TLS model and affects inlining. 11808 case $host_cpu in 11809 hppa*64*) 11810 # +Z the default 11811 ;; 11812 *) 11813 lt_prog_compiler_pic='-fPIC' 11814 ;; 11815 esac 11816 ;; 11817 11818 interix[3-9]*) 11819 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 11820 # Instead, we relocate shared libraries at runtime. 11821 ;; 11822 11823 msdosdjgpp*) 11824 # Just because we use GCC doesn't mean we suddenly get shared libraries 11825 # on systems that don't support them. 11826 lt_prog_compiler_can_build_shared=no 11827 enable_shared=no 11828 ;; 11829 11830 *nto* | *qnx*) 11831 # QNX uses GNU C++, but need to define -shared option too, otherwise 11832 # it will coredump. 11833 lt_prog_compiler_pic='-fPIC -shared' 11834 ;; 11835 11836 sysv4*MP*) 11837 if test -d /usr/nec; then 11838 lt_prog_compiler_pic=-Kconform_pic 11839 fi 11840 ;; 11841 11842 *) 11843 lt_prog_compiler_pic='-fPIC' 11844 ;; 11845 esac 11846 11847 case $cc_basename in 11848 nvcc*) # Cuda Compiler Driver 2.2 11849 lt_prog_compiler_wl='-Xlinker ' 11850 if test -n "$lt_prog_compiler_pic"; then 11851 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 11852 fi 11853 ;; 11854 esac 11855 else 11856 # PORTME Check for flag to pass linker flags through the system compiler. 11857 case $host_os in 11858 aix*) 11859 lt_prog_compiler_wl='-Wl,' 11860 if test ia64 = "$host_cpu"; then 11861 # AIX 5 now supports IA64 processor 11862 lt_prog_compiler_static='-Bstatic' 11863 else 11864 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 11865 fi 11866 ;; 11867 11868 darwin* | rhapsody*) 11869 # PIC is the default on this platform 11870 # Common symbols not allowed in MH_DYLIB files 11871 lt_prog_compiler_pic='-fno-common' 11872 case $cc_basename in 11873 nagfor*) 11874 # NAG Fortran compiler 11875 lt_prog_compiler_wl='-Wl,-Wl,,' 11876 lt_prog_compiler_pic='-PIC' 11877 lt_prog_compiler_static='-Bstatic' 11878 ;; 11879 esac 11880 ;; 11881 11882 mingw* | cygwin* | pw32* | os2* | cegcc*) 11883 # This hack is so that the source file can tell whether it is being 11884 # built for inclusion in a dll (and should export symbols for example). 11885 lt_prog_compiler_pic='-DDLL_EXPORT' 11886 case $host_os in 11887 os2*) 11888 lt_prog_compiler_static='$wl-static' 11889 ;; 11890 esac 11891 ;; 11892 11893 hpux9* | hpux10* | hpux11*) 11894 lt_prog_compiler_wl='-Wl,' 11895 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 11896 # not for PA HP-UX. 11897 case $host_cpu in 11898 hppa*64*|ia64*) 11899 # +Z the default 11900 ;; 11901 *) 11902 lt_prog_compiler_pic='+Z' 11903 ;; 11904 esac 11905 # Is there a better lt_prog_compiler_static that works with the bundled CC? 11906 lt_prog_compiler_static='$wl-a ${wl}archive' 11907 ;; 11908 11909 irix5* | irix6* | nonstopux*) 11910 lt_prog_compiler_wl='-Wl,' 11911 # PIC (with -KPIC) is the default. 11912 lt_prog_compiler_static='-non_shared' 11913 ;; 11914 11915 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11916 case $cc_basename in 11917 # old Intel for x86_64, which still supported -KPIC. 11918 ecc*) 11919 lt_prog_compiler_wl='-Wl,' 11920 lt_prog_compiler_pic='-KPIC' 11921 lt_prog_compiler_static='-static' 11922 ;; 11923 # icc used to be incompatible with GCC. 11924 # ICC 10 doesn't accept -KPIC any more. 11925 icc* | ifort*) 11926 lt_prog_compiler_wl='-Wl,' 11927 lt_prog_compiler_pic='-fPIC' 11928 lt_prog_compiler_static='-static' 11929 ;; 11930 # Lahey Fortran 8.1. 11931 lf95*) 11932 lt_prog_compiler_wl='-Wl,' 11933 lt_prog_compiler_pic='--shared' 11934 lt_prog_compiler_static='--static' 11935 ;; 11936 nagfor*) 11937 # NAG Fortran compiler 11938 lt_prog_compiler_wl='-Wl,-Wl,,' 11939 lt_prog_compiler_pic='-PIC' 11940 lt_prog_compiler_static='-Bstatic' 11941 ;; 11942 tcc*) 11943 # Fabrice Bellard et al's Tiny C Compiler 11944 lt_prog_compiler_wl='-Wl,' 11945 lt_prog_compiler_pic='-fPIC' 11946 lt_prog_compiler_static='-static' 11947 ;; 11948 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 11949 # Portland Group compilers (*not* the Pentium gcc compiler, 11950 # which looks to be a dead project) 11951 lt_prog_compiler_wl='-Wl,' 11952 lt_prog_compiler_pic='-fpic' 11953 lt_prog_compiler_static='-Bstatic' 11954 ;; 11955 ccc*) 11956 lt_prog_compiler_wl='-Wl,' 11957 # All Alpha code is PIC. 11958 lt_prog_compiler_static='-non_shared' 11959 ;; 11960 xl* | bgxl* | bgf* | mpixl*) 11961 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 11962 lt_prog_compiler_wl='-Wl,' 11963 lt_prog_compiler_pic='-qpic' 11964 lt_prog_compiler_static='-qstaticlink' 11965 ;; 11966 *) 11967 case `$CC -V 2>&1 | sed 5q` in 11968 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 11969 # Sun Fortran 8.3 passes all unrecognized flags to the linker 11970 lt_prog_compiler_pic='-KPIC' 11971 lt_prog_compiler_static='-Bstatic' 11972 lt_prog_compiler_wl='' 11973 ;; 11974 *Sun\ F* | *Sun*Fortran*) 11975 lt_prog_compiler_pic='-KPIC' 11976 lt_prog_compiler_static='-Bstatic' 11977 lt_prog_compiler_wl='-Qoption ld ' 11978 ;; 11979 *Sun\ C*) 11980 # Sun C 5.9 11981 lt_prog_compiler_pic='-KPIC' 11982 lt_prog_compiler_static='-Bstatic' 11983 lt_prog_compiler_wl='-Wl,' 11984 ;; 11985 *Intel*\ [CF]*Compiler*) 11986 lt_prog_compiler_wl='-Wl,' 11987 lt_prog_compiler_pic='-fPIC' 11988 lt_prog_compiler_static='-static' 11989 ;; 11990 *Portland\ Group*) 11991 lt_prog_compiler_wl='-Wl,' 11992 lt_prog_compiler_pic='-fpic' 11993 lt_prog_compiler_static='-Bstatic' 11994 ;; 11995 esac 11996 ;; 11997 esac 11998 ;; 11999 12000 newsos6) 12001 lt_prog_compiler_pic='-KPIC' 12002 lt_prog_compiler_static='-Bstatic' 12003 ;; 12004 12005 *nto* | *qnx*) 12006 # QNX uses GNU C++, but need to define -shared option too, otherwise 12007 # it will coredump. 12008 lt_prog_compiler_pic='-fPIC -shared' 12009 ;; 12010 12011 osf3* | osf4* | osf5*) 12012 lt_prog_compiler_wl='-Wl,' 12013 # All OSF/1 code is PIC. 12014 lt_prog_compiler_static='-non_shared' 12015 ;; 12016 12017 rdos*) 12018 lt_prog_compiler_static='-non_shared' 12019 ;; 12020 12021 solaris*) 12022 lt_prog_compiler_pic='-KPIC' 12023 lt_prog_compiler_static='-Bstatic' 12024 case $cc_basename in 12025 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 12026 lt_prog_compiler_wl='-Qoption ld ';; 12027 *) 12028 lt_prog_compiler_wl='-Wl,';; 12029 esac 12030 ;; 12031 12032 sunos4*) 12033 lt_prog_compiler_wl='-Qoption ld ' 12034 lt_prog_compiler_pic='-PIC' 12035 lt_prog_compiler_static='-Bstatic' 12036 ;; 12037 12038 sysv4 | sysv4.2uw2* | sysv4.3*) 12039 lt_prog_compiler_wl='-Wl,' 12040 lt_prog_compiler_pic='-KPIC' 12041 lt_prog_compiler_static='-Bstatic' 12042 ;; 12043 12044 sysv4*MP*) 12045 if test -d /usr/nec; then 12046 lt_prog_compiler_pic='-Kconform_pic' 12047 lt_prog_compiler_static='-Bstatic' 12048 fi 12049 ;; 12050 12051 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 12052 lt_prog_compiler_wl='-Wl,' 12053 lt_prog_compiler_pic='-KPIC' 12054 lt_prog_compiler_static='-Bstatic' 12055 ;; 12056 12057 unicos*) 12058 lt_prog_compiler_wl='-Wl,' 12059 lt_prog_compiler_can_build_shared=no 12060 ;; 12061 12062 uts4*) 12063 lt_prog_compiler_pic='-pic' 12064 lt_prog_compiler_static='-Bstatic' 12065 ;; 12066 12067 *) 12068 lt_prog_compiler_can_build_shared=no 12069 ;; 12070 esac 12071 fi 12072 12073case $host_os in 12074 # For platforms that do not support PIC, -DPIC is meaningless: 12075 *djgpp*) 12076 lt_prog_compiler_pic= 12077 ;; 12078 *) 12079 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 12080 ;; 12081esac 12082 12083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 12084$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 12085if ${lt_cv_prog_compiler_pic+:} false; then : 12086 $as_echo_n "(cached) " >&6 12087else 12088 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 12089fi 12090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 12091$as_echo "$lt_cv_prog_compiler_pic" >&6; } 12092lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 12093 12094# 12095# Check to make sure the PIC flag actually works. 12096# 12097if test -n "$lt_prog_compiler_pic"; then 12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 12099$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 12100if ${lt_cv_prog_compiler_pic_works+:} false; then : 12101 $as_echo_n "(cached) " >&6 12102else 12103 lt_cv_prog_compiler_pic_works=no 12104 ac_outfile=conftest.$ac_objext 12105 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 12106 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 12107 # Insert the option either (1) after the last *FLAGS variable, or 12108 # (2) before a word containing "conftest.", or (3) at the end. 12109 # Note that $ac_compile itself does not contain backslashes and begins 12110 # with a dollar sign (not a hyphen), so the echo should work correctly. 12111 # The option is referenced via a variable to avoid confusing sed. 12112 lt_compile=`echo "$ac_compile" | $SED \ 12113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 12114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12115 -e 's:$: $lt_compiler_flag:'` 12116 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 12117 (eval "$lt_compile" 2>conftest.err) 12118 ac_status=$? 12119 cat conftest.err >&5 12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12121 if (exit $ac_status) && test -s "$ac_outfile"; then 12122 # The compiler can only warn and ignore the option if not recognized 12123 # So say no if there are warnings other than the usual output. 12124 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 12125 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 12126 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 12127 lt_cv_prog_compiler_pic_works=yes 12128 fi 12129 fi 12130 $RM conftest* 12131 12132fi 12133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 12134$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 12135 12136if test yes = "$lt_cv_prog_compiler_pic_works"; then 12137 case $lt_prog_compiler_pic in 12138 "" | " "*) ;; 12139 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 12140 esac 12141else 12142 lt_prog_compiler_pic= 12143 lt_prog_compiler_can_build_shared=no 12144fi 12145 12146fi 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158# 12159# Check to make sure the static flag actually works. 12160# 12161wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 12162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 12163$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 12164if ${lt_cv_prog_compiler_static_works+:} false; then : 12165 $as_echo_n "(cached) " >&6 12166else 12167 lt_cv_prog_compiler_static_works=no 12168 save_LDFLAGS=$LDFLAGS 12169 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 12170 echo "$lt_simple_link_test_code" > conftest.$ac_ext 12171 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 12172 # The linker can only warn and ignore the option if not recognized 12173 # So say no if there are warnings 12174 if test -s conftest.err; then 12175 # Append any errors to the config.log. 12176 cat conftest.err 1>&5 12177 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 12178 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 12179 if diff conftest.exp conftest.er2 >/dev/null; then 12180 lt_cv_prog_compiler_static_works=yes 12181 fi 12182 else 12183 lt_cv_prog_compiler_static_works=yes 12184 fi 12185 fi 12186 $RM -r conftest* 12187 LDFLAGS=$save_LDFLAGS 12188 12189fi 12190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 12191$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 12192 12193if test yes = "$lt_cv_prog_compiler_static_works"; then 12194 : 12195else 12196 lt_prog_compiler_static= 12197fi 12198 12199 12200 12201 12202 12203 12204 12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 12206$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 12207if ${lt_cv_prog_compiler_c_o+:} false; then : 12208 $as_echo_n "(cached) " >&6 12209else 12210 lt_cv_prog_compiler_c_o=no 12211 $RM -r conftest 2>/dev/null 12212 mkdir conftest 12213 cd conftest 12214 mkdir out 12215 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 12216 12217 lt_compiler_flag="-o out/conftest2.$ac_objext" 12218 # Insert the option either (1) after the last *FLAGS variable, or 12219 # (2) before a word containing "conftest.", or (3) at the end. 12220 # Note that $ac_compile itself does not contain backslashes and begins 12221 # with a dollar sign (not a hyphen), so the echo should work correctly. 12222 lt_compile=`echo "$ac_compile" | $SED \ 12223 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 12224 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12225 -e 's:$: $lt_compiler_flag:'` 12226 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 12227 (eval "$lt_compile" 2>out/conftest.err) 12228 ac_status=$? 12229 cat out/conftest.err >&5 12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12231 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12232 then 12233 # The compiler can only warn and ignore the option if not recognized 12234 # So say no if there are warnings 12235 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 12236 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 12237 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 12238 lt_cv_prog_compiler_c_o=yes 12239 fi 12240 fi 12241 chmod u+w . 2>&5 12242 $RM conftest* 12243 # SGI C++ compiler will create directory out/ii_files/ for 12244 # template instantiation 12245 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 12246 $RM out/* && rmdir out 12247 cd .. 12248 $RM -r conftest 12249 $RM conftest* 12250 12251fi 12252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 12253$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 12254 12255 12256 12257 12258 12259 12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 12261$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 12262if ${lt_cv_prog_compiler_c_o+:} false; then : 12263 $as_echo_n "(cached) " >&6 12264else 12265 lt_cv_prog_compiler_c_o=no 12266 $RM -r conftest 2>/dev/null 12267 mkdir conftest 12268 cd conftest 12269 mkdir out 12270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 12271 12272 lt_compiler_flag="-o out/conftest2.$ac_objext" 12273 # Insert the option either (1) after the last *FLAGS variable, or 12274 # (2) before a word containing "conftest.", or (3) at the end. 12275 # Note that $ac_compile itself does not contain backslashes and begins 12276 # with a dollar sign (not a hyphen), so the echo should work correctly. 12277 lt_compile=`echo "$ac_compile" | $SED \ 12278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 12279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12280 -e 's:$: $lt_compiler_flag:'` 12281 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 12282 (eval "$lt_compile" 2>out/conftest.err) 12283 ac_status=$? 12284 cat out/conftest.err >&5 12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12286 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12287 then 12288 # The compiler can only warn and ignore the option if not recognized 12289 # So say no if there are warnings 12290 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 12291 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 12292 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 12293 lt_cv_prog_compiler_c_o=yes 12294 fi 12295 fi 12296 chmod u+w . 2>&5 12297 $RM conftest* 12298 # SGI C++ compiler will create directory out/ii_files/ for 12299 # template instantiation 12300 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 12301 $RM out/* && rmdir out 12302 cd .. 12303 $RM -r conftest 12304 $RM conftest* 12305 12306fi 12307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 12308$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 12309 12310 12311 12312 12313hard_links=nottested 12314if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 12315 # do not overwrite the value of need_locks provided by the user 12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 12317$as_echo_n "checking if we can lock with hard links... " >&6; } 12318 hard_links=yes 12319 $RM conftest* 12320 ln conftest.a conftest.b 2>/dev/null && hard_links=no 12321 touch conftest.a 12322 ln conftest.a conftest.b 2>&5 || hard_links=no 12323 ln conftest.a conftest.b 2>/dev/null && hard_links=no 12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 12325$as_echo "$hard_links" >&6; } 12326 if test no = "$hard_links"; then 12327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 12328$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 12329 need_locks=warn 12330 fi 12331else 12332 need_locks=no 12333fi 12334 12335 12336 12337 12338 12339 12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 12341$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 12342 12343 runpath_var= 12344 allow_undefined_flag= 12345 always_export_symbols=no 12346 archive_cmds= 12347 archive_expsym_cmds= 12348 compiler_needs_object=no 12349 enable_shared_with_static_runtimes=no 12350 export_dynamic_flag_spec= 12351 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 12352 hardcode_automatic=no 12353 hardcode_direct=no 12354 hardcode_direct_absolute=no 12355 hardcode_libdir_flag_spec= 12356 hardcode_libdir_separator= 12357 hardcode_minus_L=no 12358 hardcode_shlibpath_var=unsupported 12359 inherit_rpath=no 12360 link_all_deplibs=unknown 12361 module_cmds= 12362 module_expsym_cmds= 12363 old_archive_from_new_cmds= 12364 old_archive_from_expsyms_cmds= 12365 thread_safe_flag_spec= 12366 whole_archive_flag_spec= 12367 # include_expsyms should be a list of space-separated symbols to be *always* 12368 # included in the symbol list 12369 include_expsyms= 12370 # exclude_expsyms can be an extended regexp of symbols to exclude 12371 # it will be wrapped by ' (' and ')$', so one must not match beginning or 12372 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 12373 # as well as any symbol that contains 'd'. 12374 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 12375 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 12376 # platforms (ab)use it in PIC code, but their linkers get confused if 12377 # the symbol is explicitly referenced. Since portable code cannot 12378 # rely on this symbol name, it's probably fine to never include it in 12379 # preloaded symbol tables. 12380 # Exclude shared library initialization/finalization symbols. 12381 extract_expsyms_cmds= 12382 12383 case $host_os in 12384 cygwin* | mingw* | pw32* | cegcc*) 12385 # FIXME: the MSVC++ port hasn't been tested in a loooong time 12386 # When not using gcc, we currently assume that we are using 12387 # Microsoft Visual C++. 12388 if test yes != "$GCC"; then 12389 with_gnu_ld=no 12390 fi 12391 ;; 12392 interix*) 12393 # we just hope/assume this is gcc and not c89 (= MSVC++) 12394 with_gnu_ld=yes 12395 ;; 12396 openbsd* | bitrig*) 12397 with_gnu_ld=no 12398 ;; 12399 linux* | k*bsd*-gnu | gnu*) 12400 link_all_deplibs=no 12401 ;; 12402 esac 12403 12404 ld_shlibs=yes 12405 12406 # On some targets, GNU ld is compatible enough with the native linker 12407 # that we're better off using the native interface for both. 12408 lt_use_gnu_ld_interface=no 12409 if test yes = "$with_gnu_ld"; then 12410 case $host_os in 12411 aix*) 12412 # The AIX port of GNU ld has always aspired to compatibility 12413 # with the native linker. However, as the warning in the GNU ld 12414 # block says, versions before 2.19.5* couldn't really create working 12415 # shared libraries, regardless of the interface used. 12416 case `$LD -v 2>&1` in 12417 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 12418 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 12419 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 12420 *) 12421 lt_use_gnu_ld_interface=yes 12422 ;; 12423 esac 12424 ;; 12425 *) 12426 lt_use_gnu_ld_interface=yes 12427 ;; 12428 esac 12429 fi 12430 12431 if test yes = "$lt_use_gnu_ld_interface"; then 12432 # If archive_cmds runs LD, not CC, wlarc should be empty 12433 wlarc='$wl' 12434 12435 # Set some defaults for GNU ld with shared library support. These 12436 # are reset later if shared libraries are not supported. Putting them 12437 # here allows them to be overridden if necessary. 12438 runpath_var=LD_RUN_PATH 12439 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12440 export_dynamic_flag_spec='$wl--export-dynamic' 12441 # ancient GNU ld didn't support --whole-archive et. al. 12442 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 12443 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 12444 else 12445 whole_archive_flag_spec= 12446 fi 12447 supports_anon_versioning=no 12448 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 12449 *GNU\ gold*) supports_anon_versioning=yes ;; 12450 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 12451 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 12452 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 12453 *\ 2.11.*) ;; # other 2.11 versions 12454 *) supports_anon_versioning=yes ;; 12455 esac 12456 12457 # See if GNU ld supports shared libraries. 12458 case $host_os in 12459 aix[3-9]*) 12460 # On AIX/PPC, the GNU linker is very broken 12461 if test ia64 != "$host_cpu"; then 12462 ld_shlibs=no 12463 cat <<_LT_EOF 1>&2 12464 12465*** Warning: the GNU linker, at least up to release 2.19, is reported 12466*** to be unable to reliably create shared libraries on AIX. 12467*** Therefore, libtool is disabling shared libraries support. If you 12468*** really care for shared libraries, you may want to install binutils 12469*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 12470*** You will then need to restart the configuration process. 12471 12472_LT_EOF 12473 fi 12474 ;; 12475 12476 amigaos*) 12477 case $host_cpu in 12478 powerpc) 12479 # see comment about AmigaOS4 .so support 12480 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12481 archive_expsym_cmds='' 12482 ;; 12483 m68k) 12484 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)' 12485 hardcode_libdir_flag_spec='-L$libdir' 12486 hardcode_minus_L=yes 12487 ;; 12488 esac 12489 ;; 12490 12491 beos*) 12492 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12493 allow_undefined_flag=unsupported 12494 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 12495 # support --undefined. This deserves some investigation. FIXME 12496 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12497 else 12498 ld_shlibs=no 12499 fi 12500 ;; 12501 12502 cygwin* | mingw* | pw32* | cegcc*) 12503 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 12504 # as there is no search path for DLLs. 12505 hardcode_libdir_flag_spec='-L$libdir' 12506 export_dynamic_flag_spec='$wl--export-all-symbols' 12507 allow_undefined_flag=unsupported 12508 always_export_symbols=no 12509 enable_shared_with_static_runtimes=yes 12510 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' 12511 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 12512 12513 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 12514 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 12515 # If the export-symbols file already is a .def file, use it as 12516 # is; otherwise, prepend EXPORTS... 12517 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 12518 cp $export_symbols $output_objdir/$soname.def; 12519 else 12520 echo EXPORTS > $output_objdir/$soname.def; 12521 cat $export_symbols >> $output_objdir/$soname.def; 12522 fi~ 12523 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 12524 else 12525 ld_shlibs=no 12526 fi 12527 ;; 12528 12529 haiku*) 12530 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12531 link_all_deplibs=yes 12532 ;; 12533 12534 os2*) 12535 hardcode_libdir_flag_spec='-L$libdir' 12536 hardcode_minus_L=yes 12537 allow_undefined_flag=unsupported 12538 shrext_cmds=.dll 12539 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 12540 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 12541 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 12542 $ECHO EXPORTS >> $output_objdir/$libname.def~ 12543 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 12544 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 12545 emximp -o $lib $output_objdir/$libname.def' 12546 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 12547 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 12548 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 12549 $ECHO EXPORTS >> $output_objdir/$libname.def~ 12550 prefix_cmds="$SED"~ 12551 if test EXPORTS = "`$SED 1q $export_symbols`"; then 12552 prefix_cmds="$prefix_cmds -e 1d"; 12553 fi~ 12554 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 12555 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 12556 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 12557 emximp -o $lib $output_objdir/$libname.def' 12558 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 12559 enable_shared_with_static_runtimes=yes 12560 ;; 12561 12562 interix[3-9]*) 12563 hardcode_direct=no 12564 hardcode_shlibpath_var=no 12565 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 12566 export_dynamic_flag_spec='$wl-E' 12567 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 12568 # Instead, shared libraries are loaded at an image base (0x10000000 by 12569 # default) and relocated if they conflict, which is a slow very memory 12570 # consuming and fragmenting process. To avoid this, we pick a random, 12571 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 12572 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 12573 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 12574 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' 12575 ;; 12576 12577 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 12578 tmp_diet=no 12579 if test linux-dietlibc = "$host_os"; then 12580 case $cc_basename in 12581 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 12582 esac 12583 fi 12584 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 12585 && test no = "$tmp_diet" 12586 then 12587 tmp_addflag=' $pic_flag' 12588 tmp_sharedflag='-shared' 12589 case $cc_basename,$host_cpu in 12590 pgcc*) # Portland Group C compiler 12591 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' 12592 tmp_addflag=' $pic_flag' 12593 ;; 12594 pgf77* | pgf90* | pgf95* | pgfortran*) 12595 # Portland Group f77 and f90 compilers 12596 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' 12597 tmp_addflag=' $pic_flag -Mnomain' ;; 12598 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 12599 tmp_addflag=' -i_dynamic' ;; 12600 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 12601 tmp_addflag=' -i_dynamic -nofor_main' ;; 12602 ifc* | ifort*) # Intel Fortran compiler 12603 tmp_addflag=' -nofor_main' ;; 12604 lf95*) # Lahey Fortran 8.1 12605 whole_archive_flag_spec= 12606 tmp_sharedflag='--shared' ;; 12607 nagfor*) # NAGFOR 5.3 12608 tmp_sharedflag='-Wl,-shared' ;; 12609 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 12610 tmp_sharedflag='-qmkshrobj' 12611 tmp_addflag= ;; 12612 nvcc*) # Cuda Compiler Driver 2.2 12613 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' 12614 compiler_needs_object=yes 12615 ;; 12616 esac 12617 case `$CC -V 2>&1 | sed 5q` in 12618 *Sun\ C*) # Sun C 5.9 12619 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' 12620 compiler_needs_object=yes 12621 tmp_sharedflag='-G' ;; 12622 *Sun\ F*) # Sun Fortran 8.3 12623 tmp_sharedflag='-G' ;; 12624 esac 12625 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12626 12627 if test yes = "$supports_anon_versioning"; then 12628 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 12629 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 12630 echo "local: *; };" >> $output_objdir/$libname.ver~ 12631 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 12632 fi 12633 12634 case $cc_basename in 12635 tcc*) 12636 export_dynamic_flag_spec='-rdynamic' 12637 ;; 12638 xlf* | bgf* | bgxlf* | mpixlf*) 12639 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 12640 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 12641 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12642 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 12643 if test yes = "$supports_anon_versioning"; then 12644 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 12645 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 12646 echo "local: *; };" >> $output_objdir/$libname.ver~ 12647 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 12648 fi 12649 ;; 12650 esac 12651 else 12652 ld_shlibs=no 12653 fi 12654 ;; 12655 12656 netbsd* | netbsdelf*-gnu) 12657 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12658 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 12659 wlarc= 12660 else 12661 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12662 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12663 fi 12664 ;; 12665 12666 solaris*) 12667 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 12668 ld_shlibs=no 12669 cat <<_LT_EOF 1>&2 12670 12671*** Warning: The releases 2.8.* of the GNU linker cannot reliably 12672*** create shared libraries on Solaris systems. Therefore, libtool 12673*** is disabling shared libraries support. We urge you to upgrade GNU 12674*** binutils to release 2.9.1 or newer. Another option is to modify 12675*** your PATH or compiler configuration so that the native linker is 12676*** used, and then restart. 12677 12678_LT_EOF 12679 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12680 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12681 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12682 else 12683 ld_shlibs=no 12684 fi 12685 ;; 12686 12687 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 12688 case `$LD -v 2>&1` in 12689 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 12690 ld_shlibs=no 12691 cat <<_LT_EOF 1>&2 12692 12693*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 12694*** reliably create shared libraries on SCO systems. Therefore, libtool 12695*** is disabling shared libraries support. We urge you to upgrade GNU 12696*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 12697*** your PATH or compiler configuration so that the native linker is 12698*** used, and then restart. 12699 12700_LT_EOF 12701 ;; 12702 *) 12703 # For security reasons, it is highly recommended that you always 12704 # use absolute paths for naming shared libraries, and exclude the 12705 # DT_RUNPATH tag from executables and libraries. But doing so 12706 # requires that you compile everything twice, which is a pain. 12707 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12708 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12709 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12710 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12711 else 12712 ld_shlibs=no 12713 fi 12714 ;; 12715 esac 12716 ;; 12717 12718 sunos4*) 12719 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 12720 wlarc= 12721 hardcode_direct=yes 12722 hardcode_shlibpath_var=no 12723 ;; 12724 12725 *) 12726 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12727 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12728 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12729 else 12730 ld_shlibs=no 12731 fi 12732 ;; 12733 esac 12734 12735 if test no = "$ld_shlibs"; then 12736 runpath_var= 12737 hardcode_libdir_flag_spec= 12738 export_dynamic_flag_spec= 12739 whole_archive_flag_spec= 12740 fi 12741 else 12742 # PORTME fill in a description of your system's linker (not GNU ld) 12743 case $host_os in 12744 aix3*) 12745 allow_undefined_flag=unsupported 12746 always_export_symbols=yes 12747 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' 12748 # Note: this linker hardcodes the directories in LIBPATH if there 12749 # are no directories specified by -L. 12750 hardcode_minus_L=yes 12751 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 12752 # Neither direct hardcoding nor static linking is supported with a 12753 # broken collect2. 12754 hardcode_direct=unsupported 12755 fi 12756 ;; 12757 12758 aix[4-9]*) 12759 if test ia64 = "$host_cpu"; then 12760 # On IA64, the linker does run time linking by default, so we don't 12761 # have to do anything special. 12762 aix_use_runtimelinking=no 12763 exp_sym_flag='-Bexport' 12764 no_entry_flag= 12765 else 12766 # If we're using GNU nm, then we don't want the "-C" option. 12767 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 12768 # Without the "-l" option, or with the "-B" option, AIX nm treats 12769 # weak defined symbols like other global defined symbols, whereas 12770 # GNU nm marks them as "W". 12771 # While the 'weak' keyword is ignored in the Export File, we need 12772 # it in the Import File for the 'aix-soname' feature, so we have 12773 # to replace the "-B" option with "-P" for AIX nm. 12774 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 12775 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' 12776 else 12777 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' 12778 fi 12779 aix_use_runtimelinking=no 12780 12781 # Test if we are trying to use run time linking or normal 12782 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 12783 # have runtime linking enabled, and use it for executables. 12784 # For shared libraries, we enable/disable runtime linking 12785 # depending on the kind of the shared library created - 12786 # when "with_aix_soname,aix_use_runtimelinking" is: 12787 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 12788 # "aix,yes" lib.so shared, rtl:yes, for executables 12789 # lib.a static archive 12790 # "both,no" lib.so.V(shr.o) shared, rtl:yes 12791 # lib.a(lib.so.V) shared, rtl:no, for executables 12792 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 12793 # lib.a(lib.so.V) shared, rtl:no 12794 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 12795 # lib.a static archive 12796 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 12797 for ld_flag in $LDFLAGS; do 12798 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 12799 aix_use_runtimelinking=yes 12800 break 12801 fi 12802 done 12803 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 12804 # With aix-soname=svr4, we create the lib.so.V shared archives only, 12805 # so we don't have lib.a shared libs to link our executables. 12806 # We have to force runtime linking in this case. 12807 aix_use_runtimelinking=yes 12808 LDFLAGS="$LDFLAGS -Wl,-brtl" 12809 fi 12810 ;; 12811 esac 12812 12813 exp_sym_flag='-bexport' 12814 no_entry_flag='-bnoentry' 12815 fi 12816 12817 # When large executables or shared objects are built, AIX ld can 12818 # have problems creating the table of contents. If linking a library 12819 # or program results in "error TOC overflow" add -mminimal-toc to 12820 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 12821 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 12822 12823 archive_cmds='' 12824 hardcode_direct=yes 12825 hardcode_direct_absolute=yes 12826 hardcode_libdir_separator=':' 12827 link_all_deplibs=yes 12828 file_list_spec='$wl-f,' 12829 case $with_aix_soname,$aix_use_runtimelinking in 12830 aix,*) ;; # traditional, no import file 12831 svr4,* | *,yes) # use import file 12832 # The Import File defines what to hardcode. 12833 hardcode_direct=no 12834 hardcode_direct_absolute=no 12835 ;; 12836 esac 12837 12838 if test yes = "$GCC"; then 12839 case $host_os in aix4.[012]|aix4.[012].*) 12840 # We only want to do this on AIX 4.2 and lower, the check 12841 # below for broken collect2 doesn't work under 4.3+ 12842 collect2name=`$CC -print-prog-name=collect2` 12843 if test -f "$collect2name" && 12844 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 12845 then 12846 # We have reworked collect2 12847 : 12848 else 12849 # We have old collect2 12850 hardcode_direct=unsupported 12851 # It fails to find uninstalled libraries when the uninstalled 12852 # path is not listed in the libpath. Setting hardcode_minus_L 12853 # to unsupported forces relinking 12854 hardcode_minus_L=yes 12855 hardcode_libdir_flag_spec='-L$libdir' 12856 hardcode_libdir_separator= 12857 fi 12858 ;; 12859 esac 12860 shared_flag='-shared' 12861 if test yes = "$aix_use_runtimelinking"; then 12862 shared_flag="$shared_flag "'$wl-G' 12863 fi 12864 # Need to ensure runtime linking is disabled for the traditional 12865 # shared library, or the linker may eventually find shared libraries 12866 # /with/ Import File - we do not want to mix them. 12867 shared_flag_aix='-shared' 12868 shared_flag_svr4='-shared $wl-G' 12869 else 12870 # not using gcc 12871 if test ia64 = "$host_cpu"; then 12872 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 12873 # chokes on -Wl,-G. The following line is correct: 12874 shared_flag='-G' 12875 else 12876 if test yes = "$aix_use_runtimelinking"; then 12877 shared_flag='$wl-G' 12878 else 12879 shared_flag='$wl-bM:SRE' 12880 fi 12881 shared_flag_aix='$wl-bM:SRE' 12882 shared_flag_svr4='$wl-G' 12883 fi 12884 fi 12885 12886 export_dynamic_flag_spec='$wl-bexpall' 12887 # It seems that -bexpall does not export symbols beginning with 12888 # underscore (_), so it is better to generate a list of symbols to export. 12889 always_export_symbols=yes 12890 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 12891 # Warning - without using the other runtime loading flags (-brtl), 12892 # -berok will link without error, but may produce a broken library. 12893 allow_undefined_flag='-berok' 12894 # Determine the default libpath from the value encoded in an 12895 # empty executable. 12896 if test set = "${lt_cv_aix_libpath+set}"; then 12897 aix_libpath=$lt_cv_aix_libpath 12898else 12899 if ${lt_cv_aix_libpath_+:} false; then : 12900 $as_echo_n "(cached) " >&6 12901else 12902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12903/* end confdefs.h. */ 12904 12905int 12906main () 12907{ 12908 12909 ; 12910 return 0; 12911} 12912_ACEOF 12913if ac_fn_c_try_link "$LINENO"; then : 12914 12915 lt_aix_libpath_sed=' 12916 /Import File Strings/,/^$/ { 12917 /^0/ { 12918 s/^0 *\([^ ]*\) *$/\1/ 12919 p 12920 } 12921 }' 12922 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12923 # Check for a 64-bit object if we didn't find anything. 12924 if test -z "$lt_cv_aix_libpath_"; then 12925 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12926 fi 12927fi 12928rm -f core conftest.err conftest.$ac_objext \ 12929 conftest$ac_exeext conftest.$ac_ext 12930 if test -z "$lt_cv_aix_libpath_"; then 12931 lt_cv_aix_libpath_=/usr/lib:/lib 12932 fi 12933 12934fi 12935 12936 aix_libpath=$lt_cv_aix_libpath_ 12937fi 12938 12939 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 12940 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 12941 else 12942 if test ia64 = "$host_cpu"; then 12943 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 12944 allow_undefined_flag="-z nodefs" 12945 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" 12946 else 12947 # Determine the default libpath from the value encoded in an 12948 # empty executable. 12949 if test set = "${lt_cv_aix_libpath+set}"; then 12950 aix_libpath=$lt_cv_aix_libpath 12951else 12952 if ${lt_cv_aix_libpath_+:} false; then : 12953 $as_echo_n "(cached) " >&6 12954else 12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12956/* end confdefs.h. */ 12957 12958int 12959main () 12960{ 12961 12962 ; 12963 return 0; 12964} 12965_ACEOF 12966if ac_fn_c_try_link "$LINENO"; then : 12967 12968 lt_aix_libpath_sed=' 12969 /Import File Strings/,/^$/ { 12970 /^0/ { 12971 s/^0 *\([^ ]*\) *$/\1/ 12972 p 12973 } 12974 }' 12975 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12976 # Check for a 64-bit object if we didn't find anything. 12977 if test -z "$lt_cv_aix_libpath_"; then 12978 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12979 fi 12980fi 12981rm -f core conftest.err conftest.$ac_objext \ 12982 conftest$ac_exeext conftest.$ac_ext 12983 if test -z "$lt_cv_aix_libpath_"; then 12984 lt_cv_aix_libpath_=/usr/lib:/lib 12985 fi 12986 12987fi 12988 12989 aix_libpath=$lt_cv_aix_libpath_ 12990fi 12991 12992 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 12993 # Warning - without using the other run time loading flags, 12994 # -berok will link without error, but may produce a broken library. 12995 no_undefined_flag=' $wl-bernotok' 12996 allow_undefined_flag=' $wl-berok' 12997 if test yes = "$with_gnu_ld"; then 12998 # We only use this code for GNU lds that support --whole-archive. 12999 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 13000 else 13001 # Exported symbols can be pulled into shared objects from archives 13002 whole_archive_flag_spec='$convenience' 13003 fi 13004 archive_cmds_need_lc=yes 13005 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 13006 # -brtl affects multiple linker settings, -berok does not and is overridden later 13007 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 13008 if test svr4 != "$with_aix_soname"; then 13009 # This is similar to how AIX traditionally builds its shared libraries. 13010 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' 13011 fi 13012 if test aix != "$with_aix_soname"; then 13013 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' 13014 else 13015 # used by -dlpreopen to get the symbols 13016 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 13017 fi 13018 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 13019 fi 13020 fi 13021 ;; 13022 13023 amigaos*) 13024 case $host_cpu in 13025 powerpc) 13026 # see comment about AmigaOS4 .so support 13027 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13028 archive_expsym_cmds='' 13029 ;; 13030 m68k) 13031 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)' 13032 hardcode_libdir_flag_spec='-L$libdir' 13033 hardcode_minus_L=yes 13034 ;; 13035 esac 13036 ;; 13037 13038 bsdi[45]*) 13039 export_dynamic_flag_spec=-rdynamic 13040 ;; 13041 13042 cygwin* | mingw* | pw32* | cegcc*) 13043 # When not using gcc, we currently assume that we are using 13044 # Microsoft Visual C++. 13045 # hardcode_libdir_flag_spec is actually meaningless, as there is 13046 # no search path for DLLs. 13047 case $cc_basename in 13048 cl*) 13049 # Native MSVC 13050 hardcode_libdir_flag_spec=' ' 13051 allow_undefined_flag=unsupported 13052 always_export_symbols=yes 13053 file_list_spec='@' 13054 # Tell ltmain to make .lib files, not .a files. 13055 libext=lib 13056 # Tell ltmain to make .dll files, not .so files. 13057 shrext_cmds=.dll 13058 # FIXME: Setting linknames here is a bad hack. 13059 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 13060 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13061 cp "$export_symbols" "$output_objdir/$soname.def"; 13062 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 13063 else 13064 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 13065 fi~ 13066 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 13067 linknames=' 13068 # The linker will not automatically build a static lib if we build a DLL. 13069 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 13070 enable_shared_with_static_runtimes=yes 13071 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 13072 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 13073 # Don't use ranlib 13074 old_postinstall_cmds='chmod 644 $oldlib' 13075 postlink_cmds='lt_outputfile="@OUTPUT@"~ 13076 lt_tool_outputfile="@TOOL_OUTPUT@"~ 13077 case $lt_outputfile in 13078 *.exe|*.EXE) ;; 13079 *) 13080 lt_outputfile=$lt_outputfile.exe 13081 lt_tool_outputfile=$lt_tool_outputfile.exe 13082 ;; 13083 esac~ 13084 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 13085 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 13086 $RM "$lt_outputfile.manifest"; 13087 fi' 13088 ;; 13089 *) 13090 # Assume MSVC wrapper 13091 hardcode_libdir_flag_spec=' ' 13092 allow_undefined_flag=unsupported 13093 # Tell ltmain to make .lib files, not .a files. 13094 libext=lib 13095 # Tell ltmain to make .dll files, not .so files. 13096 shrext_cmds=.dll 13097 # FIXME: Setting linknames here is a bad hack. 13098 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 13099 # The linker will automatically build a .lib file if we build a DLL. 13100 old_archive_from_new_cmds='true' 13101 # FIXME: Should let the user specify the lib program. 13102 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 13103 enable_shared_with_static_runtimes=yes 13104 ;; 13105 esac 13106 ;; 13107 13108 darwin* | rhapsody*) 13109 13110 13111 archive_cmds_need_lc=no 13112 hardcode_direct=no 13113 hardcode_automatic=yes 13114 hardcode_shlibpath_var=unsupported 13115 if test yes = "$lt_cv_ld_force_load"; then 13116 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\"`' 13117 13118 else 13119 whole_archive_flag_spec='' 13120 fi 13121 link_all_deplibs=yes 13122 allow_undefined_flag=$_lt_dar_allow_undefined 13123 case $cc_basename in 13124 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 13125 *) _lt_dar_can_shared=$GCC ;; 13126 esac 13127 if test yes = "$_lt_dar_can_shared"; then 13128 output_verbose_link_cmd=func_echo_all 13129 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 13130 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 13131 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" 13132 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" 13133 13134 else 13135 ld_shlibs=no 13136 fi 13137 13138 ;; 13139 13140 dgux*) 13141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13142 hardcode_libdir_flag_spec='-L$libdir' 13143 hardcode_shlibpath_var=no 13144 ;; 13145 13146 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 13147 # support. Future versions do this automatically, but an explicit c++rt0.o 13148 # does not break anything, and helps significantly (at the cost of a little 13149 # extra space). 13150 freebsd2.2*) 13151 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 13152 hardcode_libdir_flag_spec='-R$libdir' 13153 hardcode_direct=yes 13154 hardcode_shlibpath_var=no 13155 ;; 13156 13157 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 13158 freebsd2.*) 13159 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 13160 hardcode_direct=yes 13161 hardcode_minus_L=yes 13162 hardcode_shlibpath_var=no 13163 ;; 13164 13165 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 13166 freebsd* | dragonfly*) 13167 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 13168 hardcode_libdir_flag_spec='-R$libdir' 13169 hardcode_direct=yes 13170 hardcode_shlibpath_var=no 13171 ;; 13172 13173 hpux9*) 13174 if test yes = "$GCC"; then 13175 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' 13176 else 13177 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' 13178 fi 13179 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 13180 hardcode_libdir_separator=: 13181 hardcode_direct=yes 13182 13183 # hardcode_minus_L: Not really in the search PATH, 13184 # but as the default location of the library. 13185 hardcode_minus_L=yes 13186 export_dynamic_flag_spec='$wl-E' 13187 ;; 13188 13189 hpux10*) 13190 if test yes,no = "$GCC,$with_gnu_ld"; then 13191 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 13192 else 13193 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 13194 fi 13195 if test no = "$with_gnu_ld"; then 13196 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 13197 hardcode_libdir_separator=: 13198 hardcode_direct=yes 13199 hardcode_direct_absolute=yes 13200 export_dynamic_flag_spec='$wl-E' 13201 # hardcode_minus_L: Not really in the search PATH, 13202 # but as the default location of the library. 13203 hardcode_minus_L=yes 13204 fi 13205 ;; 13206 13207 hpux11*) 13208 if test yes,no = "$GCC,$with_gnu_ld"; then 13209 case $host_cpu in 13210 hppa*64*) 13211 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 13212 ;; 13213 ia64*) 13214 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 13215 ;; 13216 *) 13217 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 13218 ;; 13219 esac 13220 else 13221 case $host_cpu in 13222 hppa*64*) 13223 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 13224 ;; 13225 ia64*) 13226 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 13227 ;; 13228 *) 13229 13230 # Older versions of the 11.00 compiler do not understand -b yet 13231 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 13233$as_echo_n "checking if $CC understands -b... " >&6; } 13234if ${lt_cv_prog_compiler__b+:} false; then : 13235 $as_echo_n "(cached) " >&6 13236else 13237 lt_cv_prog_compiler__b=no 13238 save_LDFLAGS=$LDFLAGS 13239 LDFLAGS="$LDFLAGS -b" 13240 echo "$lt_simple_link_test_code" > conftest.$ac_ext 13241 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 13242 # The linker can only warn and ignore the option if not recognized 13243 # So say no if there are warnings 13244 if test -s conftest.err; then 13245 # Append any errors to the config.log. 13246 cat conftest.err 1>&5 13247 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 13248 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13249 if diff conftest.exp conftest.er2 >/dev/null; then 13250 lt_cv_prog_compiler__b=yes 13251 fi 13252 else 13253 lt_cv_prog_compiler__b=yes 13254 fi 13255 fi 13256 $RM -r conftest* 13257 LDFLAGS=$save_LDFLAGS 13258 13259fi 13260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 13261$as_echo "$lt_cv_prog_compiler__b" >&6; } 13262 13263if test yes = "$lt_cv_prog_compiler__b"; then 13264 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 13265else 13266 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 13267fi 13268 13269 ;; 13270 esac 13271 fi 13272 if test no = "$with_gnu_ld"; then 13273 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 13274 hardcode_libdir_separator=: 13275 13276 case $host_cpu in 13277 hppa*64*|ia64*) 13278 hardcode_direct=no 13279 hardcode_shlibpath_var=no 13280 ;; 13281 *) 13282 hardcode_direct=yes 13283 hardcode_direct_absolute=yes 13284 export_dynamic_flag_spec='$wl-E' 13285 13286 # hardcode_minus_L: Not really in the search PATH, 13287 # but as the default location of the library. 13288 hardcode_minus_L=yes 13289 ;; 13290 esac 13291 fi 13292 ;; 13293 13294 irix5* | irix6* | nonstopux*) 13295 if test yes = "$GCC"; then 13296 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' 13297 # Try to use the -exported_symbol ld option, if it does not 13298 # work, assume that -exports_file does not work either and 13299 # implicitly export all symbols. 13300 # This should be the same for all languages, so no per-tag cache variable. 13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 13302$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 13303if ${lt_cv_irix_exported_symbol+:} false; then : 13304 $as_echo_n "(cached) " >&6 13305else 13306 save_LDFLAGS=$LDFLAGS 13307 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13309/* end confdefs.h. */ 13310int foo (void) { return 0; } 13311_ACEOF 13312if ac_fn_c_try_link "$LINENO"; then : 13313 lt_cv_irix_exported_symbol=yes 13314else 13315 lt_cv_irix_exported_symbol=no 13316fi 13317rm -f core conftest.err conftest.$ac_objext \ 13318 conftest$ac_exeext conftest.$ac_ext 13319 LDFLAGS=$save_LDFLAGS 13320fi 13321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 13322$as_echo "$lt_cv_irix_exported_symbol" >&6; } 13323 if test yes = "$lt_cv_irix_exported_symbol"; then 13324 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' 13325 fi 13326 link_all_deplibs=no 13327 else 13328 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' 13329 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' 13330 fi 13331 archive_cmds_need_lc='no' 13332 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 13333 hardcode_libdir_separator=: 13334 inherit_rpath=yes 13335 link_all_deplibs=yes 13336 ;; 13337 13338 linux*) 13339 case $cc_basename in 13340 tcc*) 13341 # Fabrice Bellard et al's Tiny C Compiler 13342 ld_shlibs=yes 13343 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 13344 ;; 13345 esac 13346 ;; 13347 13348 netbsd* | netbsdelf*-gnu) 13349 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13350 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 13351 else 13352 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 13353 fi 13354 hardcode_libdir_flag_spec='-R$libdir' 13355 hardcode_direct=yes 13356 hardcode_shlibpath_var=no 13357 ;; 13358 13359 newsos6) 13360 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13361 hardcode_direct=yes 13362 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 13363 hardcode_libdir_separator=: 13364 hardcode_shlibpath_var=no 13365 ;; 13366 13367 *nto* | *qnx*) 13368 ;; 13369 13370 openbsd* | bitrig*) 13371 if test -f /usr/libexec/ld.so; then 13372 hardcode_direct=yes 13373 hardcode_shlibpath_var=no 13374 hardcode_direct_absolute=yes 13375 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 13376 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 13377 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 13378 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 13379 export_dynamic_flag_spec='$wl-E' 13380 else 13381 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 13382 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 13383 fi 13384 else 13385 ld_shlibs=no 13386 fi 13387 ;; 13388 13389 os2*) 13390 hardcode_libdir_flag_spec='-L$libdir' 13391 hardcode_minus_L=yes 13392 allow_undefined_flag=unsupported 13393 shrext_cmds=.dll 13394 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13395 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13396 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13397 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13398 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 13399 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13400 emximp -o $lib $output_objdir/$libname.def' 13401 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13402 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13403 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13404 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13405 prefix_cmds="$SED"~ 13406 if test EXPORTS = "`$SED 1q $export_symbols`"; then 13407 prefix_cmds="$prefix_cmds -e 1d"; 13408 fi~ 13409 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 13410 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 13411 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13412 emximp -o $lib $output_objdir/$libname.def' 13413 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 13414 enable_shared_with_static_runtimes=yes 13415 ;; 13416 13417 osf3*) 13418 if test yes = "$GCC"; then 13419 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 13420 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' 13421 else 13422 allow_undefined_flag=' -expect_unresolved \*' 13423 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' 13424 fi 13425 archive_cmds_need_lc='no' 13426 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 13427 hardcode_libdir_separator=: 13428 ;; 13429 13430 osf4* | osf5*) # as osf3* with the addition of -msym flag 13431 if test yes = "$GCC"; then 13432 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 13433 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' 13434 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 13435 else 13436 allow_undefined_flag=' -expect_unresolved \*' 13437 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' 13438 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~ 13439 $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' 13440 13441 # Both c and cxx compiler support -rpath directly 13442 hardcode_libdir_flag_spec='-rpath $libdir' 13443 fi 13444 archive_cmds_need_lc='no' 13445 hardcode_libdir_separator=: 13446 ;; 13447 13448 solaris*) 13449 no_undefined_flag=' -z defs' 13450 if test yes = "$GCC"; then 13451 wlarc='$wl' 13452 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 13453 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13454 $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' 13455 else 13456 case `$CC -V 2>&1` in 13457 *"Compilers 5.0"*) 13458 wlarc='' 13459 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 13460 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13461 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 13462 ;; 13463 *) 13464 wlarc='$wl' 13465 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 13466 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13467 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 13468 ;; 13469 esac 13470 fi 13471 hardcode_libdir_flag_spec='-R$libdir' 13472 hardcode_shlibpath_var=no 13473 case $host_os in 13474 solaris2.[0-5] | solaris2.[0-5].*) ;; 13475 *) 13476 # The compiler driver will combine and reorder linker options, 13477 # but understands '-z linker_flag'. GCC discards it without '$wl', 13478 # but is careful enough not to reorder. 13479 # Supported since Solaris 2.6 (maybe 2.5.1?) 13480 if test yes = "$GCC"; then 13481 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 13482 else 13483 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 13484 fi 13485 ;; 13486 esac 13487 link_all_deplibs=yes 13488 ;; 13489 13490 sunos4*) 13491 if test sequent = "$host_vendor"; then 13492 # Use $CC to link under sequent, because it throws in some extra .o 13493 # files that make .init and .fini sections work. 13494 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 13495 else 13496 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 13497 fi 13498 hardcode_libdir_flag_spec='-L$libdir' 13499 hardcode_direct=yes 13500 hardcode_minus_L=yes 13501 hardcode_shlibpath_var=no 13502 ;; 13503 13504 sysv4) 13505 case $host_vendor in 13506 sni) 13507 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13508 hardcode_direct=yes # is this really true??? 13509 ;; 13510 siemens) 13511 ## LD is ld it makes a PLAMLIB 13512 ## CC just makes a GrossModule. 13513 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 13514 reload_cmds='$CC -r -o $output$reload_objs' 13515 hardcode_direct=no 13516 ;; 13517 motorola) 13518 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13519 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 13520 ;; 13521 esac 13522 runpath_var='LD_RUN_PATH' 13523 hardcode_shlibpath_var=no 13524 ;; 13525 13526 sysv4.3*) 13527 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13528 hardcode_shlibpath_var=no 13529 export_dynamic_flag_spec='-Bexport' 13530 ;; 13531 13532 sysv4*MP*) 13533 if test -d /usr/nec; then 13534 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13535 hardcode_shlibpath_var=no 13536 runpath_var=LD_RUN_PATH 13537 hardcode_runpath_var=yes 13538 ld_shlibs=yes 13539 fi 13540 ;; 13541 13542 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 13543 no_undefined_flag='$wl-z,text' 13544 archive_cmds_need_lc=no 13545 hardcode_shlibpath_var=no 13546 runpath_var='LD_RUN_PATH' 13547 13548 if test yes = "$GCC"; then 13549 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13550 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13551 else 13552 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13553 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13554 fi 13555 ;; 13556 13557 sysv5* | sco3.2v5* | sco5v6*) 13558 # Note: We CANNOT use -z defs as we might desire, because we do not 13559 # link with -lc, and that would cause any symbols used from libc to 13560 # always be unresolved, which means just about no library would 13561 # ever link correctly. If we're not using GNU ld we use -z text 13562 # though, which does catch some bad symbols but isn't as heavy-handed 13563 # as -z defs. 13564 no_undefined_flag='$wl-z,text' 13565 allow_undefined_flag='$wl-z,nodefs' 13566 archive_cmds_need_lc=no 13567 hardcode_shlibpath_var=no 13568 hardcode_libdir_flag_spec='$wl-R,$libdir' 13569 hardcode_libdir_separator=':' 13570 link_all_deplibs=yes 13571 export_dynamic_flag_spec='$wl-Bexport' 13572 runpath_var='LD_RUN_PATH' 13573 13574 if test yes = "$GCC"; then 13575 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13576 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13577 else 13578 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13579 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13580 fi 13581 ;; 13582 13583 uts4*) 13584 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13585 hardcode_libdir_flag_spec='-L$libdir' 13586 hardcode_shlibpath_var=no 13587 ;; 13588 13589 *) 13590 ld_shlibs=no 13591 ;; 13592 esac 13593 13594 if test sni = "$host_vendor"; then 13595 case $host in 13596 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 13597 export_dynamic_flag_spec='$wl-Blargedynsym' 13598 ;; 13599 esac 13600 fi 13601 fi 13602 13603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 13604$as_echo "$ld_shlibs" >&6; } 13605test no = "$ld_shlibs" && can_build_shared=no 13606 13607with_gnu_ld=$with_gnu_ld 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623# 13624# Do we need to explicitly link libc? 13625# 13626case "x$archive_cmds_need_lc" in 13627x|xyes) 13628 # Assume -lc should be added 13629 archive_cmds_need_lc=yes 13630 13631 if test yes,yes = "$GCC,$enable_shared"; then 13632 case $archive_cmds in 13633 *'~'*) 13634 # FIXME: we may have to deal with multi-command sequences. 13635 ;; 13636 '$CC '*) 13637 # Test whether the compiler implicitly links with -lc since on some 13638 # systems, -lgcc has to come before -lc. If gcc already passes -lc 13639 # to ld, don't add -lc before -lgcc. 13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 13641$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 13642if ${lt_cv_archive_cmds_need_lc+:} false; then : 13643 $as_echo_n "(cached) " >&6 13644else 13645 $RM conftest* 13646 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13647 13648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 13649 (eval $ac_compile) 2>&5 13650 ac_status=$? 13651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13652 test $ac_status = 0; } 2>conftest.err; then 13653 soname=conftest 13654 lib=conftest 13655 libobjs=conftest.$ac_objext 13656 deplibs= 13657 wl=$lt_prog_compiler_wl 13658 pic_flag=$lt_prog_compiler_pic 13659 compiler_flags=-v 13660 linker_flags=-v 13661 verstring= 13662 output_objdir=. 13663 libname=conftest 13664 lt_save_allow_undefined_flag=$allow_undefined_flag 13665 allow_undefined_flag= 13666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 13667 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 13668 ac_status=$? 13669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13670 test $ac_status = 0; } 13671 then 13672 lt_cv_archive_cmds_need_lc=no 13673 else 13674 lt_cv_archive_cmds_need_lc=yes 13675 fi 13676 allow_undefined_flag=$lt_save_allow_undefined_flag 13677 else 13678 cat conftest.err 1>&5 13679 fi 13680 $RM conftest* 13681 13682fi 13683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 13684$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 13685 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 13686 ;; 13687 esac 13688 fi 13689 ;; 13690esac 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 13844$as_echo_n "checking dynamic linker characteristics... " >&6; } 13845 13846if test yes = "$GCC"; then 13847 case $host_os in 13848 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 13849 *) lt_awk_arg='/^libraries:/' ;; 13850 esac 13851 case $host_os in 13852 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 13853 *) lt_sed_strip_eq='s|=/|/|g' ;; 13854 esac 13855 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 13856 case $lt_search_path_spec in 13857 *\;*) 13858 # if the path contains ";" then we assume it to be the separator 13859 # otherwise default to the standard path separator (i.e. ":") - it is 13860 # assumed that no part of a normal pathname contains ";" but that should 13861 # okay in the real world where ";" in dirpaths is itself problematic. 13862 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 13863 ;; 13864 *) 13865 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 13866 ;; 13867 esac 13868 # Ok, now we have the path, separated by spaces, we can step through it 13869 # and add multilib dir if necessary... 13870 lt_tmp_lt_search_path_spec= 13871 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 13872 # ...but if some path component already ends with the multilib dir we assume 13873 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 13874 case "$lt_multi_os_dir; $lt_search_path_spec " in 13875 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 13876 lt_multi_os_dir= 13877 ;; 13878 esac 13879 for lt_sys_path in $lt_search_path_spec; do 13880 if test -d "$lt_sys_path$lt_multi_os_dir"; then 13881 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 13882 elif test -n "$lt_multi_os_dir"; then 13883 test -d "$lt_sys_path" && \ 13884 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 13885 fi 13886 done 13887 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 13888BEGIN {RS = " "; FS = "/|\n";} { 13889 lt_foo = ""; 13890 lt_count = 0; 13891 for (lt_i = NF; lt_i > 0; lt_i--) { 13892 if ($lt_i != "" && $lt_i != ".") { 13893 if ($lt_i == "..") { 13894 lt_count++; 13895 } else { 13896 if (lt_count == 0) { 13897 lt_foo = "/" $lt_i lt_foo; 13898 } else { 13899 lt_count--; 13900 } 13901 } 13902 } 13903 } 13904 if (lt_foo != "") { lt_freq[lt_foo]++; } 13905 if (lt_freq[lt_foo] == 1) { print lt_foo; } 13906}'` 13907 # AWK program above erroneously prepends '/' to C:/dos/paths 13908 # for these hosts. 13909 case $host_os in 13910 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 13911 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 13912 esac 13913 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 13914else 13915 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 13916fi 13917library_names_spec= 13918libname_spec='lib$name' 13919soname_spec= 13920shrext_cmds=.so 13921postinstall_cmds= 13922postuninstall_cmds= 13923finish_cmds= 13924finish_eval= 13925shlibpath_var= 13926shlibpath_overrides_runpath=unknown 13927version_type=none 13928dynamic_linker="$host_os ld.so" 13929sys_lib_dlsearch_path_spec="/lib /usr/lib" 13930need_lib_prefix=unknown 13931hardcode_into_libs=no 13932 13933# when you set need_version to no, make sure it does not cause -set_version 13934# flags to be left without arguments 13935need_version=unknown 13936 13937 13938 13939case $host_os in 13940aix3*) 13941 version_type=linux # correct to gnu/linux during the next big refactor 13942 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 13943 shlibpath_var=LIBPATH 13944 13945 # AIX 3 has no versioning support, so we append a major version to the name. 13946 soname_spec='$libname$release$shared_ext$major' 13947 ;; 13948 13949aix[4-9]*) 13950 version_type=linux # correct to gnu/linux during the next big refactor 13951 need_lib_prefix=no 13952 need_version=no 13953 hardcode_into_libs=yes 13954 if test ia64 = "$host_cpu"; then 13955 # AIX 5 supports IA64 13956 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 13957 shlibpath_var=LD_LIBRARY_PATH 13958 else 13959 # With GCC up to 2.95.x, collect2 would create an import file 13960 # for dependence libraries. The import file would start with 13961 # the line '#! .'. This would cause the generated library to 13962 # depend on '.', always an invalid library. This was fixed in 13963 # development snapshots of GCC prior to 3.0. 13964 case $host_os in 13965 aix4 | aix4.[01] | aix4.[01].*) 13966 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 13967 echo ' yes ' 13968 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 13969 : 13970 else 13971 can_build_shared=no 13972 fi 13973 ;; 13974 esac 13975 # Using Import Files as archive members, it is possible to support 13976 # filename-based versioning of shared library archives on AIX. While 13977 # this would work for both with and without runtime linking, it will 13978 # prevent static linking of such archives. So we do filename-based 13979 # shared library versioning with .so extension only, which is used 13980 # when both runtime linking and shared linking is enabled. 13981 # Unfortunately, runtime linking may impact performance, so we do 13982 # not want this to be the default eventually. Also, we use the 13983 # versioned .so libs for executables only if there is the -brtl 13984 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 13985 # To allow for filename-based versioning support, we need to create 13986 # libNAME.so.V as an archive file, containing: 13987 # *) an Import File, referring to the versioned filename of the 13988 # archive as well as the shared archive member, telling the 13989 # bitwidth (32 or 64) of that shared object, and providing the 13990 # list of exported symbols of that shared object, eventually 13991 # decorated with the 'weak' keyword 13992 # *) the shared object with the F_LOADONLY flag set, to really avoid 13993 # it being seen by the linker. 13994 # At run time we better use the real file rather than another symlink, 13995 # but for link time we create the symlink libNAME.so -> libNAME.so.V 13996 13997 case $with_aix_soname,$aix_use_runtimelinking in 13998 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 13999 # soname into executable. Probably we can add versioning support to 14000 # collect2, so additional links can be useful in future. 14001 aix,yes) # traditional libtool 14002 dynamic_linker='AIX unversionable lib.so' 14003 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 14004 # instead of lib<name>.a to let people know that these are not 14005 # typical AIX shared libraries. 14006 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14007 ;; 14008 aix,no) # traditional AIX only 14009 dynamic_linker='AIX lib.a(lib.so.V)' 14010 # We preserve .a as extension for shared libraries through AIX4.2 14011 # and later when we are not doing run time linking. 14012 library_names_spec='$libname$release.a $libname.a' 14013 soname_spec='$libname$release$shared_ext$major' 14014 ;; 14015 svr4,*) # full svr4 only 14016 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 14017 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 14018 # We do not specify a path in Import Files, so LIBPATH fires. 14019 shlibpath_overrides_runpath=yes 14020 ;; 14021 *,yes) # both, prefer svr4 14022 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 14023 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 14024 # unpreferred sharedlib libNAME.a needs extra handling 14025 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"' 14026 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"' 14027 # We do not specify a path in Import Files, so LIBPATH fires. 14028 shlibpath_overrides_runpath=yes 14029 ;; 14030 *,no) # both, prefer aix 14031 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 14032 library_names_spec='$libname$release.a $libname.a' 14033 soname_spec='$libname$release$shared_ext$major' 14034 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 14035 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)' 14036 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"' 14037 ;; 14038 esac 14039 shlibpath_var=LIBPATH 14040 fi 14041 ;; 14042 14043amigaos*) 14044 case $host_cpu in 14045 powerpc) 14046 # Since July 2007 AmigaOS4 officially supports .so libraries. 14047 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 14048 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14049 ;; 14050 m68k) 14051 library_names_spec='$libname.ixlibrary $libname.a' 14052 # Create ${libname}_ixlibrary.a entries in /sys/libs. 14053 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' 14054 ;; 14055 esac 14056 ;; 14057 14058beos*) 14059 library_names_spec='$libname$shared_ext' 14060 dynamic_linker="$host_os ld.so" 14061 shlibpath_var=LIBRARY_PATH 14062 ;; 14063 14064bsdi[45]*) 14065 version_type=linux # correct to gnu/linux during the next big refactor 14066 need_version=no 14067 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14068 soname_spec='$libname$release$shared_ext$major' 14069 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 14070 shlibpath_var=LD_LIBRARY_PATH 14071 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 14072 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 14073 # the default ld.so.conf also contains /usr/contrib/lib and 14074 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 14075 # libtool to hard-code these into programs 14076 ;; 14077 14078cygwin* | mingw* | pw32* | cegcc*) 14079 version_type=windows 14080 shrext_cmds=.dll 14081 need_version=no 14082 need_lib_prefix=no 14083 14084 case $GCC,$cc_basename in 14085 yes,*) 14086 # gcc 14087 library_names_spec='$libname.dll.a' 14088 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14089 postinstall_cmds='base_file=`basename \$file`~ 14090 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 14091 dldir=$destdir/`dirname \$dlpath`~ 14092 test -d \$dldir || mkdir -p \$dldir~ 14093 $install_prog $dir/$dlname \$dldir/$dlname~ 14094 chmod a+x \$dldir/$dlname~ 14095 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 14096 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 14097 fi' 14098 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 14099 dlpath=$dir/\$dldll~ 14100 $RM \$dlpath' 14101 shlibpath_overrides_runpath=yes 14102 14103 case $host_os in 14104 cygwin*) 14105 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 14106 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 14107 14108 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 14109 ;; 14110 mingw* | cegcc*) 14111 # MinGW DLLs use traditional 'lib' prefix 14112 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 14113 ;; 14114 pw32*) 14115 # pw32 DLLs use 'pw' prefix rather than 'lib' 14116 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 14117 ;; 14118 esac 14119 dynamic_linker='Win32 ld.exe' 14120 ;; 14121 14122 *,cl*) 14123 # Native MSVC 14124 libname_spec='$name' 14125 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 14126 library_names_spec='$libname.dll.lib' 14127 14128 case $build_os in 14129 mingw*) 14130 sys_lib_search_path_spec= 14131 lt_save_ifs=$IFS 14132 IFS=';' 14133 for lt_path in $LIB 14134 do 14135 IFS=$lt_save_ifs 14136 # Let DOS variable expansion print the short 8.3 style file name. 14137 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 14138 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 14139 done 14140 IFS=$lt_save_ifs 14141 # Convert to MSYS style. 14142 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 14143 ;; 14144 cygwin*) 14145 # Convert to unix form, then to dos form, then back to unix form 14146 # but this time dos style (no spaces!) so that the unix form looks 14147 # like /cygdrive/c/PROGRA~1:/cygdr... 14148 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 14149 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 14150 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 14151 ;; 14152 *) 14153 sys_lib_search_path_spec=$LIB 14154 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 14155 # It is most probably a Windows format PATH. 14156 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 14157 else 14158 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 14159 fi 14160 # FIXME: find the short name or the path components, as spaces are 14161 # common. (e.g. "Program Files" -> "PROGRA~1") 14162 ;; 14163 esac 14164 14165 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14166 postinstall_cmds='base_file=`basename \$file`~ 14167 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 14168 dldir=$destdir/`dirname \$dlpath`~ 14169 test -d \$dldir || mkdir -p \$dldir~ 14170 $install_prog $dir/$dlname \$dldir/$dlname' 14171 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 14172 dlpath=$dir/\$dldll~ 14173 $RM \$dlpath' 14174 shlibpath_overrides_runpath=yes 14175 dynamic_linker='Win32 link.exe' 14176 ;; 14177 14178 *) 14179 # Assume MSVC wrapper 14180 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 14181 dynamic_linker='Win32 ld.exe' 14182 ;; 14183 esac 14184 # FIXME: first we should search . and the directory the executable is in 14185 shlibpath_var=PATH 14186 ;; 14187 14188darwin* | rhapsody*) 14189 dynamic_linker="$host_os dyld" 14190 version_type=darwin 14191 need_lib_prefix=no 14192 need_version=no 14193 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 14194 soname_spec='$libname$release$major$shared_ext' 14195 shlibpath_overrides_runpath=yes 14196 shlibpath_var=DYLD_LIBRARY_PATH 14197 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 14198 14199 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 14200 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 14201 ;; 14202 14203dgux*) 14204 version_type=linux # correct to gnu/linux during the next big refactor 14205 need_lib_prefix=no 14206 need_version=no 14207 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14208 soname_spec='$libname$release$shared_ext$major' 14209 shlibpath_var=LD_LIBRARY_PATH 14210 ;; 14211 14212freebsd* | dragonfly*) 14213 # DragonFly does not have aout. When/if they implement a new 14214 # versioning mechanism, adjust this. 14215 if test -x /usr/bin/objformat; then 14216 objformat=`/usr/bin/objformat` 14217 else 14218 case $host_os in 14219 freebsd[23].*) objformat=aout ;; 14220 *) objformat=elf ;; 14221 esac 14222 fi 14223 version_type=freebsd-$objformat 14224 case $version_type in 14225 freebsd-elf*) 14226 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14227 soname_spec='$libname$release$shared_ext$major' 14228 need_version=no 14229 need_lib_prefix=no 14230 ;; 14231 freebsd-*) 14232 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 14233 need_version=yes 14234 ;; 14235 esac 14236 shlibpath_var=LD_LIBRARY_PATH 14237 case $host_os in 14238 freebsd2.*) 14239 shlibpath_overrides_runpath=yes 14240 ;; 14241 freebsd3.[01]* | freebsdelf3.[01]*) 14242 shlibpath_overrides_runpath=yes 14243 hardcode_into_libs=yes 14244 ;; 14245 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 14246 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 14247 shlibpath_overrides_runpath=no 14248 hardcode_into_libs=yes 14249 ;; 14250 *) # from 4.6 on, and DragonFly 14251 shlibpath_overrides_runpath=yes 14252 hardcode_into_libs=yes 14253 ;; 14254 esac 14255 ;; 14256 14257haiku*) 14258 version_type=linux # correct to gnu/linux during the next big refactor 14259 need_lib_prefix=no 14260 need_version=no 14261 dynamic_linker="$host_os runtime_loader" 14262 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14263 soname_spec='$libname$release$shared_ext$major' 14264 shlibpath_var=LIBRARY_PATH 14265 shlibpath_overrides_runpath=no 14266 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 14267 hardcode_into_libs=yes 14268 ;; 14269 14270hpux9* | hpux10* | hpux11*) 14271 # Give a soname corresponding to the major version so that dld.sl refuses to 14272 # link against other versions. 14273 version_type=sunos 14274 need_lib_prefix=no 14275 need_version=no 14276 case $host_cpu in 14277 ia64*) 14278 shrext_cmds='.so' 14279 hardcode_into_libs=yes 14280 dynamic_linker="$host_os dld.so" 14281 shlibpath_var=LD_LIBRARY_PATH 14282 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 14283 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14284 soname_spec='$libname$release$shared_ext$major' 14285 if test 32 = "$HPUX_IA64_MODE"; then 14286 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 14287 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 14288 else 14289 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 14290 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 14291 fi 14292 ;; 14293 hppa*64*) 14294 shrext_cmds='.sl' 14295 hardcode_into_libs=yes 14296 dynamic_linker="$host_os dld.sl" 14297 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 14298 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 14299 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14300 soname_spec='$libname$release$shared_ext$major' 14301 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 14302 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14303 ;; 14304 *) 14305 shrext_cmds='.sl' 14306 dynamic_linker="$host_os dld.sl" 14307 shlibpath_var=SHLIB_PATH 14308 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 14309 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14310 soname_spec='$libname$release$shared_ext$major' 14311 ;; 14312 esac 14313 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 14314 postinstall_cmds='chmod 555 $lib' 14315 # or fails outright, so override atomically: 14316 install_override_mode=555 14317 ;; 14318 14319interix[3-9]*) 14320 version_type=linux # correct to gnu/linux during the next big refactor 14321 need_lib_prefix=no 14322 need_version=no 14323 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14324 soname_spec='$libname$release$shared_ext$major' 14325 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 14326 shlibpath_var=LD_LIBRARY_PATH 14327 shlibpath_overrides_runpath=no 14328 hardcode_into_libs=yes 14329 ;; 14330 14331irix5* | irix6* | nonstopux*) 14332 case $host_os in 14333 nonstopux*) version_type=nonstopux ;; 14334 *) 14335 if test yes = "$lt_cv_prog_gnu_ld"; then 14336 version_type=linux # correct to gnu/linux during the next big refactor 14337 else 14338 version_type=irix 14339 fi ;; 14340 esac 14341 need_lib_prefix=no 14342 need_version=no 14343 soname_spec='$libname$release$shared_ext$major' 14344 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 14345 case $host_os in 14346 irix5* | nonstopux*) 14347 libsuff= shlibsuff= 14348 ;; 14349 *) 14350 case $LD in # libtool.m4 will add one of these switches to LD 14351 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 14352 libsuff= shlibsuff= libmagic=32-bit;; 14353 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 14354 libsuff=32 shlibsuff=N32 libmagic=N32;; 14355 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 14356 libsuff=64 shlibsuff=64 libmagic=64-bit;; 14357 *) libsuff= shlibsuff= libmagic=never-match;; 14358 esac 14359 ;; 14360 esac 14361 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 14362 shlibpath_overrides_runpath=no 14363 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 14364 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 14365 hardcode_into_libs=yes 14366 ;; 14367 14368# No shared lib support for Linux oldld, aout, or coff. 14369linux*oldld* | linux*aout* | linux*coff*) 14370 dynamic_linker=no 14371 ;; 14372 14373linux*android*) 14374 version_type=none # Android doesn't support versioned libraries. 14375 need_lib_prefix=no 14376 need_version=no 14377 library_names_spec='$libname$release$shared_ext' 14378 soname_spec='$libname$release$shared_ext' 14379 finish_cmds= 14380 shlibpath_var=LD_LIBRARY_PATH 14381 shlibpath_overrides_runpath=yes 14382 14383 # This implies no fast_install, which is unacceptable. 14384 # Some rework will be needed to allow for fast_install 14385 # before this can be enabled. 14386 hardcode_into_libs=yes 14387 14388 dynamic_linker='Android linker' 14389 # Don't embed -rpath directories since the linker doesn't support them. 14390 hardcode_libdir_flag_spec='-L$libdir' 14391 ;; 14392 14393# This must be glibc/ELF. 14394linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14395 version_type=linux # correct to gnu/linux during the next big refactor 14396 need_lib_prefix=no 14397 need_version=no 14398 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14399 soname_spec='$libname$release$shared_ext$major' 14400 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 14401 shlibpath_var=LD_LIBRARY_PATH 14402 shlibpath_overrides_runpath=no 14403 14404 # Some binutils ld are patched to set DT_RUNPATH 14405 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 14406 $as_echo_n "(cached) " >&6 14407else 14408 lt_cv_shlibpath_overrides_runpath=no 14409 save_LDFLAGS=$LDFLAGS 14410 save_libdir=$libdir 14411 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 14412 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14414/* end confdefs.h. */ 14415 14416int 14417main () 14418{ 14419 14420 ; 14421 return 0; 14422} 14423_ACEOF 14424if ac_fn_c_try_link "$LINENO"; then : 14425 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 14426 lt_cv_shlibpath_overrides_runpath=yes 14427fi 14428fi 14429rm -f core conftest.err conftest.$ac_objext \ 14430 conftest$ac_exeext conftest.$ac_ext 14431 LDFLAGS=$save_LDFLAGS 14432 libdir=$save_libdir 14433 14434fi 14435 14436 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 14437 14438 # This implies no fast_install, which is unacceptable. 14439 # Some rework will be needed to allow for fast_install 14440 # before this can be enabled. 14441 hardcode_into_libs=yes 14442 14443 # Ideally, we could use ldconfig to report *all* directores which are 14444 # searched for libraries, however this is still not possible. Aside from not 14445 # being certain /sbin/ldconfig is available, command 14446 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 14447 # even though it is searched at run-time. Try to do the best guess by 14448 # appending ld.so.conf contents (and includes) to the search path. 14449 if test -f /etc/ld.so.conf; then 14450 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' ' '` 14451 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 14452 fi 14453 14454 # We used to test for /lib/ld.so.1 and disable shared libraries on 14455 # powerpc, because MkLinux only supported shared libraries with the 14456 # GNU dynamic linker. Since this was broken with cross compilers, 14457 # most powerpc-linux boxes support dynamic linking these days and 14458 # people can always --disable-shared, the test was removed, and we 14459 # assume the GNU/Linux dynamic linker is in use. 14460 dynamic_linker='GNU/Linux ld.so' 14461 ;; 14462 14463netbsdelf*-gnu) 14464 version_type=linux 14465 need_lib_prefix=no 14466 need_version=no 14467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14468 soname_spec='${libname}${release}${shared_ext}$major' 14469 shlibpath_var=LD_LIBRARY_PATH 14470 shlibpath_overrides_runpath=no 14471 hardcode_into_libs=yes 14472 dynamic_linker='NetBSD ld.elf_so' 14473 ;; 14474 14475netbsd*) 14476 version_type=sunos 14477 need_lib_prefix=no 14478 need_version=no 14479 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14480 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 14481 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 14482 dynamic_linker='NetBSD (a.out) ld.so' 14483 else 14484 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14485 soname_spec='$libname$release$shared_ext$major' 14486 dynamic_linker='NetBSD ld.elf_so' 14487 fi 14488 shlibpath_var=LD_LIBRARY_PATH 14489 shlibpath_overrides_runpath=yes 14490 hardcode_into_libs=yes 14491 ;; 14492 14493newsos6) 14494 version_type=linux # correct to gnu/linux during the next big refactor 14495 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14496 shlibpath_var=LD_LIBRARY_PATH 14497 shlibpath_overrides_runpath=yes 14498 ;; 14499 14500*nto* | *qnx*) 14501 version_type=qnx 14502 need_lib_prefix=no 14503 need_version=no 14504 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14505 soname_spec='$libname$release$shared_ext$major' 14506 shlibpath_var=LD_LIBRARY_PATH 14507 shlibpath_overrides_runpath=no 14508 hardcode_into_libs=yes 14509 dynamic_linker='ldqnx.so' 14510 ;; 14511 14512openbsd* | bitrig*) 14513 version_type=sunos 14514 sys_lib_dlsearch_path_spec=/usr/lib 14515 need_lib_prefix=no 14516 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 14517 need_version=no 14518 else 14519 need_version=yes 14520 fi 14521 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 14522 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 14523 shlibpath_var=LD_LIBRARY_PATH 14524 shlibpath_overrides_runpath=yes 14525 ;; 14526 14527os2*) 14528 libname_spec='$name' 14529 version_type=windows 14530 shrext_cmds=.dll 14531 need_version=no 14532 need_lib_prefix=no 14533 # OS/2 can only load a DLL with a base name of 8 characters or less. 14534 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 14535 v=$($ECHO $release$versuffix | tr -d .-); 14536 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 14537 $ECHO $n$v`$shared_ext' 14538 library_names_spec='${libname}_dll.$libext' 14539 dynamic_linker='OS/2 ld.exe' 14540 shlibpath_var=BEGINLIBPATH 14541 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 14542 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14543 postinstall_cmds='base_file=`basename \$file`~ 14544 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 14545 dldir=$destdir/`dirname \$dlpath`~ 14546 test -d \$dldir || mkdir -p \$dldir~ 14547 $install_prog $dir/$dlname \$dldir/$dlname~ 14548 chmod a+x \$dldir/$dlname~ 14549 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 14550 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 14551 fi' 14552 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 14553 dlpath=$dir/\$dldll~ 14554 $RM \$dlpath' 14555 ;; 14556 14557osf3* | osf4* | osf5*) 14558 version_type=osf 14559 need_lib_prefix=no 14560 need_version=no 14561 soname_spec='$libname$release$shared_ext$major' 14562 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14563 shlibpath_var=LD_LIBRARY_PATH 14564 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 14565 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14566 ;; 14567 14568rdos*) 14569 dynamic_linker=no 14570 ;; 14571 14572solaris*) 14573 version_type=linux # correct to gnu/linux during the next big refactor 14574 need_lib_prefix=no 14575 need_version=no 14576 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14577 soname_spec='$libname$release$shared_ext$major' 14578 shlibpath_var=LD_LIBRARY_PATH 14579 shlibpath_overrides_runpath=yes 14580 hardcode_into_libs=yes 14581 # ldd complains unless libraries are executable 14582 postinstall_cmds='chmod +x $lib' 14583 ;; 14584 14585sunos4*) 14586 version_type=sunos 14587 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 14588 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 14589 shlibpath_var=LD_LIBRARY_PATH 14590 shlibpath_overrides_runpath=yes 14591 if test yes = "$with_gnu_ld"; then 14592 need_lib_prefix=no 14593 fi 14594 need_version=yes 14595 ;; 14596 14597sysv4 | sysv4.3*) 14598 version_type=linux # correct to gnu/linux during the next big refactor 14599 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14600 soname_spec='$libname$release$shared_ext$major' 14601 shlibpath_var=LD_LIBRARY_PATH 14602 case $host_vendor in 14603 sni) 14604 shlibpath_overrides_runpath=no 14605 need_lib_prefix=no 14606 runpath_var=LD_RUN_PATH 14607 ;; 14608 siemens) 14609 need_lib_prefix=no 14610 ;; 14611 motorola) 14612 need_lib_prefix=no 14613 need_version=no 14614 shlibpath_overrides_runpath=no 14615 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 14616 ;; 14617 esac 14618 ;; 14619 14620sysv4*MP*) 14621 if test -d /usr/nec; then 14622 version_type=linux # correct to gnu/linux during the next big refactor 14623 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 14624 soname_spec='$libname$shared_ext.$major' 14625 shlibpath_var=LD_LIBRARY_PATH 14626 fi 14627 ;; 14628 14629sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 14630 version_type=sco 14631 need_lib_prefix=no 14632 need_version=no 14633 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 14634 soname_spec='$libname$release$shared_ext$major' 14635 shlibpath_var=LD_LIBRARY_PATH 14636 shlibpath_overrides_runpath=yes 14637 hardcode_into_libs=yes 14638 if test yes = "$with_gnu_ld"; then 14639 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 14640 else 14641 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 14642 case $host_os in 14643 sco3.2v5*) 14644 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 14645 ;; 14646 esac 14647 fi 14648 sys_lib_dlsearch_path_spec='/usr/lib' 14649 ;; 14650 14651tpf*) 14652 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 14653 version_type=linux # correct to gnu/linux during the next big refactor 14654 need_lib_prefix=no 14655 need_version=no 14656 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14657 shlibpath_var=LD_LIBRARY_PATH 14658 shlibpath_overrides_runpath=no 14659 hardcode_into_libs=yes 14660 ;; 14661 14662uts4*) 14663 version_type=linux # correct to gnu/linux during the next big refactor 14664 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14665 soname_spec='$libname$release$shared_ext$major' 14666 shlibpath_var=LD_LIBRARY_PATH 14667 ;; 14668 14669*) 14670 dynamic_linker=no 14671 ;; 14672esac 14673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 14674$as_echo "$dynamic_linker" >&6; } 14675test no = "$dynamic_linker" && can_build_shared=no 14676 14677variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 14678if test yes = "$GCC"; then 14679 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 14680fi 14681 14682if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 14683 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 14684fi 14685 14686if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 14687 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 14688fi 14689 14690# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 14691configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 14692 14693# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 14694func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 14695 14696# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 14697configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 14796$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 14797hardcode_action= 14798if test -n "$hardcode_libdir_flag_spec" || 14799 test -n "$runpath_var" || 14800 test yes = "$hardcode_automatic"; then 14801 14802 # We can hardcode non-existent directories. 14803 if test no != "$hardcode_direct" && 14804 # If the only mechanism to avoid hardcoding is shlibpath_var, we 14805 # have to relink, otherwise we might link with an installed library 14806 # when we should be linking with a yet-to-be-installed one 14807 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 14808 test no != "$hardcode_minus_L"; then 14809 # Linking always hardcodes the temporary library directory. 14810 hardcode_action=relink 14811 else 14812 # We can link without hardcoding, and we can hardcode nonexisting dirs. 14813 hardcode_action=immediate 14814 fi 14815else 14816 # We cannot hardcode anything, or else we can only hardcode existing 14817 # directories. 14818 hardcode_action=unsupported 14819fi 14820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 14821$as_echo "$hardcode_action" >&6; } 14822 14823if test relink = "$hardcode_action" || 14824 test yes = "$inherit_rpath"; then 14825 # Fast installation is not supported 14826 enable_fast_install=no 14827elif test yes = "$shlibpath_overrides_runpath" || 14828 test no = "$enable_shared"; then 14829 # Fast installation is not necessary 14830 enable_fast_install=needless 14831fi 14832 14833 14834 14835 14836 14837 14838 if test yes != "$enable_dlopen"; then 14839 enable_dlopen=unknown 14840 enable_dlopen_self=unknown 14841 enable_dlopen_self_static=unknown 14842else 14843 lt_cv_dlopen=no 14844 lt_cv_dlopen_libs= 14845 14846 case $host_os in 14847 beos*) 14848 lt_cv_dlopen=load_add_on 14849 lt_cv_dlopen_libs= 14850 lt_cv_dlopen_self=yes 14851 ;; 14852 14853 mingw* | pw32* | cegcc*) 14854 lt_cv_dlopen=LoadLibrary 14855 lt_cv_dlopen_libs= 14856 ;; 14857 14858 cygwin*) 14859 lt_cv_dlopen=dlopen 14860 lt_cv_dlopen_libs= 14861 ;; 14862 14863 darwin*) 14864 # if libdl is installed we need to link against it 14865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 14866$as_echo_n "checking for dlopen in -ldl... " >&6; } 14867if ${ac_cv_lib_dl_dlopen+:} false; then : 14868 $as_echo_n "(cached) " >&6 14869else 14870 ac_check_lib_save_LIBS=$LIBS 14871LIBS="-ldl $LIBS" 14872cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14873/* end confdefs.h. */ 14874 14875/* Override any GCC internal prototype to avoid an error. 14876 Use char because int might match the return type of a GCC 14877 builtin and then its argument prototype would still apply. */ 14878#ifdef __cplusplus 14879extern "C" 14880#endif 14881char dlopen (); 14882int 14883main () 14884{ 14885return dlopen (); 14886 ; 14887 return 0; 14888} 14889_ACEOF 14890if ac_fn_c_try_link "$LINENO"; then : 14891 ac_cv_lib_dl_dlopen=yes 14892else 14893 ac_cv_lib_dl_dlopen=no 14894fi 14895rm -f core conftest.err conftest.$ac_objext \ 14896 conftest$ac_exeext conftest.$ac_ext 14897LIBS=$ac_check_lib_save_LIBS 14898fi 14899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 14900$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 14901if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 14902 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 14903else 14904 14905 lt_cv_dlopen=dyld 14906 lt_cv_dlopen_libs= 14907 lt_cv_dlopen_self=yes 14908 14909fi 14910 14911 ;; 14912 14913 tpf*) 14914 # Don't try to run any link tests for TPF. We know it's impossible 14915 # because TPF is a cross-compiler, and we know how we open DSOs. 14916 lt_cv_dlopen=dlopen 14917 lt_cv_dlopen_libs= 14918 lt_cv_dlopen_self=no 14919 ;; 14920 14921 *) 14922 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 14923if test "x$ac_cv_func_shl_load" = xyes; then : 14924 lt_cv_dlopen=shl_load 14925else 14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 14927$as_echo_n "checking for shl_load in -ldld... " >&6; } 14928if ${ac_cv_lib_dld_shl_load+:} false; then : 14929 $as_echo_n "(cached) " >&6 14930else 14931 ac_check_lib_save_LIBS=$LIBS 14932LIBS="-ldld $LIBS" 14933cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14934/* end confdefs.h. */ 14935 14936/* Override any GCC internal prototype to avoid an error. 14937 Use char because int might match the return type of a GCC 14938 builtin and then its argument prototype would still apply. */ 14939#ifdef __cplusplus 14940extern "C" 14941#endif 14942char shl_load (); 14943int 14944main () 14945{ 14946return shl_load (); 14947 ; 14948 return 0; 14949} 14950_ACEOF 14951if ac_fn_c_try_link "$LINENO"; then : 14952 ac_cv_lib_dld_shl_load=yes 14953else 14954 ac_cv_lib_dld_shl_load=no 14955fi 14956rm -f core conftest.err conftest.$ac_objext \ 14957 conftest$ac_exeext conftest.$ac_ext 14958LIBS=$ac_check_lib_save_LIBS 14959fi 14960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 14961$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 14962if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 14963 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 14964else 14965 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 14966if test "x$ac_cv_func_dlopen" = xyes; then : 14967 lt_cv_dlopen=dlopen 14968else 14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 14970$as_echo_n "checking for dlopen in -ldl... " >&6; } 14971if ${ac_cv_lib_dl_dlopen+:} false; then : 14972 $as_echo_n "(cached) " >&6 14973else 14974 ac_check_lib_save_LIBS=$LIBS 14975LIBS="-ldl $LIBS" 14976cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14977/* end confdefs.h. */ 14978 14979/* Override any GCC internal prototype to avoid an error. 14980 Use char because int might match the return type of a GCC 14981 builtin and then its argument prototype would still apply. */ 14982#ifdef __cplusplus 14983extern "C" 14984#endif 14985char dlopen (); 14986int 14987main () 14988{ 14989return dlopen (); 14990 ; 14991 return 0; 14992} 14993_ACEOF 14994if ac_fn_c_try_link "$LINENO"; then : 14995 ac_cv_lib_dl_dlopen=yes 14996else 14997 ac_cv_lib_dl_dlopen=no 14998fi 14999rm -f core conftest.err conftest.$ac_objext \ 15000 conftest$ac_exeext conftest.$ac_ext 15001LIBS=$ac_check_lib_save_LIBS 15002fi 15003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 15004$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 15005if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 15006 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 15007else 15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 15009$as_echo_n "checking for dlopen in -lsvld... " >&6; } 15010if ${ac_cv_lib_svld_dlopen+:} false; then : 15011 $as_echo_n "(cached) " >&6 15012else 15013 ac_check_lib_save_LIBS=$LIBS 15014LIBS="-lsvld $LIBS" 15015cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15016/* end confdefs.h. */ 15017 15018/* Override any GCC internal prototype to avoid an error. 15019 Use char because int might match the return type of a GCC 15020 builtin and then its argument prototype would still apply. */ 15021#ifdef __cplusplus 15022extern "C" 15023#endif 15024char dlopen (); 15025int 15026main () 15027{ 15028return dlopen (); 15029 ; 15030 return 0; 15031} 15032_ACEOF 15033if ac_fn_c_try_link "$LINENO"; then : 15034 ac_cv_lib_svld_dlopen=yes 15035else 15036 ac_cv_lib_svld_dlopen=no 15037fi 15038rm -f core conftest.err conftest.$ac_objext \ 15039 conftest$ac_exeext conftest.$ac_ext 15040LIBS=$ac_check_lib_save_LIBS 15041fi 15042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 15043$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 15044if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 15045 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 15046else 15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 15048$as_echo_n "checking for dld_link in -ldld... " >&6; } 15049if ${ac_cv_lib_dld_dld_link+:} false; then : 15050 $as_echo_n "(cached) " >&6 15051else 15052 ac_check_lib_save_LIBS=$LIBS 15053LIBS="-ldld $LIBS" 15054cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15055/* end confdefs.h. */ 15056 15057/* Override any GCC internal prototype to avoid an error. 15058 Use char because int might match the return type of a GCC 15059 builtin and then its argument prototype would still apply. */ 15060#ifdef __cplusplus 15061extern "C" 15062#endif 15063char dld_link (); 15064int 15065main () 15066{ 15067return dld_link (); 15068 ; 15069 return 0; 15070} 15071_ACEOF 15072if ac_fn_c_try_link "$LINENO"; then : 15073 ac_cv_lib_dld_dld_link=yes 15074else 15075 ac_cv_lib_dld_dld_link=no 15076fi 15077rm -f core conftest.err conftest.$ac_objext \ 15078 conftest$ac_exeext conftest.$ac_ext 15079LIBS=$ac_check_lib_save_LIBS 15080fi 15081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 15082$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 15083if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 15084 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 15085fi 15086 15087 15088fi 15089 15090 15091fi 15092 15093 15094fi 15095 15096 15097fi 15098 15099 15100fi 15101 15102 ;; 15103 esac 15104 15105 if test no = "$lt_cv_dlopen"; then 15106 enable_dlopen=no 15107 else 15108 enable_dlopen=yes 15109 fi 15110 15111 case $lt_cv_dlopen in 15112 dlopen) 15113 save_CPPFLAGS=$CPPFLAGS 15114 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 15115 15116 save_LDFLAGS=$LDFLAGS 15117 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 15118 15119 save_LIBS=$LIBS 15120 LIBS="$lt_cv_dlopen_libs $LIBS" 15121 15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 15123$as_echo_n "checking whether a program can dlopen itself... " >&6; } 15124if ${lt_cv_dlopen_self+:} false; then : 15125 $as_echo_n "(cached) " >&6 15126else 15127 if test yes = "$cross_compiling"; then : 15128 lt_cv_dlopen_self=cross 15129else 15130 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 15131 lt_status=$lt_dlunknown 15132 cat > conftest.$ac_ext <<_LT_EOF 15133#line $LINENO "configure" 15134#include "confdefs.h" 15135 15136#if HAVE_DLFCN_H 15137#include <dlfcn.h> 15138#endif 15139 15140#include <stdio.h> 15141 15142#ifdef RTLD_GLOBAL 15143# define LT_DLGLOBAL RTLD_GLOBAL 15144#else 15145# ifdef DL_GLOBAL 15146# define LT_DLGLOBAL DL_GLOBAL 15147# else 15148# define LT_DLGLOBAL 0 15149# endif 15150#endif 15151 15152/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 15153 find out it does not work in some platform. */ 15154#ifndef LT_DLLAZY_OR_NOW 15155# ifdef RTLD_LAZY 15156# define LT_DLLAZY_OR_NOW RTLD_LAZY 15157# else 15158# ifdef DL_LAZY 15159# define LT_DLLAZY_OR_NOW DL_LAZY 15160# else 15161# ifdef RTLD_NOW 15162# define LT_DLLAZY_OR_NOW RTLD_NOW 15163# else 15164# ifdef DL_NOW 15165# define LT_DLLAZY_OR_NOW DL_NOW 15166# else 15167# define LT_DLLAZY_OR_NOW 0 15168# endif 15169# endif 15170# endif 15171# endif 15172#endif 15173 15174/* When -fvisibility=hidden is used, assume the code has been annotated 15175 correspondingly for the symbols needed. */ 15176#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 15177int fnord () __attribute__((visibility("default"))); 15178#endif 15179 15180int fnord () { return 42; } 15181int main () 15182{ 15183 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 15184 int status = $lt_dlunknown; 15185 15186 if (self) 15187 { 15188 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 15189 else 15190 { 15191 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 15192 else puts (dlerror ()); 15193 } 15194 /* dlclose (self); */ 15195 } 15196 else 15197 puts (dlerror ()); 15198 15199 return status; 15200} 15201_LT_EOF 15202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 15203 (eval $ac_link) 2>&5 15204 ac_status=$? 15205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15206 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 15207 (./conftest; exit; ) >&5 2>/dev/null 15208 lt_status=$? 15209 case x$lt_status in 15210 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 15211 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 15212 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 15213 esac 15214 else : 15215 # compilation failed 15216 lt_cv_dlopen_self=no 15217 fi 15218fi 15219rm -fr conftest* 15220 15221 15222fi 15223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 15224$as_echo "$lt_cv_dlopen_self" >&6; } 15225 15226 if test yes = "$lt_cv_dlopen_self"; then 15227 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 15229$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 15230if ${lt_cv_dlopen_self_static+:} false; then : 15231 $as_echo_n "(cached) " >&6 15232else 15233 if test yes = "$cross_compiling"; then : 15234 lt_cv_dlopen_self_static=cross 15235else 15236 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 15237 lt_status=$lt_dlunknown 15238 cat > conftest.$ac_ext <<_LT_EOF 15239#line $LINENO "configure" 15240#include "confdefs.h" 15241 15242#if HAVE_DLFCN_H 15243#include <dlfcn.h> 15244#endif 15245 15246#include <stdio.h> 15247 15248#ifdef RTLD_GLOBAL 15249# define LT_DLGLOBAL RTLD_GLOBAL 15250#else 15251# ifdef DL_GLOBAL 15252# define LT_DLGLOBAL DL_GLOBAL 15253# else 15254# define LT_DLGLOBAL 0 15255# endif 15256#endif 15257 15258/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 15259 find out it does not work in some platform. */ 15260#ifndef LT_DLLAZY_OR_NOW 15261# ifdef RTLD_LAZY 15262# define LT_DLLAZY_OR_NOW RTLD_LAZY 15263# else 15264# ifdef DL_LAZY 15265# define LT_DLLAZY_OR_NOW DL_LAZY 15266# else 15267# ifdef RTLD_NOW 15268# define LT_DLLAZY_OR_NOW RTLD_NOW 15269# else 15270# ifdef DL_NOW 15271# define LT_DLLAZY_OR_NOW DL_NOW 15272# else 15273# define LT_DLLAZY_OR_NOW 0 15274# endif 15275# endif 15276# endif 15277# endif 15278#endif 15279 15280/* When -fvisibility=hidden is used, assume the code has been annotated 15281 correspondingly for the symbols needed. */ 15282#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 15283int fnord () __attribute__((visibility("default"))); 15284#endif 15285 15286int fnord () { return 42; } 15287int main () 15288{ 15289 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 15290 int status = $lt_dlunknown; 15291 15292 if (self) 15293 { 15294 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 15295 else 15296 { 15297 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 15298 else puts (dlerror ()); 15299 } 15300 /* dlclose (self); */ 15301 } 15302 else 15303 puts (dlerror ()); 15304 15305 return status; 15306} 15307_LT_EOF 15308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 15309 (eval $ac_link) 2>&5 15310 ac_status=$? 15311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15312 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 15313 (./conftest; exit; ) >&5 2>/dev/null 15314 lt_status=$? 15315 case x$lt_status in 15316 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 15317 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 15318 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 15319 esac 15320 else : 15321 # compilation failed 15322 lt_cv_dlopen_self_static=no 15323 fi 15324fi 15325rm -fr conftest* 15326 15327 15328fi 15329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 15330$as_echo "$lt_cv_dlopen_self_static" >&6; } 15331 fi 15332 15333 CPPFLAGS=$save_CPPFLAGS 15334 LDFLAGS=$save_LDFLAGS 15335 LIBS=$save_LIBS 15336 ;; 15337 esac 15338 15339 case $lt_cv_dlopen_self in 15340 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 15341 *) enable_dlopen_self=unknown ;; 15342 esac 15343 15344 case $lt_cv_dlopen_self_static in 15345 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 15346 *) enable_dlopen_self_static=unknown ;; 15347 esac 15348fi 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366striplib= 15367old_striplib= 15368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 15369$as_echo_n "checking whether stripping libraries is possible... " >&6; } 15370if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 15371 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 15372 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15374$as_echo "yes" >&6; } 15375else 15376# FIXME - insert some real tests, host_os isn't really good enough 15377 case $host_os in 15378 darwin*) 15379 if test -n "$STRIP"; then 15380 striplib="$STRIP -x" 15381 old_striplib="$STRIP -S" 15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15383$as_echo "yes" >&6; } 15384 else 15385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15386$as_echo "no" >&6; } 15387 fi 15388 ;; 15389 *) 15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15391$as_echo "no" >&6; } 15392 ;; 15393 esac 15394fi 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 # Report what library types will actually be built 15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 15409$as_echo_n "checking if libtool supports shared libraries... " >&6; } 15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 15411$as_echo "$can_build_shared" >&6; } 15412 15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 15414$as_echo_n "checking whether to build shared libraries... " >&6; } 15415 test no = "$can_build_shared" && enable_shared=no 15416 15417 # On AIX, shared libraries and static libraries use the same namespace, and 15418 # are all built from PIC. 15419 case $host_os in 15420 aix3*) 15421 test yes = "$enable_shared" && enable_static=no 15422 if test -n "$RANLIB"; then 15423 archive_cmds="$archive_cmds~\$RANLIB \$lib" 15424 postinstall_cmds='$RANLIB $lib' 15425 fi 15426 ;; 15427 15428 aix[4-9]*) 15429 if test ia64 != "$host_cpu"; then 15430 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 15431 yes,aix,yes) ;; # shared object as lib.so file only 15432 yes,svr4,*) ;; # shared object as lib.so archive member only 15433 yes,*) enable_static=no ;; # shared object in lib.a archive as well 15434 esac 15435 fi 15436 ;; 15437 esac 15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 15439$as_echo "$enable_shared" >&6; } 15440 15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 15442$as_echo_n "checking whether to build static libraries... " >&6; } 15443 # Make sure either enable_shared or enable_static is yes. 15444 test yes = "$enable_shared" || enable_static=yes 15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 15446$as_echo "$enable_static" >&6; } 15447 15448 15449 15450 15451fi 15452ac_ext=c 15453ac_cpp='$CPP $CPPFLAGS' 15454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15456ac_compiler_gnu=$ac_cv_c_compiler_gnu 15457 15458CC=$lt_save_CC 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 ac_config_commands="$ac_config_commands libtool" 15475 15476 15477 15478 15479# Only expand once: 15480 15481 15482 15483 15484 # Check whether --enable-ld-version-script was given. 15485if test "${enable_ld_version_script+set}" = set; then : 15486 enableval=$enable_ld_version_script; have_ld_version_script=$enableval 15487else 15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LD -Wl,--version-script works" >&5 15489$as_echo_n "checking if LD -Wl,--version-script works... " >&6; } 15490if ${gl_cv_sys_ld_version_script+:} false; then : 15491 $as_echo_n "(cached) " >&6 15492else 15493 gl_cv_sys_ld_version_script=no 15494 save_LDFLAGS=$LDFLAGS 15495 LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" 15496 echo foo >conftest.map 15497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15498/* end confdefs.h. */ 15499 15500int 15501main () 15502{ 15503 15504 ; 15505 return 0; 15506} 15507_ACEOF 15508if ac_fn_c_try_link "$LINENO"; then : 15509 15510else 15511 cat > conftest.map <<EOF 15512VERS_1 { 15513 global: sym; 15514}; 15515 15516VERS_2 { 15517 global: sym; 15518} VERS_1; 15519EOF 15520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15521/* end confdefs.h. */ 15522 15523int 15524main () 15525{ 15526 15527 ; 15528 return 0; 15529} 15530_ACEOF 15531if ac_fn_c_try_link "$LINENO"; then : 15532 gl_cv_sys_ld_version_script=yes 15533fi 15534rm -f core conftest.err conftest.$ac_objext \ 15535 conftest$ac_exeext conftest.$ac_ext 15536fi 15537rm -f core conftest.err conftest.$ac_objext \ 15538 conftest$ac_exeext conftest.$ac_ext 15539 rm -f conftest.map 15540 LDFLAGS=$save_LDFLAGS 15541fi 15542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_ld_version_script" >&5 15543$as_echo "$gl_cv_sys_ld_version_script" >&6; } 15544 have_ld_version_script=$gl_cv_sys_ld_version_script 15545fi 15546 15547 if test "$have_ld_version_script" = yes; then 15548 HAVE_LD_VERSION_SCRIPT_TRUE= 15549 HAVE_LD_VERSION_SCRIPT_FALSE='#' 15550else 15551 HAVE_LD_VERSION_SCRIPT_TRUE='#' 15552 HAVE_LD_VERSION_SCRIPT_FALSE= 15553fi 15554 15555 15556 15557 15558if test "x${GCC}" = "xyes"; then : 15559 VKD3D_CFLAGS="-Wall -pipe" 15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -std=c99" >&5 15561$as_echo_n "checking whether the compiler supports -std=c99... " >&6; } 15562if ${vkd3d_cv_cflags__std_c99+:} false; then : 15563 $as_echo_n "(cached) " >&6 15564else 15565 vkd3d_cflags_saved=$CFLAGS 15566 CFLAGS="$CFLAGS -std=c99 -Werror" 15567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15568/* end confdefs.h. */ 15569int main(int argc, char **argv) { return 0; } 15570_ACEOF 15571if ac_fn_c_try_link "$LINENO"; then : 15572 vkd3d_cv_cflags__std_c99=yes 15573else 15574 vkd3d_cv_cflags__std_c99=no 15575fi 15576rm -f core conftest.err conftest.$ac_objext \ 15577 conftest$ac_exeext conftest.$ac_ext 15578 CFLAGS=$vkd3d_cflags_saved 15579fi 15580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vkd3d_cv_cflags__std_c99" >&5 15581$as_echo "$vkd3d_cv_cflags__std_c99" >&6; } 15582 if test "x$vkd3d_cv_cflags__std_c99" = xyes; then : 15583 VKD3D_CFLAGS="$VKD3D_CFLAGS -std=c99" 15584fi 15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5 15586$as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; } 15587if ${vkd3d_cv_cflags__Wdeclaration_after_statement+:} false; then : 15588 $as_echo_n "(cached) " >&6 15589else 15590 vkd3d_cflags_saved=$CFLAGS 15591 CFLAGS="$CFLAGS -Wdeclaration-after-statement -Werror" 15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15593/* end confdefs.h. */ 15594int main(int argc, char **argv) { return 0; } 15595_ACEOF 15596if ac_fn_c_try_link "$LINENO"; then : 15597 vkd3d_cv_cflags__Wdeclaration_after_statement=yes 15598else 15599 vkd3d_cv_cflags__Wdeclaration_after_statement=no 15600fi 15601rm -f core conftest.err conftest.$ac_objext \ 15602 conftest$ac_exeext conftest.$ac_ext 15603 CFLAGS=$vkd3d_cflags_saved 15604fi 15605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vkd3d_cv_cflags__Wdeclaration_after_statement" >&5 15606$as_echo "$vkd3d_cv_cflags__Wdeclaration_after_statement" >&6; } 15607 if test "x$vkd3d_cv_cflags__Wdeclaration_after_statement" = xyes; then : 15608 VKD3D_CFLAGS="$VKD3D_CFLAGS -Wdeclaration-after-statement" 15609fi 15610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wimplicit-fallthrough" >&5 15611$as_echo_n "checking whether the compiler supports -Wimplicit-fallthrough... " >&6; } 15612if ${vkd3d_cv_cflags__Wimplicit_fallthrough+:} false; then : 15613 $as_echo_n "(cached) " >&6 15614else 15615 vkd3d_cflags_saved=$CFLAGS 15616 CFLAGS="$CFLAGS -Wimplicit-fallthrough -Werror" 15617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15618/* end confdefs.h. */ 15619int main(int argc, char **argv) { return 0; } 15620_ACEOF 15621if ac_fn_c_try_link "$LINENO"; then : 15622 vkd3d_cv_cflags__Wimplicit_fallthrough=yes 15623else 15624 vkd3d_cv_cflags__Wimplicit_fallthrough=no 15625fi 15626rm -f core conftest.err conftest.$ac_objext \ 15627 conftest$ac_exeext conftest.$ac_ext 15628 CFLAGS=$vkd3d_cflags_saved 15629fi 15630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vkd3d_cv_cflags__Wimplicit_fallthrough" >&5 15631$as_echo "$vkd3d_cv_cflags__Wimplicit_fallthrough" >&6; } 15632 if test "x$vkd3d_cv_cflags__Wimplicit_fallthrough" = xyes; then : 15633 VKD3D_CFLAGS="$VKD3D_CFLAGS -Wimplicit-fallthrough" 15634fi 15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wmissing-prototypes" >&5 15636$as_echo_n "checking whether the compiler supports -Wmissing-prototypes... " >&6; } 15637if ${vkd3d_cv_cflags__Wmissing_prototypes+:} false; then : 15638 $as_echo_n "(cached) " >&6 15639else 15640 vkd3d_cflags_saved=$CFLAGS 15641 CFLAGS="$CFLAGS -Wmissing-prototypes -Werror" 15642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15643/* end confdefs.h. */ 15644int main(int argc, char **argv) { return 0; } 15645_ACEOF 15646if ac_fn_c_try_link "$LINENO"; then : 15647 vkd3d_cv_cflags__Wmissing_prototypes=yes 15648else 15649 vkd3d_cv_cflags__Wmissing_prototypes=no 15650fi 15651rm -f core conftest.err conftest.$ac_objext \ 15652 conftest$ac_exeext conftest.$ac_ext 15653 CFLAGS=$vkd3d_cflags_saved 15654fi 15655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vkd3d_cv_cflags__Wmissing_prototypes" >&5 15656$as_echo "$vkd3d_cv_cflags__Wmissing_prototypes" >&6; } 15657 if test "x$vkd3d_cv_cflags__Wmissing_prototypes" = xyes; then : 15658 VKD3D_CFLAGS="$VKD3D_CFLAGS -Wmissing-prototypes" 15659fi 15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5 15661$as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; } 15662if ${vkd3d_cv_cflags__Wunused_but_set_parameter+:} false; then : 15663 $as_echo_n "(cached) " >&6 15664else 15665 vkd3d_cflags_saved=$CFLAGS 15666 CFLAGS="$CFLAGS -Wunused-but-set-parameter -Werror" 15667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15668/* end confdefs.h. */ 15669int main(int argc, char **argv) { return 0; } 15670_ACEOF 15671if ac_fn_c_try_link "$LINENO"; then : 15672 vkd3d_cv_cflags__Wunused_but_set_parameter=yes 15673else 15674 vkd3d_cv_cflags__Wunused_but_set_parameter=no 15675fi 15676rm -f core conftest.err conftest.$ac_objext \ 15677 conftest$ac_exeext conftest.$ac_ext 15678 CFLAGS=$vkd3d_cflags_saved 15679fi 15680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vkd3d_cv_cflags__Wunused_but_set_parameter" >&5 15681$as_echo "$vkd3d_cv_cflags__Wunused_but_set_parameter" >&6; } 15682 if test "x$vkd3d_cv_cflags__Wunused_but_set_parameter" = xyes; then : 15683 VKD3D_CFLAGS="$VKD3D_CFLAGS -Wunused-but-set-parameter" 15684fi 15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5 15686$as_echo_n "checking whether the compiler supports -Wvla... " >&6; } 15687if ${vkd3d_cv_cflags__Wvla+:} false; then : 15688 $as_echo_n "(cached) " >&6 15689else 15690 vkd3d_cflags_saved=$CFLAGS 15691 CFLAGS="$CFLAGS -Wvla -Werror" 15692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15693/* end confdefs.h. */ 15694int main(int argc, char **argv) { return 0; } 15695_ACEOF 15696if ac_fn_c_try_link "$LINENO"; then : 15697 vkd3d_cv_cflags__Wvla=yes 15698else 15699 vkd3d_cv_cflags__Wvla=no 15700fi 15701rm -f core conftest.err conftest.$ac_objext \ 15702 conftest$ac_exeext conftest.$ac_ext 15703 CFLAGS=$vkd3d_cflags_saved 15704fi 15705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vkd3d_cv_cflags__Wvla" >&5 15706$as_echo "$vkd3d_cv_cflags__Wvla" >&6; } 15707 if test "x$vkd3d_cv_cflags__Wvla" = xyes; then : 15708 VKD3D_CFLAGS="$VKD3D_CFLAGS -Wvla" 15709fi 15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5 15711$as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; } 15712if ${vkd3d_cv_cflags__Wpointer_arith+:} false; then : 15713 $as_echo_n "(cached) " >&6 15714else 15715 vkd3d_cflags_saved=$CFLAGS 15716 CFLAGS="$CFLAGS -Wpointer-arith -Werror" 15717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15718/* end confdefs.h. */ 15719int main(int argc, char **argv) { return 0; } 15720_ACEOF 15721if ac_fn_c_try_link "$LINENO"; then : 15722 vkd3d_cv_cflags__Wpointer_arith=yes 15723else 15724 vkd3d_cv_cflags__Wpointer_arith=no 15725fi 15726rm -f core conftest.err conftest.$ac_objext \ 15727 conftest$ac_exeext conftest.$ac_ext 15728 CFLAGS=$vkd3d_cflags_saved 15729fi 15730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vkd3d_cv_cflags__Wpointer_arith" >&5 15731$as_echo "$vkd3d_cv_cflags__Wpointer_arith" >&6; } 15732 if test "x$vkd3d_cv_cflags__Wpointer_arith" = xyes; then : 15733 VKD3D_CFLAGS="$VKD3D_CFLAGS -Wpointer-arith" 15734fi 15735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--no-undefined" >&5 15736$as_echo_n "checking whether the compiler supports -Wl,--no-undefined... " >&6; } 15737if ${vkd3d_cv_cflags__Wl___no_undefined+:} false; then : 15738 $as_echo_n "(cached) " >&6 15739else 15740 vkd3d_cflags_saved=$CFLAGS 15741 CFLAGS="$CFLAGS -Wl,--no-undefined -Werror" 15742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15743/* end confdefs.h. */ 15744int main(int argc, char **argv) { return 0; } 15745_ACEOF 15746if ac_fn_c_try_link "$LINENO"; then : 15747 vkd3d_cv_cflags__Wl___no_undefined=yes 15748else 15749 vkd3d_cv_cflags__Wl___no_undefined=no 15750fi 15751rm -f core conftest.err conftest.$ac_objext \ 15752 conftest$ac_exeext conftest.$ac_ext 15753 CFLAGS=$vkd3d_cflags_saved 15754fi 15755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vkd3d_cv_cflags__Wl___no_undefined" >&5 15756$as_echo "$vkd3d_cv_cflags__Wl___no_undefined" >&6; } 15757 if test "x$vkd3d_cv_cflags__Wl___no_undefined" = xyes; then : 15758 VKD3D_CFLAGS="$VKD3D_CFLAGS -Wl,--no-undefined" 15759fi 15760fi 15761 15762CROSSTARGET32=no 15763 15764vkd3d_mingw_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc " 15765for ac_prog in $vkd3d_mingw_list 15766do 15767 # Extract the first word of "$ac_prog", so it can be a program name with args. 15768set dummy $ac_prog; ac_word=$2 15769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15770$as_echo_n "checking for $ac_word... " >&6; } 15771if ${ac_cv_prog_CROSSCC32+:} false; then : 15772 $as_echo_n "(cached) " >&6 15773else 15774 if test -n "$CROSSCC32"; then 15775 ac_cv_prog_CROSSCC32="$CROSSCC32" # Let the user override the test. 15776else 15777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15778for as_dir in $PATH 15779do 15780 IFS=$as_save_IFS 15781 test -z "$as_dir" && as_dir=. 15782 for ac_exec_ext in '' $ac_executable_extensions; do 15783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15784 ac_cv_prog_CROSSCC32="$ac_prog" 15785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15786 break 2 15787 fi 15788done 15789 done 15790IFS=$as_save_IFS 15791 15792fi 15793fi 15794CROSSCC32=$ac_cv_prog_CROSSCC32 15795if test -n "$CROSSCC32"; then 15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC32" >&5 15797$as_echo "$CROSSCC32" >&6; } 15798else 15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15800$as_echo "no" >&6; } 15801fi 15802 15803 15804 test -n "$CROSSCC32" && break 15805done 15806test -n "$CROSSCC32" || CROSSCC32="no" 15807 15808if test "x$CROSSCC32" = xno; then : 15809 15810else 15811 vkd3d_cc_saved="$CC" 15812 CC=$CROSSCC32 15813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5 15814$as_echo_n "checking whether $CC works... " >&6; } 15815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15816/* end confdefs.h. */ 15817 15818int 15819main () 15820{ 15821 15822 ; 15823 return 0; 15824} 15825_ACEOF 15826if ac_fn_c_try_compile "$LINENO"; then : 15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15828$as_echo "yes" >&6; } 15829 CROSSTARGET32=`expr "$CC" : '\(.*\)-gcc'` 15830else 15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15832$as_echo "no" >&6; } 15833fi 15834rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15835 CC="$vkd3d_cc_saved" 15836fi 15837 15838CROSSTARGET64=no 15839 15840vkd3d_mingw_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc " 15841for ac_prog in $vkd3d_mingw_list 15842do 15843 # Extract the first word of "$ac_prog", so it can be a program name with args. 15844set dummy $ac_prog; ac_word=$2 15845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15846$as_echo_n "checking for $ac_word... " >&6; } 15847if ${ac_cv_prog_CROSSCC64+:} false; then : 15848 $as_echo_n "(cached) " >&6 15849else 15850 if test -n "$CROSSCC64"; then 15851 ac_cv_prog_CROSSCC64="$CROSSCC64" # Let the user override the test. 15852else 15853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15854for as_dir in $PATH 15855do 15856 IFS=$as_save_IFS 15857 test -z "$as_dir" && as_dir=. 15858 for ac_exec_ext in '' $ac_executable_extensions; do 15859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15860 ac_cv_prog_CROSSCC64="$ac_prog" 15861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15862 break 2 15863 fi 15864done 15865 done 15866IFS=$as_save_IFS 15867 15868fi 15869fi 15870CROSSCC64=$ac_cv_prog_CROSSCC64 15871if test -n "$CROSSCC64"; then 15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC64" >&5 15873$as_echo "$CROSSCC64" >&6; } 15874else 15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15876$as_echo "no" >&6; } 15877fi 15878 15879 15880 test -n "$CROSSCC64" && break 15881done 15882test -n "$CROSSCC64" || CROSSCC64="no" 15883 15884if test "x$CROSSCC64" = xno; then : 15885 15886else 15887 vkd3d_cc_saved="$CC" 15888 CC=$CROSSCC64 15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5 15890$as_echo_n "checking whether $CC works... " >&6; } 15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15892/* end confdefs.h. */ 15893 15894int 15895main () 15896{ 15897 15898 ; 15899 return 0; 15900} 15901_ACEOF 15902if ac_fn_c_try_compile "$LINENO"; then : 15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15904$as_echo "yes" >&6; } 15905 CROSSTARGET64=`expr "$CC" : '\(.*\)-gcc'` 15906else 15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15908$as_echo "no" >&6; } 15909fi 15910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15911 CC="$vkd3d_cc_saved" 15912fi 15913 15914 15915for ac_header in dlfcn.h pthread.h \ 15916 vulkan/vulkan.h \ 15917 vulkan/spirv.h vulkan/GLSL.std.450.h \ 15918 spirv/unified1/spirv.h spirv/unified1/GLSL.std.450.h 15919do : 15920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 15921ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 15922if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 15923 cat >>confdefs.h <<_ACEOF 15924#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15925_ACEOF 15926 15927fi 15928 15929done 15930 15931if test "x$ac_cv_header_pthread_h" != "xyes"; then : 15932 as_fn_error $? "pthread.h not found." "$LINENO" 5 15933fi 15934if test "x$ac_cv_header_vulkan_vulkan_h" != "xyes"; then : 15935 as_fn_error $? "vulkan.h not found." "$LINENO" 5 15936fi 15937if test "x$ac_cv_header_spirv_unified1_spirv_h" != "xyes" \ 15938 -a "x$ac_cv_header_vulkan_spirv_h" != "xyes"; then : 15939 as_fn_error $? "spirv.h not found." "$LINENO" 5 15940fi 15941if test "x$ac_cv_header_spirv_unified1_GLSL_std_450_h" != "xyes" \ 15942 -a "x$ac_cv_header_vulkan_GLSL_std_450_h" != "xyes"; then : 15943 as_fn_error $? "GLSL.std.450.h not found." "$LINENO" 5 15944fi 15945 15946 15947 15948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether VK_HEADER_VERSION >= 113" >&5 15949$as_echo_n "checking whether VK_HEADER_VERSION >= 113... " >&6; } 15950if ${vkd3d_cv_vk_header_version_113+:} false; then : 15951 $as_echo_n "(cached) " >&6 15952else 15953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15954/* end confdefs.h. */ 15955#include <vulkan/vulkan.h> 15956 #if VK_HEADER_VERSION < 113 15957 #error "Vulkan headers are too old" 15958 #endif 15959 int main(void) { return 0; } 15960_ACEOF 15961if ac_fn_c_try_link "$LINENO"; then : 15962 vkd3d_cv_vk_header_version_113=yes 15963else 15964 vkd3d_cv_vk_header_version_113=no 15965fi 15966rm -f core conftest.err conftest.$ac_objext \ 15967 conftest$ac_exeext conftest.$ac_ext 15968fi 15969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vkd3d_cv_vk_header_version_113" >&5 15970$as_echo "$vkd3d_cv_vk_header_version_113" >&6; } 15971 15972if test "x$vkd3d_cv_vk_header_version_113" != "xyes"; then : 15973 as_fn_error $? "Vulkan headers are too old, 1.1.113 is required." "$LINENO" 5 15974fi 15975 15976 15977 15978ac_fn_c_check_decl "$LINENO" "SpvCapabilityDemoteToHelperInvocationEXT" "ac_cv_have_decl_SpvCapabilityDemoteToHelperInvocationEXT" " 15979#ifdef HAVE_SPIRV_UNIFIED1_SPIRV_H 15980# include \"spirv/unified1/spirv.h\" 15981#else 15982# include \"vulkan/spirv.h\" 15983#endif 15984" 15985if test "x$ac_cv_have_decl_SpvCapabilityDemoteToHelperInvocationEXT" = xyes; then : 15986 15987else 15988 as_fn_error $? "SPIR-V headers are too old." "$LINENO" 5 15989fi 15990 15991 15992ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h> 15993" 15994if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : 15995 ac_have_decl=1 15996else 15997 ac_have_decl=0 15998fi 15999 16000cat >>confdefs.h <<_ACEOF 16001#define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl 16002_ACEOF 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 16013 if test -n "$ac_tool_prefix"; then 16014 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 16015set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 16016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16017$as_echo_n "checking for $ac_word... " >&6; } 16018if ${ac_cv_path_PKG_CONFIG+:} false; then : 16019 $as_echo_n "(cached) " >&6 16020else 16021 case $PKG_CONFIG in 16022 [\\/]* | ?:[\\/]*) 16023 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16024 ;; 16025 *) 16026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16027for as_dir in $PATH 16028do 16029 IFS=$as_save_IFS 16030 test -z "$as_dir" && as_dir=. 16031 for ac_exec_ext in '' $ac_executable_extensions; do 16032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16033 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16035 break 2 16036 fi 16037done 16038 done 16039IFS=$as_save_IFS 16040 16041 ;; 16042esac 16043fi 16044PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16045if test -n "$PKG_CONFIG"; then 16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16047$as_echo "$PKG_CONFIG" >&6; } 16048else 16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16050$as_echo "no" >&6; } 16051fi 16052 16053 16054fi 16055if test -z "$ac_cv_path_PKG_CONFIG"; then 16056 ac_pt_PKG_CONFIG=$PKG_CONFIG 16057 # Extract the first word of "pkg-config", so it can be a program name with args. 16058set dummy pkg-config; ac_word=$2 16059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16060$as_echo_n "checking for $ac_word... " >&6; } 16061if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16062 $as_echo_n "(cached) " >&6 16063else 16064 case $ac_pt_PKG_CONFIG in 16065 [\\/]* | ?:[\\/]*) 16066 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16067 ;; 16068 *) 16069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16070for as_dir in $PATH 16071do 16072 IFS=$as_save_IFS 16073 test -z "$as_dir" && as_dir=. 16074 for ac_exec_ext in '' $ac_executable_extensions; do 16075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16076 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16078 break 2 16079 fi 16080done 16081 done 16082IFS=$as_save_IFS 16083 16084 ;; 16085esac 16086fi 16087ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16088if test -n "$ac_pt_PKG_CONFIG"; then 16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16090$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16091else 16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16093$as_echo "no" >&6; } 16094fi 16095 16096 if test "x$ac_pt_PKG_CONFIG" = x; then 16097 PKG_CONFIG="" 16098 else 16099 case $cross_compiling:$ac_tool_warned in 16100yes:) 16101{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16102$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16103ac_tool_warned=yes ;; 16104esac 16105 PKG_CONFIG=$ac_pt_PKG_CONFIG 16106 fi 16107else 16108 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16109fi 16110 16111fi 16112if test -n "$PKG_CONFIG"; then 16113 _pkg_min_version=0.9.0 16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16115$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16116 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16118$as_echo "yes" >&6; } 16119 else 16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16121$as_echo "no" >&6; } 16122 PKG_CONFIG="" 16123 fi 16124fi 16125 16126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5 16127$as_echo_n "checking for ceilf in -lm... " >&6; } 16128if ${ac_cv_lib_m_ceilf+:} false; then : 16129 $as_echo_n "(cached) " >&6 16130else 16131 ac_check_lib_save_LIBS=$LIBS 16132LIBS="-lm $LIBS" 16133cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16134/* end confdefs.h. */ 16135 16136/* Override any GCC internal prototype to avoid an error. 16137 Use char because int might match the return type of a GCC 16138 builtin and then its argument prototype would still apply. */ 16139#ifdef __cplusplus 16140extern "C" 16141#endif 16142char ceilf (); 16143int 16144main () 16145{ 16146return ceilf (); 16147 ; 16148 return 0; 16149} 16150_ACEOF 16151if ac_fn_c_try_link "$LINENO"; then : 16152 ac_cv_lib_m_ceilf=yes 16153else 16154 ac_cv_lib_m_ceilf=no 16155fi 16156rm -f core conftest.err conftest.$ac_objext \ 16157 conftest$ac_exeext conftest.$ac_ext 16158LIBS=$ac_check_lib_save_LIBS 16159fi 16160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5 16161$as_echo "$ac_cv_lib_m_ceilf" >&6; } 16162if test "x$ac_cv_lib_m_ceilf" = xyes; then : 16163 cat >>confdefs.h <<_ACEOF 16164#define HAVE_LIBM 1 16165_ACEOF 16166 16167 LIBS="-lm $LIBS" 16168 16169fi 16170 16171 16172 16173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 16174$as_echo_n "checking for dlopen in -ldl... " >&6; } 16175if ${ac_cv_lib_dl_dlopen+:} false; then : 16176 $as_echo_n "(cached) " >&6 16177else 16178 ac_check_lib_save_LIBS=$LIBS 16179LIBS="-ldl $LIBS" 16180cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16181/* end confdefs.h. */ 16182 16183/* Override any GCC internal prototype to avoid an error. 16184 Use char because int might match the return type of a GCC 16185 builtin and then its argument prototype would still apply. */ 16186#ifdef __cplusplus 16187extern "C" 16188#endif 16189char dlopen (); 16190int 16191main () 16192{ 16193return dlopen (); 16194 ; 16195 return 0; 16196} 16197_ACEOF 16198if ac_fn_c_try_link "$LINENO"; then : 16199 ac_cv_lib_dl_dlopen=yes 16200else 16201 ac_cv_lib_dl_dlopen=no 16202fi 16203rm -f core conftest.err conftest.$ac_objext \ 16204 conftest$ac_exeext conftest.$ac_ext 16205LIBS=$ac_check_lib_save_LIBS 16206fi 16207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 16208$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 16209if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 16210 DL_LIBS="-ldl" 16211else 16212 if test "$ac_cv_header_dlfnc_h" = "xyes"; then : 16213fi 16214fi 16215 16216 16217 16218vkd3d_pthread_found=no 16219 16220if test "x$PTHREAD_LIBS" != x; then : 16221 vkd3d_libs_saved="$LIBS" 16222LIBS="$LIBS $PTHREAD_LIBS" 16223 16224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking checking for pthread_create in $PTHREAD_LIBS" >&5 16225$as_echo_n "checking checking for pthread_create in $PTHREAD_LIBS... " >&6; } 16226cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16227/* end confdefs.h. */ 16228 16229/* Override any GCC internal prototype to avoid an error. 16230 Use char because int might match the return type of a GCC 16231 builtin and then its argument prototype would still apply. */ 16232#ifdef __cplusplus 16233extern "C" 16234#endif 16235char pthread_create (); 16236int 16237main () 16238{ 16239return pthread_create (); 16240 ; 16241 return 0; 16242} 16243_ACEOF 16244if ac_fn_c_try_link "$LINENO"; then : 16245 vkd3d_pthread_found=yes 16246fi 16247rm -f core conftest.err conftest.$ac_objext \ 16248 conftest$ac_exeext conftest.$ac_ext 16249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vkd3d_pthread_found" >&5 16250$as_echo "$vkd3d_pthread_found" >&6; } 16251 16252if test "x$vkd3d_pthread_found" = "xno"; then : 16253 PTHREAD_LIBS="" 16254fi 16255 16256LIBS="$vkd3d_libs_saved" 16257fi 16258 16259if test "x$vkd3d_pthread_found" != "xyes"; then : 16260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 16261$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 16262if ${ac_cv_lib_pthread_pthread_create+:} false; then : 16263 $as_echo_n "(cached) " >&6 16264else 16265 ac_check_lib_save_LIBS=$LIBS 16266LIBS="-lpthread $LIBS" 16267cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16268/* end confdefs.h. */ 16269 16270/* Override any GCC internal prototype to avoid an error. 16271 Use char because int might match the return type of a GCC 16272 builtin and then its argument prototype would still apply. */ 16273#ifdef __cplusplus 16274extern "C" 16275#endif 16276char pthread_create (); 16277int 16278main () 16279{ 16280return pthread_create (); 16281 ; 16282 return 0; 16283} 16284_ACEOF 16285if ac_fn_c_try_link "$LINENO"; then : 16286 ac_cv_lib_pthread_pthread_create=yes 16287else 16288 ac_cv_lib_pthread_pthread_create=no 16289fi 16290rm -f core conftest.err conftest.$ac_objext \ 16291 conftest$ac_exeext conftest.$ac_ext 16292LIBS=$ac_check_lib_save_LIBS 16293fi 16294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 16295$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 16296if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 16297 PTHREAD_LIBS="-lpthread" 16298else 16299 as_fn_error $? "libpthread not found." "$LINENO" 5 16300fi 16301 16302fi 16303 16304 16305 16306# Extract the first word of "ldd", so it can be a program name with args. 16307set dummy ldd; ac_word=$2 16308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16309$as_echo_n "checking for $ac_word... " >&6; } 16310if ${ac_cv_path_LDD+:} false; then : 16311 $as_echo_n "(cached) " >&6 16312else 16313 case $LDD in 16314 [\\/]* | ?:[\\/]*) 16315 ac_cv_path_LDD="$LDD" # Let the user override the test with a path. 16316 ;; 16317 *) 16318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16319as_dummy="/sbin:/usr/sbin:$PATH" 16320for as_dir in $as_dummy 16321do 16322 IFS=$as_save_IFS 16323 test -z "$as_dir" && as_dir=. 16324 for ac_exec_ext in '' $ac_executable_extensions; do 16325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16326 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext" 16327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16328 break 2 16329 fi 16330done 16331 done 16332IFS=$as_save_IFS 16333 16334 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true" 16335 ;; 16336esac 16337fi 16338LDD=$ac_cv_path_LDD 16339if test -n "$LDD"; then 16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5 16341$as_echo "$LDD" >&6; } 16342else 16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16344$as_echo "no" >&6; } 16345fi 16346 16347 16348if test -n "$ac_tool_prefix"; then 16349 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 16350set dummy ${ac_tool_prefix}otool; ac_word=$2 16351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16352$as_echo_n "checking for $ac_word... " >&6; } 16353if ${ac_cv_prog_OTOOL+:} false; then : 16354 $as_echo_n "(cached) " >&6 16355else 16356 if test -n "$OTOOL"; then 16357 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 16358else 16359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16360for as_dir in $PATH 16361do 16362 IFS=$as_save_IFS 16363 test -z "$as_dir" && as_dir=. 16364 for ac_exec_ext in '' $ac_executable_extensions; do 16365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16366 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 16367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16368 break 2 16369 fi 16370done 16371 done 16372IFS=$as_save_IFS 16373 16374fi 16375fi 16376OTOOL=$ac_cv_prog_OTOOL 16377if test -n "$OTOOL"; then 16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 16379$as_echo "$OTOOL" >&6; } 16380else 16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16382$as_echo "no" >&6; } 16383fi 16384 16385 16386fi 16387if test -z "$ac_cv_prog_OTOOL"; then 16388 ac_ct_OTOOL=$OTOOL 16389 # Extract the first word of "otool", so it can be a program name with args. 16390set dummy otool; ac_word=$2 16391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16392$as_echo_n "checking for $ac_word... " >&6; } 16393if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 16394 $as_echo_n "(cached) " >&6 16395else 16396 if test -n "$ac_ct_OTOOL"; then 16397 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 16398else 16399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16400for as_dir in $PATH 16401do 16402 IFS=$as_save_IFS 16403 test -z "$as_dir" && as_dir=. 16404 for ac_exec_ext in '' $ac_executable_extensions; do 16405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16406 ac_cv_prog_ac_ct_OTOOL="otool" 16407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16408 break 2 16409 fi 16410done 16411 done 16412IFS=$as_save_IFS 16413 16414fi 16415fi 16416ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 16417if test -n "$ac_ct_OTOOL"; then 16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 16419$as_echo "$ac_ct_OTOOL" >&6; } 16420else 16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16422$as_echo "no" >&6; } 16423fi 16424 16425 if test "x$ac_ct_OTOOL" = x; then 16426 OTOOL="otool" 16427 else 16428 case $cross_compiling:$ac_tool_warned in 16429yes:) 16430{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16431$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16432ac_tool_warned=yes ;; 16433esac 16434 OTOOL=$ac_ct_OTOOL 16435 fi 16436else 16437 OTOOL="$ac_cv_prog_OTOOL" 16438fi 16439 16440if test -n "$ac_tool_prefix"; then 16441 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args. 16442set dummy ${ac_tool_prefix}readelf; ac_word=$2 16443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16444$as_echo_n "checking for $ac_word... " >&6; } 16445if ${ac_cv_prog_READELF+:} false; then : 16446 $as_echo_n "(cached) " >&6 16447else 16448 if test -n "$READELF"; then 16449 ac_cv_prog_READELF="$READELF" # Let the user override the test. 16450else 16451as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16452for as_dir in $PATH 16453do 16454 IFS=$as_save_IFS 16455 test -z "$as_dir" && as_dir=. 16456 for ac_exec_ext in '' $ac_executable_extensions; do 16457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16458 ac_cv_prog_READELF="${ac_tool_prefix}readelf" 16459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16460 break 2 16461 fi 16462done 16463 done 16464IFS=$as_save_IFS 16465 16466fi 16467fi 16468READELF=$ac_cv_prog_READELF 16469if test -n "$READELF"; then 16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5 16471$as_echo "$READELF" >&6; } 16472else 16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16474$as_echo "no" >&6; } 16475fi 16476 16477 16478fi 16479if test -z "$ac_cv_prog_READELF"; then 16480 ac_ct_READELF=$READELF 16481 # Extract the first word of "readelf", so it can be a program name with args. 16482set dummy readelf; ac_word=$2 16483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16484$as_echo_n "checking for $ac_word... " >&6; } 16485if ${ac_cv_prog_ac_ct_READELF+:} false; then : 16486 $as_echo_n "(cached) " >&6 16487else 16488 if test -n "$ac_ct_READELF"; then 16489 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test. 16490else 16491as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16492for as_dir in $PATH 16493do 16494 IFS=$as_save_IFS 16495 test -z "$as_dir" && as_dir=. 16496 for ac_exec_ext in '' $ac_executable_extensions; do 16497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16498 ac_cv_prog_ac_ct_READELF="readelf" 16499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16500 break 2 16501 fi 16502done 16503 done 16504IFS=$as_save_IFS 16505 16506fi 16507fi 16508ac_ct_READELF=$ac_cv_prog_ac_ct_READELF 16509if test -n "$ac_ct_READELF"; then 16510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5 16511$as_echo "$ac_ct_READELF" >&6; } 16512else 16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16514$as_echo "no" >&6; } 16515fi 16516 16517 if test "x$ac_ct_READELF" = x; then 16518 READELF="true" 16519 else 16520 case $cross_compiling:$ac_tool_warned in 16521yes:) 16522{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16523$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16524ac_tool_warned=yes ;; 16525esac 16526 READELF=$ac_ct_READELF 16527 fi 16528else 16529 READELF="$ac_cv_prog_READELF" 16530fi 16531 16532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5 16533$as_echo_n "checking for -lvulkan... " >&6; } 16534if ${ac_cv_lib_soname_vulkan+:} false; then : 16535 $as_echo_n "(cached) " >&6 16536else 16537 ac_check_soname_save_LIBS=$LIBS 16538 LIBS="-lvulkan $LIBS" 16539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16540/* end confdefs.h. */ 16541 16542/* Override any GCC internal prototype to avoid an error. 16543 Use char because int might match the return type of a GCC 16544 builtin and then its argument prototype would still apply. */ 16545#ifdef __cplusplus 16546extern "C" 16547#endif 16548char vkGetInstanceProcAddr (); 16549int 16550main () 16551{ 16552return vkGetInstanceProcAddr (); 16553 ; 16554 return 0; 16555} 16556_ACEOF 16557if ac_fn_c_try_link "$LINENO"; then : 16558 case "$host_os" in #( 16559 darwin*|macosx*) : 16560 ac_cv_lib_soname_vulkan=`$OTOOL -L conftest$ac_exeext | grep "libvulkan\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvulkan\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; #( 16561 mingw*) : 16562 ac_cv_lib_soname_vulkan=vulkan.dll ;; #( 16563 *) : 16564 ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan" | sed -e "s/^.*\\[\\(libvulkan[^ ]*\\)\\].*$/\1/"';2,$d'` 16565 if ${ac_cv_lib_soname_vulkan:+false} :; then : 16566 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan" | sed -e "s/^.*\(libvulkan[^ ]*\).*$/\1/"';2,$d'` 16567fi ;; 16568esac 16569fi 16570rm -f core conftest.err conftest.$ac_objext \ 16571 conftest$ac_exeext conftest.$ac_ext 16572 LIBS=$ac_check_soname_save_LIBS 16573fi 16574if ${ac_cv_lib_soname_vulkan:+false} :; then : 16575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16576$as_echo "not found" >&6; } 16577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan-1" >&5 16578$as_echo_n "checking for -lvulkan-1... " >&6; } 16579if ${ac_cv_lib_soname_vulkan_1+:} false; then : 16580 $as_echo_n "(cached) " >&6 16581else 16582 ac_check_soname_save_LIBS=$LIBS 16583 LIBS="-lvulkan-1 $LIBS" 16584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16585/* end confdefs.h. */ 16586 16587/* Override any GCC internal prototype to avoid an error. 16588 Use char because int might match the return type of a GCC 16589 builtin and then its argument prototype would still apply. */ 16590#ifdef __cplusplus 16591extern "C" 16592#endif 16593char vkGetInstanceProcAddr (); 16594int 16595main () 16596{ 16597return vkGetInstanceProcAddr (); 16598 ; 16599 return 0; 16600} 16601_ACEOF 16602if ac_fn_c_try_link "$LINENO"; then : 16603 case "$host_os" in #( 16604 darwin*|macosx*) : 16605 ac_cv_lib_soname_vulkan_1=`$OTOOL -L conftest$ac_exeext | grep "libvulkan-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvulkan-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; #( 16606 mingw*) : 16607 ac_cv_lib_soname_vulkan_1=vulkan-1.dll ;; #( 16608 *) : 16609 ac_cv_lib_soname_vulkan_1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan-1" | sed -e "s/^.*\\[\\(libvulkan-1[^ ]*\\)\\].*$/\1/"';2,$d'` 16610 if ${ac_cv_lib_soname_vulkan_1:+false} :; then : 16611 ac_cv_lib_soname_vulkan_1=`$LDD conftest$ac_exeext | grep "libvulkan-1" | sed -e "s/^.*\(libvulkan-1[^ ]*\).*$/\1/"';2,$d'` 16612fi ;; 16613esac 16614fi 16615rm -f core conftest.err conftest.$ac_objext \ 16616 conftest$ac_exeext conftest.$ac_ext 16617 LIBS=$ac_check_soname_save_LIBS 16618fi 16619if ${ac_cv_lib_soname_vulkan_1:+false} :; then : 16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16621$as_echo "not found" >&6; } 16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5 16623$as_echo_n "checking for -lMoltenVK... " >&6; } 16624if ${ac_cv_lib_soname_MoltenVK+:} false; then : 16625 $as_echo_n "(cached) " >&6 16626else 16627 ac_check_soname_save_LIBS=$LIBS 16628 LIBS="-lMoltenVK $LIBS" 16629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16630/* end confdefs.h. */ 16631 16632/* Override any GCC internal prototype to avoid an error. 16633 Use char because int might match the return type of a GCC 16634 builtin and then its argument prototype would still apply. */ 16635#ifdef __cplusplus 16636extern "C" 16637#endif 16638char vkGetInstanceProcAddr (); 16639int 16640main () 16641{ 16642return vkGetInstanceProcAddr (); 16643 ; 16644 return 0; 16645} 16646_ACEOF 16647if ac_fn_c_try_link "$LINENO"; then : 16648 case "$host_os" in #( 16649 darwin*|macosx*) : 16650 ac_cv_lib_soname_MoltenVK=`$OTOOL -L conftest$ac_exeext | grep "libMoltenVK\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libMoltenVK\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; #( 16651 mingw*) : 16652 ac_cv_lib_soname_MoltenVK=MoltenVK.dll ;; #( 16653 *) : 16654 ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK" | sed -e "s/^.*\\[\\(libMoltenVK[^ ]*\\)\\].*$/\1/"';2,$d'` 16655 if ${ac_cv_lib_soname_MoltenVK:+false} :; then : 16656 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK" | sed -e "s/^.*\(libMoltenVK[^ ]*\).*$/\1/"';2,$d'` 16657fi ;; 16658esac 16659fi 16660rm -f core conftest.err conftest.$ac_objext \ 16661 conftest$ac_exeext conftest.$ac_ext 16662 LIBS=$ac_check_soname_save_LIBS 16663fi 16664if ${ac_cv_lib_soname_MoltenVK:+false} :; then : 16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16666$as_echo "not found" >&6; } 16667 as_fn_error $? "libvulkan and libMoltenVK not found." "$LINENO" 5 16668else 16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5 16670$as_echo "$ac_cv_lib_soname_MoltenVK" >&6; } 16671 16672cat >>confdefs.h <<_ACEOF 16673#define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK" 16674_ACEOF 16675 16676 VULKAN_LIBS="-lMoltenVK" 16677 cat >>confdefs.h <<_ACEOF 16678#define SONAME_LIBVULKAN "$ac_cv_lib_soname_MoltenVK" 16679_ACEOF 16680 16681fi 16682else 16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan_1" >&5 16684$as_echo "$ac_cv_lib_soname_vulkan_1" >&6; } 16685 16686cat >>confdefs.h <<_ACEOF 16687#define SONAME_LIBVULKAN_1 "$ac_cv_lib_soname_vulkan_1" 16688_ACEOF 16689 16690 VULKAN_LIBS="-lvulkan-1" 16691 cat >>confdefs.h <<_ACEOF 16692#define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan_1" 16693_ACEOF 16694 16695fi 16696else 16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5 16698$as_echo "$ac_cv_lib_soname_vulkan" >&6; } 16699 16700cat >>confdefs.h <<_ACEOF 16701#define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan" 16702_ACEOF 16703 16704 VULKAN_LIBS="-lvulkan" 16705fi 16706 16707if test "x$with_spirv_tools" = "xyes"; then : 16708 16709pkg_failed=no 16710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPIRV-Tools-shared" >&5 16711$as_echo_n "checking for SPIRV-Tools-shared... " >&6; } 16712 16713if test -n "$SPIRV_TOOLS_CFLAGS"; then 16714 pkg_cv_SPIRV_TOOLS_CFLAGS="$SPIRV_TOOLS_CFLAGS" 16715 elif test -n "$PKG_CONFIG"; then 16716 if test -n "$PKG_CONFIG" && \ 16717 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"SPIRV-Tools-shared\""; } >&5 16718 ($PKG_CONFIG --exists --print-errors "SPIRV-Tools-shared") 2>&5 16719 ac_status=$? 16720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16721 test $ac_status = 0; }; then 16722 pkg_cv_SPIRV_TOOLS_CFLAGS=`$PKG_CONFIG --cflags "SPIRV-Tools-shared" 2>/dev/null` 16723 test "x$?" != "x0" && pkg_failed=yes 16724else 16725 pkg_failed=yes 16726fi 16727 else 16728 pkg_failed=untried 16729fi 16730if test -n "$SPIRV_TOOLS_LIBS"; then 16731 pkg_cv_SPIRV_TOOLS_LIBS="$SPIRV_TOOLS_LIBS" 16732 elif test -n "$PKG_CONFIG"; then 16733 if test -n "$PKG_CONFIG" && \ 16734 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"SPIRV-Tools-shared\""; } >&5 16735 ($PKG_CONFIG --exists --print-errors "SPIRV-Tools-shared") 2>&5 16736 ac_status=$? 16737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16738 test $ac_status = 0; }; then 16739 pkg_cv_SPIRV_TOOLS_LIBS=`$PKG_CONFIG --libs "SPIRV-Tools-shared" 2>/dev/null` 16740 test "x$?" != "x0" && pkg_failed=yes 16741else 16742 pkg_failed=yes 16743fi 16744 else 16745 pkg_failed=untried 16746fi 16747 16748 16749 16750if test $pkg_failed = yes; then 16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16752$as_echo "no" >&6; } 16753 16754if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16755 _pkg_short_errors_supported=yes 16756else 16757 _pkg_short_errors_supported=no 16758fi 16759 if test $_pkg_short_errors_supported = yes; then 16760 SPIRV_TOOLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "SPIRV-Tools-shared" 2>&1` 16761 else 16762 SPIRV_TOOLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "SPIRV-Tools-shared" 2>&1` 16763 fi 16764 # Put the nasty error message in config.log where it belongs 16765 echo "$SPIRV_TOOLS_PKG_ERRORS" >&5 16766 16767 as_fn_error $? "Package requirements (SPIRV-Tools-shared) were not met: 16768 16769$SPIRV_TOOLS_PKG_ERRORS 16770 16771Consider adjusting the PKG_CONFIG_PATH environment variable if you 16772installed software in a non-standard prefix. 16773 16774Alternatively, you may set the environment variables SPIRV_TOOLS_CFLAGS 16775and SPIRV_TOOLS_LIBS to avoid the need to call pkg-config. 16776See the pkg-config man page for more details." "$LINENO" 5 16777elif test $pkg_failed = untried; then 16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16779$as_echo "no" >&6; } 16780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16781$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16782as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16783is in your PATH or set the PKG_CONFIG environment variable to the full 16784path to pkg-config. 16785 16786Alternatively, you may set the environment variables SPIRV_TOOLS_CFLAGS 16787and SPIRV_TOOLS_LIBS to avoid the need to call pkg-config. 16788See the pkg-config man page for more details. 16789 16790To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16791See \`config.log' for more details" "$LINENO" 5; } 16792else 16793 SPIRV_TOOLS_CFLAGS=$pkg_cv_SPIRV_TOOLS_CFLAGS 16794 SPIRV_TOOLS_LIBS=$pkg_cv_SPIRV_TOOLS_LIBS 16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16796$as_echo "yes" >&6; } 16797 16798$as_echo "#define HAVE_SPIRV_TOOLS 1" >>confdefs.h 16799 16800fi 16801else 16802 with_spirv_tools=no 16803fi 16804 16805HAVE_XCB=no 16806if test "x$with_xcb" != "xno"; then : 16807 16808pkg_failed=no 16809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xcb xcb-keysyms" >&5 16810$as_echo_n "checking for xcb xcb-keysyms... " >&6; } 16811 16812if test -n "$XCB_CFLAGS"; then 16813 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS" 16814 elif test -n "$PKG_CONFIG"; then 16815 if test -n "$PKG_CONFIG" && \ 16816 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-keysyms\""; } >&5 16817 ($PKG_CONFIG --exists --print-errors "xcb xcb-keysyms") 2>&5 16818 ac_status=$? 16819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16820 test $ac_status = 0; }; then 16821 pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-keysyms" 2>/dev/null` 16822 test "x$?" != "x0" && pkg_failed=yes 16823else 16824 pkg_failed=yes 16825fi 16826 else 16827 pkg_failed=untried 16828fi 16829if test -n "$XCB_LIBS"; then 16830 pkg_cv_XCB_LIBS="$XCB_LIBS" 16831 elif test -n "$PKG_CONFIG"; then 16832 if test -n "$PKG_CONFIG" && \ 16833 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-keysyms\""; } >&5 16834 ($PKG_CONFIG --exists --print-errors "xcb xcb-keysyms") 2>&5 16835 ac_status=$? 16836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16837 test $ac_status = 0; }; then 16838 pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-keysyms" 2>/dev/null` 16839 test "x$?" != "x0" && pkg_failed=yes 16840else 16841 pkg_failed=yes 16842fi 16843 else 16844 pkg_failed=untried 16845fi 16846 16847 16848 16849if test $pkg_failed = yes; then 16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16851$as_echo "no" >&6; } 16852 16853if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16854 _pkg_short_errors_supported=yes 16855else 16856 _pkg_short_errors_supported=no 16857fi 16858 if test $_pkg_short_errors_supported = yes; then 16859 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb xcb-keysyms" 2>&1` 16860 else 16861 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb xcb-keysyms" 2>&1` 16862 fi 16863 # Put the nasty error message in config.log where it belongs 16864 echo "$XCB_PKG_ERRORS" >&5 16865 16866 HAVE_XCB=no 16867elif test $pkg_failed = untried; then 16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16869$as_echo "no" >&6; } 16870 HAVE_XCB=no 16871else 16872 XCB_CFLAGS=$pkg_cv_XCB_CFLAGS 16873 XCB_LIBS=$pkg_cv_XCB_LIBS 16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16875$as_echo "yes" >&6; } 16876 16877$as_echo "#define HAVE_XCB 1" >>confdefs.h 16878 16879 HAVE_XCB=yes 16880fi 16881fi 16882 16883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5 16884$as_echo_n "checking for __builtin_clz... " >&6; } 16885cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16886/* end confdefs.h. */ 16887int main(void) { return __builtin_clz(0); } 16888_ACEOF 16889if ac_fn_c_try_link "$LINENO"; then : 16890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16891$as_echo "yes" >&6; } 16892 16893$as_echo "#define HAVE_BUILTIN_CLZ 1" >>confdefs.h 16894 16895else 16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16897$as_echo "no" >&6; } 16898fi 16899rm -f core conftest.err conftest.$ac_objext \ 16900 conftest$ac_exeext conftest.$ac_ext 16901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5 16902$as_echo_n "checking for __builtin_popcount... " >&6; } 16903cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16904/* end confdefs.h. */ 16905int main(void) { return __builtin_popcount(0); } 16906_ACEOF 16907if ac_fn_c_try_link "$LINENO"; then : 16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16909$as_echo "yes" >&6; } 16910 16911$as_echo "#define HAVE_BUILTIN_POPCOUNT 1" >>confdefs.h 16912 16913else 16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16915$as_echo "no" >&6; } 16916fi 16917rm -f core conftest.err conftest.$ac_objext \ 16918 conftest$ac_exeext conftest.$ac_ext 16919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch" >&5 16920$as_echo_n "checking for __sync_add_and_fetch... " >&6; } 16921cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16922/* end confdefs.h. */ 16923int main(void) { return __sync_add_and_fetch((int *)0, 0); } 16924_ACEOF 16925if ac_fn_c_try_link "$LINENO"; then : 16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16927$as_echo "yes" >&6; } 16928 16929$as_echo "#define HAVE_SYNC_ADD_AND_FETCH 1" >>confdefs.h 16930 16931else 16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16933$as_echo "no" >&6; } 16934fi 16935rm -f core conftest.err conftest.$ac_objext \ 16936 conftest$ac_exeext conftest.$ac_ext 16937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_sub_and_fetch" >&5 16938$as_echo_n "checking for __sync_sub_and_fetch... " >&6; } 16939cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16940/* end confdefs.h. */ 16941int main(void) { return __sync_sub_and_fetch((int *)0, 0); } 16942_ACEOF 16943if ac_fn_c_try_link "$LINENO"; then : 16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16945$as_echo "yes" >&6; } 16946 16947$as_echo "#define HAVE_SYNC_SUB_AND_FETCH 1" >>confdefs.h 16948 16949else 16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16951$as_echo "no" >&6; } 16952fi 16953rm -f core conftest.err conftest.$ac_objext \ 16954 conftest$ac_exeext conftest.$ac_ext 16955 16956vkd3d_libs_saved="$LIBS" 16957LIBS="$LIBS $PTHREAD_LIBS" 16958for ac_func in pthread_setname_np 16959do : 16960 ac_fn_c_check_func "$LINENO" "pthread_setname_np" "ac_cv_func_pthread_setname_np" 16961if test "x$ac_cv_func_pthread_setname_np" = xyes; then : 16962 cat >>confdefs.h <<_ACEOF 16963#define HAVE_PTHREAD_SETNAME_NP 1 16964_ACEOF 16965 16966fi 16967done 16968 16969LIBS="$vkd3d_libs_saved" 16970 if test "x$ac_cv_func_pthread_setname_np" = "xyes"; then : 16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments pthread_set_np() takes" >&5 16972$as_echo_n "checking how many arguments pthread_set_np() takes... " >&6; } 16973 if ${vkd3d_cv_which_pthread_set_np+:} false; then : 16974 $as_echo_n "(cached) " >&6 16975else 16976 16977 16978vkd3d_cv_which_pthread_set_np=unknown 16979 16980cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16981/* end confdefs.h. */ 16982#include <pthread.h> 16983int 16984main () 16985{ 16986pthread_setname_np(pthread_self(), "conftest") 16987 ; 16988 return 0; 16989} 16990_ACEOF 16991if ac_fn_c_try_compile "$LINENO"; then : 16992 vkd3d_cv_which_pthread_set_np=two 16993fi 16994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16995 16996if test "$vkd3d_cv_which_pthread_set_np" = "unknown"; then : 16997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16998/* end confdefs.h. */ 16999#include <pthread.h> 17000int 17001main () 17002{ 17003pthread_setname_np("conftest") 17004 ; 17005 return 0; 17006} 17007_ACEOF 17008if ac_fn_c_try_compile "$LINENO"; then : 17009 vkd3d_cv_which_pthread_set_np=one 17010fi 17011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17012fi 17013 17014 17015fi 17016 17017case "$vkd3d_cv_which_pthread_set_np" in #( 17018 one) : 17019 17020$as_echo "#define HAVE_PTHREAD_SETNAME_NP_1 1" >>confdefs.h 17021 17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: one" >&5 17023$as_echo "one" >&6; } ;; #( 17024 two) : 17025 17026$as_echo "#define HAVE_PTHREAD_SETNAME_NP_2 1" >>confdefs.h 17027 17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: two" >&5 17029$as_echo "two" >&6; } ;; #( 17030 *) : 17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5 17032$as_echo "unknown" >&6; } ;; 17033esac 17034 17035 17036fi 17037 17038if test "x$enable_demos" = "xyes" -a "x$HAVE_XCB" != "xyes"; then : 17039 as_fn_error $? "libxcb is required for demos." "$LINENO" 5 17040fi 17041 if test "x$enable_demos" = "xyes"; then 17042 BUILD_DEMOS_TRUE= 17043 BUILD_DEMOS_FALSE='#' 17044else 17045 BUILD_DEMOS_TRUE='#' 17046 BUILD_DEMOS_FALSE= 17047fi 17048 17049 if test $DX_FLAG_doc = 1; then 17050 BUILD_DOC_TRUE= 17051 BUILD_DOC_FALSE='#' 17052else 17053 BUILD_DOC_TRUE='#' 17054 BUILD_DOC_FALSE= 17055fi 17056 17057 if test "x$enable_tests" != "xno"; then 17058 BUILD_TESTS_TRUE= 17059 BUILD_TESTS_FALSE='#' 17060else 17061 BUILD_TESTS_TRUE='#' 17062 BUILD_TESTS_FALSE= 17063fi 17064 17065 if test "x$WIDL" != "xno"; then 17066 HAVE_WIDL_TRUE= 17067 HAVE_WIDL_FALSE='#' 17068else 17069 HAVE_WIDL_TRUE='#' 17070 HAVE_WIDL_FALSE= 17071fi 17072 17073 if test "x$CROSSTARGET32" != "xno"; then 17074 HAVE_CROSSTARGET32_TRUE= 17075 HAVE_CROSSTARGET32_FALSE='#' 17076else 17077 HAVE_CROSSTARGET32_TRUE='#' 17078 HAVE_CROSSTARGET32_FALSE= 17079fi 17080 17081 if test "x$CROSSTARGET64" != "xno"; then 17082 HAVE_CROSSTARGET64_TRUE= 17083 HAVE_CROSSTARGET64_FALSE='#' 17084else 17085 HAVE_CROSSTARGET64_TRUE='#' 17086 HAVE_CROSSTARGET64_FALSE= 17087fi 17088 17089 17090ac_config_files="$ac_config_files Makefile" 17091 17092cat >confcache <<\_ACEOF 17093# This file is a shell script that caches the results of configure 17094# tests run on this system so they can be shared between configure 17095# scripts and configure runs, see configure's option --config-cache. 17096# It is not useful on other systems. If it contains results you don't 17097# want to keep, you may remove or edit it. 17098# 17099# config.status only pays attention to the cache file if you give it 17100# the --recheck option to rerun configure. 17101# 17102# `ac_cv_env_foo' variables (set or unset) will be overridden when 17103# loading this file, other *unset* `ac_cv_foo' will be assigned the 17104# following values. 17105 17106_ACEOF 17107 17108# The following way of writing the cache mishandles newlines in values, 17109# but we know of no workaround that is simple, portable, and efficient. 17110# So, we kill variables containing newlines. 17111# Ultrix sh set writes to stderr and can't be redirected directly, 17112# and sets the high bit in the cache file unless we assign to the vars. 17113( 17114 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 17115 eval ac_val=\$$ac_var 17116 case $ac_val in #( 17117 *${as_nl}*) 17118 case $ac_var in #( 17119 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17120$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17121 esac 17122 case $ac_var in #( 17123 _ | IFS | as_nl) ;; #( 17124 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17125 *) { eval $ac_var=; unset $ac_var;} ;; 17126 esac ;; 17127 esac 17128 done 17129 17130 (set) 2>&1 | 17131 case $as_nl`(ac_space=' '; set) 2>&1` in #( 17132 *${as_nl}ac_space=\ *) 17133 # `set' does not quote correctly, so add quotes: double-quote 17134 # substitution turns \\\\ into \\, and sed turns \\ into \. 17135 sed -n \ 17136 "s/'/'\\\\''/g; 17137 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 17138 ;; #( 17139 *) 17140 # `set' quotes correctly as required by POSIX, so do not add quotes. 17141 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 17142 ;; 17143 esac | 17144 sort 17145) | 17146 sed ' 17147 /^ac_cv_env_/b end 17148 t clear 17149 :clear 17150 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 17151 t end 17152 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17153 :end' >>confcache 17154if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17155 if test -w "$cache_file"; then 17156 if test "x$cache_file" != "x/dev/null"; then 17157 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 17158$as_echo "$as_me: updating cache $cache_file" >&6;} 17159 if test ! -f "$cache_file" || test -h "$cache_file"; then 17160 cat confcache >"$cache_file" 17161 else 17162 case $cache_file in #( 17163 */* | ?:*) 17164 mv -f confcache "$cache_file"$$ && 17165 mv -f "$cache_file"$$ "$cache_file" ;; #( 17166 *) 17167 mv -f confcache "$cache_file" ;; 17168 esac 17169 fi 17170 fi 17171 else 17172 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 17173$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 17174 fi 17175fi 17176rm -f confcache 17177 17178test "x$prefix" = xNONE && prefix=$ac_default_prefix 17179# Let make expand exec_prefix. 17180test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 17181 17182DEFS=-DHAVE_CONFIG_H 17183 17184ac_libobjs= 17185ac_ltlibobjs= 17186U= 17187for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 17188 # 1. Remove the extension, and $U if already installed. 17189 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 17190 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 17191 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 17192 # will be set to the directory where LIBOBJS objects are built. 17193 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 17194 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 17195done 17196LIBOBJS=$ac_libobjs 17197 17198LTLIBOBJS=$ac_ltlibobjs 17199 17200 17201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 17202$as_echo_n "checking that generated files are newer than configure... " >&6; } 17203 if test -n "$am_sleep_pid"; then 17204 # Hide warnings about reused PIDs. 17205 wait $am_sleep_pid 2>/dev/null 17206 fi 17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 17208$as_echo "done" >&6; } 17209if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 17210 as_fn_error $? "conditional \"AMDEP\" was never defined. 17211Usually this means the macro was only invoked conditionally." "$LINENO" 5 17212fi 17213if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 17214 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 17215Usually this means the macro was only invoked conditionally." "$LINENO" 5 17216fi 17217 if test -n "$EXEEXT"; then 17218 am__EXEEXT_TRUE= 17219 am__EXEEXT_FALSE='#' 17220else 17221 am__EXEEXT_TRUE='#' 17222 am__EXEEXT_FALSE= 17223fi 17224 17225if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 17226 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 17227Usually this means the macro was only invoked conditionally." "$LINENO" 5 17228fi 17229if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then 17230 as_fn_error $? "conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined. 17231Usually this means the macro was only invoked conditionally." "$LINENO" 5 17232fi 17233if test -z "${BUILD_DEMOS_TRUE}" && test -z "${BUILD_DEMOS_FALSE}"; then 17234 as_fn_error $? "conditional \"BUILD_DEMOS\" was never defined. 17235Usually this means the macro was only invoked conditionally." "$LINENO" 5 17236fi 17237if test -z "${BUILD_DOC_TRUE}" && test -z "${BUILD_DOC_FALSE}"; then 17238 as_fn_error $? "conditional \"BUILD_DOC\" was never defined. 17239Usually this means the macro was only invoked conditionally." "$LINENO" 5 17240fi 17241if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then 17242 as_fn_error $? "conditional \"BUILD_TESTS\" was never defined. 17243Usually this means the macro was only invoked conditionally." "$LINENO" 5 17244fi 17245if test -z "${HAVE_WIDL_TRUE}" && test -z "${HAVE_WIDL_FALSE}"; then 17246 as_fn_error $? "conditional \"HAVE_WIDL\" was never defined. 17247Usually this means the macro was only invoked conditionally." "$LINENO" 5 17248fi 17249if test -z "${HAVE_CROSSTARGET32_TRUE}" && test -z "${HAVE_CROSSTARGET32_FALSE}"; then 17250 as_fn_error $? "conditional \"HAVE_CROSSTARGET32\" was never defined. 17251Usually this means the macro was only invoked conditionally." "$LINENO" 5 17252fi 17253if test -z "${HAVE_CROSSTARGET64_TRUE}" && test -z "${HAVE_CROSSTARGET64_FALSE}"; then 17254 as_fn_error $? "conditional \"HAVE_CROSSTARGET64\" was never defined. 17255Usually this means the macro was only invoked conditionally." "$LINENO" 5 17256fi 17257 17258: "${CONFIG_STATUS=./config.status}" 17259ac_write_fail=0 17260ac_clean_files_save=$ac_clean_files 17261ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17262{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 17263$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 17264as_write_fail=0 17265cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 17266#! $SHELL 17267# Generated by $as_me. 17268# Run this file to recreate the current configuration. 17269# Compiler output produced by configure, useful for debugging 17270# configure, is in config.log if it exists. 17271 17272debug=false 17273ac_cs_recheck=false 17274ac_cs_silent=false 17275 17276SHELL=\${CONFIG_SHELL-$SHELL} 17277export SHELL 17278_ASEOF 17279cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 17280## -------------------- ## 17281## M4sh Initialization. ## 17282## -------------------- ## 17283 17284# Be more Bourne compatible 17285DUALCASE=1; export DUALCASE # for MKS sh 17286if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 17287 emulate sh 17288 NULLCMD=: 17289 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17290 # is contrary to our usage. Disable this feature. 17291 alias -g '${1+"$@"}'='"$@"' 17292 setopt NO_GLOB_SUBST 17293else 17294 case `(set -o) 2>/dev/null` in #( 17295 *posix*) : 17296 set -o posix ;; #( 17297 *) : 17298 ;; 17299esac 17300fi 17301 17302 17303as_nl=' 17304' 17305export as_nl 17306# Printing a long string crashes Solaris 7 /usr/bin/printf. 17307as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 17308as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 17309as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 17310# Prefer a ksh shell builtin over an external printf program on Solaris, 17311# but without wasting forks for bash or zsh. 17312if test -z "$BASH_VERSION$ZSH_VERSION" \ 17313 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 17314 as_echo='print -r --' 17315 as_echo_n='print -rn --' 17316elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 17317 as_echo='printf %s\n' 17318 as_echo_n='printf %s' 17319else 17320 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 17321 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 17322 as_echo_n='/usr/ucb/echo -n' 17323 else 17324 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 17325 as_echo_n_body='eval 17326 arg=$1; 17327 case $arg in #( 17328 *"$as_nl"*) 17329 expr "X$arg" : "X\\(.*\\)$as_nl"; 17330 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 17331 esac; 17332 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 17333 ' 17334 export as_echo_n_body 17335 as_echo_n='sh -c $as_echo_n_body as_echo' 17336 fi 17337 export as_echo_body 17338 as_echo='sh -c $as_echo_body as_echo' 17339fi 17340 17341# The user is always right. 17342if test "${PATH_SEPARATOR+set}" != set; then 17343 PATH_SEPARATOR=: 17344 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 17345 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 17346 PATH_SEPARATOR=';' 17347 } 17348fi 17349 17350 17351# IFS 17352# We need space, tab and new line, in precisely that order. Quoting is 17353# there to prevent editors from complaining about space-tab. 17354# (If _AS_PATH_WALK were called with IFS unset, it would disable word 17355# splitting by setting IFS to empty value.) 17356IFS=" "" $as_nl" 17357 17358# Find who we are. Look in the path if we contain no directory separator. 17359as_myself= 17360case $0 in #(( 17361 *[\\/]* ) as_myself=$0 ;; 17362 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17363for as_dir in $PATH 17364do 17365 IFS=$as_save_IFS 17366 test -z "$as_dir" && as_dir=. 17367 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 17368 done 17369IFS=$as_save_IFS 17370 17371 ;; 17372esac 17373# We did not find ourselves, most probably we were run as `sh COMMAND' 17374# in which case we are not to be found in the path. 17375if test "x$as_myself" = x; then 17376 as_myself=$0 17377fi 17378if test ! -f "$as_myself"; then 17379 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 17380 exit 1 17381fi 17382 17383# Unset variables that we do not need and which cause bugs (e.g. in 17384# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 17385# suppresses any "Segmentation fault" message there. '((' could 17386# trigger a bug in pdksh 5.2.14. 17387for as_var in BASH_ENV ENV MAIL MAILPATH 17388do eval test x\${$as_var+set} = xset \ 17389 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 17390done 17391PS1='$ ' 17392PS2='> ' 17393PS4='+ ' 17394 17395# NLS nuisances. 17396LC_ALL=C 17397export LC_ALL 17398LANGUAGE=C 17399export LANGUAGE 17400 17401# CDPATH. 17402(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17403 17404 17405# as_fn_error STATUS ERROR [LINENO LOG_FD] 17406# ---------------------------------------- 17407# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 17408# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 17409# script with STATUS, using 1 if that was 0. 17410as_fn_error () 17411{ 17412 as_status=$1; test $as_status -eq 0 && as_status=1 17413 if test "$4"; then 17414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 17416 fi 17417 $as_echo "$as_me: error: $2" >&2 17418 as_fn_exit $as_status 17419} # as_fn_error 17420 17421 17422# as_fn_set_status STATUS 17423# ----------------------- 17424# Set $? to STATUS, without forking. 17425as_fn_set_status () 17426{ 17427 return $1 17428} # as_fn_set_status 17429 17430# as_fn_exit STATUS 17431# ----------------- 17432# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 17433as_fn_exit () 17434{ 17435 set +e 17436 as_fn_set_status $1 17437 exit $1 17438} # as_fn_exit 17439 17440# as_fn_unset VAR 17441# --------------- 17442# Portably unset VAR. 17443as_fn_unset () 17444{ 17445 { eval $1=; unset $1;} 17446} 17447as_unset=as_fn_unset 17448# as_fn_append VAR VALUE 17449# ---------------------- 17450# Append the text in VALUE to the end of the definition contained in VAR. Take 17451# advantage of any shell optimizations that allow amortized linear growth over 17452# repeated appends, instead of the typical quadratic growth present in naive 17453# implementations. 17454if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 17455 eval 'as_fn_append () 17456 { 17457 eval $1+=\$2 17458 }' 17459else 17460 as_fn_append () 17461 { 17462 eval $1=\$$1\$2 17463 } 17464fi # as_fn_append 17465 17466# as_fn_arith ARG... 17467# ------------------ 17468# Perform arithmetic evaluation on the ARGs, and store the result in the 17469# global $as_val. Take advantage of shells that can avoid forks. The arguments 17470# must be portable across $(()) and expr. 17471if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 17472 eval 'as_fn_arith () 17473 { 17474 as_val=$(( $* )) 17475 }' 17476else 17477 as_fn_arith () 17478 { 17479 as_val=`expr "$@" || test $? -eq 1` 17480 } 17481fi # as_fn_arith 17482 17483 17484if expr a : '\(a\)' >/dev/null 2>&1 && 17485 test "X`expr 00001 : '.*\(...\)'`" = X001; then 17486 as_expr=expr 17487else 17488 as_expr=false 17489fi 17490 17491if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 17492 as_basename=basename 17493else 17494 as_basename=false 17495fi 17496 17497if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 17498 as_dirname=dirname 17499else 17500 as_dirname=false 17501fi 17502 17503as_me=`$as_basename -- "$0" || 17504$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 17505 X"$0" : 'X\(//\)$' \| \ 17506 X"$0" : 'X\(/\)' \| . 2>/dev/null || 17507$as_echo X/"$0" | 17508 sed '/^.*\/\([^/][^/]*\)\/*$/{ 17509 s//\1/ 17510 q 17511 } 17512 /^X\/\(\/\/\)$/{ 17513 s//\1/ 17514 q 17515 } 17516 /^X\/\(\/\).*/{ 17517 s//\1/ 17518 q 17519 } 17520 s/.*/./; q'` 17521 17522# Avoid depending upon Character Ranges. 17523as_cr_letters='abcdefghijklmnopqrstuvwxyz' 17524as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 17525as_cr_Letters=$as_cr_letters$as_cr_LETTERS 17526as_cr_digits='0123456789' 17527as_cr_alnum=$as_cr_Letters$as_cr_digits 17528 17529ECHO_C= ECHO_N= ECHO_T= 17530case `echo -n x` in #((((( 17531-n*) 17532 case `echo 'xy\c'` in 17533 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 17534 xy) ECHO_C='\c';; 17535 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 17536 ECHO_T=' ';; 17537 esac;; 17538*) 17539 ECHO_N='-n';; 17540esac 17541 17542rm -f conf$$ conf$$.exe conf$$.file 17543if test -d conf$$.dir; then 17544 rm -f conf$$.dir/conf$$.file 17545else 17546 rm -f conf$$.dir 17547 mkdir conf$$.dir 2>/dev/null 17548fi 17549if (echo >conf$$.file) 2>/dev/null; then 17550 if ln -s conf$$.file conf$$ 2>/dev/null; then 17551 as_ln_s='ln -s' 17552 # ... but there are two gotchas: 17553 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 17554 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 17555 # In both cases, we have to default to `cp -pR'. 17556 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 17557 as_ln_s='cp -pR' 17558 elif ln conf$$.file conf$$ 2>/dev/null; then 17559 as_ln_s=ln 17560 else 17561 as_ln_s='cp -pR' 17562 fi 17563else 17564 as_ln_s='cp -pR' 17565fi 17566rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 17567rmdir conf$$.dir 2>/dev/null 17568 17569 17570# as_fn_mkdir_p 17571# ------------- 17572# Create "$as_dir" as a directory, including parents if necessary. 17573as_fn_mkdir_p () 17574{ 17575 17576 case $as_dir in #( 17577 -*) as_dir=./$as_dir;; 17578 esac 17579 test -d "$as_dir" || eval $as_mkdir_p || { 17580 as_dirs= 17581 while :; do 17582 case $as_dir in #( 17583 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 17584 *) as_qdir=$as_dir;; 17585 esac 17586 as_dirs="'$as_qdir' $as_dirs" 17587 as_dir=`$as_dirname -- "$as_dir" || 17588$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17589 X"$as_dir" : 'X\(//\)[^/]' \| \ 17590 X"$as_dir" : 'X\(//\)$' \| \ 17591 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17592$as_echo X"$as_dir" | 17593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17594 s//\1/ 17595 q 17596 } 17597 /^X\(\/\/\)[^/].*/{ 17598 s//\1/ 17599 q 17600 } 17601 /^X\(\/\/\)$/{ 17602 s//\1/ 17603 q 17604 } 17605 /^X\(\/\).*/{ 17606 s//\1/ 17607 q 17608 } 17609 s/.*/./; q'` 17610 test -d "$as_dir" && break 17611 done 17612 test -z "$as_dirs" || eval "mkdir $as_dirs" 17613 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 17614 17615 17616} # as_fn_mkdir_p 17617if mkdir -p . 2>/dev/null; then 17618 as_mkdir_p='mkdir -p "$as_dir"' 17619else 17620 test -d ./-p && rmdir ./-p 17621 as_mkdir_p=false 17622fi 17623 17624 17625# as_fn_executable_p FILE 17626# ----------------------- 17627# Test if FILE is an executable regular file. 17628as_fn_executable_p () 17629{ 17630 test -f "$1" && test -x "$1" 17631} # as_fn_executable_p 17632as_test_x='test -x' 17633as_executable_p=as_fn_executable_p 17634 17635# Sed expression to map a string onto a valid CPP name. 17636as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17637 17638# Sed expression to map a string onto a valid variable name. 17639as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17640 17641 17642exec 6>&1 17643## ----------------------------------- ## 17644## Main body of $CONFIG_STATUS script. ## 17645## ----------------------------------- ## 17646_ASEOF 17647test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17648 17649cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17650# Save the log message, to keep $0 and so on meaningful, and to 17651# report actual input values of CONFIG_FILES etc. instead of their 17652# values after options handling. 17653ac_log=" 17654This file was extended by vkd3d $as_me 1.2, which was 17655generated by GNU Autoconf 2.69. Invocation command line was 17656 17657 CONFIG_FILES = $CONFIG_FILES 17658 CONFIG_HEADERS = $CONFIG_HEADERS 17659 CONFIG_LINKS = $CONFIG_LINKS 17660 CONFIG_COMMANDS = $CONFIG_COMMANDS 17661 $ $0 $@ 17662 17663on `(hostname || uname -n) 2>/dev/null | sed 1q` 17664" 17665 17666_ACEOF 17667 17668case $ac_config_files in *" 17669"*) set x $ac_config_files; shift; ac_config_files=$*;; 17670esac 17671 17672case $ac_config_headers in *" 17673"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17674esac 17675 17676 17677cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17678# Files that config.status was made for. 17679config_files="$ac_config_files" 17680config_headers="$ac_config_headers" 17681config_commands="$ac_config_commands" 17682 17683_ACEOF 17684 17685cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17686ac_cs_usage="\ 17687\`$as_me' instantiates files and other configuration actions 17688from templates according to the current configuration. Unless the files 17689and actions are specified as TAGs, all are instantiated by default. 17690 17691Usage: $0 [OPTION]... [TAG]... 17692 17693 -h, --help print this help, then exit 17694 -V, --version print version number and configuration settings, then exit 17695 --config print configuration, then exit 17696 -q, --quiet, --silent 17697 do not print progress messages 17698 -d, --debug don't remove temporary files 17699 --recheck update $as_me by reconfiguring in the same conditions 17700 --file=FILE[:TEMPLATE] 17701 instantiate the configuration file FILE 17702 --header=FILE[:TEMPLATE] 17703 instantiate the configuration header FILE 17704 17705Configuration files: 17706$config_files 17707 17708Configuration headers: 17709$config_headers 17710 17711Configuration commands: 17712$config_commands 17713 17714Report bugs to the package provider." 17715 17716_ACEOF 17717cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17718ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17719ac_cs_version="\\ 17720vkd3d config.status 1.2 17721configured by $0, generated by GNU Autoconf 2.69, 17722 with options \\"\$ac_cs_config\\" 17723 17724Copyright (C) 2012 Free Software Foundation, Inc. 17725This config.status script is free software; the Free Software Foundation 17726gives unlimited permission to copy, distribute and modify it." 17727 17728ac_pwd='$ac_pwd' 17729srcdir='$srcdir' 17730INSTALL='$INSTALL' 17731MKDIR_P='$MKDIR_P' 17732AWK='$AWK' 17733test -n "\$AWK" || AWK=awk 17734_ACEOF 17735 17736cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17737# The default lists apply if the user does not specify any file. 17738ac_need_defaults=: 17739while test $# != 0 17740do 17741 case $1 in 17742 --*=?*) 17743 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17744 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17745 ac_shift=: 17746 ;; 17747 --*=) 17748 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17749 ac_optarg= 17750 ac_shift=: 17751 ;; 17752 *) 17753 ac_option=$1 17754 ac_optarg=$2 17755 ac_shift=shift 17756 ;; 17757 esac 17758 17759 case $ac_option in 17760 # Handling of the options. 17761 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17762 ac_cs_recheck=: ;; 17763 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17764 $as_echo "$ac_cs_version"; exit ;; 17765 --config | --confi | --conf | --con | --co | --c ) 17766 $as_echo "$ac_cs_config"; exit ;; 17767 --debug | --debu | --deb | --de | --d | -d ) 17768 debug=: ;; 17769 --file | --fil | --fi | --f ) 17770 $ac_shift 17771 case $ac_optarg in 17772 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17773 '') as_fn_error $? "missing file argument" ;; 17774 esac 17775 as_fn_append CONFIG_FILES " '$ac_optarg'" 17776 ac_need_defaults=false;; 17777 --header | --heade | --head | --hea ) 17778 $ac_shift 17779 case $ac_optarg in 17780 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17781 esac 17782 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17783 ac_need_defaults=false;; 17784 --he | --h) 17785 # Conflict between --help and --header 17786 as_fn_error $? "ambiguous option: \`$1' 17787Try \`$0 --help' for more information.";; 17788 --help | --hel | -h ) 17789 $as_echo "$ac_cs_usage"; exit ;; 17790 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17791 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17792 ac_cs_silent=: ;; 17793 17794 # This is an error. 17795 -*) as_fn_error $? "unrecognized option: \`$1' 17796Try \`$0 --help' for more information." ;; 17797 17798 *) as_fn_append ac_config_targets " $1" 17799 ac_need_defaults=false ;; 17800 17801 esac 17802 shift 17803done 17804 17805ac_configure_extra_args= 17806 17807if $ac_cs_silent; then 17808 exec 6>/dev/null 17809 ac_configure_extra_args="$ac_configure_extra_args --silent" 17810fi 17811 17812_ACEOF 17813cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17814if \$ac_cs_recheck; then 17815 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17816 shift 17817 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17818 CONFIG_SHELL='$SHELL' 17819 export CONFIG_SHELL 17820 exec "\$@" 17821fi 17822 17823_ACEOF 17824cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17825exec 5>>config.log 17826{ 17827 echo 17828 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17829## Running $as_me. ## 17830_ASBOX 17831 $as_echo "$ac_log" 17832} >&5 17833 17834_ACEOF 17835cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17836# 17837# INIT-COMMANDS 17838# 17839AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 17840 17841 17842# The HP-UX ksh and POSIX shell print the target directory to stdout 17843# if CDPATH is set. 17844(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17845 17846sed_quote_subst='$sed_quote_subst' 17847double_quote_subst='$double_quote_subst' 17848delay_variable_subst='$delay_variable_subst' 17849macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17850macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17851AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 17852DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 17853OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 17854enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17855enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17856pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17857enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 17858shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 17859SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 17860ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 17861PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 17862host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 17863host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 17864host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 17865build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 17866build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 17867build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 17868SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 17869Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 17870GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 17871EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 17872FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 17873LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 17874NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 17875LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 17876max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 17877ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 17878exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 17879lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 17880lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 17881lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 17882lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 17883lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 17884reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 17885reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 17886deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 17887file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 17888file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 17889want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 17890sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 17891AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 17892AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 17893archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 17894STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 17895RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 17896old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17897old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17898old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 17899lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 17900CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 17901CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 17902compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 17903GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 17904lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 17905lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 17906lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 17907lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 17908lt_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"`' 17909lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 17910nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 17911lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 17912lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 17913objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 17914MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 17915lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 17916lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 17917lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 17918lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 17919lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 17920need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 17921MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 17922DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 17923NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 17924LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 17925OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 17926OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 17927libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 17928shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 17929extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17930archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 17931enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 17932export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 17933whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 17934compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 17935old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 17936old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17937archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 17938archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17939module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 17940module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17941with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 17942allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 17943no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 17944hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 17945hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 17946hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 17947hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 17948hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 17949hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 17950hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 17951inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 17952link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 17953always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 17954export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 17955exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 17956include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 17957prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 17958postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 17959file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 17960variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 17961need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 17962need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 17963version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 17964runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 17965shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 17966shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 17967libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 17968library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 17969soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 17970install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 17971postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17972postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17973finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 17974finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 17975hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 17976sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 17977configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 17978configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 17979hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 17980enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 17981enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 17982enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 17983old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 17984striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 17985 17986LTCC='$LTCC' 17987LTCFLAGS='$LTCFLAGS' 17988compiler='$compiler_DEFAULT' 17989 17990# A function that is used when there is no print builtin or printf. 17991func_fallback_echo () 17992{ 17993 eval 'cat <<_LTECHO_EOF 17994\$1 17995_LTECHO_EOF' 17996} 17997 17998# Quote evaled strings. 17999for var in AS \ 18000DLLTOOL \ 18001OBJDUMP \ 18002SHELL \ 18003ECHO \ 18004PATH_SEPARATOR \ 18005SED \ 18006GREP \ 18007EGREP \ 18008FGREP \ 18009LD \ 18010NM \ 18011LN_S \ 18012lt_SP2NL \ 18013lt_NL2SP \ 18014reload_flag \ 18015deplibs_check_method \ 18016file_magic_cmd \ 18017file_magic_glob \ 18018want_nocaseglob \ 18019sharedlib_from_linklib_cmd \ 18020AR \ 18021AR_FLAGS \ 18022archiver_list_spec \ 18023STRIP \ 18024RANLIB \ 18025CC \ 18026CFLAGS \ 18027compiler \ 18028lt_cv_sys_global_symbol_pipe \ 18029lt_cv_sys_global_symbol_to_cdecl \ 18030lt_cv_sys_global_symbol_to_import \ 18031lt_cv_sys_global_symbol_to_c_name_address \ 18032lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18033lt_cv_nm_interface \ 18034nm_file_list_spec \ 18035lt_cv_truncate_bin \ 18036lt_prog_compiler_no_builtin_flag \ 18037lt_prog_compiler_pic \ 18038lt_prog_compiler_wl \ 18039lt_prog_compiler_static \ 18040lt_cv_prog_compiler_c_o \ 18041need_locks \ 18042MANIFEST_TOOL \ 18043DSYMUTIL \ 18044NMEDIT \ 18045LIPO \ 18046OTOOL \ 18047OTOOL64 \ 18048shrext_cmds \ 18049export_dynamic_flag_spec \ 18050whole_archive_flag_spec \ 18051compiler_needs_object \ 18052with_gnu_ld \ 18053allow_undefined_flag \ 18054no_undefined_flag \ 18055hardcode_libdir_flag_spec \ 18056hardcode_libdir_separator \ 18057exclude_expsyms \ 18058include_expsyms \ 18059file_list_spec \ 18060variables_saved_for_relink \ 18061libname_spec \ 18062library_names_spec \ 18063soname_spec \ 18064install_override_mode \ 18065finish_eval \ 18066old_striplib \ 18067striplib; do 18068 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18069 *[\\\\\\\`\\"\\\$]*) 18070 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 18071 ;; 18072 *) 18073 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18074 ;; 18075 esac 18076done 18077 18078# Double-quote double-evaled strings. 18079for var in reload_cmds \ 18080old_postinstall_cmds \ 18081old_postuninstall_cmds \ 18082old_archive_cmds \ 18083extract_expsyms_cmds \ 18084old_archive_from_new_cmds \ 18085old_archive_from_expsyms_cmds \ 18086archive_cmds \ 18087archive_expsym_cmds \ 18088module_cmds \ 18089module_expsym_cmds \ 18090export_symbols_cmds \ 18091prelink_cmds \ 18092postlink_cmds \ 18093postinstall_cmds \ 18094postuninstall_cmds \ 18095finish_cmds \ 18096sys_lib_search_path_spec \ 18097configure_time_dlsearch_path \ 18098configure_time_lt_sys_library_path; do 18099 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18100 *[\\\\\\\`\\"\\\$]*) 18101 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 18102 ;; 18103 *) 18104 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18105 ;; 18106 esac 18107done 18108 18109ac_aux_dir='$ac_aux_dir' 18110 18111# See if we are running on zsh, and set the options that allow our 18112# commands through without removal of \ escapes INIT. 18113if test -n "\${ZSH_VERSION+set}"; then 18114 setopt NO_GLOB_SUBST 18115fi 18116 18117 18118 PACKAGE='$PACKAGE' 18119 VERSION='$VERSION' 18120 RM='$RM' 18121 ofile='$ofile' 18122 18123 18124 18125 18126_ACEOF 18127 18128cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18129 18130# Handling of arguments. 18131for ac_config_target in $ac_config_targets 18132do 18133 case $ac_config_target in 18134 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;; 18135 "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;; 18136 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 18137 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 18138 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 18139 18140 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 18141 esac 18142done 18143 18144 18145# If the user did not use the arguments to specify the items to instantiate, 18146# then the envvar interface is used. Set only those that are not. 18147# We use the long form for the default assignment because of an extremely 18148# bizarre bug on SunOS 4.1.3. 18149if $ac_need_defaults; then 18150 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18151 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18152 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 18153fi 18154 18155# Have a temporary directory for convenience. Make it in the build tree 18156# simply because there is no reason against having it here, and in addition, 18157# creating and moving files from /tmp can sometimes cause problems. 18158# Hook for its removal unless debugging. 18159# Note that there is a small window in which the directory will not be cleaned: 18160# after its creation but before its name has been assigned to `$tmp'. 18161$debug || 18162{ 18163 tmp= ac_tmp= 18164 trap 'exit_status=$? 18165 : "${ac_tmp:=$tmp}" 18166 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 18167' 0 18168 trap 'as_fn_exit 1' 1 2 13 15 18169} 18170# Create a (secure) tmp directory for tmp files. 18171 18172{ 18173 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 18174 test -d "$tmp" 18175} || 18176{ 18177 tmp=./conf$$-$RANDOM 18178 (umask 077 && mkdir "$tmp") 18179} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 18180ac_tmp=$tmp 18181 18182# Set up the scripts for CONFIG_FILES section. 18183# No need to generate them if there are no CONFIG_FILES. 18184# This happens for instance with `./config.status config.h'. 18185if test -n "$CONFIG_FILES"; then 18186 18187 18188ac_cr=`echo X | tr X '\015'` 18189# On cygwin, bash can eat \r inside `` if the user requested igncr. 18190# But we know of no other shell where ac_cr would be empty at this 18191# point, so we can use a bashism as a fallback. 18192if test "x$ac_cr" = x; then 18193 eval ac_cr=\$\'\\r\' 18194fi 18195ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 18196if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 18197 ac_cs_awk_cr='\\r' 18198else 18199 ac_cs_awk_cr=$ac_cr 18200fi 18201 18202echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 18203_ACEOF 18204 18205 18206{ 18207 echo "cat >conf$$subs.awk <<_ACEOF" && 18208 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 18209 echo "_ACEOF" 18210} >conf$$subs.sh || 18211 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18212ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 18213ac_delim='%!_!# ' 18214for ac_last_try in false false false false false :; do 18215 . ./conf$$subs.sh || 18216 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18217 18218 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 18219 if test $ac_delim_n = $ac_delim_num; then 18220 break 18221 elif $ac_last_try; then 18222 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18223 else 18224 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18225 fi 18226done 18227rm -f conf$$subs.sh 18228 18229cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18230cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 18231_ACEOF 18232sed -n ' 18233h 18234s/^/S["/; s/!.*/"]=/ 18235p 18236g 18237s/^[^!]*!// 18238:repl 18239t repl 18240s/'"$ac_delim"'$// 18241t delim 18242:nl 18243h 18244s/\(.\{148\}\)..*/\1/ 18245t more1 18246s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 18247p 18248n 18249b repl 18250:more1 18251s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18252p 18253g 18254s/.\{148\}// 18255t nl 18256:delim 18257h 18258s/\(.\{148\}\)..*/\1/ 18259t more2 18260s/["\\]/\\&/g; s/^/"/; s/$/"/ 18261p 18262b 18263:more2 18264s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18265p 18266g 18267s/.\{148\}// 18268t delim 18269' <conf$$subs.awk | sed ' 18270/^[^""]/{ 18271 N 18272 s/\n// 18273} 18274' >>$CONFIG_STATUS || ac_write_fail=1 18275rm -f conf$$subs.awk 18276cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18277_ACAWK 18278cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 18279 for (key in S) S_is_set[key] = 1 18280 FS = "" 18281 18282} 18283{ 18284 line = $ 0 18285 nfields = split(line, field, "@") 18286 substed = 0 18287 len = length(field[1]) 18288 for (i = 2; i < nfields; i++) { 18289 key = field[i] 18290 keylen = length(key) 18291 if (S_is_set[key]) { 18292 value = S[key] 18293 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 18294 len += length(value) + length(field[++i]) 18295 substed = 1 18296 } else 18297 len += 1 + keylen 18298 } 18299 18300 print line 18301} 18302 18303_ACAWK 18304_ACEOF 18305cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18306if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 18307 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 18308else 18309 cat 18310fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 18311 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 18312_ACEOF 18313 18314# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 18315# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 18316# trailing colons and then remove the whole line if VPATH becomes empty 18317# (actually we leave an empty line to preserve line numbers). 18318if test "x$srcdir" = x.; then 18319 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 18320h 18321s/// 18322s/^/:/ 18323s/[ ]*$/:/ 18324s/:\$(srcdir):/:/g 18325s/:\${srcdir}:/:/g 18326s/:@srcdir@:/:/g 18327s/^:*// 18328s/:*$// 18329x 18330s/\(=[ ]*\).*/\1/ 18331G 18332s/\n// 18333s/^[^=]*=[ ]*$// 18334}' 18335fi 18336 18337cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18338fi # test -n "$CONFIG_FILES" 18339 18340# Set up the scripts for CONFIG_HEADERS section. 18341# No need to generate them if there are no CONFIG_HEADERS. 18342# This happens for instance with `./config.status Makefile'. 18343if test -n "$CONFIG_HEADERS"; then 18344cat >"$ac_tmp/defines.awk" <<\_ACAWK || 18345BEGIN { 18346_ACEOF 18347 18348# Transform confdefs.h into an awk script `defines.awk', embedded as 18349# here-document in config.status, that substitutes the proper values into 18350# config.h.in to produce config.h. 18351 18352# Create a delimiter string that does not exist in confdefs.h, to ease 18353# handling of long lines. 18354ac_delim='%!_!# ' 18355for ac_last_try in false false :; do 18356 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 18357 if test -z "$ac_tt"; then 18358 break 18359 elif $ac_last_try; then 18360 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 18361 else 18362 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18363 fi 18364done 18365 18366# For the awk script, D is an array of macro values keyed by name, 18367# likewise P contains macro parameters if any. Preserve backslash 18368# newline sequences. 18369 18370ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 18371sed -n ' 18372s/.\{148\}/&'"$ac_delim"'/g 18373t rset 18374:rset 18375s/^[ ]*#[ ]*define[ ][ ]*/ / 18376t def 18377d 18378:def 18379s/\\$// 18380t bsnl 18381s/["\\]/\\&/g 18382s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18383D["\1"]=" \3"/p 18384s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 18385d 18386:bsnl 18387s/["\\]/\\&/g 18388s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18389D["\1"]=" \3\\\\\\n"\\/p 18390t cont 18391s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 18392t cont 18393d 18394:cont 18395n 18396s/.\{148\}/&'"$ac_delim"'/g 18397t clear 18398:clear 18399s/\\$// 18400t bsnlc 18401s/["\\]/\\&/g; s/^/"/; s/$/"/p 18402d 18403:bsnlc 18404s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 18405b cont 18406' <confdefs.h | sed ' 18407s/'"$ac_delim"'/"\\\ 18408"/g' >>$CONFIG_STATUS || ac_write_fail=1 18409 18410cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18411 for (key in D) D_is_set[key] = 1 18412 FS = "" 18413} 18414/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 18415 line = \$ 0 18416 split(line, arg, " ") 18417 if (arg[1] == "#") { 18418 defundef = arg[2] 18419 mac1 = arg[3] 18420 } else { 18421 defundef = substr(arg[1], 2) 18422 mac1 = arg[2] 18423 } 18424 split(mac1, mac2, "(") #) 18425 macro = mac2[1] 18426 prefix = substr(line, 1, index(line, defundef) - 1) 18427 if (D_is_set[macro]) { 18428 # Preserve the white space surrounding the "#". 18429 print prefix "define", macro P[macro] D[macro] 18430 next 18431 } else { 18432 # Replace #undef with comments. This is necessary, for example, 18433 # in the case of _POSIX_SOURCE, which is predefined and required 18434 # on some systems where configure will not decide to define it. 18435 if (defundef == "undef") { 18436 print "/*", prefix defundef, macro, "*/" 18437 next 18438 } 18439 } 18440} 18441{ print } 18442_ACAWK 18443_ACEOF 18444cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18445 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 18446fi # test -n "$CONFIG_HEADERS" 18447 18448 18449eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 18450shift 18451for ac_tag 18452do 18453 case $ac_tag in 18454 :[FHLC]) ac_mode=$ac_tag; continue;; 18455 esac 18456 case $ac_mode$ac_tag in 18457 :[FHL]*:*);; 18458 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 18459 :[FH]-) ac_tag=-:-;; 18460 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 18461 esac 18462 ac_save_IFS=$IFS 18463 IFS=: 18464 set x $ac_tag 18465 IFS=$ac_save_IFS 18466 shift 18467 ac_file=$1 18468 shift 18469 18470 case $ac_mode in 18471 :L) ac_source=$1;; 18472 :[FH]) 18473 ac_file_inputs= 18474 for ac_f 18475 do 18476 case $ac_f in 18477 -) ac_f="$ac_tmp/stdin";; 18478 *) # Look for the file first in the build tree, then in the source tree 18479 # (if the path is not absolute). The absolute path cannot be DOS-style, 18480 # because $ac_f cannot contain `:'. 18481 test -f "$ac_f" || 18482 case $ac_f in 18483 [\\/$]*) false;; 18484 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 18485 esac || 18486 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 18487 esac 18488 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 18489 as_fn_append ac_file_inputs " '$ac_f'" 18490 done 18491 18492 # Let's still pretend it is `configure' which instantiates (i.e., don't 18493 # use $as_me), people would be surprised to read: 18494 # /* config.h. Generated by config.status. */ 18495 configure_input='Generated from '` 18496 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 18497 `' by configure.' 18498 if test x"$ac_file" != x-; then 18499 configure_input="$ac_file. $configure_input" 18500 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 18501$as_echo "$as_me: creating $ac_file" >&6;} 18502 fi 18503 # Neutralize special characters interpreted by sed in replacement strings. 18504 case $configure_input in #( 18505 *\&* | *\|* | *\\* ) 18506 ac_sed_conf_input=`$as_echo "$configure_input" | 18507 sed 's/[\\\\&|]/\\\\&/g'`;; #( 18508 *) ac_sed_conf_input=$configure_input;; 18509 esac 18510 18511 case $ac_tag in 18512 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 18513 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 18514 esac 18515 ;; 18516 esac 18517 18518 ac_dir=`$as_dirname -- "$ac_file" || 18519$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18520 X"$ac_file" : 'X\(//\)[^/]' \| \ 18521 X"$ac_file" : 'X\(//\)$' \| \ 18522 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 18523$as_echo X"$ac_file" | 18524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18525 s//\1/ 18526 q 18527 } 18528 /^X\(\/\/\)[^/].*/{ 18529 s//\1/ 18530 q 18531 } 18532 /^X\(\/\/\)$/{ 18533 s//\1/ 18534 q 18535 } 18536 /^X\(\/\).*/{ 18537 s//\1/ 18538 q 18539 } 18540 s/.*/./; q'` 18541 as_dir="$ac_dir"; as_fn_mkdir_p 18542 ac_builddir=. 18543 18544case "$ac_dir" in 18545.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18546*) 18547 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18548 # A ".." for each directory in $ac_dir_suffix. 18549 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18550 case $ac_top_builddir_sub in 18551 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 18552 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 18553 esac ;; 18554esac 18555ac_abs_top_builddir=$ac_pwd 18556ac_abs_builddir=$ac_pwd$ac_dir_suffix 18557# for backward compatibility: 18558ac_top_builddir=$ac_top_build_prefix 18559 18560case $srcdir in 18561 .) # We are building in place. 18562 ac_srcdir=. 18563 ac_top_srcdir=$ac_top_builddir_sub 18564 ac_abs_top_srcdir=$ac_pwd ;; 18565 [\\/]* | ?:[\\/]* ) # Absolute name. 18566 ac_srcdir=$srcdir$ac_dir_suffix; 18567 ac_top_srcdir=$srcdir 18568 ac_abs_top_srcdir=$srcdir ;; 18569 *) # Relative name. 18570 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 18571 ac_top_srcdir=$ac_top_build_prefix$srcdir 18572 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 18573esac 18574ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 18575 18576 18577 case $ac_mode in 18578 :F) 18579 # 18580 # CONFIG_FILE 18581 # 18582 18583 case $INSTALL in 18584 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18585 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 18586 esac 18587 ac_MKDIR_P=$MKDIR_P 18588 case $MKDIR_P in 18589 [\\/$]* | ?:[\\/]* ) ;; 18590 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 18591 esac 18592_ACEOF 18593 18594cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18595# If the template does not know about datarootdir, expand it. 18596# FIXME: This hack should be removed a few years after 2.60. 18597ac_datarootdir_hack=; ac_datarootdir_seen= 18598ac_sed_dataroot=' 18599/datarootdir/ { 18600 p 18601 q 18602} 18603/@datadir@/p 18604/@docdir@/p 18605/@infodir@/p 18606/@localedir@/p 18607/@mandir@/p' 18608case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 18609*datarootdir*) ac_datarootdir_seen=yes;; 18610*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 18611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 18612$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 18613_ACEOF 18614cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18615 ac_datarootdir_hack=' 18616 s&@datadir@&$datadir&g 18617 s&@docdir@&$docdir&g 18618 s&@infodir@&$infodir&g 18619 s&@localedir@&$localedir&g 18620 s&@mandir@&$mandir&g 18621 s&\\\${datarootdir}&$datarootdir&g' ;; 18622esac 18623_ACEOF 18624 18625# Neutralize VPATH when `$srcdir' = `.'. 18626# Shell code in configure.ac might set extrasub. 18627# FIXME: do we really want to maintain this feature? 18628cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18629ac_sed_extra="$ac_vpsub 18630$extrasub 18631_ACEOF 18632cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18633:t 18634/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18635s|@configure_input@|$ac_sed_conf_input|;t t 18636s&@top_builddir@&$ac_top_builddir_sub&;t t 18637s&@top_build_prefix@&$ac_top_build_prefix&;t t 18638s&@srcdir@&$ac_srcdir&;t t 18639s&@abs_srcdir@&$ac_abs_srcdir&;t t 18640s&@top_srcdir@&$ac_top_srcdir&;t t 18641s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18642s&@builddir@&$ac_builddir&;t t 18643s&@abs_builddir@&$ac_abs_builddir&;t t 18644s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18645s&@INSTALL@&$ac_INSTALL&;t t 18646s&@MKDIR_P@&$ac_MKDIR_P&;t t 18647$ac_datarootdir_hack 18648" 18649eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18650 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18651 18652test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18653 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18654 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18655 "$ac_tmp/out"`; test -z "$ac_out"; } && 18656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18657which seems to be undefined. Please make sure it is defined" >&5 18658$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18659which seems to be undefined. Please make sure it is defined" >&2;} 18660 18661 rm -f "$ac_tmp/stdin" 18662 case $ac_file in 18663 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18664 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18665 esac \ 18666 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18667 ;; 18668 :H) 18669 # 18670 # CONFIG_HEADER 18671 # 18672 if test x"$ac_file" != x-; then 18673 { 18674 $as_echo "/* $configure_input */" \ 18675 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18676 } >"$ac_tmp/config.h" \ 18677 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18678 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18679 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18680$as_echo "$as_me: $ac_file is unchanged" >&6;} 18681 else 18682 rm -f "$ac_file" 18683 mv "$ac_tmp/config.h" "$ac_file" \ 18684 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18685 fi 18686 else 18687 $as_echo "/* $configure_input */" \ 18688 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18689 || as_fn_error $? "could not create -" "$LINENO" 5 18690 fi 18691# Compute "$ac_file"'s index in $config_headers. 18692_am_arg="$ac_file" 18693_am_stamp_count=1 18694for _am_header in $config_headers :; do 18695 case $_am_header in 18696 $_am_arg | $_am_arg:* ) 18697 break ;; 18698 * ) 18699 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18700 esac 18701done 18702echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18703$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18704 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18705 X"$_am_arg" : 'X\(//\)$' \| \ 18706 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18707$as_echo X"$_am_arg" | 18708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18709 s//\1/ 18710 q 18711 } 18712 /^X\(\/\/\)[^/].*/{ 18713 s//\1/ 18714 q 18715 } 18716 /^X\(\/\/\)$/{ 18717 s//\1/ 18718 q 18719 } 18720 /^X\(\/\).*/{ 18721 s//\1/ 18722 q 18723 } 18724 s/.*/./; q'`/stamp-h$_am_stamp_count 18725 ;; 18726 18727 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18728$as_echo "$as_me: executing $ac_file commands" >&6;} 18729 ;; 18730 esac 18731 18732 18733 case $ac_file$ac_mode in 18734 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18735 # Older Autoconf quotes --file arguments for eval, but not when files 18736 # are listed without --file. Let's play safe and only enable the eval 18737 # if we detect the quoting. 18738 # TODO: see whether this extra hack can be removed once we start 18739 # requiring Autoconf 2.70 or later. 18740 case $CONFIG_FILES in #( 18741 *\'*) : 18742 eval set x "$CONFIG_FILES" ;; #( 18743 *) : 18744 set x $CONFIG_FILES ;; #( 18745 *) : 18746 ;; 18747esac 18748 shift 18749 # Used to flag and report bootstrapping failures. 18750 am_rc=0 18751 for am_mf 18752 do 18753 # Strip MF so we end up with the name of the file. 18754 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 18755 # Check whether this is an Automake generated Makefile which includes 18756 # dependency-tracking related rules and includes. 18757 # Grep'ing the whole file directly is not great: AIX grep has a line 18758 # limit of 2048, but all sed's we know have understand at least 4000. 18759 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 18760 || continue 18761 am_dirpart=`$as_dirname -- "$am_mf" || 18762$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18763 X"$am_mf" : 'X\(//\)[^/]' \| \ 18764 X"$am_mf" : 'X\(//\)$' \| \ 18765 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 18766$as_echo X"$am_mf" | 18767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18768 s//\1/ 18769 q 18770 } 18771 /^X\(\/\/\)[^/].*/{ 18772 s//\1/ 18773 q 18774 } 18775 /^X\(\/\/\)$/{ 18776 s//\1/ 18777 q 18778 } 18779 /^X\(\/\).*/{ 18780 s//\1/ 18781 q 18782 } 18783 s/.*/./; q'` 18784 am_filepart=`$as_basename -- "$am_mf" || 18785$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 18786 X"$am_mf" : 'X\(//\)$' \| \ 18787 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 18788$as_echo X/"$am_mf" | 18789 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18790 s//\1/ 18791 q 18792 } 18793 /^X\/\(\/\/\)$/{ 18794 s//\1/ 18795 q 18796 } 18797 /^X\/\(\/\).*/{ 18798 s//\1/ 18799 q 18800 } 18801 s/.*/./; q'` 18802 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 18803 && sed -e '/# am--include-marker/d' "$am_filepart" \ 18804 | $MAKE -f - am--depfiles" >&5 18805 (cd "$am_dirpart" \ 18806 && sed -e '/# am--include-marker/d' "$am_filepart" \ 18807 | $MAKE -f - am--depfiles) >&5 2>&5 18808 ac_status=$? 18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18810 (exit $ac_status); } || am_rc=$? 18811 done 18812 if test $am_rc -ne 0; then 18813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18814$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18815as_fn_error $? "Something went wrong bootstrapping makefile fragments 18816 for automatic dependency tracking. If GNU make was not used, consider 18817 re-running the configure script with MAKE=\"gmake\" (or whatever is 18818 necessary). You can also try re-running configure with the 18819 '--disable-dependency-tracking' option to at least be able to build 18820 the package (albeit without support for automatic dependency tracking). 18821See \`config.log' for more details" "$LINENO" 5; } 18822 fi 18823 { am_dirpart=; unset am_dirpart;} 18824 { am_filepart=; unset am_filepart;} 18825 { am_mf=; unset am_mf;} 18826 { am_rc=; unset am_rc;} 18827 rm -f conftest-deps.mk 18828} 18829 ;; 18830 "libtool":C) 18831 18832 # See if we are running on zsh, and set the options that allow our 18833 # commands through without removal of \ escapes. 18834 if test -n "${ZSH_VERSION+set}"; then 18835 setopt NO_GLOB_SUBST 18836 fi 18837 18838 cfgfile=${ofile}T 18839 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 18840 $RM "$cfgfile" 18841 18842 cat <<_LT_EOF >> "$cfgfile" 18843#! $SHELL 18844# Generated automatically by $as_me ($PACKAGE) $VERSION 18845# NOTE: Changes made to this file will be lost: look at ltmain.sh. 18846 18847# Provide generalized library-building support services. 18848# Written by Gordon Matzigkeit, 1996 18849 18850# Copyright (C) 2014 Free Software Foundation, Inc. 18851# This is free software; see the source for copying conditions. There is NO 18852# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 18853 18854# GNU Libtool is free software; you can redistribute it and/or modify 18855# it under the terms of the GNU General Public License as published by 18856# the Free Software Foundation; either version 2 of of the License, or 18857# (at your option) any later version. 18858# 18859# As a special exception to the GNU General Public License, if you 18860# distribute this file as part of a program or library that is built 18861# using GNU Libtool, you may include this file under the same 18862# distribution terms that you use for the rest of that program. 18863# 18864# GNU Libtool is distributed in the hope that it will be useful, but 18865# WITHOUT ANY WARRANTY; without even the implied warranty of 18866# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18867# GNU General Public License for more details. 18868# 18869# You should have received a copy of the GNU General Public License 18870# along with this program. If not, see <http://www.gnu.org/licenses/>. 18871 18872 18873# The names of the tagged configurations supported by this script. 18874available_tags='' 18875 18876# Configured defaults for sys_lib_dlsearch_path munging. 18877: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 18878 18879# ### BEGIN LIBTOOL CONFIG 18880 18881# Which release of libtool.m4 was used? 18882macro_version=$macro_version 18883macro_revision=$macro_revision 18884 18885# Assembler program. 18886AS=$lt_AS 18887 18888# DLL creation program. 18889DLLTOOL=$lt_DLLTOOL 18890 18891# Object dumper program. 18892OBJDUMP=$lt_OBJDUMP 18893 18894# Whether or not to build shared libraries. 18895build_libtool_libs=$enable_shared 18896 18897# Whether or not to build static libraries. 18898build_old_libs=$enable_static 18899 18900# What type of objects to build. 18901pic_mode=$pic_mode 18902 18903# Whether or not to optimize for fast installation. 18904fast_install=$enable_fast_install 18905 18906# Shared archive member basename,for filename based shared library versioning on AIX. 18907shared_archive_member_spec=$shared_archive_member_spec 18908 18909# Shell to use when invoking shell scripts. 18910SHELL=$lt_SHELL 18911 18912# An echo program that protects backslashes. 18913ECHO=$lt_ECHO 18914 18915# The PATH separator for the build system. 18916PATH_SEPARATOR=$lt_PATH_SEPARATOR 18917 18918# The host system. 18919host_alias=$host_alias 18920host=$host 18921host_os=$host_os 18922 18923# The build system. 18924build_alias=$build_alias 18925build=$build 18926build_os=$build_os 18927 18928# A sed program that does not truncate output. 18929SED=$lt_SED 18930 18931# Sed that helps us avoid accidentally triggering echo(1) options like -n. 18932Xsed="\$SED -e 1s/^X//" 18933 18934# A grep program that handles long lines. 18935GREP=$lt_GREP 18936 18937# An ERE matcher. 18938EGREP=$lt_EGREP 18939 18940# A literal string matcher. 18941FGREP=$lt_FGREP 18942 18943# A BSD- or MS-compatible name lister. 18944NM=$lt_NM 18945 18946# Whether we need soft or hard links. 18947LN_S=$lt_LN_S 18948 18949# What is the maximum length of a command? 18950max_cmd_len=$max_cmd_len 18951 18952# Object file suffix (normally "o"). 18953objext=$ac_objext 18954 18955# Executable file suffix (normally ""). 18956exeext=$exeext 18957 18958# whether the shell understands "unset". 18959lt_unset=$lt_unset 18960 18961# turn spaces into newlines. 18962SP2NL=$lt_lt_SP2NL 18963 18964# turn newlines into spaces. 18965NL2SP=$lt_lt_NL2SP 18966 18967# convert \$build file names to \$host format. 18968to_host_file_cmd=$lt_cv_to_host_file_cmd 18969 18970# convert \$build files to toolchain format. 18971to_tool_file_cmd=$lt_cv_to_tool_file_cmd 18972 18973# Method to check whether dependent libraries are shared objects. 18974deplibs_check_method=$lt_deplibs_check_method 18975 18976# Command to use when deplibs_check_method = "file_magic". 18977file_magic_cmd=$lt_file_magic_cmd 18978 18979# How to find potential files when deplibs_check_method = "file_magic". 18980file_magic_glob=$lt_file_magic_glob 18981 18982# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 18983want_nocaseglob=$lt_want_nocaseglob 18984 18985# Command to associate shared and link libraries. 18986sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 18987 18988# The archiver. 18989AR=$lt_AR 18990 18991# Flags to create an archive. 18992AR_FLAGS=$lt_AR_FLAGS 18993 18994# How to feed a file listing to the archiver. 18995archiver_list_spec=$lt_archiver_list_spec 18996 18997# A symbol stripping program. 18998STRIP=$lt_STRIP 18999 19000# Commands used to install an old-style archive. 19001RANLIB=$lt_RANLIB 19002old_postinstall_cmds=$lt_old_postinstall_cmds 19003old_postuninstall_cmds=$lt_old_postuninstall_cmds 19004 19005# Whether to use a lock for old archive extraction. 19006lock_old_archive_extraction=$lock_old_archive_extraction 19007 19008# A C compiler. 19009LTCC=$lt_CC 19010 19011# LTCC compiler flags. 19012LTCFLAGS=$lt_CFLAGS 19013 19014# Take the output of nm and produce a listing of raw symbols and C names. 19015global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19016 19017# Transform the output of nm in a proper C declaration. 19018global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19019 19020# Transform the output of nm into a list of symbols to manually relocate. 19021global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 19022 19023# Transform the output of nm in a C name address pair. 19024global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19025 19026# Transform the output of nm in a C name address pair when lib prefix is needed. 19027global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 19028 19029# The name lister interface. 19030nm_interface=$lt_lt_cv_nm_interface 19031 19032# Specify filename containing input files for \$NM. 19033nm_file_list_spec=$lt_nm_file_list_spec 19034 19035# The root where to search for dependent libraries,and where our libraries should be installed. 19036lt_sysroot=$lt_sysroot 19037 19038# Command to truncate a binary pipe. 19039lt_truncate_bin=$lt_lt_cv_truncate_bin 19040 19041# The name of the directory that contains temporary libtool files. 19042objdir=$objdir 19043 19044# Used to examine libraries when file_magic_cmd begins with "file". 19045MAGIC_CMD=$MAGIC_CMD 19046 19047# Must we lock files when doing compilation? 19048need_locks=$lt_need_locks 19049 19050# Manifest tool. 19051MANIFEST_TOOL=$lt_MANIFEST_TOOL 19052 19053# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 19054DSYMUTIL=$lt_DSYMUTIL 19055 19056# Tool to change global to local symbols on Mac OS X. 19057NMEDIT=$lt_NMEDIT 19058 19059# Tool to manipulate fat objects and archives on Mac OS X. 19060LIPO=$lt_LIPO 19061 19062# ldd/readelf like tool for Mach-O binaries on Mac OS X. 19063OTOOL=$lt_OTOOL 19064 19065# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 19066OTOOL64=$lt_OTOOL64 19067 19068# Old archive suffix (normally "a"). 19069libext=$libext 19070 19071# Shared library suffix (normally ".so"). 19072shrext_cmds=$lt_shrext_cmds 19073 19074# The commands to extract the exported symbol list from a shared archive. 19075extract_expsyms_cmds=$lt_extract_expsyms_cmds 19076 19077# Variables whose values should be saved in libtool wrapper scripts and 19078# restored at link time. 19079variables_saved_for_relink=$lt_variables_saved_for_relink 19080 19081# Do we need the "lib" prefix for modules? 19082need_lib_prefix=$need_lib_prefix 19083 19084# Do we need a version for libraries? 19085need_version=$need_version 19086 19087# Library versioning type. 19088version_type=$version_type 19089 19090# Shared library runtime path variable. 19091runpath_var=$runpath_var 19092 19093# Shared library path variable. 19094shlibpath_var=$shlibpath_var 19095 19096# Is shlibpath searched before the hard-coded library search path? 19097shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19098 19099# Format of library name prefix. 19100libname_spec=$lt_libname_spec 19101 19102# List of archive names. First name is the real one, the rest are links. 19103# The last name is the one that the linker finds with -lNAME 19104library_names_spec=$lt_library_names_spec 19105 19106# The coded name of the library, if different from the real name. 19107soname_spec=$lt_soname_spec 19108 19109# Permission mode override for installation of shared libraries. 19110install_override_mode=$lt_install_override_mode 19111 19112# Command to use after installation of a shared archive. 19113postinstall_cmds=$lt_postinstall_cmds 19114 19115# Command to use after uninstallation of a shared archive. 19116postuninstall_cmds=$lt_postuninstall_cmds 19117 19118# Commands used to finish a libtool library installation in a directory. 19119finish_cmds=$lt_finish_cmds 19120 19121# As "finish_cmds", except a single script fragment to be evaled but 19122# not shown. 19123finish_eval=$lt_finish_eval 19124 19125# Whether we should hardcode library paths into libraries. 19126hardcode_into_libs=$hardcode_into_libs 19127 19128# Compile-time system search path for libraries. 19129sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19130 19131# Detected run-time system search path for libraries. 19132sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 19133 19134# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 19135configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 19136 19137# Whether dlopen is supported. 19138dlopen_support=$enable_dlopen 19139 19140# Whether dlopen of programs is supported. 19141dlopen_self=$enable_dlopen_self 19142 19143# Whether dlopen of statically linked programs is supported. 19144dlopen_self_static=$enable_dlopen_self_static 19145 19146# Commands to strip libraries. 19147old_striplib=$lt_old_striplib 19148striplib=$lt_striplib 19149 19150 19151# The linker used to build libraries. 19152LD=$lt_LD 19153 19154# How to create reloadable object files. 19155reload_flag=$lt_reload_flag 19156reload_cmds=$lt_reload_cmds 19157 19158# Commands used to build an old-style archive. 19159old_archive_cmds=$lt_old_archive_cmds 19160 19161# A language specific compiler. 19162CC=$lt_compiler 19163 19164# Is the compiler the GNU compiler? 19165with_gcc=$GCC 19166 19167# Compiler flag to turn off builtin functions. 19168no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 19169 19170# Additional compiler flags for building library objects. 19171pic_flag=$lt_lt_prog_compiler_pic 19172 19173# How to pass a linker flag through the compiler. 19174wl=$lt_lt_prog_compiler_wl 19175 19176# Compiler flag to prevent dynamic linking. 19177link_static_flag=$lt_lt_prog_compiler_static 19178 19179# Does compiler simultaneously support -c and -o options? 19180compiler_c_o=$lt_lt_cv_prog_compiler_c_o 19181 19182# Whether or not to add -lc for building shared libraries. 19183build_libtool_need_lc=$archive_cmds_need_lc 19184 19185# Whether or not to disallow shared libs when runtime libs are static. 19186allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 19187 19188# Compiler flag to allow reflexive dlopens. 19189export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 19190 19191# Compiler flag to generate shared objects directly from archives. 19192whole_archive_flag_spec=$lt_whole_archive_flag_spec 19193 19194# Whether the compiler copes with passing no objects directly. 19195compiler_needs_object=$lt_compiler_needs_object 19196 19197# Create an old-style archive from a shared archive. 19198old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 19199 19200# Create a temporary old-style archive to link instead of a shared archive. 19201old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 19202 19203# Commands used to build a shared archive. 19204archive_cmds=$lt_archive_cmds 19205archive_expsym_cmds=$lt_archive_expsym_cmds 19206 19207# Commands used to build a loadable module if different from building 19208# a shared archive. 19209module_cmds=$lt_module_cmds 19210module_expsym_cmds=$lt_module_expsym_cmds 19211 19212# Whether we are building with GNU ld or not. 19213with_gnu_ld=$lt_with_gnu_ld 19214 19215# Flag that allows shared libraries with undefined symbols to be built. 19216allow_undefined_flag=$lt_allow_undefined_flag 19217 19218# Flag that enforces no undefined symbols. 19219no_undefined_flag=$lt_no_undefined_flag 19220 19221# Flag to hardcode \$libdir into a binary during linking. 19222# This must work even if \$libdir does not exist 19223hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 19224 19225# Whether we need a single "-rpath" flag with a separated argument. 19226hardcode_libdir_separator=$lt_hardcode_libdir_separator 19227 19228# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 19229# DIR into the resulting binary. 19230hardcode_direct=$hardcode_direct 19231 19232# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 19233# DIR into the resulting binary and the resulting library dependency is 19234# "absolute",i.e impossible to change by setting \$shlibpath_var if the 19235# library is relocated. 19236hardcode_direct_absolute=$hardcode_direct_absolute 19237 19238# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19239# into the resulting binary. 19240hardcode_minus_L=$hardcode_minus_L 19241 19242# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19243# into the resulting binary. 19244hardcode_shlibpath_var=$hardcode_shlibpath_var 19245 19246# Set to "yes" if building a shared library automatically hardcodes DIR 19247# into the library and all subsequent libraries and executables linked 19248# against it. 19249hardcode_automatic=$hardcode_automatic 19250 19251# Set to yes if linker adds runtime paths of dependent libraries 19252# to runtime path list. 19253inherit_rpath=$inherit_rpath 19254 19255# Whether libtool must link a program against all its dependency libraries. 19256link_all_deplibs=$link_all_deplibs 19257 19258# Set to "yes" if exported symbols are required. 19259always_export_symbols=$always_export_symbols 19260 19261# The commands to list exported symbols. 19262export_symbols_cmds=$lt_export_symbols_cmds 19263 19264# Symbols that should not be listed in the preloaded symbols. 19265exclude_expsyms=$lt_exclude_expsyms 19266 19267# Symbols that must always be exported. 19268include_expsyms=$lt_include_expsyms 19269 19270# Commands necessary for linking programs (against libraries) with templates. 19271prelink_cmds=$lt_prelink_cmds 19272 19273# Commands necessary for finishing linking programs. 19274postlink_cmds=$lt_postlink_cmds 19275 19276# Specify filename containing input files. 19277file_list_spec=$lt_file_list_spec 19278 19279# How to hardcode a shared library path into an executable. 19280hardcode_action=$hardcode_action 19281 19282# ### END LIBTOOL CONFIG 19283 19284_LT_EOF 19285 19286 cat <<'_LT_EOF' >> "$cfgfile" 19287 19288# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 19289 19290# func_munge_path_list VARIABLE PATH 19291# ----------------------------------- 19292# VARIABLE is name of variable containing _space_ separated list of 19293# directories to be munged by the contents of PATH, which is string 19294# having a format: 19295# "DIR[:DIR]:" 19296# string "DIR[ DIR]" will be prepended to VARIABLE 19297# ":DIR[:DIR]" 19298# string "DIR[ DIR]" will be appended to VARIABLE 19299# "DIRP[:DIRP]::[DIRA:]DIRA" 19300# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 19301# "DIRA[ DIRA]" will be appended to VARIABLE 19302# "DIR[:DIR]" 19303# VARIABLE will be replaced by "DIR[ DIR]" 19304func_munge_path_list () 19305{ 19306 case x$2 in 19307 x) 19308 ;; 19309 *:) 19310 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 19311 ;; 19312 x:*) 19313 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 19314 ;; 19315 *::*) 19316 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 19317 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 19318 ;; 19319 *) 19320 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 19321 ;; 19322 esac 19323} 19324 19325 19326# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 19327func_cc_basename () 19328{ 19329 for cc_temp in $*""; do 19330 case $cc_temp in 19331 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 19332 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 19333 \-*) ;; 19334 *) break;; 19335 esac 19336 done 19337 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 19338} 19339 19340 19341# ### END FUNCTIONS SHARED WITH CONFIGURE 19342 19343_LT_EOF 19344 19345 case $host_os in 19346 aix3*) 19347 cat <<\_LT_EOF >> "$cfgfile" 19348# AIX sometimes has problems with the GCC collect2 program. For some 19349# reason, if we set the COLLECT_NAMES environment variable, the problems 19350# vanish in a puff of smoke. 19351if test set != "${COLLECT_NAMES+set}"; then 19352 COLLECT_NAMES= 19353 export COLLECT_NAMES 19354fi 19355_LT_EOF 19356 ;; 19357 esac 19358 19359 19360ltmain=$ac_aux_dir/ltmain.sh 19361 19362 19363 # We use sed instead of cat because bash on DJGPP gets confused if 19364 # if finds mixed CR/LF and LF-only lines. Since sed operates in 19365 # text mode, it properly converts lines to CR/LF. This bash problem 19366 # is reportedly fixed, but why not run on old versions too? 19367 sed '$q' "$ltmain" >> "$cfgfile" \ 19368 || (rm -f "$cfgfile"; exit 1) 19369 19370 mv -f "$cfgfile" "$ofile" || 19371 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 19372 chmod +x "$ofile" 19373 19374 ;; 19375 19376 esac 19377done # for ac_tag 19378 19379 19380as_fn_exit 0 19381_ACEOF 19382ac_clean_files=$ac_clean_files_save 19383 19384test $ac_write_fail = 0 || 19385 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 19386 19387 19388# configure is writing to config.log, and then calls config.status. 19389# config.status does its own redirection, appending to config.log. 19390# Unfortunately, on DOS this fails, as config.log is still kept open 19391# by configure, so config.status won't be able to write to it; its 19392# output is simply discarded. So we exec the FD to /dev/null, 19393# effectively closing config.log, so it can be properly (re)opened and 19394# appended to by config.status. When coming back to configure, we 19395# need to make the FD available again. 19396if test "$no_create" != yes; then 19397 ac_cs_success=: 19398 ac_config_status_args= 19399 test "$silent" = yes && 19400 ac_config_status_args="$ac_config_status_args --quiet" 19401 exec 5>/dev/null 19402 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 19403 exec 5>>config.log 19404 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 19405 # would make configure fail if this is the last instruction. 19406 $ac_cs_success || as_fn_exit 1 19407fi 19408if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 19409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 19410$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 19411fi 19412 19413 19414if test "x$CROSSTARGET32" != "xno" -o "x$CROSSTARGET64" != "xno"; then : 19415 HAVE_CROSSTEST=yes 19416else 19417 HAVE_CROSSTEST=no 19418fi 19419if test $DX_FLAG_doc = 1; then : 19420 HAVE_DOCS=yes 19421else 19422 HAVE_DOCS=no 19423fi 19424 19425$as_echo " 19426 Configuration summary for $PACKAGE $VERSION 19427 19428 widl: ${WIDL} 19429 19430 Have XCB: ${HAVE_XCB} 19431 Have SPIRV-Tools: ${with_spirv_tools} 19432 19433 Building demos: ${enable_demos} 19434 Building tests: ${enable_tests} 19435 Building documentation: ${HAVE_DOCS} 19436 19437 Building crosstests: ${HAVE_CROSSTEST}" 19438if test "x$CROSSTARGET32" != "xno"; then : 19439 $as_echo " Using 32-bit cross compiler: $CROSSCC32" 19440fi 19441if test "x$CROSSTARGET64" != "xno"; then : 19442 $as_echo " Using 64-bit cross compiler: $CROSSCC64" 19443fi 19444$as_echo 19445