1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for love 0.10.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 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293# as_fn_unset VAR 294# --------------- 295# Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302# as_fn_set_status STATUS 303# ----------------------- 304# Set $? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} # as_fn_set_status 309 310# as_fn_exit STATUS 311# ----------------- 312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} # as_fn_exit 319 320# as_fn_mkdir_p 321# ------------- 322# Create "$as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} # as_fn_mkdir_p 367 368# as_fn_executable_p FILE 369# ----------------------- 370# Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} # as_fn_executable_p 375# as_fn_append VAR VALUE 376# ---------------------- 377# Append the text in VALUE to the end of the definition contained in VAR. Take 378# advantage of any shell optimizations that allow amortized linear growth over 379# repeated appends, instead of the typical quadratic growth present in naive 380# implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393# as_fn_arith ARG... 394# ------------------ 395# Perform arithmetic evaluation on the ARGs, and store the result in the 396# global $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411# as_fn_error STATUS ERROR [LINENO LOG_FD] 412# ---------------------------------------- 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415# script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} # as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in #((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIBOBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME='love' 589PACKAGE_TARNAME='love' 590PACKAGE_VERSION='0.10.2' 591PACKAGE_STRING='love 0.10.2' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595ac_unique_file="src/love.cpp" 596ac_default_prefix=/usr 597# Factoring default headers for most tests. 598ac_includes_default="\ 599#include <stdio.h> 600#ifdef HAVE_SYS_TYPES_H 601# include <sys/types.h> 602#endif 603#ifdef HAVE_SYS_STAT_H 604# include <sys/stat.h> 605#endif 606#ifdef STDC_HEADERS 607# include <stdlib.h> 608# include <stddef.h> 609#else 610# ifdef HAVE_STDLIB_H 611# include <stdlib.h> 612# endif 613#endif 614#ifdef HAVE_STRING_H 615# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 616# include <memory.h> 617# endif 618# include <string.h> 619#endif 620#ifdef HAVE_STRINGS_H 621# include <strings.h> 622#endif 623#ifdef HAVE_INTTYPES_H 624# include <inttypes.h> 625#endif 626#ifdef HAVE_STDINT_H 627# include <stdint.h> 628#endif 629#ifdef HAVE_UNISTD_H 630# include <unistd.h> 631#endif" 632 633ac_subst_vars='am__EXEEXT_FALSE 634am__EXEEXT_TRUE 635LTLIBOBJS 636LIBOBJS 637LOVE_SUFFIX 638LOVE_LIBRARY_WUFF_FALSE 639LOVE_LIBRARY_WUFF_TRUE 640LOVE_LIBRARY_UTF8_FALSE 641LOVE_LIBRARY_UTF8_TRUE 642LOVE_LIBRARY_STB_FALSE 643LOVE_LIBRARY_STB_TRUE 644LOVE_LIBRARY_NOISE1234_FALSE 645LOVE_LIBRARY_NOISE1234_TRUE 646LOVE_LIBRARY_LZ4_FALSE 647LOVE_LIBRARY_LZ4_TRUE 648LOVE_LIBRARY_LUAUTF8_FALSE 649LOVE_LIBRARY_LUAUTF8_TRUE 650LOVE_LIBRARY_LUASOCKET_FALSE 651LOVE_LIBRARY_LUASOCKET_TRUE 652LOVE_LIBRARY_LODEPNG_FALSE 653LOVE_LIBRARY_LODEPNG_TRUE 654LOVE_LIBRARY_GLAD_FALSE 655LOVE_LIBRARY_GLAD_TRUE 656LOVE_LIBRARY_ENET_FALSE 657LOVE_LIBRARY_ENET_TRUE 658LOVE_LIBRARY_DDSPARSE_FALSE 659LOVE_LIBRARY_DDSPARSE_TRUE 660LOVE_LIBRARY_BOX2D_FALSE 661LOVE_LIBRARY_BOX2D_TRUE 662LOVE_IMPLEMENTATION_WINDOW_SDL_FALSE 663LOVE_IMPLEMENTATION_WINDOW_SDL_TRUE 664LOVE_MODULE_WINDOW_FALSE 665LOVE_MODULE_WINDOW_TRUE 666LOVE_IMPLEMENTATION_VIDEO_THEORA_FALSE 667LOVE_IMPLEMENTATION_VIDEO_THEORA_TRUE 668LOVE_MODULE_VIDEO_FALSE 669LOVE_MODULE_VIDEO_TRUE 670LOVE_IMPLEMENTATION_TOUCH_SDL_FALSE 671LOVE_IMPLEMENTATION_TOUCH_SDL_TRUE 672LOVE_MODULE_TOUCH_FALSE 673LOVE_MODULE_TOUCH_TRUE 674LOVE_IMPLEMENTATION_TIMER_SDL_FALSE 675LOVE_IMPLEMENTATION_TIMER_SDL_TRUE 676LOVE_MODULE_TIMER_FALSE 677LOVE_MODULE_TIMER_TRUE 678LOVE_IMPLEMENTATION_THREAD_SDL_FALSE 679LOVE_IMPLEMENTATION_THREAD_SDL_TRUE 680LOVE_MODULE_THREAD_FALSE 681LOVE_MODULE_THREAD_TRUE 682LOVE_IMPLEMENTATION_SYSTEM_SDL_FALSE 683LOVE_IMPLEMENTATION_SYSTEM_SDL_TRUE 684LOVE_MODULE_SYSTEM_FALSE 685LOVE_MODULE_SYSTEM_TRUE 686LOVE_IMPLEMENTATION_SOUND_LULLABY_FALSE 687LOVE_IMPLEMENTATION_SOUND_LULLABY_TRUE 688LOVE_MODULE_SOUND_FALSE 689LOVE_MODULE_SOUND_TRUE 690LOVE_IMPLEMENTATION_PHYSICS_BOX2D_FALSE 691LOVE_IMPLEMENTATION_PHYSICS_BOX2D_TRUE 692LOVE_MODULE_PHYSICS_FALSE 693LOVE_MODULE_PHYSICS_TRUE 694LOVE_IMPLEMENTATION_MOUSE_SDL_FALSE 695LOVE_IMPLEMENTATION_MOUSE_SDL_TRUE 696LOVE_MODULE_MOUSE_FALSE 697LOVE_MODULE_MOUSE_TRUE 698LOVE_MODULE_MATH_FALSE 699LOVE_MODULE_MATH_TRUE 700LOVE_MODULE_LOVE_FALSE 701LOVE_MODULE_LOVE_TRUE 702LOVE_IMPLEMENTATION_KEYBOARD_SDL_FALSE 703LOVE_IMPLEMENTATION_KEYBOARD_SDL_TRUE 704LOVE_MODULE_KEYBOARD_FALSE 705LOVE_MODULE_KEYBOARD_TRUE 706LOVE_IMPLEMENTATION_JOYSTICK_SDL_FALSE 707LOVE_IMPLEMENTATION_JOYSTICK_SDL_TRUE 708LOVE_MODULE_JOYSTICK_FALSE 709LOVE_MODULE_JOYSTICK_TRUE 710LOVE_IMPLEMENTATION_IMAGE_MAGPIE_FALSE 711LOVE_IMPLEMENTATION_IMAGE_MAGPIE_TRUE 712LOVE_MODULE_IMAGE_FALSE 713LOVE_MODULE_IMAGE_TRUE 714LOVE_IMPLEMENTATION_GRAPHICS_OPENGL_FALSE 715LOVE_IMPLEMENTATION_GRAPHICS_OPENGL_TRUE 716LOVE_MODULE_GRAPHICS_FALSE 717LOVE_MODULE_GRAPHICS_TRUE 718LOVE_IMPLEMENTATION_FONT_FREETYPE_FALSE 719LOVE_IMPLEMENTATION_FONT_FREETYPE_TRUE 720LOVE_MODULE_FONT_FALSE 721LOVE_MODULE_FONT_TRUE 722LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS_FALSE 723LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS_TRUE 724LOVE_MODULE_FILESYSTEM_FALSE 725LOVE_MODULE_FILESYSTEM_TRUE 726LOVE_IMPLEMENTATION_EVENT_SDL_FALSE 727LOVE_IMPLEMENTATION_EVENT_SDL_TRUE 728LOVE_MODULE_EVENT_FALSE 729LOVE_MODULE_EVENT_TRUE 730LOVE_IMPLEMENTATION_AUDIO_OPENAL_FALSE 731LOVE_IMPLEMENTATION_AUDIO_OPENAL_TRUE 732LOVE_IMPLEMENTATION_AUDIO_NULL_FALSE 733LOVE_IMPLEMENTATION_AUDIO_NULL_TRUE 734LOVE_MODULE_AUDIO_FALSE 735LOVE_MODULE_AUDIO_TRUE 736LOVE_INCLUDES 737LUA_EXECUTABLE 738LOVE_TARGET_OSX_FALSE 739LOVE_TARGET_OSX_TRUE 740LOVE_NOMPG123_FALSE 741LOVE_NOMPG123_TRUE 742LOVE_BUILD_EXE_FALSE 743LOVE_BUILD_EXE_TRUE 744FILE_OFFSET 745theora_LIBS 746theora_CFLAGS 747zlib_LIBS 748zlib_CFLAGS 749vorbisfile_LIBS 750vorbisfile_CFLAGS 751libmodplug_LIBS 752libmodplug_CFLAGS 753openal_LIBS 754openal_CFLAGS 755freetype2_LIBS 756freetype2_CFLAGS 757lua_LIBS 758lua_CFLAGS 759SDL2_CONFIG 760SDL_LIBS 761SDL_CFLAGS 762SDL2_FRAMEWORK 763PKG_CONFIG_LIBDIR 764PKG_CONFIG_PATH 765PKG_CONFIG 766am__fastdepOBJCXX_FALSE 767am__fastdepOBJCXX_TRUE 768OBJCXXDEPMODE 769ac_ct_OBJCXX 770OBJCXXFLAGS 771OBJCXX 772CXXCPP 773am__fastdepCXX_FALSE 774am__fastdepCXX_TRUE 775CXXDEPMODE 776ac_ct_CXX 777CXXFLAGS 778CXX 779CPP 780LT_SYS_LIBRARY_PATH 781OTOOL64 782OTOOL 783LIPO 784NMEDIT 785DSYMUTIL 786MANIFEST_TOOL 787RANLIB 788DLLTOOL 789OBJDUMP 790LN_S 791NM 792ac_ct_DUMPBIN 793DUMPBIN 794LD 795FGREP 796EGREP 797GREP 798SED 799host_os 800host_vendor 801host_cpu 802host 803build_os 804build_vendor 805build_cpu 806build 807LIBTOOL 808am__fastdepCC_FALSE 809am__fastdepCC_TRUE 810CCDEPMODE 811am__nodep 812AMDEPBACKSLASH 813AMDEP_FALSE 814AMDEP_TRUE 815am__quote 816am__include 817DEPDIR 818OBJEXT 819EXEEXT 820ac_ct_CC 821CPPFLAGS 822LDFLAGS 823CFLAGS 824CC 825ac_ct_AR 826AR 827AM_BACKSLASH 828AM_DEFAULT_VERBOSITY 829AM_DEFAULT_V 830AM_V 831am__untar 832am__tar 833AMTAR 834am__leading_dot 835SET_MAKE 836AWK 837mkdir_p 838MKDIR_P 839INSTALL_STRIP_PROGRAM 840STRIP 841install_sh 842MAKEINFO 843AUTOHEADER 844AUTOMAKE 845AUTOCONF 846ACLOCAL 847VERSION 848PACKAGE 849CYGPATH_W 850am__isrc 851INSTALL_DATA 852INSTALL_SCRIPT 853INSTALL_PROGRAM 854target_alias 855host_alias 856build_alias 857LIBS 858ECHO_T 859ECHO_N 860ECHO_C 861DEFS 862mandir 863localedir 864libdir 865psdir 866pdfdir 867dvidir 868htmldir 869infodir 870docdir 871oldincludedir 872includedir 873localstatedir 874sharedstatedir 875sysconfdir 876datadir 877datarootdir 878libexecdir 879sbindir 880bindir 881program_transform_name 882prefix 883exec_prefix 884PACKAGE_URL 885PACKAGE_BUGREPORT 886PACKAGE_STRING 887PACKAGE_VERSION 888PACKAGE_TARNAME 889PACKAGE_NAME 890PATH_SEPARATOR 891SHELL' 892ac_subst_files='' 893ac_user_opts=' 894enable_option_checking 895enable_silent_rules 896enable_dependency_tracking 897enable_static 898enable_shared 899with_pic 900enable_fast_install 901with_aix_soname 902with_gnu_ld 903with_sysroot 904enable_libtool_lock 905enable_osx 906enable_stbi_sse2_override 907with_lua 908with_luaversion 909with_sdl_prefix 910with_sdl_exec_prefix 911enable_sdltest 912enable_sdlframework 913enable_mpg123 914enable_gme 915enable_exe 916enable_module_audio 917enable_implementation_audio_null 918enable_implementation_audio_openal 919enable_module_event 920enable_implementation_event_sdl 921enable_module_filesystem 922enable_implementation_filesystem_physfs 923enable_module_font 924enable_implementation_font_freetype 925enable_module_graphics 926enable_implementation_graphics_opengl 927enable_module_image 928enable_implementation_image_magpie 929enable_module_joystick 930enable_implementation_joystick_sdl 931enable_module_keyboard 932enable_implementation_keyboard_sdl 933enable_module_love 934enable_module_math 935enable_module_mouse 936enable_implementation_mouse_sdl 937enable_module_physics 938enable_implementation_physics_box2d 939enable_module_sound 940enable_implementation_sound_lullaby 941enable_module_system 942enable_implementation_system_sdl 943enable_module_thread 944enable_implementation_thread_sdl 945enable_module_timer 946enable_implementation_timer_sdl 947enable_module_touch 948enable_implementation_touch_sdl 949enable_module_video 950enable_implementation_video_theora 951enable_module_window 952enable_implementation_window_sdl 953enable_library_Box2D 954enable_library_ddsparse 955enable_library_enet 956enable_library_glad 957enable_library_lodepng 958enable_library_luasocket 959enable_library_luautf8 960enable_library_lz4 961enable_library_noise1234 962enable_library_stb 963enable_library_utf8 964enable_library_Wuff 965' 966 ac_precious_vars='build_alias 967host_alias 968target_alias 969CC 970CFLAGS 971LDFLAGS 972LIBS 973CPPFLAGS 974LT_SYS_LIBRARY_PATH 975CPP 976CXX 977CXXFLAGS 978CCC 979CXXCPP 980OBJCXX 981OBJCXXFLAGS 982PKG_CONFIG 983PKG_CONFIG_PATH 984PKG_CONFIG_LIBDIR 985SDL2_FRAMEWORK 986SDL_CFLAGS 987SDL_LIBS 988lua_CFLAGS 989lua_LIBS 990freetype2_CFLAGS 991freetype2_LIBS 992openal_CFLAGS 993openal_LIBS 994libmodplug_CFLAGS 995libmodplug_LIBS 996vorbisfile_CFLAGS 997vorbisfile_LIBS 998zlib_CFLAGS 999zlib_LIBS 1000theora_CFLAGS 1001theora_LIBS' 1002 1003 1004# Initialize some variables set by options. 1005ac_init_help= 1006ac_init_version=false 1007ac_unrecognized_opts= 1008ac_unrecognized_sep= 1009# The variables have the same names as the options, with 1010# dashes changed to underlines. 1011cache_file=/dev/null 1012exec_prefix=NONE 1013no_create= 1014no_recursion= 1015prefix=NONE 1016program_prefix=NONE 1017program_suffix=NONE 1018program_transform_name=s,x,x, 1019silent= 1020site= 1021srcdir= 1022verbose= 1023x_includes=NONE 1024x_libraries=NONE 1025 1026# Installation directory options. 1027# These are left unexpanded so users can "make install exec_prefix=/foo" 1028# and all the variables that are supposed to be based on exec_prefix 1029# by default will actually change. 1030# Use braces instead of parens because sh, perl, etc. also accept them. 1031# (The list follows the same order as the GNU Coding Standards.) 1032bindir='${exec_prefix}/bin' 1033sbindir='${exec_prefix}/sbin' 1034libexecdir='${exec_prefix}/libexec' 1035datarootdir='${prefix}/share' 1036datadir='${datarootdir}' 1037sysconfdir='${prefix}/etc' 1038sharedstatedir='${prefix}/com' 1039localstatedir='${prefix}/var' 1040includedir='${prefix}/include' 1041oldincludedir='/usr/include' 1042docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1043infodir='${datarootdir}/info' 1044htmldir='${docdir}' 1045dvidir='${docdir}' 1046pdfdir='${docdir}' 1047psdir='${docdir}' 1048libdir='${exec_prefix}/lib' 1049localedir='${datarootdir}/locale' 1050mandir='${datarootdir}/man' 1051 1052ac_prev= 1053ac_dashdash= 1054for ac_option 1055do 1056 # If the previous option needs an argument, assign it. 1057 if test -n "$ac_prev"; then 1058 eval $ac_prev=\$ac_option 1059 ac_prev= 1060 continue 1061 fi 1062 1063 case $ac_option in 1064 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1065 *=) ac_optarg= ;; 1066 *) ac_optarg=yes ;; 1067 esac 1068 1069 # Accept the important Cygnus configure options, so we can diagnose typos. 1070 1071 case $ac_dashdash$ac_option in 1072 --) 1073 ac_dashdash=yes ;; 1074 1075 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1076 ac_prev=bindir ;; 1077 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1078 bindir=$ac_optarg ;; 1079 1080 -build | --build | --buil | --bui | --bu) 1081 ac_prev=build_alias ;; 1082 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1083 build_alias=$ac_optarg ;; 1084 1085 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1086 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1087 ac_prev=cache_file ;; 1088 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1089 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1090 cache_file=$ac_optarg ;; 1091 1092 --config-cache | -C) 1093 cache_file=config.cache ;; 1094 1095 -datadir | --datadir | --datadi | --datad) 1096 ac_prev=datadir ;; 1097 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1098 datadir=$ac_optarg ;; 1099 1100 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1101 | --dataroo | --dataro | --datar) 1102 ac_prev=datarootdir ;; 1103 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1104 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1105 datarootdir=$ac_optarg ;; 1106 1107 -disable-* | --disable-*) 1108 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1109 # Reject names that are not valid shell variable names. 1110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1111 as_fn_error $? "invalid feature name: $ac_useropt" 1112 ac_useropt_orig=$ac_useropt 1113 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1114 case $ac_user_opts in 1115 *" 1116"enable_$ac_useropt" 1117"*) ;; 1118 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1119 ac_unrecognized_sep=', ';; 1120 esac 1121 eval enable_$ac_useropt=no ;; 1122 1123 -docdir | --docdir | --docdi | --doc | --do) 1124 ac_prev=docdir ;; 1125 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1126 docdir=$ac_optarg ;; 1127 1128 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1129 ac_prev=dvidir ;; 1130 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1131 dvidir=$ac_optarg ;; 1132 1133 -enable-* | --enable-*) 1134 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1135 # Reject names that are not valid shell variable names. 1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1137 as_fn_error $? "invalid feature name: $ac_useropt" 1138 ac_useropt_orig=$ac_useropt 1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1140 case $ac_user_opts in 1141 *" 1142"enable_$ac_useropt" 1143"*) ;; 1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1145 ac_unrecognized_sep=', ';; 1146 esac 1147 eval enable_$ac_useropt=\$ac_optarg ;; 1148 1149 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1150 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1151 | --exec | --exe | --ex) 1152 ac_prev=exec_prefix ;; 1153 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1154 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1155 | --exec=* | --exe=* | --ex=*) 1156 exec_prefix=$ac_optarg ;; 1157 1158 -gas | --gas | --ga | --g) 1159 # Obsolete; use --with-gas. 1160 with_gas=yes ;; 1161 1162 -help | --help | --hel | --he | -h) 1163 ac_init_help=long ;; 1164 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1165 ac_init_help=recursive ;; 1166 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1167 ac_init_help=short ;; 1168 1169 -host | --host | --hos | --ho) 1170 ac_prev=host_alias ;; 1171 -host=* | --host=* | --hos=* | --ho=*) 1172 host_alias=$ac_optarg ;; 1173 1174 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1175 ac_prev=htmldir ;; 1176 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1177 | --ht=*) 1178 htmldir=$ac_optarg ;; 1179 1180 -includedir | --includedir | --includedi | --included | --include \ 1181 | --includ | --inclu | --incl | --inc) 1182 ac_prev=includedir ;; 1183 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1184 | --includ=* | --inclu=* | --incl=* | --inc=*) 1185 includedir=$ac_optarg ;; 1186 1187 -infodir | --infodir | --infodi | --infod | --info | --inf) 1188 ac_prev=infodir ;; 1189 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1190 infodir=$ac_optarg ;; 1191 1192 -libdir | --libdir | --libdi | --libd) 1193 ac_prev=libdir ;; 1194 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1195 libdir=$ac_optarg ;; 1196 1197 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1198 | --libexe | --libex | --libe) 1199 ac_prev=libexecdir ;; 1200 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1201 | --libexe=* | --libex=* | --libe=*) 1202 libexecdir=$ac_optarg ;; 1203 1204 -localedir | --localedir | --localedi | --localed | --locale) 1205 ac_prev=localedir ;; 1206 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1207 localedir=$ac_optarg ;; 1208 1209 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1210 | --localstate | --localstat | --localsta | --localst | --locals) 1211 ac_prev=localstatedir ;; 1212 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1213 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1214 localstatedir=$ac_optarg ;; 1215 1216 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1217 ac_prev=mandir ;; 1218 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1219 mandir=$ac_optarg ;; 1220 1221 -nfp | --nfp | --nf) 1222 # Obsolete; use --without-fp. 1223 with_fp=no ;; 1224 1225 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1226 | --no-cr | --no-c | -n) 1227 no_create=yes ;; 1228 1229 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1230 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1231 no_recursion=yes ;; 1232 1233 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1234 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1235 | --oldin | --oldi | --old | --ol | --o) 1236 ac_prev=oldincludedir ;; 1237 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1238 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1239 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1240 oldincludedir=$ac_optarg ;; 1241 1242 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1243 ac_prev=prefix ;; 1244 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1245 prefix=$ac_optarg ;; 1246 1247 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1248 | --program-pre | --program-pr | --program-p) 1249 ac_prev=program_prefix ;; 1250 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1251 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1252 program_prefix=$ac_optarg ;; 1253 1254 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1255 | --program-suf | --program-su | --program-s) 1256 ac_prev=program_suffix ;; 1257 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1258 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1259 program_suffix=$ac_optarg ;; 1260 1261 -program-transform-name | --program-transform-name \ 1262 | --program-transform-nam | --program-transform-na \ 1263 | --program-transform-n | --program-transform- \ 1264 | --program-transform | --program-transfor \ 1265 | --program-transfo | --program-transf \ 1266 | --program-trans | --program-tran \ 1267 | --progr-tra | --program-tr | --program-t) 1268 ac_prev=program_transform_name ;; 1269 -program-transform-name=* | --program-transform-name=* \ 1270 | --program-transform-nam=* | --program-transform-na=* \ 1271 | --program-transform-n=* | --program-transform-=* \ 1272 | --program-transform=* | --program-transfor=* \ 1273 | --program-transfo=* | --program-transf=* \ 1274 | --program-trans=* | --program-tran=* \ 1275 | --progr-tra=* | --program-tr=* | --program-t=*) 1276 program_transform_name=$ac_optarg ;; 1277 1278 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1279 ac_prev=pdfdir ;; 1280 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1281 pdfdir=$ac_optarg ;; 1282 1283 -psdir | --psdir | --psdi | --psd | --ps) 1284 ac_prev=psdir ;; 1285 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1286 psdir=$ac_optarg ;; 1287 1288 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1289 | -silent | --silent | --silen | --sile | --sil) 1290 silent=yes ;; 1291 1292 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1293 ac_prev=sbindir ;; 1294 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1295 | --sbi=* | --sb=*) 1296 sbindir=$ac_optarg ;; 1297 1298 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1299 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1300 | --sharedst | --shareds | --shared | --share | --shar \ 1301 | --sha | --sh) 1302 ac_prev=sharedstatedir ;; 1303 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1304 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1305 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1306 | --sha=* | --sh=*) 1307 sharedstatedir=$ac_optarg ;; 1308 1309 -site | --site | --sit) 1310 ac_prev=site ;; 1311 -site=* | --site=* | --sit=*) 1312 site=$ac_optarg ;; 1313 1314 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1315 ac_prev=srcdir ;; 1316 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1317 srcdir=$ac_optarg ;; 1318 1319 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1320 | --syscon | --sysco | --sysc | --sys | --sy) 1321 ac_prev=sysconfdir ;; 1322 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1323 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1324 sysconfdir=$ac_optarg ;; 1325 1326 -target | --target | --targe | --targ | --tar | --ta | --t) 1327 ac_prev=target_alias ;; 1328 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1329 target_alias=$ac_optarg ;; 1330 1331 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1332 verbose=yes ;; 1333 1334 -version | --version | --versio | --versi | --vers | -V) 1335 ac_init_version=: ;; 1336 1337 -with-* | --with-*) 1338 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1339 # Reject names that are not valid shell variable names. 1340 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1341 as_fn_error $? "invalid package name: $ac_useropt" 1342 ac_useropt_orig=$ac_useropt 1343 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1344 case $ac_user_opts in 1345 *" 1346"with_$ac_useropt" 1347"*) ;; 1348 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1349 ac_unrecognized_sep=', ';; 1350 esac 1351 eval with_$ac_useropt=\$ac_optarg ;; 1352 1353 -without-* | --without-*) 1354 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1355 # Reject names that are not valid shell variable names. 1356 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1357 as_fn_error $? "invalid package name: $ac_useropt" 1358 ac_useropt_orig=$ac_useropt 1359 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1360 case $ac_user_opts in 1361 *" 1362"with_$ac_useropt" 1363"*) ;; 1364 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1365 ac_unrecognized_sep=', ';; 1366 esac 1367 eval with_$ac_useropt=no ;; 1368 1369 --x) 1370 # Obsolete; use --with-x. 1371 with_x=yes ;; 1372 1373 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1374 | --x-incl | --x-inc | --x-in | --x-i) 1375 ac_prev=x_includes ;; 1376 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1377 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1378 x_includes=$ac_optarg ;; 1379 1380 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1381 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1382 ac_prev=x_libraries ;; 1383 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1384 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1385 x_libraries=$ac_optarg ;; 1386 1387 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1388Try \`$0 --help' for more information" 1389 ;; 1390 1391 *=*) 1392 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1393 # Reject names that are not valid shell variable names. 1394 case $ac_envvar in #( 1395 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1396 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1397 esac 1398 eval $ac_envvar=\$ac_optarg 1399 export $ac_envvar ;; 1400 1401 *) 1402 # FIXME: should be removed in autoconf 3.0. 1403 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1404 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1405 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1406 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1407 ;; 1408 1409 esac 1410done 1411 1412if test -n "$ac_prev"; then 1413 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1414 as_fn_error $? "missing argument to $ac_option" 1415fi 1416 1417if test -n "$ac_unrecognized_opts"; then 1418 case $enable_option_checking in 1419 no) ;; 1420 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1421 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1422 esac 1423fi 1424 1425# Check all directory arguments for consistency. 1426for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1427 datadir sysconfdir sharedstatedir localstatedir includedir \ 1428 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1429 libdir localedir mandir 1430do 1431 eval ac_val=\$$ac_var 1432 # Remove trailing slashes. 1433 case $ac_val in 1434 */ ) 1435 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1436 eval $ac_var=\$ac_val;; 1437 esac 1438 # Be sure to have absolute directory names. 1439 case $ac_val in 1440 [\\/$]* | ?:[\\/]* ) continue;; 1441 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1442 esac 1443 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1444done 1445 1446# There might be people who depend on the old broken behavior: `$host' 1447# used to hold the argument of --host etc. 1448# FIXME: To remove some day. 1449build=$build_alias 1450host=$host_alias 1451target=$target_alias 1452 1453# FIXME: To remove some day. 1454if test "x$host_alias" != x; then 1455 if test "x$build_alias" = x; then 1456 cross_compiling=maybe 1457 elif test "x$build_alias" != "x$host_alias"; then 1458 cross_compiling=yes 1459 fi 1460fi 1461 1462ac_tool_prefix= 1463test -n "$host_alias" && ac_tool_prefix=$host_alias- 1464 1465test "$silent" = yes && exec 6>/dev/null 1466 1467 1468ac_pwd=`pwd` && test -n "$ac_pwd" && 1469ac_ls_di=`ls -di .` && 1470ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1471 as_fn_error $? "working directory cannot be determined" 1472test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1473 as_fn_error $? "pwd does not report name of working directory" 1474 1475 1476# Find the source files, if location was not specified. 1477if test -z "$srcdir"; then 1478 ac_srcdir_defaulted=yes 1479 # Try the directory containing this script, then the parent directory. 1480 ac_confdir=`$as_dirname -- "$as_myself" || 1481$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1482 X"$as_myself" : 'X\(//\)[^/]' \| \ 1483 X"$as_myself" : 'X\(//\)$' \| \ 1484 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1485$as_echo X"$as_myself" | 1486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1487 s//\1/ 1488 q 1489 } 1490 /^X\(\/\/\)[^/].*/{ 1491 s//\1/ 1492 q 1493 } 1494 /^X\(\/\/\)$/{ 1495 s//\1/ 1496 q 1497 } 1498 /^X\(\/\).*/{ 1499 s//\1/ 1500 q 1501 } 1502 s/.*/./; q'` 1503 srcdir=$ac_confdir 1504 if test ! -r "$srcdir/$ac_unique_file"; then 1505 srcdir=.. 1506 fi 1507else 1508 ac_srcdir_defaulted=no 1509fi 1510if test ! -r "$srcdir/$ac_unique_file"; then 1511 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1512 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1513fi 1514ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1515ac_abs_confdir=`( 1516 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1517 pwd)` 1518# When building in place, set srcdir=. 1519if test "$ac_abs_confdir" = "$ac_pwd"; then 1520 srcdir=. 1521fi 1522# Remove unnecessary trailing slashes from srcdir. 1523# Double slashes in file names in object file debugging info 1524# mess up M-x gdb in Emacs. 1525case $srcdir in 1526*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1527esac 1528for ac_var in $ac_precious_vars; do 1529 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1530 eval ac_env_${ac_var}_value=\$${ac_var} 1531 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1532 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1533done 1534 1535# 1536# Report the --help message. 1537# 1538if test "$ac_init_help" = "long"; then 1539 # Omit some internal or obsolete options to make the list less imposing. 1540 # This message is too long to be a string in the A/UX 3.1 sh. 1541 cat <<_ACEOF 1542\`configure' configures love 0.10.2 to adapt to many kinds of systems. 1543 1544Usage: $0 [OPTION]... [VAR=VALUE]... 1545 1546To assign environment variables (e.g., CC, CFLAGS...), specify them as 1547VAR=VALUE. See below for descriptions of some of the useful variables. 1548 1549Defaults for the options are specified in brackets. 1550 1551Configuration: 1552 -h, --help display this help and exit 1553 --help=short display options specific to this package 1554 --help=recursive display the short help of all the included packages 1555 -V, --version display version information and exit 1556 -q, --quiet, --silent do not print \`checking ...' messages 1557 --cache-file=FILE cache test results in FILE [disabled] 1558 -C, --config-cache alias for \`--cache-file=config.cache' 1559 -n, --no-create do not create output files 1560 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1561 1562Installation directories: 1563 --prefix=PREFIX install architecture-independent files in PREFIX 1564 [$ac_default_prefix] 1565 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1566 [PREFIX] 1567 1568By default, \`make install' will install all the files in 1569\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1570an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1571for instance \`--prefix=\$HOME'. 1572 1573For better control, use the options below. 1574 1575Fine tuning of the installation directories: 1576 --bindir=DIR user executables [EPREFIX/bin] 1577 --sbindir=DIR system admin executables [EPREFIX/sbin] 1578 --libexecdir=DIR program executables [EPREFIX/libexec] 1579 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1580 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1581 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1582 --libdir=DIR object code libraries [EPREFIX/lib] 1583 --includedir=DIR C header files [PREFIX/include] 1584 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1585 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1586 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1587 --infodir=DIR info documentation [DATAROOTDIR/info] 1588 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1589 --mandir=DIR man documentation [DATAROOTDIR/man] 1590 --docdir=DIR documentation root [DATAROOTDIR/doc/love] 1591 --htmldir=DIR html documentation [DOCDIR] 1592 --dvidir=DIR dvi documentation [DOCDIR] 1593 --pdfdir=DIR pdf documentation [DOCDIR] 1594 --psdir=DIR ps documentation [DOCDIR] 1595_ACEOF 1596 1597 cat <<\_ACEOF 1598 1599Program names: 1600 --program-prefix=PREFIX prepend PREFIX to installed program names 1601 --program-suffix=SUFFIX append SUFFIX to installed program names 1602 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1603 1604System types: 1605 --build=BUILD configure for building on BUILD [guessed] 1606 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1607_ACEOF 1608fi 1609 1610if test -n "$ac_init_help"; then 1611 case $ac_init_help in 1612 short | recursive ) echo "Configuration of love 0.10.2:";; 1613 esac 1614 cat <<\_ACEOF 1615 1616Optional Features: 1617 --disable-option-checking ignore unrecognized --enable/--with options 1618 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1619 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1620 --enable-silent-rules less verbose build output (undo: "make V=1") 1621 --disable-silent-rules verbose build output (undo: "make V=0") 1622 --enable-dependency-tracking 1623 do not reject slow dependency extractors 1624 --disable-dependency-tracking 1625 speeds up one-time build 1626 --enable-static[=PKGS] build static libraries [default=no] 1627 --enable-shared[=PKGS] build shared libraries [default=yes] 1628 --enable-fast-install[=PKGS] 1629 optimize for fast installation [default=yes] 1630 --disable-libtool-lock avoid locking (might break parallel builds) 1631 --enable-osx Compile platform-specific files for OSX 1632 --enable-stbi-sse2-override 1633 Force stb_image SSE2 support 1634 --disable-sdltest Do not try to compile and run a test SDL program 1635 --disable-sdlframework Do not search for SDL2.framework 1636 --disable-mpg123 Disable mp3 support, for patent-free builds 1637 --enable-gme Enable GME support, for more chiptuney goodness 1638 --disable-exe Disable building of executable launcher 1639 --disable-module-audio Turn off module love.audio 1640 --disable-implementation-audio-null Turn off implementation love.audio.null 1641 --disable-implementation-audio-openal Turn off implementation love.audio.openal 1642 --disable-module-event Turn off module love.event 1643 --disable-implementation-event-sdl Turn off implementation love.event.sdl 1644 --disable-module-filesystem Turn off module love.filesystem 1645 --disable-implementation-filesystem-physfs Turn off implementation love.filesystem.physfs 1646 --disable-module-font Turn off module love.font 1647 --disable-implementation-font-freetype Turn off implementation love.font.freetype 1648 --disable-module-graphics Turn off module love.graphics 1649 --disable-implementation-graphics-opengl Turn off implementation love.graphics.opengl 1650 --disable-module-image Turn off module love.image 1651 --disable-implementation-image-magpie Turn off implementation love.image.magpie 1652 --disable-module-joystick Turn off module love.joystick 1653 --disable-implementation-joystick-sdl Turn off implementation love.joystick.sdl 1654 --disable-module-keyboard Turn off module love.keyboard 1655 --disable-implementation-keyboard-sdl Turn off implementation love.keyboard.sdl 1656 --disable-module-love Turn off module love.love 1657 --disable-module-math Turn off module love.math 1658 --disable-module-mouse Turn off module love.mouse 1659 --disable-implementation-mouse-sdl Turn off implementation love.mouse.sdl 1660 --disable-module-physics Turn off module love.physics 1661 --disable-implementation-physics-box2d Turn off implementation love.physics.box2d 1662 --disable-module-sound Turn off module love.sound 1663 --disable-implementation-sound-lullaby Turn off implementation love.sound.lullaby 1664 --disable-module-system Turn off module love.system 1665 --disable-implementation-system-sdl Turn off implementation love.system.sdl 1666 --disable-module-thread Turn off module love.thread 1667 --disable-implementation-thread-sdl Turn off implementation love.thread.sdl 1668 --disable-module-timer Turn off module love.timer 1669 --disable-implementation-timer-sdl Turn off implementation love.timer.sdl 1670 --disable-module-touch Turn off module love.touch 1671 --disable-implementation-touch-sdl Turn off implementation love.touch.sdl 1672 --disable-module-video Turn off module love.video 1673 --disable-implementation-video-theora Turn off implementation love.video.theora 1674 --disable-module-window Turn off module love.window 1675 --disable-implementation-window-sdl Turn off implementation love.window.sdl 1676 --disable-library-Box2D Turn off library love.Box2D 1677 --disable-library-ddsparse Turn off library love.ddsparse 1678 --disable-library-enet Turn off library love.enet 1679 --disable-library-glad Turn off library love.glad 1680 --disable-library-lodepng Turn off library love.lodepng 1681 --disable-library-luasocket Turn off library love.luasocket 1682 --disable-library-luautf8 Turn off library love.luautf8 1683 --disable-library-lz4 Turn off library love.lz4 1684 --disable-library-noise1234 Turn off library love.noise1234 1685 --disable-library-stb Turn off library love.stb 1686 --disable-library-utf8 Turn off library love.utf8 1687 --disable-library-Wuff Turn off library love.Wuff 1688 1689Optional Packages: 1690 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1691 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1692 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1693 both] 1694 --with-aix-soname=aix|svr4|both 1695 shared library versioning (aka "SONAME") variant to 1696 provide on AIX, [default=aix]. 1697 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1698 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1699 compiler's sysroot if not specified). 1700 --with-lua Select the lua implementation 1701 --with-luaversion Select the lua version 1702 --with-sdl-prefix=PFX Prefix where SDL is installed (optional) 1703 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional) 1704 1705Some influential environment variables: 1706 CC C compiler command 1707 CFLAGS C compiler flags 1708 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1709 nonstandard directory <lib dir> 1710 LIBS libraries to pass to the linker, e.g. -l<library> 1711 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1712 you have headers in a nonstandard directory <include dir> 1713 LT_SYS_LIBRARY_PATH 1714 User-defined run-time library search path. 1715 CPP C preprocessor 1716 CXX C++ compiler command 1717 CXXFLAGS C++ compiler flags 1718 CXXCPP C++ preprocessor 1719 OBJCXX Objective C++ compiler command 1720 OBJCXXFLAGS Objective C++ compiler flags 1721 PKG_CONFIG path to pkg-config utility 1722 PKG_CONFIG_PATH 1723 directories to add to pkg-config's search path 1724 PKG_CONFIG_LIBDIR 1725 path overriding pkg-config's built-in search path 1726 SDL2_FRAMEWORK 1727 Path to SDL2.framework 1728 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config 1729 SDL_LIBS linker flags for SDL, overriding pkg-config 1730 lua_CFLAGS C compiler flags for lua, overriding pkg-config 1731 lua_LIBS linker flags for lua, overriding pkg-config 1732 freetype2_CFLAGS 1733 C compiler flags for freetype2, overriding pkg-config 1734 freetype2_LIBS 1735 linker flags for freetype2, overriding pkg-config 1736 openal_CFLAGS 1737 C compiler flags for openal, overriding pkg-config 1738 openal_LIBS linker flags for openal, overriding pkg-config 1739 libmodplug_CFLAGS 1740 C compiler flags for libmodplug, overriding pkg-config 1741 libmodplug_LIBS 1742 linker flags for libmodplug, overriding pkg-config 1743 vorbisfile_CFLAGS 1744 C compiler flags for vorbisfile, overriding pkg-config 1745 vorbisfile_LIBS 1746 linker flags for vorbisfile, overriding pkg-config 1747 zlib_CFLAGS C compiler flags for zlib, overriding pkg-config 1748 zlib_LIBS linker flags for zlib, overriding pkg-config 1749 theora_CFLAGS 1750 C compiler flags for theora, overriding pkg-config 1751 theora_LIBS linker flags for theora, overriding pkg-config 1752 1753Use these variables to override the choices made by `configure' or to help 1754it to find libraries and programs with nonstandard names/locations. 1755 1756Report bugs to the package provider. 1757_ACEOF 1758ac_status=$? 1759fi 1760 1761if test "$ac_init_help" = "recursive"; then 1762 # If there are subdirs, report their specific --help. 1763 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1764 test -d "$ac_dir" || 1765 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1766 continue 1767 ac_builddir=. 1768 1769case "$ac_dir" in 1770.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1771*) 1772 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1773 # A ".." for each directory in $ac_dir_suffix. 1774 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1775 case $ac_top_builddir_sub in 1776 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1777 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1778 esac ;; 1779esac 1780ac_abs_top_builddir=$ac_pwd 1781ac_abs_builddir=$ac_pwd$ac_dir_suffix 1782# for backward compatibility: 1783ac_top_builddir=$ac_top_build_prefix 1784 1785case $srcdir in 1786 .) # We are building in place. 1787 ac_srcdir=. 1788 ac_top_srcdir=$ac_top_builddir_sub 1789 ac_abs_top_srcdir=$ac_pwd ;; 1790 [\\/]* | ?:[\\/]* ) # Absolute name. 1791 ac_srcdir=$srcdir$ac_dir_suffix; 1792 ac_top_srcdir=$srcdir 1793 ac_abs_top_srcdir=$srcdir ;; 1794 *) # Relative name. 1795 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1796 ac_top_srcdir=$ac_top_build_prefix$srcdir 1797 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1798esac 1799ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1800 1801 cd "$ac_dir" || { ac_status=$?; continue; } 1802 # Check for guested configure. 1803 if test -f "$ac_srcdir/configure.gnu"; then 1804 echo && 1805 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1806 elif test -f "$ac_srcdir/configure"; then 1807 echo && 1808 $SHELL "$ac_srcdir/configure" --help=recursive 1809 else 1810 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1811 fi || ac_status=$? 1812 cd "$ac_pwd" || { ac_status=$?; break; } 1813 done 1814fi 1815 1816test -n "$ac_init_help" && exit $ac_status 1817if $ac_init_version; then 1818 cat <<\_ACEOF 1819love configure 0.10.2 1820generated by GNU Autoconf 2.69 1821 1822Copyright (C) 2012 Free Software Foundation, Inc. 1823This configure script is free software; the Free Software Foundation 1824gives unlimited permission to copy, distribute and modify it. 1825_ACEOF 1826 exit 1827fi 1828 1829## ------------------------ ## 1830## Autoconf initialization. ## 1831## ------------------------ ## 1832 1833# ac_fn_c_try_compile LINENO 1834# -------------------------- 1835# Try to compile conftest.$ac_ext, and return whether this succeeded. 1836ac_fn_c_try_compile () 1837{ 1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1839 rm -f conftest.$ac_objext 1840 if { { ac_try="$ac_compile" 1841case "(($ac_try" in 1842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1843 *) ac_try_echo=$ac_try;; 1844esac 1845eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1846$as_echo "$ac_try_echo"; } >&5 1847 (eval "$ac_compile") 2>conftest.err 1848 ac_status=$? 1849 if test -s conftest.err; then 1850 grep -v '^ *+' conftest.err >conftest.er1 1851 cat conftest.er1 >&5 1852 mv -f conftest.er1 conftest.err 1853 fi 1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1855 test $ac_status = 0; } && { 1856 test -z "$ac_c_werror_flag" || 1857 test ! -s conftest.err 1858 } && test -s conftest.$ac_objext; then : 1859 ac_retval=0 1860else 1861 $as_echo "$as_me: failed program was:" >&5 1862sed 's/^/| /' conftest.$ac_ext >&5 1863 1864 ac_retval=1 1865fi 1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1867 as_fn_set_status $ac_retval 1868 1869} # ac_fn_c_try_compile 1870 1871# ac_fn_c_try_link LINENO 1872# ----------------------- 1873# Try to link conftest.$ac_ext, and return whether this succeeded. 1874ac_fn_c_try_link () 1875{ 1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1877 rm -f conftest.$ac_objext conftest$ac_exeext 1878 if { { ac_try="$ac_link" 1879case "(($ac_try" in 1880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1881 *) ac_try_echo=$ac_try;; 1882esac 1883eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1884$as_echo "$ac_try_echo"; } >&5 1885 (eval "$ac_link") 2>conftest.err 1886 ac_status=$? 1887 if test -s conftest.err; then 1888 grep -v '^ *+' conftest.err >conftest.er1 1889 cat conftest.er1 >&5 1890 mv -f conftest.er1 conftest.err 1891 fi 1892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1893 test $ac_status = 0; } && { 1894 test -z "$ac_c_werror_flag" || 1895 test ! -s conftest.err 1896 } && test -s conftest$ac_exeext && { 1897 test "$cross_compiling" = yes || 1898 test -x conftest$ac_exeext 1899 }; then : 1900 ac_retval=0 1901else 1902 $as_echo "$as_me: failed program was:" >&5 1903sed 's/^/| /' conftest.$ac_ext >&5 1904 1905 ac_retval=1 1906fi 1907 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1908 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1909 # interfere with the next link command; also delete a directory that is 1910 # left behind by Apple's compiler. We do this before executing the actions. 1911 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1913 as_fn_set_status $ac_retval 1914 1915} # ac_fn_c_try_link 1916 1917# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1918# ------------------------------------------------------- 1919# Tests whether HEADER exists and can be compiled using the include files in 1920# INCLUDES, setting the cache variable VAR accordingly. 1921ac_fn_c_check_header_compile () 1922{ 1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1925$as_echo_n "checking for $2... " >&6; } 1926if eval \${$3+:} false; then : 1927 $as_echo_n "(cached) " >&6 1928else 1929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1930/* end confdefs.h. */ 1931$4 1932#include <$2> 1933_ACEOF 1934if ac_fn_c_try_compile "$LINENO"; then : 1935 eval "$3=yes" 1936else 1937 eval "$3=no" 1938fi 1939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1940fi 1941eval ac_res=\$$3 1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1943$as_echo "$ac_res" >&6; } 1944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1945 1946} # ac_fn_c_check_header_compile 1947 1948# ac_fn_c_try_cpp LINENO 1949# ---------------------- 1950# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1951ac_fn_c_try_cpp () 1952{ 1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1954 if { { ac_try="$ac_cpp conftest.$ac_ext" 1955case "(($ac_try" in 1956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1957 *) ac_try_echo=$ac_try;; 1958esac 1959eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1960$as_echo "$ac_try_echo"; } >&5 1961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1962 ac_status=$? 1963 if test -s conftest.err; then 1964 grep -v '^ *+' conftest.err >conftest.er1 1965 cat conftest.er1 >&5 1966 mv -f conftest.er1 conftest.err 1967 fi 1968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1969 test $ac_status = 0; } > conftest.i && { 1970 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1971 test ! -s conftest.err 1972 }; then : 1973 ac_retval=0 1974else 1975 $as_echo "$as_me: failed program was:" >&5 1976sed 's/^/| /' conftest.$ac_ext >&5 1977 1978 ac_retval=1 1979fi 1980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1981 as_fn_set_status $ac_retval 1982 1983} # ac_fn_c_try_cpp 1984 1985# ac_fn_c_try_run LINENO 1986# ---------------------- 1987# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1988# that executables *can* be run. 1989ac_fn_c_try_run () 1990{ 1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1992 if { { ac_try="$ac_link" 1993case "(($ac_try" in 1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1995 *) ac_try_echo=$ac_try;; 1996esac 1997eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1998$as_echo "$ac_try_echo"; } >&5 1999 (eval "$ac_link") 2>&5 2000 ac_status=$? 2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2002 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2003 { { case "(($ac_try" in 2004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2005 *) ac_try_echo=$ac_try;; 2006esac 2007eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2008$as_echo "$ac_try_echo"; } >&5 2009 (eval "$ac_try") 2>&5 2010 ac_status=$? 2011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2012 test $ac_status = 0; }; }; then : 2013 ac_retval=0 2014else 2015 $as_echo "$as_me: program exited with status $ac_status" >&5 2016 $as_echo "$as_me: failed program was:" >&5 2017sed 's/^/| /' conftest.$ac_ext >&5 2018 2019 ac_retval=$ac_status 2020fi 2021 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2023 as_fn_set_status $ac_retval 2024 2025} # ac_fn_c_try_run 2026 2027# ac_fn_c_check_func LINENO FUNC VAR 2028# ---------------------------------- 2029# Tests whether FUNC exists, setting the cache variable VAR accordingly 2030ac_fn_c_check_func () 2031{ 2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2034$as_echo_n "checking for $2... " >&6; } 2035if eval \${$3+:} false; then : 2036 $as_echo_n "(cached) " >&6 2037else 2038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2039/* end confdefs.h. */ 2040/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2041 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2042#define $2 innocuous_$2 2043 2044/* System header to define __stub macros and hopefully few prototypes, 2045 which can conflict with char $2 (); below. 2046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2047 <limits.h> exists even on freestanding compilers. */ 2048 2049#ifdef __STDC__ 2050# include <limits.h> 2051#else 2052# include <assert.h> 2053#endif 2054 2055#undef $2 2056 2057/* Override any GCC internal prototype to avoid an error. 2058 Use char because int might match the return type of a GCC 2059 builtin and then its argument prototype would still apply. */ 2060#ifdef __cplusplus 2061extern "C" 2062#endif 2063char $2 (); 2064/* The GNU C library defines this for functions which it implements 2065 to always fail with ENOSYS. Some functions are actually named 2066 something starting with __ and the normal name is an alias. */ 2067#if defined __stub_$2 || defined __stub___$2 2068choke me 2069#endif 2070 2071int 2072main () 2073{ 2074return $2 (); 2075 ; 2076 return 0; 2077} 2078_ACEOF 2079if ac_fn_c_try_link "$LINENO"; then : 2080 eval "$3=yes" 2081else 2082 eval "$3=no" 2083fi 2084rm -f core conftest.err conftest.$ac_objext \ 2085 conftest$ac_exeext conftest.$ac_ext 2086fi 2087eval ac_res=\$$3 2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2089$as_echo "$ac_res" >&6; } 2090 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2091 2092} # ac_fn_c_check_func 2093 2094# ac_fn_cxx_try_compile LINENO 2095# ---------------------------- 2096# Try to compile conftest.$ac_ext, and return whether this succeeded. 2097ac_fn_cxx_try_compile () 2098{ 2099 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2100 rm -f conftest.$ac_objext 2101 if { { ac_try="$ac_compile" 2102case "(($ac_try" in 2103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2104 *) ac_try_echo=$ac_try;; 2105esac 2106eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2107$as_echo "$ac_try_echo"; } >&5 2108 (eval "$ac_compile") 2>conftest.err 2109 ac_status=$? 2110 if test -s conftest.err; then 2111 grep -v '^ *+' conftest.err >conftest.er1 2112 cat conftest.er1 >&5 2113 mv -f conftest.er1 conftest.err 2114 fi 2115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2116 test $ac_status = 0; } && { 2117 test -z "$ac_cxx_werror_flag" || 2118 test ! -s conftest.err 2119 } && test -s conftest.$ac_objext; then : 2120 ac_retval=0 2121else 2122 $as_echo "$as_me: failed program was:" >&5 2123sed 's/^/| /' conftest.$ac_ext >&5 2124 2125 ac_retval=1 2126fi 2127 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2128 as_fn_set_status $ac_retval 2129 2130} # ac_fn_cxx_try_compile 2131 2132# ac_fn_cxx_try_cpp LINENO 2133# ------------------------ 2134# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2135ac_fn_cxx_try_cpp () 2136{ 2137 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2138 if { { ac_try="$ac_cpp conftest.$ac_ext" 2139case "(($ac_try" in 2140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2141 *) ac_try_echo=$ac_try;; 2142esac 2143eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2144$as_echo "$ac_try_echo"; } >&5 2145 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2146 ac_status=$? 2147 if test -s conftest.err; then 2148 grep -v '^ *+' conftest.err >conftest.er1 2149 cat conftest.er1 >&5 2150 mv -f conftest.er1 conftest.err 2151 fi 2152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2153 test $ac_status = 0; } > conftest.i && { 2154 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2155 test ! -s conftest.err 2156 }; then : 2157 ac_retval=0 2158else 2159 $as_echo "$as_me: failed program was:" >&5 2160sed 's/^/| /' conftest.$ac_ext >&5 2161 2162 ac_retval=1 2163fi 2164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2165 as_fn_set_status $ac_retval 2166 2167} # ac_fn_cxx_try_cpp 2168 2169# ac_fn_cxx_try_link LINENO 2170# ------------------------- 2171# Try to link conftest.$ac_ext, and return whether this succeeded. 2172ac_fn_cxx_try_link () 2173{ 2174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2175 rm -f conftest.$ac_objext conftest$ac_exeext 2176 if { { ac_try="$ac_link" 2177case "(($ac_try" in 2178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2179 *) ac_try_echo=$ac_try;; 2180esac 2181eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2182$as_echo "$ac_try_echo"; } >&5 2183 (eval "$ac_link") 2>conftest.err 2184 ac_status=$? 2185 if test -s conftest.err; then 2186 grep -v '^ *+' conftest.err >conftest.er1 2187 cat conftest.er1 >&5 2188 mv -f conftest.er1 conftest.err 2189 fi 2190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2191 test $ac_status = 0; } && { 2192 test -z "$ac_cxx_werror_flag" || 2193 test ! -s conftest.err 2194 } && test -s conftest$ac_exeext && { 2195 test "$cross_compiling" = yes || 2196 test -x conftest$ac_exeext 2197 }; then : 2198 ac_retval=0 2199else 2200 $as_echo "$as_me: failed program was:" >&5 2201sed 's/^/| /' conftest.$ac_ext >&5 2202 2203 ac_retval=1 2204fi 2205 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2206 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2207 # interfere with the next link command; also delete a directory that is 2208 # left behind by Apple's compiler. We do this before executing the actions. 2209 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2210 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2211 as_fn_set_status $ac_retval 2212 2213} # ac_fn_cxx_try_link 2214 2215# ac_fn_objcxx_try_compile LINENO 2216# ------------------------------- 2217# Try to compile conftest.$ac_ext, and return whether this succeeded. 2218ac_fn_objcxx_try_compile () 2219{ 2220 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2221 rm -f conftest.$ac_objext 2222 if { { ac_try="$ac_compile" 2223case "(($ac_try" in 2224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2225 *) ac_try_echo=$ac_try;; 2226esac 2227eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2228$as_echo "$ac_try_echo"; } >&5 2229 (eval "$ac_compile") 2>conftest.err 2230 ac_status=$? 2231 if test -s conftest.err; then 2232 grep -v '^ *+' conftest.err >conftest.er1 2233 cat conftest.er1 >&5 2234 mv -f conftest.er1 conftest.err 2235 fi 2236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2237 test $ac_status = 0; } && { 2238 test -z "$ac_objcxx_werror_flag" || 2239 test ! -s conftest.err 2240 } && test -s conftest.$ac_objext; then : 2241 ac_retval=0 2242else 2243 $as_echo "$as_me: failed program was:" >&5 2244sed 's/^/| /' conftest.$ac_ext >&5 2245 2246 ac_retval=1 2247fi 2248 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2249 as_fn_set_status $ac_retval 2250 2251} # ac_fn_objcxx_try_compile 2252 2253# ac_fn_cxx_try_run LINENO 2254# ------------------------ 2255# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2256# that executables *can* be run. 2257ac_fn_cxx_try_run () 2258{ 2259 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2260 if { { ac_try="$ac_link" 2261case "(($ac_try" in 2262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2263 *) ac_try_echo=$ac_try;; 2264esac 2265eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2266$as_echo "$ac_try_echo"; } >&5 2267 (eval "$ac_link") 2>&5 2268 ac_status=$? 2269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2270 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2271 { { case "(($ac_try" in 2272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2273 *) ac_try_echo=$ac_try;; 2274esac 2275eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2276$as_echo "$ac_try_echo"; } >&5 2277 (eval "$ac_try") 2>&5 2278 ac_status=$? 2279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2280 test $ac_status = 0; }; }; then : 2281 ac_retval=0 2282else 2283 $as_echo "$as_me: program exited with status $ac_status" >&5 2284 $as_echo "$as_me: failed program was:" >&5 2285sed 's/^/| /' conftest.$ac_ext >&5 2286 2287 ac_retval=$ac_status 2288fi 2289 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2290 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2291 as_fn_set_status $ac_retval 2292 2293} # ac_fn_cxx_try_run 2294 2295# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2296# ---------------------------------------------- 2297# Tries to find the compile-time value of EXPR in a program that includes 2298# INCLUDES, setting VAR accordingly. Returns whether the value could be 2299# computed 2300ac_fn_cxx_compute_int () 2301{ 2302 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2303 if test "$cross_compiling" = yes; then 2304 # Depending upon the size, compute the lo and hi bounds. 2305cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2306/* end confdefs.h. */ 2307$4 2308int 2309main () 2310{ 2311static int test_array [1 - 2 * !(($2) >= 0)]; 2312test_array [0] = 0; 2313return test_array [0]; 2314 2315 ; 2316 return 0; 2317} 2318_ACEOF 2319if ac_fn_cxx_try_compile "$LINENO"; then : 2320 ac_lo=0 ac_mid=0 2321 while :; do 2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2323/* end confdefs.h. */ 2324$4 2325int 2326main () 2327{ 2328static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2329test_array [0] = 0; 2330return test_array [0]; 2331 2332 ; 2333 return 0; 2334} 2335_ACEOF 2336if ac_fn_cxx_try_compile "$LINENO"; then : 2337 ac_hi=$ac_mid; break 2338else 2339 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2340 if test $ac_lo -le $ac_mid; then 2341 ac_lo= ac_hi= 2342 break 2343 fi 2344 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2345fi 2346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2347 done 2348else 2349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2350/* end confdefs.h. */ 2351$4 2352int 2353main () 2354{ 2355static int test_array [1 - 2 * !(($2) < 0)]; 2356test_array [0] = 0; 2357return test_array [0]; 2358 2359 ; 2360 return 0; 2361} 2362_ACEOF 2363if ac_fn_cxx_try_compile "$LINENO"; then : 2364 ac_hi=-1 ac_mid=-1 2365 while :; do 2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2367/* end confdefs.h. */ 2368$4 2369int 2370main () 2371{ 2372static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2373test_array [0] = 0; 2374return test_array [0]; 2375 2376 ; 2377 return 0; 2378} 2379_ACEOF 2380if ac_fn_cxx_try_compile "$LINENO"; then : 2381 ac_lo=$ac_mid; break 2382else 2383 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2384 if test $ac_mid -le $ac_hi; then 2385 ac_lo= ac_hi= 2386 break 2387 fi 2388 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2389fi 2390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2391 done 2392else 2393 ac_lo= ac_hi= 2394fi 2395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2396fi 2397rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2398# Binary search between lo and hi bounds. 2399while test "x$ac_lo" != "x$ac_hi"; do 2400 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2402/* end confdefs.h. */ 2403$4 2404int 2405main () 2406{ 2407static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2408test_array [0] = 0; 2409return test_array [0]; 2410 2411 ; 2412 return 0; 2413} 2414_ACEOF 2415if ac_fn_cxx_try_compile "$LINENO"; then : 2416 ac_hi=$ac_mid 2417else 2418 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2419fi 2420rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2421done 2422case $ac_lo in #(( 2423?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2424'') ac_retval=1 ;; 2425esac 2426 else 2427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2428/* end confdefs.h. */ 2429$4 2430static long int longval () { return $2; } 2431static unsigned long int ulongval () { return $2; } 2432#include <stdio.h> 2433#include <stdlib.h> 2434int 2435main () 2436{ 2437 2438 FILE *f = fopen ("conftest.val", "w"); 2439 if (! f) 2440 return 1; 2441 if (($2) < 0) 2442 { 2443 long int i = longval (); 2444 if (i != ($2)) 2445 return 1; 2446 fprintf (f, "%ld", i); 2447 } 2448 else 2449 { 2450 unsigned long int i = ulongval (); 2451 if (i != ($2)) 2452 return 1; 2453 fprintf (f, "%lu", i); 2454 } 2455 /* Do not output a trailing newline, as this causes \r\n confusion 2456 on some platforms. */ 2457 return ferror (f) || fclose (f) != 0; 2458 2459 ; 2460 return 0; 2461} 2462_ACEOF 2463if ac_fn_cxx_try_run "$LINENO"; then : 2464 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2465else 2466 ac_retval=1 2467fi 2468rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2469 conftest.$ac_objext conftest.beam conftest.$ac_ext 2470rm -f conftest.val 2471 2472 fi 2473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2474 as_fn_set_status $ac_retval 2475 2476} # ac_fn_cxx_compute_int 2477 2478# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2479# --------------------------------------------------------- 2480# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2481# the include files in INCLUDES and setting the cache variable VAR 2482# accordingly. 2483ac_fn_cxx_check_header_mongrel () 2484{ 2485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2486 if eval \${$3+:} false; then : 2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2488$as_echo_n "checking for $2... " >&6; } 2489if eval \${$3+:} false; then : 2490 $as_echo_n "(cached) " >&6 2491fi 2492eval ac_res=\$$3 2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2494$as_echo "$ac_res" >&6; } 2495else 2496 # Is the header compilable? 2497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2498$as_echo_n "checking $2 usability... " >&6; } 2499cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2500/* end confdefs.h. */ 2501$4 2502#include <$2> 2503_ACEOF 2504if ac_fn_cxx_try_compile "$LINENO"; then : 2505 ac_header_compiler=yes 2506else 2507 ac_header_compiler=no 2508fi 2509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2511$as_echo "$ac_header_compiler" >&6; } 2512 2513# Is the header present? 2514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2515$as_echo_n "checking $2 presence... " >&6; } 2516cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2517/* end confdefs.h. */ 2518#include <$2> 2519_ACEOF 2520if ac_fn_cxx_try_cpp "$LINENO"; then : 2521 ac_header_preproc=yes 2522else 2523 ac_header_preproc=no 2524fi 2525rm -f conftest.err conftest.i conftest.$ac_ext 2526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2527$as_echo "$ac_header_preproc" >&6; } 2528 2529# So? What about this header? 2530case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2531 yes:no: ) 2532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2533$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2535$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2536 ;; 2537 no:yes:* ) 2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2539$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2541$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2543$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2545$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2547$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2548 ;; 2549esac 2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2551$as_echo_n "checking for $2... " >&6; } 2552if eval \${$3+:} false; then : 2553 $as_echo_n "(cached) " >&6 2554else 2555 eval "$3=\$ac_header_compiler" 2556fi 2557eval ac_res=\$$3 2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2559$as_echo "$ac_res" >&6; } 2560fi 2561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2562 2563} # ac_fn_cxx_check_header_mongrel 2564 2565# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 2566# --------------------------------------------- 2567# Tests whether TYPE exists after having included INCLUDES, setting cache 2568# variable VAR accordingly. 2569ac_fn_cxx_check_type () 2570{ 2571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2573$as_echo_n "checking for $2... " >&6; } 2574if eval \${$3+:} false; then : 2575 $as_echo_n "(cached) " >&6 2576else 2577 eval "$3=no" 2578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2579/* end confdefs.h. */ 2580$4 2581int 2582main () 2583{ 2584if (sizeof ($2)) 2585 return 0; 2586 ; 2587 return 0; 2588} 2589_ACEOF 2590if ac_fn_cxx_try_compile "$LINENO"; then : 2591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2592/* end confdefs.h. */ 2593$4 2594int 2595main () 2596{ 2597if (sizeof (($2))) 2598 return 0; 2599 ; 2600 return 0; 2601} 2602_ACEOF 2603if ac_fn_cxx_try_compile "$LINENO"; then : 2604 2605else 2606 eval "$3=yes" 2607fi 2608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2609fi 2610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2611fi 2612eval ac_res=\$$3 2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2614$as_echo "$ac_res" >&6; } 2615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2616 2617} # ac_fn_cxx_check_type 2618cat >config.log <<_ACEOF 2619This file contains any messages produced by compilers while 2620running configure, to aid debugging if configure makes a mistake. 2621 2622It was created by love $as_me 0.10.2, which was 2623generated by GNU Autoconf 2.69. Invocation command line was 2624 2625 $ $0 $@ 2626 2627_ACEOF 2628exec 5>>config.log 2629{ 2630cat <<_ASUNAME 2631## --------- ## 2632## Platform. ## 2633## --------- ## 2634 2635hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2636uname -m = `(uname -m) 2>/dev/null || echo unknown` 2637uname -r = `(uname -r) 2>/dev/null || echo unknown` 2638uname -s = `(uname -s) 2>/dev/null || echo unknown` 2639uname -v = `(uname -v) 2>/dev/null || echo unknown` 2640 2641/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2642/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2643 2644/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2645/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2646/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2647/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2648/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2649/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2650/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2651 2652_ASUNAME 2653 2654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2655for as_dir in $PATH 2656do 2657 IFS=$as_save_IFS 2658 test -z "$as_dir" && as_dir=. 2659 $as_echo "PATH: $as_dir" 2660 done 2661IFS=$as_save_IFS 2662 2663} >&5 2664 2665cat >&5 <<_ACEOF 2666 2667 2668## ----------- ## 2669## Core tests. ## 2670## ----------- ## 2671 2672_ACEOF 2673 2674 2675# Keep a trace of the command line. 2676# Strip out --no-create and --no-recursion so they do not pile up. 2677# Strip out --silent because we don't want to record it for future runs. 2678# Also quote any args containing shell meta-characters. 2679# Make two passes to allow for proper duplicate-argument suppression. 2680ac_configure_args= 2681ac_configure_args0= 2682ac_configure_args1= 2683ac_must_keep_next=false 2684for ac_pass in 1 2 2685do 2686 for ac_arg 2687 do 2688 case $ac_arg in 2689 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2690 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2691 | -silent | --silent | --silen | --sile | --sil) 2692 continue ;; 2693 *\'*) 2694 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2695 esac 2696 case $ac_pass in 2697 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2698 2) 2699 as_fn_append ac_configure_args1 " '$ac_arg'" 2700 if test $ac_must_keep_next = true; then 2701 ac_must_keep_next=false # Got value, back to normal. 2702 else 2703 case $ac_arg in 2704 *=* | --config-cache | -C | -disable-* | --disable-* \ 2705 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2706 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2707 | -with-* | --with-* | -without-* | --without-* | --x) 2708 case "$ac_configure_args0 " in 2709 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2710 esac 2711 ;; 2712 -* ) ac_must_keep_next=true ;; 2713 esac 2714 fi 2715 as_fn_append ac_configure_args " '$ac_arg'" 2716 ;; 2717 esac 2718 done 2719done 2720{ ac_configure_args0=; unset ac_configure_args0;} 2721{ ac_configure_args1=; unset ac_configure_args1;} 2722 2723# When interrupted or exit'd, cleanup temporary files, and complete 2724# config.log. We remove comments because anyway the quotes in there 2725# would cause problems or look ugly. 2726# WARNING: Use '\'' to represent an apostrophe within the trap. 2727# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2728trap 'exit_status=$? 2729 # Save into config.log some information that might help in debugging. 2730 { 2731 echo 2732 2733 $as_echo "## ---------------- ## 2734## Cache variables. ## 2735## ---------------- ##" 2736 echo 2737 # The following way of writing the cache mishandles newlines in values, 2738( 2739 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2740 eval ac_val=\$$ac_var 2741 case $ac_val in #( 2742 *${as_nl}*) 2743 case $ac_var in #( 2744 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2745$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2746 esac 2747 case $ac_var in #( 2748 _ | IFS | as_nl) ;; #( 2749 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2750 *) { eval $ac_var=; unset $ac_var;} ;; 2751 esac ;; 2752 esac 2753 done 2754 (set) 2>&1 | 2755 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2756 *${as_nl}ac_space=\ *) 2757 sed -n \ 2758 "s/'\''/'\''\\\\'\'''\''/g; 2759 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2760 ;; #( 2761 *) 2762 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2763 ;; 2764 esac | 2765 sort 2766) 2767 echo 2768 2769 $as_echo "## ----------------- ## 2770## Output variables. ## 2771## ----------------- ##" 2772 echo 2773 for ac_var in $ac_subst_vars 2774 do 2775 eval ac_val=\$$ac_var 2776 case $ac_val in 2777 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2778 esac 2779 $as_echo "$ac_var='\''$ac_val'\''" 2780 done | sort 2781 echo 2782 2783 if test -n "$ac_subst_files"; then 2784 $as_echo "## ------------------- ## 2785## File substitutions. ## 2786## ------------------- ##" 2787 echo 2788 for ac_var in $ac_subst_files 2789 do 2790 eval ac_val=\$$ac_var 2791 case $ac_val in 2792 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2793 esac 2794 $as_echo "$ac_var='\''$ac_val'\''" 2795 done | sort 2796 echo 2797 fi 2798 2799 if test -s confdefs.h; then 2800 $as_echo "## ----------- ## 2801## confdefs.h. ## 2802## ----------- ##" 2803 echo 2804 cat confdefs.h 2805 echo 2806 fi 2807 test "$ac_signal" != 0 && 2808 $as_echo "$as_me: caught signal $ac_signal" 2809 $as_echo "$as_me: exit $exit_status" 2810 } >&5 2811 rm -f core *.core core.conftest.* && 2812 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2813 exit $exit_status 2814' 0 2815for ac_signal in 1 2 13 15; do 2816 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2817done 2818ac_signal=0 2819 2820# confdefs.h avoids OS command line length limits that DEFS can exceed. 2821rm -f -r conftest* confdefs.h 2822 2823$as_echo "/* confdefs.h */" > confdefs.h 2824 2825# Predefined preprocessor variables. 2826 2827cat >>confdefs.h <<_ACEOF 2828#define PACKAGE_NAME "$PACKAGE_NAME" 2829_ACEOF 2830 2831cat >>confdefs.h <<_ACEOF 2832#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2833_ACEOF 2834 2835cat >>confdefs.h <<_ACEOF 2836#define PACKAGE_VERSION "$PACKAGE_VERSION" 2837_ACEOF 2838 2839cat >>confdefs.h <<_ACEOF 2840#define PACKAGE_STRING "$PACKAGE_STRING" 2841_ACEOF 2842 2843cat >>confdefs.h <<_ACEOF 2844#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2845_ACEOF 2846 2847cat >>confdefs.h <<_ACEOF 2848#define PACKAGE_URL "$PACKAGE_URL" 2849_ACEOF 2850 2851 2852# Let the site file select an alternate cache file if it wants to. 2853# Prefer an explicitly selected file to automatically selected ones. 2854ac_site_file1=NONE 2855ac_site_file2=NONE 2856if test -n "$CONFIG_SITE"; then 2857 # We do not want a PATH search for config.site. 2858 case $CONFIG_SITE in #(( 2859 -*) ac_site_file1=./$CONFIG_SITE;; 2860 */*) ac_site_file1=$CONFIG_SITE;; 2861 *) ac_site_file1=./$CONFIG_SITE;; 2862 esac 2863elif test "x$prefix" != xNONE; then 2864 ac_site_file1=$prefix/share/config.site 2865 ac_site_file2=$prefix/etc/config.site 2866else 2867 ac_site_file1=$ac_default_prefix/share/config.site 2868 ac_site_file2=$ac_default_prefix/etc/config.site 2869fi 2870for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2871do 2872 test "x$ac_site_file" = xNONE && continue 2873 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2874 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2875$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2876 sed 's/^/| /' "$ac_site_file" >&5 2877 . "$ac_site_file" \ 2878 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2879$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2880as_fn_error $? "failed to load site script $ac_site_file 2881See \`config.log' for more details" "$LINENO" 5; } 2882 fi 2883done 2884 2885if test -r "$cache_file"; then 2886 # Some versions of bash will fail to source /dev/null (special files 2887 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2888 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2890$as_echo "$as_me: loading cache $cache_file" >&6;} 2891 case $cache_file in 2892 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2893 *) . "./$cache_file";; 2894 esac 2895 fi 2896else 2897 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2898$as_echo "$as_me: creating cache $cache_file" >&6;} 2899 >$cache_file 2900fi 2901 2902# Check that the precious variables saved in the cache have kept the same 2903# value. 2904ac_cache_corrupted=false 2905for ac_var in $ac_precious_vars; do 2906 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2907 eval ac_new_set=\$ac_env_${ac_var}_set 2908 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2909 eval ac_new_val=\$ac_env_${ac_var}_value 2910 case $ac_old_set,$ac_new_set in 2911 set,) 2912 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2913$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2914 ac_cache_corrupted=: ;; 2915 ,set) 2916 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2917$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2918 ac_cache_corrupted=: ;; 2919 ,);; 2920 *) 2921 if test "x$ac_old_val" != "x$ac_new_val"; then 2922 # differences in whitespace do not lead to failure. 2923 ac_old_val_w=`echo x $ac_old_val` 2924 ac_new_val_w=`echo x $ac_new_val` 2925 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2926 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2927$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2928 ac_cache_corrupted=: 2929 else 2930 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2931$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2932 eval $ac_var=\$ac_old_val 2933 fi 2934 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2935$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2936 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2937$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2938 fi;; 2939 esac 2940 # Pass precious variables to config.status. 2941 if test "$ac_new_set" = set; then 2942 case $ac_new_val in 2943 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2944 *) ac_arg=$ac_var=$ac_new_val ;; 2945 esac 2946 case " $ac_configure_args " in 2947 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2948 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2949 esac 2950 fi 2951done 2952if $ac_cache_corrupted; then 2953 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2954$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2955 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2956$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2957 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2958fi 2959## -------------------- ## 2960## Main body of script. ## 2961## -------------------- ## 2962 2963ac_ext=c 2964ac_cpp='$CPP $CPPFLAGS' 2965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2967ac_compiler_gnu=$ac_cv_c_compiler_gnu 2968 2969 2970ac_config_headers="$ac_config_headers config.h" 2971 2972ac_aux_dir= 2973for ac_dir in platform/unix "$srcdir"/platform/unix; do 2974 if test -f "$ac_dir/install-sh"; then 2975 ac_aux_dir=$ac_dir 2976 ac_install_sh="$ac_aux_dir/install-sh -c" 2977 break 2978 elif test -f "$ac_dir/install.sh"; then 2979 ac_aux_dir=$ac_dir 2980 ac_install_sh="$ac_aux_dir/install.sh -c" 2981 break 2982 elif test -f "$ac_dir/shtool"; then 2983 ac_aux_dir=$ac_dir 2984 ac_install_sh="$ac_aux_dir/shtool install -c" 2985 break 2986 fi 2987done 2988if test -z "$ac_aux_dir"; then 2989 as_fn_error $? "cannot find install-sh, install.sh, or shtool in platform/unix \"$srcdir\"/platform/unix" "$LINENO" 5 2990fi 2991 2992# These three variables are undocumented and unsupported, 2993# and are intended to be withdrawn in a future Autoconf release. 2994# They can cause serious problems if a builder's source tree is in a directory 2995# whose full name contains unusual characters. 2996ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2997ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2998ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2999 3000 3001 3002 3003am__api_version='1.15' 3004 3005# Find a good install program. We prefer a C program (faster), 3006# so one script is as good as another. But avoid the broken or 3007# incompatible versions: 3008# SysV /etc/install, /usr/sbin/install 3009# SunOS /usr/etc/install 3010# IRIX /sbin/install 3011# AIX /bin/install 3012# AmigaOS /C/install, which installs bootblocks on floppy discs 3013# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3014# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3015# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3016# OS/2's system install, which has a completely different semantic 3017# ./install, which can be erroneously created by make from ./install.sh. 3018# Reject install programs that cannot install multiple files. 3019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3020$as_echo_n "checking for a BSD-compatible install... " >&6; } 3021if test -z "$INSTALL"; then 3022if ${ac_cv_path_install+:} false; then : 3023 $as_echo_n "(cached) " >&6 3024else 3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3026for as_dir in $PATH 3027do 3028 IFS=$as_save_IFS 3029 test -z "$as_dir" && as_dir=. 3030 # Account for people who put trailing slashes in PATH elements. 3031case $as_dir/ in #(( 3032 ./ | .// | /[cC]/* | \ 3033 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3034 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3035 /usr/ucb/* ) ;; 3036 *) 3037 # OSF1 and SCO ODT 3.0 have their own names for install. 3038 # Don't use installbsd from OSF since it installs stuff as root 3039 # by default. 3040 for ac_prog in ginstall scoinst install; do 3041 for ac_exec_ext in '' $ac_executable_extensions; do 3042 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3043 if test $ac_prog = install && 3044 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3045 # AIX install. It has an incompatible calling convention. 3046 : 3047 elif test $ac_prog = install && 3048 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3049 # program-specific install script used by HP pwplus--don't use. 3050 : 3051 else 3052 rm -rf conftest.one conftest.two conftest.dir 3053 echo one > conftest.one 3054 echo two > conftest.two 3055 mkdir conftest.dir 3056 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3057 test -s conftest.one && test -s conftest.two && 3058 test -s conftest.dir/conftest.one && 3059 test -s conftest.dir/conftest.two 3060 then 3061 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3062 break 3 3063 fi 3064 fi 3065 fi 3066 done 3067 done 3068 ;; 3069esac 3070 3071 done 3072IFS=$as_save_IFS 3073 3074rm -rf conftest.one conftest.two conftest.dir 3075 3076fi 3077 if test "${ac_cv_path_install+set}" = set; then 3078 INSTALL=$ac_cv_path_install 3079 else 3080 # As a last resort, use the slow shell script. Don't cache a 3081 # value for INSTALL within a source directory, because that will 3082 # break other packages using the cache if that directory is 3083 # removed, or if the value is a relative name. 3084 INSTALL=$ac_install_sh 3085 fi 3086fi 3087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3088$as_echo "$INSTALL" >&6; } 3089 3090# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3091# It thinks the first close brace ends the variable substitution. 3092test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3093 3094test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3095 3096test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3097 3098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3099$as_echo_n "checking whether build environment is sane... " >&6; } 3100# Reject unsafe characters in $srcdir or the absolute working directory 3101# name. Accept space and tab only in the latter. 3102am_lf=' 3103' 3104case `pwd` in 3105 *[\\\"\#\$\&\'\`$am_lf]*) 3106 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3107esac 3108case $srcdir in 3109 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3110 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3111esac 3112 3113# Do 'set' in a subshell so we don't clobber the current shell's 3114# arguments. Must try -L first in case configure is actually a 3115# symlink; some systems play weird games with the mod time of symlinks 3116# (eg FreeBSD returns the mod time of the symlink's containing 3117# directory). 3118if ( 3119 am_has_slept=no 3120 for am_try in 1 2; do 3121 echo "timestamp, slept: $am_has_slept" > conftest.file 3122 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3123 if test "$*" = "X"; then 3124 # -L didn't work. 3125 set X `ls -t "$srcdir/configure" conftest.file` 3126 fi 3127 if test "$*" != "X $srcdir/configure conftest.file" \ 3128 && test "$*" != "X conftest.file $srcdir/configure"; then 3129 3130 # If neither matched, then we have a broken ls. This can happen 3131 # if, for instance, CONFIG_SHELL is bash and it inherits a 3132 # broken ls alias from the environment. This has actually 3133 # happened. Such a system could not be considered "sane". 3134 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3135 alias in your environment" "$LINENO" 5 3136 fi 3137 if test "$2" = conftest.file || test $am_try -eq 2; then 3138 break 3139 fi 3140 # Just in case. 3141 sleep 1 3142 am_has_slept=yes 3143 done 3144 test "$2" = conftest.file 3145 ) 3146then 3147 # Ok. 3148 : 3149else 3150 as_fn_error $? "newly created file is older than distributed files! 3151Check your system clock" "$LINENO" 5 3152fi 3153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3154$as_echo "yes" >&6; } 3155# If we didn't sleep, we still need to ensure time stamps of config.status and 3156# generated files are strictly newer. 3157am_sleep_pid= 3158if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3159 ( sleep 1 ) & 3160 am_sleep_pid=$! 3161fi 3162 3163rm -f conftest.file 3164 3165test "$program_prefix" != NONE && 3166 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3167# Use a double $ so make ignores it. 3168test "$program_suffix" != NONE && 3169 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3170# Double any \ or $. 3171# By default was `s,x,x', remove it if useless. 3172ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3173program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3174 3175# Expand $ac_aux_dir to an absolute path. 3176am_aux_dir=`cd "$ac_aux_dir" && pwd` 3177 3178if test x"${MISSING+set}" != xset; then 3179 case $am_aux_dir in 3180 *\ * | *\ *) 3181 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3182 *) 3183 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3184 esac 3185fi 3186# Use eval to expand $SHELL 3187if eval "$MISSING --is-lightweight"; then 3188 am_missing_run="$MISSING " 3189else 3190 am_missing_run= 3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3192$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3193fi 3194 3195if test x"${install_sh+set}" != xset; then 3196 case $am_aux_dir in 3197 *\ * | *\ *) 3198 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3199 *) 3200 install_sh="\${SHELL} $am_aux_dir/install-sh" 3201 esac 3202fi 3203 3204# Installed binaries are usually stripped using 'strip' when the user 3205# run "make install-strip". However 'strip' might not be the right 3206# tool to use in cross-compilation environments, therefore Automake 3207# will honor the 'STRIP' environment variable to overrule this program. 3208if test "$cross_compiling" != no; then 3209 if test -n "$ac_tool_prefix"; then 3210 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3211set dummy ${ac_tool_prefix}strip; ac_word=$2 3212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3213$as_echo_n "checking for $ac_word... " >&6; } 3214if ${ac_cv_prog_STRIP+:} false; then : 3215 $as_echo_n "(cached) " >&6 3216else 3217 if test -n "$STRIP"; then 3218 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3219else 3220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3221for as_dir in $PATH 3222do 3223 IFS=$as_save_IFS 3224 test -z "$as_dir" && as_dir=. 3225 for ac_exec_ext in '' $ac_executable_extensions; do 3226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3227 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3229 break 2 3230 fi 3231done 3232 done 3233IFS=$as_save_IFS 3234 3235fi 3236fi 3237STRIP=$ac_cv_prog_STRIP 3238if test -n "$STRIP"; then 3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3240$as_echo "$STRIP" >&6; } 3241else 3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3243$as_echo "no" >&6; } 3244fi 3245 3246 3247fi 3248if test -z "$ac_cv_prog_STRIP"; then 3249 ac_ct_STRIP=$STRIP 3250 # Extract the first word of "strip", so it can be a program name with args. 3251set dummy strip; ac_word=$2 3252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3253$as_echo_n "checking for $ac_word... " >&6; } 3254if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3255 $as_echo_n "(cached) " >&6 3256else 3257 if test -n "$ac_ct_STRIP"; then 3258 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3259else 3260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3261for as_dir in $PATH 3262do 3263 IFS=$as_save_IFS 3264 test -z "$as_dir" && as_dir=. 3265 for ac_exec_ext in '' $ac_executable_extensions; do 3266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3267 ac_cv_prog_ac_ct_STRIP="strip" 3268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3269 break 2 3270 fi 3271done 3272 done 3273IFS=$as_save_IFS 3274 3275fi 3276fi 3277ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3278if test -n "$ac_ct_STRIP"; then 3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3280$as_echo "$ac_ct_STRIP" >&6; } 3281else 3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3283$as_echo "no" >&6; } 3284fi 3285 3286 if test "x$ac_ct_STRIP" = x; then 3287 STRIP=":" 3288 else 3289 case $cross_compiling:$ac_tool_warned in 3290yes:) 3291{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3292$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3293ac_tool_warned=yes ;; 3294esac 3295 STRIP=$ac_ct_STRIP 3296 fi 3297else 3298 STRIP="$ac_cv_prog_STRIP" 3299fi 3300 3301fi 3302INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3303 3304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3305$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3306if test -z "$MKDIR_P"; then 3307 if ${ac_cv_path_mkdir+:} false; then : 3308 $as_echo_n "(cached) " >&6 3309else 3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3311for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3312do 3313 IFS=$as_save_IFS 3314 test -z "$as_dir" && as_dir=. 3315 for ac_prog in mkdir gmkdir; do 3316 for ac_exec_ext in '' $ac_executable_extensions; do 3317 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3318 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3319 'mkdir (GNU coreutils) '* | \ 3320 'mkdir (coreutils) '* | \ 3321 'mkdir (fileutils) '4.1*) 3322 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3323 break 3;; 3324 esac 3325 done 3326 done 3327 done 3328IFS=$as_save_IFS 3329 3330fi 3331 3332 test -d ./--version && rmdir ./--version 3333 if test "${ac_cv_path_mkdir+set}" = set; then 3334 MKDIR_P="$ac_cv_path_mkdir -p" 3335 else 3336 # As a last resort, use the slow shell script. Don't cache a 3337 # value for MKDIR_P within a source directory, because that will 3338 # break other packages using the cache if that directory is 3339 # removed, or if the value is a relative name. 3340 MKDIR_P="$ac_install_sh -d" 3341 fi 3342fi 3343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3344$as_echo "$MKDIR_P" >&6; } 3345 3346for ac_prog in gawk mawk nawk awk 3347do 3348 # Extract the first word of "$ac_prog", so it can be a program name with args. 3349set dummy $ac_prog; ac_word=$2 3350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3351$as_echo_n "checking for $ac_word... " >&6; } 3352if ${ac_cv_prog_AWK+:} false; then : 3353 $as_echo_n "(cached) " >&6 3354else 3355 if test -n "$AWK"; then 3356 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3357else 3358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3359for as_dir in $PATH 3360do 3361 IFS=$as_save_IFS 3362 test -z "$as_dir" && as_dir=. 3363 for ac_exec_ext in '' $ac_executable_extensions; do 3364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3365 ac_cv_prog_AWK="$ac_prog" 3366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3367 break 2 3368 fi 3369done 3370 done 3371IFS=$as_save_IFS 3372 3373fi 3374fi 3375AWK=$ac_cv_prog_AWK 3376if test -n "$AWK"; then 3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3378$as_echo "$AWK" >&6; } 3379else 3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3381$as_echo "no" >&6; } 3382fi 3383 3384 3385 test -n "$AWK" && break 3386done 3387 3388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3389$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3390set x ${MAKE-make} 3391ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3392if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3393 $as_echo_n "(cached) " >&6 3394else 3395 cat >conftest.make <<\_ACEOF 3396SHELL = /bin/sh 3397all: 3398 @echo '@@@%%%=$(MAKE)=@@@%%%' 3399_ACEOF 3400# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3401case `${MAKE-make} -f conftest.make 2>/dev/null` in 3402 *@@@%%%=?*=@@@%%%*) 3403 eval ac_cv_prog_make_${ac_make}_set=yes;; 3404 *) 3405 eval ac_cv_prog_make_${ac_make}_set=no;; 3406esac 3407rm -f conftest.make 3408fi 3409if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3411$as_echo "yes" >&6; } 3412 SET_MAKE= 3413else 3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3415$as_echo "no" >&6; } 3416 SET_MAKE="MAKE=${MAKE-make}" 3417fi 3418 3419rm -rf .tst 2>/dev/null 3420mkdir .tst 2>/dev/null 3421if test -d .tst; then 3422 am__leading_dot=. 3423else 3424 am__leading_dot=_ 3425fi 3426rmdir .tst 2>/dev/null 3427 3428# Check whether --enable-silent-rules was given. 3429if test "${enable_silent_rules+set}" = set; then : 3430 enableval=$enable_silent_rules; 3431fi 3432 3433case $enable_silent_rules in # ((( 3434 yes) AM_DEFAULT_VERBOSITY=0;; 3435 no) AM_DEFAULT_VERBOSITY=1;; 3436 *) AM_DEFAULT_VERBOSITY=1;; 3437esac 3438am_make=${MAKE-make} 3439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3440$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3441if ${am_cv_make_support_nested_variables+:} false; then : 3442 $as_echo_n "(cached) " >&6 3443else 3444 if $as_echo 'TRUE=$(BAR$(V)) 3445BAR0=false 3446BAR1=true 3447V=1 3448am__doit: 3449 @$(TRUE) 3450.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3451 am_cv_make_support_nested_variables=yes 3452else 3453 am_cv_make_support_nested_variables=no 3454fi 3455fi 3456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3457$as_echo "$am_cv_make_support_nested_variables" >&6; } 3458if test $am_cv_make_support_nested_variables = yes; then 3459 AM_V='$(V)' 3460 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3461else 3462 AM_V=$AM_DEFAULT_VERBOSITY 3463 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3464fi 3465AM_BACKSLASH='\' 3466 3467if test "`cd $srcdir && pwd`" != "`pwd`"; then 3468 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3469 # is not polluted with repeated "-I." 3470 am__isrc=' -I$(srcdir)' 3471 # test to see if srcdir already configured 3472 if test -f $srcdir/config.status; then 3473 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3474 fi 3475fi 3476 3477# test whether we have cygpath 3478if test -z "$CYGPATH_W"; then 3479 if (cygpath --version) >/dev/null 2>/dev/null; then 3480 CYGPATH_W='cygpath -w' 3481 else 3482 CYGPATH_W=echo 3483 fi 3484fi 3485 3486 3487# Define the identity of the package. 3488 PACKAGE='love' 3489 VERSION='0.10.2' 3490 3491 3492cat >>confdefs.h <<_ACEOF 3493#define PACKAGE "$PACKAGE" 3494_ACEOF 3495 3496 3497cat >>confdefs.h <<_ACEOF 3498#define VERSION "$VERSION" 3499_ACEOF 3500 3501# Some tools Automake needs. 3502 3503ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3504 3505 3506AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3507 3508 3509AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3510 3511 3512AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3513 3514 3515MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3516 3517# For better backward compatibility. To be removed once Automake 1.9.x 3518# dies out for good. For more background, see: 3519# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3520# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3521mkdir_p='$(MKDIR_P)' 3522 3523# We need awk for the "check" target (and possibly the TAP driver). The 3524# system "awk" is bad on some platforms. 3525# Always define AMTAR for backward compatibility. Yes, it's still used 3526# in the wild :-( We should find a proper way to deprecate it ... 3527AMTAR='$${TAR-tar}' 3528 3529 3530# We'll loop over all known methods to create a tar archive until one works. 3531_am_tools='gnutar plaintar pax cpio none' 3532 3533# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3534 # There is notably a 21 bits limit for the UID and the GID. In fact, 3535 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3536 # and bug#13588). 3537 am_max_uid=2097151 # 2^21 - 1 3538 am_max_gid=$am_max_uid 3539 # The $UID and $GID variables are not portable, so we need to resort 3540 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3541 # below are definitely unexpected, so allow the users to see them 3542 # (that is, avoid stderr redirection). 3543 am_uid=`id -u || echo unknown` 3544 am_gid=`id -g || echo unknown` 3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3546$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3547 if test $am_uid -le $am_max_uid; then 3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3549$as_echo "yes" >&6; } 3550 else 3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3552$as_echo "no" >&6; } 3553 _am_tools=none 3554 fi 3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3556$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3557 if test $am_gid -le $am_max_gid; then 3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3559$as_echo "yes" >&6; } 3560 else 3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3562$as_echo "no" >&6; } 3563 _am_tools=none 3564 fi 3565 3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3567$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3568 3569 # Go ahead even if we have the value already cached. We do so because we 3570 # need to set the values for the 'am__tar' and 'am__untar' variables. 3571 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3572 3573 for _am_tool in $_am_tools; do 3574 case $_am_tool in 3575 gnutar) 3576 for _am_tar in tar gnutar gtar; do 3577 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3578 ($_am_tar --version) >&5 2>&5 3579 ac_status=$? 3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3581 (exit $ac_status); } && break 3582 done 3583 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3584 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3585 am__untar="$_am_tar -xf -" 3586 ;; 3587 plaintar) 3588 # Must skip GNU tar: if it does not support --format= it doesn't create 3589 # ustar tarball either. 3590 (tar --version) >/dev/null 2>&1 && continue 3591 am__tar='tar chf - "$$tardir"' 3592 am__tar_='tar chf - "$tardir"' 3593 am__untar='tar xf -' 3594 ;; 3595 pax) 3596 am__tar='pax -L -x ustar -w "$$tardir"' 3597 am__tar_='pax -L -x ustar -w "$tardir"' 3598 am__untar='pax -r' 3599 ;; 3600 cpio) 3601 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3602 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3603 am__untar='cpio -i -H ustar -d' 3604 ;; 3605 none) 3606 am__tar=false 3607 am__tar_=false 3608 am__untar=false 3609 ;; 3610 esac 3611 3612 # If the value was cached, stop now. We just wanted to have am__tar 3613 # and am__untar set. 3614 test -n "${am_cv_prog_tar_ustar}" && break 3615 3616 # tar/untar a dummy directory, and stop if the command works. 3617 rm -rf conftest.dir 3618 mkdir conftest.dir 3619 echo GrepMe > conftest.dir/file 3620 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3621 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3622 ac_status=$? 3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3624 (exit $ac_status); } 3625 rm -rf conftest.dir 3626 if test -s conftest.tar; then 3627 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3628 ($am__untar <conftest.tar) >&5 2>&5 3629 ac_status=$? 3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3631 (exit $ac_status); } 3632 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3633 (cat conftest.dir/file) >&5 2>&5 3634 ac_status=$? 3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3636 (exit $ac_status); } 3637 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3638 fi 3639 done 3640 rm -rf conftest.dir 3641 3642 if ${am_cv_prog_tar_ustar+:} false; then : 3643 $as_echo_n "(cached) " >&6 3644else 3645 am_cv_prog_tar_ustar=$_am_tool 3646fi 3647 3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3649$as_echo "$am_cv_prog_tar_ustar" >&6; } 3650 3651 3652 3653 3654 3655 3656# POSIX will say in a future version that running "rm -f" with no argument 3657# is OK; and we want to be able to make that assumption in our Makefile 3658# recipes. So use an aggressive probe to check that the usage we want is 3659# actually supported "in the wild" to an acceptable degree. 3660# See automake bug#10828. 3661# To make any issue more visible, cause the running configure to be aborted 3662# by default if the 'rm' program in use doesn't match our expectations; the 3663# user can still override this though. 3664if rm -f && rm -fr && rm -rf; then : OK; else 3665 cat >&2 <<'END' 3666Oops! 3667 3668Your 'rm' program seems unable to run without file operands specified 3669on the command line, even when the '-f' option is present. This is contrary 3670to the behaviour of most rm programs out there, and not conforming with 3671the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3672 3673Please tell bug-automake@gnu.org about your system, including the value 3674of your $PATH and any error possibly output before this message. This 3675can help us improve future automake versions. 3676 3677END 3678 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3679 echo 'Configuration will proceed anyway, since you have set the' >&2 3680 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3681 echo >&2 3682 else 3683 cat >&2 <<'END' 3684Aborting the configuration process, to ensure you take notice of the issue. 3685 3686You can download and install GNU coreutils to get an 'rm' implementation 3687that behaves properly: <http://www.gnu.org/software/coreutils/>. 3688 3689If you want to complete the configuration process using your problematic 3690'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3691to "yes", and re-run configure. 3692 3693END 3694 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3695 fi 3696fi 3697 3698# Check whether --enable-silent-rules was given. 3699if test "${enable_silent_rules+set}" = set; then : 3700 enableval=$enable_silent_rules; 3701fi 3702 3703case $enable_silent_rules in # ((( 3704 yes) AM_DEFAULT_VERBOSITY=0;; 3705 no) AM_DEFAULT_VERBOSITY=1;; 3706 *) AM_DEFAULT_VERBOSITY=1;; 3707esac 3708am_make=${MAKE-make} 3709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3710$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3711if ${am_cv_make_support_nested_variables+:} false; then : 3712 $as_echo_n "(cached) " >&6 3713else 3714 if $as_echo 'TRUE=$(BAR$(V)) 3715BAR0=false 3716BAR1=true 3717V=1 3718am__doit: 3719 @$(TRUE) 3720.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3721 am_cv_make_support_nested_variables=yes 3722else 3723 am_cv_make_support_nested_variables=no 3724fi 3725fi 3726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3727$as_echo "$am_cv_make_support_nested_variables" >&6; } 3728if test $am_cv_make_support_nested_variables = yes; then 3729 AM_V='$(V)' 3730 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3731else 3732 AM_V=$AM_DEFAULT_VERBOSITY 3733 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3734fi 3735AM_BACKSLASH='\' 3736 3737 3738DEPDIR="${am__leading_dot}deps" 3739 3740ac_config_commands="$ac_config_commands depfiles" 3741 3742 3743am_make=${MAKE-make} 3744cat > confinc << 'END' 3745am__doit: 3746 @echo this is the am__doit target 3747.PHONY: am__doit 3748END 3749# If we don't find an include directive, just comment out the code. 3750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3751$as_echo_n "checking for style of include used by $am_make... " >&6; } 3752am__include="#" 3753am__quote= 3754_am_result=none 3755# First try GNU make style include. 3756echo "include confinc" > confmf 3757# Ignore all kinds of additional output from 'make'. 3758case `$am_make -s -f confmf 2> /dev/null` in #( 3759*the\ am__doit\ target*) 3760 am__include=include 3761 am__quote= 3762 _am_result=GNU 3763 ;; 3764esac 3765# Now try BSD make style include. 3766if test "$am__include" = "#"; then 3767 echo '.include "confinc"' > confmf 3768 case `$am_make -s -f confmf 2> /dev/null` in #( 3769 *the\ am__doit\ target*) 3770 am__include=.include 3771 am__quote="\"" 3772 _am_result=BSD 3773 ;; 3774 esac 3775fi 3776 3777 3778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3779$as_echo "$_am_result" >&6; } 3780rm -f confinc confmf 3781 3782# Check whether --enable-dependency-tracking was given. 3783if test "${enable_dependency_tracking+set}" = set; then : 3784 enableval=$enable_dependency_tracking; 3785fi 3786 3787if test "x$enable_dependency_tracking" != xno; then 3788 am_depcomp="$ac_aux_dir/depcomp" 3789 AMDEPBACKSLASH='\' 3790 am__nodep='_no' 3791fi 3792 if test "x$enable_dependency_tracking" != xno; then 3793 AMDEP_TRUE= 3794 AMDEP_FALSE='#' 3795else 3796 AMDEP_TRUE='#' 3797 AMDEP_FALSE= 3798fi 3799 3800 3801ac_ext=c 3802ac_cpp='$CPP $CPPFLAGS' 3803ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3804ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3805ac_compiler_gnu=$ac_cv_c_compiler_gnu 3806if test -n "$ac_tool_prefix"; then 3807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3808set dummy ${ac_tool_prefix}gcc; ac_word=$2 3809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3810$as_echo_n "checking for $ac_word... " >&6; } 3811if ${ac_cv_prog_CC+:} false; then : 3812 $as_echo_n "(cached) " >&6 3813else 3814 if test -n "$CC"; then 3815 ac_cv_prog_CC="$CC" # Let the user override the test. 3816else 3817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3818for as_dir in $PATH 3819do 3820 IFS=$as_save_IFS 3821 test -z "$as_dir" && as_dir=. 3822 for ac_exec_ext in '' $ac_executable_extensions; do 3823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3824 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3826 break 2 3827 fi 3828done 3829 done 3830IFS=$as_save_IFS 3831 3832fi 3833fi 3834CC=$ac_cv_prog_CC 3835if test -n "$CC"; then 3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3837$as_echo "$CC" >&6; } 3838else 3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3840$as_echo "no" >&6; } 3841fi 3842 3843 3844fi 3845if test -z "$ac_cv_prog_CC"; then 3846 ac_ct_CC=$CC 3847 # Extract the first word of "gcc", so it can be a program name with args. 3848set dummy gcc; ac_word=$2 3849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3850$as_echo_n "checking for $ac_word... " >&6; } 3851if ${ac_cv_prog_ac_ct_CC+:} false; then : 3852 $as_echo_n "(cached) " >&6 3853else 3854 if test -n "$ac_ct_CC"; then 3855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3856else 3857as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3858for as_dir in $PATH 3859do 3860 IFS=$as_save_IFS 3861 test -z "$as_dir" && as_dir=. 3862 for ac_exec_ext in '' $ac_executable_extensions; do 3863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3864 ac_cv_prog_ac_ct_CC="gcc" 3865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3866 break 2 3867 fi 3868done 3869 done 3870IFS=$as_save_IFS 3871 3872fi 3873fi 3874ac_ct_CC=$ac_cv_prog_ac_ct_CC 3875if test -n "$ac_ct_CC"; then 3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3877$as_echo "$ac_ct_CC" >&6; } 3878else 3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3880$as_echo "no" >&6; } 3881fi 3882 3883 if test "x$ac_ct_CC" = x; then 3884 CC="" 3885 else 3886 case $cross_compiling:$ac_tool_warned in 3887yes:) 3888{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3889$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3890ac_tool_warned=yes ;; 3891esac 3892 CC=$ac_ct_CC 3893 fi 3894else 3895 CC="$ac_cv_prog_CC" 3896fi 3897 3898if test -z "$CC"; then 3899 if test -n "$ac_tool_prefix"; then 3900 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3901set dummy ${ac_tool_prefix}cc; ac_word=$2 3902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3903$as_echo_n "checking for $ac_word... " >&6; } 3904if ${ac_cv_prog_CC+:} false; then : 3905 $as_echo_n "(cached) " >&6 3906else 3907 if test -n "$CC"; then 3908 ac_cv_prog_CC="$CC" # Let the user override the test. 3909else 3910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3911for as_dir in $PATH 3912do 3913 IFS=$as_save_IFS 3914 test -z "$as_dir" && as_dir=. 3915 for ac_exec_ext in '' $ac_executable_extensions; do 3916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3917 ac_cv_prog_CC="${ac_tool_prefix}cc" 3918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3919 break 2 3920 fi 3921done 3922 done 3923IFS=$as_save_IFS 3924 3925fi 3926fi 3927CC=$ac_cv_prog_CC 3928if test -n "$CC"; then 3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3930$as_echo "$CC" >&6; } 3931else 3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3933$as_echo "no" >&6; } 3934fi 3935 3936 3937 fi 3938fi 3939if test -z "$CC"; then 3940 # Extract the first word of "cc", so it can be a program name with args. 3941set dummy cc; ac_word=$2 3942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3943$as_echo_n "checking for $ac_word... " >&6; } 3944if ${ac_cv_prog_CC+:} false; then : 3945 $as_echo_n "(cached) " >&6 3946else 3947 if test -n "$CC"; then 3948 ac_cv_prog_CC="$CC" # Let the user override the test. 3949else 3950 ac_prog_rejected=no 3951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3952for as_dir in $PATH 3953do 3954 IFS=$as_save_IFS 3955 test -z "$as_dir" && as_dir=. 3956 for ac_exec_ext in '' $ac_executable_extensions; do 3957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3959 ac_prog_rejected=yes 3960 continue 3961 fi 3962 ac_cv_prog_CC="cc" 3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3964 break 2 3965 fi 3966done 3967 done 3968IFS=$as_save_IFS 3969 3970if test $ac_prog_rejected = yes; then 3971 # We found a bogon in the path, so make sure we never use it. 3972 set dummy $ac_cv_prog_CC 3973 shift 3974 if test $# != 0; then 3975 # We chose a different compiler from the bogus one. 3976 # However, it has the same basename, so the bogon will be chosen 3977 # first if we set CC to just the basename; use the full file name. 3978 shift 3979 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3980 fi 3981fi 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 "$CC"; then 3996 if test -n "$ac_tool_prefix"; then 3997 for ac_prog in cl.exe 3998 do 3999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4000set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4002$as_echo_n "checking for $ac_word... " >&6; } 4003if ${ac_cv_prog_CC+:} false; then : 4004 $as_echo_n "(cached) " >&6 4005else 4006 if test -n "$CC"; then 4007 ac_cv_prog_CC="$CC" # Let the user override the test. 4008else 4009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4010for as_dir in $PATH 4011do 4012 IFS=$as_save_IFS 4013 test -z "$as_dir" && as_dir=. 4014 for ac_exec_ext in '' $ac_executable_extensions; do 4015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4016 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4018 break 2 4019 fi 4020done 4021 done 4022IFS=$as_save_IFS 4023 4024fi 4025fi 4026CC=$ac_cv_prog_CC 4027if test -n "$CC"; then 4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4029$as_echo "$CC" >&6; } 4030else 4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4032$as_echo "no" >&6; } 4033fi 4034 4035 4036 test -n "$CC" && break 4037 done 4038fi 4039if test -z "$CC"; then 4040 ac_ct_CC=$CC 4041 for ac_prog in cl.exe 4042do 4043 # Extract the first word of "$ac_prog", so it can be a program name with args. 4044set dummy $ac_prog; ac_word=$2 4045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4046$as_echo_n "checking for $ac_word... " >&6; } 4047if ${ac_cv_prog_ac_ct_CC+:} false; then : 4048 $as_echo_n "(cached) " >&6 4049else 4050 if test -n "$ac_ct_CC"; then 4051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4052else 4053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4054for as_dir in $PATH 4055do 4056 IFS=$as_save_IFS 4057 test -z "$as_dir" && as_dir=. 4058 for ac_exec_ext in '' $ac_executable_extensions; do 4059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4060 ac_cv_prog_ac_ct_CC="$ac_prog" 4061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4062 break 2 4063 fi 4064done 4065 done 4066IFS=$as_save_IFS 4067 4068fi 4069fi 4070ac_ct_CC=$ac_cv_prog_ac_ct_CC 4071if test -n "$ac_ct_CC"; then 4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4073$as_echo "$ac_ct_CC" >&6; } 4074else 4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4076$as_echo "no" >&6; } 4077fi 4078 4079 4080 test -n "$ac_ct_CC" && break 4081done 4082 4083 if test "x$ac_ct_CC" = x; then 4084 CC="" 4085 else 4086 case $cross_compiling:$ac_tool_warned in 4087yes:) 4088{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4089$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4090ac_tool_warned=yes ;; 4091esac 4092 CC=$ac_ct_CC 4093 fi 4094fi 4095 4096fi 4097 4098 4099test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4100$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4101as_fn_error $? "no acceptable C compiler found in \$PATH 4102See \`config.log' for more details" "$LINENO" 5; } 4103 4104# Provide some information about the compiler. 4105$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4106set X $ac_compile 4107ac_compiler=$2 4108for ac_option in --version -v -V -qversion; do 4109 { { ac_try="$ac_compiler $ac_option >&5" 4110case "(($ac_try" in 4111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4112 *) ac_try_echo=$ac_try;; 4113esac 4114eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4115$as_echo "$ac_try_echo"; } >&5 4116 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4117 ac_status=$? 4118 if test -s conftest.err; then 4119 sed '10a\ 4120... rest of stderr output deleted ... 4121 10q' conftest.err >conftest.er1 4122 cat conftest.er1 >&5 4123 fi 4124 rm -f conftest.er1 conftest.err 4125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4126 test $ac_status = 0; } 4127done 4128 4129cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4130/* end confdefs.h. */ 4131 4132int 4133main () 4134{ 4135 4136 ; 4137 return 0; 4138} 4139_ACEOF 4140ac_clean_files_save=$ac_clean_files 4141ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4142# Try to create an executable without -o first, disregard a.out. 4143# It will help us diagnose broken compilers, and finding out an intuition 4144# of exeext. 4145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4146$as_echo_n "checking whether the C compiler works... " >&6; } 4147ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4148 4149# The possible output files: 4150ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4151 4152ac_rmfiles= 4153for ac_file in $ac_files 4154do 4155 case $ac_file in 4156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4157 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4158 esac 4159done 4160rm -f $ac_rmfiles 4161 4162if { { ac_try="$ac_link_default" 4163case "(($ac_try" in 4164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4165 *) ac_try_echo=$ac_try;; 4166esac 4167eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4168$as_echo "$ac_try_echo"; } >&5 4169 (eval "$ac_link_default") 2>&5 4170 ac_status=$? 4171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4172 test $ac_status = 0; }; then : 4173 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4174# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4175# in a Makefile. We should not override ac_cv_exeext if it was cached, 4176# so that the user can short-circuit this test for compilers unknown to 4177# Autoconf. 4178for ac_file in $ac_files '' 4179do 4180 test -f "$ac_file" || continue 4181 case $ac_file in 4182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4183 ;; 4184 [ab].out ) 4185 # We found the default executable, but exeext='' is most 4186 # certainly right. 4187 break;; 4188 *.* ) 4189 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4190 then :; else 4191 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4192 fi 4193 # We set ac_cv_exeext here because the later test for it is not 4194 # safe: cross compilers may not add the suffix if given an `-o' 4195 # argument, so we may need to know it at that point already. 4196 # Even if this section looks crufty: it has the advantage of 4197 # actually working. 4198 break;; 4199 * ) 4200 break;; 4201 esac 4202done 4203test "$ac_cv_exeext" = no && ac_cv_exeext= 4204 4205else 4206 ac_file='' 4207fi 4208if test -z "$ac_file"; then : 4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4210$as_echo "no" >&6; } 4211$as_echo "$as_me: failed program was:" >&5 4212sed 's/^/| /' conftest.$ac_ext >&5 4213 4214{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4215$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4216as_fn_error 77 "C compiler cannot create executables 4217See \`config.log' for more details" "$LINENO" 5; } 4218else 4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4220$as_echo "yes" >&6; } 4221fi 4222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4223$as_echo_n "checking for C compiler default output file name... " >&6; } 4224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4225$as_echo "$ac_file" >&6; } 4226ac_exeext=$ac_cv_exeext 4227 4228rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4229ac_clean_files=$ac_clean_files_save 4230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4231$as_echo_n "checking for suffix of executables... " >&6; } 4232if { { ac_try="$ac_link" 4233case "(($ac_try" in 4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4235 *) ac_try_echo=$ac_try;; 4236esac 4237eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4238$as_echo "$ac_try_echo"; } >&5 4239 (eval "$ac_link") 2>&5 4240 ac_status=$? 4241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4242 test $ac_status = 0; }; then : 4243 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4244# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4245# work properly (i.e., refer to `conftest.exe'), while it won't with 4246# `rm'. 4247for ac_file in conftest.exe conftest conftest.*; do 4248 test -f "$ac_file" || continue 4249 case $ac_file in 4250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4251 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4252 break;; 4253 * ) break;; 4254 esac 4255done 4256else 4257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4258$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4259as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4260See \`config.log' for more details" "$LINENO" 5; } 4261fi 4262rm -f conftest conftest$ac_cv_exeext 4263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4264$as_echo "$ac_cv_exeext" >&6; } 4265 4266rm -f conftest.$ac_ext 4267EXEEXT=$ac_cv_exeext 4268ac_exeext=$EXEEXT 4269cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4270/* end confdefs.h. */ 4271#include <stdio.h> 4272int 4273main () 4274{ 4275FILE *f = fopen ("conftest.out", "w"); 4276 return ferror (f) || fclose (f) != 0; 4277 4278 ; 4279 return 0; 4280} 4281_ACEOF 4282ac_clean_files="$ac_clean_files conftest.out" 4283# Check that the compiler produces executables we can run. If not, either 4284# the compiler is broken, or we cross compile. 4285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4286$as_echo_n "checking whether we are cross compiling... " >&6; } 4287if test "$cross_compiling" != yes; then 4288 { { ac_try="$ac_link" 4289case "(($ac_try" in 4290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4291 *) ac_try_echo=$ac_try;; 4292esac 4293eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4294$as_echo "$ac_try_echo"; } >&5 4295 (eval "$ac_link") 2>&5 4296 ac_status=$? 4297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4298 test $ac_status = 0; } 4299 if { ac_try='./conftest$ac_cv_exeext' 4300 { { case "(($ac_try" in 4301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4302 *) ac_try_echo=$ac_try;; 4303esac 4304eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4305$as_echo "$ac_try_echo"; } >&5 4306 (eval "$ac_try") 2>&5 4307 ac_status=$? 4308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4309 test $ac_status = 0; }; }; then 4310 cross_compiling=no 4311 else 4312 if test "$cross_compiling" = maybe; then 4313 cross_compiling=yes 4314 else 4315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4316$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4317as_fn_error $? "cannot run C compiled programs. 4318If you meant to cross compile, use \`--host'. 4319See \`config.log' for more details" "$LINENO" 5; } 4320 fi 4321 fi 4322fi 4323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4324$as_echo "$cross_compiling" >&6; } 4325 4326rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4327ac_clean_files=$ac_clean_files_save 4328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4329$as_echo_n "checking for suffix of object files... " >&6; } 4330if ${ac_cv_objext+:} false; then : 4331 $as_echo_n "(cached) " >&6 4332else 4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4334/* end confdefs.h. */ 4335 4336int 4337main () 4338{ 4339 4340 ; 4341 return 0; 4342} 4343_ACEOF 4344rm -f conftest.o conftest.obj 4345if { { ac_try="$ac_compile" 4346case "(($ac_try" in 4347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4348 *) ac_try_echo=$ac_try;; 4349esac 4350eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4351$as_echo "$ac_try_echo"; } >&5 4352 (eval "$ac_compile") 2>&5 4353 ac_status=$? 4354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4355 test $ac_status = 0; }; then : 4356 for ac_file in conftest.o conftest.obj conftest.*; do 4357 test -f "$ac_file" || continue; 4358 case $ac_file in 4359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4360 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4361 break;; 4362 esac 4363done 4364else 4365 $as_echo "$as_me: failed program was:" >&5 4366sed 's/^/| /' conftest.$ac_ext >&5 4367 4368{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4369$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4370as_fn_error $? "cannot compute suffix of object files: cannot compile 4371See \`config.log' for more details" "$LINENO" 5; } 4372fi 4373rm -f conftest.$ac_cv_objext conftest.$ac_ext 4374fi 4375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4376$as_echo "$ac_cv_objext" >&6; } 4377OBJEXT=$ac_cv_objext 4378ac_objext=$OBJEXT 4379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4380$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4381if ${ac_cv_c_compiler_gnu+:} false; then : 4382 $as_echo_n "(cached) " >&6 4383else 4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4385/* end confdefs.h. */ 4386 4387int 4388main () 4389{ 4390#ifndef __GNUC__ 4391 choke me 4392#endif 4393 4394 ; 4395 return 0; 4396} 4397_ACEOF 4398if ac_fn_c_try_compile "$LINENO"; then : 4399 ac_compiler_gnu=yes 4400else 4401 ac_compiler_gnu=no 4402fi 4403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4404ac_cv_c_compiler_gnu=$ac_compiler_gnu 4405 4406fi 4407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4408$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4409if test $ac_compiler_gnu = yes; then 4410 GCC=yes 4411else 4412 GCC= 4413fi 4414ac_test_CFLAGS=${CFLAGS+set} 4415ac_save_CFLAGS=$CFLAGS 4416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4417$as_echo_n "checking whether $CC accepts -g... " >&6; } 4418if ${ac_cv_prog_cc_g+:} false; then : 4419 $as_echo_n "(cached) " >&6 4420else 4421 ac_save_c_werror_flag=$ac_c_werror_flag 4422 ac_c_werror_flag=yes 4423 ac_cv_prog_cc_g=no 4424 CFLAGS="-g" 4425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4426/* end confdefs.h. */ 4427 4428int 4429main () 4430{ 4431 4432 ; 4433 return 0; 4434} 4435_ACEOF 4436if ac_fn_c_try_compile "$LINENO"; then : 4437 ac_cv_prog_cc_g=yes 4438else 4439 CFLAGS="" 4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4441/* end confdefs.h. */ 4442 4443int 4444main () 4445{ 4446 4447 ; 4448 return 0; 4449} 4450_ACEOF 4451if ac_fn_c_try_compile "$LINENO"; then : 4452 4453else 4454 ac_c_werror_flag=$ac_save_c_werror_flag 4455 CFLAGS="-g" 4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4457/* end confdefs.h. */ 4458 4459int 4460main () 4461{ 4462 4463 ; 4464 return 0; 4465} 4466_ACEOF 4467if ac_fn_c_try_compile "$LINENO"; then : 4468 ac_cv_prog_cc_g=yes 4469fi 4470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4471fi 4472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4473fi 4474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4475 ac_c_werror_flag=$ac_save_c_werror_flag 4476fi 4477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4478$as_echo "$ac_cv_prog_cc_g" >&6; } 4479if test "$ac_test_CFLAGS" = set; then 4480 CFLAGS=$ac_save_CFLAGS 4481elif test $ac_cv_prog_cc_g = yes; then 4482 if test "$GCC" = yes; then 4483 CFLAGS="-g -O2" 4484 else 4485 CFLAGS="-g" 4486 fi 4487else 4488 if test "$GCC" = yes; then 4489 CFLAGS="-O2" 4490 else 4491 CFLAGS= 4492 fi 4493fi 4494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4495$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4496if ${ac_cv_prog_cc_c89+:} false; then : 4497 $as_echo_n "(cached) " >&6 4498else 4499 ac_cv_prog_cc_c89=no 4500ac_save_CC=$CC 4501cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4502/* end confdefs.h. */ 4503#include <stdarg.h> 4504#include <stdio.h> 4505struct stat; 4506/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4507struct buf { int x; }; 4508FILE * (*rcsopen) (struct buf *, struct stat *, int); 4509static char *e (p, i) 4510 char **p; 4511 int i; 4512{ 4513 return p[i]; 4514} 4515static char *f (char * (*g) (char **, int), char **p, ...) 4516{ 4517 char *s; 4518 va_list v; 4519 va_start (v,p); 4520 s = g (p, va_arg (v,int)); 4521 va_end (v); 4522 return s; 4523} 4524 4525/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4526 function prototypes and stuff, but not '\xHH' hex character constants. 4527 These don't provoke an error unfortunately, instead are silently treated 4528 as 'x'. The following induces an error, until -std is added to get 4529 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4530 array size at least. It's necessary to write '\x00'==0 to get something 4531 that's true only with -std. */ 4532int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4533 4534/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4535 inside strings and character constants. */ 4536#define FOO(x) 'x' 4537int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4538 4539int test (int i, double x); 4540struct s1 {int (*f) (int a);}; 4541struct s2 {int (*f) (double a);}; 4542int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4543int argc; 4544char **argv; 4545int 4546main () 4547{ 4548return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4549 ; 4550 return 0; 4551} 4552_ACEOF 4553for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4554 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4555do 4556 CC="$ac_save_CC $ac_arg" 4557 if ac_fn_c_try_compile "$LINENO"; then : 4558 ac_cv_prog_cc_c89=$ac_arg 4559fi 4560rm -f core conftest.err conftest.$ac_objext 4561 test "x$ac_cv_prog_cc_c89" != "xno" && break 4562done 4563rm -f conftest.$ac_ext 4564CC=$ac_save_CC 4565 4566fi 4567# AC_CACHE_VAL 4568case "x$ac_cv_prog_cc_c89" in 4569 x) 4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4571$as_echo "none needed" >&6; } ;; 4572 xno) 4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4574$as_echo "unsupported" >&6; } ;; 4575 *) 4576 CC="$CC $ac_cv_prog_cc_c89" 4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4578$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4579esac 4580if test "x$ac_cv_prog_cc_c89" != xno; then : 4581 4582fi 4583 4584ac_ext=c 4585ac_cpp='$CPP $CPPFLAGS' 4586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4588ac_compiler_gnu=$ac_cv_c_compiler_gnu 4589 4590ac_ext=c 4591ac_cpp='$CPP $CPPFLAGS' 4592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4594ac_compiler_gnu=$ac_cv_c_compiler_gnu 4595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4596$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4597if ${am_cv_prog_cc_c_o+:} false; then : 4598 $as_echo_n "(cached) " >&6 4599else 4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4601/* end confdefs.h. */ 4602 4603int 4604main () 4605{ 4606 4607 ; 4608 return 0; 4609} 4610_ACEOF 4611 # Make sure it works both with $CC and with simple cc. 4612 # Following AC_PROG_CC_C_O, we do the test twice because some 4613 # compilers refuse to overwrite an existing .o file with -o, 4614 # though they will create one. 4615 am_cv_prog_cc_c_o=yes 4616 for am_i in 1 2; do 4617 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4618 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4619 ac_status=$? 4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4621 (exit $ac_status); } \ 4622 && test -f conftest2.$ac_objext; then 4623 : OK 4624 else 4625 am_cv_prog_cc_c_o=no 4626 break 4627 fi 4628 done 4629 rm -f core conftest* 4630 unset am_i 4631fi 4632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4633$as_echo "$am_cv_prog_cc_c_o" >&6; } 4634if test "$am_cv_prog_cc_c_o" != yes; then 4635 # Losing compiler, so override with the script. 4636 # FIXME: It is wrong to rewrite CC. 4637 # But if we don't then we get into trouble of one sort or another. 4638 # A longer-term fix would be to have automake use am__CC in this case, 4639 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4640 CC="$am_aux_dir/compile $CC" 4641fi 4642ac_ext=c 4643ac_cpp='$CPP $CPPFLAGS' 4644ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4645ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4646ac_compiler_gnu=$ac_cv_c_compiler_gnu 4647 4648 4649depcc="$CC" am_compiler_list= 4650 4651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4652$as_echo_n "checking dependency style of $depcc... " >&6; } 4653if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4654 $as_echo_n "(cached) " >&6 4655else 4656 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4657 # We make a subdir and do the tests there. Otherwise we can end up 4658 # making bogus files that we don't know about and never remove. For 4659 # instance it was reported that on HP-UX the gcc test will end up 4660 # making a dummy file named 'D' -- because '-MD' means "put the output 4661 # in D". 4662 rm -rf conftest.dir 4663 mkdir conftest.dir 4664 # Copy depcomp to subdir because otherwise we won't find it if we're 4665 # using a relative directory. 4666 cp "$am_depcomp" conftest.dir 4667 cd conftest.dir 4668 # We will build objects and dependencies in a subdirectory because 4669 # it helps to detect inapplicable dependency modes. For instance 4670 # both Tru64's cc and ICC support -MD to output dependencies as a 4671 # side effect of compilation, but ICC will put the dependencies in 4672 # the current directory while Tru64 will put them in the object 4673 # directory. 4674 mkdir sub 4675 4676 am_cv_CC_dependencies_compiler_type=none 4677 if test "$am_compiler_list" = ""; then 4678 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4679 fi 4680 am__universal=false 4681 case " $depcc " in #( 4682 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4683 esac 4684 4685 for depmode in $am_compiler_list; do 4686 # Setup a source with many dependencies, because some compilers 4687 # like to wrap large dependency lists on column 80 (with \), and 4688 # we should not choose a depcomp mode which is confused by this. 4689 # 4690 # We need to recreate these files for each test, as the compiler may 4691 # overwrite some of them when testing with obscure command lines. 4692 # This happens at least with the AIX C compiler. 4693 : > sub/conftest.c 4694 for i in 1 2 3 4 5 6; do 4695 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4696 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4697 # Solaris 10 /bin/sh. 4698 echo '/* dummy */' > sub/conftst$i.h 4699 done 4700 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4701 4702 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4703 # mode. It turns out that the SunPro C++ compiler does not properly 4704 # handle '-M -o', and we need to detect this. Also, some Intel 4705 # versions had trouble with output in subdirs. 4706 am__obj=sub/conftest.${OBJEXT-o} 4707 am__minus_obj="-o $am__obj" 4708 case $depmode in 4709 gcc) 4710 # This depmode causes a compiler race in universal mode. 4711 test "$am__universal" = false || continue 4712 ;; 4713 nosideeffect) 4714 # After this tag, mechanisms are not by side-effect, so they'll 4715 # only be used when explicitly requested. 4716 if test "x$enable_dependency_tracking" = xyes; then 4717 continue 4718 else 4719 break 4720 fi 4721 ;; 4722 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4723 # This compiler won't grok '-c -o', but also, the minuso test has 4724 # not run yet. These depmodes are late enough in the game, and 4725 # so weak that their functioning should not be impacted. 4726 am__obj=conftest.${OBJEXT-o} 4727 am__minus_obj= 4728 ;; 4729 none) break ;; 4730 esac 4731 if depmode=$depmode \ 4732 source=sub/conftest.c object=$am__obj \ 4733 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4734 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4735 >/dev/null 2>conftest.err && 4736 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4737 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4738 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4739 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4740 # icc doesn't choke on unknown options, it will just issue warnings 4741 # or remarks (even with -Werror). So we grep stderr for any message 4742 # that says an option was ignored or not supported. 4743 # When given -MP, icc 7.0 and 7.1 complain thusly: 4744 # icc: Command line warning: ignoring option '-M'; no argument required 4745 # The diagnosis changed in icc 8.0: 4746 # icc: Command line remark: option '-MP' not supported 4747 if (grep 'ignoring option' conftest.err || 4748 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4749 am_cv_CC_dependencies_compiler_type=$depmode 4750 break 4751 fi 4752 fi 4753 done 4754 4755 cd .. 4756 rm -rf conftest.dir 4757else 4758 am_cv_CC_dependencies_compiler_type=none 4759fi 4760 4761fi 4762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4763$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4764CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4765 4766 if 4767 test "x$enable_dependency_tracking" != xno \ 4768 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4769 am__fastdepCC_TRUE= 4770 am__fastdepCC_FALSE='#' 4771else 4772 am__fastdepCC_TRUE='#' 4773 am__fastdepCC_FALSE= 4774fi 4775 4776 4777 4778if test -n "$ac_tool_prefix"; then 4779 for ac_prog in ar lib "link -lib" 4780 do 4781 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4782set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4784$as_echo_n "checking for $ac_word... " >&6; } 4785if ${ac_cv_prog_AR+:} false; then : 4786 $as_echo_n "(cached) " >&6 4787else 4788 if test -n "$AR"; then 4789 ac_cv_prog_AR="$AR" # Let the user override the test. 4790else 4791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4792for as_dir in $PATH 4793do 4794 IFS=$as_save_IFS 4795 test -z "$as_dir" && as_dir=. 4796 for ac_exec_ext in '' $ac_executable_extensions; do 4797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4798 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 4799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4800 break 2 4801 fi 4802done 4803 done 4804IFS=$as_save_IFS 4805 4806fi 4807fi 4808AR=$ac_cv_prog_AR 4809if test -n "$AR"; then 4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4811$as_echo "$AR" >&6; } 4812else 4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4814$as_echo "no" >&6; } 4815fi 4816 4817 4818 test -n "$AR" && break 4819 done 4820fi 4821if test -z "$AR"; then 4822 ac_ct_AR=$AR 4823 for ac_prog in ar lib "link -lib" 4824do 4825 # Extract the first word of "$ac_prog", so it can be a program name with args. 4826set dummy $ac_prog; ac_word=$2 4827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4828$as_echo_n "checking for $ac_word... " >&6; } 4829if ${ac_cv_prog_ac_ct_AR+:} false; then : 4830 $as_echo_n "(cached) " >&6 4831else 4832 if test -n "$ac_ct_AR"; then 4833 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4834else 4835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4836for as_dir in $PATH 4837do 4838 IFS=$as_save_IFS 4839 test -z "$as_dir" && as_dir=. 4840 for ac_exec_ext in '' $ac_executable_extensions; do 4841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4842 ac_cv_prog_ac_ct_AR="$ac_prog" 4843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4844 break 2 4845 fi 4846done 4847 done 4848IFS=$as_save_IFS 4849 4850fi 4851fi 4852ac_ct_AR=$ac_cv_prog_ac_ct_AR 4853if test -n "$ac_ct_AR"; then 4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4855$as_echo "$ac_ct_AR" >&6; } 4856else 4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4858$as_echo "no" >&6; } 4859fi 4860 4861 4862 test -n "$ac_ct_AR" && break 4863done 4864 4865 if test "x$ac_ct_AR" = x; then 4866 AR="false" 4867 else 4868 case $cross_compiling:$ac_tool_warned in 4869yes:) 4870{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4871$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4872ac_tool_warned=yes ;; 4873esac 4874 AR=$ac_ct_AR 4875 fi 4876fi 4877 4878: ${AR=ar} 4879 4880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 4881$as_echo_n "checking the archiver ($AR) interface... " >&6; } 4882if ${am_cv_ar_interface+:} false; then : 4883 $as_echo_n "(cached) " >&6 4884else 4885 ac_ext=c 4886ac_cpp='$CPP $CPPFLAGS' 4887ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4888ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4889ac_compiler_gnu=$ac_cv_c_compiler_gnu 4890 4891 am_cv_ar_interface=ar 4892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4893/* end confdefs.h. */ 4894int some_variable = 0; 4895_ACEOF 4896if ac_fn_c_try_compile "$LINENO"; then : 4897 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 4898 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4899 (eval $am_ar_try) 2>&5 4900 ac_status=$? 4901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4902 test $ac_status = 0; } 4903 if test "$ac_status" -eq 0; then 4904 am_cv_ar_interface=ar 4905 else 4906 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 4907 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4908 (eval $am_ar_try) 2>&5 4909 ac_status=$? 4910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4911 test $ac_status = 0; } 4912 if test "$ac_status" -eq 0; then 4913 am_cv_ar_interface=lib 4914 else 4915 am_cv_ar_interface=unknown 4916 fi 4917 fi 4918 rm -f conftest.lib libconftest.a 4919 4920fi 4921rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4922 ac_ext=c 4923ac_cpp='$CPP $CPPFLAGS' 4924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4926ac_compiler_gnu=$ac_cv_c_compiler_gnu 4927 4928fi 4929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 4930$as_echo "$am_cv_ar_interface" >&6; } 4931 4932case $am_cv_ar_interface in 4933ar) 4934 ;; 4935lib) 4936 # Microsoft lib, so override with the ar-lib wrapper script. 4937 # FIXME: It is wrong to rewrite AR. 4938 # But if we don't then we get into trouble of one sort or another. 4939 # A longer-term fix would be to have automake use am__AR in this case, 4940 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 4941 # similar. 4942 AR="$am_aux_dir/ar-lib $AR" 4943 ;; 4944unknown) 4945 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 4946 ;; 4947esac 4948 4949case `pwd` in 4950 *\ * | *\ *) 4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4952$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4953esac 4954 4955 4956 4957macro_version='2.4.6' 4958macro_revision='2.4.6' 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972ltmain=$ac_aux_dir/ltmain.sh 4973 4974# Make sure we can run config.sub. 4975$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4976 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4977 4978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4979$as_echo_n "checking build system type... " >&6; } 4980if ${ac_cv_build+:} false; then : 4981 $as_echo_n "(cached) " >&6 4982else 4983 ac_build_alias=$build_alias 4984test "x$ac_build_alias" = x && 4985 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4986test "x$ac_build_alias" = x && 4987 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4988ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4989 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4990 4991fi 4992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4993$as_echo "$ac_cv_build" >&6; } 4994case $ac_cv_build in 4995*-*-*) ;; 4996*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4997esac 4998build=$ac_cv_build 4999ac_save_IFS=$IFS; IFS='-' 5000set x $ac_cv_build 5001shift 5002build_cpu=$1 5003build_vendor=$2 5004shift; shift 5005# Remember, the first character of IFS is used to create $*, 5006# except with old shells: 5007build_os=$* 5008IFS=$ac_save_IFS 5009case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 5010 5011 5012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 5013$as_echo_n "checking host system type... " >&6; } 5014if ${ac_cv_host+:} false; then : 5015 $as_echo_n "(cached) " >&6 5016else 5017 if test "x$host_alias" = x; then 5018 ac_cv_host=$ac_cv_build 5019else 5020 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 5021 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 5022fi 5023 5024fi 5025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 5026$as_echo "$ac_cv_host" >&6; } 5027case $ac_cv_host in 5028*-*-*) ;; 5029*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 5030esac 5031host=$ac_cv_host 5032ac_save_IFS=$IFS; IFS='-' 5033set x $ac_cv_host 5034shift 5035host_cpu=$1 5036host_vendor=$2 5037shift; shift 5038# Remember, the first character of IFS is used to create $*, 5039# except with old shells: 5040host_os=$* 5041IFS=$ac_save_IFS 5042case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 5043 5044 5045# Backslashify metacharacters that are still active within 5046# double-quoted strings. 5047sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5048 5049# Same as above, but do not quote variable references. 5050double_quote_subst='s/\(["`\\]\)/\\\1/g' 5051 5052# Sed substitution to delay expansion of an escaped shell variable in a 5053# double_quote_subst'ed string. 5054delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5055 5056# Sed substitution to delay expansion of an escaped single quote. 5057delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5058 5059# Sed substitution to avoid accidental globbing in evaled expressions 5060no_glob_subst='s/\*/\\\*/g' 5061 5062ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5063ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5064ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5065 5066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5067$as_echo_n "checking how to print strings... " >&6; } 5068# Test print first, because it will be a builtin if present. 5069if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5070 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5071 ECHO='print -r --' 5072elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5073 ECHO='printf %s\n' 5074else 5075 # Use this function as a fallback that always works. 5076 func_fallback_echo () 5077 { 5078 eval 'cat <<_LTECHO_EOF 5079$1 5080_LTECHO_EOF' 5081 } 5082 ECHO='func_fallback_echo' 5083fi 5084 5085# func_echo_all arg... 5086# Invoke $ECHO with all args, space-separated. 5087func_echo_all () 5088{ 5089 $ECHO "" 5090} 5091 5092case $ECHO in 5093 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5094$as_echo "printf" >&6; } ;; 5095 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5096$as_echo "print -r" >&6; } ;; 5097 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5098$as_echo "cat" >&6; } ;; 5099esac 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5115$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5116if ${ac_cv_path_SED+:} false; then : 5117 $as_echo_n "(cached) " >&6 5118else 5119 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5120 for ac_i in 1 2 3 4 5 6 7; do 5121 ac_script="$ac_script$as_nl$ac_script" 5122 done 5123 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5124 { ac_script=; unset ac_script;} 5125 if test -z "$SED"; then 5126 ac_path_SED_found=false 5127 # Loop through the user's path and test for each of PROGNAME-LIST 5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5129for as_dir in $PATH 5130do 5131 IFS=$as_save_IFS 5132 test -z "$as_dir" && as_dir=. 5133 for ac_prog in sed gsed; do 5134 for ac_exec_ext in '' $ac_executable_extensions; do 5135 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5136 as_fn_executable_p "$ac_path_SED" || continue 5137# Check for GNU ac_path_SED and select it if it is found. 5138 # Check for GNU $ac_path_SED 5139case `"$ac_path_SED" --version 2>&1` in 5140*GNU*) 5141 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5142*) 5143 ac_count=0 5144 $as_echo_n 0123456789 >"conftest.in" 5145 while : 5146 do 5147 cat "conftest.in" "conftest.in" >"conftest.tmp" 5148 mv "conftest.tmp" "conftest.in" 5149 cp "conftest.in" "conftest.nl" 5150 $as_echo '' >> "conftest.nl" 5151 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5152 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5153 as_fn_arith $ac_count + 1 && ac_count=$as_val 5154 if test $ac_count -gt ${ac_path_SED_max-0}; then 5155 # Best one so far, save it but keep looking for a better one 5156 ac_cv_path_SED="$ac_path_SED" 5157 ac_path_SED_max=$ac_count 5158 fi 5159 # 10*(2^10) chars as input seems more than enough 5160 test $ac_count -gt 10 && break 5161 done 5162 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5163esac 5164 5165 $ac_path_SED_found && break 3 5166 done 5167 done 5168 done 5169IFS=$as_save_IFS 5170 if test -z "$ac_cv_path_SED"; then 5171 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5172 fi 5173else 5174 ac_cv_path_SED=$SED 5175fi 5176 5177fi 5178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5179$as_echo "$ac_cv_path_SED" >&6; } 5180 SED="$ac_cv_path_SED" 5181 rm -f conftest.sed 5182 5183test -z "$SED" && SED=sed 5184Xsed="$SED -e 1s/^X//" 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5197$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5198if ${ac_cv_path_GREP+:} false; then : 5199 $as_echo_n "(cached) " >&6 5200else 5201 if test -z "$GREP"; then 5202 ac_path_GREP_found=false 5203 # Loop through the user's path and test for each of PROGNAME-LIST 5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5205for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5206do 5207 IFS=$as_save_IFS 5208 test -z "$as_dir" && as_dir=. 5209 for ac_prog in grep ggrep; do 5210 for ac_exec_ext in '' $ac_executable_extensions; do 5211 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5212 as_fn_executable_p "$ac_path_GREP" || continue 5213# Check for GNU ac_path_GREP and select it if it is found. 5214 # Check for GNU $ac_path_GREP 5215case `"$ac_path_GREP" --version 2>&1` in 5216*GNU*) 5217 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5218*) 5219 ac_count=0 5220 $as_echo_n 0123456789 >"conftest.in" 5221 while : 5222 do 5223 cat "conftest.in" "conftest.in" >"conftest.tmp" 5224 mv "conftest.tmp" "conftest.in" 5225 cp "conftest.in" "conftest.nl" 5226 $as_echo 'GREP' >> "conftest.nl" 5227 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5228 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5229 as_fn_arith $ac_count + 1 && ac_count=$as_val 5230 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5231 # Best one so far, save it but keep looking for a better one 5232 ac_cv_path_GREP="$ac_path_GREP" 5233 ac_path_GREP_max=$ac_count 5234 fi 5235 # 10*(2^10) chars as input seems more than enough 5236 test $ac_count -gt 10 && break 5237 done 5238 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5239esac 5240 5241 $ac_path_GREP_found && break 3 5242 done 5243 done 5244 done 5245IFS=$as_save_IFS 5246 if test -z "$ac_cv_path_GREP"; then 5247 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5248 fi 5249else 5250 ac_cv_path_GREP=$GREP 5251fi 5252 5253fi 5254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5255$as_echo "$ac_cv_path_GREP" >&6; } 5256 GREP="$ac_cv_path_GREP" 5257 5258 5259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5260$as_echo_n "checking for egrep... " >&6; } 5261if ${ac_cv_path_EGREP+:} false; then : 5262 $as_echo_n "(cached) " >&6 5263else 5264 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5265 then ac_cv_path_EGREP="$GREP -E" 5266 else 5267 if test -z "$EGREP"; then 5268 ac_path_EGREP_found=false 5269 # Loop through the user's path and test for each of PROGNAME-LIST 5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5271for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5272do 5273 IFS=$as_save_IFS 5274 test -z "$as_dir" && as_dir=. 5275 for ac_prog in egrep; do 5276 for ac_exec_ext in '' $ac_executable_extensions; do 5277 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5278 as_fn_executable_p "$ac_path_EGREP" || continue 5279# Check for GNU ac_path_EGREP and select it if it is found. 5280 # Check for GNU $ac_path_EGREP 5281case `"$ac_path_EGREP" --version 2>&1` in 5282*GNU*) 5283 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5284*) 5285 ac_count=0 5286 $as_echo_n 0123456789 >"conftest.in" 5287 while : 5288 do 5289 cat "conftest.in" "conftest.in" >"conftest.tmp" 5290 mv "conftest.tmp" "conftest.in" 5291 cp "conftest.in" "conftest.nl" 5292 $as_echo 'EGREP' >> "conftest.nl" 5293 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5294 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5295 as_fn_arith $ac_count + 1 && ac_count=$as_val 5296 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5297 # Best one so far, save it but keep looking for a better one 5298 ac_cv_path_EGREP="$ac_path_EGREP" 5299 ac_path_EGREP_max=$ac_count 5300 fi 5301 # 10*(2^10) chars as input seems more than enough 5302 test $ac_count -gt 10 && break 5303 done 5304 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5305esac 5306 5307 $ac_path_EGREP_found && break 3 5308 done 5309 done 5310 done 5311IFS=$as_save_IFS 5312 if test -z "$ac_cv_path_EGREP"; then 5313 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5314 fi 5315else 5316 ac_cv_path_EGREP=$EGREP 5317fi 5318 5319 fi 5320fi 5321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5322$as_echo "$ac_cv_path_EGREP" >&6; } 5323 EGREP="$ac_cv_path_EGREP" 5324 5325 5326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5327$as_echo_n "checking for fgrep... " >&6; } 5328if ${ac_cv_path_FGREP+:} false; then : 5329 $as_echo_n "(cached) " >&6 5330else 5331 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5332 then ac_cv_path_FGREP="$GREP -F" 5333 else 5334 if test -z "$FGREP"; then 5335 ac_path_FGREP_found=false 5336 # Loop through the user's path and test for each of PROGNAME-LIST 5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5338for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5339do 5340 IFS=$as_save_IFS 5341 test -z "$as_dir" && as_dir=. 5342 for ac_prog in fgrep; do 5343 for ac_exec_ext in '' $ac_executable_extensions; do 5344 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5345 as_fn_executable_p "$ac_path_FGREP" || continue 5346# Check for GNU ac_path_FGREP and select it if it is found. 5347 # Check for GNU $ac_path_FGREP 5348case `"$ac_path_FGREP" --version 2>&1` in 5349*GNU*) 5350 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5351*) 5352 ac_count=0 5353 $as_echo_n 0123456789 >"conftest.in" 5354 while : 5355 do 5356 cat "conftest.in" "conftest.in" >"conftest.tmp" 5357 mv "conftest.tmp" "conftest.in" 5358 cp "conftest.in" "conftest.nl" 5359 $as_echo 'FGREP' >> "conftest.nl" 5360 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5361 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5362 as_fn_arith $ac_count + 1 && ac_count=$as_val 5363 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5364 # Best one so far, save it but keep looking for a better one 5365 ac_cv_path_FGREP="$ac_path_FGREP" 5366 ac_path_FGREP_max=$ac_count 5367 fi 5368 # 10*(2^10) chars as input seems more than enough 5369 test $ac_count -gt 10 && break 5370 done 5371 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5372esac 5373 5374 $ac_path_FGREP_found && break 3 5375 done 5376 done 5377 done 5378IFS=$as_save_IFS 5379 if test -z "$ac_cv_path_FGREP"; then 5380 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5381 fi 5382else 5383 ac_cv_path_FGREP=$FGREP 5384fi 5385 5386 fi 5387fi 5388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5389$as_echo "$ac_cv_path_FGREP" >&6; } 5390 FGREP="$ac_cv_path_FGREP" 5391 5392 5393test -z "$GREP" && GREP=grep 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413# Check whether --with-gnu-ld was given. 5414if test "${with_gnu_ld+set}" = set; then : 5415 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5416else 5417 with_gnu_ld=no 5418fi 5419 5420ac_prog=ld 5421if test yes = "$GCC"; then 5422 # Check if gcc -print-prog-name=ld gives a path. 5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5424$as_echo_n "checking for ld used by $CC... " >&6; } 5425 case $host in 5426 *-*-mingw*) 5427 # gcc leaves a trailing carriage return, which upsets mingw 5428 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5429 *) 5430 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5431 esac 5432 case $ac_prog in 5433 # Accept absolute paths. 5434 [\\/]* | ?:[\\/]*) 5435 re_direlt='/[^/][^/]*/\.\./' 5436 # Canonicalize the pathname of ld 5437 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5438 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5439 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5440 done 5441 test -z "$LD" && LD=$ac_prog 5442 ;; 5443 "") 5444 # If it fails, then pretend we aren't using GCC. 5445 ac_prog=ld 5446 ;; 5447 *) 5448 # If it is relative, then search for the first ld in PATH. 5449 with_gnu_ld=unknown 5450 ;; 5451 esac 5452elif test yes = "$with_gnu_ld"; then 5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5454$as_echo_n "checking for GNU ld... " >&6; } 5455else 5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5457$as_echo_n "checking for non-GNU ld... " >&6; } 5458fi 5459if ${lt_cv_path_LD+:} false; then : 5460 $as_echo_n "(cached) " >&6 5461else 5462 if test -z "$LD"; then 5463 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5464 for ac_dir in $PATH; do 5465 IFS=$lt_save_ifs 5466 test -z "$ac_dir" && ac_dir=. 5467 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5468 lt_cv_path_LD=$ac_dir/$ac_prog 5469 # Check to see if the program is GNU ld. I'd rather use --version, 5470 # but apparently some variants of GNU ld only accept -v. 5471 # Break only if it was the GNU/non-GNU ld that we prefer. 5472 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5473 *GNU* | *'with BFD'*) 5474 test no != "$with_gnu_ld" && break 5475 ;; 5476 *) 5477 test yes != "$with_gnu_ld" && break 5478 ;; 5479 esac 5480 fi 5481 done 5482 IFS=$lt_save_ifs 5483else 5484 lt_cv_path_LD=$LD # Let the user override the test with a path. 5485fi 5486fi 5487 5488LD=$lt_cv_path_LD 5489if test -n "$LD"; then 5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5491$as_echo "$LD" >&6; } 5492else 5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5494$as_echo "no" >&6; } 5495fi 5496test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5498$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5499if ${lt_cv_prog_gnu_ld+:} false; then : 5500 $as_echo_n "(cached) " >&6 5501else 5502 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5503case `$LD -v 2>&1 </dev/null` in 5504*GNU* | *'with BFD'*) 5505 lt_cv_prog_gnu_ld=yes 5506 ;; 5507*) 5508 lt_cv_prog_gnu_ld=no 5509 ;; 5510esac 5511fi 5512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5513$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5514with_gnu_ld=$lt_cv_prog_gnu_ld 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5525$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5526if ${lt_cv_path_NM+:} false; then : 5527 $as_echo_n "(cached) " >&6 5528else 5529 if test -n "$NM"; then 5530 # Let the user override the test. 5531 lt_cv_path_NM=$NM 5532else 5533 lt_nm_to_check=${ac_tool_prefix}nm 5534 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5535 lt_nm_to_check="$lt_nm_to_check nm" 5536 fi 5537 for lt_tmp_nm in $lt_nm_to_check; do 5538 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5539 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5540 IFS=$lt_save_ifs 5541 test -z "$ac_dir" && ac_dir=. 5542 tmp_nm=$ac_dir/$lt_tmp_nm 5543 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5544 # Check to see if the nm accepts a BSD-compat flag. 5545 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5546 # nm: unknown option "B" ignored 5547 # Tru64's nm complains that /dev/null is an invalid object file 5548 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5549 case $build_os in 5550 mingw*) lt_bad_file=conftest.nm/nofile ;; 5551 *) lt_bad_file=/dev/null ;; 5552 esac 5553 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5554 *$lt_bad_file* | *'Invalid file or object type'*) 5555 lt_cv_path_NM="$tmp_nm -B" 5556 break 2 5557 ;; 5558 *) 5559 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5560 */dev/null*) 5561 lt_cv_path_NM="$tmp_nm -p" 5562 break 2 5563 ;; 5564 *) 5565 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5566 continue # so that we can try to find one that supports BSD flags 5567 ;; 5568 esac 5569 ;; 5570 esac 5571 fi 5572 done 5573 IFS=$lt_save_ifs 5574 done 5575 : ${lt_cv_path_NM=no} 5576fi 5577fi 5578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5579$as_echo "$lt_cv_path_NM" >&6; } 5580if test no != "$lt_cv_path_NM"; then 5581 NM=$lt_cv_path_NM 5582else 5583 # Didn't find any BSD compatible name lister, look for dumpbin. 5584 if test -n "$DUMPBIN"; then : 5585 # Let the user override the test. 5586 else 5587 if test -n "$ac_tool_prefix"; then 5588 for ac_prog in dumpbin "link -dump" 5589 do 5590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5591set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5593$as_echo_n "checking for $ac_word... " >&6; } 5594if ${ac_cv_prog_DUMPBIN+:} false; then : 5595 $as_echo_n "(cached) " >&6 5596else 5597 if test -n "$DUMPBIN"; then 5598 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5599else 5600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5601for as_dir in $PATH 5602do 5603 IFS=$as_save_IFS 5604 test -z "$as_dir" && as_dir=. 5605 for ac_exec_ext in '' $ac_executable_extensions; do 5606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5607 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5609 break 2 5610 fi 5611done 5612 done 5613IFS=$as_save_IFS 5614 5615fi 5616fi 5617DUMPBIN=$ac_cv_prog_DUMPBIN 5618if test -n "$DUMPBIN"; then 5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5620$as_echo "$DUMPBIN" >&6; } 5621else 5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5623$as_echo "no" >&6; } 5624fi 5625 5626 5627 test -n "$DUMPBIN" && break 5628 done 5629fi 5630if test -z "$DUMPBIN"; then 5631 ac_ct_DUMPBIN=$DUMPBIN 5632 for ac_prog in dumpbin "link -dump" 5633do 5634 # Extract the first word of "$ac_prog", so it can be a program name with args. 5635set dummy $ac_prog; ac_word=$2 5636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5637$as_echo_n "checking for $ac_word... " >&6; } 5638if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5639 $as_echo_n "(cached) " >&6 5640else 5641 if test -n "$ac_ct_DUMPBIN"; then 5642 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5643else 5644as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5645for as_dir in $PATH 5646do 5647 IFS=$as_save_IFS 5648 test -z "$as_dir" && as_dir=. 5649 for ac_exec_ext in '' $ac_executable_extensions; do 5650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5651 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5653 break 2 5654 fi 5655done 5656 done 5657IFS=$as_save_IFS 5658 5659fi 5660fi 5661ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5662if test -n "$ac_ct_DUMPBIN"; then 5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5664$as_echo "$ac_ct_DUMPBIN" >&6; } 5665else 5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5667$as_echo "no" >&6; } 5668fi 5669 5670 5671 test -n "$ac_ct_DUMPBIN" && break 5672done 5673 5674 if test "x$ac_ct_DUMPBIN" = x; then 5675 DUMPBIN=":" 5676 else 5677 case $cross_compiling:$ac_tool_warned in 5678yes:) 5679{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5680$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5681ac_tool_warned=yes ;; 5682esac 5683 DUMPBIN=$ac_ct_DUMPBIN 5684 fi 5685fi 5686 5687 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5688 *COFF*) 5689 DUMPBIN="$DUMPBIN -symbols -headers" 5690 ;; 5691 *) 5692 DUMPBIN=: 5693 ;; 5694 esac 5695 fi 5696 5697 if test : != "$DUMPBIN"; then 5698 NM=$DUMPBIN 5699 fi 5700fi 5701test -z "$NM" && NM=nm 5702 5703 5704 5705 5706 5707 5708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5709$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5710if ${lt_cv_nm_interface+:} false; then : 5711 $as_echo_n "(cached) " >&6 5712else 5713 lt_cv_nm_interface="BSD nm" 5714 echo "int some_variable = 0;" > conftest.$ac_ext 5715 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5716 (eval "$ac_compile" 2>conftest.err) 5717 cat conftest.err >&5 5718 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5719 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5720 cat conftest.err >&5 5721 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5722 cat conftest.out >&5 5723 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5724 lt_cv_nm_interface="MS dumpbin" 5725 fi 5726 rm -f conftest* 5727fi 5728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5729$as_echo "$lt_cv_nm_interface" >&6; } 5730 5731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5732$as_echo_n "checking whether ln -s works... " >&6; } 5733LN_S=$as_ln_s 5734if test "$LN_S" = "ln -s"; then 5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5736$as_echo "yes" >&6; } 5737else 5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5739$as_echo "no, using $LN_S" >&6; } 5740fi 5741 5742# find the maximum length of command line arguments 5743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5744$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5745if ${lt_cv_sys_max_cmd_len+:} false; then : 5746 $as_echo_n "(cached) " >&6 5747else 5748 i=0 5749 teststring=ABCD 5750 5751 case $build_os in 5752 msdosdjgpp*) 5753 # On DJGPP, this test can blow up pretty badly due to problems in libc 5754 # (any single argument exceeding 2000 bytes causes a buffer overrun 5755 # during glob expansion). Even if it were fixed, the result of this 5756 # check would be larger than it should be. 5757 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5758 ;; 5759 5760 gnu*) 5761 # Under GNU Hurd, this test is not required because there is 5762 # no limit to the length of command line arguments. 5763 # Libtool will interpret -1 as no limit whatsoever 5764 lt_cv_sys_max_cmd_len=-1; 5765 ;; 5766 5767 cygwin* | mingw* | cegcc*) 5768 # On Win9x/ME, this test blows up -- it succeeds, but takes 5769 # about 5 minutes as the teststring grows exponentially. 5770 # Worse, since 9x/ME are not pre-emptively multitasking, 5771 # you end up with a "frozen" computer, even though with patience 5772 # the test eventually succeeds (with a max line length of 256k). 5773 # Instead, let's just punt: use the minimum linelength reported by 5774 # all of the supported platforms: 8192 (on NT/2K/XP). 5775 lt_cv_sys_max_cmd_len=8192; 5776 ;; 5777 5778 mint*) 5779 # On MiNT this can take a long time and run out of memory. 5780 lt_cv_sys_max_cmd_len=8192; 5781 ;; 5782 5783 amigaos*) 5784 # On AmigaOS with pdksh, this test takes hours, literally. 5785 # So we just punt and use a minimum line length of 8192. 5786 lt_cv_sys_max_cmd_len=8192; 5787 ;; 5788 5789 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5790 # This has been around since 386BSD, at least. Likely further. 5791 if test -x /sbin/sysctl; then 5792 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5793 elif test -x /usr/sbin/sysctl; then 5794 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5795 else 5796 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5797 fi 5798 # And add a safety zone 5799 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5800 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5801 ;; 5802 5803 interix*) 5804 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5805 lt_cv_sys_max_cmd_len=196608 5806 ;; 5807 5808 os2*) 5809 # The test takes a long time on OS/2. 5810 lt_cv_sys_max_cmd_len=8192 5811 ;; 5812 5813 osf*) 5814 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5815 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5816 # nice to cause kernel panics so lets avoid the loop below. 5817 # First set a reasonable default. 5818 lt_cv_sys_max_cmd_len=16384 5819 # 5820 if test -x /sbin/sysconfig; then 5821 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5822 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5823 esac 5824 fi 5825 ;; 5826 sco3.2v5*) 5827 lt_cv_sys_max_cmd_len=102400 5828 ;; 5829 sysv5* | sco5v6* | sysv4.2uw2*) 5830 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5831 if test -n "$kargmax"; then 5832 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5833 else 5834 lt_cv_sys_max_cmd_len=32768 5835 fi 5836 ;; 5837 *) 5838 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5839 if test -n "$lt_cv_sys_max_cmd_len" && \ 5840 test undefined != "$lt_cv_sys_max_cmd_len"; then 5841 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5842 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5843 else 5844 # Make teststring a little bigger before we do anything with it. 5845 # a 1K string should be a reasonable start. 5846 for i in 1 2 3 4 5 6 7 8; do 5847 teststring=$teststring$teststring 5848 done 5849 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5850 # If test is not a shell built-in, we'll probably end up computing a 5851 # maximum length that is only half of the actual maximum length, but 5852 # we can't tell. 5853 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5854 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5855 test 17 != "$i" # 1/2 MB should be enough 5856 do 5857 i=`expr $i + 1` 5858 teststring=$teststring$teststring 5859 done 5860 # Only check the string length outside the loop. 5861 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5862 teststring= 5863 # Add a significant safety factor because C++ compilers can tack on 5864 # massive amounts of additional arguments before passing them to the 5865 # linker. It appears as though 1/2 is a usable value. 5866 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5867 fi 5868 ;; 5869 esac 5870 5871fi 5872 5873if test -n "$lt_cv_sys_max_cmd_len"; then 5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5875$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5876else 5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5878$as_echo "none" >&6; } 5879fi 5880max_cmd_len=$lt_cv_sys_max_cmd_len 5881 5882 5883 5884 5885 5886 5887: ${CP="cp -f"} 5888: ${MV="mv -f"} 5889: ${RM="rm -f"} 5890 5891if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5892 lt_unset=unset 5893else 5894 lt_unset=false 5895fi 5896 5897 5898 5899 5900 5901# test EBCDIC or ASCII 5902case `echo X|tr X '\101'` in 5903 A) # ASCII based system 5904 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5905 lt_SP2NL='tr \040 \012' 5906 lt_NL2SP='tr \015\012 \040\040' 5907 ;; 5908 *) # EBCDIC based system 5909 lt_SP2NL='tr \100 \n' 5910 lt_NL2SP='tr \r\n \100\100' 5911 ;; 5912esac 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5923$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5924if ${lt_cv_to_host_file_cmd+:} false; then : 5925 $as_echo_n "(cached) " >&6 5926else 5927 case $host in 5928 *-*-mingw* ) 5929 case $build in 5930 *-*-mingw* ) # actually msys 5931 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5932 ;; 5933 *-*-cygwin* ) 5934 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5935 ;; 5936 * ) # otherwise, assume *nix 5937 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5938 ;; 5939 esac 5940 ;; 5941 *-*-cygwin* ) 5942 case $build in 5943 *-*-mingw* ) # actually msys 5944 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5945 ;; 5946 *-*-cygwin* ) 5947 lt_cv_to_host_file_cmd=func_convert_file_noop 5948 ;; 5949 * ) # otherwise, assume *nix 5950 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5951 ;; 5952 esac 5953 ;; 5954 * ) # unhandled hosts (and "normal" native builds) 5955 lt_cv_to_host_file_cmd=func_convert_file_noop 5956 ;; 5957esac 5958 5959fi 5960 5961to_host_file_cmd=$lt_cv_to_host_file_cmd 5962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5963$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5964 5965 5966 5967 5968 5969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5970$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5971if ${lt_cv_to_tool_file_cmd+:} false; then : 5972 $as_echo_n "(cached) " >&6 5973else 5974 #assume ordinary cross tools, or native build. 5975lt_cv_to_tool_file_cmd=func_convert_file_noop 5976case $host in 5977 *-*-mingw* ) 5978 case $build in 5979 *-*-mingw* ) # actually msys 5980 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5981 ;; 5982 esac 5983 ;; 5984esac 5985 5986fi 5987 5988to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5990$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5991 5992 5993 5994 5995 5996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5997$as_echo_n "checking for $LD option to reload object files... " >&6; } 5998if ${lt_cv_ld_reload_flag+:} false; then : 5999 $as_echo_n "(cached) " >&6 6000else 6001 lt_cv_ld_reload_flag='-r' 6002fi 6003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6004$as_echo "$lt_cv_ld_reload_flag" >&6; } 6005reload_flag=$lt_cv_ld_reload_flag 6006case $reload_flag in 6007"" | " "*) ;; 6008*) reload_flag=" $reload_flag" ;; 6009esac 6010reload_cmds='$LD$reload_flag -o $output$reload_objs' 6011case $host_os in 6012 cygwin* | mingw* | pw32* | cegcc*) 6013 if test yes != "$GCC"; then 6014 reload_cmds=false 6015 fi 6016 ;; 6017 darwin*) 6018 if test yes = "$GCC"; then 6019 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6020 else 6021 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6022 fi 6023 ;; 6024esac 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034if test -n "$ac_tool_prefix"; then 6035 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6036set dummy ${ac_tool_prefix}objdump; ac_word=$2 6037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6038$as_echo_n "checking for $ac_word... " >&6; } 6039if ${ac_cv_prog_OBJDUMP+:} false; then : 6040 $as_echo_n "(cached) " >&6 6041else 6042 if test -n "$OBJDUMP"; then 6043 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6044else 6045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6046for as_dir in $PATH 6047do 6048 IFS=$as_save_IFS 6049 test -z "$as_dir" && as_dir=. 6050 for ac_exec_ext in '' $ac_executable_extensions; do 6051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6052 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6054 break 2 6055 fi 6056done 6057 done 6058IFS=$as_save_IFS 6059 6060fi 6061fi 6062OBJDUMP=$ac_cv_prog_OBJDUMP 6063if test -n "$OBJDUMP"; then 6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6065$as_echo "$OBJDUMP" >&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_prog_OBJDUMP"; then 6074 ac_ct_OBJDUMP=$OBJDUMP 6075 # Extract the first word of "objdump", so it can be a program name with args. 6076set dummy objdump; 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_prog_ac_ct_OBJDUMP+:} false; then : 6080 $as_echo_n "(cached) " >&6 6081else 6082 if test -n "$ac_ct_OBJDUMP"; then 6083 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6084else 6085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6086for as_dir in $PATH 6087do 6088 IFS=$as_save_IFS 6089 test -z "$as_dir" && as_dir=. 6090 for ac_exec_ext in '' $ac_executable_extensions; do 6091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6092 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6094 break 2 6095 fi 6096done 6097 done 6098IFS=$as_save_IFS 6099 6100fi 6101fi 6102ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6103if test -n "$ac_ct_OBJDUMP"; then 6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6105$as_echo "$ac_ct_OBJDUMP" >&6; } 6106else 6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6108$as_echo "no" >&6; } 6109fi 6110 6111 if test "x$ac_ct_OBJDUMP" = x; then 6112 OBJDUMP="false" 6113 else 6114 case $cross_compiling:$ac_tool_warned in 6115yes:) 6116{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6117$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6118ac_tool_warned=yes ;; 6119esac 6120 OBJDUMP=$ac_ct_OBJDUMP 6121 fi 6122else 6123 OBJDUMP="$ac_cv_prog_OBJDUMP" 6124fi 6125 6126test -z "$OBJDUMP" && OBJDUMP=objdump 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6137$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6138if ${lt_cv_deplibs_check_method+:} false; then : 6139 $as_echo_n "(cached) " >&6 6140else 6141 lt_cv_file_magic_cmd='$MAGIC_CMD' 6142lt_cv_file_magic_test_file= 6143lt_cv_deplibs_check_method='unknown' 6144# Need to set the preceding variable on all platforms that support 6145# interlibrary dependencies. 6146# 'none' -- dependencies not supported. 6147# 'unknown' -- same as none, but documents that we really don't know. 6148# 'pass_all' -- all dependencies passed with no checks. 6149# 'test_compile' -- check by making test program. 6150# 'file_magic [[regex]]' -- check by looking for files in library path 6151# that responds to the $file_magic_cmd with a given extended regex. 6152# If you have 'file' or equivalent on your system and you're not sure 6153# whether 'pass_all' will *always* work, you probably want this one. 6154 6155case $host_os in 6156aix[4-9]*) 6157 lt_cv_deplibs_check_method=pass_all 6158 ;; 6159 6160beos*) 6161 lt_cv_deplibs_check_method=pass_all 6162 ;; 6163 6164bsdi[45]*) 6165 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6166 lt_cv_file_magic_cmd='/usr/bin/file -L' 6167 lt_cv_file_magic_test_file=/shlib/libc.so 6168 ;; 6169 6170cygwin*) 6171 # func_win32_libid is a shell function defined in ltmain.sh 6172 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6173 lt_cv_file_magic_cmd='func_win32_libid' 6174 ;; 6175 6176mingw* | pw32*) 6177 # Base MSYS/MinGW do not provide the 'file' command needed by 6178 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6179 # unless we find 'file', for example because we are cross-compiling. 6180 if ( file / ) >/dev/null 2>&1; then 6181 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6182 lt_cv_file_magic_cmd='func_win32_libid' 6183 else 6184 # Keep this pattern in sync with the one in func_win32_libid. 6185 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6186 lt_cv_file_magic_cmd='$OBJDUMP -f' 6187 fi 6188 ;; 6189 6190cegcc*) 6191 # use the weaker test based on 'objdump'. See mingw*. 6192 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6193 lt_cv_file_magic_cmd='$OBJDUMP -f' 6194 ;; 6195 6196darwin* | rhapsody*) 6197 lt_cv_deplibs_check_method=pass_all 6198 ;; 6199 6200freebsd* | dragonfly*) 6201 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6202 case $host_cpu in 6203 i*86 ) 6204 # Not sure whether the presence of OpenBSD here was a mistake. 6205 # Let's accept both of them until this is cleared up. 6206 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6207 lt_cv_file_magic_cmd=/usr/bin/file 6208 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6209 ;; 6210 esac 6211 else 6212 lt_cv_deplibs_check_method=pass_all 6213 fi 6214 ;; 6215 6216haiku*) 6217 lt_cv_deplibs_check_method=pass_all 6218 ;; 6219 6220hpux10.20* | hpux11*) 6221 lt_cv_file_magic_cmd=/usr/bin/file 6222 case $host_cpu in 6223 ia64*) 6224 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6225 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6226 ;; 6227 hppa*64*) 6228 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]' 6229 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6230 ;; 6231 *) 6232 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6233 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6234 ;; 6235 esac 6236 ;; 6237 6238interix[3-9]*) 6239 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6240 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6241 ;; 6242 6243irix5* | irix6* | nonstopux*) 6244 case $LD in 6245 *-32|*"-32 ") libmagic=32-bit;; 6246 *-n32|*"-n32 ") libmagic=N32;; 6247 *-64|*"-64 ") libmagic=64-bit;; 6248 *) libmagic=never-match;; 6249 esac 6250 lt_cv_deplibs_check_method=pass_all 6251 ;; 6252 6253# This must be glibc/ELF. 6254linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6255 lt_cv_deplibs_check_method=pass_all 6256 ;; 6257 6258netbsd*) 6259 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6260 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6261 else 6262 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6263 fi 6264 ;; 6265 6266newos6*) 6267 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6268 lt_cv_file_magic_cmd=/usr/bin/file 6269 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6270 ;; 6271 6272*nto* | *qnx*) 6273 lt_cv_deplibs_check_method=pass_all 6274 ;; 6275 6276openbsd* | bitrig*) 6277 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6278 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6279 else 6280 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6281 fi 6282 ;; 6283 6284osf3* | osf4* | osf5*) 6285 lt_cv_deplibs_check_method=pass_all 6286 ;; 6287 6288rdos*) 6289 lt_cv_deplibs_check_method=pass_all 6290 ;; 6291 6292solaris*) 6293 lt_cv_deplibs_check_method=pass_all 6294 ;; 6295 6296sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6297 lt_cv_deplibs_check_method=pass_all 6298 ;; 6299 6300sysv4 | sysv4.3*) 6301 case $host_vendor in 6302 motorola) 6303 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]' 6304 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6305 ;; 6306 ncr) 6307 lt_cv_deplibs_check_method=pass_all 6308 ;; 6309 sequent) 6310 lt_cv_file_magic_cmd='/bin/file' 6311 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6312 ;; 6313 sni) 6314 lt_cv_file_magic_cmd='/bin/file' 6315 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6316 lt_cv_file_magic_test_file=/lib/libc.so 6317 ;; 6318 siemens) 6319 lt_cv_deplibs_check_method=pass_all 6320 ;; 6321 pc) 6322 lt_cv_deplibs_check_method=pass_all 6323 ;; 6324 esac 6325 ;; 6326 6327tpf*) 6328 lt_cv_deplibs_check_method=pass_all 6329 ;; 6330os2*) 6331 lt_cv_deplibs_check_method=pass_all 6332 ;; 6333esac 6334 6335fi 6336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6337$as_echo "$lt_cv_deplibs_check_method" >&6; } 6338 6339file_magic_glob= 6340want_nocaseglob=no 6341if test "$build" = "$host"; then 6342 case $host_os in 6343 mingw* | pw32*) 6344 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6345 want_nocaseglob=yes 6346 else 6347 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6348 fi 6349 ;; 6350 esac 6351fi 6352 6353file_magic_cmd=$lt_cv_file_magic_cmd 6354deplibs_check_method=$lt_cv_deplibs_check_method 6355test -z "$deplibs_check_method" && deplibs_check_method=unknown 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378if test -n "$ac_tool_prefix"; then 6379 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6380set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6382$as_echo_n "checking for $ac_word... " >&6; } 6383if ${ac_cv_prog_DLLTOOL+:} false; then : 6384 $as_echo_n "(cached) " >&6 6385else 6386 if test -n "$DLLTOOL"; then 6387 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6388else 6389as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6390for as_dir in $PATH 6391do 6392 IFS=$as_save_IFS 6393 test -z "$as_dir" && as_dir=. 6394 for ac_exec_ext in '' $ac_executable_extensions; do 6395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6396 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6398 break 2 6399 fi 6400done 6401 done 6402IFS=$as_save_IFS 6403 6404fi 6405fi 6406DLLTOOL=$ac_cv_prog_DLLTOOL 6407if test -n "$DLLTOOL"; then 6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6409$as_echo "$DLLTOOL" >&6; } 6410else 6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6412$as_echo "no" >&6; } 6413fi 6414 6415 6416fi 6417if test -z "$ac_cv_prog_DLLTOOL"; then 6418 ac_ct_DLLTOOL=$DLLTOOL 6419 # Extract the first word of "dlltool", so it can be a program name with args. 6420set dummy dlltool; ac_word=$2 6421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6422$as_echo_n "checking for $ac_word... " >&6; } 6423if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6424 $as_echo_n "(cached) " >&6 6425else 6426 if test -n "$ac_ct_DLLTOOL"; then 6427 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6428else 6429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6430for as_dir in $PATH 6431do 6432 IFS=$as_save_IFS 6433 test -z "$as_dir" && as_dir=. 6434 for ac_exec_ext in '' $ac_executable_extensions; do 6435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6436 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6438 break 2 6439 fi 6440done 6441 done 6442IFS=$as_save_IFS 6443 6444fi 6445fi 6446ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6447if test -n "$ac_ct_DLLTOOL"; then 6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6449$as_echo "$ac_ct_DLLTOOL" >&6; } 6450else 6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6452$as_echo "no" >&6; } 6453fi 6454 6455 if test "x$ac_ct_DLLTOOL" = x; then 6456 DLLTOOL="false" 6457 else 6458 case $cross_compiling:$ac_tool_warned in 6459yes:) 6460{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6461$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6462ac_tool_warned=yes ;; 6463esac 6464 DLLTOOL=$ac_ct_DLLTOOL 6465 fi 6466else 6467 DLLTOOL="$ac_cv_prog_DLLTOOL" 6468fi 6469 6470test -z "$DLLTOOL" && DLLTOOL=dlltool 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6482$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6483if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6484 $as_echo_n "(cached) " >&6 6485else 6486 lt_cv_sharedlib_from_linklib_cmd='unknown' 6487 6488case $host_os in 6489cygwin* | mingw* | pw32* | cegcc*) 6490 # two different shell functions defined in ltmain.sh; 6491 # decide which one to use based on capabilities of $DLLTOOL 6492 case `$DLLTOOL --help 2>&1` in 6493 *--identify-strict*) 6494 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6495 ;; 6496 *) 6497 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6498 ;; 6499 esac 6500 ;; 6501*) 6502 # fallback: assume linklib IS sharedlib 6503 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6504 ;; 6505esac 6506 6507fi 6508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6509$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6510sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6511test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6512 6513 6514 6515 6516 6517 6518 6519if test -n "$ac_tool_prefix"; then 6520 for ac_prog in ar 6521 do 6522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6523set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6525$as_echo_n "checking for $ac_word... " >&6; } 6526if ${ac_cv_prog_AR+:} false; then : 6527 $as_echo_n "(cached) " >&6 6528else 6529 if test -n "$AR"; then 6530 ac_cv_prog_AR="$AR" # Let the user override the test. 6531else 6532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6533for as_dir in $PATH 6534do 6535 IFS=$as_save_IFS 6536 test -z "$as_dir" && as_dir=. 6537 for ac_exec_ext in '' $ac_executable_extensions; do 6538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6539 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6541 break 2 6542 fi 6543done 6544 done 6545IFS=$as_save_IFS 6546 6547fi 6548fi 6549AR=$ac_cv_prog_AR 6550if test -n "$AR"; then 6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6552$as_echo "$AR" >&6; } 6553else 6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6555$as_echo "no" >&6; } 6556fi 6557 6558 6559 test -n "$AR" && break 6560 done 6561fi 6562if test -z "$AR"; then 6563 ac_ct_AR=$AR 6564 for ac_prog in ar 6565do 6566 # Extract the first word of "$ac_prog", so it can be a program name with args. 6567set dummy $ac_prog; ac_word=$2 6568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6569$as_echo_n "checking for $ac_word... " >&6; } 6570if ${ac_cv_prog_ac_ct_AR+:} false; then : 6571 $as_echo_n "(cached) " >&6 6572else 6573 if test -n "$ac_ct_AR"; then 6574 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6575else 6576as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6577for as_dir in $PATH 6578do 6579 IFS=$as_save_IFS 6580 test -z "$as_dir" && as_dir=. 6581 for ac_exec_ext in '' $ac_executable_extensions; do 6582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6583 ac_cv_prog_ac_ct_AR="$ac_prog" 6584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6585 break 2 6586 fi 6587done 6588 done 6589IFS=$as_save_IFS 6590 6591fi 6592fi 6593ac_ct_AR=$ac_cv_prog_ac_ct_AR 6594if test -n "$ac_ct_AR"; then 6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6596$as_echo "$ac_ct_AR" >&6; } 6597else 6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6599$as_echo "no" >&6; } 6600fi 6601 6602 6603 test -n "$ac_ct_AR" && break 6604done 6605 6606 if test "x$ac_ct_AR" = x; then 6607 AR="false" 6608 else 6609 case $cross_compiling:$ac_tool_warned in 6610yes:) 6611{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6612$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6613ac_tool_warned=yes ;; 6614esac 6615 AR=$ac_ct_AR 6616 fi 6617fi 6618 6619: ${AR=ar} 6620: ${AR_FLAGS=cru} 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6633$as_echo_n "checking for archiver @FILE support... " >&6; } 6634if ${lt_cv_ar_at_file+:} false; then : 6635 $as_echo_n "(cached) " >&6 6636else 6637 lt_cv_ar_at_file=no 6638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6639/* end confdefs.h. */ 6640 6641int 6642main () 6643{ 6644 6645 ; 6646 return 0; 6647} 6648_ACEOF 6649if ac_fn_c_try_compile "$LINENO"; then : 6650 echo conftest.$ac_objext > conftest.lst 6651 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6652 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6653 (eval $lt_ar_try) 2>&5 6654 ac_status=$? 6655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6656 test $ac_status = 0; } 6657 if test 0 -eq "$ac_status"; then 6658 # Ensure the archiver fails upon bogus file names. 6659 rm -f conftest.$ac_objext libconftest.a 6660 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6661 (eval $lt_ar_try) 2>&5 6662 ac_status=$? 6663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6664 test $ac_status = 0; } 6665 if test 0 -ne "$ac_status"; then 6666 lt_cv_ar_at_file=@ 6667 fi 6668 fi 6669 rm -f conftest.* libconftest.a 6670 6671fi 6672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6673 6674fi 6675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6676$as_echo "$lt_cv_ar_at_file" >&6; } 6677 6678if test no = "$lt_cv_ar_at_file"; then 6679 archiver_list_spec= 6680else 6681 archiver_list_spec=$lt_cv_ar_at_file 6682fi 6683 6684 6685 6686 6687 6688 6689 6690if test -n "$ac_tool_prefix"; then 6691 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6692set dummy ${ac_tool_prefix}strip; ac_word=$2 6693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6694$as_echo_n "checking for $ac_word... " >&6; } 6695if ${ac_cv_prog_STRIP+:} false; then : 6696 $as_echo_n "(cached) " >&6 6697else 6698 if test -n "$STRIP"; then 6699 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6700else 6701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6702for as_dir in $PATH 6703do 6704 IFS=$as_save_IFS 6705 test -z "$as_dir" && as_dir=. 6706 for ac_exec_ext in '' $ac_executable_extensions; do 6707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6708 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6710 break 2 6711 fi 6712done 6713 done 6714IFS=$as_save_IFS 6715 6716fi 6717fi 6718STRIP=$ac_cv_prog_STRIP 6719if test -n "$STRIP"; then 6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6721$as_echo "$STRIP" >&6; } 6722else 6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6724$as_echo "no" >&6; } 6725fi 6726 6727 6728fi 6729if test -z "$ac_cv_prog_STRIP"; then 6730 ac_ct_STRIP=$STRIP 6731 # Extract the first word of "strip", so it can be a program name with args. 6732set dummy strip; ac_word=$2 6733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6734$as_echo_n "checking for $ac_word... " >&6; } 6735if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6736 $as_echo_n "(cached) " >&6 6737else 6738 if test -n "$ac_ct_STRIP"; then 6739 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6740else 6741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6742for as_dir in $PATH 6743do 6744 IFS=$as_save_IFS 6745 test -z "$as_dir" && as_dir=. 6746 for ac_exec_ext in '' $ac_executable_extensions; do 6747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6748 ac_cv_prog_ac_ct_STRIP="strip" 6749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6750 break 2 6751 fi 6752done 6753 done 6754IFS=$as_save_IFS 6755 6756fi 6757fi 6758ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6759if test -n "$ac_ct_STRIP"; then 6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6761$as_echo "$ac_ct_STRIP" >&6; } 6762else 6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6764$as_echo "no" >&6; } 6765fi 6766 6767 if test "x$ac_ct_STRIP" = x; then 6768 STRIP=":" 6769 else 6770 case $cross_compiling:$ac_tool_warned in 6771yes:) 6772{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6773$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6774ac_tool_warned=yes ;; 6775esac 6776 STRIP=$ac_ct_STRIP 6777 fi 6778else 6779 STRIP="$ac_cv_prog_STRIP" 6780fi 6781 6782test -z "$STRIP" && STRIP=: 6783 6784 6785 6786 6787 6788 6789if test -n "$ac_tool_prefix"; then 6790 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6791set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6793$as_echo_n "checking for $ac_word... " >&6; } 6794if ${ac_cv_prog_RANLIB+:} false; then : 6795 $as_echo_n "(cached) " >&6 6796else 6797 if test -n "$RANLIB"; then 6798 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6799else 6800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6801for as_dir in $PATH 6802do 6803 IFS=$as_save_IFS 6804 test -z "$as_dir" && as_dir=. 6805 for ac_exec_ext in '' $ac_executable_extensions; do 6806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6807 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6809 break 2 6810 fi 6811done 6812 done 6813IFS=$as_save_IFS 6814 6815fi 6816fi 6817RANLIB=$ac_cv_prog_RANLIB 6818if test -n "$RANLIB"; then 6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6820$as_echo "$RANLIB" >&6; } 6821else 6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6823$as_echo "no" >&6; } 6824fi 6825 6826 6827fi 6828if test -z "$ac_cv_prog_RANLIB"; then 6829 ac_ct_RANLIB=$RANLIB 6830 # Extract the first word of "ranlib", so it can be a program name with args. 6831set dummy ranlib; ac_word=$2 6832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6833$as_echo_n "checking for $ac_word... " >&6; } 6834if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6835 $as_echo_n "(cached) " >&6 6836else 6837 if test -n "$ac_ct_RANLIB"; then 6838 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6839else 6840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6841for as_dir in $PATH 6842do 6843 IFS=$as_save_IFS 6844 test -z "$as_dir" && as_dir=. 6845 for ac_exec_ext in '' $ac_executable_extensions; do 6846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6847 ac_cv_prog_ac_ct_RANLIB="ranlib" 6848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6849 break 2 6850 fi 6851done 6852 done 6853IFS=$as_save_IFS 6854 6855fi 6856fi 6857ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6858if test -n "$ac_ct_RANLIB"; then 6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6860$as_echo "$ac_ct_RANLIB" >&6; } 6861else 6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6863$as_echo "no" >&6; } 6864fi 6865 6866 if test "x$ac_ct_RANLIB" = x; then 6867 RANLIB=":" 6868 else 6869 case $cross_compiling:$ac_tool_warned in 6870yes:) 6871{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6872$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6873ac_tool_warned=yes ;; 6874esac 6875 RANLIB=$ac_ct_RANLIB 6876 fi 6877else 6878 RANLIB="$ac_cv_prog_RANLIB" 6879fi 6880 6881test -z "$RANLIB" && RANLIB=: 6882 6883 6884 6885 6886 6887 6888# Determine commands to create old-style static archives. 6889old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6890old_postinstall_cmds='chmod 644 $oldlib' 6891old_postuninstall_cmds= 6892 6893if test -n "$RANLIB"; then 6894 case $host_os in 6895 bitrig* | openbsd*) 6896 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6897 ;; 6898 *) 6899 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6900 ;; 6901 esac 6902 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6903fi 6904 6905case $host_os in 6906 darwin*) 6907 lock_old_archive_extraction=yes ;; 6908 *) 6909 lock_old_archive_extraction=no ;; 6910esac 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950# If no C compiler was specified, use CC. 6951LTCC=${LTCC-"$CC"} 6952 6953# If no C compiler flags were specified, use CFLAGS. 6954LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6955 6956# Allow CC to be a program name with arguments. 6957compiler=$CC 6958 6959 6960# Check for command to grab the raw symbol name followed by C symbol from nm. 6961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6962$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6963if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6964 $as_echo_n "(cached) " >&6 6965else 6966 6967# These are sane defaults that work on at least a few old systems. 6968# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6969 6970# Character class describing NM global symbol codes. 6971symcode='[BCDEGRST]' 6972 6973# Regexp to match symbols that can be accessed directly from C. 6974sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6975 6976# Define system-specific variables. 6977case $host_os in 6978aix*) 6979 symcode='[BCDT]' 6980 ;; 6981cygwin* | mingw* | pw32* | cegcc*) 6982 symcode='[ABCDGISTW]' 6983 ;; 6984hpux*) 6985 if test ia64 = "$host_cpu"; then 6986 symcode='[ABCDEGRST]' 6987 fi 6988 ;; 6989irix* | nonstopux*) 6990 symcode='[BCDEGRST]' 6991 ;; 6992osf*) 6993 symcode='[BCDEGQRST]' 6994 ;; 6995solaris*) 6996 symcode='[BDRT]' 6997 ;; 6998sco3.2v5*) 6999 symcode='[DT]' 7000 ;; 7001sysv4.2uw2*) 7002 symcode='[DT]' 7003 ;; 7004sysv5* | sco5v6* | unixware* | OpenUNIX*) 7005 symcode='[ABDT]' 7006 ;; 7007sysv4) 7008 symcode='[DFNSTU]' 7009 ;; 7010esac 7011 7012# If we're using GNU nm, then use its standard symbol codes. 7013case `$NM -V 2>&1` in 7014*GNU* | *'with BFD'*) 7015 symcode='[ABCDGIRSTW]' ;; 7016esac 7017 7018if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7019 # Gets list of data symbols to import. 7020 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7021 # Adjust the below global symbol transforms to fixup imported variables. 7022 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7023 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7024 lt_c_name_lib_hook="\ 7025 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7026 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7027else 7028 # Disable hooks by default. 7029 lt_cv_sys_global_symbol_to_import= 7030 lt_cdecl_hook= 7031 lt_c_name_hook= 7032 lt_c_name_lib_hook= 7033fi 7034 7035# Transform an extracted symbol line into a proper C declaration. 7036# Some systems (esp. on ia64) link data and code symbols differently, 7037# so use this general approach. 7038lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7039$lt_cdecl_hook\ 7040" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7041" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7042 7043# Transform an extracted symbol line into symbol name and symbol address 7044lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7045$lt_c_name_hook\ 7046" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7047" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7048 7049# Transform an extracted symbol line into symbol name with lib prefix and 7050# symbol address. 7051lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7052$lt_c_name_lib_hook\ 7053" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7054" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7055" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7056 7057# Handle CRLF in mingw tool chain 7058opt_cr= 7059case $build_os in 7060mingw*) 7061 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7062 ;; 7063esac 7064 7065# Try without a prefix underscore, then with it. 7066for ac_symprfx in "" "_"; do 7067 7068 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7069 symxfrm="\\1 $ac_symprfx\\2 \\2" 7070 7071 # Write the raw and C identifiers. 7072 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7073 # Fake it for dumpbin and say T for any non-static function, 7074 # D for any global variable and I for any imported variable. 7075 # Also find C++ and __fastcall symbols from MSVC++, 7076 # which start with @ or ?. 7077 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7078" {last_section=section; section=\$ 3};"\ 7079" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7080" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7081" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7082" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7083" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7084" \$ 0!~/External *\|/{next};"\ 7085" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7086" {if(hide[section]) next};"\ 7087" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7088" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7089" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7090" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7091" ' prfx=^$ac_symprfx" 7092 else 7093 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7094 fi 7095 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7096 7097 # Check to see that the pipe works correctly. 7098 pipe_works=no 7099 7100 rm -f conftest* 7101 cat > conftest.$ac_ext <<_LT_EOF 7102#ifdef __cplusplus 7103extern "C" { 7104#endif 7105char nm_test_var; 7106void nm_test_func(void); 7107void nm_test_func(void){} 7108#ifdef __cplusplus 7109} 7110#endif 7111int main(){nm_test_var='a';nm_test_func();return(0);} 7112_LT_EOF 7113 7114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7115 (eval $ac_compile) 2>&5 7116 ac_status=$? 7117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7118 test $ac_status = 0; }; then 7119 # Now try to grab the symbols. 7120 nlist=conftest.nm 7121 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7122 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7123 ac_status=$? 7124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7125 test $ac_status = 0; } && test -s "$nlist"; then 7126 # Try sorting and uniquifying the output. 7127 if sort "$nlist" | uniq > "$nlist"T; then 7128 mv -f "$nlist"T "$nlist" 7129 else 7130 rm -f "$nlist"T 7131 fi 7132 7133 # Make sure that we snagged all the symbols we need. 7134 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7135 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7136 cat <<_LT_EOF > conftest.$ac_ext 7137/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7138#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7139/* DATA imports from DLLs on WIN32 can't be const, because runtime 7140 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7141# define LT_DLSYM_CONST 7142#elif defined __osf__ 7143/* This system does not cope well with relocations in const data. */ 7144# define LT_DLSYM_CONST 7145#else 7146# define LT_DLSYM_CONST const 7147#endif 7148 7149#ifdef __cplusplus 7150extern "C" { 7151#endif 7152 7153_LT_EOF 7154 # Now generate the symbol file. 7155 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7156 7157 cat <<_LT_EOF >> conftest.$ac_ext 7158 7159/* The mapping between symbol names and symbols. */ 7160LT_DLSYM_CONST struct { 7161 const char *name; 7162 void *address; 7163} 7164lt__PROGRAM__LTX_preloaded_symbols[] = 7165{ 7166 { "@PROGRAM@", (void *) 0 }, 7167_LT_EOF 7168 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7169 cat <<\_LT_EOF >> conftest.$ac_ext 7170 {0, (void *) 0} 7171}; 7172 7173/* This works around a problem in FreeBSD linker */ 7174#ifdef FREEBSD_WORKAROUND 7175static const void *lt_preloaded_setup() { 7176 return lt__PROGRAM__LTX_preloaded_symbols; 7177} 7178#endif 7179 7180#ifdef __cplusplus 7181} 7182#endif 7183_LT_EOF 7184 # Now try linking the two files. 7185 mv conftest.$ac_objext conftstm.$ac_objext 7186 lt_globsym_save_LIBS=$LIBS 7187 lt_globsym_save_CFLAGS=$CFLAGS 7188 LIBS=conftstm.$ac_objext 7189 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7191 (eval $ac_link) 2>&5 7192 ac_status=$? 7193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7194 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7195 pipe_works=yes 7196 fi 7197 LIBS=$lt_globsym_save_LIBS 7198 CFLAGS=$lt_globsym_save_CFLAGS 7199 else 7200 echo "cannot find nm_test_func in $nlist" >&5 7201 fi 7202 else 7203 echo "cannot find nm_test_var in $nlist" >&5 7204 fi 7205 else 7206 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7207 fi 7208 else 7209 echo "$progname: failed program was:" >&5 7210 cat conftest.$ac_ext >&5 7211 fi 7212 rm -rf conftest* conftst* 7213 7214 # Do not use the global_symbol_pipe unless it works. 7215 if test yes = "$pipe_works"; then 7216 break 7217 else 7218 lt_cv_sys_global_symbol_pipe= 7219 fi 7220done 7221 7222fi 7223 7224if test -z "$lt_cv_sys_global_symbol_pipe"; then 7225 lt_cv_sys_global_symbol_to_cdecl= 7226fi 7227if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7229$as_echo "failed" >&6; } 7230else 7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7232$as_echo "ok" >&6; } 7233fi 7234 7235# Response file support. 7236if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7237 nm_file_list_spec='@' 7238elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7239 nm_file_list_spec='@' 7240fi 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7279$as_echo_n "checking for sysroot... " >&6; } 7280 7281# Check whether --with-sysroot was given. 7282if test "${with_sysroot+set}" = set; then : 7283 withval=$with_sysroot; 7284else 7285 with_sysroot=no 7286fi 7287 7288 7289lt_sysroot= 7290case $with_sysroot in #( 7291 yes) 7292 if test yes = "$GCC"; then 7293 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7294 fi 7295 ;; #( 7296 /*) 7297 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7298 ;; #( 7299 no|'') 7300 ;; #( 7301 *) 7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7303$as_echo "$with_sysroot" >&6; } 7304 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7305 ;; 7306esac 7307 7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7309$as_echo "${lt_sysroot:-no}" >&6; } 7310 7311 7312 7313 7314 7315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7316$as_echo_n "checking for a working dd... " >&6; } 7317if ${ac_cv_path_lt_DD+:} false; then : 7318 $as_echo_n "(cached) " >&6 7319else 7320 printf 0123456789abcdef0123456789abcdef >conftest.i 7321cat conftest.i conftest.i >conftest2.i 7322: ${lt_DD:=$DD} 7323if test -z "$lt_DD"; then 7324 ac_path_lt_DD_found=false 7325 # Loop through the user's path and test for each of PROGNAME-LIST 7326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7327for as_dir in $PATH 7328do 7329 IFS=$as_save_IFS 7330 test -z "$as_dir" && as_dir=. 7331 for ac_prog in dd; do 7332 for ac_exec_ext in '' $ac_executable_extensions; do 7333 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 7334 as_fn_executable_p "$ac_path_lt_DD" || continue 7335if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7336 cmp -s conftest.i conftest.out \ 7337 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7338fi 7339 $ac_path_lt_DD_found && break 3 7340 done 7341 done 7342 done 7343IFS=$as_save_IFS 7344 if test -z "$ac_cv_path_lt_DD"; then 7345 : 7346 fi 7347else 7348 ac_cv_path_lt_DD=$lt_DD 7349fi 7350 7351rm -f conftest.i conftest2.i conftest.out 7352fi 7353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7354$as_echo "$ac_cv_path_lt_DD" >&6; } 7355 7356 7357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7358$as_echo_n "checking how to truncate binary pipes... " >&6; } 7359if ${lt_cv_truncate_bin+:} false; then : 7360 $as_echo_n "(cached) " >&6 7361else 7362 printf 0123456789abcdef0123456789abcdef >conftest.i 7363cat conftest.i conftest.i >conftest2.i 7364lt_cv_truncate_bin= 7365if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7366 cmp -s conftest.i conftest.out \ 7367 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7368fi 7369rm -f conftest.i conftest2.i conftest.out 7370test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7371fi 7372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7373$as_echo "$lt_cv_truncate_bin" >&6; } 7374 7375 7376 7377 7378 7379 7380 7381# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7382func_cc_basename () 7383{ 7384 for cc_temp in $*""; do 7385 case $cc_temp in 7386 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7387 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7388 \-*) ;; 7389 *) break;; 7390 esac 7391 done 7392 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7393} 7394 7395# Check whether --enable-libtool-lock was given. 7396if test "${enable_libtool_lock+set}" = set; then : 7397 enableval=$enable_libtool_lock; 7398fi 7399 7400test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7401 7402# Some flags need to be propagated to the compiler or linker for good 7403# libtool support. 7404case $host in 7405ia64-*-hpux*) 7406 # Find out what ABI is being produced by ac_compile, and set mode 7407 # options accordingly. 7408 echo 'int i;' > conftest.$ac_ext 7409 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7410 (eval $ac_compile) 2>&5 7411 ac_status=$? 7412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7413 test $ac_status = 0; }; then 7414 case `/usr/bin/file conftest.$ac_objext` in 7415 *ELF-32*) 7416 HPUX_IA64_MODE=32 7417 ;; 7418 *ELF-64*) 7419 HPUX_IA64_MODE=64 7420 ;; 7421 esac 7422 fi 7423 rm -rf conftest* 7424 ;; 7425*-*-irix6*) 7426 # Find out what ABI is being produced by ac_compile, and set linker 7427 # options accordingly. 7428 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7429 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7430 (eval $ac_compile) 2>&5 7431 ac_status=$? 7432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7433 test $ac_status = 0; }; then 7434 if test yes = "$lt_cv_prog_gnu_ld"; then 7435 case `/usr/bin/file conftest.$ac_objext` in 7436 *32-bit*) 7437 LD="${LD-ld} -melf32bsmip" 7438 ;; 7439 *N32*) 7440 LD="${LD-ld} -melf32bmipn32" 7441 ;; 7442 *64-bit*) 7443 LD="${LD-ld} -melf64bmip" 7444 ;; 7445 esac 7446 else 7447 case `/usr/bin/file conftest.$ac_objext` in 7448 *32-bit*) 7449 LD="${LD-ld} -32" 7450 ;; 7451 *N32*) 7452 LD="${LD-ld} -n32" 7453 ;; 7454 *64-bit*) 7455 LD="${LD-ld} -64" 7456 ;; 7457 esac 7458 fi 7459 fi 7460 rm -rf conftest* 7461 ;; 7462 7463mips64*-*linux*) 7464 # Find out what ABI is being produced by ac_compile, and set linker 7465 # options accordingly. 7466 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7467 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7468 (eval $ac_compile) 2>&5 7469 ac_status=$? 7470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7471 test $ac_status = 0; }; then 7472 emul=elf 7473 case `/usr/bin/file conftest.$ac_objext` in 7474 *32-bit*) 7475 emul="${emul}32" 7476 ;; 7477 *64-bit*) 7478 emul="${emul}64" 7479 ;; 7480 esac 7481 case `/usr/bin/file conftest.$ac_objext` in 7482 *MSB*) 7483 emul="${emul}btsmip" 7484 ;; 7485 *LSB*) 7486 emul="${emul}ltsmip" 7487 ;; 7488 esac 7489 case `/usr/bin/file conftest.$ac_objext` in 7490 *N32*) 7491 emul="${emul}n32" 7492 ;; 7493 esac 7494 LD="${LD-ld} -m $emul" 7495 fi 7496 rm -rf conftest* 7497 ;; 7498 7499x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7500s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7501 # Find out what ABI is being produced by ac_compile, and set linker 7502 # options accordingly. Note that the listed cases only cover the 7503 # situations where additional linker options are needed (such as when 7504 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7505 # vice versa); the common cases where no linker options are needed do 7506 # not appear in the list. 7507 echo 'int i;' > conftest.$ac_ext 7508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7509 (eval $ac_compile) 2>&5 7510 ac_status=$? 7511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7512 test $ac_status = 0; }; then 7513 case `/usr/bin/file conftest.o` in 7514 *32-bit*) 7515 case $host in 7516 x86_64-*kfreebsd*-gnu) 7517 LD="${LD-ld} -m elf_i386_fbsd" 7518 ;; 7519 x86_64-*linux*) 7520 case `/usr/bin/file conftest.o` in 7521 *x86-64*) 7522 LD="${LD-ld} -m elf32_x86_64" 7523 ;; 7524 *) 7525 LD="${LD-ld} -m elf_i386" 7526 ;; 7527 esac 7528 ;; 7529 powerpc64le-*linux*) 7530 LD="${LD-ld} -m elf32lppclinux" 7531 ;; 7532 powerpc64-*linux*) 7533 LD="${LD-ld} -m elf32ppclinux" 7534 ;; 7535 s390x-*linux*) 7536 LD="${LD-ld} -m elf_s390" 7537 ;; 7538 sparc64-*linux*) 7539 LD="${LD-ld} -m elf32_sparc" 7540 ;; 7541 esac 7542 ;; 7543 *64-bit*) 7544 case $host in 7545 x86_64-*kfreebsd*-gnu) 7546 LD="${LD-ld} -m elf_x86_64_fbsd" 7547 ;; 7548 x86_64-*linux*) 7549 LD="${LD-ld} -m elf_x86_64" 7550 ;; 7551 powerpcle-*linux*) 7552 LD="${LD-ld} -m elf64lppc" 7553 ;; 7554 powerpc-*linux*) 7555 LD="${LD-ld} -m elf64ppc" 7556 ;; 7557 s390*-*linux*|s390*-*tpf*) 7558 LD="${LD-ld} -m elf64_s390" 7559 ;; 7560 sparc*-*linux*) 7561 LD="${LD-ld} -m elf64_sparc" 7562 ;; 7563 esac 7564 ;; 7565 esac 7566 fi 7567 rm -rf conftest* 7568 ;; 7569 7570*-*-sco3.2v5*) 7571 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7572 SAVE_CFLAGS=$CFLAGS 7573 CFLAGS="$CFLAGS -belf" 7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7575$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7576if ${lt_cv_cc_needs_belf+:} false; then : 7577 $as_echo_n "(cached) " >&6 7578else 7579 ac_ext=c 7580ac_cpp='$CPP $CPPFLAGS' 7581ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7582ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7583ac_compiler_gnu=$ac_cv_c_compiler_gnu 7584 7585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7586/* end confdefs.h. */ 7587 7588int 7589main () 7590{ 7591 7592 ; 7593 return 0; 7594} 7595_ACEOF 7596if ac_fn_c_try_link "$LINENO"; then : 7597 lt_cv_cc_needs_belf=yes 7598else 7599 lt_cv_cc_needs_belf=no 7600fi 7601rm -f core conftest.err conftest.$ac_objext \ 7602 conftest$ac_exeext conftest.$ac_ext 7603 ac_ext=c 7604ac_cpp='$CPP $CPPFLAGS' 7605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7607ac_compiler_gnu=$ac_cv_c_compiler_gnu 7608 7609fi 7610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7611$as_echo "$lt_cv_cc_needs_belf" >&6; } 7612 if test yes != "$lt_cv_cc_needs_belf"; then 7613 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7614 CFLAGS=$SAVE_CFLAGS 7615 fi 7616 ;; 7617*-*solaris*) 7618 # Find out what ABI is being produced by ac_compile, and set linker 7619 # options accordingly. 7620 echo 'int i;' > conftest.$ac_ext 7621 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7622 (eval $ac_compile) 2>&5 7623 ac_status=$? 7624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7625 test $ac_status = 0; }; then 7626 case `/usr/bin/file conftest.o` in 7627 *64-bit*) 7628 case $lt_cv_prog_gnu_ld in 7629 yes*) 7630 case $host in 7631 i?86-*-solaris*|x86_64-*-solaris*) 7632 LD="${LD-ld} -m elf_x86_64" 7633 ;; 7634 sparc*-*-solaris*) 7635 LD="${LD-ld} -m elf64_sparc" 7636 ;; 7637 esac 7638 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7639 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7640 LD=${LD-ld}_sol2 7641 fi 7642 ;; 7643 *) 7644 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7645 LD="${LD-ld} -64" 7646 fi 7647 ;; 7648 esac 7649 ;; 7650 esac 7651 fi 7652 rm -rf conftest* 7653 ;; 7654esac 7655 7656need_locks=$enable_libtool_lock 7657 7658if test -n "$ac_tool_prefix"; then 7659 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7660set dummy ${ac_tool_prefix}mt; ac_word=$2 7661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7662$as_echo_n "checking for $ac_word... " >&6; } 7663if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7664 $as_echo_n "(cached) " >&6 7665else 7666 if test -n "$MANIFEST_TOOL"; then 7667 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7668else 7669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7670for as_dir in $PATH 7671do 7672 IFS=$as_save_IFS 7673 test -z "$as_dir" && as_dir=. 7674 for ac_exec_ext in '' $ac_executable_extensions; do 7675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7676 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7678 break 2 7679 fi 7680done 7681 done 7682IFS=$as_save_IFS 7683 7684fi 7685fi 7686MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7687if test -n "$MANIFEST_TOOL"; then 7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7689$as_echo "$MANIFEST_TOOL" >&6; } 7690else 7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7692$as_echo "no" >&6; } 7693fi 7694 7695 7696fi 7697if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7698 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7699 # Extract the first word of "mt", so it can be a program name with args. 7700set dummy mt; ac_word=$2 7701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7702$as_echo_n "checking for $ac_word... " >&6; } 7703if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7704 $as_echo_n "(cached) " >&6 7705else 7706 if test -n "$ac_ct_MANIFEST_TOOL"; then 7707 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7708else 7709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7710for as_dir in $PATH 7711do 7712 IFS=$as_save_IFS 7713 test -z "$as_dir" && as_dir=. 7714 for ac_exec_ext in '' $ac_executable_extensions; do 7715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7716 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7718 break 2 7719 fi 7720done 7721 done 7722IFS=$as_save_IFS 7723 7724fi 7725fi 7726ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7727if test -n "$ac_ct_MANIFEST_TOOL"; then 7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7729$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7730else 7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7732$as_echo "no" >&6; } 7733fi 7734 7735 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7736 MANIFEST_TOOL=":" 7737 else 7738 case $cross_compiling:$ac_tool_warned in 7739yes:) 7740{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7741$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7742ac_tool_warned=yes ;; 7743esac 7744 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7745 fi 7746else 7747 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7748fi 7749 7750test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7752$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7753if ${lt_cv_path_mainfest_tool+:} false; then : 7754 $as_echo_n "(cached) " >&6 7755else 7756 lt_cv_path_mainfest_tool=no 7757 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7758 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7759 cat conftest.err >&5 7760 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7761 lt_cv_path_mainfest_tool=yes 7762 fi 7763 rm -f conftest* 7764fi 7765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7766$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7767if test yes != "$lt_cv_path_mainfest_tool"; then 7768 MANIFEST_TOOL=: 7769fi 7770 7771 7772 7773 7774 7775 7776 case $host_os in 7777 rhapsody* | darwin*) 7778 if test -n "$ac_tool_prefix"; then 7779 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7780set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7782$as_echo_n "checking for $ac_word... " >&6; } 7783if ${ac_cv_prog_DSYMUTIL+:} false; then : 7784 $as_echo_n "(cached) " >&6 7785else 7786 if test -n "$DSYMUTIL"; then 7787 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7788else 7789as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7790for as_dir in $PATH 7791do 7792 IFS=$as_save_IFS 7793 test -z "$as_dir" && as_dir=. 7794 for ac_exec_ext in '' $ac_executable_extensions; do 7795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7796 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7798 break 2 7799 fi 7800done 7801 done 7802IFS=$as_save_IFS 7803 7804fi 7805fi 7806DSYMUTIL=$ac_cv_prog_DSYMUTIL 7807if test -n "$DSYMUTIL"; then 7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7809$as_echo "$DSYMUTIL" >&6; } 7810else 7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7812$as_echo "no" >&6; } 7813fi 7814 7815 7816fi 7817if test -z "$ac_cv_prog_DSYMUTIL"; then 7818 ac_ct_DSYMUTIL=$DSYMUTIL 7819 # Extract the first word of "dsymutil", so it can be a program name with args. 7820set dummy dsymutil; ac_word=$2 7821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7822$as_echo_n "checking for $ac_word... " >&6; } 7823if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7824 $as_echo_n "(cached) " >&6 7825else 7826 if test -n "$ac_ct_DSYMUTIL"; then 7827 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7828else 7829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7830for as_dir in $PATH 7831do 7832 IFS=$as_save_IFS 7833 test -z "$as_dir" && as_dir=. 7834 for ac_exec_ext in '' $ac_executable_extensions; do 7835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7836 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7838 break 2 7839 fi 7840done 7841 done 7842IFS=$as_save_IFS 7843 7844fi 7845fi 7846ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7847if test -n "$ac_ct_DSYMUTIL"; then 7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7849$as_echo "$ac_ct_DSYMUTIL" >&6; } 7850else 7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7852$as_echo "no" >&6; } 7853fi 7854 7855 if test "x$ac_ct_DSYMUTIL" = x; then 7856 DSYMUTIL=":" 7857 else 7858 case $cross_compiling:$ac_tool_warned in 7859yes:) 7860{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7861$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7862ac_tool_warned=yes ;; 7863esac 7864 DSYMUTIL=$ac_ct_DSYMUTIL 7865 fi 7866else 7867 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7868fi 7869 7870 if test -n "$ac_tool_prefix"; then 7871 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7872set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7874$as_echo_n "checking for $ac_word... " >&6; } 7875if ${ac_cv_prog_NMEDIT+:} false; then : 7876 $as_echo_n "(cached) " >&6 7877else 7878 if test -n "$NMEDIT"; then 7879 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7880else 7881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7882for as_dir in $PATH 7883do 7884 IFS=$as_save_IFS 7885 test -z "$as_dir" && as_dir=. 7886 for ac_exec_ext in '' $ac_executable_extensions; do 7887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7888 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7890 break 2 7891 fi 7892done 7893 done 7894IFS=$as_save_IFS 7895 7896fi 7897fi 7898NMEDIT=$ac_cv_prog_NMEDIT 7899if test -n "$NMEDIT"; then 7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7901$as_echo "$NMEDIT" >&6; } 7902else 7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7904$as_echo "no" >&6; } 7905fi 7906 7907 7908fi 7909if test -z "$ac_cv_prog_NMEDIT"; then 7910 ac_ct_NMEDIT=$NMEDIT 7911 # Extract the first word of "nmedit", so it can be a program name with args. 7912set dummy nmedit; ac_word=$2 7913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7914$as_echo_n "checking for $ac_word... " >&6; } 7915if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7916 $as_echo_n "(cached) " >&6 7917else 7918 if test -n "$ac_ct_NMEDIT"; then 7919 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7920else 7921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7922for as_dir in $PATH 7923do 7924 IFS=$as_save_IFS 7925 test -z "$as_dir" && as_dir=. 7926 for ac_exec_ext in '' $ac_executable_extensions; do 7927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7928 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7930 break 2 7931 fi 7932done 7933 done 7934IFS=$as_save_IFS 7935 7936fi 7937fi 7938ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7939if test -n "$ac_ct_NMEDIT"; then 7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7941$as_echo "$ac_ct_NMEDIT" >&6; } 7942else 7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7944$as_echo "no" >&6; } 7945fi 7946 7947 if test "x$ac_ct_NMEDIT" = x; then 7948 NMEDIT=":" 7949 else 7950 case $cross_compiling:$ac_tool_warned in 7951yes:) 7952{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7953$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7954ac_tool_warned=yes ;; 7955esac 7956 NMEDIT=$ac_ct_NMEDIT 7957 fi 7958else 7959 NMEDIT="$ac_cv_prog_NMEDIT" 7960fi 7961 7962 if test -n "$ac_tool_prefix"; then 7963 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7964set dummy ${ac_tool_prefix}lipo; ac_word=$2 7965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7966$as_echo_n "checking for $ac_word... " >&6; } 7967if ${ac_cv_prog_LIPO+:} false; then : 7968 $as_echo_n "(cached) " >&6 7969else 7970 if test -n "$LIPO"; then 7971 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7972else 7973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7974for as_dir in $PATH 7975do 7976 IFS=$as_save_IFS 7977 test -z "$as_dir" && as_dir=. 7978 for ac_exec_ext in '' $ac_executable_extensions; do 7979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7980 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7982 break 2 7983 fi 7984done 7985 done 7986IFS=$as_save_IFS 7987 7988fi 7989fi 7990LIPO=$ac_cv_prog_LIPO 7991if test -n "$LIPO"; then 7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7993$as_echo "$LIPO" >&6; } 7994else 7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7996$as_echo "no" >&6; } 7997fi 7998 7999 8000fi 8001if test -z "$ac_cv_prog_LIPO"; then 8002 ac_ct_LIPO=$LIPO 8003 # Extract the first word of "lipo", so it can be a program name with args. 8004set dummy lipo; ac_word=$2 8005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8006$as_echo_n "checking for $ac_word... " >&6; } 8007if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8008 $as_echo_n "(cached) " >&6 8009else 8010 if test -n "$ac_ct_LIPO"; then 8011 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8012else 8013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8014for as_dir in $PATH 8015do 8016 IFS=$as_save_IFS 8017 test -z "$as_dir" && as_dir=. 8018 for ac_exec_ext in '' $ac_executable_extensions; do 8019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8020 ac_cv_prog_ac_ct_LIPO="lipo" 8021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8022 break 2 8023 fi 8024done 8025 done 8026IFS=$as_save_IFS 8027 8028fi 8029fi 8030ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8031if test -n "$ac_ct_LIPO"; then 8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8033$as_echo "$ac_ct_LIPO" >&6; } 8034else 8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8036$as_echo "no" >&6; } 8037fi 8038 8039 if test "x$ac_ct_LIPO" = x; then 8040 LIPO=":" 8041 else 8042 case $cross_compiling:$ac_tool_warned in 8043yes:) 8044{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8045$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8046ac_tool_warned=yes ;; 8047esac 8048 LIPO=$ac_ct_LIPO 8049 fi 8050else 8051 LIPO="$ac_cv_prog_LIPO" 8052fi 8053 8054 if test -n "$ac_tool_prefix"; then 8055 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8056set dummy ${ac_tool_prefix}otool; ac_word=$2 8057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8058$as_echo_n "checking for $ac_word... " >&6; } 8059if ${ac_cv_prog_OTOOL+:} false; then : 8060 $as_echo_n "(cached) " >&6 8061else 8062 if test -n "$OTOOL"; then 8063 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8064else 8065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8066for as_dir in $PATH 8067do 8068 IFS=$as_save_IFS 8069 test -z "$as_dir" && as_dir=. 8070 for ac_exec_ext in '' $ac_executable_extensions; do 8071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8072 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8074 break 2 8075 fi 8076done 8077 done 8078IFS=$as_save_IFS 8079 8080fi 8081fi 8082OTOOL=$ac_cv_prog_OTOOL 8083if test -n "$OTOOL"; then 8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8085$as_echo "$OTOOL" >&6; } 8086else 8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8088$as_echo "no" >&6; } 8089fi 8090 8091 8092fi 8093if test -z "$ac_cv_prog_OTOOL"; then 8094 ac_ct_OTOOL=$OTOOL 8095 # Extract the first word of "otool", so it can be a program name with args. 8096set dummy otool; ac_word=$2 8097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8098$as_echo_n "checking for $ac_word... " >&6; } 8099if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8100 $as_echo_n "(cached) " >&6 8101else 8102 if test -n "$ac_ct_OTOOL"; then 8103 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8104else 8105as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8106for as_dir in $PATH 8107do 8108 IFS=$as_save_IFS 8109 test -z "$as_dir" && as_dir=. 8110 for ac_exec_ext in '' $ac_executable_extensions; do 8111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8112 ac_cv_prog_ac_ct_OTOOL="otool" 8113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8114 break 2 8115 fi 8116done 8117 done 8118IFS=$as_save_IFS 8119 8120fi 8121fi 8122ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8123if test -n "$ac_ct_OTOOL"; then 8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8125$as_echo "$ac_ct_OTOOL" >&6; } 8126else 8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8128$as_echo "no" >&6; } 8129fi 8130 8131 if test "x$ac_ct_OTOOL" = x; then 8132 OTOOL=":" 8133 else 8134 case $cross_compiling:$ac_tool_warned in 8135yes:) 8136{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8137$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8138ac_tool_warned=yes ;; 8139esac 8140 OTOOL=$ac_ct_OTOOL 8141 fi 8142else 8143 OTOOL="$ac_cv_prog_OTOOL" 8144fi 8145 8146 if test -n "$ac_tool_prefix"; then 8147 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8148set dummy ${ac_tool_prefix}otool64; ac_word=$2 8149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8150$as_echo_n "checking for $ac_word... " >&6; } 8151if ${ac_cv_prog_OTOOL64+:} false; then : 8152 $as_echo_n "(cached) " >&6 8153else 8154 if test -n "$OTOOL64"; then 8155 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8156else 8157as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8158for as_dir in $PATH 8159do 8160 IFS=$as_save_IFS 8161 test -z "$as_dir" && as_dir=. 8162 for ac_exec_ext in '' $ac_executable_extensions; do 8163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8164 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8166 break 2 8167 fi 8168done 8169 done 8170IFS=$as_save_IFS 8171 8172fi 8173fi 8174OTOOL64=$ac_cv_prog_OTOOL64 8175if test -n "$OTOOL64"; then 8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8177$as_echo "$OTOOL64" >&6; } 8178else 8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8180$as_echo "no" >&6; } 8181fi 8182 8183 8184fi 8185if test -z "$ac_cv_prog_OTOOL64"; then 8186 ac_ct_OTOOL64=$OTOOL64 8187 # Extract the first word of "otool64", so it can be a program name with args. 8188set dummy otool64; ac_word=$2 8189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8190$as_echo_n "checking for $ac_word... " >&6; } 8191if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8192 $as_echo_n "(cached) " >&6 8193else 8194 if test -n "$ac_ct_OTOOL64"; then 8195 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8196else 8197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8198for as_dir in $PATH 8199do 8200 IFS=$as_save_IFS 8201 test -z "$as_dir" && as_dir=. 8202 for ac_exec_ext in '' $ac_executable_extensions; do 8203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8204 ac_cv_prog_ac_ct_OTOOL64="otool64" 8205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8206 break 2 8207 fi 8208done 8209 done 8210IFS=$as_save_IFS 8211 8212fi 8213fi 8214ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8215if test -n "$ac_ct_OTOOL64"; then 8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8217$as_echo "$ac_ct_OTOOL64" >&6; } 8218else 8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8220$as_echo "no" >&6; } 8221fi 8222 8223 if test "x$ac_ct_OTOOL64" = x; then 8224 OTOOL64=":" 8225 else 8226 case $cross_compiling:$ac_tool_warned in 8227yes:) 8228{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8229$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8230ac_tool_warned=yes ;; 8231esac 8232 OTOOL64=$ac_ct_OTOOL64 8233 fi 8234else 8235 OTOOL64="$ac_cv_prog_OTOOL64" 8236fi 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8265$as_echo_n "checking for -single_module linker flag... " >&6; } 8266if ${lt_cv_apple_cc_single_mod+:} false; then : 8267 $as_echo_n "(cached) " >&6 8268else 8269 lt_cv_apple_cc_single_mod=no 8270 if test -z "$LT_MULTI_MODULE"; then 8271 # By default we will add the -single_module flag. You can override 8272 # by either setting the environment variable LT_MULTI_MODULE 8273 # non-empty at configure time, or by adding -multi_module to the 8274 # link flags. 8275 rm -rf libconftest.dylib* 8276 echo "int foo(void){return 1;}" > conftest.c 8277 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8278-dynamiclib -Wl,-single_module conftest.c" >&5 8279 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8280 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8281 _lt_result=$? 8282 # If there is a non-empty error log, and "single_module" 8283 # appears in it, assume the flag caused a linker warning 8284 if test -s conftest.err && $GREP single_module conftest.err; then 8285 cat conftest.err >&5 8286 # Otherwise, if the output was created with a 0 exit code from 8287 # the compiler, it worked. 8288 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8289 lt_cv_apple_cc_single_mod=yes 8290 else 8291 cat conftest.err >&5 8292 fi 8293 rm -rf libconftest.dylib* 8294 rm -f conftest.* 8295 fi 8296fi 8297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8298$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8299 8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8301$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8302if ${lt_cv_ld_exported_symbols_list+:} false; then : 8303 $as_echo_n "(cached) " >&6 8304else 8305 lt_cv_ld_exported_symbols_list=no 8306 save_LDFLAGS=$LDFLAGS 8307 echo "_main" > conftest.sym 8308 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8310/* end confdefs.h. */ 8311 8312int 8313main () 8314{ 8315 8316 ; 8317 return 0; 8318} 8319_ACEOF 8320if ac_fn_c_try_link "$LINENO"; then : 8321 lt_cv_ld_exported_symbols_list=yes 8322else 8323 lt_cv_ld_exported_symbols_list=no 8324fi 8325rm -f core conftest.err conftest.$ac_objext \ 8326 conftest$ac_exeext conftest.$ac_ext 8327 LDFLAGS=$save_LDFLAGS 8328 8329fi 8330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8331$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8332 8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8334$as_echo_n "checking for -force_load linker flag... " >&6; } 8335if ${lt_cv_ld_force_load+:} false; then : 8336 $as_echo_n "(cached) " >&6 8337else 8338 lt_cv_ld_force_load=no 8339 cat > conftest.c << _LT_EOF 8340int forced_loaded() { return 2;} 8341_LT_EOF 8342 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8343 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8344 echo "$AR cru libconftest.a conftest.o" >&5 8345 $AR cru libconftest.a conftest.o 2>&5 8346 echo "$RANLIB libconftest.a" >&5 8347 $RANLIB libconftest.a 2>&5 8348 cat > conftest.c << _LT_EOF 8349int main() { return 0;} 8350_LT_EOF 8351 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8352 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8353 _lt_result=$? 8354 if test -s conftest.err && $GREP force_load conftest.err; then 8355 cat conftest.err >&5 8356 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8357 lt_cv_ld_force_load=yes 8358 else 8359 cat conftest.err >&5 8360 fi 8361 rm -f conftest.err libconftest.a conftest conftest.c 8362 rm -rf conftest.dSYM 8363 8364fi 8365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8366$as_echo "$lt_cv_ld_force_load" >&6; } 8367 case $host_os in 8368 rhapsody* | darwin1.[012]) 8369 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8370 darwin1.*) 8371 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8372 darwin*) # darwin 5.x on 8373 # if running on 10.5 or later, the deployment target defaults 8374 # to the OS version, if on x86, and 10.4, the deployment 8375 # target defaults to 10.4. Don't you love it? 8376 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8377 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8378 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8379 10.[012][,.]*) 8380 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8381 10.*) 8382 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8383 esac 8384 ;; 8385 esac 8386 if test yes = "$lt_cv_apple_cc_single_mod"; then 8387 _lt_dar_single_mod='$single_module' 8388 fi 8389 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8390 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8391 else 8392 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8393 fi 8394 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8395 _lt_dsymutil='~$DSYMUTIL $lib || :' 8396 else 8397 _lt_dsymutil= 8398 fi 8399 ;; 8400 esac 8401 8402# func_munge_path_list VARIABLE PATH 8403# ----------------------------------- 8404# VARIABLE is name of variable containing _space_ separated list of 8405# directories to be munged by the contents of PATH, which is string 8406# having a format: 8407# "DIR[:DIR]:" 8408# string "DIR[ DIR]" will be prepended to VARIABLE 8409# ":DIR[:DIR]" 8410# string "DIR[ DIR]" will be appended to VARIABLE 8411# "DIRP[:DIRP]::[DIRA:]DIRA" 8412# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8413# "DIRA[ DIRA]" will be appended to VARIABLE 8414# "DIR[:DIR]" 8415# VARIABLE will be replaced by "DIR[ DIR]" 8416func_munge_path_list () 8417{ 8418 case x$2 in 8419 x) 8420 ;; 8421 *:) 8422 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8423 ;; 8424 x:*) 8425 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8426 ;; 8427 *::*) 8428 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8429 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8430 ;; 8431 *) 8432 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8433 ;; 8434 esac 8435} 8436 8437ac_ext=c 8438ac_cpp='$CPP $CPPFLAGS' 8439ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8440ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8441ac_compiler_gnu=$ac_cv_c_compiler_gnu 8442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8443$as_echo_n "checking how to run the C preprocessor... " >&6; } 8444# On Suns, sometimes $CPP names a directory. 8445if test -n "$CPP" && test -d "$CPP"; then 8446 CPP= 8447fi 8448if test -z "$CPP"; then 8449 if ${ac_cv_prog_CPP+:} false; then : 8450 $as_echo_n "(cached) " >&6 8451else 8452 # Double quotes because CPP needs to be expanded 8453 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 8454 do 8455 ac_preproc_ok=false 8456for ac_c_preproc_warn_flag in '' yes 8457do 8458 # Use a header file that comes with gcc, so configuring glibc 8459 # with a fresh cross-compiler works. 8460 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8461 # <limits.h> exists even on freestanding compilers. 8462 # On the NeXT, cc -E runs the code through the compiler's parser, 8463 # not just through cpp. "Syntax error" is here to catch this case. 8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8465/* end confdefs.h. */ 8466#ifdef __STDC__ 8467# include <limits.h> 8468#else 8469# include <assert.h> 8470#endif 8471 Syntax error 8472_ACEOF 8473if ac_fn_c_try_cpp "$LINENO"; then : 8474 8475else 8476 # Broken: fails on valid input. 8477continue 8478fi 8479rm -f conftest.err conftest.i conftest.$ac_ext 8480 8481 # OK, works on sane cases. Now check whether nonexistent headers 8482 # can be detected and how. 8483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8484/* end confdefs.h. */ 8485#include <ac_nonexistent.h> 8486_ACEOF 8487if ac_fn_c_try_cpp "$LINENO"; then : 8488 # Broken: success on invalid input. 8489continue 8490else 8491 # Passes both tests. 8492ac_preproc_ok=: 8493break 8494fi 8495rm -f conftest.err conftest.i conftest.$ac_ext 8496 8497done 8498# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8499rm -f conftest.i conftest.err conftest.$ac_ext 8500if $ac_preproc_ok; then : 8501 break 8502fi 8503 8504 done 8505 ac_cv_prog_CPP=$CPP 8506 8507fi 8508 CPP=$ac_cv_prog_CPP 8509else 8510 ac_cv_prog_CPP=$CPP 8511fi 8512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8513$as_echo "$CPP" >&6; } 8514ac_preproc_ok=false 8515for ac_c_preproc_warn_flag in '' yes 8516do 8517 # Use a header file that comes with gcc, so configuring glibc 8518 # with a fresh cross-compiler works. 8519 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8520 # <limits.h> exists even on freestanding compilers. 8521 # On the NeXT, cc -E runs the code through the compiler's parser, 8522 # not just through cpp. "Syntax error" is here to catch this case. 8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8524/* end confdefs.h. */ 8525#ifdef __STDC__ 8526# include <limits.h> 8527#else 8528# include <assert.h> 8529#endif 8530 Syntax error 8531_ACEOF 8532if ac_fn_c_try_cpp "$LINENO"; then : 8533 8534else 8535 # Broken: fails on valid input. 8536continue 8537fi 8538rm -f conftest.err conftest.i conftest.$ac_ext 8539 8540 # OK, works on sane cases. Now check whether nonexistent headers 8541 # can be detected and how. 8542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8543/* end confdefs.h. */ 8544#include <ac_nonexistent.h> 8545_ACEOF 8546if ac_fn_c_try_cpp "$LINENO"; then : 8547 # Broken: success on invalid input. 8548continue 8549else 8550 # Passes both tests. 8551ac_preproc_ok=: 8552break 8553fi 8554rm -f conftest.err conftest.i conftest.$ac_ext 8555 8556done 8557# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8558rm -f conftest.i conftest.err conftest.$ac_ext 8559if $ac_preproc_ok; then : 8560 8561else 8562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8563$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8564as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8565See \`config.log' for more details" "$LINENO" 5; } 8566fi 8567 8568ac_ext=c 8569ac_cpp='$CPP $CPPFLAGS' 8570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8572ac_compiler_gnu=$ac_cv_c_compiler_gnu 8573 8574 8575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8576$as_echo_n "checking for ANSI C header files... " >&6; } 8577if ${ac_cv_header_stdc+:} false; then : 8578 $as_echo_n "(cached) " >&6 8579else 8580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8581/* end confdefs.h. */ 8582#include <stdlib.h> 8583#include <stdarg.h> 8584#include <string.h> 8585#include <float.h> 8586 8587int 8588main () 8589{ 8590 8591 ; 8592 return 0; 8593} 8594_ACEOF 8595if ac_fn_c_try_compile "$LINENO"; then : 8596 ac_cv_header_stdc=yes 8597else 8598 ac_cv_header_stdc=no 8599fi 8600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8601 8602if test $ac_cv_header_stdc = yes; then 8603 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8605/* end confdefs.h. */ 8606#include <string.h> 8607 8608_ACEOF 8609if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8610 $EGREP "memchr" >/dev/null 2>&1; then : 8611 8612else 8613 ac_cv_header_stdc=no 8614fi 8615rm -f conftest* 8616 8617fi 8618 8619if test $ac_cv_header_stdc = yes; then 8620 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8622/* end confdefs.h. */ 8623#include <stdlib.h> 8624 8625_ACEOF 8626if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8627 $EGREP "free" >/dev/null 2>&1; then : 8628 8629else 8630 ac_cv_header_stdc=no 8631fi 8632rm -f conftest* 8633 8634fi 8635 8636if test $ac_cv_header_stdc = yes; then 8637 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8638 if test "$cross_compiling" = yes; then : 8639 : 8640else 8641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8642/* end confdefs.h. */ 8643#include <ctype.h> 8644#include <stdlib.h> 8645#if ((' ' & 0x0FF) == 0x020) 8646# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8647# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8648#else 8649# define ISLOWER(c) \ 8650 (('a' <= (c) && (c) <= 'i') \ 8651 || ('j' <= (c) && (c) <= 'r') \ 8652 || ('s' <= (c) && (c) <= 'z')) 8653# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8654#endif 8655 8656#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8657int 8658main () 8659{ 8660 int i; 8661 for (i = 0; i < 256; i++) 8662 if (XOR (islower (i), ISLOWER (i)) 8663 || toupper (i) != TOUPPER (i)) 8664 return 2; 8665 return 0; 8666} 8667_ACEOF 8668if ac_fn_c_try_run "$LINENO"; then : 8669 8670else 8671 ac_cv_header_stdc=no 8672fi 8673rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8674 conftest.$ac_objext conftest.beam conftest.$ac_ext 8675fi 8676 8677fi 8678fi 8679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8680$as_echo "$ac_cv_header_stdc" >&6; } 8681if test $ac_cv_header_stdc = yes; then 8682 8683$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8684 8685fi 8686 8687# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8688for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8689 inttypes.h stdint.h unistd.h 8690do : 8691 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8692ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8693" 8694if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8695 cat >>confdefs.h <<_ACEOF 8696#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8697_ACEOF 8698 8699fi 8700 8701done 8702 8703 8704for ac_header in dlfcn.h 8705do : 8706 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8707" 8708if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8709 cat >>confdefs.h <<_ACEOF 8710#define HAVE_DLFCN_H 1 8711_ACEOF 8712 8713fi 8714 8715done 8716 8717 8718 8719 8720 8721# Set options 8722# Check whether --enable-static was given. 8723if test "${enable_static+set}" = set; then : 8724 enableval=$enable_static; p=${PACKAGE-default} 8725 case $enableval in 8726 yes) enable_static=yes ;; 8727 no) enable_static=no ;; 8728 *) 8729 enable_static=no 8730 # Look at the argument we got. We use all the common list separators. 8731 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8732 for pkg in $enableval; do 8733 IFS=$lt_save_ifs 8734 if test "X$pkg" = "X$p"; then 8735 enable_static=yes 8736 fi 8737 done 8738 IFS=$lt_save_ifs 8739 ;; 8740 esac 8741else 8742 enable_static=no 8743fi 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 enable_dlopen=no 8755 8756 8757 enable_win32_dll=no 8758 8759 8760 # Check whether --enable-shared was given. 8761if test "${enable_shared+set}" = set; then : 8762 enableval=$enable_shared; p=${PACKAGE-default} 8763 case $enableval in 8764 yes) enable_shared=yes ;; 8765 no) enable_shared=no ;; 8766 *) 8767 enable_shared=no 8768 # Look at the argument we got. We use all the common list separators. 8769 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8770 for pkg in $enableval; do 8771 IFS=$lt_save_ifs 8772 if test "X$pkg" = "X$p"; then 8773 enable_shared=yes 8774 fi 8775 done 8776 IFS=$lt_save_ifs 8777 ;; 8778 esac 8779else 8780 enable_shared=yes 8781fi 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793# Check whether --with-pic was given. 8794if test "${with_pic+set}" = set; then : 8795 withval=$with_pic; lt_p=${PACKAGE-default} 8796 case $withval in 8797 yes|no) pic_mode=$withval ;; 8798 *) 8799 pic_mode=default 8800 # Look at the argument we got. We use all the common list separators. 8801 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8802 for lt_pkg in $withval; do 8803 IFS=$lt_save_ifs 8804 if test "X$lt_pkg" = "X$lt_p"; then 8805 pic_mode=yes 8806 fi 8807 done 8808 IFS=$lt_save_ifs 8809 ;; 8810 esac 8811else 8812 pic_mode=default 8813fi 8814 8815 8816 8817 8818 8819 8820 8821 8822 # Check whether --enable-fast-install was given. 8823if test "${enable_fast_install+set}" = set; then : 8824 enableval=$enable_fast_install; p=${PACKAGE-default} 8825 case $enableval in 8826 yes) enable_fast_install=yes ;; 8827 no) enable_fast_install=no ;; 8828 *) 8829 enable_fast_install=no 8830 # Look at the argument we got. We use all the common list separators. 8831 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8832 for pkg in $enableval; do 8833 IFS=$lt_save_ifs 8834 if test "X$pkg" = "X$p"; then 8835 enable_fast_install=yes 8836 fi 8837 done 8838 IFS=$lt_save_ifs 8839 ;; 8840 esac 8841else 8842 enable_fast_install=yes 8843fi 8844 8845 8846 8847 8848 8849 8850 8851 8852 shared_archive_member_spec= 8853case $host,$enable_shared in 8854power*-*-aix[5-9]*,yes) 8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8856$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8857 8858# Check whether --with-aix-soname was given. 8859if test "${with_aix_soname+set}" = set; then : 8860 withval=$with_aix_soname; case $withval in 8861 aix|svr4|both) 8862 ;; 8863 *) 8864 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8865 ;; 8866 esac 8867 lt_cv_with_aix_soname=$with_aix_soname 8868else 8869 if ${lt_cv_with_aix_soname+:} false; then : 8870 $as_echo_n "(cached) " >&6 8871else 8872 lt_cv_with_aix_soname=aix 8873fi 8874 8875 with_aix_soname=$lt_cv_with_aix_soname 8876fi 8877 8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8879$as_echo "$with_aix_soname" >&6; } 8880 if test aix != "$with_aix_soname"; then 8881 # For the AIX way of multilib, we name the shared archive member 8882 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8883 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8884 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8885 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8886 if test 64 = "${OBJECT_MODE-32}"; then 8887 shared_archive_member_spec=shr_64 8888 else 8889 shared_archive_member_spec=shr 8890 fi 8891 fi 8892 ;; 8893*) 8894 with_aix_soname=aix 8895 ;; 8896esac 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907# This can be used to rebuild libtool when needed 8908LIBTOOL_DEPS=$ltmain 8909 8910# Always use our own libtool. 8911LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942test -z "$LN_S" && LN_S="ln -s" 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957if test -n "${ZSH_VERSION+set}"; then 8958 setopt NO_GLOB_SUBST 8959fi 8960 8961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8962$as_echo_n "checking for objdir... " >&6; } 8963if ${lt_cv_objdir+:} false; then : 8964 $as_echo_n "(cached) " >&6 8965else 8966 rm -f .libs 2>/dev/null 8967mkdir .libs 2>/dev/null 8968if test -d .libs; then 8969 lt_cv_objdir=.libs 8970else 8971 # MS-DOS does not allow filenames that begin with a dot. 8972 lt_cv_objdir=_libs 8973fi 8974rmdir .libs 2>/dev/null 8975fi 8976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8977$as_echo "$lt_cv_objdir" >&6; } 8978objdir=$lt_cv_objdir 8979 8980 8981 8982 8983 8984cat >>confdefs.h <<_ACEOF 8985#define LT_OBJDIR "$lt_cv_objdir/" 8986_ACEOF 8987 8988 8989 8990 8991case $host_os in 8992aix3*) 8993 # AIX sometimes has problems with the GCC collect2 program. For some 8994 # reason, if we set the COLLECT_NAMES environment variable, the problems 8995 # vanish in a puff of smoke. 8996 if test set != "${COLLECT_NAMES+set}"; then 8997 COLLECT_NAMES= 8998 export COLLECT_NAMES 8999 fi 9000 ;; 9001esac 9002 9003# Global variables: 9004ofile=libtool 9005can_build_shared=yes 9006 9007# All known linkers require a '.a' archive for static linking (except MSVC, 9008# which needs '.lib'). 9009libext=a 9010 9011with_gnu_ld=$lt_cv_prog_gnu_ld 9012 9013old_CC=$CC 9014old_CFLAGS=$CFLAGS 9015 9016# Set sane defaults for various variables 9017test -z "$CC" && CC=cc 9018test -z "$LTCC" && LTCC=$CC 9019test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9020test -z "$LD" && LD=ld 9021test -z "$ac_objext" && ac_objext=o 9022 9023func_cc_basename $compiler 9024cc_basename=$func_cc_basename_result 9025 9026 9027# Only perform the check for file, if the check method requires it 9028test -z "$MAGIC_CMD" && MAGIC_CMD=file 9029case $deplibs_check_method in 9030file_magic*) 9031 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9033$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9034if ${lt_cv_path_MAGIC_CMD+:} false; then : 9035 $as_echo_n "(cached) " >&6 9036else 9037 case $MAGIC_CMD in 9038[\\/*] | ?:[\\/]*) 9039 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9040 ;; 9041*) 9042 lt_save_MAGIC_CMD=$MAGIC_CMD 9043 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9044 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9045 for ac_dir in $ac_dummy; do 9046 IFS=$lt_save_ifs 9047 test -z "$ac_dir" && ac_dir=. 9048 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9049 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9050 if test -n "$file_magic_test_file"; then 9051 case $deplibs_check_method in 9052 "file_magic "*) 9053 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9054 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9055 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9056 $EGREP "$file_magic_regex" > /dev/null; then 9057 : 9058 else 9059 cat <<_LT_EOF 1>&2 9060 9061*** Warning: the command libtool uses to detect shared libraries, 9062*** $file_magic_cmd, produces output that libtool cannot recognize. 9063*** The result is that libtool may fail to recognize shared libraries 9064*** as such. This will affect the creation of libtool libraries that 9065*** depend on shared libraries, but programs linked with such libtool 9066*** libraries will work regardless of this problem. Nevertheless, you 9067*** may want to report the problem to your system manager and/or to 9068*** bug-libtool@gnu.org 9069 9070_LT_EOF 9071 fi ;; 9072 esac 9073 fi 9074 break 9075 fi 9076 done 9077 IFS=$lt_save_ifs 9078 MAGIC_CMD=$lt_save_MAGIC_CMD 9079 ;; 9080esac 9081fi 9082 9083MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9084if test -n "$MAGIC_CMD"; then 9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9086$as_echo "$MAGIC_CMD" >&6; } 9087else 9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9089$as_echo "no" >&6; } 9090fi 9091 9092 9093 9094 9095 9096if test -z "$lt_cv_path_MAGIC_CMD"; then 9097 if test -n "$ac_tool_prefix"; then 9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9099$as_echo_n "checking for file... " >&6; } 9100if ${lt_cv_path_MAGIC_CMD+:} false; then : 9101 $as_echo_n "(cached) " >&6 9102else 9103 case $MAGIC_CMD in 9104[\\/*] | ?:[\\/]*) 9105 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9106 ;; 9107*) 9108 lt_save_MAGIC_CMD=$MAGIC_CMD 9109 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9110 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9111 for ac_dir in $ac_dummy; do 9112 IFS=$lt_save_ifs 9113 test -z "$ac_dir" && ac_dir=. 9114 if test -f "$ac_dir/file"; then 9115 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9116 if test -n "$file_magic_test_file"; then 9117 case $deplibs_check_method in 9118 "file_magic "*) 9119 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9120 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9121 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9122 $EGREP "$file_magic_regex" > /dev/null; then 9123 : 9124 else 9125 cat <<_LT_EOF 1>&2 9126 9127*** Warning: the command libtool uses to detect shared libraries, 9128*** $file_magic_cmd, produces output that libtool cannot recognize. 9129*** The result is that libtool may fail to recognize shared libraries 9130*** as such. This will affect the creation of libtool libraries that 9131*** depend on shared libraries, but programs linked with such libtool 9132*** libraries will work regardless of this problem. Nevertheless, you 9133*** may want to report the problem to your system manager and/or to 9134*** bug-libtool@gnu.org 9135 9136_LT_EOF 9137 fi ;; 9138 esac 9139 fi 9140 break 9141 fi 9142 done 9143 IFS=$lt_save_ifs 9144 MAGIC_CMD=$lt_save_MAGIC_CMD 9145 ;; 9146esac 9147fi 9148 9149MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9150if test -n "$MAGIC_CMD"; then 9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9152$as_echo "$MAGIC_CMD" >&6; } 9153else 9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9155$as_echo "no" >&6; } 9156fi 9157 9158 9159 else 9160 MAGIC_CMD=: 9161 fi 9162fi 9163 9164 fi 9165 ;; 9166esac 9167 9168# Use C for the default configuration in the libtool script 9169 9170lt_save_CC=$CC 9171ac_ext=c 9172ac_cpp='$CPP $CPPFLAGS' 9173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9175ac_compiler_gnu=$ac_cv_c_compiler_gnu 9176 9177 9178# Source file extension for C test sources. 9179ac_ext=c 9180 9181# Object file extension for compiled C test sources. 9182objext=o 9183objext=$objext 9184 9185# Code to be used in simple compile tests 9186lt_simple_compile_test_code="int some_variable = 0;" 9187 9188# Code to be used in simple link tests 9189lt_simple_link_test_code='int main(){return(0);}' 9190 9191 9192 9193 9194 9195 9196 9197# If no C compiler was specified, use CC. 9198LTCC=${LTCC-"$CC"} 9199 9200# If no C compiler flags were specified, use CFLAGS. 9201LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9202 9203# Allow CC to be a program name with arguments. 9204compiler=$CC 9205 9206# Save the default compiler, since it gets overwritten when the other 9207# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9208compiler_DEFAULT=$CC 9209 9210# save warnings/boilerplate of simple test code 9211ac_outfile=conftest.$ac_objext 9212echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9213eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9214_lt_compiler_boilerplate=`cat conftest.err` 9215$RM conftest* 9216 9217ac_outfile=conftest.$ac_objext 9218echo "$lt_simple_link_test_code" >conftest.$ac_ext 9219eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9220_lt_linker_boilerplate=`cat conftest.err` 9221$RM -r conftest* 9222 9223 9224## CAVEAT EMPTOR: 9225## There is no encapsulation within the following macros, do not change 9226## the running order or otherwise move them around unless you know exactly 9227## what you are doing... 9228if test -n "$compiler"; then 9229 9230lt_prog_compiler_no_builtin_flag= 9231 9232if test yes = "$GCC"; then 9233 case $cc_basename in 9234 nvcc*) 9235 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9236 *) 9237 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9238 esac 9239 9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9241$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9242if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9243 $as_echo_n "(cached) " >&6 9244else 9245 lt_cv_prog_compiler_rtti_exceptions=no 9246 ac_outfile=conftest.$ac_objext 9247 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9248 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9249 # Insert the option either (1) after the last *FLAGS variable, or 9250 # (2) before a word containing "conftest.", or (3) at the end. 9251 # Note that $ac_compile itself does not contain backslashes and begins 9252 # with a dollar sign (not a hyphen), so the echo should work correctly. 9253 # The option is referenced via a variable to avoid confusing sed. 9254 lt_compile=`echo "$ac_compile" | $SED \ 9255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9257 -e 's:$: $lt_compiler_flag:'` 9258 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9259 (eval "$lt_compile" 2>conftest.err) 9260 ac_status=$? 9261 cat conftest.err >&5 9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9263 if (exit $ac_status) && test -s "$ac_outfile"; then 9264 # The compiler can only warn and ignore the option if not recognized 9265 # So say no if there are warnings other than the usual output. 9266 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9267 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9268 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9269 lt_cv_prog_compiler_rtti_exceptions=yes 9270 fi 9271 fi 9272 $RM conftest* 9273 9274fi 9275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9276$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9277 9278if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9279 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9280else 9281 : 9282fi 9283 9284fi 9285 9286 9287 9288 9289 9290 9291 lt_prog_compiler_wl= 9292lt_prog_compiler_pic= 9293lt_prog_compiler_static= 9294 9295 9296 if test yes = "$GCC"; then 9297 lt_prog_compiler_wl='-Wl,' 9298 lt_prog_compiler_static='-static' 9299 9300 case $host_os in 9301 aix*) 9302 # All AIX code is PIC. 9303 if test ia64 = "$host_cpu"; then 9304 # AIX 5 now supports IA64 processor 9305 lt_prog_compiler_static='-Bstatic' 9306 fi 9307 lt_prog_compiler_pic='-fPIC' 9308 ;; 9309 9310 amigaos*) 9311 case $host_cpu in 9312 powerpc) 9313 # see comment about AmigaOS4 .so support 9314 lt_prog_compiler_pic='-fPIC' 9315 ;; 9316 m68k) 9317 # FIXME: we need at least 68020 code to build shared libraries, but 9318 # adding the '-m68020' flag to GCC prevents building anything better, 9319 # like '-m68040'. 9320 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9321 ;; 9322 esac 9323 ;; 9324 9325 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9326 # PIC is the default for these OSes. 9327 ;; 9328 9329 mingw* | cygwin* | pw32* | os2* | cegcc*) 9330 # This hack is so that the source file can tell whether it is being 9331 # built for inclusion in a dll (and should export symbols for example). 9332 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9333 # (--disable-auto-import) libraries 9334 lt_prog_compiler_pic='-DDLL_EXPORT' 9335 case $host_os in 9336 os2*) 9337 lt_prog_compiler_static='$wl-static' 9338 ;; 9339 esac 9340 ;; 9341 9342 darwin* | rhapsody*) 9343 # PIC is the default on this platform 9344 # Common symbols not allowed in MH_DYLIB files 9345 lt_prog_compiler_pic='-fno-common' 9346 ;; 9347 9348 haiku*) 9349 # PIC is the default for Haiku. 9350 # The "-static" flag exists, but is broken. 9351 lt_prog_compiler_static= 9352 ;; 9353 9354 hpux*) 9355 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9356 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9357 # sets the default TLS model and affects inlining. 9358 case $host_cpu in 9359 hppa*64*) 9360 # +Z the default 9361 ;; 9362 *) 9363 lt_prog_compiler_pic='-fPIC' 9364 ;; 9365 esac 9366 ;; 9367 9368 interix[3-9]*) 9369 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9370 # Instead, we relocate shared libraries at runtime. 9371 ;; 9372 9373 msdosdjgpp*) 9374 # Just because we use GCC doesn't mean we suddenly get shared libraries 9375 # on systems that don't support them. 9376 lt_prog_compiler_can_build_shared=no 9377 enable_shared=no 9378 ;; 9379 9380 *nto* | *qnx*) 9381 # QNX uses GNU C++, but need to define -shared option too, otherwise 9382 # it will coredump. 9383 lt_prog_compiler_pic='-fPIC -shared' 9384 ;; 9385 9386 sysv4*MP*) 9387 if test -d /usr/nec; then 9388 lt_prog_compiler_pic=-Kconform_pic 9389 fi 9390 ;; 9391 9392 *) 9393 lt_prog_compiler_pic='-fPIC' 9394 ;; 9395 esac 9396 9397 case $cc_basename in 9398 nvcc*) # Cuda Compiler Driver 2.2 9399 lt_prog_compiler_wl='-Xlinker ' 9400 if test -n "$lt_prog_compiler_pic"; then 9401 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9402 fi 9403 ;; 9404 esac 9405 else 9406 # PORTME Check for flag to pass linker flags through the system compiler. 9407 case $host_os in 9408 aix*) 9409 lt_prog_compiler_wl='-Wl,' 9410 if test ia64 = "$host_cpu"; then 9411 # AIX 5 now supports IA64 processor 9412 lt_prog_compiler_static='-Bstatic' 9413 else 9414 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9415 fi 9416 ;; 9417 9418 darwin* | rhapsody*) 9419 # PIC is the default on this platform 9420 # Common symbols not allowed in MH_DYLIB files 9421 lt_prog_compiler_pic='-fno-common' 9422 case $cc_basename in 9423 nagfor*) 9424 # NAG Fortran compiler 9425 lt_prog_compiler_wl='-Wl,-Wl,,' 9426 lt_prog_compiler_pic='-PIC' 9427 lt_prog_compiler_static='-Bstatic' 9428 ;; 9429 esac 9430 ;; 9431 9432 mingw* | cygwin* | pw32* | os2* | cegcc*) 9433 # This hack is so that the source file can tell whether it is being 9434 # built for inclusion in a dll (and should export symbols for example). 9435 lt_prog_compiler_pic='-DDLL_EXPORT' 9436 case $host_os in 9437 os2*) 9438 lt_prog_compiler_static='$wl-static' 9439 ;; 9440 esac 9441 ;; 9442 9443 hpux9* | hpux10* | hpux11*) 9444 lt_prog_compiler_wl='-Wl,' 9445 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9446 # not for PA HP-UX. 9447 case $host_cpu in 9448 hppa*64*|ia64*) 9449 # +Z the default 9450 ;; 9451 *) 9452 lt_prog_compiler_pic='+Z' 9453 ;; 9454 esac 9455 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9456 lt_prog_compiler_static='$wl-a ${wl}archive' 9457 ;; 9458 9459 irix5* | irix6* | nonstopux*) 9460 lt_prog_compiler_wl='-Wl,' 9461 # PIC (with -KPIC) is the default. 9462 lt_prog_compiler_static='-non_shared' 9463 ;; 9464 9465 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9466 case $cc_basename in 9467 # old Intel for x86_64, which still supported -KPIC. 9468 ecc*) 9469 lt_prog_compiler_wl='-Wl,' 9470 lt_prog_compiler_pic='-KPIC' 9471 lt_prog_compiler_static='-static' 9472 ;; 9473 # icc used to be incompatible with GCC. 9474 # ICC 10 doesn't accept -KPIC any more. 9475 icc* | ifort*) 9476 lt_prog_compiler_wl='-Wl,' 9477 lt_prog_compiler_pic='-fPIC' 9478 lt_prog_compiler_static='-static' 9479 ;; 9480 # Lahey Fortran 8.1. 9481 lf95*) 9482 lt_prog_compiler_wl='-Wl,' 9483 lt_prog_compiler_pic='--shared' 9484 lt_prog_compiler_static='--static' 9485 ;; 9486 nagfor*) 9487 # NAG Fortran compiler 9488 lt_prog_compiler_wl='-Wl,-Wl,,' 9489 lt_prog_compiler_pic='-PIC' 9490 lt_prog_compiler_static='-Bstatic' 9491 ;; 9492 tcc*) 9493 # Fabrice Bellard et al's Tiny C Compiler 9494 lt_prog_compiler_wl='-Wl,' 9495 lt_prog_compiler_pic='-fPIC' 9496 lt_prog_compiler_static='-static' 9497 ;; 9498 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9499 # Portland Group compilers (*not* the Pentium gcc compiler, 9500 # which looks to be a dead project) 9501 lt_prog_compiler_wl='-Wl,' 9502 lt_prog_compiler_pic='-fpic' 9503 lt_prog_compiler_static='-Bstatic' 9504 ;; 9505 ccc*) 9506 lt_prog_compiler_wl='-Wl,' 9507 # All Alpha code is PIC. 9508 lt_prog_compiler_static='-non_shared' 9509 ;; 9510 xl* | bgxl* | bgf* | mpixl*) 9511 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9512 lt_prog_compiler_wl='-Wl,' 9513 lt_prog_compiler_pic='-qpic' 9514 lt_prog_compiler_static='-qstaticlink' 9515 ;; 9516 *) 9517 case `$CC -V 2>&1 | sed 5q` in 9518 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9519 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9520 lt_prog_compiler_pic='-KPIC' 9521 lt_prog_compiler_static='-Bstatic' 9522 lt_prog_compiler_wl='' 9523 ;; 9524 *Sun\ F* | *Sun*Fortran*) 9525 lt_prog_compiler_pic='-KPIC' 9526 lt_prog_compiler_static='-Bstatic' 9527 lt_prog_compiler_wl='-Qoption ld ' 9528 ;; 9529 *Sun\ C*) 9530 # Sun C 5.9 9531 lt_prog_compiler_pic='-KPIC' 9532 lt_prog_compiler_static='-Bstatic' 9533 lt_prog_compiler_wl='-Wl,' 9534 ;; 9535 *Intel*\ [CF]*Compiler*) 9536 lt_prog_compiler_wl='-Wl,' 9537 lt_prog_compiler_pic='-fPIC' 9538 lt_prog_compiler_static='-static' 9539 ;; 9540 *Portland\ Group*) 9541 lt_prog_compiler_wl='-Wl,' 9542 lt_prog_compiler_pic='-fpic' 9543 lt_prog_compiler_static='-Bstatic' 9544 ;; 9545 esac 9546 ;; 9547 esac 9548 ;; 9549 9550 newsos6) 9551 lt_prog_compiler_pic='-KPIC' 9552 lt_prog_compiler_static='-Bstatic' 9553 ;; 9554 9555 *nto* | *qnx*) 9556 # QNX uses GNU C++, but need to define -shared option too, otherwise 9557 # it will coredump. 9558 lt_prog_compiler_pic='-fPIC -shared' 9559 ;; 9560 9561 osf3* | osf4* | osf5*) 9562 lt_prog_compiler_wl='-Wl,' 9563 # All OSF/1 code is PIC. 9564 lt_prog_compiler_static='-non_shared' 9565 ;; 9566 9567 rdos*) 9568 lt_prog_compiler_static='-non_shared' 9569 ;; 9570 9571 solaris*) 9572 lt_prog_compiler_pic='-KPIC' 9573 lt_prog_compiler_static='-Bstatic' 9574 case $cc_basename in 9575 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9576 lt_prog_compiler_wl='-Qoption ld ';; 9577 *) 9578 lt_prog_compiler_wl='-Wl,';; 9579 esac 9580 ;; 9581 9582 sunos4*) 9583 lt_prog_compiler_wl='-Qoption ld ' 9584 lt_prog_compiler_pic='-PIC' 9585 lt_prog_compiler_static='-Bstatic' 9586 ;; 9587 9588 sysv4 | sysv4.2uw2* | sysv4.3*) 9589 lt_prog_compiler_wl='-Wl,' 9590 lt_prog_compiler_pic='-KPIC' 9591 lt_prog_compiler_static='-Bstatic' 9592 ;; 9593 9594 sysv4*MP*) 9595 if test -d /usr/nec; then 9596 lt_prog_compiler_pic='-Kconform_pic' 9597 lt_prog_compiler_static='-Bstatic' 9598 fi 9599 ;; 9600 9601 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9602 lt_prog_compiler_wl='-Wl,' 9603 lt_prog_compiler_pic='-KPIC' 9604 lt_prog_compiler_static='-Bstatic' 9605 ;; 9606 9607 unicos*) 9608 lt_prog_compiler_wl='-Wl,' 9609 lt_prog_compiler_can_build_shared=no 9610 ;; 9611 9612 uts4*) 9613 lt_prog_compiler_pic='-pic' 9614 lt_prog_compiler_static='-Bstatic' 9615 ;; 9616 9617 *) 9618 lt_prog_compiler_can_build_shared=no 9619 ;; 9620 esac 9621 fi 9622 9623case $host_os in 9624 # For platforms that do not support PIC, -DPIC is meaningless: 9625 *djgpp*) 9626 lt_prog_compiler_pic= 9627 ;; 9628 *) 9629 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9630 ;; 9631esac 9632 9633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9634$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9635if ${lt_cv_prog_compiler_pic+:} false; then : 9636 $as_echo_n "(cached) " >&6 9637else 9638 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9639fi 9640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9641$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9642lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9643 9644# 9645# Check to make sure the PIC flag actually works. 9646# 9647if test -n "$lt_prog_compiler_pic"; then 9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9649$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9650if ${lt_cv_prog_compiler_pic_works+:} false; then : 9651 $as_echo_n "(cached) " >&6 9652else 9653 lt_cv_prog_compiler_pic_works=no 9654 ac_outfile=conftest.$ac_objext 9655 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9656 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9657 # Insert the option either (1) after the last *FLAGS variable, or 9658 # (2) before a word containing "conftest.", or (3) at the end. 9659 # Note that $ac_compile itself does not contain backslashes and begins 9660 # with a dollar sign (not a hyphen), so the echo should work correctly. 9661 # The option is referenced via a variable to avoid confusing sed. 9662 lt_compile=`echo "$ac_compile" | $SED \ 9663 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9664 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9665 -e 's:$: $lt_compiler_flag:'` 9666 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9667 (eval "$lt_compile" 2>conftest.err) 9668 ac_status=$? 9669 cat conftest.err >&5 9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9671 if (exit $ac_status) && test -s "$ac_outfile"; then 9672 # The compiler can only warn and ignore the option if not recognized 9673 # So say no if there are warnings other than the usual output. 9674 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9675 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9676 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9677 lt_cv_prog_compiler_pic_works=yes 9678 fi 9679 fi 9680 $RM conftest* 9681 9682fi 9683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9684$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9685 9686if test yes = "$lt_cv_prog_compiler_pic_works"; then 9687 case $lt_prog_compiler_pic in 9688 "" | " "*) ;; 9689 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9690 esac 9691else 9692 lt_prog_compiler_pic= 9693 lt_prog_compiler_can_build_shared=no 9694fi 9695 9696fi 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708# 9709# Check to make sure the static flag actually works. 9710# 9711wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9713$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9714if ${lt_cv_prog_compiler_static_works+:} false; then : 9715 $as_echo_n "(cached) " >&6 9716else 9717 lt_cv_prog_compiler_static_works=no 9718 save_LDFLAGS=$LDFLAGS 9719 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9720 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9721 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9722 # The linker can only warn and ignore the option if not recognized 9723 # So say no if there are warnings 9724 if test -s conftest.err; then 9725 # Append any errors to the config.log. 9726 cat conftest.err 1>&5 9727 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9728 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9729 if diff conftest.exp conftest.er2 >/dev/null; then 9730 lt_cv_prog_compiler_static_works=yes 9731 fi 9732 else 9733 lt_cv_prog_compiler_static_works=yes 9734 fi 9735 fi 9736 $RM -r conftest* 9737 LDFLAGS=$save_LDFLAGS 9738 9739fi 9740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9741$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9742 9743if test yes = "$lt_cv_prog_compiler_static_works"; then 9744 : 9745else 9746 lt_prog_compiler_static= 9747fi 9748 9749 9750 9751 9752 9753 9754 9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9756$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9757if ${lt_cv_prog_compiler_c_o+:} false; then : 9758 $as_echo_n "(cached) " >&6 9759else 9760 lt_cv_prog_compiler_c_o=no 9761 $RM -r conftest 2>/dev/null 9762 mkdir conftest 9763 cd conftest 9764 mkdir out 9765 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9766 9767 lt_compiler_flag="-o out/conftest2.$ac_objext" 9768 # Insert the option either (1) after the last *FLAGS variable, or 9769 # (2) before a word containing "conftest.", or (3) at the end. 9770 # Note that $ac_compile itself does not contain backslashes and begins 9771 # with a dollar sign (not a hyphen), so the echo should work correctly. 9772 lt_compile=`echo "$ac_compile" | $SED \ 9773 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9774 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9775 -e 's:$: $lt_compiler_flag:'` 9776 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9777 (eval "$lt_compile" 2>out/conftest.err) 9778 ac_status=$? 9779 cat out/conftest.err >&5 9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9781 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9782 then 9783 # The compiler can only warn and ignore the option if not recognized 9784 # So say no if there are warnings 9785 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9786 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9787 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9788 lt_cv_prog_compiler_c_o=yes 9789 fi 9790 fi 9791 chmod u+w . 2>&5 9792 $RM conftest* 9793 # SGI C++ compiler will create directory out/ii_files/ for 9794 # template instantiation 9795 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9796 $RM out/* && rmdir out 9797 cd .. 9798 $RM -r conftest 9799 $RM conftest* 9800 9801fi 9802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9803$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9804 9805 9806 9807 9808 9809 9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9811$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9812if ${lt_cv_prog_compiler_c_o+:} false; then : 9813 $as_echo_n "(cached) " >&6 9814else 9815 lt_cv_prog_compiler_c_o=no 9816 $RM -r conftest 2>/dev/null 9817 mkdir conftest 9818 cd conftest 9819 mkdir out 9820 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9821 9822 lt_compiler_flag="-o out/conftest2.$ac_objext" 9823 # Insert the option either (1) after the last *FLAGS variable, or 9824 # (2) before a word containing "conftest.", or (3) at the end. 9825 # Note that $ac_compile itself does not contain backslashes and begins 9826 # with a dollar sign (not a hyphen), so the echo should work correctly. 9827 lt_compile=`echo "$ac_compile" | $SED \ 9828 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9829 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9830 -e 's:$: $lt_compiler_flag:'` 9831 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9832 (eval "$lt_compile" 2>out/conftest.err) 9833 ac_status=$? 9834 cat out/conftest.err >&5 9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9836 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9837 then 9838 # The compiler can only warn and ignore the option if not recognized 9839 # So say no if there are warnings 9840 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9841 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9842 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9843 lt_cv_prog_compiler_c_o=yes 9844 fi 9845 fi 9846 chmod u+w . 2>&5 9847 $RM conftest* 9848 # SGI C++ compiler will create directory out/ii_files/ for 9849 # template instantiation 9850 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9851 $RM out/* && rmdir out 9852 cd .. 9853 $RM -r conftest 9854 $RM conftest* 9855 9856fi 9857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9858$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9859 9860 9861 9862 9863hard_links=nottested 9864if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9865 # do not overwrite the value of need_locks provided by the user 9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9867$as_echo_n "checking if we can lock with hard links... " >&6; } 9868 hard_links=yes 9869 $RM conftest* 9870 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9871 touch conftest.a 9872 ln conftest.a conftest.b 2>&5 || hard_links=no 9873 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9875$as_echo "$hard_links" >&6; } 9876 if test no = "$hard_links"; then 9877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9878$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9879 need_locks=warn 9880 fi 9881else 9882 need_locks=no 9883fi 9884 9885 9886 9887 9888 9889 9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9891$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9892 9893 runpath_var= 9894 allow_undefined_flag= 9895 always_export_symbols=no 9896 archive_cmds= 9897 archive_expsym_cmds= 9898 compiler_needs_object=no 9899 enable_shared_with_static_runtimes=no 9900 export_dynamic_flag_spec= 9901 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9902 hardcode_automatic=no 9903 hardcode_direct=no 9904 hardcode_direct_absolute=no 9905 hardcode_libdir_flag_spec= 9906 hardcode_libdir_separator= 9907 hardcode_minus_L=no 9908 hardcode_shlibpath_var=unsupported 9909 inherit_rpath=no 9910 link_all_deplibs=unknown 9911 module_cmds= 9912 module_expsym_cmds= 9913 old_archive_from_new_cmds= 9914 old_archive_from_expsyms_cmds= 9915 thread_safe_flag_spec= 9916 whole_archive_flag_spec= 9917 # include_expsyms should be a list of space-separated symbols to be *always* 9918 # included in the symbol list 9919 include_expsyms= 9920 # exclude_expsyms can be an extended regexp of symbols to exclude 9921 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9922 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9923 # as well as any symbol that contains 'd'. 9924 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9925 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9926 # platforms (ab)use it in PIC code, but their linkers get confused if 9927 # the symbol is explicitly referenced. Since portable code cannot 9928 # rely on this symbol name, it's probably fine to never include it in 9929 # preloaded symbol tables. 9930 # Exclude shared library initialization/finalization symbols. 9931 extract_expsyms_cmds= 9932 9933 case $host_os in 9934 cygwin* | mingw* | pw32* | cegcc*) 9935 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9936 # When not using gcc, we currently assume that we are using 9937 # Microsoft Visual C++. 9938 if test yes != "$GCC"; then 9939 with_gnu_ld=no 9940 fi 9941 ;; 9942 interix*) 9943 # we just hope/assume this is gcc and not c89 (= MSVC++) 9944 with_gnu_ld=yes 9945 ;; 9946 openbsd* | bitrig*) 9947 with_gnu_ld=no 9948 ;; 9949 esac 9950 9951 ld_shlibs=yes 9952 9953 # On some targets, GNU ld is compatible enough with the native linker 9954 # that we're better off using the native interface for both. 9955 lt_use_gnu_ld_interface=no 9956 if test yes = "$with_gnu_ld"; then 9957 case $host_os in 9958 aix*) 9959 # The AIX port of GNU ld has always aspired to compatibility 9960 # with the native linker. However, as the warning in the GNU ld 9961 # block says, versions before 2.19.5* couldn't really create working 9962 # shared libraries, regardless of the interface used. 9963 case `$LD -v 2>&1` in 9964 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9965 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9966 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9967 *) 9968 lt_use_gnu_ld_interface=yes 9969 ;; 9970 esac 9971 ;; 9972 *) 9973 lt_use_gnu_ld_interface=yes 9974 ;; 9975 esac 9976 fi 9977 9978 if test yes = "$lt_use_gnu_ld_interface"; then 9979 # If archive_cmds runs LD, not CC, wlarc should be empty 9980 wlarc='$wl' 9981 9982 # Set some defaults for GNU ld with shared library support. These 9983 # are reset later if shared libraries are not supported. Putting them 9984 # here allows them to be overridden if necessary. 9985 runpath_var=LD_RUN_PATH 9986 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9987 export_dynamic_flag_spec='$wl--export-dynamic' 9988 # ancient GNU ld didn't support --whole-archive et. al. 9989 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9990 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9991 else 9992 whole_archive_flag_spec= 9993 fi 9994 supports_anon_versioning=no 9995 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9996 *GNU\ gold*) supports_anon_versioning=yes ;; 9997 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9998 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9999 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10000 *\ 2.11.*) ;; # other 2.11 versions 10001 *) supports_anon_versioning=yes ;; 10002 esac 10003 10004 # See if GNU ld supports shared libraries. 10005 case $host_os in 10006 aix[3-9]*) 10007 # On AIX/PPC, the GNU linker is very broken 10008 if test ia64 != "$host_cpu"; then 10009 ld_shlibs=no 10010 cat <<_LT_EOF 1>&2 10011 10012*** Warning: the GNU linker, at least up to release 2.19, is reported 10013*** to be unable to reliably create shared libraries on AIX. 10014*** Therefore, libtool is disabling shared libraries support. If you 10015*** really care for shared libraries, you may want to install binutils 10016*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10017*** You will then need to restart the configuration process. 10018 10019_LT_EOF 10020 fi 10021 ;; 10022 10023 amigaos*) 10024 case $host_cpu in 10025 powerpc) 10026 # see comment about AmigaOS4 .so support 10027 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10028 archive_expsym_cmds='' 10029 ;; 10030 m68k) 10031 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)' 10032 hardcode_libdir_flag_spec='-L$libdir' 10033 hardcode_minus_L=yes 10034 ;; 10035 esac 10036 ;; 10037 10038 beos*) 10039 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10040 allow_undefined_flag=unsupported 10041 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10042 # support --undefined. This deserves some investigation. FIXME 10043 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10044 else 10045 ld_shlibs=no 10046 fi 10047 ;; 10048 10049 cygwin* | mingw* | pw32* | cegcc*) 10050 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10051 # as there is no search path for DLLs. 10052 hardcode_libdir_flag_spec='-L$libdir' 10053 export_dynamic_flag_spec='$wl--export-all-symbols' 10054 allow_undefined_flag=unsupported 10055 always_export_symbols=no 10056 enable_shared_with_static_runtimes=yes 10057 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' 10058 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10059 10060 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10061 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10062 # If the export-symbols file already is a .def file, use it as 10063 # is; otherwise, prepend EXPORTS... 10064 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10065 cp $export_symbols $output_objdir/$soname.def; 10066 else 10067 echo EXPORTS > $output_objdir/$soname.def; 10068 cat $export_symbols >> $output_objdir/$soname.def; 10069 fi~ 10070 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10071 else 10072 ld_shlibs=no 10073 fi 10074 ;; 10075 10076 haiku*) 10077 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10078 link_all_deplibs=yes 10079 ;; 10080 10081 os2*) 10082 hardcode_libdir_flag_spec='-L$libdir' 10083 hardcode_minus_L=yes 10084 allow_undefined_flag=unsupported 10085 shrext_cmds=.dll 10086 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10087 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10088 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10089 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10090 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10091 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10092 emximp -o $lib $output_objdir/$libname.def' 10093 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10094 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10095 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10096 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10097 prefix_cmds="$SED"~ 10098 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10099 prefix_cmds="$prefix_cmds -e 1d"; 10100 fi~ 10101 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10102 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10103 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10104 emximp -o $lib $output_objdir/$libname.def' 10105 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10106 enable_shared_with_static_runtimes=yes 10107 ;; 10108 10109 interix[3-9]*) 10110 hardcode_direct=no 10111 hardcode_shlibpath_var=no 10112 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10113 export_dynamic_flag_spec='$wl-E' 10114 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10115 # Instead, shared libraries are loaded at an image base (0x10000000 by 10116 # default) and relocated if they conflict, which is a slow very memory 10117 # consuming and fragmenting process. To avoid this, we pick a random, 10118 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10119 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10120 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10121 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' 10122 ;; 10123 10124 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10125 tmp_diet=no 10126 if test linux-dietlibc = "$host_os"; then 10127 case $cc_basename in 10128 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10129 esac 10130 fi 10131 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10132 && test no = "$tmp_diet" 10133 then 10134 tmp_addflag=' $pic_flag' 10135 tmp_sharedflag='-shared' 10136 case $cc_basename,$host_cpu in 10137 pgcc*) # Portland Group C compiler 10138 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' 10139 tmp_addflag=' $pic_flag' 10140 ;; 10141 pgf77* | pgf90* | pgf95* | pgfortran*) 10142 # Portland Group f77 and f90 compilers 10143 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' 10144 tmp_addflag=' $pic_flag -Mnomain' ;; 10145 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10146 tmp_addflag=' -i_dynamic' ;; 10147 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10148 tmp_addflag=' -i_dynamic -nofor_main' ;; 10149 ifc* | ifort*) # Intel Fortran compiler 10150 tmp_addflag=' -nofor_main' ;; 10151 lf95*) # Lahey Fortran 8.1 10152 whole_archive_flag_spec= 10153 tmp_sharedflag='--shared' ;; 10154 nagfor*) # NAGFOR 5.3 10155 tmp_sharedflag='-Wl,-shared' ;; 10156 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10157 tmp_sharedflag='-qmkshrobj' 10158 tmp_addflag= ;; 10159 nvcc*) # Cuda Compiler Driver 2.2 10160 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' 10161 compiler_needs_object=yes 10162 ;; 10163 esac 10164 case `$CC -V 2>&1 | sed 5q` in 10165 *Sun\ C*) # Sun C 5.9 10166 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' 10167 compiler_needs_object=yes 10168 tmp_sharedflag='-G' ;; 10169 *Sun\ F*) # Sun Fortran 8.3 10170 tmp_sharedflag='-G' ;; 10171 esac 10172 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10173 10174 if test yes = "$supports_anon_versioning"; then 10175 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10176 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10177 echo "local: *; };" >> $output_objdir/$libname.ver~ 10178 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10179 fi 10180 10181 case $cc_basename in 10182 tcc*) 10183 export_dynamic_flag_spec='-rdynamic' 10184 ;; 10185 xlf* | bgf* | bgxlf* | mpixlf*) 10186 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10187 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10188 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10189 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10190 if test yes = "$supports_anon_versioning"; then 10191 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10192 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10193 echo "local: *; };" >> $output_objdir/$libname.ver~ 10194 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10195 fi 10196 ;; 10197 esac 10198 else 10199 ld_shlibs=no 10200 fi 10201 ;; 10202 10203 netbsd*) 10204 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10205 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10206 wlarc= 10207 else 10208 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10209 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10210 fi 10211 ;; 10212 10213 solaris*) 10214 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10215 ld_shlibs=no 10216 cat <<_LT_EOF 1>&2 10217 10218*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10219*** create shared libraries on Solaris systems. Therefore, libtool 10220*** is disabling shared libraries support. We urge you to upgrade GNU 10221*** binutils to release 2.9.1 or newer. Another option is to modify 10222*** your PATH or compiler configuration so that the native linker is 10223*** used, and then restart. 10224 10225_LT_EOF 10226 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10227 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10228 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10229 else 10230 ld_shlibs=no 10231 fi 10232 ;; 10233 10234 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10235 case `$LD -v 2>&1` in 10236 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10237 ld_shlibs=no 10238 cat <<_LT_EOF 1>&2 10239 10240*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10241*** reliably create shared libraries on SCO systems. Therefore, libtool 10242*** is disabling shared libraries support. We urge you to upgrade GNU 10243*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10244*** your PATH or compiler configuration so that the native linker is 10245*** used, and then restart. 10246 10247_LT_EOF 10248 ;; 10249 *) 10250 # For security reasons, it is highly recommended that you always 10251 # use absolute paths for naming shared libraries, and exclude the 10252 # DT_RUNPATH tag from executables and libraries. But doing so 10253 # requires that you compile everything twice, which is a pain. 10254 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10255 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10256 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10257 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10258 else 10259 ld_shlibs=no 10260 fi 10261 ;; 10262 esac 10263 ;; 10264 10265 sunos4*) 10266 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10267 wlarc= 10268 hardcode_direct=yes 10269 hardcode_shlibpath_var=no 10270 ;; 10271 10272 *) 10273 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10274 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10275 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10276 else 10277 ld_shlibs=no 10278 fi 10279 ;; 10280 esac 10281 10282 if test no = "$ld_shlibs"; then 10283 runpath_var= 10284 hardcode_libdir_flag_spec= 10285 export_dynamic_flag_spec= 10286 whole_archive_flag_spec= 10287 fi 10288 else 10289 # PORTME fill in a description of your system's linker (not GNU ld) 10290 case $host_os in 10291 aix3*) 10292 allow_undefined_flag=unsupported 10293 always_export_symbols=yes 10294 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' 10295 # Note: this linker hardcodes the directories in LIBPATH if there 10296 # are no directories specified by -L. 10297 hardcode_minus_L=yes 10298 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10299 # Neither direct hardcoding nor static linking is supported with a 10300 # broken collect2. 10301 hardcode_direct=unsupported 10302 fi 10303 ;; 10304 10305 aix[4-9]*) 10306 if test ia64 = "$host_cpu"; then 10307 # On IA64, the linker does run time linking by default, so we don't 10308 # have to do anything special. 10309 aix_use_runtimelinking=no 10310 exp_sym_flag='-Bexport' 10311 no_entry_flag= 10312 else 10313 # If we're using GNU nm, then we don't want the "-C" option. 10314 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10315 # Without the "-l" option, or with the "-B" option, AIX nm treats 10316 # weak defined symbols like other global defined symbols, whereas 10317 # GNU nm marks them as "W". 10318 # While the 'weak' keyword is ignored in the Export File, we need 10319 # it in the Import File for the 'aix-soname' feature, so we have 10320 # to replace the "-B" option with "-P" for AIX nm. 10321 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10322 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' 10323 else 10324 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' 10325 fi 10326 aix_use_runtimelinking=no 10327 10328 # Test if we are trying to use run time linking or normal 10329 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10330 # have runtime linking enabled, and use it for executables. 10331 # For shared libraries, we enable/disable runtime linking 10332 # depending on the kind of the shared library created - 10333 # when "with_aix_soname,aix_use_runtimelinking" is: 10334 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10335 # "aix,yes" lib.so shared, rtl:yes, for executables 10336 # lib.a static archive 10337 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10338 # lib.a(lib.so.V) shared, rtl:no, for executables 10339 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10340 # lib.a(lib.so.V) shared, rtl:no 10341 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10342 # lib.a static archive 10343 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10344 for ld_flag in $LDFLAGS; do 10345 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10346 aix_use_runtimelinking=yes 10347 break 10348 fi 10349 done 10350 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10351 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10352 # so we don't have lib.a shared libs to link our executables. 10353 # We have to force runtime linking in this case. 10354 aix_use_runtimelinking=yes 10355 LDFLAGS="$LDFLAGS -Wl,-brtl" 10356 fi 10357 ;; 10358 esac 10359 10360 exp_sym_flag='-bexport' 10361 no_entry_flag='-bnoentry' 10362 fi 10363 10364 # When large executables or shared objects are built, AIX ld can 10365 # have problems creating the table of contents. If linking a library 10366 # or program results in "error TOC overflow" add -mminimal-toc to 10367 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10368 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10369 10370 archive_cmds='' 10371 hardcode_direct=yes 10372 hardcode_direct_absolute=yes 10373 hardcode_libdir_separator=':' 10374 link_all_deplibs=yes 10375 file_list_spec='$wl-f,' 10376 case $with_aix_soname,$aix_use_runtimelinking in 10377 aix,*) ;; # traditional, no import file 10378 svr4,* | *,yes) # use import file 10379 # The Import File defines what to hardcode. 10380 hardcode_direct=no 10381 hardcode_direct_absolute=no 10382 ;; 10383 esac 10384 10385 if test yes = "$GCC"; then 10386 case $host_os in aix4.[012]|aix4.[012].*) 10387 # We only want to do this on AIX 4.2 and lower, the check 10388 # below for broken collect2 doesn't work under 4.3+ 10389 collect2name=`$CC -print-prog-name=collect2` 10390 if test -f "$collect2name" && 10391 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10392 then 10393 # We have reworked collect2 10394 : 10395 else 10396 # We have old collect2 10397 hardcode_direct=unsupported 10398 # It fails to find uninstalled libraries when the uninstalled 10399 # path is not listed in the libpath. Setting hardcode_minus_L 10400 # to unsupported forces relinking 10401 hardcode_minus_L=yes 10402 hardcode_libdir_flag_spec='-L$libdir' 10403 hardcode_libdir_separator= 10404 fi 10405 ;; 10406 esac 10407 shared_flag='-shared' 10408 if test yes = "$aix_use_runtimelinking"; then 10409 shared_flag="$shared_flag "'$wl-G' 10410 fi 10411 # Need to ensure runtime linking is disabled for the traditional 10412 # shared library, or the linker may eventually find shared libraries 10413 # /with/ Import File - we do not want to mix them. 10414 shared_flag_aix='-shared' 10415 shared_flag_svr4='-shared $wl-G' 10416 else 10417 # not using gcc 10418 if test ia64 = "$host_cpu"; then 10419 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10420 # chokes on -Wl,-G. The following line is correct: 10421 shared_flag='-G' 10422 else 10423 if test yes = "$aix_use_runtimelinking"; then 10424 shared_flag='$wl-G' 10425 else 10426 shared_flag='$wl-bM:SRE' 10427 fi 10428 shared_flag_aix='$wl-bM:SRE' 10429 shared_flag_svr4='$wl-G' 10430 fi 10431 fi 10432 10433 export_dynamic_flag_spec='$wl-bexpall' 10434 # It seems that -bexpall does not export symbols beginning with 10435 # underscore (_), so it is better to generate a list of symbols to export. 10436 always_export_symbols=yes 10437 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10438 # Warning - without using the other runtime loading flags (-brtl), 10439 # -berok will link without error, but may produce a broken library. 10440 allow_undefined_flag='-berok' 10441 # Determine the default libpath from the value encoded in an 10442 # empty executable. 10443 if test set = "${lt_cv_aix_libpath+set}"; then 10444 aix_libpath=$lt_cv_aix_libpath 10445else 10446 if ${lt_cv_aix_libpath_+:} false; then : 10447 $as_echo_n "(cached) " >&6 10448else 10449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10450/* end confdefs.h. */ 10451 10452int 10453main () 10454{ 10455 10456 ; 10457 return 0; 10458} 10459_ACEOF 10460if ac_fn_c_try_link "$LINENO"; then : 10461 10462 lt_aix_libpath_sed=' 10463 /Import File Strings/,/^$/ { 10464 /^0/ { 10465 s/^0 *\([^ ]*\) *$/\1/ 10466 p 10467 } 10468 }' 10469 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10470 # Check for a 64-bit object if we didn't find anything. 10471 if test -z "$lt_cv_aix_libpath_"; then 10472 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10473 fi 10474fi 10475rm -f core conftest.err conftest.$ac_objext \ 10476 conftest$ac_exeext conftest.$ac_ext 10477 if test -z "$lt_cv_aix_libpath_"; then 10478 lt_cv_aix_libpath_=/usr/lib:/lib 10479 fi 10480 10481fi 10482 10483 aix_libpath=$lt_cv_aix_libpath_ 10484fi 10485 10486 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10487 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 10488 else 10489 if test ia64 = "$host_cpu"; then 10490 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10491 allow_undefined_flag="-z nodefs" 10492 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" 10493 else 10494 # Determine the default libpath from the value encoded in an 10495 # empty executable. 10496 if test set = "${lt_cv_aix_libpath+set}"; then 10497 aix_libpath=$lt_cv_aix_libpath 10498else 10499 if ${lt_cv_aix_libpath_+:} false; then : 10500 $as_echo_n "(cached) " >&6 10501else 10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10503/* end confdefs.h. */ 10504 10505int 10506main () 10507{ 10508 10509 ; 10510 return 0; 10511} 10512_ACEOF 10513if ac_fn_c_try_link "$LINENO"; then : 10514 10515 lt_aix_libpath_sed=' 10516 /Import File Strings/,/^$/ { 10517 /^0/ { 10518 s/^0 *\([^ ]*\) *$/\1/ 10519 p 10520 } 10521 }' 10522 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10523 # Check for a 64-bit object if we didn't find anything. 10524 if test -z "$lt_cv_aix_libpath_"; then 10525 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10526 fi 10527fi 10528rm -f core conftest.err conftest.$ac_objext \ 10529 conftest$ac_exeext conftest.$ac_ext 10530 if test -z "$lt_cv_aix_libpath_"; then 10531 lt_cv_aix_libpath_=/usr/lib:/lib 10532 fi 10533 10534fi 10535 10536 aix_libpath=$lt_cv_aix_libpath_ 10537fi 10538 10539 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10540 # Warning - without using the other run time loading flags, 10541 # -berok will link without error, but may produce a broken library. 10542 no_undefined_flag=' $wl-bernotok' 10543 allow_undefined_flag=' $wl-berok' 10544 if test yes = "$with_gnu_ld"; then 10545 # We only use this code for GNU lds that support --whole-archive. 10546 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10547 else 10548 # Exported symbols can be pulled into shared objects from archives 10549 whole_archive_flag_spec='$convenience' 10550 fi 10551 archive_cmds_need_lc=yes 10552 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10553 # -brtl affects multiple linker settings, -berok does not and is overridden later 10554 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10555 if test svr4 != "$with_aix_soname"; then 10556 # This is similar to how AIX traditionally builds its shared libraries. 10557 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' 10558 fi 10559 if test aix != "$with_aix_soname"; then 10560 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' 10561 else 10562 # used by -dlpreopen to get the symbols 10563 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10564 fi 10565 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10566 fi 10567 fi 10568 ;; 10569 10570 amigaos*) 10571 case $host_cpu in 10572 powerpc) 10573 # see comment about AmigaOS4 .so support 10574 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10575 archive_expsym_cmds='' 10576 ;; 10577 m68k) 10578 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)' 10579 hardcode_libdir_flag_spec='-L$libdir' 10580 hardcode_minus_L=yes 10581 ;; 10582 esac 10583 ;; 10584 10585 bsdi[45]*) 10586 export_dynamic_flag_spec=-rdynamic 10587 ;; 10588 10589 cygwin* | mingw* | pw32* | cegcc*) 10590 # When not using gcc, we currently assume that we are using 10591 # Microsoft Visual C++. 10592 # hardcode_libdir_flag_spec is actually meaningless, as there is 10593 # no search path for DLLs. 10594 case $cc_basename in 10595 cl*) 10596 # Native MSVC 10597 hardcode_libdir_flag_spec=' ' 10598 allow_undefined_flag=unsupported 10599 always_export_symbols=yes 10600 file_list_spec='@' 10601 # Tell ltmain to make .lib files, not .a files. 10602 libext=lib 10603 # Tell ltmain to make .dll files, not .so files. 10604 shrext_cmds=.dll 10605 # FIXME: Setting linknames here is a bad hack. 10606 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10607 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10608 cp "$export_symbols" "$output_objdir/$soname.def"; 10609 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10610 else 10611 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10612 fi~ 10613 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10614 linknames=' 10615 # The linker will not automatically build a static lib if we build a DLL. 10616 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10617 enable_shared_with_static_runtimes=yes 10618 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10619 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10620 # Don't use ranlib 10621 old_postinstall_cmds='chmod 644 $oldlib' 10622 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10623 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10624 case $lt_outputfile in 10625 *.exe|*.EXE) ;; 10626 *) 10627 lt_outputfile=$lt_outputfile.exe 10628 lt_tool_outputfile=$lt_tool_outputfile.exe 10629 ;; 10630 esac~ 10631 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10632 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10633 $RM "$lt_outputfile.manifest"; 10634 fi' 10635 ;; 10636 *) 10637 # Assume MSVC wrapper 10638 hardcode_libdir_flag_spec=' ' 10639 allow_undefined_flag=unsupported 10640 # Tell ltmain to make .lib files, not .a files. 10641 libext=lib 10642 # Tell ltmain to make .dll files, not .so files. 10643 shrext_cmds=.dll 10644 # FIXME: Setting linknames here is a bad hack. 10645 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10646 # The linker will automatically build a .lib file if we build a DLL. 10647 old_archive_from_new_cmds='true' 10648 # FIXME: Should let the user specify the lib program. 10649 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10650 enable_shared_with_static_runtimes=yes 10651 ;; 10652 esac 10653 ;; 10654 10655 darwin* | rhapsody*) 10656 10657 10658 archive_cmds_need_lc=no 10659 hardcode_direct=no 10660 hardcode_automatic=yes 10661 hardcode_shlibpath_var=unsupported 10662 if test yes = "$lt_cv_ld_force_load"; then 10663 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\"`' 10664 10665 else 10666 whole_archive_flag_spec='' 10667 fi 10668 link_all_deplibs=yes 10669 allow_undefined_flag=$_lt_dar_allow_undefined 10670 case $cc_basename in 10671 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10672 *) _lt_dar_can_shared=$GCC ;; 10673 esac 10674 if test yes = "$_lt_dar_can_shared"; then 10675 output_verbose_link_cmd=func_echo_all 10676 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10677 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10678 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" 10679 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" 10680 10681 else 10682 ld_shlibs=no 10683 fi 10684 10685 ;; 10686 10687 dgux*) 10688 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10689 hardcode_libdir_flag_spec='-L$libdir' 10690 hardcode_shlibpath_var=no 10691 ;; 10692 10693 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10694 # support. Future versions do this automatically, but an explicit c++rt0.o 10695 # does not break anything, and helps significantly (at the cost of a little 10696 # extra space). 10697 freebsd2.2*) 10698 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10699 hardcode_libdir_flag_spec='-R$libdir' 10700 hardcode_direct=yes 10701 hardcode_shlibpath_var=no 10702 ;; 10703 10704 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10705 freebsd2.*) 10706 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10707 hardcode_direct=yes 10708 hardcode_minus_L=yes 10709 hardcode_shlibpath_var=no 10710 ;; 10711 10712 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10713 freebsd* | dragonfly*) 10714 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10715 hardcode_libdir_flag_spec='-R$libdir' 10716 hardcode_direct=yes 10717 hardcode_shlibpath_var=no 10718 ;; 10719 10720 hpux9*) 10721 if test yes = "$GCC"; then 10722 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' 10723 else 10724 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' 10725 fi 10726 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10727 hardcode_libdir_separator=: 10728 hardcode_direct=yes 10729 10730 # hardcode_minus_L: Not really in the search PATH, 10731 # but as the default location of the library. 10732 hardcode_minus_L=yes 10733 export_dynamic_flag_spec='$wl-E' 10734 ;; 10735 10736 hpux10*) 10737 if test yes,no = "$GCC,$with_gnu_ld"; then 10738 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10739 else 10740 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10741 fi 10742 if test no = "$with_gnu_ld"; then 10743 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10744 hardcode_libdir_separator=: 10745 hardcode_direct=yes 10746 hardcode_direct_absolute=yes 10747 export_dynamic_flag_spec='$wl-E' 10748 # hardcode_minus_L: Not really in the search PATH, 10749 # but as the default location of the library. 10750 hardcode_minus_L=yes 10751 fi 10752 ;; 10753 10754 hpux11*) 10755 if test yes,no = "$GCC,$with_gnu_ld"; then 10756 case $host_cpu in 10757 hppa*64*) 10758 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10759 ;; 10760 ia64*) 10761 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10762 ;; 10763 *) 10764 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10765 ;; 10766 esac 10767 else 10768 case $host_cpu in 10769 hppa*64*) 10770 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10771 ;; 10772 ia64*) 10773 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10774 ;; 10775 *) 10776 10777 # Older versions of the 11.00 compiler do not understand -b yet 10778 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10780$as_echo_n "checking if $CC understands -b... " >&6; } 10781if ${lt_cv_prog_compiler__b+:} false; then : 10782 $as_echo_n "(cached) " >&6 10783else 10784 lt_cv_prog_compiler__b=no 10785 save_LDFLAGS=$LDFLAGS 10786 LDFLAGS="$LDFLAGS -b" 10787 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10788 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10789 # The linker can only warn and ignore the option if not recognized 10790 # So say no if there are warnings 10791 if test -s conftest.err; then 10792 # Append any errors to the config.log. 10793 cat conftest.err 1>&5 10794 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10795 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10796 if diff conftest.exp conftest.er2 >/dev/null; then 10797 lt_cv_prog_compiler__b=yes 10798 fi 10799 else 10800 lt_cv_prog_compiler__b=yes 10801 fi 10802 fi 10803 $RM -r conftest* 10804 LDFLAGS=$save_LDFLAGS 10805 10806fi 10807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10808$as_echo "$lt_cv_prog_compiler__b" >&6; } 10809 10810if test yes = "$lt_cv_prog_compiler__b"; then 10811 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10812else 10813 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10814fi 10815 10816 ;; 10817 esac 10818 fi 10819 if test no = "$with_gnu_ld"; then 10820 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10821 hardcode_libdir_separator=: 10822 10823 case $host_cpu in 10824 hppa*64*|ia64*) 10825 hardcode_direct=no 10826 hardcode_shlibpath_var=no 10827 ;; 10828 *) 10829 hardcode_direct=yes 10830 hardcode_direct_absolute=yes 10831 export_dynamic_flag_spec='$wl-E' 10832 10833 # hardcode_minus_L: Not really in the search PATH, 10834 # but as the default location of the library. 10835 hardcode_minus_L=yes 10836 ;; 10837 esac 10838 fi 10839 ;; 10840 10841 irix5* | irix6* | nonstopux*) 10842 if test yes = "$GCC"; then 10843 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' 10844 # Try to use the -exported_symbol ld option, if it does not 10845 # work, assume that -exports_file does not work either and 10846 # implicitly export all symbols. 10847 # This should be the same for all languages, so no per-tag cache variable. 10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10849$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10850if ${lt_cv_irix_exported_symbol+:} false; then : 10851 $as_echo_n "(cached) " >&6 10852else 10853 save_LDFLAGS=$LDFLAGS 10854 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10856/* end confdefs.h. */ 10857int foo (void) { return 0; } 10858_ACEOF 10859if ac_fn_c_try_link "$LINENO"; then : 10860 lt_cv_irix_exported_symbol=yes 10861else 10862 lt_cv_irix_exported_symbol=no 10863fi 10864rm -f core conftest.err conftest.$ac_objext \ 10865 conftest$ac_exeext conftest.$ac_ext 10866 LDFLAGS=$save_LDFLAGS 10867fi 10868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10869$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10870 if test yes = "$lt_cv_irix_exported_symbol"; then 10871 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' 10872 fi 10873 else 10874 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' 10875 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' 10876 fi 10877 archive_cmds_need_lc='no' 10878 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10879 hardcode_libdir_separator=: 10880 inherit_rpath=yes 10881 link_all_deplibs=yes 10882 ;; 10883 10884 linux*) 10885 case $cc_basename in 10886 tcc*) 10887 # Fabrice Bellard et al's Tiny C Compiler 10888 ld_shlibs=yes 10889 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10890 ;; 10891 esac 10892 ;; 10893 10894 netbsd*) 10895 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10896 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10897 else 10898 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10899 fi 10900 hardcode_libdir_flag_spec='-R$libdir' 10901 hardcode_direct=yes 10902 hardcode_shlibpath_var=no 10903 ;; 10904 10905 newsos6) 10906 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10907 hardcode_direct=yes 10908 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10909 hardcode_libdir_separator=: 10910 hardcode_shlibpath_var=no 10911 ;; 10912 10913 *nto* | *qnx*) 10914 ;; 10915 10916 openbsd* | bitrig*) 10917 if test -f /usr/libexec/ld.so; then 10918 hardcode_direct=yes 10919 hardcode_shlibpath_var=no 10920 hardcode_direct_absolute=yes 10921 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10922 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10923 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10924 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10925 export_dynamic_flag_spec='$wl-E' 10926 else 10927 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10928 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10929 fi 10930 else 10931 ld_shlibs=no 10932 fi 10933 ;; 10934 10935 os2*) 10936 hardcode_libdir_flag_spec='-L$libdir' 10937 hardcode_minus_L=yes 10938 allow_undefined_flag=unsupported 10939 shrext_cmds=.dll 10940 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10941 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10942 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10943 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10944 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10945 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10946 emximp -o $lib $output_objdir/$libname.def' 10947 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10948 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10949 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10950 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10951 prefix_cmds="$SED"~ 10952 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10953 prefix_cmds="$prefix_cmds -e 1d"; 10954 fi~ 10955 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10956 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10957 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10958 emximp -o $lib $output_objdir/$libname.def' 10959 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10960 enable_shared_with_static_runtimes=yes 10961 ;; 10962 10963 osf3*) 10964 if test yes = "$GCC"; then 10965 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10966 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' 10967 else 10968 allow_undefined_flag=' -expect_unresolved \*' 10969 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' 10970 fi 10971 archive_cmds_need_lc='no' 10972 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10973 hardcode_libdir_separator=: 10974 ;; 10975 10976 osf4* | osf5*) # as osf3* with the addition of -msym flag 10977 if test yes = "$GCC"; then 10978 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10979 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' 10980 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10981 else 10982 allow_undefined_flag=' -expect_unresolved \*' 10983 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' 10984 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~ 10985 $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' 10986 10987 # Both c and cxx compiler support -rpath directly 10988 hardcode_libdir_flag_spec='-rpath $libdir' 10989 fi 10990 archive_cmds_need_lc='no' 10991 hardcode_libdir_separator=: 10992 ;; 10993 10994 solaris*) 10995 no_undefined_flag=' -z defs' 10996 if test yes = "$GCC"; then 10997 wlarc='$wl' 10998 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10999 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11000 $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' 11001 else 11002 case `$CC -V 2>&1` in 11003 *"Compilers 5.0"*) 11004 wlarc='' 11005 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11007 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11008 ;; 11009 *) 11010 wlarc='$wl' 11011 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11012 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11013 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11014 ;; 11015 esac 11016 fi 11017 hardcode_libdir_flag_spec='-R$libdir' 11018 hardcode_shlibpath_var=no 11019 case $host_os in 11020 solaris2.[0-5] | solaris2.[0-5].*) ;; 11021 *) 11022 # The compiler driver will combine and reorder linker options, 11023 # but understands '-z linker_flag'. GCC discards it without '$wl', 11024 # but is careful enough not to reorder. 11025 # Supported since Solaris 2.6 (maybe 2.5.1?) 11026 if test yes = "$GCC"; then 11027 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11028 else 11029 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11030 fi 11031 ;; 11032 esac 11033 link_all_deplibs=yes 11034 ;; 11035 11036 sunos4*) 11037 if test sequent = "$host_vendor"; then 11038 # Use $CC to link under sequent, because it throws in some extra .o 11039 # files that make .init and .fini sections work. 11040 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11041 else 11042 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11043 fi 11044 hardcode_libdir_flag_spec='-L$libdir' 11045 hardcode_direct=yes 11046 hardcode_minus_L=yes 11047 hardcode_shlibpath_var=no 11048 ;; 11049 11050 sysv4) 11051 case $host_vendor in 11052 sni) 11053 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11054 hardcode_direct=yes # is this really true??? 11055 ;; 11056 siemens) 11057 ## LD is ld it makes a PLAMLIB 11058 ## CC just makes a GrossModule. 11059 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11060 reload_cmds='$CC -r -o $output$reload_objs' 11061 hardcode_direct=no 11062 ;; 11063 motorola) 11064 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11065 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11066 ;; 11067 esac 11068 runpath_var='LD_RUN_PATH' 11069 hardcode_shlibpath_var=no 11070 ;; 11071 11072 sysv4.3*) 11073 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11074 hardcode_shlibpath_var=no 11075 export_dynamic_flag_spec='-Bexport' 11076 ;; 11077 11078 sysv4*MP*) 11079 if test -d /usr/nec; then 11080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11081 hardcode_shlibpath_var=no 11082 runpath_var=LD_RUN_PATH 11083 hardcode_runpath_var=yes 11084 ld_shlibs=yes 11085 fi 11086 ;; 11087 11088 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11089 no_undefined_flag='$wl-z,text' 11090 archive_cmds_need_lc=no 11091 hardcode_shlibpath_var=no 11092 runpath_var='LD_RUN_PATH' 11093 11094 if test yes = "$GCC"; then 11095 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11096 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11097 else 11098 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11099 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11100 fi 11101 ;; 11102 11103 sysv5* | sco3.2v5* | sco5v6*) 11104 # Note: We CANNOT use -z defs as we might desire, because we do not 11105 # link with -lc, and that would cause any symbols used from libc to 11106 # always be unresolved, which means just about no library would 11107 # ever link correctly. If we're not using GNU ld we use -z text 11108 # though, which does catch some bad symbols but isn't as heavy-handed 11109 # as -z defs. 11110 no_undefined_flag='$wl-z,text' 11111 allow_undefined_flag='$wl-z,nodefs' 11112 archive_cmds_need_lc=no 11113 hardcode_shlibpath_var=no 11114 hardcode_libdir_flag_spec='$wl-R,$libdir' 11115 hardcode_libdir_separator=':' 11116 link_all_deplibs=yes 11117 export_dynamic_flag_spec='$wl-Bexport' 11118 runpath_var='LD_RUN_PATH' 11119 11120 if test yes = "$GCC"; then 11121 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11122 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11123 else 11124 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11125 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11126 fi 11127 ;; 11128 11129 uts4*) 11130 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11131 hardcode_libdir_flag_spec='-L$libdir' 11132 hardcode_shlibpath_var=no 11133 ;; 11134 11135 *) 11136 ld_shlibs=no 11137 ;; 11138 esac 11139 11140 if test sni = "$host_vendor"; then 11141 case $host in 11142 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11143 export_dynamic_flag_spec='$wl-Blargedynsym' 11144 ;; 11145 esac 11146 fi 11147 fi 11148 11149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11150$as_echo "$ld_shlibs" >&6; } 11151test no = "$ld_shlibs" && can_build_shared=no 11152 11153with_gnu_ld=$with_gnu_ld 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169# 11170# Do we need to explicitly link libc? 11171# 11172case "x$archive_cmds_need_lc" in 11173x|xyes) 11174 # Assume -lc should be added 11175 archive_cmds_need_lc=yes 11176 11177 if test yes,yes = "$GCC,$enable_shared"; then 11178 case $archive_cmds in 11179 *'~'*) 11180 # FIXME: we may have to deal with multi-command sequences. 11181 ;; 11182 '$CC '*) 11183 # Test whether the compiler implicitly links with -lc since on some 11184 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11185 # to ld, don't add -lc before -lgcc. 11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11187$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11188if ${lt_cv_archive_cmds_need_lc+:} false; then : 11189 $as_echo_n "(cached) " >&6 11190else 11191 $RM conftest* 11192 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11193 11194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11195 (eval $ac_compile) 2>&5 11196 ac_status=$? 11197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11198 test $ac_status = 0; } 2>conftest.err; then 11199 soname=conftest 11200 lib=conftest 11201 libobjs=conftest.$ac_objext 11202 deplibs= 11203 wl=$lt_prog_compiler_wl 11204 pic_flag=$lt_prog_compiler_pic 11205 compiler_flags=-v 11206 linker_flags=-v 11207 verstring= 11208 output_objdir=. 11209 libname=conftest 11210 lt_save_allow_undefined_flag=$allow_undefined_flag 11211 allow_undefined_flag= 11212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11213 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11214 ac_status=$? 11215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11216 test $ac_status = 0; } 11217 then 11218 lt_cv_archive_cmds_need_lc=no 11219 else 11220 lt_cv_archive_cmds_need_lc=yes 11221 fi 11222 allow_undefined_flag=$lt_save_allow_undefined_flag 11223 else 11224 cat conftest.err 1>&5 11225 fi 11226 $RM conftest* 11227 11228fi 11229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11230$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11231 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11232 ;; 11233 esac 11234 fi 11235 ;; 11236esac 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11390$as_echo_n "checking dynamic linker characteristics... " >&6; } 11391 11392if test yes = "$GCC"; then 11393 case $host_os in 11394 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11395 *) lt_awk_arg='/^libraries:/' ;; 11396 esac 11397 case $host_os in 11398 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11399 *) lt_sed_strip_eq='s|=/|/|g' ;; 11400 esac 11401 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11402 case $lt_search_path_spec in 11403 *\;*) 11404 # if the path contains ";" then we assume it to be the separator 11405 # otherwise default to the standard path separator (i.e. ":") - it is 11406 # assumed that no part of a normal pathname contains ";" but that should 11407 # okay in the real world where ";" in dirpaths is itself problematic. 11408 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11409 ;; 11410 *) 11411 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11412 ;; 11413 esac 11414 # Ok, now we have the path, separated by spaces, we can step through it 11415 # and add multilib dir if necessary... 11416 lt_tmp_lt_search_path_spec= 11417 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11418 # ...but if some path component already ends with the multilib dir we assume 11419 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11420 case "$lt_multi_os_dir; $lt_search_path_spec " in 11421 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11422 lt_multi_os_dir= 11423 ;; 11424 esac 11425 for lt_sys_path in $lt_search_path_spec; do 11426 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11427 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11428 elif test -n "$lt_multi_os_dir"; then 11429 test -d "$lt_sys_path" && \ 11430 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11431 fi 11432 done 11433 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11434BEGIN {RS = " "; FS = "/|\n";} { 11435 lt_foo = ""; 11436 lt_count = 0; 11437 for (lt_i = NF; lt_i > 0; lt_i--) { 11438 if ($lt_i != "" && $lt_i != ".") { 11439 if ($lt_i == "..") { 11440 lt_count++; 11441 } else { 11442 if (lt_count == 0) { 11443 lt_foo = "/" $lt_i lt_foo; 11444 } else { 11445 lt_count--; 11446 } 11447 } 11448 } 11449 } 11450 if (lt_foo != "") { lt_freq[lt_foo]++; } 11451 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11452}'` 11453 # AWK program above erroneously prepends '/' to C:/dos/paths 11454 # for these hosts. 11455 case $host_os in 11456 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11457 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11458 esac 11459 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11460else 11461 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11462fi 11463library_names_spec= 11464libname_spec='lib$name' 11465soname_spec= 11466shrext_cmds=.so 11467postinstall_cmds= 11468postuninstall_cmds= 11469finish_cmds= 11470finish_eval= 11471shlibpath_var= 11472shlibpath_overrides_runpath=unknown 11473version_type=none 11474dynamic_linker="$host_os ld.so" 11475sys_lib_dlsearch_path_spec="/lib /usr/lib" 11476need_lib_prefix=unknown 11477hardcode_into_libs=no 11478 11479# when you set need_version to no, make sure it does not cause -set_version 11480# flags to be left without arguments 11481need_version=unknown 11482 11483 11484 11485case $host_os in 11486aix3*) 11487 version_type=linux # correct to gnu/linux during the next big refactor 11488 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11489 shlibpath_var=LIBPATH 11490 11491 # AIX 3 has no versioning support, so we append a major version to the name. 11492 soname_spec='$libname$release$shared_ext$major' 11493 ;; 11494 11495aix[4-9]*) 11496 version_type=linux # correct to gnu/linux during the next big refactor 11497 need_lib_prefix=no 11498 need_version=no 11499 hardcode_into_libs=yes 11500 if test ia64 = "$host_cpu"; then 11501 # AIX 5 supports IA64 11502 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11503 shlibpath_var=LD_LIBRARY_PATH 11504 else 11505 # With GCC up to 2.95.x, collect2 would create an import file 11506 # for dependence libraries. The import file would start with 11507 # the line '#! .'. This would cause the generated library to 11508 # depend on '.', always an invalid library. This was fixed in 11509 # development snapshots of GCC prior to 3.0. 11510 case $host_os in 11511 aix4 | aix4.[01] | aix4.[01].*) 11512 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11513 echo ' yes ' 11514 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11515 : 11516 else 11517 can_build_shared=no 11518 fi 11519 ;; 11520 esac 11521 # Using Import Files as archive members, it is possible to support 11522 # filename-based versioning of shared library archives on AIX. While 11523 # this would work for both with and without runtime linking, it will 11524 # prevent static linking of such archives. So we do filename-based 11525 # shared library versioning with .so extension only, which is used 11526 # when both runtime linking and shared linking is enabled. 11527 # Unfortunately, runtime linking may impact performance, so we do 11528 # not want this to be the default eventually. Also, we use the 11529 # versioned .so libs for executables only if there is the -brtl 11530 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11531 # To allow for filename-based versioning support, we need to create 11532 # libNAME.so.V as an archive file, containing: 11533 # *) an Import File, referring to the versioned filename of the 11534 # archive as well as the shared archive member, telling the 11535 # bitwidth (32 or 64) of that shared object, and providing the 11536 # list of exported symbols of that shared object, eventually 11537 # decorated with the 'weak' keyword 11538 # *) the shared object with the F_LOADONLY flag set, to really avoid 11539 # it being seen by the linker. 11540 # At run time we better use the real file rather than another symlink, 11541 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11542 11543 case $with_aix_soname,$aix_use_runtimelinking in 11544 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11545 # soname into executable. Probably we can add versioning support to 11546 # collect2, so additional links can be useful in future. 11547 aix,yes) # traditional libtool 11548 dynamic_linker='AIX unversionable lib.so' 11549 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11550 # instead of lib<name>.a to let people know that these are not 11551 # typical AIX shared libraries. 11552 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11553 ;; 11554 aix,no) # traditional AIX only 11555 dynamic_linker='AIX lib.a(lib.so.V)' 11556 # We preserve .a as extension for shared libraries through AIX4.2 11557 # and later when we are not doing run time linking. 11558 library_names_spec='$libname$release.a $libname.a' 11559 soname_spec='$libname$release$shared_ext$major' 11560 ;; 11561 svr4,*) # full svr4 only 11562 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11563 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11564 # We do not specify a path in Import Files, so LIBPATH fires. 11565 shlibpath_overrides_runpath=yes 11566 ;; 11567 *,yes) # both, prefer svr4 11568 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11569 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11570 # unpreferred sharedlib libNAME.a needs extra handling 11571 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"' 11572 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"' 11573 # We do not specify a path in Import Files, so LIBPATH fires. 11574 shlibpath_overrides_runpath=yes 11575 ;; 11576 *,no) # both, prefer aix 11577 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11578 library_names_spec='$libname$release.a $libname.a' 11579 soname_spec='$libname$release$shared_ext$major' 11580 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11581 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)' 11582 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"' 11583 ;; 11584 esac 11585 shlibpath_var=LIBPATH 11586 fi 11587 ;; 11588 11589amigaos*) 11590 case $host_cpu in 11591 powerpc) 11592 # Since July 2007 AmigaOS4 officially supports .so libraries. 11593 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11594 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11595 ;; 11596 m68k) 11597 library_names_spec='$libname.ixlibrary $libname.a' 11598 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11599 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' 11600 ;; 11601 esac 11602 ;; 11603 11604beos*) 11605 library_names_spec='$libname$shared_ext' 11606 dynamic_linker="$host_os ld.so" 11607 shlibpath_var=LIBRARY_PATH 11608 ;; 11609 11610bsdi[45]*) 11611 version_type=linux # correct to gnu/linux during the next big refactor 11612 need_version=no 11613 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11614 soname_spec='$libname$release$shared_ext$major' 11615 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11616 shlibpath_var=LD_LIBRARY_PATH 11617 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11618 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11619 # the default ld.so.conf also contains /usr/contrib/lib and 11620 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11621 # libtool to hard-code these into programs 11622 ;; 11623 11624cygwin* | mingw* | pw32* | cegcc*) 11625 version_type=windows 11626 shrext_cmds=.dll 11627 need_version=no 11628 need_lib_prefix=no 11629 11630 case $GCC,$cc_basename in 11631 yes,*) 11632 # gcc 11633 library_names_spec='$libname.dll.a' 11634 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11635 postinstall_cmds='base_file=`basename \$file`~ 11636 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11637 dldir=$destdir/`dirname \$dlpath`~ 11638 test -d \$dldir || mkdir -p \$dldir~ 11639 $install_prog $dir/$dlname \$dldir/$dlname~ 11640 chmod a+x \$dldir/$dlname~ 11641 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11642 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11643 fi' 11644 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11645 dlpath=$dir/\$dldll~ 11646 $RM \$dlpath' 11647 shlibpath_overrides_runpath=yes 11648 11649 case $host_os in 11650 cygwin*) 11651 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11652 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11653 11654 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11655 ;; 11656 mingw* | cegcc*) 11657 # MinGW DLLs use traditional 'lib' prefix 11658 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11659 ;; 11660 pw32*) 11661 # pw32 DLLs use 'pw' prefix rather than 'lib' 11662 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11663 ;; 11664 esac 11665 dynamic_linker='Win32 ld.exe' 11666 ;; 11667 11668 *,cl*) 11669 # Native MSVC 11670 libname_spec='$name' 11671 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11672 library_names_spec='$libname.dll.lib' 11673 11674 case $build_os in 11675 mingw*) 11676 sys_lib_search_path_spec= 11677 lt_save_ifs=$IFS 11678 IFS=';' 11679 for lt_path in $LIB 11680 do 11681 IFS=$lt_save_ifs 11682 # Let DOS variable expansion print the short 8.3 style file name. 11683 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11684 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11685 done 11686 IFS=$lt_save_ifs 11687 # Convert to MSYS style. 11688 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11689 ;; 11690 cygwin*) 11691 # Convert to unix form, then to dos form, then back to unix form 11692 # but this time dos style (no spaces!) so that the unix form looks 11693 # like /cygdrive/c/PROGRA~1:/cygdr... 11694 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11695 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11696 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11697 ;; 11698 *) 11699 sys_lib_search_path_spec=$LIB 11700 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11701 # It is most probably a Windows format PATH. 11702 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11703 else 11704 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11705 fi 11706 # FIXME: find the short name or the path components, as spaces are 11707 # common. (e.g. "Program Files" -> "PROGRA~1") 11708 ;; 11709 esac 11710 11711 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11712 postinstall_cmds='base_file=`basename \$file`~ 11713 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11714 dldir=$destdir/`dirname \$dlpath`~ 11715 test -d \$dldir || mkdir -p \$dldir~ 11716 $install_prog $dir/$dlname \$dldir/$dlname' 11717 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11718 dlpath=$dir/\$dldll~ 11719 $RM \$dlpath' 11720 shlibpath_overrides_runpath=yes 11721 dynamic_linker='Win32 link.exe' 11722 ;; 11723 11724 *) 11725 # Assume MSVC wrapper 11726 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11727 dynamic_linker='Win32 ld.exe' 11728 ;; 11729 esac 11730 # FIXME: first we should search . and the directory the executable is in 11731 shlibpath_var=PATH 11732 ;; 11733 11734darwin* | rhapsody*) 11735 dynamic_linker="$host_os dyld" 11736 version_type=darwin 11737 need_lib_prefix=no 11738 need_version=no 11739 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11740 soname_spec='$libname$release$major$shared_ext' 11741 shlibpath_overrides_runpath=yes 11742 shlibpath_var=DYLD_LIBRARY_PATH 11743 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11744 11745 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11746 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11747 ;; 11748 11749dgux*) 11750 version_type=linux # correct to gnu/linux during the next big refactor 11751 need_lib_prefix=no 11752 need_version=no 11753 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11754 soname_spec='$libname$release$shared_ext$major' 11755 shlibpath_var=LD_LIBRARY_PATH 11756 ;; 11757 11758freebsd* | dragonfly*) 11759 # DragonFly does not have aout. When/if they implement a new 11760 # versioning mechanism, adjust this. 11761 if test -x /usr/bin/objformat; then 11762 objformat=`/usr/bin/objformat` 11763 else 11764 case $host_os in 11765 freebsd[23].*) objformat=aout ;; 11766 *) objformat=elf ;; 11767 esac 11768 fi 11769 version_type=freebsd-$objformat 11770 case $version_type in 11771 freebsd-elf*) 11772 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11773 soname_spec='$libname$release$shared_ext$major' 11774 need_version=no 11775 need_lib_prefix=no 11776 ;; 11777 freebsd-*) 11778 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11779 need_version=yes 11780 ;; 11781 esac 11782 shlibpath_var=LD_LIBRARY_PATH 11783 case $host_os in 11784 freebsd2.*) 11785 shlibpath_overrides_runpath=yes 11786 ;; 11787 freebsd3.[01]* | freebsdelf3.[01]*) 11788 shlibpath_overrides_runpath=yes 11789 hardcode_into_libs=yes 11790 ;; 11791 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11792 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11793 shlibpath_overrides_runpath=no 11794 hardcode_into_libs=yes 11795 ;; 11796 *) # from 4.6 on, and DragonFly 11797 shlibpath_overrides_runpath=yes 11798 hardcode_into_libs=yes 11799 ;; 11800 esac 11801 ;; 11802 11803haiku*) 11804 version_type=linux # correct to gnu/linux during the next big refactor 11805 need_lib_prefix=no 11806 need_version=no 11807 dynamic_linker="$host_os runtime_loader" 11808 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11809 soname_spec='$libname$release$shared_ext$major' 11810 shlibpath_var=LIBRARY_PATH 11811 shlibpath_overrides_runpath=no 11812 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11813 hardcode_into_libs=yes 11814 ;; 11815 11816hpux9* | hpux10* | hpux11*) 11817 # Give a soname corresponding to the major version so that dld.sl refuses to 11818 # link against other versions. 11819 version_type=sunos 11820 need_lib_prefix=no 11821 need_version=no 11822 case $host_cpu in 11823 ia64*) 11824 shrext_cmds='.so' 11825 hardcode_into_libs=yes 11826 dynamic_linker="$host_os dld.so" 11827 shlibpath_var=LD_LIBRARY_PATH 11828 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11829 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11830 soname_spec='$libname$release$shared_ext$major' 11831 if test 32 = "$HPUX_IA64_MODE"; then 11832 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11833 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11834 else 11835 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11836 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11837 fi 11838 ;; 11839 hppa*64*) 11840 shrext_cmds='.sl' 11841 hardcode_into_libs=yes 11842 dynamic_linker="$host_os dld.sl" 11843 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11844 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11845 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11846 soname_spec='$libname$release$shared_ext$major' 11847 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11848 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11849 ;; 11850 *) 11851 shrext_cmds='.sl' 11852 dynamic_linker="$host_os dld.sl" 11853 shlibpath_var=SHLIB_PATH 11854 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11855 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11856 soname_spec='$libname$release$shared_ext$major' 11857 ;; 11858 esac 11859 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11860 postinstall_cmds='chmod 555 $lib' 11861 # or fails outright, so override atomically: 11862 install_override_mode=555 11863 ;; 11864 11865interix[3-9]*) 11866 version_type=linux # correct to gnu/linux during the next big refactor 11867 need_lib_prefix=no 11868 need_version=no 11869 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11870 soname_spec='$libname$release$shared_ext$major' 11871 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11872 shlibpath_var=LD_LIBRARY_PATH 11873 shlibpath_overrides_runpath=no 11874 hardcode_into_libs=yes 11875 ;; 11876 11877irix5* | irix6* | nonstopux*) 11878 case $host_os in 11879 nonstopux*) version_type=nonstopux ;; 11880 *) 11881 if test yes = "$lt_cv_prog_gnu_ld"; then 11882 version_type=linux # correct to gnu/linux during the next big refactor 11883 else 11884 version_type=irix 11885 fi ;; 11886 esac 11887 need_lib_prefix=no 11888 need_version=no 11889 soname_spec='$libname$release$shared_ext$major' 11890 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11891 case $host_os in 11892 irix5* | nonstopux*) 11893 libsuff= shlibsuff= 11894 ;; 11895 *) 11896 case $LD in # libtool.m4 will add one of these switches to LD 11897 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11898 libsuff= shlibsuff= libmagic=32-bit;; 11899 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11900 libsuff=32 shlibsuff=N32 libmagic=N32;; 11901 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11902 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11903 *) libsuff= shlibsuff= libmagic=never-match;; 11904 esac 11905 ;; 11906 esac 11907 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11908 shlibpath_overrides_runpath=no 11909 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11910 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11911 hardcode_into_libs=yes 11912 ;; 11913 11914# No shared lib support for Linux oldld, aout, or coff. 11915linux*oldld* | linux*aout* | linux*coff*) 11916 dynamic_linker=no 11917 ;; 11918 11919linux*android*) 11920 version_type=none # Android doesn't support versioned libraries. 11921 need_lib_prefix=no 11922 need_version=no 11923 library_names_spec='$libname$release$shared_ext' 11924 soname_spec='$libname$release$shared_ext' 11925 finish_cmds= 11926 shlibpath_var=LD_LIBRARY_PATH 11927 shlibpath_overrides_runpath=yes 11928 11929 # This implies no fast_install, which is unacceptable. 11930 # Some rework will be needed to allow for fast_install 11931 # before this can be enabled. 11932 hardcode_into_libs=yes 11933 11934 dynamic_linker='Android linker' 11935 # Don't embed -rpath directories since the linker doesn't support them. 11936 hardcode_libdir_flag_spec='-L$libdir' 11937 ;; 11938 11939# This must be glibc/ELF. 11940linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11941 version_type=linux # correct to gnu/linux during the next big refactor 11942 need_lib_prefix=no 11943 need_version=no 11944 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11945 soname_spec='$libname$release$shared_ext$major' 11946 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11947 shlibpath_var=LD_LIBRARY_PATH 11948 shlibpath_overrides_runpath=no 11949 11950 # Some binutils ld are patched to set DT_RUNPATH 11951 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11952 $as_echo_n "(cached) " >&6 11953else 11954 lt_cv_shlibpath_overrides_runpath=no 11955 save_LDFLAGS=$LDFLAGS 11956 save_libdir=$libdir 11957 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11958 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11960/* end confdefs.h. */ 11961 11962int 11963main () 11964{ 11965 11966 ; 11967 return 0; 11968} 11969_ACEOF 11970if ac_fn_c_try_link "$LINENO"; then : 11971 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11972 lt_cv_shlibpath_overrides_runpath=yes 11973fi 11974fi 11975rm -f core conftest.err conftest.$ac_objext \ 11976 conftest$ac_exeext conftest.$ac_ext 11977 LDFLAGS=$save_LDFLAGS 11978 libdir=$save_libdir 11979 11980fi 11981 11982 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11983 11984 # This implies no fast_install, which is unacceptable. 11985 # Some rework will be needed to allow for fast_install 11986 # before this can be enabled. 11987 hardcode_into_libs=yes 11988 11989 # Ideally, we could use ldconfig to report *all* directores which are 11990 # searched for libraries, however this is still not possible. Aside from not 11991 # being certain /sbin/ldconfig is available, command 11992 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11993 # even though it is searched at run-time. Try to do the best guess by 11994 # appending ld.so.conf contents (and includes) to the search path. 11995 if test -f /etc/ld.so.conf; then 11996 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' ' '` 11997 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11998 fi 11999 12000 # We used to test for /lib/ld.so.1 and disable shared libraries on 12001 # powerpc, because MkLinux only supported shared libraries with the 12002 # GNU dynamic linker. Since this was broken with cross compilers, 12003 # most powerpc-linux boxes support dynamic linking these days and 12004 # people can always --disable-shared, the test was removed, and we 12005 # assume the GNU/Linux dynamic linker is in use. 12006 dynamic_linker='GNU/Linux ld.so' 12007 ;; 12008 12009netbsd*) 12010 version_type=sunos 12011 need_lib_prefix=no 12012 need_version=no 12013 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12014 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12015 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12016 dynamic_linker='NetBSD (a.out) ld.so' 12017 else 12018 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12019 soname_spec='$libname$release$shared_ext$major' 12020 dynamic_linker='NetBSD ld.elf_so' 12021 fi 12022 shlibpath_var=LD_LIBRARY_PATH 12023 shlibpath_overrides_runpath=yes 12024 hardcode_into_libs=yes 12025 ;; 12026 12027newsos6) 12028 version_type=linux # correct to gnu/linux during the next big refactor 12029 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12030 shlibpath_var=LD_LIBRARY_PATH 12031 shlibpath_overrides_runpath=yes 12032 ;; 12033 12034*nto* | *qnx*) 12035 version_type=qnx 12036 need_lib_prefix=no 12037 need_version=no 12038 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12039 soname_spec='$libname$release$shared_ext$major' 12040 shlibpath_var=LD_LIBRARY_PATH 12041 shlibpath_overrides_runpath=no 12042 hardcode_into_libs=yes 12043 dynamic_linker='ldqnx.so' 12044 ;; 12045 12046openbsd* | bitrig*) 12047 version_type=sunos 12048 sys_lib_dlsearch_path_spec=/usr/lib 12049 need_lib_prefix=no 12050 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12051 need_version=no 12052 else 12053 need_version=yes 12054 fi 12055 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12056 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12057 shlibpath_var=LD_LIBRARY_PATH 12058 shlibpath_overrides_runpath=yes 12059 ;; 12060 12061os2*) 12062 libname_spec='$name' 12063 version_type=windows 12064 shrext_cmds=.dll 12065 need_version=no 12066 need_lib_prefix=no 12067 # OS/2 can only load a DLL with a base name of 8 characters or less. 12068 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12069 v=$($ECHO $release$versuffix | tr -d .-); 12070 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12071 $ECHO $n$v`$shared_ext' 12072 library_names_spec='${libname}_dll.$libext' 12073 dynamic_linker='OS/2 ld.exe' 12074 shlibpath_var=BEGINLIBPATH 12075 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12076 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12077 postinstall_cmds='base_file=`basename \$file`~ 12078 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12079 dldir=$destdir/`dirname \$dlpath`~ 12080 test -d \$dldir || mkdir -p \$dldir~ 12081 $install_prog $dir/$dlname \$dldir/$dlname~ 12082 chmod a+x \$dldir/$dlname~ 12083 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12084 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12085 fi' 12086 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12087 dlpath=$dir/\$dldll~ 12088 $RM \$dlpath' 12089 ;; 12090 12091osf3* | osf4* | osf5*) 12092 version_type=osf 12093 need_lib_prefix=no 12094 need_version=no 12095 soname_spec='$libname$release$shared_ext$major' 12096 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12097 shlibpath_var=LD_LIBRARY_PATH 12098 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12099 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12100 ;; 12101 12102rdos*) 12103 dynamic_linker=no 12104 ;; 12105 12106solaris*) 12107 version_type=linux # correct to gnu/linux during the next big refactor 12108 need_lib_prefix=no 12109 need_version=no 12110 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12111 soname_spec='$libname$release$shared_ext$major' 12112 shlibpath_var=LD_LIBRARY_PATH 12113 shlibpath_overrides_runpath=yes 12114 hardcode_into_libs=yes 12115 # ldd complains unless libraries are executable 12116 postinstall_cmds='chmod +x $lib' 12117 ;; 12118 12119sunos4*) 12120 version_type=sunos 12121 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12122 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12123 shlibpath_var=LD_LIBRARY_PATH 12124 shlibpath_overrides_runpath=yes 12125 if test yes = "$with_gnu_ld"; then 12126 need_lib_prefix=no 12127 fi 12128 need_version=yes 12129 ;; 12130 12131sysv4 | sysv4.3*) 12132 version_type=linux # correct to gnu/linux during the next big refactor 12133 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12134 soname_spec='$libname$release$shared_ext$major' 12135 shlibpath_var=LD_LIBRARY_PATH 12136 case $host_vendor in 12137 sni) 12138 shlibpath_overrides_runpath=no 12139 need_lib_prefix=no 12140 runpath_var=LD_RUN_PATH 12141 ;; 12142 siemens) 12143 need_lib_prefix=no 12144 ;; 12145 motorola) 12146 need_lib_prefix=no 12147 need_version=no 12148 shlibpath_overrides_runpath=no 12149 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12150 ;; 12151 esac 12152 ;; 12153 12154sysv4*MP*) 12155 if test -d /usr/nec; then 12156 version_type=linux # correct to gnu/linux during the next big refactor 12157 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12158 soname_spec='$libname$shared_ext.$major' 12159 shlibpath_var=LD_LIBRARY_PATH 12160 fi 12161 ;; 12162 12163sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12164 version_type=sco 12165 need_lib_prefix=no 12166 need_version=no 12167 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12168 soname_spec='$libname$release$shared_ext$major' 12169 shlibpath_var=LD_LIBRARY_PATH 12170 shlibpath_overrides_runpath=yes 12171 hardcode_into_libs=yes 12172 if test yes = "$with_gnu_ld"; then 12173 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12174 else 12175 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12176 case $host_os in 12177 sco3.2v5*) 12178 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12179 ;; 12180 esac 12181 fi 12182 sys_lib_dlsearch_path_spec='/usr/lib' 12183 ;; 12184 12185tpf*) 12186 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12187 version_type=linux # correct to gnu/linux during the next big refactor 12188 need_lib_prefix=no 12189 need_version=no 12190 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12191 shlibpath_var=LD_LIBRARY_PATH 12192 shlibpath_overrides_runpath=no 12193 hardcode_into_libs=yes 12194 ;; 12195 12196uts4*) 12197 version_type=linux # correct to gnu/linux during the next big refactor 12198 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12199 soname_spec='$libname$release$shared_ext$major' 12200 shlibpath_var=LD_LIBRARY_PATH 12201 ;; 12202 12203*) 12204 dynamic_linker=no 12205 ;; 12206esac 12207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12208$as_echo "$dynamic_linker" >&6; } 12209test no = "$dynamic_linker" && can_build_shared=no 12210 12211variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12212if test yes = "$GCC"; then 12213 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12214fi 12215 12216if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12217 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12218fi 12219 12220if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12221 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12222fi 12223 12224# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12225configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12226 12227# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12228func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12229 12230# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12231configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12330$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12331hardcode_action= 12332if test -n "$hardcode_libdir_flag_spec" || 12333 test -n "$runpath_var" || 12334 test yes = "$hardcode_automatic"; then 12335 12336 # We can hardcode non-existent directories. 12337 if test no != "$hardcode_direct" && 12338 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12339 # have to relink, otherwise we might link with an installed library 12340 # when we should be linking with a yet-to-be-installed one 12341 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12342 test no != "$hardcode_minus_L"; then 12343 # Linking always hardcodes the temporary library directory. 12344 hardcode_action=relink 12345 else 12346 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12347 hardcode_action=immediate 12348 fi 12349else 12350 # We cannot hardcode anything, or else we can only hardcode existing 12351 # directories. 12352 hardcode_action=unsupported 12353fi 12354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12355$as_echo "$hardcode_action" >&6; } 12356 12357if test relink = "$hardcode_action" || 12358 test yes = "$inherit_rpath"; then 12359 # Fast installation is not supported 12360 enable_fast_install=no 12361elif test yes = "$shlibpath_overrides_runpath" || 12362 test no = "$enable_shared"; then 12363 # Fast installation is not necessary 12364 enable_fast_install=needless 12365fi 12366 12367 12368 12369 12370 12371 12372 if test yes != "$enable_dlopen"; then 12373 enable_dlopen=unknown 12374 enable_dlopen_self=unknown 12375 enable_dlopen_self_static=unknown 12376else 12377 lt_cv_dlopen=no 12378 lt_cv_dlopen_libs= 12379 12380 case $host_os in 12381 beos*) 12382 lt_cv_dlopen=load_add_on 12383 lt_cv_dlopen_libs= 12384 lt_cv_dlopen_self=yes 12385 ;; 12386 12387 mingw* | pw32* | cegcc*) 12388 lt_cv_dlopen=LoadLibrary 12389 lt_cv_dlopen_libs= 12390 ;; 12391 12392 cygwin*) 12393 lt_cv_dlopen=dlopen 12394 lt_cv_dlopen_libs= 12395 ;; 12396 12397 darwin*) 12398 # if libdl is installed we need to link against it 12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12400$as_echo_n "checking for dlopen in -ldl... " >&6; } 12401if ${ac_cv_lib_dl_dlopen+:} false; then : 12402 $as_echo_n "(cached) " >&6 12403else 12404 ac_check_lib_save_LIBS=$LIBS 12405LIBS="-ldl $LIBS" 12406cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12407/* end confdefs.h. */ 12408 12409/* Override any GCC internal prototype to avoid an error. 12410 Use char because int might match the return type of a GCC 12411 builtin and then its argument prototype would still apply. */ 12412#ifdef __cplusplus 12413extern "C" 12414#endif 12415char dlopen (); 12416int 12417main () 12418{ 12419return dlopen (); 12420 ; 12421 return 0; 12422} 12423_ACEOF 12424if ac_fn_c_try_link "$LINENO"; then : 12425 ac_cv_lib_dl_dlopen=yes 12426else 12427 ac_cv_lib_dl_dlopen=no 12428fi 12429rm -f core conftest.err conftest.$ac_objext \ 12430 conftest$ac_exeext conftest.$ac_ext 12431LIBS=$ac_check_lib_save_LIBS 12432fi 12433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12434$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12435if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12436 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12437else 12438 12439 lt_cv_dlopen=dyld 12440 lt_cv_dlopen_libs= 12441 lt_cv_dlopen_self=yes 12442 12443fi 12444 12445 ;; 12446 12447 tpf*) 12448 # Don't try to run any link tests for TPF. We know it's impossible 12449 # because TPF is a cross-compiler, and we know how we open DSOs. 12450 lt_cv_dlopen=dlopen 12451 lt_cv_dlopen_libs= 12452 lt_cv_dlopen_self=no 12453 ;; 12454 12455 *) 12456 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12457if test "x$ac_cv_func_shl_load" = xyes; then : 12458 lt_cv_dlopen=shl_load 12459else 12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12461$as_echo_n "checking for shl_load in -ldld... " >&6; } 12462if ${ac_cv_lib_dld_shl_load+:} false; then : 12463 $as_echo_n "(cached) " >&6 12464else 12465 ac_check_lib_save_LIBS=$LIBS 12466LIBS="-ldld $LIBS" 12467cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12468/* end confdefs.h. */ 12469 12470/* Override any GCC internal prototype to avoid an error. 12471 Use char because int might match the return type of a GCC 12472 builtin and then its argument prototype would still apply. */ 12473#ifdef __cplusplus 12474extern "C" 12475#endif 12476char shl_load (); 12477int 12478main () 12479{ 12480return shl_load (); 12481 ; 12482 return 0; 12483} 12484_ACEOF 12485if ac_fn_c_try_link "$LINENO"; then : 12486 ac_cv_lib_dld_shl_load=yes 12487else 12488 ac_cv_lib_dld_shl_load=no 12489fi 12490rm -f core conftest.err conftest.$ac_objext \ 12491 conftest$ac_exeext conftest.$ac_ext 12492LIBS=$ac_check_lib_save_LIBS 12493fi 12494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12495$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12496if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12497 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12498else 12499 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12500if test "x$ac_cv_func_dlopen" = xyes; then : 12501 lt_cv_dlopen=dlopen 12502else 12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12504$as_echo_n "checking for dlopen in -ldl... " >&6; } 12505if ${ac_cv_lib_dl_dlopen+:} false; then : 12506 $as_echo_n "(cached) " >&6 12507else 12508 ac_check_lib_save_LIBS=$LIBS 12509LIBS="-ldl $LIBS" 12510cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12511/* end confdefs.h. */ 12512 12513/* Override any GCC internal prototype to avoid an error. 12514 Use char because int might match the return type of a GCC 12515 builtin and then its argument prototype would still apply. */ 12516#ifdef __cplusplus 12517extern "C" 12518#endif 12519char dlopen (); 12520int 12521main () 12522{ 12523return dlopen (); 12524 ; 12525 return 0; 12526} 12527_ACEOF 12528if ac_fn_c_try_link "$LINENO"; then : 12529 ac_cv_lib_dl_dlopen=yes 12530else 12531 ac_cv_lib_dl_dlopen=no 12532fi 12533rm -f core conftest.err conftest.$ac_objext \ 12534 conftest$ac_exeext conftest.$ac_ext 12535LIBS=$ac_check_lib_save_LIBS 12536fi 12537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12538$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12539if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12540 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12541else 12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12543$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12544if ${ac_cv_lib_svld_dlopen+:} false; then : 12545 $as_echo_n "(cached) " >&6 12546else 12547 ac_check_lib_save_LIBS=$LIBS 12548LIBS="-lsvld $LIBS" 12549cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12550/* end confdefs.h. */ 12551 12552/* Override any GCC internal prototype to avoid an error. 12553 Use char because int might match the return type of a GCC 12554 builtin and then its argument prototype would still apply. */ 12555#ifdef __cplusplus 12556extern "C" 12557#endif 12558char dlopen (); 12559int 12560main () 12561{ 12562return dlopen (); 12563 ; 12564 return 0; 12565} 12566_ACEOF 12567if ac_fn_c_try_link "$LINENO"; then : 12568 ac_cv_lib_svld_dlopen=yes 12569else 12570 ac_cv_lib_svld_dlopen=no 12571fi 12572rm -f core conftest.err conftest.$ac_objext \ 12573 conftest$ac_exeext conftest.$ac_ext 12574LIBS=$ac_check_lib_save_LIBS 12575fi 12576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12577$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12578if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12579 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12580else 12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12582$as_echo_n "checking for dld_link in -ldld... " >&6; } 12583if ${ac_cv_lib_dld_dld_link+:} false; then : 12584 $as_echo_n "(cached) " >&6 12585else 12586 ac_check_lib_save_LIBS=$LIBS 12587LIBS="-ldld $LIBS" 12588cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12589/* end confdefs.h. */ 12590 12591/* Override any GCC internal prototype to avoid an error. 12592 Use char because int might match the return type of a GCC 12593 builtin and then its argument prototype would still apply. */ 12594#ifdef __cplusplus 12595extern "C" 12596#endif 12597char dld_link (); 12598int 12599main () 12600{ 12601return dld_link (); 12602 ; 12603 return 0; 12604} 12605_ACEOF 12606if ac_fn_c_try_link "$LINENO"; then : 12607 ac_cv_lib_dld_dld_link=yes 12608else 12609 ac_cv_lib_dld_dld_link=no 12610fi 12611rm -f core conftest.err conftest.$ac_objext \ 12612 conftest$ac_exeext conftest.$ac_ext 12613LIBS=$ac_check_lib_save_LIBS 12614fi 12615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12616$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12617if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12618 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12619fi 12620 12621 12622fi 12623 12624 12625fi 12626 12627 12628fi 12629 12630 12631fi 12632 12633 12634fi 12635 12636 ;; 12637 esac 12638 12639 if test no = "$lt_cv_dlopen"; then 12640 enable_dlopen=no 12641 else 12642 enable_dlopen=yes 12643 fi 12644 12645 case $lt_cv_dlopen in 12646 dlopen) 12647 save_CPPFLAGS=$CPPFLAGS 12648 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12649 12650 save_LDFLAGS=$LDFLAGS 12651 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12652 12653 save_LIBS=$LIBS 12654 LIBS="$lt_cv_dlopen_libs $LIBS" 12655 12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12657$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12658if ${lt_cv_dlopen_self+:} false; then : 12659 $as_echo_n "(cached) " >&6 12660else 12661 if test yes = "$cross_compiling"; then : 12662 lt_cv_dlopen_self=cross 12663else 12664 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12665 lt_status=$lt_dlunknown 12666 cat > conftest.$ac_ext <<_LT_EOF 12667#line $LINENO "configure" 12668#include "confdefs.h" 12669 12670#if HAVE_DLFCN_H 12671#include <dlfcn.h> 12672#endif 12673 12674#include <stdio.h> 12675 12676#ifdef RTLD_GLOBAL 12677# define LT_DLGLOBAL RTLD_GLOBAL 12678#else 12679# ifdef DL_GLOBAL 12680# define LT_DLGLOBAL DL_GLOBAL 12681# else 12682# define LT_DLGLOBAL 0 12683# endif 12684#endif 12685 12686/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12687 find out it does not work in some platform. */ 12688#ifndef LT_DLLAZY_OR_NOW 12689# ifdef RTLD_LAZY 12690# define LT_DLLAZY_OR_NOW RTLD_LAZY 12691# else 12692# ifdef DL_LAZY 12693# define LT_DLLAZY_OR_NOW DL_LAZY 12694# else 12695# ifdef RTLD_NOW 12696# define LT_DLLAZY_OR_NOW RTLD_NOW 12697# else 12698# ifdef DL_NOW 12699# define LT_DLLAZY_OR_NOW DL_NOW 12700# else 12701# define LT_DLLAZY_OR_NOW 0 12702# endif 12703# endif 12704# endif 12705# endif 12706#endif 12707 12708/* When -fvisibility=hidden is used, assume the code has been annotated 12709 correspondingly for the symbols needed. */ 12710#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12711int fnord () __attribute__((visibility("default"))); 12712#endif 12713 12714int fnord () { return 42; } 12715int main () 12716{ 12717 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12718 int status = $lt_dlunknown; 12719 12720 if (self) 12721 { 12722 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12723 else 12724 { 12725 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12726 else puts (dlerror ()); 12727 } 12728 /* dlclose (self); */ 12729 } 12730 else 12731 puts (dlerror ()); 12732 12733 return status; 12734} 12735_LT_EOF 12736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12737 (eval $ac_link) 2>&5 12738 ac_status=$? 12739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12740 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12741 (./conftest; exit; ) >&5 2>/dev/null 12742 lt_status=$? 12743 case x$lt_status in 12744 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12745 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12746 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12747 esac 12748 else : 12749 # compilation failed 12750 lt_cv_dlopen_self=no 12751 fi 12752fi 12753rm -fr conftest* 12754 12755 12756fi 12757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12758$as_echo "$lt_cv_dlopen_self" >&6; } 12759 12760 if test yes = "$lt_cv_dlopen_self"; then 12761 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12763$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12764if ${lt_cv_dlopen_self_static+:} false; then : 12765 $as_echo_n "(cached) " >&6 12766else 12767 if test yes = "$cross_compiling"; then : 12768 lt_cv_dlopen_self_static=cross 12769else 12770 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12771 lt_status=$lt_dlunknown 12772 cat > conftest.$ac_ext <<_LT_EOF 12773#line $LINENO "configure" 12774#include "confdefs.h" 12775 12776#if HAVE_DLFCN_H 12777#include <dlfcn.h> 12778#endif 12779 12780#include <stdio.h> 12781 12782#ifdef RTLD_GLOBAL 12783# define LT_DLGLOBAL RTLD_GLOBAL 12784#else 12785# ifdef DL_GLOBAL 12786# define LT_DLGLOBAL DL_GLOBAL 12787# else 12788# define LT_DLGLOBAL 0 12789# endif 12790#endif 12791 12792/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12793 find out it does not work in some platform. */ 12794#ifndef LT_DLLAZY_OR_NOW 12795# ifdef RTLD_LAZY 12796# define LT_DLLAZY_OR_NOW RTLD_LAZY 12797# else 12798# ifdef DL_LAZY 12799# define LT_DLLAZY_OR_NOW DL_LAZY 12800# else 12801# ifdef RTLD_NOW 12802# define LT_DLLAZY_OR_NOW RTLD_NOW 12803# else 12804# ifdef DL_NOW 12805# define LT_DLLAZY_OR_NOW DL_NOW 12806# else 12807# define LT_DLLAZY_OR_NOW 0 12808# endif 12809# endif 12810# endif 12811# endif 12812#endif 12813 12814/* When -fvisibility=hidden is used, assume the code has been annotated 12815 correspondingly for the symbols needed. */ 12816#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12817int fnord () __attribute__((visibility("default"))); 12818#endif 12819 12820int fnord () { return 42; } 12821int main () 12822{ 12823 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12824 int status = $lt_dlunknown; 12825 12826 if (self) 12827 { 12828 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12829 else 12830 { 12831 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12832 else puts (dlerror ()); 12833 } 12834 /* dlclose (self); */ 12835 } 12836 else 12837 puts (dlerror ()); 12838 12839 return status; 12840} 12841_LT_EOF 12842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12843 (eval $ac_link) 2>&5 12844 ac_status=$? 12845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12846 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12847 (./conftest; exit; ) >&5 2>/dev/null 12848 lt_status=$? 12849 case x$lt_status in 12850 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12851 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12852 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12853 esac 12854 else : 12855 # compilation failed 12856 lt_cv_dlopen_self_static=no 12857 fi 12858fi 12859rm -fr conftest* 12860 12861 12862fi 12863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12864$as_echo "$lt_cv_dlopen_self_static" >&6; } 12865 fi 12866 12867 CPPFLAGS=$save_CPPFLAGS 12868 LDFLAGS=$save_LDFLAGS 12869 LIBS=$save_LIBS 12870 ;; 12871 esac 12872 12873 case $lt_cv_dlopen_self in 12874 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12875 *) enable_dlopen_self=unknown ;; 12876 esac 12877 12878 case $lt_cv_dlopen_self_static in 12879 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12880 *) enable_dlopen_self_static=unknown ;; 12881 esac 12882fi 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900striplib= 12901old_striplib= 12902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12903$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12904if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12905 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12906 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12908$as_echo "yes" >&6; } 12909else 12910# FIXME - insert some real tests, host_os isn't really good enough 12911 case $host_os in 12912 darwin*) 12913 if test -n "$STRIP"; then 12914 striplib="$STRIP -x" 12915 old_striplib="$STRIP -S" 12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12917$as_echo "yes" >&6; } 12918 else 12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12920$as_echo "no" >&6; } 12921 fi 12922 ;; 12923 *) 12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12925$as_echo "no" >&6; } 12926 ;; 12927 esac 12928fi 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 # Report what library types will actually be built 12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12943$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12945$as_echo "$can_build_shared" >&6; } 12946 12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12948$as_echo_n "checking whether to build shared libraries... " >&6; } 12949 test no = "$can_build_shared" && enable_shared=no 12950 12951 # On AIX, shared libraries and static libraries use the same namespace, and 12952 # are all built from PIC. 12953 case $host_os in 12954 aix3*) 12955 test yes = "$enable_shared" && enable_static=no 12956 if test -n "$RANLIB"; then 12957 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12958 postinstall_cmds='$RANLIB $lib' 12959 fi 12960 ;; 12961 12962 aix[4-9]*) 12963 if test ia64 != "$host_cpu"; then 12964 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12965 yes,aix,yes) ;; # shared object as lib.so file only 12966 yes,svr4,*) ;; # shared object as lib.so archive member only 12967 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12968 esac 12969 fi 12970 ;; 12971 esac 12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12973$as_echo "$enable_shared" >&6; } 12974 12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12976$as_echo_n "checking whether to build static libraries... " >&6; } 12977 # Make sure either enable_shared or enable_static is yes. 12978 test yes = "$enable_shared" || enable_static=yes 12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12980$as_echo "$enable_static" >&6; } 12981 12982 12983 12984 12985fi 12986ac_ext=c 12987ac_cpp='$CPP $CPPFLAGS' 12988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12990ac_compiler_gnu=$ac_cv_c_compiler_gnu 12991 12992CC=$lt_save_CC 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 ac_config_commands="$ac_config_commands libtool" 13009 13010 13011 13012 13013# Only expand once: 13014 13015 13016ac_ext=c 13017ac_cpp='$CPP $CPPFLAGS' 13018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13020ac_compiler_gnu=$ac_cv_c_compiler_gnu 13021if test -n "$ac_tool_prefix"; then 13022 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 13023set dummy ${ac_tool_prefix}gcc; ac_word=$2 13024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13025$as_echo_n "checking for $ac_word... " >&6; } 13026if ${ac_cv_prog_CC+:} false; then : 13027 $as_echo_n "(cached) " >&6 13028else 13029 if test -n "$CC"; then 13030 ac_cv_prog_CC="$CC" # Let the user override the test. 13031else 13032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13033for as_dir in $PATH 13034do 13035 IFS=$as_save_IFS 13036 test -z "$as_dir" && as_dir=. 13037 for ac_exec_ext in '' $ac_executable_extensions; do 13038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13039 ac_cv_prog_CC="${ac_tool_prefix}gcc" 13040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13041 break 2 13042 fi 13043done 13044 done 13045IFS=$as_save_IFS 13046 13047fi 13048fi 13049CC=$ac_cv_prog_CC 13050if test -n "$CC"; then 13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13052$as_echo "$CC" >&6; } 13053else 13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13055$as_echo "no" >&6; } 13056fi 13057 13058 13059fi 13060if test -z "$ac_cv_prog_CC"; then 13061 ac_ct_CC=$CC 13062 # Extract the first word of "gcc", so it can be a program name with args. 13063set dummy gcc; ac_word=$2 13064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13065$as_echo_n "checking for $ac_word... " >&6; } 13066if ${ac_cv_prog_ac_ct_CC+:} false; then : 13067 $as_echo_n "(cached) " >&6 13068else 13069 if test -n "$ac_ct_CC"; then 13070 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 13071else 13072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13073for as_dir in $PATH 13074do 13075 IFS=$as_save_IFS 13076 test -z "$as_dir" && as_dir=. 13077 for ac_exec_ext in '' $ac_executable_extensions; do 13078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13079 ac_cv_prog_ac_ct_CC="gcc" 13080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13081 break 2 13082 fi 13083done 13084 done 13085IFS=$as_save_IFS 13086 13087fi 13088fi 13089ac_ct_CC=$ac_cv_prog_ac_ct_CC 13090if test -n "$ac_ct_CC"; then 13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 13092$as_echo "$ac_ct_CC" >&6; } 13093else 13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13095$as_echo "no" >&6; } 13096fi 13097 13098 if test "x$ac_ct_CC" = x; then 13099 CC="" 13100 else 13101 case $cross_compiling:$ac_tool_warned in 13102yes:) 13103{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13104$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13105ac_tool_warned=yes ;; 13106esac 13107 CC=$ac_ct_CC 13108 fi 13109else 13110 CC="$ac_cv_prog_CC" 13111fi 13112 13113if test -z "$CC"; then 13114 if test -n "$ac_tool_prefix"; then 13115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 13116set dummy ${ac_tool_prefix}cc; ac_word=$2 13117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13118$as_echo_n "checking for $ac_word... " >&6; } 13119if ${ac_cv_prog_CC+:} false; then : 13120 $as_echo_n "(cached) " >&6 13121else 13122 if test -n "$CC"; then 13123 ac_cv_prog_CC="$CC" # Let the user override the test. 13124else 13125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13126for as_dir in $PATH 13127do 13128 IFS=$as_save_IFS 13129 test -z "$as_dir" && as_dir=. 13130 for ac_exec_ext in '' $ac_executable_extensions; do 13131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13132 ac_cv_prog_CC="${ac_tool_prefix}cc" 13133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13134 break 2 13135 fi 13136done 13137 done 13138IFS=$as_save_IFS 13139 13140fi 13141fi 13142CC=$ac_cv_prog_CC 13143if test -n "$CC"; then 13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13145$as_echo "$CC" >&6; } 13146else 13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13148$as_echo "no" >&6; } 13149fi 13150 13151 13152 fi 13153fi 13154if test -z "$CC"; then 13155 # Extract the first word of "cc", so it can be a program name with args. 13156set dummy cc; ac_word=$2 13157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13158$as_echo_n "checking for $ac_word... " >&6; } 13159if ${ac_cv_prog_CC+:} false; then : 13160 $as_echo_n "(cached) " >&6 13161else 13162 if test -n "$CC"; then 13163 ac_cv_prog_CC="$CC" # Let the user override the test. 13164else 13165 ac_prog_rejected=no 13166as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13167for as_dir in $PATH 13168do 13169 IFS=$as_save_IFS 13170 test -z "$as_dir" && as_dir=. 13171 for ac_exec_ext in '' $ac_executable_extensions; do 13172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13173 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 13174 ac_prog_rejected=yes 13175 continue 13176 fi 13177 ac_cv_prog_CC="cc" 13178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13179 break 2 13180 fi 13181done 13182 done 13183IFS=$as_save_IFS 13184 13185if test $ac_prog_rejected = yes; then 13186 # We found a bogon in the path, so make sure we never use it. 13187 set dummy $ac_cv_prog_CC 13188 shift 13189 if test $# != 0; then 13190 # We chose a different compiler from the bogus one. 13191 # However, it has the same basename, so the bogon will be chosen 13192 # first if we set CC to just the basename; use the full file name. 13193 shift 13194 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 13195 fi 13196fi 13197fi 13198fi 13199CC=$ac_cv_prog_CC 13200if test -n "$CC"; then 13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13202$as_echo "$CC" >&6; } 13203else 13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13205$as_echo "no" >&6; } 13206fi 13207 13208 13209fi 13210if test -z "$CC"; then 13211 if test -n "$ac_tool_prefix"; then 13212 for ac_prog in cl.exe 13213 do 13214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 13215set dummy $ac_tool_prefix$ac_prog; ac_word=$2 13216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13217$as_echo_n "checking for $ac_word... " >&6; } 13218if ${ac_cv_prog_CC+:} false; then : 13219 $as_echo_n "(cached) " >&6 13220else 13221 if test -n "$CC"; then 13222 ac_cv_prog_CC="$CC" # Let the user override the test. 13223else 13224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13225for as_dir in $PATH 13226do 13227 IFS=$as_save_IFS 13228 test -z "$as_dir" && as_dir=. 13229 for ac_exec_ext in '' $ac_executable_extensions; do 13230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13231 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 13232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13233 break 2 13234 fi 13235done 13236 done 13237IFS=$as_save_IFS 13238 13239fi 13240fi 13241CC=$ac_cv_prog_CC 13242if test -n "$CC"; then 13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13244$as_echo "$CC" >&6; } 13245else 13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13247$as_echo "no" >&6; } 13248fi 13249 13250 13251 test -n "$CC" && break 13252 done 13253fi 13254if test -z "$CC"; then 13255 ac_ct_CC=$CC 13256 for ac_prog in cl.exe 13257do 13258 # Extract the first word of "$ac_prog", so it can be a program name with args. 13259set dummy $ac_prog; ac_word=$2 13260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13261$as_echo_n "checking for $ac_word... " >&6; } 13262if ${ac_cv_prog_ac_ct_CC+:} false; then : 13263 $as_echo_n "(cached) " >&6 13264else 13265 if test -n "$ac_ct_CC"; then 13266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 13267else 13268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13269for as_dir in $PATH 13270do 13271 IFS=$as_save_IFS 13272 test -z "$as_dir" && as_dir=. 13273 for ac_exec_ext in '' $ac_executable_extensions; do 13274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13275 ac_cv_prog_ac_ct_CC="$ac_prog" 13276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13277 break 2 13278 fi 13279done 13280 done 13281IFS=$as_save_IFS 13282 13283fi 13284fi 13285ac_ct_CC=$ac_cv_prog_ac_ct_CC 13286if test -n "$ac_ct_CC"; then 13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 13288$as_echo "$ac_ct_CC" >&6; } 13289else 13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13291$as_echo "no" >&6; } 13292fi 13293 13294 13295 test -n "$ac_ct_CC" && break 13296done 13297 13298 if test "x$ac_ct_CC" = x; then 13299 CC="" 13300 else 13301 case $cross_compiling:$ac_tool_warned in 13302yes:) 13303{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13304$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13305ac_tool_warned=yes ;; 13306esac 13307 CC=$ac_ct_CC 13308 fi 13309fi 13310 13311fi 13312 13313 13314test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13315$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13316as_fn_error $? "no acceptable C compiler found in \$PATH 13317See \`config.log' for more details" "$LINENO" 5; } 13318 13319# Provide some information about the compiler. 13320$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 13321set X $ac_compile 13322ac_compiler=$2 13323for ac_option in --version -v -V -qversion; do 13324 { { ac_try="$ac_compiler $ac_option >&5" 13325case "(($ac_try" in 13326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13327 *) ac_try_echo=$ac_try;; 13328esac 13329eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 13330$as_echo "$ac_try_echo"; } >&5 13331 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 13332 ac_status=$? 13333 if test -s conftest.err; then 13334 sed '10a\ 13335... rest of stderr output deleted ... 13336 10q' conftest.err >conftest.er1 13337 cat conftest.er1 >&5 13338 fi 13339 rm -f conftest.er1 conftest.err 13340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13341 test $ac_status = 0; } 13342done 13343 13344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 13345$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 13346if ${ac_cv_c_compiler_gnu+:} false; then : 13347 $as_echo_n "(cached) " >&6 13348else 13349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13350/* end confdefs.h. */ 13351 13352int 13353main () 13354{ 13355#ifndef __GNUC__ 13356 choke me 13357#endif 13358 13359 ; 13360 return 0; 13361} 13362_ACEOF 13363if ac_fn_c_try_compile "$LINENO"; then : 13364 ac_compiler_gnu=yes 13365else 13366 ac_compiler_gnu=no 13367fi 13368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13369ac_cv_c_compiler_gnu=$ac_compiler_gnu 13370 13371fi 13372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 13373$as_echo "$ac_cv_c_compiler_gnu" >&6; } 13374if test $ac_compiler_gnu = yes; then 13375 GCC=yes 13376else 13377 GCC= 13378fi 13379ac_test_CFLAGS=${CFLAGS+set} 13380ac_save_CFLAGS=$CFLAGS 13381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 13382$as_echo_n "checking whether $CC accepts -g... " >&6; } 13383if ${ac_cv_prog_cc_g+:} false; then : 13384 $as_echo_n "(cached) " >&6 13385else 13386 ac_save_c_werror_flag=$ac_c_werror_flag 13387 ac_c_werror_flag=yes 13388 ac_cv_prog_cc_g=no 13389 CFLAGS="-g" 13390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13391/* end confdefs.h. */ 13392 13393int 13394main () 13395{ 13396 13397 ; 13398 return 0; 13399} 13400_ACEOF 13401if ac_fn_c_try_compile "$LINENO"; then : 13402 ac_cv_prog_cc_g=yes 13403else 13404 CFLAGS="" 13405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13406/* end confdefs.h. */ 13407 13408int 13409main () 13410{ 13411 13412 ; 13413 return 0; 13414} 13415_ACEOF 13416if ac_fn_c_try_compile "$LINENO"; then : 13417 13418else 13419 ac_c_werror_flag=$ac_save_c_werror_flag 13420 CFLAGS="-g" 13421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13422/* end confdefs.h. */ 13423 13424int 13425main () 13426{ 13427 13428 ; 13429 return 0; 13430} 13431_ACEOF 13432if ac_fn_c_try_compile "$LINENO"; then : 13433 ac_cv_prog_cc_g=yes 13434fi 13435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13436fi 13437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13438fi 13439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13440 ac_c_werror_flag=$ac_save_c_werror_flag 13441fi 13442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 13443$as_echo "$ac_cv_prog_cc_g" >&6; } 13444if test "$ac_test_CFLAGS" = set; then 13445 CFLAGS=$ac_save_CFLAGS 13446elif test $ac_cv_prog_cc_g = yes; then 13447 if test "$GCC" = yes; then 13448 CFLAGS="-g -O2" 13449 else 13450 CFLAGS="-g" 13451 fi 13452else 13453 if test "$GCC" = yes; then 13454 CFLAGS="-O2" 13455 else 13456 CFLAGS= 13457 fi 13458fi 13459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 13460$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 13461if ${ac_cv_prog_cc_c89+:} false; then : 13462 $as_echo_n "(cached) " >&6 13463else 13464 ac_cv_prog_cc_c89=no 13465ac_save_CC=$CC 13466cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13467/* end confdefs.h. */ 13468#include <stdarg.h> 13469#include <stdio.h> 13470struct stat; 13471/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 13472struct buf { int x; }; 13473FILE * (*rcsopen) (struct buf *, struct stat *, int); 13474static char *e (p, i) 13475 char **p; 13476 int i; 13477{ 13478 return p[i]; 13479} 13480static char *f (char * (*g) (char **, int), char **p, ...) 13481{ 13482 char *s; 13483 va_list v; 13484 va_start (v,p); 13485 s = g (p, va_arg (v,int)); 13486 va_end (v); 13487 return s; 13488} 13489 13490/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 13491 function prototypes and stuff, but not '\xHH' hex character constants. 13492 These don't provoke an error unfortunately, instead are silently treated 13493 as 'x'. The following induces an error, until -std is added to get 13494 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 13495 array size at least. It's necessary to write '\x00'==0 to get something 13496 that's true only with -std. */ 13497int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 13498 13499/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 13500 inside strings and character constants. */ 13501#define FOO(x) 'x' 13502int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 13503 13504int test (int i, double x); 13505struct s1 {int (*f) (int a);}; 13506struct s2 {int (*f) (double a);}; 13507int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 13508int argc; 13509char **argv; 13510int 13511main () 13512{ 13513return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 13514 ; 13515 return 0; 13516} 13517_ACEOF 13518for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 13519 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 13520do 13521 CC="$ac_save_CC $ac_arg" 13522 if ac_fn_c_try_compile "$LINENO"; then : 13523 ac_cv_prog_cc_c89=$ac_arg 13524fi 13525rm -f core conftest.err conftest.$ac_objext 13526 test "x$ac_cv_prog_cc_c89" != "xno" && break 13527done 13528rm -f conftest.$ac_ext 13529CC=$ac_save_CC 13530 13531fi 13532# AC_CACHE_VAL 13533case "x$ac_cv_prog_cc_c89" in 13534 x) 13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 13536$as_echo "none needed" >&6; } ;; 13537 xno) 13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 13539$as_echo "unsupported" >&6; } ;; 13540 *) 13541 CC="$CC $ac_cv_prog_cc_c89" 13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 13543$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 13544esac 13545if test "x$ac_cv_prog_cc_c89" != xno; then : 13546 13547fi 13548 13549ac_ext=c 13550ac_cpp='$CPP $CPPFLAGS' 13551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13553ac_compiler_gnu=$ac_cv_c_compiler_gnu 13554 13555ac_ext=c 13556ac_cpp='$CPP $CPPFLAGS' 13557ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13558ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13559ac_compiler_gnu=$ac_cv_c_compiler_gnu 13560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 13561$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 13562if ${am_cv_prog_cc_c_o+:} false; then : 13563 $as_echo_n "(cached) " >&6 13564else 13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13566/* end confdefs.h. */ 13567 13568int 13569main () 13570{ 13571 13572 ; 13573 return 0; 13574} 13575_ACEOF 13576 # Make sure it works both with $CC and with simple cc. 13577 # Following AC_PROG_CC_C_O, we do the test twice because some 13578 # compilers refuse to overwrite an existing .o file with -o, 13579 # though they will create one. 13580 am_cv_prog_cc_c_o=yes 13581 for am_i in 1 2; do 13582 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 13583 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 13584 ac_status=$? 13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13586 (exit $ac_status); } \ 13587 && test -f conftest2.$ac_objext; then 13588 : OK 13589 else 13590 am_cv_prog_cc_c_o=no 13591 break 13592 fi 13593 done 13594 rm -f core conftest* 13595 unset am_i 13596fi 13597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 13598$as_echo "$am_cv_prog_cc_c_o" >&6; } 13599if test "$am_cv_prog_cc_c_o" != yes; then 13600 # Losing compiler, so override with the script. 13601 # FIXME: It is wrong to rewrite CC. 13602 # But if we don't then we get into trouble of one sort or another. 13603 # A longer-term fix would be to have automake use am__CC in this case, 13604 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 13605 CC="$am_aux_dir/compile $CC" 13606fi 13607ac_ext=c 13608ac_cpp='$CPP $CPPFLAGS' 13609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13611ac_compiler_gnu=$ac_cv_c_compiler_gnu 13612 13613 13614depcc="$CC" am_compiler_list= 13615 13616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 13617$as_echo_n "checking dependency style of $depcc... " >&6; } 13618if ${am_cv_CC_dependencies_compiler_type+:} false; then : 13619 $as_echo_n "(cached) " >&6 13620else 13621 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 13622 # We make a subdir and do the tests there. Otherwise we can end up 13623 # making bogus files that we don't know about and never remove. For 13624 # instance it was reported that on HP-UX the gcc test will end up 13625 # making a dummy file named 'D' -- because '-MD' means "put the output 13626 # in D". 13627 rm -rf conftest.dir 13628 mkdir conftest.dir 13629 # Copy depcomp to subdir because otherwise we won't find it if we're 13630 # using a relative directory. 13631 cp "$am_depcomp" conftest.dir 13632 cd conftest.dir 13633 # We will build objects and dependencies in a subdirectory because 13634 # it helps to detect inapplicable dependency modes. For instance 13635 # both Tru64's cc and ICC support -MD to output dependencies as a 13636 # side effect of compilation, but ICC will put the dependencies in 13637 # the current directory while Tru64 will put them in the object 13638 # directory. 13639 mkdir sub 13640 13641 am_cv_CC_dependencies_compiler_type=none 13642 if test "$am_compiler_list" = ""; then 13643 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 13644 fi 13645 am__universal=false 13646 case " $depcc " in #( 13647 *\ -arch\ *\ -arch\ *) am__universal=true ;; 13648 esac 13649 13650 for depmode in $am_compiler_list; do 13651 # Setup a source with many dependencies, because some compilers 13652 # like to wrap large dependency lists on column 80 (with \), and 13653 # we should not choose a depcomp mode which is confused by this. 13654 # 13655 # We need to recreate these files for each test, as the compiler may 13656 # overwrite some of them when testing with obscure command lines. 13657 # This happens at least with the AIX C compiler. 13658 : > sub/conftest.c 13659 for i in 1 2 3 4 5 6; do 13660 echo '#include "conftst'$i'.h"' >> sub/conftest.c 13661 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 13662 # Solaris 10 /bin/sh. 13663 echo '/* dummy */' > sub/conftst$i.h 13664 done 13665 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 13666 13667 # We check with '-c' and '-o' for the sake of the "dashmstdout" 13668 # mode. It turns out that the SunPro C++ compiler does not properly 13669 # handle '-M -o', and we need to detect this. Also, some Intel 13670 # versions had trouble with output in subdirs. 13671 am__obj=sub/conftest.${OBJEXT-o} 13672 am__minus_obj="-o $am__obj" 13673 case $depmode in 13674 gcc) 13675 # This depmode causes a compiler race in universal mode. 13676 test "$am__universal" = false || continue 13677 ;; 13678 nosideeffect) 13679 # After this tag, mechanisms are not by side-effect, so they'll 13680 # only be used when explicitly requested. 13681 if test "x$enable_dependency_tracking" = xyes; then 13682 continue 13683 else 13684 break 13685 fi 13686 ;; 13687 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 13688 # This compiler won't grok '-c -o', but also, the minuso test has 13689 # not run yet. These depmodes are late enough in the game, and 13690 # so weak that their functioning should not be impacted. 13691 am__obj=conftest.${OBJEXT-o} 13692 am__minus_obj= 13693 ;; 13694 none) break ;; 13695 esac 13696 if depmode=$depmode \ 13697 source=sub/conftest.c object=$am__obj \ 13698 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 13699 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 13700 >/dev/null 2>conftest.err && 13701 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 13702 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 13703 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 13704 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 13705 # icc doesn't choke on unknown options, it will just issue warnings 13706 # or remarks (even with -Werror). So we grep stderr for any message 13707 # that says an option was ignored or not supported. 13708 # When given -MP, icc 7.0 and 7.1 complain thusly: 13709 # icc: Command line warning: ignoring option '-M'; no argument required 13710 # The diagnosis changed in icc 8.0: 13711 # icc: Command line remark: option '-MP' not supported 13712 if (grep 'ignoring option' conftest.err || 13713 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 13714 am_cv_CC_dependencies_compiler_type=$depmode 13715 break 13716 fi 13717 fi 13718 done 13719 13720 cd .. 13721 rm -rf conftest.dir 13722else 13723 am_cv_CC_dependencies_compiler_type=none 13724fi 13725 13726fi 13727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 13728$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 13729CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 13730 13731 if 13732 test "x$enable_dependency_tracking" != xno \ 13733 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 13734 am__fastdepCC_TRUE= 13735 am__fastdepCC_FALSE='#' 13736else 13737 am__fastdepCC_TRUE='#' 13738 am__fastdepCC_FALSE= 13739fi 13740 13741 13742ac_ext=cpp 13743ac_cpp='$CXXCPP $CPPFLAGS' 13744ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13745ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13746ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13747if test -z "$CXX"; then 13748 if test -n "$CCC"; then 13749 CXX=$CCC 13750 else 13751 if test -n "$ac_tool_prefix"; then 13752 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 13753 do 13754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 13755set dummy $ac_tool_prefix$ac_prog; ac_word=$2 13756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13757$as_echo_n "checking for $ac_word... " >&6; } 13758if ${ac_cv_prog_CXX+:} false; then : 13759 $as_echo_n "(cached) " >&6 13760else 13761 if test -n "$CXX"; then 13762 ac_cv_prog_CXX="$CXX" # Let the user override the test. 13763else 13764as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13765for as_dir in $PATH 13766do 13767 IFS=$as_save_IFS 13768 test -z "$as_dir" && as_dir=. 13769 for ac_exec_ext in '' $ac_executable_extensions; do 13770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13771 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 13772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13773 break 2 13774 fi 13775done 13776 done 13777IFS=$as_save_IFS 13778 13779fi 13780fi 13781CXX=$ac_cv_prog_CXX 13782if test -n "$CXX"; then 13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 13784$as_echo "$CXX" >&6; } 13785else 13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13787$as_echo "no" >&6; } 13788fi 13789 13790 13791 test -n "$CXX" && break 13792 done 13793fi 13794if test -z "$CXX"; then 13795 ac_ct_CXX=$CXX 13796 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 13797do 13798 # Extract the first word of "$ac_prog", so it can be a program name with args. 13799set dummy $ac_prog; ac_word=$2 13800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13801$as_echo_n "checking for $ac_word... " >&6; } 13802if ${ac_cv_prog_ac_ct_CXX+:} false; then : 13803 $as_echo_n "(cached) " >&6 13804else 13805 if test -n "$ac_ct_CXX"; then 13806 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 13807else 13808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13809for as_dir in $PATH 13810do 13811 IFS=$as_save_IFS 13812 test -z "$as_dir" && as_dir=. 13813 for ac_exec_ext in '' $ac_executable_extensions; do 13814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13815 ac_cv_prog_ac_ct_CXX="$ac_prog" 13816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13817 break 2 13818 fi 13819done 13820 done 13821IFS=$as_save_IFS 13822 13823fi 13824fi 13825ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 13826if test -n "$ac_ct_CXX"; then 13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 13828$as_echo "$ac_ct_CXX" >&6; } 13829else 13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13831$as_echo "no" >&6; } 13832fi 13833 13834 13835 test -n "$ac_ct_CXX" && break 13836done 13837 13838 if test "x$ac_ct_CXX" = x; then 13839 CXX="g++" 13840 else 13841 case $cross_compiling:$ac_tool_warned in 13842yes:) 13843{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13844$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13845ac_tool_warned=yes ;; 13846esac 13847 CXX=$ac_ct_CXX 13848 fi 13849fi 13850 13851 fi 13852fi 13853# Provide some information about the compiler. 13854$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 13855set X $ac_compile 13856ac_compiler=$2 13857for ac_option in --version -v -V -qversion; do 13858 { { ac_try="$ac_compiler $ac_option >&5" 13859case "(($ac_try" in 13860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13861 *) ac_try_echo=$ac_try;; 13862esac 13863eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 13864$as_echo "$ac_try_echo"; } >&5 13865 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 13866 ac_status=$? 13867 if test -s conftest.err; then 13868 sed '10a\ 13869... rest of stderr output deleted ... 13870 10q' conftest.err >conftest.er1 13871 cat conftest.er1 >&5 13872 fi 13873 rm -f conftest.er1 conftest.err 13874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13875 test $ac_status = 0; } 13876done 13877 13878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 13879$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 13880if ${ac_cv_cxx_compiler_gnu+:} false; then : 13881 $as_echo_n "(cached) " >&6 13882else 13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13884/* end confdefs.h. */ 13885 13886int 13887main () 13888{ 13889#ifndef __GNUC__ 13890 choke me 13891#endif 13892 13893 ; 13894 return 0; 13895} 13896_ACEOF 13897if ac_fn_cxx_try_compile "$LINENO"; then : 13898 ac_compiler_gnu=yes 13899else 13900 ac_compiler_gnu=no 13901fi 13902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13903ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 13904 13905fi 13906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 13907$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 13908if test $ac_compiler_gnu = yes; then 13909 GXX=yes 13910else 13911 GXX= 13912fi 13913ac_test_CXXFLAGS=${CXXFLAGS+set} 13914ac_save_CXXFLAGS=$CXXFLAGS 13915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 13916$as_echo_n "checking whether $CXX accepts -g... " >&6; } 13917if ${ac_cv_prog_cxx_g+:} false; then : 13918 $as_echo_n "(cached) " >&6 13919else 13920 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 13921 ac_cxx_werror_flag=yes 13922 ac_cv_prog_cxx_g=no 13923 CXXFLAGS="-g" 13924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13925/* end confdefs.h. */ 13926 13927int 13928main () 13929{ 13930 13931 ; 13932 return 0; 13933} 13934_ACEOF 13935if ac_fn_cxx_try_compile "$LINENO"; then : 13936 ac_cv_prog_cxx_g=yes 13937else 13938 CXXFLAGS="" 13939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13940/* end confdefs.h. */ 13941 13942int 13943main () 13944{ 13945 13946 ; 13947 return 0; 13948} 13949_ACEOF 13950if ac_fn_cxx_try_compile "$LINENO"; then : 13951 13952else 13953 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 13954 CXXFLAGS="-g" 13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13956/* end confdefs.h. */ 13957 13958int 13959main () 13960{ 13961 13962 ; 13963 return 0; 13964} 13965_ACEOF 13966if ac_fn_cxx_try_compile "$LINENO"; then : 13967 ac_cv_prog_cxx_g=yes 13968fi 13969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13970fi 13971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13972fi 13973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13974 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 13975fi 13976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 13977$as_echo "$ac_cv_prog_cxx_g" >&6; } 13978if test "$ac_test_CXXFLAGS" = set; then 13979 CXXFLAGS=$ac_save_CXXFLAGS 13980elif test $ac_cv_prog_cxx_g = yes; then 13981 if test "$GXX" = yes; then 13982 CXXFLAGS="-g -O2" 13983 else 13984 CXXFLAGS="-g" 13985 fi 13986else 13987 if test "$GXX" = yes; then 13988 CXXFLAGS="-O2" 13989 else 13990 CXXFLAGS= 13991 fi 13992fi 13993ac_ext=c 13994ac_cpp='$CPP $CPPFLAGS' 13995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13997ac_compiler_gnu=$ac_cv_c_compiler_gnu 13998 13999depcc="$CXX" am_compiler_list= 14000 14001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 14002$as_echo_n "checking dependency style of $depcc... " >&6; } 14003if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 14004 $as_echo_n "(cached) " >&6 14005else 14006 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 14007 # We make a subdir and do the tests there. Otherwise we can end up 14008 # making bogus files that we don't know about and never remove. For 14009 # instance it was reported that on HP-UX the gcc test will end up 14010 # making a dummy file named 'D' -- because '-MD' means "put the output 14011 # in D". 14012 rm -rf conftest.dir 14013 mkdir conftest.dir 14014 # Copy depcomp to subdir because otherwise we won't find it if we're 14015 # using a relative directory. 14016 cp "$am_depcomp" conftest.dir 14017 cd conftest.dir 14018 # We will build objects and dependencies in a subdirectory because 14019 # it helps to detect inapplicable dependency modes. For instance 14020 # both Tru64's cc and ICC support -MD to output dependencies as a 14021 # side effect of compilation, but ICC will put the dependencies in 14022 # the current directory while Tru64 will put them in the object 14023 # directory. 14024 mkdir sub 14025 14026 am_cv_CXX_dependencies_compiler_type=none 14027 if test "$am_compiler_list" = ""; then 14028 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 14029 fi 14030 am__universal=false 14031 case " $depcc " in #( 14032 *\ -arch\ *\ -arch\ *) am__universal=true ;; 14033 esac 14034 14035 for depmode in $am_compiler_list; do 14036 # Setup a source with many dependencies, because some compilers 14037 # like to wrap large dependency lists on column 80 (with \), and 14038 # we should not choose a depcomp mode which is confused by this. 14039 # 14040 # We need to recreate these files for each test, as the compiler may 14041 # overwrite some of them when testing with obscure command lines. 14042 # This happens at least with the AIX C compiler. 14043 : > sub/conftest.c 14044 for i in 1 2 3 4 5 6; do 14045 echo '#include "conftst'$i'.h"' >> sub/conftest.c 14046 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 14047 # Solaris 10 /bin/sh. 14048 echo '/* dummy */' > sub/conftst$i.h 14049 done 14050 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 14051 14052 # We check with '-c' and '-o' for the sake of the "dashmstdout" 14053 # mode. It turns out that the SunPro C++ compiler does not properly 14054 # handle '-M -o', and we need to detect this. Also, some Intel 14055 # versions had trouble with output in subdirs. 14056 am__obj=sub/conftest.${OBJEXT-o} 14057 am__minus_obj="-o $am__obj" 14058 case $depmode in 14059 gcc) 14060 # This depmode causes a compiler race in universal mode. 14061 test "$am__universal" = false || continue 14062 ;; 14063 nosideeffect) 14064 # After this tag, mechanisms are not by side-effect, so they'll 14065 # only be used when explicitly requested. 14066 if test "x$enable_dependency_tracking" = xyes; then 14067 continue 14068 else 14069 break 14070 fi 14071 ;; 14072 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 14073 # This compiler won't grok '-c -o', but also, the minuso test has 14074 # not run yet. These depmodes are late enough in the game, and 14075 # so weak that their functioning should not be impacted. 14076 am__obj=conftest.${OBJEXT-o} 14077 am__minus_obj= 14078 ;; 14079 none) break ;; 14080 esac 14081 if depmode=$depmode \ 14082 source=sub/conftest.c object=$am__obj \ 14083 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 14084 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 14085 >/dev/null 2>conftest.err && 14086 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 14087 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 14088 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 14089 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 14090 # icc doesn't choke on unknown options, it will just issue warnings 14091 # or remarks (even with -Werror). So we grep stderr for any message 14092 # that says an option was ignored or not supported. 14093 # When given -MP, icc 7.0 and 7.1 complain thusly: 14094 # icc: Command line warning: ignoring option '-M'; no argument required 14095 # The diagnosis changed in icc 8.0: 14096 # icc: Command line remark: option '-MP' not supported 14097 if (grep 'ignoring option' conftest.err || 14098 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 14099 am_cv_CXX_dependencies_compiler_type=$depmode 14100 break 14101 fi 14102 fi 14103 done 14104 14105 cd .. 14106 rm -rf conftest.dir 14107else 14108 am_cv_CXX_dependencies_compiler_type=none 14109fi 14110 14111fi 14112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 14113$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 14114CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 14115 14116 if 14117 test "x$enable_dependency_tracking" != xno \ 14118 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 14119 am__fastdepCXX_TRUE= 14120 am__fastdepCXX_FALSE='#' 14121else 14122 am__fastdepCXX_TRUE='#' 14123 am__fastdepCXX_FALSE= 14124fi 14125 14126 14127 14128 14129func_stripname_cnf () 14130{ 14131 case $2 in 14132 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 14133 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 14134 esac 14135} # func_stripname_cnf 14136 14137 if test -n "$CXX" && ( test no != "$CXX" && 14138 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 14139 (test g++ != "$CXX"))); then 14140 ac_ext=cpp 14141ac_cpp='$CXXCPP $CPPFLAGS' 14142ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14143ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14144ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 14146$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 14147if test -z "$CXXCPP"; then 14148 if ${ac_cv_prog_CXXCPP+:} false; then : 14149 $as_echo_n "(cached) " >&6 14150else 14151 # Double quotes because CXXCPP needs to be expanded 14152 for CXXCPP in "$CXX -E" "/lib/cpp" 14153 do 14154 ac_preproc_ok=false 14155for ac_cxx_preproc_warn_flag in '' yes 14156do 14157 # Use a header file that comes with gcc, so configuring glibc 14158 # with a fresh cross-compiler works. 14159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14160 # <limits.h> exists even on freestanding compilers. 14161 # On the NeXT, cc -E runs the code through the compiler's parser, 14162 # not just through cpp. "Syntax error" is here to catch this case. 14163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14164/* end confdefs.h. */ 14165#ifdef __STDC__ 14166# include <limits.h> 14167#else 14168# include <assert.h> 14169#endif 14170 Syntax error 14171_ACEOF 14172if ac_fn_cxx_try_cpp "$LINENO"; then : 14173 14174else 14175 # Broken: fails on valid input. 14176continue 14177fi 14178rm -f conftest.err conftest.i conftest.$ac_ext 14179 14180 # OK, works on sane cases. Now check whether nonexistent headers 14181 # can be detected and how. 14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14183/* end confdefs.h. */ 14184#include <ac_nonexistent.h> 14185_ACEOF 14186if ac_fn_cxx_try_cpp "$LINENO"; then : 14187 # Broken: success on invalid input. 14188continue 14189else 14190 # Passes both tests. 14191ac_preproc_ok=: 14192break 14193fi 14194rm -f conftest.err conftest.i conftest.$ac_ext 14195 14196done 14197# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 14198rm -f conftest.i conftest.err conftest.$ac_ext 14199if $ac_preproc_ok; then : 14200 break 14201fi 14202 14203 done 14204 ac_cv_prog_CXXCPP=$CXXCPP 14205 14206fi 14207 CXXCPP=$ac_cv_prog_CXXCPP 14208else 14209 ac_cv_prog_CXXCPP=$CXXCPP 14210fi 14211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 14212$as_echo "$CXXCPP" >&6; } 14213ac_preproc_ok=false 14214for ac_cxx_preproc_warn_flag in '' yes 14215do 14216 # Use a header file that comes with gcc, so configuring glibc 14217 # with a fresh cross-compiler works. 14218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14219 # <limits.h> exists even on freestanding compilers. 14220 # On the NeXT, cc -E runs the code through the compiler's parser, 14221 # not just through cpp. "Syntax error" is here to catch this case. 14222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14223/* end confdefs.h. */ 14224#ifdef __STDC__ 14225# include <limits.h> 14226#else 14227# include <assert.h> 14228#endif 14229 Syntax error 14230_ACEOF 14231if ac_fn_cxx_try_cpp "$LINENO"; then : 14232 14233else 14234 # Broken: fails on valid input. 14235continue 14236fi 14237rm -f conftest.err conftest.i conftest.$ac_ext 14238 14239 # OK, works on sane cases. Now check whether nonexistent headers 14240 # can be detected and how. 14241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14242/* end confdefs.h. */ 14243#include <ac_nonexistent.h> 14244_ACEOF 14245if ac_fn_cxx_try_cpp "$LINENO"; then : 14246 # Broken: success on invalid input. 14247continue 14248else 14249 # Passes both tests. 14250ac_preproc_ok=: 14251break 14252fi 14253rm -f conftest.err conftest.i conftest.$ac_ext 14254 14255done 14256# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 14257rm -f conftest.i conftest.err conftest.$ac_ext 14258if $ac_preproc_ok; then : 14259 14260else 14261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14262$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14263as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 14264See \`config.log' for more details" "$LINENO" 5; } 14265fi 14266 14267ac_ext=c 14268ac_cpp='$CPP $CPPFLAGS' 14269ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14270ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14271ac_compiler_gnu=$ac_cv_c_compiler_gnu 14272 14273else 14274 _lt_caught_CXX_error=yes 14275fi 14276 14277ac_ext=cpp 14278ac_cpp='$CXXCPP $CPPFLAGS' 14279ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14280ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14281ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14282 14283archive_cmds_need_lc_CXX=no 14284allow_undefined_flag_CXX= 14285always_export_symbols_CXX=no 14286archive_expsym_cmds_CXX= 14287compiler_needs_object_CXX=no 14288export_dynamic_flag_spec_CXX= 14289hardcode_direct_CXX=no 14290hardcode_direct_absolute_CXX=no 14291hardcode_libdir_flag_spec_CXX= 14292hardcode_libdir_separator_CXX= 14293hardcode_minus_L_CXX=no 14294hardcode_shlibpath_var_CXX=unsupported 14295hardcode_automatic_CXX=no 14296inherit_rpath_CXX=no 14297module_cmds_CXX= 14298module_expsym_cmds_CXX= 14299link_all_deplibs_CXX=unknown 14300old_archive_cmds_CXX=$old_archive_cmds 14301reload_flag_CXX=$reload_flag 14302reload_cmds_CXX=$reload_cmds 14303no_undefined_flag_CXX= 14304whole_archive_flag_spec_CXX= 14305enable_shared_with_static_runtimes_CXX=no 14306 14307# Source file extension for C++ test sources. 14308ac_ext=cpp 14309 14310# Object file extension for compiled C++ test sources. 14311objext=o 14312objext_CXX=$objext 14313 14314# No sense in running all these tests if we already determined that 14315# the CXX compiler isn't working. Some variables (like enable_shared) 14316# are currently assumed to apply to all compilers on this platform, 14317# and will be corrupted by setting them based on a non-working compiler. 14318if test yes != "$_lt_caught_CXX_error"; then 14319 # Code to be used in simple compile tests 14320 lt_simple_compile_test_code="int some_variable = 0;" 14321 14322 # Code to be used in simple link tests 14323 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 14324 14325 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 14326 14327 14328 14329 14330 14331 14332# If no C compiler was specified, use CC. 14333LTCC=${LTCC-"$CC"} 14334 14335# If no C compiler flags were specified, use CFLAGS. 14336LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 14337 14338# Allow CC to be a program name with arguments. 14339compiler=$CC 14340 14341 14342 # save warnings/boilerplate of simple test code 14343 ac_outfile=conftest.$ac_objext 14344echo "$lt_simple_compile_test_code" >conftest.$ac_ext 14345eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14346_lt_compiler_boilerplate=`cat conftest.err` 14347$RM conftest* 14348 14349 ac_outfile=conftest.$ac_objext 14350echo "$lt_simple_link_test_code" >conftest.$ac_ext 14351eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14352_lt_linker_boilerplate=`cat conftest.err` 14353$RM -r conftest* 14354 14355 14356 # Allow CC to be a program name with arguments. 14357 lt_save_CC=$CC 14358 lt_save_CFLAGS=$CFLAGS 14359 lt_save_LD=$LD 14360 lt_save_GCC=$GCC 14361 GCC=$GXX 14362 lt_save_with_gnu_ld=$with_gnu_ld 14363 lt_save_path_LD=$lt_cv_path_LD 14364 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 14365 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 14366 else 14367 $as_unset lt_cv_prog_gnu_ld 14368 fi 14369 if test -n "${lt_cv_path_LDCXX+set}"; then 14370 lt_cv_path_LD=$lt_cv_path_LDCXX 14371 else 14372 $as_unset lt_cv_path_LD 14373 fi 14374 test -z "${LDCXX+set}" || LD=$LDCXX 14375 CC=${CXX-"c++"} 14376 CFLAGS=$CXXFLAGS 14377 compiler=$CC 14378 compiler_CXX=$CC 14379 func_cc_basename $compiler 14380cc_basename=$func_cc_basename_result 14381 14382 14383 if test -n "$compiler"; then 14384 # We don't want -fno-exception when compiling C++ code, so set the 14385 # no_builtin_flag separately 14386 if test yes = "$GXX"; then 14387 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 14388 else 14389 lt_prog_compiler_no_builtin_flag_CXX= 14390 fi 14391 14392 if test yes = "$GXX"; then 14393 # Set up default GNU C++ configuration 14394 14395 14396 14397# Check whether --with-gnu-ld was given. 14398if test "${with_gnu_ld+set}" = set; then : 14399 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 14400else 14401 with_gnu_ld=no 14402fi 14403 14404ac_prog=ld 14405if test yes = "$GCC"; then 14406 # Check if gcc -print-prog-name=ld gives a path. 14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 14408$as_echo_n "checking for ld used by $CC... " >&6; } 14409 case $host in 14410 *-*-mingw*) 14411 # gcc leaves a trailing carriage return, which upsets mingw 14412 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 14413 *) 14414 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 14415 esac 14416 case $ac_prog in 14417 # Accept absolute paths. 14418 [\\/]* | ?:[\\/]*) 14419 re_direlt='/[^/][^/]*/\.\./' 14420 # Canonicalize the pathname of ld 14421 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 14422 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 14423 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 14424 done 14425 test -z "$LD" && LD=$ac_prog 14426 ;; 14427 "") 14428 # If it fails, then pretend we aren't using GCC. 14429 ac_prog=ld 14430 ;; 14431 *) 14432 # If it is relative, then search for the first ld in PATH. 14433 with_gnu_ld=unknown 14434 ;; 14435 esac 14436elif test yes = "$with_gnu_ld"; then 14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 14438$as_echo_n "checking for GNU ld... " >&6; } 14439else 14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 14441$as_echo_n "checking for non-GNU ld... " >&6; } 14442fi 14443if ${lt_cv_path_LD+:} false; then : 14444 $as_echo_n "(cached) " >&6 14445else 14446 if test -z "$LD"; then 14447 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 14448 for ac_dir in $PATH; do 14449 IFS=$lt_save_ifs 14450 test -z "$ac_dir" && ac_dir=. 14451 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 14452 lt_cv_path_LD=$ac_dir/$ac_prog 14453 # Check to see if the program is GNU ld. I'd rather use --version, 14454 # but apparently some variants of GNU ld only accept -v. 14455 # Break only if it was the GNU/non-GNU ld that we prefer. 14456 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 14457 *GNU* | *'with BFD'*) 14458 test no != "$with_gnu_ld" && break 14459 ;; 14460 *) 14461 test yes != "$with_gnu_ld" && break 14462 ;; 14463 esac 14464 fi 14465 done 14466 IFS=$lt_save_ifs 14467else 14468 lt_cv_path_LD=$LD # Let the user override the test with a path. 14469fi 14470fi 14471 14472LD=$lt_cv_path_LD 14473if test -n "$LD"; then 14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 14475$as_echo "$LD" >&6; } 14476else 14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14478$as_echo "no" >&6; } 14479fi 14480test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 14481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 14482$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 14483if ${lt_cv_prog_gnu_ld+:} false; then : 14484 $as_echo_n "(cached) " >&6 14485else 14486 # I'd rather use --version here, but apparently some GNU lds only accept -v. 14487case `$LD -v 2>&1 </dev/null` in 14488*GNU* | *'with BFD'*) 14489 lt_cv_prog_gnu_ld=yes 14490 ;; 14491*) 14492 lt_cv_prog_gnu_ld=no 14493 ;; 14494esac 14495fi 14496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 14497$as_echo "$lt_cv_prog_gnu_ld" >&6; } 14498with_gnu_ld=$lt_cv_prog_gnu_ld 14499 14500 14501 14502 14503 14504 14505 14506 # Check if GNU C++ uses GNU ld as the underlying linker, since the 14507 # archiving commands below assume that GNU ld is being used. 14508 if test yes = "$with_gnu_ld"; then 14509 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14510 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14511 14512 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14513 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14514 14515 # If archive_cmds runs LD, not CC, wlarc should be empty 14516 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 14517 # investigate it a little bit more. (MM) 14518 wlarc='$wl' 14519 14520 # ancient GNU ld didn't support --whole-archive et. al. 14521 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 14522 $GREP 'no-whole-archive' > /dev/null; then 14523 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14524 else 14525 whole_archive_flag_spec_CXX= 14526 fi 14527 else 14528 with_gnu_ld=no 14529 wlarc= 14530 14531 # A generic and very simple default shared library creation 14532 # command for GNU C++ for the case where it uses the native 14533 # linker, instead of GNU ld. If possible, this setting should 14534 # overridden to take advantage of the native linker features on 14535 # the platform it is being used on. 14536 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14537 fi 14538 14539 # Commands to make compiler produce verbose output that lists 14540 # what "hidden" libraries, object files and flags are used when 14541 # linking a shared library. 14542 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14543 14544 else 14545 GXX=no 14546 with_gnu_ld=no 14547 wlarc= 14548 fi 14549 14550 # PORTME: fill in a description of your system's C++ link characteristics 14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14552$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14553 ld_shlibs_CXX=yes 14554 case $host_os in 14555 aix3*) 14556 # FIXME: insert proper C++ library support 14557 ld_shlibs_CXX=no 14558 ;; 14559 aix[4-9]*) 14560 if test ia64 = "$host_cpu"; then 14561 # On IA64, the linker does run time linking by default, so we don't 14562 # have to do anything special. 14563 aix_use_runtimelinking=no 14564 exp_sym_flag='-Bexport' 14565 no_entry_flag= 14566 else 14567 aix_use_runtimelinking=no 14568 14569 # Test if we are trying to use run time linking or normal 14570 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14571 # have runtime linking enabled, and use it for executables. 14572 # For shared libraries, we enable/disable runtime linking 14573 # depending on the kind of the shared library created - 14574 # when "with_aix_soname,aix_use_runtimelinking" is: 14575 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 14576 # "aix,yes" lib.so shared, rtl:yes, for executables 14577 # lib.a static archive 14578 # "both,no" lib.so.V(shr.o) shared, rtl:yes 14579 # lib.a(lib.so.V) shared, rtl:no, for executables 14580 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 14581 # lib.a(lib.so.V) shared, rtl:no 14582 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 14583 # lib.a static archive 14584 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14585 for ld_flag in $LDFLAGS; do 14586 case $ld_flag in 14587 *-brtl*) 14588 aix_use_runtimelinking=yes 14589 break 14590 ;; 14591 esac 14592 done 14593 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 14594 # With aix-soname=svr4, we create the lib.so.V shared archives only, 14595 # so we don't have lib.a shared libs to link our executables. 14596 # We have to force runtime linking in this case. 14597 aix_use_runtimelinking=yes 14598 LDFLAGS="$LDFLAGS -Wl,-brtl" 14599 fi 14600 ;; 14601 esac 14602 14603 exp_sym_flag='-bexport' 14604 no_entry_flag='-bnoentry' 14605 fi 14606 14607 # When large executables or shared objects are built, AIX ld can 14608 # have problems creating the table of contents. If linking a library 14609 # or program results in "error TOC overflow" add -mminimal-toc to 14610 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14611 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14612 14613 archive_cmds_CXX='' 14614 hardcode_direct_CXX=yes 14615 hardcode_direct_absolute_CXX=yes 14616 hardcode_libdir_separator_CXX=':' 14617 link_all_deplibs_CXX=yes 14618 file_list_spec_CXX='$wl-f,' 14619 case $with_aix_soname,$aix_use_runtimelinking in 14620 aix,*) ;; # no import file 14621 svr4,* | *,yes) # use import file 14622 # The Import File defines what to hardcode. 14623 hardcode_direct_CXX=no 14624 hardcode_direct_absolute_CXX=no 14625 ;; 14626 esac 14627 14628 if test yes = "$GXX"; then 14629 case $host_os in aix4.[012]|aix4.[012].*) 14630 # We only want to do this on AIX 4.2 and lower, the check 14631 # below for broken collect2 doesn't work under 4.3+ 14632 collect2name=`$CC -print-prog-name=collect2` 14633 if test -f "$collect2name" && 14634 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14635 then 14636 # We have reworked collect2 14637 : 14638 else 14639 # We have old collect2 14640 hardcode_direct_CXX=unsupported 14641 # It fails to find uninstalled libraries when the uninstalled 14642 # path is not listed in the libpath. Setting hardcode_minus_L 14643 # to unsupported forces relinking 14644 hardcode_minus_L_CXX=yes 14645 hardcode_libdir_flag_spec_CXX='-L$libdir' 14646 hardcode_libdir_separator_CXX= 14647 fi 14648 esac 14649 shared_flag='-shared' 14650 if test yes = "$aix_use_runtimelinking"; then 14651 shared_flag=$shared_flag' $wl-G' 14652 fi 14653 # Need to ensure runtime linking is disabled for the traditional 14654 # shared library, or the linker may eventually find shared libraries 14655 # /with/ Import File - we do not want to mix them. 14656 shared_flag_aix='-shared' 14657 shared_flag_svr4='-shared $wl-G' 14658 else 14659 # not using gcc 14660 if test ia64 = "$host_cpu"; then 14661 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14662 # chokes on -Wl,-G. The following line is correct: 14663 shared_flag='-G' 14664 else 14665 if test yes = "$aix_use_runtimelinking"; then 14666 shared_flag='$wl-G' 14667 else 14668 shared_flag='$wl-bM:SRE' 14669 fi 14670 shared_flag_aix='$wl-bM:SRE' 14671 shared_flag_svr4='$wl-G' 14672 fi 14673 fi 14674 14675 export_dynamic_flag_spec_CXX='$wl-bexpall' 14676 # It seems that -bexpall does not export symbols beginning with 14677 # underscore (_), so it is better to generate a list of symbols to 14678 # export. 14679 always_export_symbols_CXX=yes 14680 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 14681 # Warning - without using the other runtime loading flags (-brtl), 14682 # -berok will link without error, but may produce a broken library. 14683 # The "-G" linker flag allows undefined symbols. 14684 no_undefined_flag_CXX='-bernotok' 14685 # Determine the default libpath from the value encoded in an empty 14686 # executable. 14687 if test set = "${lt_cv_aix_libpath+set}"; then 14688 aix_libpath=$lt_cv_aix_libpath 14689else 14690 if ${lt_cv_aix_libpath__CXX+:} false; then : 14691 $as_echo_n "(cached) " >&6 14692else 14693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14694/* end confdefs.h. */ 14695 14696int 14697main () 14698{ 14699 14700 ; 14701 return 0; 14702} 14703_ACEOF 14704if ac_fn_cxx_try_link "$LINENO"; then : 14705 14706 lt_aix_libpath_sed=' 14707 /Import File Strings/,/^$/ { 14708 /^0/ { 14709 s/^0 *\([^ ]*\) *$/\1/ 14710 p 14711 } 14712 }' 14713 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14714 # Check for a 64-bit object if we didn't find anything. 14715 if test -z "$lt_cv_aix_libpath__CXX"; then 14716 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14717 fi 14718fi 14719rm -f core conftest.err conftest.$ac_objext \ 14720 conftest$ac_exeext conftest.$ac_ext 14721 if test -z "$lt_cv_aix_libpath__CXX"; then 14722 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14723 fi 14724 14725fi 14726 14727 aix_libpath=$lt_cv_aix_libpath__CXX 14728fi 14729 14730 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14731 14732 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 14733 else 14734 if test ia64 = "$host_cpu"; then 14735 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 14736 allow_undefined_flag_CXX="-z nodefs" 14737 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" 14738 else 14739 # Determine the default libpath from the value encoded in an 14740 # empty executable. 14741 if test set = "${lt_cv_aix_libpath+set}"; then 14742 aix_libpath=$lt_cv_aix_libpath 14743else 14744 if ${lt_cv_aix_libpath__CXX+:} false; then : 14745 $as_echo_n "(cached) " >&6 14746else 14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14748/* end confdefs.h. */ 14749 14750int 14751main () 14752{ 14753 14754 ; 14755 return 0; 14756} 14757_ACEOF 14758if ac_fn_cxx_try_link "$LINENO"; then : 14759 14760 lt_aix_libpath_sed=' 14761 /Import File Strings/,/^$/ { 14762 /^0/ { 14763 s/^0 *\([^ ]*\) *$/\1/ 14764 p 14765 } 14766 }' 14767 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14768 # Check for a 64-bit object if we didn't find anything. 14769 if test -z "$lt_cv_aix_libpath__CXX"; then 14770 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14771 fi 14772fi 14773rm -f core conftest.err conftest.$ac_objext \ 14774 conftest$ac_exeext conftest.$ac_ext 14775 if test -z "$lt_cv_aix_libpath__CXX"; then 14776 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14777 fi 14778 14779fi 14780 14781 aix_libpath=$lt_cv_aix_libpath__CXX 14782fi 14783 14784 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14785 # Warning - without using the other run time loading flags, 14786 # -berok will link without error, but may produce a broken library. 14787 no_undefined_flag_CXX=' $wl-bernotok' 14788 allow_undefined_flag_CXX=' $wl-berok' 14789 if test yes = "$with_gnu_ld"; then 14790 # We only use this code for GNU lds that support --whole-archive. 14791 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14792 else 14793 # Exported symbols can be pulled into shared objects from archives 14794 whole_archive_flag_spec_CXX='$convenience' 14795 fi 14796 archive_cmds_need_lc_CXX=yes 14797 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 14798 # -brtl affects multiple linker settings, -berok does not and is overridden later 14799 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 14800 if test svr4 != "$with_aix_soname"; then 14801 # This is similar to how AIX traditionally builds its shared 14802 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 14803 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 14804 fi 14805 if test aix != "$with_aix_soname"; then 14806 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 14807 else 14808 # used by -dlpreopen to get the symbols 14809 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 14810 fi 14811 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 14812 fi 14813 fi 14814 ;; 14815 14816 beos*) 14817 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14818 allow_undefined_flag_CXX=unsupported 14819 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14820 # support --undefined. This deserves some investigation. FIXME 14821 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14822 else 14823 ld_shlibs_CXX=no 14824 fi 14825 ;; 14826 14827 chorus*) 14828 case $cc_basename in 14829 *) 14830 # FIXME: insert proper C++ library support 14831 ld_shlibs_CXX=no 14832 ;; 14833 esac 14834 ;; 14835 14836 cygwin* | mingw* | pw32* | cegcc*) 14837 case $GXX,$cc_basename in 14838 ,cl* | no,cl*) 14839 # Native MSVC 14840 # hardcode_libdir_flag_spec is actually meaningless, as there is 14841 # no search path for DLLs. 14842 hardcode_libdir_flag_spec_CXX=' ' 14843 allow_undefined_flag_CXX=unsupported 14844 always_export_symbols_CXX=yes 14845 file_list_spec_CXX='@' 14846 # Tell ltmain to make .lib files, not .a files. 14847 libext=lib 14848 # Tell ltmain to make .dll files, not .so files. 14849 shrext_cmds=.dll 14850 # FIXME: Setting linknames here is a bad hack. 14851 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 14852 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14853 cp "$export_symbols" "$output_objdir/$soname.def"; 14854 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 14855 else 14856 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 14857 fi~ 14858 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14859 linknames=' 14860 # The linker will not automatically build a static lib if we build a DLL. 14861 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 14862 enable_shared_with_static_runtimes_CXX=yes 14863 # Don't use ranlib 14864 old_postinstall_cmds_CXX='chmod 644 $oldlib' 14865 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 14866 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14867 case $lt_outputfile in 14868 *.exe|*.EXE) ;; 14869 *) 14870 lt_outputfile=$lt_outputfile.exe 14871 lt_tool_outputfile=$lt_tool_outputfile.exe 14872 ;; 14873 esac~ 14874 func_to_tool_file "$lt_outputfile"~ 14875 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 14876 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14877 $RM "$lt_outputfile.manifest"; 14878 fi' 14879 ;; 14880 *) 14881 # g++ 14882 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14883 # as there is no search path for DLLs. 14884 hardcode_libdir_flag_spec_CXX='-L$libdir' 14885 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 14886 allow_undefined_flag_CXX=unsupported 14887 always_export_symbols_CXX=no 14888 enable_shared_with_static_runtimes_CXX=yes 14889 14890 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14891 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14892 # If the export-symbols file already is a .def file, use it as 14893 # is; otherwise, prepend EXPORTS... 14894 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14895 cp $export_symbols $output_objdir/$soname.def; 14896 else 14897 echo EXPORTS > $output_objdir/$soname.def; 14898 cat $export_symbols >> $output_objdir/$soname.def; 14899 fi~ 14900 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14901 else 14902 ld_shlibs_CXX=no 14903 fi 14904 ;; 14905 esac 14906 ;; 14907 darwin* | rhapsody*) 14908 14909 14910 archive_cmds_need_lc_CXX=no 14911 hardcode_direct_CXX=no 14912 hardcode_automatic_CXX=yes 14913 hardcode_shlibpath_var_CXX=unsupported 14914 if test yes = "$lt_cv_ld_force_load"; then 14915 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 14916 14917 else 14918 whole_archive_flag_spec_CXX='' 14919 fi 14920 link_all_deplibs_CXX=yes 14921 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 14922 case $cc_basename in 14923 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 14924 *) _lt_dar_can_shared=$GCC ;; 14925 esac 14926 if test yes = "$_lt_dar_can_shared"; then 14927 output_verbose_link_cmd=func_echo_all 14928 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 14929 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 14930 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" 14931 module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" 14932 if test yes != "$lt_cv_apple_cc_single_mod"; then 14933 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" 14934 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" 14935 fi 14936 14937 else 14938 ld_shlibs_CXX=no 14939 fi 14940 14941 ;; 14942 14943 os2*) 14944 hardcode_libdir_flag_spec_CXX='-L$libdir' 14945 hardcode_minus_L_CXX=yes 14946 allow_undefined_flag_CXX=unsupported 14947 shrext_cmds=.dll 14948 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14949 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14950 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14951 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14952 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 14953 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14954 emximp -o $lib $output_objdir/$libname.def' 14955 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14956 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14957 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14958 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14959 prefix_cmds="$SED"~ 14960 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14961 prefix_cmds="$prefix_cmds -e 1d"; 14962 fi~ 14963 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14964 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14965 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14966 emximp -o $lib $output_objdir/$libname.def' 14967 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14968 enable_shared_with_static_runtimes_CXX=yes 14969 ;; 14970 14971 dgux*) 14972 case $cc_basename in 14973 ec++*) 14974 # FIXME: insert proper C++ library support 14975 ld_shlibs_CXX=no 14976 ;; 14977 ghcx*) 14978 # Green Hills C++ Compiler 14979 # FIXME: insert proper C++ library support 14980 ld_shlibs_CXX=no 14981 ;; 14982 *) 14983 # FIXME: insert proper C++ library support 14984 ld_shlibs_CXX=no 14985 ;; 14986 esac 14987 ;; 14988 14989 freebsd2.*) 14990 # C++ shared libraries reported to be fairly broken before 14991 # switch to ELF 14992 ld_shlibs_CXX=no 14993 ;; 14994 14995 freebsd-elf*) 14996 archive_cmds_need_lc_CXX=no 14997 ;; 14998 14999 freebsd* | dragonfly*) 15000 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 15001 # conventions 15002 ld_shlibs_CXX=yes 15003 ;; 15004 15005 haiku*) 15006 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15007 link_all_deplibs_CXX=yes 15008 ;; 15009 15010 hpux9*) 15011 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 15012 hardcode_libdir_separator_CXX=: 15013 export_dynamic_flag_spec_CXX='$wl-E' 15014 hardcode_direct_CXX=yes 15015 hardcode_minus_L_CXX=yes # Not in the search PATH, 15016 # but as the default 15017 # location of the library. 15018 15019 case $cc_basename in 15020 CC*) 15021 # FIXME: insert proper C++ library support 15022 ld_shlibs_CXX=no 15023 ;; 15024 aCC*) 15025 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 15026 # Commands to make compiler produce verbose output that lists 15027 # what "hidden" libraries, object files and flags are used when 15028 # linking a shared library. 15029 # 15030 # There doesn't appear to be a way to prevent this compiler from 15031 # explicitly linking system object files so we need to strip them 15032 # from the output so that they don't get included in the library 15033 # dependencies. 15034 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 15035 ;; 15036 *) 15037 if test yes = "$GXX"; then 15038 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 15039 else 15040 # FIXME: insert proper C++ library support 15041 ld_shlibs_CXX=no 15042 fi 15043 ;; 15044 esac 15045 ;; 15046 15047 hpux10*|hpux11*) 15048 if test no = "$with_gnu_ld"; then 15049 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 15050 hardcode_libdir_separator_CXX=: 15051 15052 case $host_cpu in 15053 hppa*64*|ia64*) 15054 ;; 15055 *) 15056 export_dynamic_flag_spec_CXX='$wl-E' 15057 ;; 15058 esac 15059 fi 15060 case $host_cpu in 15061 hppa*64*|ia64*) 15062 hardcode_direct_CXX=no 15063 hardcode_shlibpath_var_CXX=no 15064 ;; 15065 *) 15066 hardcode_direct_CXX=yes 15067 hardcode_direct_absolute_CXX=yes 15068 hardcode_minus_L_CXX=yes # Not in the search PATH, 15069 # but as the default 15070 # location of the library. 15071 ;; 15072 esac 15073 15074 case $cc_basename in 15075 CC*) 15076 # FIXME: insert proper C++ library support 15077 ld_shlibs_CXX=no 15078 ;; 15079 aCC*) 15080 case $host_cpu in 15081 hppa*64*) 15082 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15083 ;; 15084 ia64*) 15085 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15086 ;; 15087 *) 15088 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15089 ;; 15090 esac 15091 # Commands to make compiler produce verbose output that lists 15092 # what "hidden" libraries, object files and flags are used when 15093 # linking a shared library. 15094 # 15095 # There doesn't appear to be a way to prevent this compiler from 15096 # explicitly linking system object files so we need to strip them 15097 # from the output so that they don't get included in the library 15098 # dependencies. 15099 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 15100 ;; 15101 *) 15102 if test yes = "$GXX"; then 15103 if test no = "$with_gnu_ld"; then 15104 case $host_cpu in 15105 hppa*64*) 15106 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15107 ;; 15108 ia64*) 15109 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15110 ;; 15111 *) 15112 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15113 ;; 15114 esac 15115 fi 15116 else 15117 # FIXME: insert proper C++ library support 15118 ld_shlibs_CXX=no 15119 fi 15120 ;; 15121 esac 15122 ;; 15123 15124 interix[3-9]*) 15125 hardcode_direct_CXX=no 15126 hardcode_shlibpath_var_CXX=no 15127 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15128 export_dynamic_flag_spec_CXX='$wl-E' 15129 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 15130 # Instead, shared libraries are loaded at an image base (0x10000000 by 15131 # default) and relocated if they conflict, which is a slow very memory 15132 # consuming and fragmenting process. To avoid this, we pick a random, 15133 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 15134 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 15135 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 15136 archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 15137 ;; 15138 irix5* | irix6*) 15139 case $cc_basename in 15140 CC*) 15141 # SGI C++ 15142 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 15143 15144 # Archives containing C++ object files must be created using 15145 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 15146 # necessary to make sure instantiated templates are included 15147 # in the archive. 15148 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 15149 ;; 15150 *) 15151 if test yes = "$GXX"; then 15152 if test no = "$with_gnu_ld"; then 15153 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 15154 else 15155 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' 15156 fi 15157 fi 15158 link_all_deplibs_CXX=yes 15159 ;; 15160 esac 15161 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15162 hardcode_libdir_separator_CXX=: 15163 inherit_rpath_CXX=yes 15164 ;; 15165 15166 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15167 case $cc_basename in 15168 KCC*) 15169 # Kuck and Associates, Inc. (KAI) C++ Compiler 15170 15171 # KCC will only create a shared library if the output file 15172 # ends with ".so" (or ".sl" for HP-UX), so rename the library 15173 # to its proper name (with version) after linking. 15174 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 15175 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' 15176 # Commands to make compiler produce verbose output that lists 15177 # what "hidden" libraries, object files and flags are used when 15178 # linking a shared library. 15179 # 15180 # There doesn't appear to be a way to prevent this compiler from 15181 # explicitly linking system object files so we need to strip them 15182 # from the output so that they don't get included in the library 15183 # dependencies. 15184 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 15185 15186 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15187 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15188 15189 # Archives containing C++ object files must be created using 15190 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 15191 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 15192 ;; 15193 icpc* | ecpc* ) 15194 # Intel C++ 15195 with_gnu_ld=yes 15196 # version 8.0 and above of icpc choke on multiply defined symbols 15197 # if we add $predep_objects and $postdep_objects, however 7.1 and 15198 # earlier do not add the objects themselves. 15199 case `$CC -V 2>&1` in 15200 *"Version 7."*) 15201 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15202 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15203 ;; 15204 *) # Version 8.0 or newer 15205 tmp_idyn= 15206 case $host_cpu in 15207 ia64*) tmp_idyn=' -i_dynamic';; 15208 esac 15209 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15210 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15211 ;; 15212 esac 15213 archive_cmds_need_lc_CXX=no 15214 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15215 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15216 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 15217 ;; 15218 pgCC* | pgcpp*) 15219 # Portland Group C++ compiler 15220 case `$CC -V` in 15221 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 15222 prelink_cmds_CXX='tpldir=Template.dir~ 15223 rm -rf $tpldir~ 15224 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 15225 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 15226 old_archive_cmds_CXX='tpldir=Template.dir~ 15227 rm -rf $tpldir~ 15228 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 15229 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 15230 $RANLIB $oldlib' 15231 archive_cmds_CXX='tpldir=Template.dir~ 15232 rm -rf $tpldir~ 15233 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 15234 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15235 archive_expsym_cmds_CXX='tpldir=Template.dir~ 15236 rm -rf $tpldir~ 15237 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 15238 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15239 ;; 15240 *) # Version 6 and above use weak symbols 15241 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15242 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15243 ;; 15244 esac 15245 15246 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 15247 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15248 whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 15249 ;; 15250 cxx*) 15251 # Compaq C++ 15252 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15253 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' 15254 15255 runpath_var=LD_RUN_PATH 15256 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 15257 hardcode_libdir_separator_CXX=: 15258 15259 # Commands to make compiler produce verbose output that lists 15260 # what "hidden" libraries, object files and flags are used when 15261 # linking a shared library. 15262 # 15263 # There doesn't appear to be a way to prevent this compiler from 15264 # explicitly linking system object files so we need to strip them 15265 # from the output so that they don't get included in the library 15266 # dependencies. 15267 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 15268 ;; 15269 xl* | mpixl* | bgxl*) 15270 # IBM XL 8.0 on PPC, with GNU ld 15271 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15272 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15273 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15274 if test yes = "$supports_anon_versioning"; then 15275 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 15276 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 15277 echo "local: *; };" >> $output_objdir/$libname.ver~ 15278 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 15279 fi 15280 ;; 15281 *) 15282 case `$CC -V 2>&1 | sed 5q` in 15283 *Sun\ C*) 15284 # Sun C++ 5.9 15285 no_undefined_flag_CXX=' -zdefs' 15286 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15287 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' 15288 hardcode_libdir_flag_spec_CXX='-R$libdir' 15289 whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 15290 compiler_needs_object_CXX=yes 15291 15292 # Not sure whether something based on 15293 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 15294 # would be better. 15295 output_verbose_link_cmd='func_echo_all' 15296 15297 # Archives containing C++ object files must be created using 15298 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15299 # necessary to make sure instantiated templates are included 15300 # in the archive. 15301 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15302 ;; 15303 esac 15304 ;; 15305 esac 15306 ;; 15307 15308 lynxos*) 15309 # FIXME: insert proper C++ library support 15310 ld_shlibs_CXX=no 15311 ;; 15312 15313 m88k*) 15314 # FIXME: insert proper C++ library support 15315 ld_shlibs_CXX=no 15316 ;; 15317 15318 mvs*) 15319 case $cc_basename in 15320 cxx*) 15321 # FIXME: insert proper C++ library support 15322 ld_shlibs_CXX=no 15323 ;; 15324 *) 15325 # FIXME: insert proper C++ library support 15326 ld_shlibs_CXX=no 15327 ;; 15328 esac 15329 ;; 15330 15331 netbsd*) 15332 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15333 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 15334 wlarc= 15335 hardcode_libdir_flag_spec_CXX='-R$libdir' 15336 hardcode_direct_CXX=yes 15337 hardcode_shlibpath_var_CXX=no 15338 fi 15339 # Workaround some broken pre-1.5 toolchains 15340 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 15341 ;; 15342 15343 *nto* | *qnx*) 15344 ld_shlibs_CXX=yes 15345 ;; 15346 15347 openbsd* | bitrig*) 15348 if test -f /usr/libexec/ld.so; then 15349 hardcode_direct_CXX=yes 15350 hardcode_shlibpath_var_CXX=no 15351 hardcode_direct_absolute_CXX=yes 15352 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 15353 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15354 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 15355 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 15356 export_dynamic_flag_spec_CXX='$wl-E' 15357 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 15358 fi 15359 output_verbose_link_cmd=func_echo_all 15360 else 15361 ld_shlibs_CXX=no 15362 fi 15363 ;; 15364 15365 osf3* | osf4* | osf5*) 15366 case $cc_basename in 15367 KCC*) 15368 # Kuck and Associates, Inc. (KAI) C++ Compiler 15369 15370 # KCC will only create a shared library if the output file 15371 # ends with ".so" (or ".sl" for HP-UX), so rename the library 15372 # to its proper name (with version) after linking. 15373 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 15374 15375 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15376 hardcode_libdir_separator_CXX=: 15377 15378 # Archives containing C++ object files must be created using 15379 # the KAI C++ compiler. 15380 case $host in 15381 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 15382 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 15383 esac 15384 ;; 15385 RCC*) 15386 # Rational C++ 2.4.1 15387 # FIXME: insert proper C++ library support 15388 ld_shlibs_CXX=no 15389 ;; 15390 cxx*) 15391 case $host in 15392 osf3*) 15393 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 15394 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 15395 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15396 ;; 15397 *) 15398 allow_undefined_flag_CXX=' -expect_unresolved \*' 15399 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 15400 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 15401 echo "-hidden">> $lib.exp~ 15402 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ 15403 $RM $lib.exp' 15404 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 15405 ;; 15406 esac 15407 15408 hardcode_libdir_separator_CXX=: 15409 15410 # Commands to make compiler produce verbose output that lists 15411 # what "hidden" libraries, object files and flags are used when 15412 # linking a shared library. 15413 # 15414 # There doesn't appear to be a way to prevent this compiler from 15415 # explicitly linking system object files so we need to strip them 15416 # from the output so that they don't get included in the library 15417 # dependencies. 15418 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 15419 ;; 15420 *) 15421 if test yes,no = "$GXX,$with_gnu_ld"; then 15422 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 15423 case $host in 15424 osf3*) 15425 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 15426 ;; 15427 *) 15428 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 15429 ;; 15430 esac 15431 15432 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15433 hardcode_libdir_separator_CXX=: 15434 15435 # Commands to make compiler produce verbose output that lists 15436 # what "hidden" libraries, object files and flags are used when 15437 # linking a shared library. 15438 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15439 15440 else 15441 # FIXME: insert proper C++ library support 15442 ld_shlibs_CXX=no 15443 fi 15444 ;; 15445 esac 15446 ;; 15447 15448 psos*) 15449 # FIXME: insert proper C++ library support 15450 ld_shlibs_CXX=no 15451 ;; 15452 15453 sunos4*) 15454 case $cc_basename in 15455 CC*) 15456 # Sun C++ 4.x 15457 # FIXME: insert proper C++ library support 15458 ld_shlibs_CXX=no 15459 ;; 15460 lcc*) 15461 # Lucid 15462 # FIXME: insert proper C++ library support 15463 ld_shlibs_CXX=no 15464 ;; 15465 *) 15466 # FIXME: insert proper C++ library support 15467 ld_shlibs_CXX=no 15468 ;; 15469 esac 15470 ;; 15471 15472 solaris*) 15473 case $cc_basename in 15474 CC* | sunCC*) 15475 # Sun C++ 4.2, 5.x and Centerline C++ 15476 archive_cmds_need_lc_CXX=yes 15477 no_undefined_flag_CXX=' -zdefs' 15478 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15479 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15480 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 15481 15482 hardcode_libdir_flag_spec_CXX='-R$libdir' 15483 hardcode_shlibpath_var_CXX=no 15484 case $host_os in 15485 solaris2.[0-5] | solaris2.[0-5].*) ;; 15486 *) 15487 # The compiler driver will combine and reorder linker options, 15488 # but understands '-z linker_flag'. 15489 # Supported since Solaris 2.6 (maybe 2.5.1?) 15490 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 15491 ;; 15492 esac 15493 link_all_deplibs_CXX=yes 15494 15495 output_verbose_link_cmd='func_echo_all' 15496 15497 # Archives containing C++ object files must be created using 15498 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15499 # necessary to make sure instantiated templates are included 15500 # in the archive. 15501 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15502 ;; 15503 gcx*) 15504 # Green Hills C++ Compiler 15505 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15506 15507 # The C++ compiler must be used to create the archive. 15508 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 15509 ;; 15510 *) 15511 # GNU C++ compiler with Solaris linker 15512 if test yes,no = "$GXX,$with_gnu_ld"; then 15513 no_undefined_flag_CXX=' $wl-z ${wl}defs' 15514 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 15515 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15516 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15517 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 15518 15519 # Commands to make compiler produce verbose output that lists 15520 # what "hidden" libraries, object files and flags are used when 15521 # linking a shared library. 15522 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15523 else 15524 # g++ 2.7 appears to require '-G' NOT '-shared' on this 15525 # platform. 15526 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15527 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15528 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 15529 15530 # Commands to make compiler produce verbose output that lists 15531 # what "hidden" libraries, object files and flags are used when 15532 # linking a shared library. 15533 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15534 fi 15535 15536 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 15537 case $host_os in 15538 solaris2.[0-5] | solaris2.[0-5].*) ;; 15539 *) 15540 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 15541 ;; 15542 esac 15543 fi 15544 ;; 15545 esac 15546 ;; 15547 15548 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15549 no_undefined_flag_CXX='$wl-z,text' 15550 archive_cmds_need_lc_CXX=no 15551 hardcode_shlibpath_var_CXX=no 15552 runpath_var='LD_RUN_PATH' 15553 15554 case $cc_basename in 15555 CC*) 15556 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15557 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15558 ;; 15559 *) 15560 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15561 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15562 ;; 15563 esac 15564 ;; 15565 15566 sysv5* | sco3.2v5* | sco5v6*) 15567 # Note: We CANNOT use -z defs as we might desire, because we do not 15568 # link with -lc, and that would cause any symbols used from libc to 15569 # always be unresolved, which means just about no library would 15570 # ever link correctly. If we're not using GNU ld we use -z text 15571 # though, which does catch some bad symbols but isn't as heavy-handed 15572 # as -z defs. 15573 no_undefined_flag_CXX='$wl-z,text' 15574 allow_undefined_flag_CXX='$wl-z,nodefs' 15575 archive_cmds_need_lc_CXX=no 15576 hardcode_shlibpath_var_CXX=no 15577 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 15578 hardcode_libdir_separator_CXX=':' 15579 link_all_deplibs_CXX=yes 15580 export_dynamic_flag_spec_CXX='$wl-Bexport' 15581 runpath_var='LD_RUN_PATH' 15582 15583 case $cc_basename in 15584 CC*) 15585 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15586 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15587 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 15588 '"$old_archive_cmds_CXX" 15589 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 15590 '"$reload_cmds_CXX" 15591 ;; 15592 *) 15593 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15594 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15595 ;; 15596 esac 15597 ;; 15598 15599 tandem*) 15600 case $cc_basename in 15601 NCC*) 15602 # NonStop-UX NCC 3.20 15603 # FIXME: insert proper C++ library support 15604 ld_shlibs_CXX=no 15605 ;; 15606 *) 15607 # FIXME: insert proper C++ library support 15608 ld_shlibs_CXX=no 15609 ;; 15610 esac 15611 ;; 15612 15613 vxworks*) 15614 # FIXME: insert proper C++ library support 15615 ld_shlibs_CXX=no 15616 ;; 15617 15618 *) 15619 # FIXME: insert proper C++ library support 15620 ld_shlibs_CXX=no 15621 ;; 15622 esac 15623 15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15625$as_echo "$ld_shlibs_CXX" >&6; } 15626 test no = "$ld_shlibs_CXX" && can_build_shared=no 15627 15628 GCC_CXX=$GXX 15629 LD_CXX=$LD 15630 15631 ## CAVEAT EMPTOR: 15632 ## There is no encapsulation within the following macros, do not change 15633 ## the running order or otherwise move them around unless you know exactly 15634 ## what you are doing... 15635 # Dependencies to place before and after the object being linked: 15636predep_objects_CXX= 15637postdep_objects_CXX= 15638predeps_CXX= 15639postdeps_CXX= 15640compiler_lib_search_path_CXX= 15641 15642cat > conftest.$ac_ext <<_LT_EOF 15643class Foo 15644{ 15645public: 15646 Foo (void) { a = 0; } 15647private: 15648 int a; 15649}; 15650_LT_EOF 15651 15652 15653_lt_libdeps_save_CFLAGS=$CFLAGS 15654case "$CC $CFLAGS " in #( 15655*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 15656*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 15657*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 15658esac 15659 15660if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15661 (eval $ac_compile) 2>&5 15662 ac_status=$? 15663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15664 test $ac_status = 0; }; then 15665 # Parse the compiler output and extract the necessary 15666 # objects, libraries and library flags. 15667 15668 # Sentinel used to keep track of whether or not we are before 15669 # the conftest object file. 15670 pre_test_object_deps_done=no 15671 15672 for p in `eval "$output_verbose_link_cmd"`; do 15673 case $prev$p in 15674 15675 -L* | -R* | -l*) 15676 # Some compilers place space between "-{L,R}" and the path. 15677 # Remove the space. 15678 if test x-L = "$p" || 15679 test x-R = "$p"; then 15680 prev=$p 15681 continue 15682 fi 15683 15684 # Expand the sysroot to ease extracting the directories later. 15685 if test -z "$prev"; then 15686 case $p in 15687 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 15688 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 15689 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 15690 esac 15691 fi 15692 case $p in 15693 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 15694 esac 15695 if test no = "$pre_test_object_deps_done"; then 15696 case $prev in 15697 -L | -R) 15698 # Internal compiler library paths should come after those 15699 # provided the user. The postdeps already come after the 15700 # user supplied libs so there is no need to process them. 15701 if test -z "$compiler_lib_search_path_CXX"; then 15702 compiler_lib_search_path_CXX=$prev$p 15703 else 15704 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 15705 fi 15706 ;; 15707 # The "-l" case would never come before the object being 15708 # linked, so don't bother handling this case. 15709 esac 15710 else 15711 if test -z "$postdeps_CXX"; then 15712 postdeps_CXX=$prev$p 15713 else 15714 postdeps_CXX="${postdeps_CXX} $prev$p" 15715 fi 15716 fi 15717 prev= 15718 ;; 15719 15720 *.lto.$objext) ;; # Ignore GCC LTO objects 15721 *.$objext) 15722 # This assumes that the test object file only shows up 15723 # once in the compiler output. 15724 if test "$p" = "conftest.$objext"; then 15725 pre_test_object_deps_done=yes 15726 continue 15727 fi 15728 15729 if test no = "$pre_test_object_deps_done"; then 15730 if test -z "$predep_objects_CXX"; then 15731 predep_objects_CXX=$p 15732 else 15733 predep_objects_CXX="$predep_objects_CXX $p" 15734 fi 15735 else 15736 if test -z "$postdep_objects_CXX"; then 15737 postdep_objects_CXX=$p 15738 else 15739 postdep_objects_CXX="$postdep_objects_CXX $p" 15740 fi 15741 fi 15742 ;; 15743 15744 *) ;; # Ignore the rest. 15745 15746 esac 15747 done 15748 15749 # Clean up. 15750 rm -f a.out a.exe 15751else 15752 echo "libtool.m4: error: problem compiling CXX test program" 15753fi 15754 15755$RM -f confest.$objext 15756CFLAGS=$_lt_libdeps_save_CFLAGS 15757 15758# PORTME: override above test on systems where it is broken 15759case $host_os in 15760interix[3-9]*) 15761 # Interix 3.5 installs completely hosed .la files for C++, so rather than 15762 # hack all around it, let's just trust "g++" to DTRT. 15763 predep_objects_CXX= 15764 postdep_objects_CXX= 15765 postdeps_CXX= 15766 ;; 15767esac 15768 15769 15770case " $postdeps_CXX " in 15771*" -lc "*) archive_cmds_need_lc_CXX=no ;; 15772esac 15773 compiler_lib_search_dirs_CXX= 15774if test -n "${compiler_lib_search_path_CXX}"; then 15775 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 15776fi 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 lt_prog_compiler_wl_CXX= 15809lt_prog_compiler_pic_CXX= 15810lt_prog_compiler_static_CXX= 15811 15812 15813 # C++ specific cases for pic, static, wl, etc. 15814 if test yes = "$GXX"; then 15815 lt_prog_compiler_wl_CXX='-Wl,' 15816 lt_prog_compiler_static_CXX='-static' 15817 15818 case $host_os in 15819 aix*) 15820 # All AIX code is PIC. 15821 if test ia64 = "$host_cpu"; then 15822 # AIX 5 now supports IA64 processor 15823 lt_prog_compiler_static_CXX='-Bstatic' 15824 fi 15825 lt_prog_compiler_pic_CXX='-fPIC' 15826 ;; 15827 15828 amigaos*) 15829 case $host_cpu in 15830 powerpc) 15831 # see comment about AmigaOS4 .so support 15832 lt_prog_compiler_pic_CXX='-fPIC' 15833 ;; 15834 m68k) 15835 # FIXME: we need at least 68020 code to build shared libraries, but 15836 # adding the '-m68020' flag to GCC prevents building anything better, 15837 # like '-m68040'. 15838 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 15839 ;; 15840 esac 15841 ;; 15842 15843 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 15844 # PIC is the default for these OSes. 15845 ;; 15846 mingw* | cygwin* | os2* | pw32* | cegcc*) 15847 # This hack is so that the source file can tell whether it is being 15848 # built for inclusion in a dll (and should export symbols for example). 15849 # Although the cygwin gcc ignores -fPIC, still need this for old-style 15850 # (--disable-auto-import) libraries 15851 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15852 case $host_os in 15853 os2*) 15854 lt_prog_compiler_static_CXX='$wl-static' 15855 ;; 15856 esac 15857 ;; 15858 darwin* | rhapsody*) 15859 # PIC is the default on this platform 15860 # Common symbols not allowed in MH_DYLIB files 15861 lt_prog_compiler_pic_CXX='-fno-common' 15862 ;; 15863 *djgpp*) 15864 # DJGPP does not support shared libraries at all 15865 lt_prog_compiler_pic_CXX= 15866 ;; 15867 haiku*) 15868 # PIC is the default for Haiku. 15869 # The "-static" flag exists, but is broken. 15870 lt_prog_compiler_static_CXX= 15871 ;; 15872 interix[3-9]*) 15873 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15874 # Instead, we relocate shared libraries at runtime. 15875 ;; 15876 sysv4*MP*) 15877 if test -d /usr/nec; then 15878 lt_prog_compiler_pic_CXX=-Kconform_pic 15879 fi 15880 ;; 15881 hpux*) 15882 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15883 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15884 # sets the default TLS model and affects inlining. 15885 case $host_cpu in 15886 hppa*64*) 15887 ;; 15888 *) 15889 lt_prog_compiler_pic_CXX='-fPIC' 15890 ;; 15891 esac 15892 ;; 15893 *qnx* | *nto*) 15894 # QNX uses GNU C++, but need to define -shared option too, otherwise 15895 # it will coredump. 15896 lt_prog_compiler_pic_CXX='-fPIC -shared' 15897 ;; 15898 *) 15899 lt_prog_compiler_pic_CXX='-fPIC' 15900 ;; 15901 esac 15902 else 15903 case $host_os in 15904 aix[4-9]*) 15905 # All AIX code is PIC. 15906 if test ia64 = "$host_cpu"; then 15907 # AIX 5 now supports IA64 processor 15908 lt_prog_compiler_static_CXX='-Bstatic' 15909 else 15910 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15911 fi 15912 ;; 15913 chorus*) 15914 case $cc_basename in 15915 cxch68*) 15916 # Green Hills C++ Compiler 15917 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 15918 ;; 15919 esac 15920 ;; 15921 mingw* | cygwin* | os2* | pw32* | cegcc*) 15922 # This hack is so that the source file can tell whether it is being 15923 # built for inclusion in a dll (and should export symbols for example). 15924 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15925 ;; 15926 dgux*) 15927 case $cc_basename in 15928 ec++*) 15929 lt_prog_compiler_pic_CXX='-KPIC' 15930 ;; 15931 ghcx*) 15932 # Green Hills C++ Compiler 15933 lt_prog_compiler_pic_CXX='-pic' 15934 ;; 15935 *) 15936 ;; 15937 esac 15938 ;; 15939 freebsd* | dragonfly*) 15940 # FreeBSD uses GNU C++ 15941 ;; 15942 hpux9* | hpux10* | hpux11*) 15943 case $cc_basename in 15944 CC*) 15945 lt_prog_compiler_wl_CXX='-Wl,' 15946 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15947 if test ia64 != "$host_cpu"; then 15948 lt_prog_compiler_pic_CXX='+Z' 15949 fi 15950 ;; 15951 aCC*) 15952 lt_prog_compiler_wl_CXX='-Wl,' 15953 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15954 case $host_cpu in 15955 hppa*64*|ia64*) 15956 # +Z the default 15957 ;; 15958 *) 15959 lt_prog_compiler_pic_CXX='+Z' 15960 ;; 15961 esac 15962 ;; 15963 *) 15964 ;; 15965 esac 15966 ;; 15967 interix*) 15968 # This is c89, which is MS Visual C++ (no shared libs) 15969 # Anyone wants to do a port? 15970 ;; 15971 irix5* | irix6* | nonstopux*) 15972 case $cc_basename in 15973 CC*) 15974 lt_prog_compiler_wl_CXX='-Wl,' 15975 lt_prog_compiler_static_CXX='-non_shared' 15976 # CC pic flag -KPIC is the default. 15977 ;; 15978 *) 15979 ;; 15980 esac 15981 ;; 15982 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15983 case $cc_basename in 15984 KCC*) 15985 # KAI C++ Compiler 15986 lt_prog_compiler_wl_CXX='--backend -Wl,' 15987 lt_prog_compiler_pic_CXX='-fPIC' 15988 ;; 15989 ecpc* ) 15990 # old Intel C++ for x86_64, which still supported -KPIC. 15991 lt_prog_compiler_wl_CXX='-Wl,' 15992 lt_prog_compiler_pic_CXX='-KPIC' 15993 lt_prog_compiler_static_CXX='-static' 15994 ;; 15995 icpc* ) 15996 # Intel C++, used to be incompatible with GCC. 15997 # ICC 10 doesn't accept -KPIC any more. 15998 lt_prog_compiler_wl_CXX='-Wl,' 15999 lt_prog_compiler_pic_CXX='-fPIC' 16000 lt_prog_compiler_static_CXX='-static' 16001 ;; 16002 pgCC* | pgcpp*) 16003 # Portland Group C++ compiler 16004 lt_prog_compiler_wl_CXX='-Wl,' 16005 lt_prog_compiler_pic_CXX='-fpic' 16006 lt_prog_compiler_static_CXX='-Bstatic' 16007 ;; 16008 cxx*) 16009 # Compaq C++ 16010 # Make sure the PIC flag is empty. It appears that all Alpha 16011 # Linux and Compaq Tru64 Unix objects are PIC. 16012 lt_prog_compiler_pic_CXX= 16013 lt_prog_compiler_static_CXX='-non_shared' 16014 ;; 16015 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 16016 # IBM XL 8.0, 9.0 on PPC and BlueGene 16017 lt_prog_compiler_wl_CXX='-Wl,' 16018 lt_prog_compiler_pic_CXX='-qpic' 16019 lt_prog_compiler_static_CXX='-qstaticlink' 16020 ;; 16021 *) 16022 case `$CC -V 2>&1 | sed 5q` in 16023 *Sun\ C*) 16024 # Sun C++ 5.9 16025 lt_prog_compiler_pic_CXX='-KPIC' 16026 lt_prog_compiler_static_CXX='-Bstatic' 16027 lt_prog_compiler_wl_CXX='-Qoption ld ' 16028 ;; 16029 esac 16030 ;; 16031 esac 16032 ;; 16033 lynxos*) 16034 ;; 16035 m88k*) 16036 ;; 16037 mvs*) 16038 case $cc_basename in 16039 cxx*) 16040 lt_prog_compiler_pic_CXX='-W c,exportall' 16041 ;; 16042 *) 16043 ;; 16044 esac 16045 ;; 16046 netbsd*) 16047 ;; 16048 *qnx* | *nto*) 16049 # QNX uses GNU C++, but need to define -shared option too, otherwise 16050 # it will coredump. 16051 lt_prog_compiler_pic_CXX='-fPIC -shared' 16052 ;; 16053 osf3* | osf4* | osf5*) 16054 case $cc_basename in 16055 KCC*) 16056 lt_prog_compiler_wl_CXX='--backend -Wl,' 16057 ;; 16058 RCC*) 16059 # Rational C++ 2.4.1 16060 lt_prog_compiler_pic_CXX='-pic' 16061 ;; 16062 cxx*) 16063 # Digital/Compaq C++ 16064 lt_prog_compiler_wl_CXX='-Wl,' 16065 # Make sure the PIC flag is empty. It appears that all Alpha 16066 # Linux and Compaq Tru64 Unix objects are PIC. 16067 lt_prog_compiler_pic_CXX= 16068 lt_prog_compiler_static_CXX='-non_shared' 16069 ;; 16070 *) 16071 ;; 16072 esac 16073 ;; 16074 psos*) 16075 ;; 16076 solaris*) 16077 case $cc_basename in 16078 CC* | sunCC*) 16079 # Sun C++ 4.2, 5.x and Centerline C++ 16080 lt_prog_compiler_pic_CXX='-KPIC' 16081 lt_prog_compiler_static_CXX='-Bstatic' 16082 lt_prog_compiler_wl_CXX='-Qoption ld ' 16083 ;; 16084 gcx*) 16085 # Green Hills C++ Compiler 16086 lt_prog_compiler_pic_CXX='-PIC' 16087 ;; 16088 *) 16089 ;; 16090 esac 16091 ;; 16092 sunos4*) 16093 case $cc_basename in 16094 CC*) 16095 # Sun C++ 4.x 16096 lt_prog_compiler_pic_CXX='-pic' 16097 lt_prog_compiler_static_CXX='-Bstatic' 16098 ;; 16099 lcc*) 16100 # Lucid 16101 lt_prog_compiler_pic_CXX='-pic' 16102 ;; 16103 *) 16104 ;; 16105 esac 16106 ;; 16107 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 16108 case $cc_basename in 16109 CC*) 16110 lt_prog_compiler_wl_CXX='-Wl,' 16111 lt_prog_compiler_pic_CXX='-KPIC' 16112 lt_prog_compiler_static_CXX='-Bstatic' 16113 ;; 16114 esac 16115 ;; 16116 tandem*) 16117 case $cc_basename in 16118 NCC*) 16119 # NonStop-UX NCC 3.20 16120 lt_prog_compiler_pic_CXX='-KPIC' 16121 ;; 16122 *) 16123 ;; 16124 esac 16125 ;; 16126 vxworks*) 16127 ;; 16128 *) 16129 lt_prog_compiler_can_build_shared_CXX=no 16130 ;; 16131 esac 16132 fi 16133 16134case $host_os in 16135 # For platforms that do not support PIC, -DPIC is meaningless: 16136 *djgpp*) 16137 lt_prog_compiler_pic_CXX= 16138 ;; 16139 *) 16140 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 16141 ;; 16142esac 16143 16144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 16145$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 16146if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 16147 $as_echo_n "(cached) " >&6 16148else 16149 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 16150fi 16151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 16152$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 16153lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 16154 16155# 16156# Check to make sure the PIC flag actually works. 16157# 16158if test -n "$lt_prog_compiler_pic_CXX"; then 16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 16160$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 16161if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 16162 $as_echo_n "(cached) " >&6 16163else 16164 lt_cv_prog_compiler_pic_works_CXX=no 16165 ac_outfile=conftest.$ac_objext 16166 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16167 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 16168 # Insert the option either (1) after the last *FLAGS variable, or 16169 # (2) before a word containing "conftest.", or (3) at the end. 16170 # Note that $ac_compile itself does not contain backslashes and begins 16171 # with a dollar sign (not a hyphen), so the echo should work correctly. 16172 # The option is referenced via a variable to avoid confusing sed. 16173 lt_compile=`echo "$ac_compile" | $SED \ 16174 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16175 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16176 -e 's:$: $lt_compiler_flag:'` 16177 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16178 (eval "$lt_compile" 2>conftest.err) 16179 ac_status=$? 16180 cat conftest.err >&5 16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16182 if (exit $ac_status) && test -s "$ac_outfile"; then 16183 # The compiler can only warn and ignore the option if not recognized 16184 # So say no if there are warnings other than the usual output. 16185 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 16186 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16187 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 16188 lt_cv_prog_compiler_pic_works_CXX=yes 16189 fi 16190 fi 16191 $RM conftest* 16192 16193fi 16194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 16195$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 16196 16197if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 16198 case $lt_prog_compiler_pic_CXX in 16199 "" | " "*) ;; 16200 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 16201 esac 16202else 16203 lt_prog_compiler_pic_CXX= 16204 lt_prog_compiler_can_build_shared_CXX=no 16205fi 16206 16207fi 16208 16209 16210 16211 16212 16213# 16214# Check to make sure the static flag actually works. 16215# 16216wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 16217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 16218$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 16219if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 16220 $as_echo_n "(cached) " >&6 16221else 16222 lt_cv_prog_compiler_static_works_CXX=no 16223 save_LDFLAGS=$LDFLAGS 16224 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 16225 echo "$lt_simple_link_test_code" > conftest.$ac_ext 16226 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 16227 # The linker can only warn and ignore the option if not recognized 16228 # So say no if there are warnings 16229 if test -s conftest.err; then 16230 # Append any errors to the config.log. 16231 cat conftest.err 1>&5 16232 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 16233 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16234 if diff conftest.exp conftest.er2 >/dev/null; then 16235 lt_cv_prog_compiler_static_works_CXX=yes 16236 fi 16237 else 16238 lt_cv_prog_compiler_static_works_CXX=yes 16239 fi 16240 fi 16241 $RM -r conftest* 16242 LDFLAGS=$save_LDFLAGS 16243 16244fi 16245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 16246$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 16247 16248if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 16249 : 16250else 16251 lt_prog_compiler_static_CXX= 16252fi 16253 16254 16255 16256 16257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 16258$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 16259if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 16260 $as_echo_n "(cached) " >&6 16261else 16262 lt_cv_prog_compiler_c_o_CXX=no 16263 $RM -r conftest 2>/dev/null 16264 mkdir conftest 16265 cd conftest 16266 mkdir out 16267 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16268 16269 lt_compiler_flag="-o out/conftest2.$ac_objext" 16270 # Insert the option either (1) after the last *FLAGS variable, or 16271 # (2) before a word containing "conftest.", or (3) at the end. 16272 # Note that $ac_compile itself does not contain backslashes and begins 16273 # with a dollar sign (not a hyphen), so the echo should work correctly. 16274 lt_compile=`echo "$ac_compile" | $SED \ 16275 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16276 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16277 -e 's:$: $lt_compiler_flag:'` 16278 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16279 (eval "$lt_compile" 2>out/conftest.err) 16280 ac_status=$? 16281 cat out/conftest.err >&5 16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16283 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16284 then 16285 # The compiler can only warn and ignore the option if not recognized 16286 # So say no if there are warnings 16287 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 16288 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 16289 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 16290 lt_cv_prog_compiler_c_o_CXX=yes 16291 fi 16292 fi 16293 chmod u+w . 2>&5 16294 $RM conftest* 16295 # SGI C++ compiler will create directory out/ii_files/ for 16296 # template instantiation 16297 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 16298 $RM out/* && rmdir out 16299 cd .. 16300 $RM -r conftest 16301 $RM conftest* 16302 16303fi 16304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 16305$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 16306 16307 16308 16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 16310$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 16311if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 16312 $as_echo_n "(cached) " >&6 16313else 16314 lt_cv_prog_compiler_c_o_CXX=no 16315 $RM -r conftest 2>/dev/null 16316 mkdir conftest 16317 cd conftest 16318 mkdir out 16319 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16320 16321 lt_compiler_flag="-o out/conftest2.$ac_objext" 16322 # Insert the option either (1) after the last *FLAGS variable, or 16323 # (2) before a word containing "conftest.", or (3) at the end. 16324 # Note that $ac_compile itself does not contain backslashes and begins 16325 # with a dollar sign (not a hyphen), so the echo should work correctly. 16326 lt_compile=`echo "$ac_compile" | $SED \ 16327 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16328 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16329 -e 's:$: $lt_compiler_flag:'` 16330 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16331 (eval "$lt_compile" 2>out/conftest.err) 16332 ac_status=$? 16333 cat out/conftest.err >&5 16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16335 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16336 then 16337 # The compiler can only warn and ignore the option if not recognized 16338 # So say no if there are warnings 16339 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 16340 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 16341 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 16342 lt_cv_prog_compiler_c_o_CXX=yes 16343 fi 16344 fi 16345 chmod u+w . 2>&5 16346 $RM conftest* 16347 # SGI C++ compiler will create directory out/ii_files/ for 16348 # template instantiation 16349 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 16350 $RM out/* && rmdir out 16351 cd .. 16352 $RM -r conftest 16353 $RM conftest* 16354 16355fi 16356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 16357$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 16358 16359 16360 16361 16362hard_links=nottested 16363if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 16364 # do not overwrite the value of need_locks provided by the user 16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 16366$as_echo_n "checking if we can lock with hard links... " >&6; } 16367 hard_links=yes 16368 $RM conftest* 16369 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16370 touch conftest.a 16371 ln conftest.a conftest.b 2>&5 || hard_links=no 16372 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 16374$as_echo "$hard_links" >&6; } 16375 if test no = "$hard_links"; then 16376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 16377$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 16378 need_locks=warn 16379 fi 16380else 16381 need_locks=no 16382fi 16383 16384 16385 16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 16387$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 16388 16389 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 16390 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 16391 case $host_os in 16392 aix[4-9]*) 16393 # If we're using GNU nm, then we don't want the "-C" option. 16394 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 16395 # Without the "-l" option, or with the "-B" option, AIX nm treats 16396 # weak defined symbols like other global defined symbols, whereas 16397 # GNU nm marks them as "W". 16398 # While the 'weak' keyword is ignored in the Export File, we need 16399 # it in the Import File for the 'aix-soname' feature, so we have 16400 # to replace the "-B" option with "-P" for AIX nm. 16401 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 16402 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 16403 else 16404 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 16405 fi 16406 ;; 16407 pw32*) 16408 export_symbols_cmds_CXX=$ltdll_cmds 16409 ;; 16410 cygwin* | mingw* | cegcc*) 16411 case $cc_basename in 16412 cl*) 16413 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 16414 ;; 16415 *) 16416 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 16417 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 16418 ;; 16419 esac 16420 ;; 16421 *) 16422 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 16423 ;; 16424 esac 16425 16426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 16427$as_echo "$ld_shlibs_CXX" >&6; } 16428test no = "$ld_shlibs_CXX" && can_build_shared=no 16429 16430with_gnu_ld_CXX=$with_gnu_ld 16431 16432 16433 16434 16435 16436 16437# 16438# Do we need to explicitly link libc? 16439# 16440case "x$archive_cmds_need_lc_CXX" in 16441x|xyes) 16442 # Assume -lc should be added 16443 archive_cmds_need_lc_CXX=yes 16444 16445 if test yes,yes = "$GCC,$enable_shared"; then 16446 case $archive_cmds_CXX in 16447 *'~'*) 16448 # FIXME: we may have to deal with multi-command sequences. 16449 ;; 16450 '$CC '*) 16451 # Test whether the compiler implicitly links with -lc since on some 16452 # systems, -lgcc has to come before -lc. If gcc already passes -lc 16453 # to ld, don't add -lc before -lgcc. 16454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 16455$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 16456if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 16457 $as_echo_n "(cached) " >&6 16458else 16459 $RM conftest* 16460 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16461 16462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 16463 (eval $ac_compile) 2>&5 16464 ac_status=$? 16465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16466 test $ac_status = 0; } 2>conftest.err; then 16467 soname=conftest 16468 lib=conftest 16469 libobjs=conftest.$ac_objext 16470 deplibs= 16471 wl=$lt_prog_compiler_wl_CXX 16472 pic_flag=$lt_prog_compiler_pic_CXX 16473 compiler_flags=-v 16474 linker_flags=-v 16475 verstring= 16476 output_objdir=. 16477 libname=conftest 16478 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 16479 allow_undefined_flag_CXX= 16480 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 16481 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 16482 ac_status=$? 16483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16484 test $ac_status = 0; } 16485 then 16486 lt_cv_archive_cmds_need_lc_CXX=no 16487 else 16488 lt_cv_archive_cmds_need_lc_CXX=yes 16489 fi 16490 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 16491 else 16492 cat conftest.err 1>&5 16493 fi 16494 $RM conftest* 16495 16496fi 16497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 16498$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 16499 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 16500 ;; 16501 esac 16502 fi 16503 ;; 16504esac 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 16568$as_echo_n "checking dynamic linker characteristics... " >&6; } 16569 16570library_names_spec= 16571libname_spec='lib$name' 16572soname_spec= 16573shrext_cmds=.so 16574postinstall_cmds= 16575postuninstall_cmds= 16576finish_cmds= 16577finish_eval= 16578shlibpath_var= 16579shlibpath_overrides_runpath=unknown 16580version_type=none 16581dynamic_linker="$host_os ld.so" 16582sys_lib_dlsearch_path_spec="/lib /usr/lib" 16583need_lib_prefix=unknown 16584hardcode_into_libs=no 16585 16586# when you set need_version to no, make sure it does not cause -set_version 16587# flags to be left without arguments 16588need_version=unknown 16589 16590 16591 16592case $host_os in 16593aix3*) 16594 version_type=linux # correct to gnu/linux during the next big refactor 16595 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 16596 shlibpath_var=LIBPATH 16597 16598 # AIX 3 has no versioning support, so we append a major version to the name. 16599 soname_spec='$libname$release$shared_ext$major' 16600 ;; 16601 16602aix[4-9]*) 16603 version_type=linux # correct to gnu/linux during the next big refactor 16604 need_lib_prefix=no 16605 need_version=no 16606 hardcode_into_libs=yes 16607 if test ia64 = "$host_cpu"; then 16608 # AIX 5 supports IA64 16609 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 16610 shlibpath_var=LD_LIBRARY_PATH 16611 else 16612 # With GCC up to 2.95.x, collect2 would create an import file 16613 # for dependence libraries. The import file would start with 16614 # the line '#! .'. This would cause the generated library to 16615 # depend on '.', always an invalid library. This was fixed in 16616 # development snapshots of GCC prior to 3.0. 16617 case $host_os in 16618 aix4 | aix4.[01] | aix4.[01].*) 16619 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 16620 echo ' yes ' 16621 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 16622 : 16623 else 16624 can_build_shared=no 16625 fi 16626 ;; 16627 esac 16628 # Using Import Files as archive members, it is possible to support 16629 # filename-based versioning of shared library archives on AIX. While 16630 # this would work for both with and without runtime linking, it will 16631 # prevent static linking of such archives. So we do filename-based 16632 # shared library versioning with .so extension only, which is used 16633 # when both runtime linking and shared linking is enabled. 16634 # Unfortunately, runtime linking may impact performance, so we do 16635 # not want this to be the default eventually. Also, we use the 16636 # versioned .so libs for executables only if there is the -brtl 16637 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 16638 # To allow for filename-based versioning support, we need to create 16639 # libNAME.so.V as an archive file, containing: 16640 # *) an Import File, referring to the versioned filename of the 16641 # archive as well as the shared archive member, telling the 16642 # bitwidth (32 or 64) of that shared object, and providing the 16643 # list of exported symbols of that shared object, eventually 16644 # decorated with the 'weak' keyword 16645 # *) the shared object with the F_LOADONLY flag set, to really avoid 16646 # it being seen by the linker. 16647 # At run time we better use the real file rather than another symlink, 16648 # but for link time we create the symlink libNAME.so -> libNAME.so.V 16649 16650 case $with_aix_soname,$aix_use_runtimelinking in 16651 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 16652 # soname into executable. Probably we can add versioning support to 16653 # collect2, so additional links can be useful in future. 16654 aix,yes) # traditional libtool 16655 dynamic_linker='AIX unversionable lib.so' 16656 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 16657 # instead of lib<name>.a to let people know that these are not 16658 # typical AIX shared libraries. 16659 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16660 ;; 16661 aix,no) # traditional AIX only 16662 dynamic_linker='AIX lib.a(lib.so.V)' 16663 # We preserve .a as extension for shared libraries through AIX4.2 16664 # and later when we are not doing run time linking. 16665 library_names_spec='$libname$release.a $libname.a' 16666 soname_spec='$libname$release$shared_ext$major' 16667 ;; 16668 svr4,*) # full svr4 only 16669 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 16670 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16671 # We do not specify a path in Import Files, so LIBPATH fires. 16672 shlibpath_overrides_runpath=yes 16673 ;; 16674 *,yes) # both, prefer svr4 16675 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 16676 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16677 # unpreferred sharedlib libNAME.a needs extra handling 16678 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"' 16679 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"' 16680 # We do not specify a path in Import Files, so LIBPATH fires. 16681 shlibpath_overrides_runpath=yes 16682 ;; 16683 *,no) # both, prefer aix 16684 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 16685 library_names_spec='$libname$release.a $libname.a' 16686 soname_spec='$libname$release$shared_ext$major' 16687 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 16688 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)' 16689 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"' 16690 ;; 16691 esac 16692 shlibpath_var=LIBPATH 16693 fi 16694 ;; 16695 16696amigaos*) 16697 case $host_cpu in 16698 powerpc) 16699 # Since July 2007 AmigaOS4 officially supports .so libraries. 16700 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 16701 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16702 ;; 16703 m68k) 16704 library_names_spec='$libname.ixlibrary $libname.a' 16705 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16706 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' 16707 ;; 16708 esac 16709 ;; 16710 16711beos*) 16712 library_names_spec='$libname$shared_ext' 16713 dynamic_linker="$host_os ld.so" 16714 shlibpath_var=LIBRARY_PATH 16715 ;; 16716 16717bsdi[45]*) 16718 version_type=linux # correct to gnu/linux during the next big refactor 16719 need_version=no 16720 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16721 soname_spec='$libname$release$shared_ext$major' 16722 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16723 shlibpath_var=LD_LIBRARY_PATH 16724 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16725 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16726 # the default ld.so.conf also contains /usr/contrib/lib and 16727 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16728 # libtool to hard-code these into programs 16729 ;; 16730 16731cygwin* | mingw* | pw32* | cegcc*) 16732 version_type=windows 16733 shrext_cmds=.dll 16734 need_version=no 16735 need_lib_prefix=no 16736 16737 case $GCC,$cc_basename in 16738 yes,*) 16739 # gcc 16740 library_names_spec='$libname.dll.a' 16741 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16742 postinstall_cmds='base_file=`basename \$file`~ 16743 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16744 dldir=$destdir/`dirname \$dlpath`~ 16745 test -d \$dldir || mkdir -p \$dldir~ 16746 $install_prog $dir/$dlname \$dldir/$dlname~ 16747 chmod a+x \$dldir/$dlname~ 16748 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16749 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16750 fi' 16751 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16752 dlpath=$dir/\$dldll~ 16753 $RM \$dlpath' 16754 shlibpath_overrides_runpath=yes 16755 16756 case $host_os in 16757 cygwin*) 16758 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16759 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16760 16761 ;; 16762 mingw* | cegcc*) 16763 # MinGW DLLs use traditional 'lib' prefix 16764 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16765 ;; 16766 pw32*) 16767 # pw32 DLLs use 'pw' prefix rather than 'lib' 16768 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16769 ;; 16770 esac 16771 dynamic_linker='Win32 ld.exe' 16772 ;; 16773 16774 *,cl*) 16775 # Native MSVC 16776 libname_spec='$name' 16777 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16778 library_names_spec='$libname.dll.lib' 16779 16780 case $build_os in 16781 mingw*) 16782 sys_lib_search_path_spec= 16783 lt_save_ifs=$IFS 16784 IFS=';' 16785 for lt_path in $LIB 16786 do 16787 IFS=$lt_save_ifs 16788 # Let DOS variable expansion print the short 8.3 style file name. 16789 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 16790 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 16791 done 16792 IFS=$lt_save_ifs 16793 # Convert to MSYS style. 16794 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 16795 ;; 16796 cygwin*) 16797 # Convert to unix form, then to dos form, then back to unix form 16798 # but this time dos style (no spaces!) so that the unix form looks 16799 # like /cygdrive/c/PROGRA~1:/cygdr... 16800 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 16801 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 16802 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16803 ;; 16804 *) 16805 sys_lib_search_path_spec=$LIB 16806 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16807 # It is most probably a Windows format PATH. 16808 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16809 else 16810 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16811 fi 16812 # FIXME: find the short name or the path components, as spaces are 16813 # common. (e.g. "Program Files" -> "PROGRA~1") 16814 ;; 16815 esac 16816 16817 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16818 postinstall_cmds='base_file=`basename \$file`~ 16819 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16820 dldir=$destdir/`dirname \$dlpath`~ 16821 test -d \$dldir || mkdir -p \$dldir~ 16822 $install_prog $dir/$dlname \$dldir/$dlname' 16823 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16824 dlpath=$dir/\$dldll~ 16825 $RM \$dlpath' 16826 shlibpath_overrides_runpath=yes 16827 dynamic_linker='Win32 link.exe' 16828 ;; 16829 16830 *) 16831 # Assume MSVC wrapper 16832 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 16833 dynamic_linker='Win32 ld.exe' 16834 ;; 16835 esac 16836 # FIXME: first we should search . and the directory the executable is in 16837 shlibpath_var=PATH 16838 ;; 16839 16840darwin* | rhapsody*) 16841 dynamic_linker="$host_os dyld" 16842 version_type=darwin 16843 need_lib_prefix=no 16844 need_version=no 16845 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 16846 soname_spec='$libname$release$major$shared_ext' 16847 shlibpath_overrides_runpath=yes 16848 shlibpath_var=DYLD_LIBRARY_PATH 16849 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16850 16851 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16852 ;; 16853 16854dgux*) 16855 version_type=linux # correct to gnu/linux during the next big refactor 16856 need_lib_prefix=no 16857 need_version=no 16858 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16859 soname_spec='$libname$release$shared_ext$major' 16860 shlibpath_var=LD_LIBRARY_PATH 16861 ;; 16862 16863freebsd* | dragonfly*) 16864 # DragonFly does not have aout. When/if they implement a new 16865 # versioning mechanism, adjust this. 16866 if test -x /usr/bin/objformat; then 16867 objformat=`/usr/bin/objformat` 16868 else 16869 case $host_os in 16870 freebsd[23].*) objformat=aout ;; 16871 *) objformat=elf ;; 16872 esac 16873 fi 16874 version_type=freebsd-$objformat 16875 case $version_type in 16876 freebsd-elf*) 16877 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16878 soname_spec='$libname$release$shared_ext$major' 16879 need_version=no 16880 need_lib_prefix=no 16881 ;; 16882 freebsd-*) 16883 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16884 need_version=yes 16885 ;; 16886 esac 16887 shlibpath_var=LD_LIBRARY_PATH 16888 case $host_os in 16889 freebsd2.*) 16890 shlibpath_overrides_runpath=yes 16891 ;; 16892 freebsd3.[01]* | freebsdelf3.[01]*) 16893 shlibpath_overrides_runpath=yes 16894 hardcode_into_libs=yes 16895 ;; 16896 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16897 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16898 shlibpath_overrides_runpath=no 16899 hardcode_into_libs=yes 16900 ;; 16901 *) # from 4.6 on, and DragonFly 16902 shlibpath_overrides_runpath=yes 16903 hardcode_into_libs=yes 16904 ;; 16905 esac 16906 ;; 16907 16908haiku*) 16909 version_type=linux # correct to gnu/linux during the next big refactor 16910 need_lib_prefix=no 16911 need_version=no 16912 dynamic_linker="$host_os runtime_loader" 16913 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16914 soname_spec='$libname$release$shared_ext$major' 16915 shlibpath_var=LIBRARY_PATH 16916 shlibpath_overrides_runpath=no 16917 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16918 hardcode_into_libs=yes 16919 ;; 16920 16921hpux9* | hpux10* | hpux11*) 16922 # Give a soname corresponding to the major version so that dld.sl refuses to 16923 # link against other versions. 16924 version_type=sunos 16925 need_lib_prefix=no 16926 need_version=no 16927 case $host_cpu in 16928 ia64*) 16929 shrext_cmds='.so' 16930 hardcode_into_libs=yes 16931 dynamic_linker="$host_os dld.so" 16932 shlibpath_var=LD_LIBRARY_PATH 16933 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16934 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16935 soname_spec='$libname$release$shared_ext$major' 16936 if test 32 = "$HPUX_IA64_MODE"; then 16937 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16938 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 16939 else 16940 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16941 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 16942 fi 16943 ;; 16944 hppa*64*) 16945 shrext_cmds='.sl' 16946 hardcode_into_libs=yes 16947 dynamic_linker="$host_os dld.sl" 16948 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16949 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16950 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16951 soname_spec='$libname$release$shared_ext$major' 16952 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16953 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16954 ;; 16955 *) 16956 shrext_cmds='.sl' 16957 dynamic_linker="$host_os dld.sl" 16958 shlibpath_var=SHLIB_PATH 16959 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16960 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16961 soname_spec='$libname$release$shared_ext$major' 16962 ;; 16963 esac 16964 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16965 postinstall_cmds='chmod 555 $lib' 16966 # or fails outright, so override atomically: 16967 install_override_mode=555 16968 ;; 16969 16970interix[3-9]*) 16971 version_type=linux # correct to gnu/linux during the next big refactor 16972 need_lib_prefix=no 16973 need_version=no 16974 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16975 soname_spec='$libname$release$shared_ext$major' 16976 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16977 shlibpath_var=LD_LIBRARY_PATH 16978 shlibpath_overrides_runpath=no 16979 hardcode_into_libs=yes 16980 ;; 16981 16982irix5* | irix6* | nonstopux*) 16983 case $host_os in 16984 nonstopux*) version_type=nonstopux ;; 16985 *) 16986 if test yes = "$lt_cv_prog_gnu_ld"; then 16987 version_type=linux # correct to gnu/linux during the next big refactor 16988 else 16989 version_type=irix 16990 fi ;; 16991 esac 16992 need_lib_prefix=no 16993 need_version=no 16994 soname_spec='$libname$release$shared_ext$major' 16995 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16996 case $host_os in 16997 irix5* | nonstopux*) 16998 libsuff= shlibsuff= 16999 ;; 17000 *) 17001 case $LD in # libtool.m4 will add one of these switches to LD 17002 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 17003 libsuff= shlibsuff= libmagic=32-bit;; 17004 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 17005 libsuff=32 shlibsuff=N32 libmagic=N32;; 17006 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 17007 libsuff=64 shlibsuff=64 libmagic=64-bit;; 17008 *) libsuff= shlibsuff= libmagic=never-match;; 17009 esac 17010 ;; 17011 esac 17012 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 17013 shlibpath_overrides_runpath=no 17014 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 17015 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 17016 hardcode_into_libs=yes 17017 ;; 17018 17019# No shared lib support for Linux oldld, aout, or coff. 17020linux*oldld* | linux*aout* | linux*coff*) 17021 dynamic_linker=no 17022 ;; 17023 17024linux*android*) 17025 version_type=none # Android doesn't support versioned libraries. 17026 need_lib_prefix=no 17027 need_version=no 17028 library_names_spec='$libname$release$shared_ext' 17029 soname_spec='$libname$release$shared_ext' 17030 finish_cmds= 17031 shlibpath_var=LD_LIBRARY_PATH 17032 shlibpath_overrides_runpath=yes 17033 17034 # This implies no fast_install, which is unacceptable. 17035 # Some rework will be needed to allow for fast_install 17036 # before this can be enabled. 17037 hardcode_into_libs=yes 17038 17039 dynamic_linker='Android linker' 17040 # Don't embed -rpath directories since the linker doesn't support them. 17041 hardcode_libdir_flag_spec_CXX='-L$libdir' 17042 ;; 17043 17044# This must be glibc/ELF. 17045linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 17046 version_type=linux # correct to gnu/linux during the next big refactor 17047 need_lib_prefix=no 17048 need_version=no 17049 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17050 soname_spec='$libname$release$shared_ext$major' 17051 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 17052 shlibpath_var=LD_LIBRARY_PATH 17053 shlibpath_overrides_runpath=no 17054 17055 # Some binutils ld are patched to set DT_RUNPATH 17056 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 17057 $as_echo_n "(cached) " >&6 17058else 17059 lt_cv_shlibpath_overrides_runpath=no 17060 save_LDFLAGS=$LDFLAGS 17061 save_libdir=$libdir 17062 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 17063 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17065/* end confdefs.h. */ 17066 17067int 17068main () 17069{ 17070 17071 ; 17072 return 0; 17073} 17074_ACEOF 17075if ac_fn_cxx_try_link "$LINENO"; then : 17076 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 17077 lt_cv_shlibpath_overrides_runpath=yes 17078fi 17079fi 17080rm -f core conftest.err conftest.$ac_objext \ 17081 conftest$ac_exeext conftest.$ac_ext 17082 LDFLAGS=$save_LDFLAGS 17083 libdir=$save_libdir 17084 17085fi 17086 17087 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 17088 17089 # This implies no fast_install, which is unacceptable. 17090 # Some rework will be needed to allow for fast_install 17091 # before this can be enabled. 17092 hardcode_into_libs=yes 17093 17094 # Ideally, we could use ldconfig to report *all* directores which are 17095 # searched for libraries, however this is still not possible. Aside from not 17096 # being certain /sbin/ldconfig is available, command 17097 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 17098 # even though it is searched at run-time. Try to do the best guess by 17099 # appending ld.so.conf contents (and includes) to the search path. 17100 if test -f /etc/ld.so.conf; then 17101 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' ' '` 17102 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 17103 fi 17104 17105 # We used to test for /lib/ld.so.1 and disable shared libraries on 17106 # powerpc, because MkLinux only supported shared libraries with the 17107 # GNU dynamic linker. Since this was broken with cross compilers, 17108 # most powerpc-linux boxes support dynamic linking these days and 17109 # people can always --disable-shared, the test was removed, and we 17110 # assume the GNU/Linux dynamic linker is in use. 17111 dynamic_linker='GNU/Linux ld.so' 17112 ;; 17113 17114netbsd*) 17115 version_type=sunos 17116 need_lib_prefix=no 17117 need_version=no 17118 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 17119 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17120 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 17121 dynamic_linker='NetBSD (a.out) ld.so' 17122 else 17123 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17124 soname_spec='$libname$release$shared_ext$major' 17125 dynamic_linker='NetBSD ld.elf_so' 17126 fi 17127 shlibpath_var=LD_LIBRARY_PATH 17128 shlibpath_overrides_runpath=yes 17129 hardcode_into_libs=yes 17130 ;; 17131 17132newsos6) 17133 version_type=linux # correct to gnu/linux during the next big refactor 17134 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17135 shlibpath_var=LD_LIBRARY_PATH 17136 shlibpath_overrides_runpath=yes 17137 ;; 17138 17139*nto* | *qnx*) 17140 version_type=qnx 17141 need_lib_prefix=no 17142 need_version=no 17143 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17144 soname_spec='$libname$release$shared_ext$major' 17145 shlibpath_var=LD_LIBRARY_PATH 17146 shlibpath_overrides_runpath=no 17147 hardcode_into_libs=yes 17148 dynamic_linker='ldqnx.so' 17149 ;; 17150 17151openbsd* | bitrig*) 17152 version_type=sunos 17153 sys_lib_dlsearch_path_spec=/usr/lib 17154 need_lib_prefix=no 17155 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 17156 need_version=no 17157 else 17158 need_version=yes 17159 fi 17160 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17161 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 17162 shlibpath_var=LD_LIBRARY_PATH 17163 shlibpath_overrides_runpath=yes 17164 ;; 17165 17166os2*) 17167 libname_spec='$name' 17168 version_type=windows 17169 shrext_cmds=.dll 17170 need_version=no 17171 need_lib_prefix=no 17172 # OS/2 can only load a DLL with a base name of 8 characters or less. 17173 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 17174 v=$($ECHO $release$versuffix | tr -d .-); 17175 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 17176 $ECHO $n$v`$shared_ext' 17177 library_names_spec='${libname}_dll.$libext' 17178 dynamic_linker='OS/2 ld.exe' 17179 shlibpath_var=BEGINLIBPATH 17180 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 17181 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 17182 postinstall_cmds='base_file=`basename \$file`~ 17183 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 17184 dldir=$destdir/`dirname \$dlpath`~ 17185 test -d \$dldir || mkdir -p \$dldir~ 17186 $install_prog $dir/$dlname \$dldir/$dlname~ 17187 chmod a+x \$dldir/$dlname~ 17188 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 17189 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 17190 fi' 17191 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 17192 dlpath=$dir/\$dldll~ 17193 $RM \$dlpath' 17194 ;; 17195 17196osf3* | osf4* | osf5*) 17197 version_type=osf 17198 need_lib_prefix=no 17199 need_version=no 17200 soname_spec='$libname$release$shared_ext$major' 17201 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17202 shlibpath_var=LD_LIBRARY_PATH 17203 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 17204 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 17205 ;; 17206 17207rdos*) 17208 dynamic_linker=no 17209 ;; 17210 17211solaris*) 17212 version_type=linux # correct to gnu/linux during the next big refactor 17213 need_lib_prefix=no 17214 need_version=no 17215 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17216 soname_spec='$libname$release$shared_ext$major' 17217 shlibpath_var=LD_LIBRARY_PATH 17218 shlibpath_overrides_runpath=yes 17219 hardcode_into_libs=yes 17220 # ldd complains unless libraries are executable 17221 postinstall_cmds='chmod +x $lib' 17222 ;; 17223 17224sunos4*) 17225 version_type=sunos 17226 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17227 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 17228 shlibpath_var=LD_LIBRARY_PATH 17229 shlibpath_overrides_runpath=yes 17230 if test yes = "$with_gnu_ld"; then 17231 need_lib_prefix=no 17232 fi 17233 need_version=yes 17234 ;; 17235 17236sysv4 | sysv4.3*) 17237 version_type=linux # correct to gnu/linux during the next big refactor 17238 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17239 soname_spec='$libname$release$shared_ext$major' 17240 shlibpath_var=LD_LIBRARY_PATH 17241 case $host_vendor in 17242 sni) 17243 shlibpath_overrides_runpath=no 17244 need_lib_prefix=no 17245 runpath_var=LD_RUN_PATH 17246 ;; 17247 siemens) 17248 need_lib_prefix=no 17249 ;; 17250 motorola) 17251 need_lib_prefix=no 17252 need_version=no 17253 shlibpath_overrides_runpath=no 17254 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 17255 ;; 17256 esac 17257 ;; 17258 17259sysv4*MP*) 17260 if test -d /usr/nec; then 17261 version_type=linux # correct to gnu/linux during the next big refactor 17262 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 17263 soname_spec='$libname$shared_ext.$major' 17264 shlibpath_var=LD_LIBRARY_PATH 17265 fi 17266 ;; 17267 17268sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 17269 version_type=sco 17270 need_lib_prefix=no 17271 need_version=no 17272 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 17273 soname_spec='$libname$release$shared_ext$major' 17274 shlibpath_var=LD_LIBRARY_PATH 17275 shlibpath_overrides_runpath=yes 17276 hardcode_into_libs=yes 17277 if test yes = "$with_gnu_ld"; then 17278 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 17279 else 17280 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 17281 case $host_os in 17282 sco3.2v5*) 17283 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 17284 ;; 17285 esac 17286 fi 17287 sys_lib_dlsearch_path_spec='/usr/lib' 17288 ;; 17289 17290tpf*) 17291 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 17292 version_type=linux # correct to gnu/linux during the next big refactor 17293 need_lib_prefix=no 17294 need_version=no 17295 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17296 shlibpath_var=LD_LIBRARY_PATH 17297 shlibpath_overrides_runpath=no 17298 hardcode_into_libs=yes 17299 ;; 17300 17301uts4*) 17302 version_type=linux # correct to gnu/linux during the next big refactor 17303 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17304 soname_spec='$libname$release$shared_ext$major' 17305 shlibpath_var=LD_LIBRARY_PATH 17306 ;; 17307 17308*) 17309 dynamic_linker=no 17310 ;; 17311esac 17312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 17313$as_echo "$dynamic_linker" >&6; } 17314test no = "$dynamic_linker" && can_build_shared=no 17315 17316variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 17317if test yes = "$GCC"; then 17318 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 17319fi 17320 17321if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 17322 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 17323fi 17324 17325if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 17326 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 17327fi 17328 17329# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 17330configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 17331 17332# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 17333func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 17334 17335# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 17336configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 17378$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 17379hardcode_action_CXX= 17380if test -n "$hardcode_libdir_flag_spec_CXX" || 17381 test -n "$runpath_var_CXX" || 17382 test yes = "$hardcode_automatic_CXX"; then 17383 17384 # We can hardcode non-existent directories. 17385 if test no != "$hardcode_direct_CXX" && 17386 # If the only mechanism to avoid hardcoding is shlibpath_var, we 17387 # have to relink, otherwise we might link with an installed library 17388 # when we should be linking with a yet-to-be-installed one 17389 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 17390 test no != "$hardcode_minus_L_CXX"; then 17391 # Linking always hardcodes the temporary library directory. 17392 hardcode_action_CXX=relink 17393 else 17394 # We can link without hardcoding, and we can hardcode nonexisting dirs. 17395 hardcode_action_CXX=immediate 17396 fi 17397else 17398 # We cannot hardcode anything, or else we can only hardcode existing 17399 # directories. 17400 hardcode_action_CXX=unsupported 17401fi 17402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 17403$as_echo "$hardcode_action_CXX" >&6; } 17404 17405if test relink = "$hardcode_action_CXX" || 17406 test yes = "$inherit_rpath_CXX"; then 17407 # Fast installation is not supported 17408 enable_fast_install=no 17409elif test yes = "$shlibpath_overrides_runpath" || 17410 test no = "$enable_shared"; then 17411 # Fast installation is not necessary 17412 enable_fast_install=needless 17413fi 17414 17415 17416 17417 17418 17419 17420 17421 fi # test -n "$compiler" 17422 17423 CC=$lt_save_CC 17424 CFLAGS=$lt_save_CFLAGS 17425 LDCXX=$LD 17426 LD=$lt_save_LD 17427 GCC=$lt_save_GCC 17428 with_gnu_ld=$lt_save_with_gnu_ld 17429 lt_cv_path_LDCXX=$lt_cv_path_LD 17430 lt_cv_path_LD=$lt_save_path_LD 17431 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 17432 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 17433fi # test yes != "$_lt_caught_CXX_error" 17434 17435ac_ext=c 17436ac_cpp='$CPP $CPPFLAGS' 17437ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17438ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17439ac_compiler_gnu=$ac_cv_c_compiler_gnu 17440 17441 17442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 17443$as_echo_n "checking for a sed that does not truncate output... " >&6; } 17444if ${ac_cv_path_SED+:} false; then : 17445 $as_echo_n "(cached) " >&6 17446else 17447 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 17448 for ac_i in 1 2 3 4 5 6 7; do 17449 ac_script="$ac_script$as_nl$ac_script" 17450 done 17451 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 17452 { ac_script=; unset ac_script;} 17453 if test -z "$SED"; then 17454 ac_path_SED_found=false 17455 # Loop through the user's path and test for each of PROGNAME-LIST 17456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17457for as_dir in $PATH 17458do 17459 IFS=$as_save_IFS 17460 test -z "$as_dir" && as_dir=. 17461 for ac_prog in sed gsed; do 17462 for ac_exec_ext in '' $ac_executable_extensions; do 17463 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 17464 as_fn_executable_p "$ac_path_SED" || continue 17465# Check for GNU ac_path_SED and select it if it is found. 17466 # Check for GNU $ac_path_SED 17467case `"$ac_path_SED" --version 2>&1` in 17468*GNU*) 17469 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 17470*) 17471 ac_count=0 17472 $as_echo_n 0123456789 >"conftest.in" 17473 while : 17474 do 17475 cat "conftest.in" "conftest.in" >"conftest.tmp" 17476 mv "conftest.tmp" "conftest.in" 17477 cp "conftest.in" "conftest.nl" 17478 $as_echo '' >> "conftest.nl" 17479 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 17480 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 17481 as_fn_arith $ac_count + 1 && ac_count=$as_val 17482 if test $ac_count -gt ${ac_path_SED_max-0}; then 17483 # Best one so far, save it but keep looking for a better one 17484 ac_cv_path_SED="$ac_path_SED" 17485 ac_path_SED_max=$ac_count 17486 fi 17487 # 10*(2^10) chars as input seems more than enough 17488 test $ac_count -gt 10 && break 17489 done 17490 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 17491esac 17492 17493 $ac_path_SED_found && break 3 17494 done 17495 done 17496 done 17497IFS=$as_save_IFS 17498 if test -z "$ac_cv_path_SED"; then 17499 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 17500 fi 17501else 17502 ac_cv_path_SED=$SED 17503fi 17504 17505fi 17506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 17507$as_echo "$ac_cv_path_SED" >&6; } 17508 SED="$ac_cv_path_SED" 17509 rm -f conftest.sed 17510 17511 17512ac_ext=mm 17513ac_cpp='$OBJCXXCPP $CPPFLAGS' 17514ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17515ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17516ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu 17517if test -n "$ac_tool_prefix"; then 17518 for ac_prog in g++ objc++ objcxx c++ CXX 17519 do 17520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 17521set dummy $ac_tool_prefix$ac_prog; ac_word=$2 17522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17523$as_echo_n "checking for $ac_word... " >&6; } 17524if ${ac_cv_prog_OBJCXX+:} false; then : 17525 $as_echo_n "(cached) " >&6 17526else 17527 if test -n "$OBJCXX"; then 17528 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test. 17529else 17530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17531for as_dir in $PATH 17532do 17533 IFS=$as_save_IFS 17534 test -z "$as_dir" && as_dir=. 17535 for ac_exec_ext in '' $ac_executable_extensions; do 17536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17537 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog" 17538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17539 break 2 17540 fi 17541done 17542 done 17543IFS=$as_save_IFS 17544 17545fi 17546fi 17547OBJCXX=$ac_cv_prog_OBJCXX 17548if test -n "$OBJCXX"; then 17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5 17550$as_echo "$OBJCXX" >&6; } 17551else 17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17553$as_echo "no" >&6; } 17554fi 17555 17556 17557 test -n "$OBJCXX" && break 17558 done 17559fi 17560if test -z "$OBJCXX"; then 17561 ac_ct_OBJCXX=$OBJCXX 17562 for ac_prog in g++ objc++ objcxx c++ CXX 17563do 17564 # Extract the first word of "$ac_prog", so it can be a program name with args. 17565set dummy $ac_prog; ac_word=$2 17566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17567$as_echo_n "checking for $ac_word... " >&6; } 17568if ${ac_cv_prog_ac_ct_OBJCXX+:} false; then : 17569 $as_echo_n "(cached) " >&6 17570else 17571 if test -n "$ac_ct_OBJCXX"; then 17572 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test. 17573else 17574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17575for as_dir in $PATH 17576do 17577 IFS=$as_save_IFS 17578 test -z "$as_dir" && as_dir=. 17579 for ac_exec_ext in '' $ac_executable_extensions; do 17580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17581 ac_cv_prog_ac_ct_OBJCXX="$ac_prog" 17582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17583 break 2 17584 fi 17585done 17586 done 17587IFS=$as_save_IFS 17588 17589fi 17590fi 17591ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX 17592if test -n "$ac_ct_OBJCXX"; then 17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5 17594$as_echo "$ac_ct_OBJCXX" >&6; } 17595else 17596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17597$as_echo "no" >&6; } 17598fi 17599 17600 17601 test -n "$ac_ct_OBJCXX" && break 17602done 17603 17604 if test "x$ac_ct_OBJCXX" = x; then 17605 OBJCXX="g++" 17606 else 17607 case $cross_compiling:$ac_tool_warned in 17608yes:) 17609{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 17610$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 17611ac_tool_warned=yes ;; 17612esac 17613 OBJCXX=$ac_ct_OBJCXX 17614 fi 17615fi 17616 17617# Provide some information about the compiler. 17618$as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5 17619set X $ac_compile 17620ac_compiler=$2 17621for ac_option in --version -v -V -qversion; do 17622 { { ac_try="$ac_compiler $ac_option >&5" 17623case "(($ac_try" in 17624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17625 *) ac_try_echo=$ac_try;; 17626esac 17627eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 17628$as_echo "$ac_try_echo"; } >&5 17629 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 17630 ac_status=$? 17631 if test -s conftest.err; then 17632 sed '10a\ 17633... rest of stderr output deleted ... 17634 10q' conftest.err >conftest.er1 17635 cat conftest.er1 >&5 17636 fi 17637 rm -f conftest.er1 conftest.err 17638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17639 test $ac_status = 0; } 17640done 17641 17642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5 17643$as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; } 17644if ${ac_cv_objcxx_compiler_gnu+:} false; then : 17645 $as_echo_n "(cached) " >&6 17646else 17647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17648/* end confdefs.h. */ 17649 17650int 17651main () 17652{ 17653#ifndef __GNUC__ 17654 choke me 17655#endif 17656 17657 ; 17658 return 0; 17659} 17660_ACEOF 17661if ac_fn_objcxx_try_compile "$LINENO"; then : 17662 ac_compiler_gnu=yes 17663else 17664 ac_compiler_gnu=no 17665fi 17666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17667ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu 17668 17669fi 17670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5 17671$as_echo "$ac_cv_objcxx_compiler_gnu" >&6; } 17672if test $ac_compiler_gnu = yes; then 17673 GOBJCXX=yes 17674else 17675 GOBJCXX= 17676fi 17677ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set} 17678ac_save_OBJCXXFLAGS=$OBJCXXFLAGS 17679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5 17680$as_echo_n "checking whether $OBJCXX accepts -g... " >&6; } 17681if ${ac_cv_prog_objcxx_g+:} false; then : 17682 $as_echo_n "(cached) " >&6 17683else 17684 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag 17685 ac_objcxx_werror_flag=yes 17686 ac_cv_prog_objcxx_g=no 17687 OBJCXXFLAGS="-g" 17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17689/* end confdefs.h. */ 17690 17691int 17692main () 17693{ 17694 17695 ; 17696 return 0; 17697} 17698_ACEOF 17699if ac_fn_objcxx_try_compile "$LINENO"; then : 17700 ac_cv_prog_objcxx_g=yes 17701else 17702 OBJCXXFLAGS="" 17703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17704/* end confdefs.h. */ 17705 17706int 17707main () 17708{ 17709 17710 ; 17711 return 0; 17712} 17713_ACEOF 17714if ac_fn_objcxx_try_compile "$LINENO"; then : 17715 17716else 17717 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag 17718 OBJCXXFLAGS="-g" 17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17720/* end confdefs.h. */ 17721 17722int 17723main () 17724{ 17725 17726 ; 17727 return 0; 17728} 17729_ACEOF 17730if ac_fn_objcxx_try_compile "$LINENO"; then : 17731 ac_cv_prog_objcxx_g=yes 17732fi 17733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17734fi 17735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17736fi 17737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17738 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag 17739fi 17740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5 17741$as_echo "$ac_cv_prog_objcxx_g" >&6; } 17742if test "$ac_test_OBJCXXFLAGS" = set; then 17743 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS 17744elif test $ac_cv_prog_objcxx_g = yes; then 17745 if test "$GOBJCXX" = yes; then 17746 OBJCXXFLAGS="-g -O2" 17747 else 17748 OBJCXXFLAGS="-g" 17749 fi 17750else 17751 if test "$GOBJCXX" = yes; then 17752 OBJCXXFLAGS="-O2" 17753 else 17754 OBJCXXFLAGS= 17755 fi 17756fi 17757ac_ext=c 17758ac_cpp='$CPP $CPPFLAGS' 17759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17761ac_compiler_gnu=$ac_cv_c_compiler_gnu 17762 17763depcc="$OBJCXX" am_compiler_list='gcc3 gcc' 17764 17765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 17766$as_echo_n "checking dependency style of $depcc... " >&6; } 17767if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then : 17768 $as_echo_n "(cached) " >&6 17769else 17770 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 17771 # We make a subdir and do the tests there. Otherwise we can end up 17772 # making bogus files that we don't know about and never remove. For 17773 # instance it was reported that on HP-UX the gcc test will end up 17774 # making a dummy file named 'D' -- because '-MD' means "put the output 17775 # in D". 17776 rm -rf conftest.dir 17777 mkdir conftest.dir 17778 # Copy depcomp to subdir because otherwise we won't find it if we're 17779 # using a relative directory. 17780 cp "$am_depcomp" conftest.dir 17781 cd conftest.dir 17782 # We will build objects and dependencies in a subdirectory because 17783 # it helps to detect inapplicable dependency modes. For instance 17784 # both Tru64's cc and ICC support -MD to output dependencies as a 17785 # side effect of compilation, but ICC will put the dependencies in 17786 # the current directory while Tru64 will put them in the object 17787 # directory. 17788 mkdir sub 17789 17790 am_cv_OBJCXX_dependencies_compiler_type=none 17791 if test "$am_compiler_list" = ""; then 17792 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 17793 fi 17794 am__universal=false 17795 17796 17797 for depmode in $am_compiler_list; do 17798 # Setup a source with many dependencies, because some compilers 17799 # like to wrap large dependency lists on column 80 (with \), and 17800 # we should not choose a depcomp mode which is confused by this. 17801 # 17802 # We need to recreate these files for each test, as the compiler may 17803 # overwrite some of them when testing with obscure command lines. 17804 # This happens at least with the AIX C compiler. 17805 : > sub/conftest.c 17806 for i in 1 2 3 4 5 6; do 17807 echo '#include "conftst'$i'.h"' >> sub/conftest.c 17808 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 17809 # Solaris 10 /bin/sh. 17810 echo '/* dummy */' > sub/conftst$i.h 17811 done 17812 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 17813 17814 # We check with '-c' and '-o' for the sake of the "dashmstdout" 17815 # mode. It turns out that the SunPro C++ compiler does not properly 17816 # handle '-M -o', and we need to detect this. Also, some Intel 17817 # versions had trouble with output in subdirs. 17818 am__obj=sub/conftest.${OBJEXT-o} 17819 am__minus_obj="-o $am__obj" 17820 case $depmode in 17821 gcc) 17822 # This depmode causes a compiler race in universal mode. 17823 test "$am__universal" = false || continue 17824 ;; 17825 nosideeffect) 17826 # After this tag, mechanisms are not by side-effect, so they'll 17827 # only be used when explicitly requested. 17828 if test "x$enable_dependency_tracking" = xyes; then 17829 continue 17830 else 17831 break 17832 fi 17833 ;; 17834 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 17835 # This compiler won't grok '-c -o', but also, the minuso test has 17836 # not run yet. These depmodes are late enough in the game, and 17837 # so weak that their functioning should not be impacted. 17838 am__obj=conftest.${OBJEXT-o} 17839 am__minus_obj= 17840 ;; 17841 none) break ;; 17842 esac 17843 if depmode=$depmode \ 17844 source=sub/conftest.c object=$am__obj \ 17845 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 17846 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 17847 >/dev/null 2>conftest.err && 17848 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 17849 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 17850 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 17851 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 17852 # icc doesn't choke on unknown options, it will just issue warnings 17853 # or remarks (even with -Werror). So we grep stderr for any message 17854 # that says an option was ignored or not supported. 17855 # When given -MP, icc 7.0 and 7.1 complain thusly: 17856 # icc: Command line warning: ignoring option '-M'; no argument required 17857 # The diagnosis changed in icc 8.0: 17858 # icc: Command line remark: option '-MP' not supported 17859 if (grep 'ignoring option' conftest.err || 17860 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 17861 am_cv_OBJCXX_dependencies_compiler_type=$depmode 17862 break 17863 fi 17864 fi 17865 done 17866 17867 cd .. 17868 rm -rf conftest.dir 17869else 17870 am_cv_OBJCXX_dependencies_compiler_type=none 17871fi 17872 17873fi 17874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5 17875$as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; } 17876OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type 17877 17878 if 17879 test "x$enable_dependency_tracking" != xno \ 17880 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then 17881 am__fastdepOBJCXX_TRUE= 17882 am__fastdepOBJCXX_FALSE='#' 17883else 17884 am__fastdepOBJCXX_TRUE='#' 17885 am__fastdepOBJCXX_FALSE= 17886fi 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 17897 if test -n "$ac_tool_prefix"; then 17898 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 17899set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 17900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17901$as_echo_n "checking for $ac_word... " >&6; } 17902if ${ac_cv_path_PKG_CONFIG+:} false; then : 17903 $as_echo_n "(cached) " >&6 17904else 17905 case $PKG_CONFIG in 17906 [\\/]* | ?:[\\/]*) 17907 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 17908 ;; 17909 *) 17910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17911for as_dir in $PATH 17912do 17913 IFS=$as_save_IFS 17914 test -z "$as_dir" && as_dir=. 17915 for ac_exec_ext in '' $ac_executable_extensions; do 17916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17917 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 17918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17919 break 2 17920 fi 17921done 17922 done 17923IFS=$as_save_IFS 17924 17925 ;; 17926esac 17927fi 17928PKG_CONFIG=$ac_cv_path_PKG_CONFIG 17929if test -n "$PKG_CONFIG"; then 17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 17931$as_echo "$PKG_CONFIG" >&6; } 17932else 17933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17934$as_echo "no" >&6; } 17935fi 17936 17937 17938fi 17939if test -z "$ac_cv_path_PKG_CONFIG"; then 17940 ac_pt_PKG_CONFIG=$PKG_CONFIG 17941 # Extract the first word of "pkg-config", so it can be a program name with args. 17942set dummy pkg-config; ac_word=$2 17943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17944$as_echo_n "checking for $ac_word... " >&6; } 17945if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 17946 $as_echo_n "(cached) " >&6 17947else 17948 case $ac_pt_PKG_CONFIG in 17949 [\\/]* | ?:[\\/]*) 17950 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 17951 ;; 17952 *) 17953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17954for as_dir in $PATH 17955do 17956 IFS=$as_save_IFS 17957 test -z "$as_dir" && as_dir=. 17958 for ac_exec_ext in '' $ac_executable_extensions; do 17959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17960 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 17961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17962 break 2 17963 fi 17964done 17965 done 17966IFS=$as_save_IFS 17967 17968 ;; 17969esac 17970fi 17971ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 17972if test -n "$ac_pt_PKG_CONFIG"; then 17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 17974$as_echo "$ac_pt_PKG_CONFIG" >&6; } 17975else 17976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17977$as_echo "no" >&6; } 17978fi 17979 17980 if test "x$ac_pt_PKG_CONFIG" = x; then 17981 PKG_CONFIG="" 17982 else 17983 case $cross_compiling:$ac_tool_warned in 17984yes:) 17985{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 17986$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 17987ac_tool_warned=yes ;; 17988esac 17989 PKG_CONFIG=$ac_pt_PKG_CONFIG 17990 fi 17991else 17992 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 17993fi 17994 17995fi 17996if test -n "$PKG_CONFIG"; then 17997 _pkg_min_version=0.9.0 17998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 17999$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 18000 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 18001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18002$as_echo "yes" >&6; } 18003 else 18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18005$as_echo "no" >&6; } 18006 PKG_CONFIG="" 18007 fi 18008fi 18009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 18010$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 18011if ${ac_cv_c_bigendian+:} false; then : 18012 $as_echo_n "(cached) " >&6 18013else 18014 ac_cv_c_bigendian=unknown 18015 # See if we're dealing with a universal compiler. 18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18017/* end confdefs.h. */ 18018#ifndef __APPLE_CC__ 18019 not a universal capable compiler 18020 #endif 18021 typedef int dummy; 18022 18023_ACEOF 18024if ac_fn_c_try_compile "$LINENO"; then : 18025 18026 # Check for potential -arch flags. It is not universal unless 18027 # there are at least two -arch flags with different values. 18028 ac_arch= 18029 ac_prev= 18030 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 18031 if test -n "$ac_prev"; then 18032 case $ac_word in 18033 i?86 | x86_64 | ppc | ppc64) 18034 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 18035 ac_arch=$ac_word 18036 else 18037 ac_cv_c_bigendian=universal 18038 break 18039 fi 18040 ;; 18041 esac 18042 ac_prev= 18043 elif test "x$ac_word" = "x-arch"; then 18044 ac_prev=arch 18045 fi 18046 done 18047fi 18048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18049 if test $ac_cv_c_bigendian = unknown; then 18050 # See if sys/param.h defines the BYTE_ORDER macro. 18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18052/* end confdefs.h. */ 18053#include <sys/types.h> 18054 #include <sys/param.h> 18055 18056int 18057main () 18058{ 18059#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 18060 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 18061 && LITTLE_ENDIAN) 18062 bogus endian macros 18063 #endif 18064 18065 ; 18066 return 0; 18067} 18068_ACEOF 18069if ac_fn_c_try_compile "$LINENO"; then : 18070 # It does; now see whether it defined to BIG_ENDIAN or not. 18071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18072/* end confdefs.h. */ 18073#include <sys/types.h> 18074 #include <sys/param.h> 18075 18076int 18077main () 18078{ 18079#if BYTE_ORDER != BIG_ENDIAN 18080 not big endian 18081 #endif 18082 18083 ; 18084 return 0; 18085} 18086_ACEOF 18087if ac_fn_c_try_compile "$LINENO"; then : 18088 ac_cv_c_bigendian=yes 18089else 18090 ac_cv_c_bigendian=no 18091fi 18092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18093fi 18094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18095 fi 18096 if test $ac_cv_c_bigendian = unknown; then 18097 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 18098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18099/* end confdefs.h. */ 18100#include <limits.h> 18101 18102int 18103main () 18104{ 18105#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 18106 bogus endian macros 18107 #endif 18108 18109 ; 18110 return 0; 18111} 18112_ACEOF 18113if ac_fn_c_try_compile "$LINENO"; then : 18114 # It does; now see whether it defined to _BIG_ENDIAN or not. 18115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18116/* end confdefs.h. */ 18117#include <limits.h> 18118 18119int 18120main () 18121{ 18122#ifndef _BIG_ENDIAN 18123 not big endian 18124 #endif 18125 18126 ; 18127 return 0; 18128} 18129_ACEOF 18130if ac_fn_c_try_compile "$LINENO"; then : 18131 ac_cv_c_bigendian=yes 18132else 18133 ac_cv_c_bigendian=no 18134fi 18135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18136fi 18137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18138 fi 18139 if test $ac_cv_c_bigendian = unknown; then 18140 # Compile a test program. 18141 if test "$cross_compiling" = yes; then : 18142 # Try to guess by grepping values from an object file. 18143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18144/* end confdefs.h. */ 18145short int ascii_mm[] = 18146 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 18147 short int ascii_ii[] = 18148 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 18149 int use_ascii (int i) { 18150 return ascii_mm[i] + ascii_ii[i]; 18151 } 18152 short int ebcdic_ii[] = 18153 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 18154 short int ebcdic_mm[] = 18155 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 18156 int use_ebcdic (int i) { 18157 return ebcdic_mm[i] + ebcdic_ii[i]; 18158 } 18159 extern int foo; 18160 18161int 18162main () 18163{ 18164return use_ascii (foo) == use_ebcdic (foo); 18165 ; 18166 return 0; 18167} 18168_ACEOF 18169if ac_fn_c_try_compile "$LINENO"; then : 18170 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 18171 ac_cv_c_bigendian=yes 18172 fi 18173 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 18174 if test "$ac_cv_c_bigendian" = unknown; then 18175 ac_cv_c_bigendian=no 18176 else 18177 # finding both strings is unlikely to happen, but who knows? 18178 ac_cv_c_bigendian=unknown 18179 fi 18180 fi 18181fi 18182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18183else 18184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18185/* end confdefs.h. */ 18186$ac_includes_default 18187int 18188main () 18189{ 18190 18191 /* Are we little or big endian? From Harbison&Steele. */ 18192 union 18193 { 18194 long int l; 18195 char c[sizeof (long int)]; 18196 } u; 18197 u.l = 1; 18198 return u.c[sizeof (long int) - 1] == 1; 18199 18200 ; 18201 return 0; 18202} 18203_ACEOF 18204if ac_fn_c_try_run "$LINENO"; then : 18205 ac_cv_c_bigendian=no 18206else 18207 ac_cv_c_bigendian=yes 18208fi 18209rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18210 conftest.$ac_objext conftest.beam conftest.$ac_ext 18211fi 18212 18213 fi 18214fi 18215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 18216$as_echo "$ac_cv_c_bigendian" >&6; } 18217 case $ac_cv_c_bigendian in #( 18218 yes) 18219 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 18220;; #( 18221 no) 18222 ;; #( 18223 universal) 18224 18225$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 18226 18227 ;; #( 18228 *) 18229 as_fn_error $? "unknown endianness 18230 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 18231 esac 18232 18233ac_ext=cpp 18234ac_cpp='$CXXCPP $CPPFLAGS' 18235ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18236ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18237ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257includes= 18258 18259 18260 18261# C++11 support in cpp11.m4 18262 18263 18264 aclove_cpp11_test_cxx11name="no" 18265 aclove_cxx_flag_test_save_cflags="$CXXFLAGS" 18266 CXXFLAGS="-std=c++0x" 18267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports flag -std=c++0x" >&5 18268$as_echo_n "checking whether $CXX supports flag -std=c++0x... " >&6; } 18269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18270/* end confdefs.h. */ 18271 18272int 18273main () 18274{ 18275 18276 ; 18277 return 0; 18278} 18279_ACEOF 18280if ac_fn_cxx_try_compile "$LINENO"; then : 18281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18282$as_echo "yes" >&6; }; aclove_cpp11_test_cxx11name="c++0x" 18283else 18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18285$as_echo "no" >&6; }; 18286fi 18287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18288 CXXFLAGS="$aclove_cxx_flag_test_save_cflags" 18289 18290 aclove_cxx_flag_test_save_cflags="$CXXFLAGS" 18291 CXXFLAGS="-std=c++11" 18292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports flag -std=c++11" >&5 18293$as_echo_n "checking whether $CXX supports flag -std=c++11... " >&6; } 18294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18295/* end confdefs.h. */ 18296 18297int 18298main () 18299{ 18300 18301 ; 18302 return 0; 18303} 18304_ACEOF 18305if ac_fn_cxx_try_compile "$LINENO"; then : 18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18307$as_echo "yes" >&6; }; aclove_cpp11_test_cxx11name="c++11" 18308else 18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18310$as_echo "no" >&6; }; 18311fi 18312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18313 CXXFLAGS="$aclove_cxx_flag_test_save_cflags" 18314 18315 if test "x$aclove_cpp11_test_cxx11name" = xno; then : 18316 as_fn_error $? "LÖVE needs a C++ compiler with C++11 support" "$LINENO" 5 18317else 18318 CXXFLAGS="$CXXFLAGS -std=$aclove_cpp11_test_cxx11name" 18319fi 18320 18321 18322 18323 aclove_gcc_version_found="yes" 18324 if ac_fn_cxx_compute_int "$LINENO" "__GNUC__" "aclove_gcc_version_major" ""; then : 18325 18326else 18327 aclove_gcc_version_found="no" 18328fi 18329 18330 if ac_fn_cxx_compute_int "$LINENO" "__GNUC_MINOR__" "aclove_gcc_version_minor" ""; then : 18331 18332else 18333 aclove_gcc_version_found="no" 18334fi 18335 18336 if ac_fn_cxx_compute_int "$LINENO" "__GNUC_PATCHLEVEL__" "aclove_gcc_version_patch" ""; then : 18337 18338else 18339 aclove_gcc_version_found="no" 18340fi 18341 18342 18343 18344 aclove_clang_version_found="yes" 18345 if ac_fn_cxx_compute_int "$LINENO" "__clang_major__" "aclove_clang_version_major" ""; then : 18346 18347else 18348 aclove_clang_version_found="no" 18349fi 18350 18351 if ac_fn_cxx_compute_int "$LINENO" "__clang_minor__" "aclove_clang_version_minor" ""; then : 18352 18353else 18354 aclove_clang_version_found="no" 18355fi 18356 18357 if ac_fn_cxx_compute_int "$LINENO" "__clang_patchlevel__" "aclove_clang_version_patch" ""; then : 18358 18359else 18360 aclove_clang_version_found="no" 18361fi 18362 18363 18364 18365 # Since clang also sets gcc headers, check clang after 18366 aclove_cpp11_test_compiler="unknown" 18367 if test "x$aclove_gcc_version_found" = xyes; then : 18368 aclove_cpp11_test_compiler="gcc" 18369fi 18370 if test "x$aclove_clang_version_found" = xyes; then : 18371 aclove_cpp11_test_compiler="clang" 18372fi 18373 18374 case $aclove_cpp11_test_compiler in #( 18375 gcc) : 18376 18377 aclove_cpp11_check_version_status="no" 18378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc version is at least 4.7" >&5 18379$as_echo_n "checking whether gcc version is at least 4.7... " >&6; } 18380 if test "$aclove_gcc_version_major" -gt 4; then : 18381 aclove_cpp11_check_version_status="yes" 18382fi 18383 if test "$aclove_gcc_version_major" -eq 4 && test "$aclove_gcc_version_minor" -ge 7; then : 18384 aclove_cpp11_check_version_status="yes" 18385fi 18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclove_cpp11_check_version_status" >&5 18387$as_echo "$aclove_cpp11_check_version_status" >&6; } 18388 if test "x$aclove_cpp11_check_version_status" = xno; then : 18389 as_fn_error $? "LÖVE needs a GCC version of at least 4.7" "$LINENO" 5 18390fi 18391 18392 ;; #( 18393 clang) : 18394 18395 aclove_cpp11_check_version_status="no" 18396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether clang version is at least 3.1" >&5 18397$as_echo_n "checking whether clang version is at least 3.1... " >&6; } 18398 if test "$aclove_clang_version_major" -gt 3; then : 18399 aclove_cpp11_check_version_status="yes" 18400fi 18401 if test "$aclove_clang_version_major" -eq 3 && test "$aclove_clang_version_minor" -ge 1; then : 18402 aclove_cpp11_check_version_status="yes" 18403fi 18404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclove_cpp11_check_version_status" >&5 18405$as_echo "$aclove_cpp11_check_version_status" >&6; } 18406 if test "x$aclove_cpp11_check_version_status" = xno; then : 18407 as_fn_error $? "LÖVE needs a clang version of at least 3.1" "$LINENO" 5 18408fi 18409 18410 ;; #( 18411 *) : 18412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine compiler version" >&5 18413$as_echo "$as_me: WARNING: Could not determine compiler version" >&2;} ;; 18414esac 18415 18416 18417# Allow people on OSX to use autotools, they need their platform files 18418# Check whether --enable-osx was given. 18419if test "${enable_osx+set}" = set; then : 18420 enableval=$enable_osx; 18421else 18422 enable_osx=no 18423fi 18424 18425if test "x$enable_osx" = xno; then : 18426 18427else 18428 #else 18429 ac_cv_search_glLoadIdentity="-framework OpenGL" 18430 LDFLAGS="${LDFLAGS} -framework CoreFoundation -framework Cocoa" 18431 18432 CPPFLAGS="${CPPFLAGS} -I../platform/macosx" 18433 18434fi 18435 18436# stb_image sse2 override (https://github.com/nothings/stb/issues/280) 18437# Check whether --enable-stbi-sse2-override was given. 18438if test "${enable_stbi_sse2_override+set}" = set; then : 18439 enableval=$enable_stbi_sse2_override; 18440else 18441 enable_stbi_sse2_override=no 18442fi 18443 18444if test "x$enable_stbi_sse2_override" = xno; then : 18445 18446else 18447 #else 18448 CPPFLAGS="${CPPFLAGS} -DLOVE_STBI_SSE2_OVERRIDE" 18449 18450fi 18451 18452# --with-lua and --with-luaversion 18453 18454# Check whether --with-lua was given. 18455if test "${with_lua+set}" = set; then : 18456 withval=$with_lua; 18457else 18458 with_lua=luajit 18459fi 18460 18461 18462# Check whether --with-luaversion was given. 18463if test "${with_luaversion+set}" = set; then : 18464 withval=$with_luaversion; 18465else 18466 with_luaversion=5.1 18467fi 18468 18469 18470# pkg-config libraries 18471 18472# Check whether --with-sdl-prefix was given. 18473if test "${with_sdl_prefix+set}" = set; then : 18474 withval=$with_sdl_prefix; sdl_prefix="$withval" 18475else 18476 sdl_prefix="" 18477fi 18478 18479 18480# Check whether --with-sdl-exec-prefix was given. 18481if test "${with_sdl_exec_prefix+set}" = set; then : 18482 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval" 18483else 18484 sdl_exec_prefix="" 18485fi 18486 18487# Check whether --enable-sdltest was given. 18488if test "${enable_sdltest+set}" = set; then : 18489 enableval=$enable_sdltest; 18490else 18491 enable_sdltest=yes 18492fi 18493 18494# Check whether --enable-sdlframework was given. 18495if test "${enable_sdlframework+set}" = set; then : 18496 enableval=$enable_sdlframework; 18497else 18498 search_sdl_framework=yes 18499fi 18500 18501 18502 18503 18504 min_sdl_version=2.0.0 18505 18506 if test "x$sdl_prefix$sdl_exec_prefix" = x ; then 18507 18508pkg_failed=no 18509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5 18510$as_echo_n "checking for SDL... " >&6; } 18511 18512if test -n "$SDL_CFLAGS"; then 18513 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS" 18514 elif test -n "$PKG_CONFIG"; then 18515 if test -n "$PKG_CONFIG" && \ 18516 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= \$min_sdl_version\""; } >&5 18517 ($PKG_CONFIG --exists --print-errors "sdl2 >= $min_sdl_version") 2>&5 18518 ac_status=$? 18519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18520 test $ac_status = 0; }; then 18521 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl2 >= $min_sdl_version" 2>/dev/null` 18522 test "x$?" != "x0" && pkg_failed=yes 18523else 18524 pkg_failed=yes 18525fi 18526 else 18527 pkg_failed=untried 18528fi 18529if test -n "$SDL_LIBS"; then 18530 pkg_cv_SDL_LIBS="$SDL_LIBS" 18531 elif test -n "$PKG_CONFIG"; then 18532 if test -n "$PKG_CONFIG" && \ 18533 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= \$min_sdl_version\""; } >&5 18534 ($PKG_CONFIG --exists --print-errors "sdl2 >= $min_sdl_version") 2>&5 18535 ac_status=$? 18536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18537 test $ac_status = 0; }; then 18538 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl2 >= $min_sdl_version" 2>/dev/null` 18539 test "x$?" != "x0" && pkg_failed=yes 18540else 18541 pkg_failed=yes 18542fi 18543 else 18544 pkg_failed=untried 18545fi 18546 18547 18548 18549if test $pkg_failed = yes; then 18550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18551$as_echo "no" >&6; } 18552 18553if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18554 _pkg_short_errors_supported=yes 18555else 18556 _pkg_short_errors_supported=no 18557fi 18558 if test $_pkg_short_errors_supported = yes; then 18559 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl2 >= $min_sdl_version" 2>&1` 18560 else 18561 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl2 >= $min_sdl_version" 2>&1` 18562 fi 18563 # Put the nasty error message in config.log where it belongs 18564 echo "$SDL_PKG_ERRORS" >&5 18565 18566 sdl_pc=no 18567elif test $pkg_failed = untried; then 18568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18569$as_echo "no" >&6; } 18570 sdl_pc=no 18571else 18572 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS 18573 SDL_LIBS=$pkg_cv_SDL_LIBS 18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18575$as_echo "yes" >&6; } 18576 sdl_pc=yes 18577fi 18578 else 18579 sdl_pc=no 18580 if test x$sdl_exec_prefix != x ; then 18581 sdl_config_args="$sdl_config_args --exec-prefix=$sdl_exec_prefix" 18582 if test x${SDL2_CONFIG+set} != xset ; then 18583 SDL2_CONFIG=$sdl_exec_prefix/bin/sdl2-config 18584 fi 18585 fi 18586 if test x$sdl_prefix != x ; then 18587 sdl_config_args="$sdl_config_args --prefix=$sdl_prefix" 18588 if test x${SDL2_CONFIG+set} != xset ; then 18589 SDL2_CONFIG=$sdl_prefix/bin/sdl2-config 18590 fi 18591 fi 18592 fi 18593 18594 if test "x$sdl_pc" = xyes ; then 18595 no_sdl="" 18596 SDL2_CONFIG="pkg-config sdl2" 18597 else 18598 as_save_PATH="$PATH" 18599 if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then 18600 PATH="$prefix/bin:$prefix/usr/bin:$PATH" 18601 fi 18602 # Extract the first word of "sdl2-config", so it can be a program name with args. 18603set dummy sdl2-config; ac_word=$2 18604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18605$as_echo_n "checking for $ac_word... " >&6; } 18606if ${ac_cv_path_SDL2_CONFIG+:} false; then : 18607 $as_echo_n "(cached) " >&6 18608else 18609 case $SDL2_CONFIG in 18610 [\\/]* | ?:[\\/]*) 18611 ac_cv_path_SDL2_CONFIG="$SDL2_CONFIG" # Let the user override the test with a path. 18612 ;; 18613 *) 18614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18615for as_dir in $PATH 18616do 18617 IFS=$as_save_IFS 18618 test -z "$as_dir" && as_dir=. 18619 for ac_exec_ext in '' $ac_executable_extensions; do 18620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18621 ac_cv_path_SDL2_CONFIG="$as_dir/$ac_word$ac_exec_ext" 18622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18623 break 2 18624 fi 18625done 18626 done 18627IFS=$as_save_IFS 18628 18629 test -z "$ac_cv_path_SDL2_CONFIG" && ac_cv_path_SDL2_CONFIG="no" 18630 ;; 18631esac 18632fi 18633SDL2_CONFIG=$ac_cv_path_SDL2_CONFIG 18634if test -n "$SDL2_CONFIG"; then 18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL2_CONFIG" >&5 18636$as_echo "$SDL2_CONFIG" >&6; } 18637else 18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18639$as_echo "no" >&6; } 18640fi 18641 18642 18643 PATH="$as_save_PATH" 18644 no_sdl="" 18645 18646 if test "$SDL2_CONFIG" = "no" -a "x$search_sdl_framework" = "xyes"; then 18647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL2.framework" >&5 18648$as_echo_n "checking for SDL2.framework... " >&6; } 18649 if test "x$SDL2_FRAMEWORK" != x; then 18650 sdl_framework=$SDL2_FRAMEWORK 18651 else 18652 for d in / ~/ /System/; do 18653 if test -d "$dLibrary/Frameworks/SDL2.framework"; then 18654 sdl_framework="$dLibrary/Frameworks/SDL2.framework" 18655 fi 18656 done 18657 fi 18658 18659 if test -d $sdl_framework; then 18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sdl_framework" >&5 18661$as_echo "$sdl_framework" >&6; } 18662 sdl_framework_dir=`dirname $sdl_framework` 18663 SDL_CFLAGS="-F$sdl_framework_dir -Wl,-framework,SDL2 -I$sdl_framework/include" 18664 SDL_LIBS="-F$sdl_framework_dir -Wl,-framework,SDL2" 18665 else 18666 no_sdl=yes 18667 fi 18668 fi 18669 18670 if test "$SDL2_CONFIG" != "no"; then 18671 if test "x$sdl_pc" = "xno"; then 18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5 18673$as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; } 18674 SDL_CFLAGS=`$SDL2_CONFIG $sdl_config_args --cflags` 18675 SDL_LIBS=`$SDL2_CONFIG $sdl_config_args --libs` 18676 fi 18677 18678 sdl_major_version=`$SDL2_CONFIG $sdl_config_args --version | \ 18679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` 18680 sdl_minor_version=`$SDL2_CONFIG $sdl_config_args --version | \ 18681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` 18682 sdl_micro_version=`$SDL2_CONFIG $sdl_config_args --version | \ 18683 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` 18684 if test "x$enable_sdltest" = "xyes" ; then 18685 ac_save_CFLAGS="$CFLAGS" 18686 ac_save_CXXFLAGS="$CXXFLAGS" 18687 ac_save_LIBS="$LIBS" 18688 CFLAGS="$CFLAGS $SDL_CFLAGS" 18689 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 18690 LIBS="$LIBS $SDL_LIBS" 18691 rm -f conf.sdltest 18692 if test "$cross_compiling" = yes; then : 18693 echo $ac_n "cross compiling; assumed OK... $ac_c" 18694else 18695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18696/* end confdefs.h. */ 18697 18698#include <stdio.h> 18699#include <stdlib.h> 18700#include <string.h> 18701#include "SDL.h" 18702 18703char* 18704my_strdup (char *str) 18705{ 18706 char *new_str; 18707 18708 if (str) 18709 { 18710 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); 18711 strcpy (new_str, str); 18712 } 18713 else 18714 new_str = NULL; 18715 18716 return new_str; 18717} 18718 18719int main (int argc, char *argv[]) 18720{ 18721 int major, minor, micro; 18722 char *tmp_version; 18723 18724 /* This hangs on some systems (?) 18725 system ("touch conf.sdltest"); 18726 */ 18727 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } 18728 18729 /* HP/UX 9 (%@#!) writes to sscanf strings */ 18730 tmp_version = my_strdup("$min_sdl_version"); 18731 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { 18732 printf("%s, bad version string\n", "$min_sdl_version"); 18733 exit(1); 18734 } 18735 18736 if (($sdl_major_version > major) || 18737 (($sdl_major_version == major) && ($sdl_minor_version > minor)) || 18738 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) 18739 { 18740 return 0; 18741 } 18742 else 18743 { 18744 printf("\n*** 'sdl2-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); 18745 printf("*** of SDL required is %d.%d.%d. If sdl2-config is correct, then it is\n", major, minor, micro); 18746 printf("*** best to upgrade to the required version.\n"); 18747 printf("*** If sdl2-config was wrong, set the environment variable SDL2_CONFIG\n"); 18748 printf("*** to point to the correct copy of sdl2-config, and remove the file\n"); 18749 printf("*** config.cache before re-running configure\n"); 18750 return 1; 18751 } 18752} 18753 18754 18755_ACEOF 18756if ac_fn_cxx_try_run "$LINENO"; then : 18757 18758else 18759 no_sdl=yes 18760fi 18761rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18762 conftest.$ac_objext conftest.beam conftest.$ac_ext 18763fi 18764 18765 CFLAGS="$ac_save_CFLAGS" 18766 CXXFLAGS="$ac_save_CXXFLAGS" 18767 LIBS="$ac_save_LIBS" 18768 18769 fi 18770 if test "x$sdl_pc" = "xno"; then 18771 if test "x$no_sdl" = "xyes"; then 18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18773$as_echo "no" >&6; } 18774 else 18775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18776$as_echo "yes" >&6; } 18777 fi 18778 fi 18779 fi 18780 fi 18781 if test "x$no_sdl" = x ; then 18782 : 18783 else 18784 if test "$SDL2_CONFIG" = "no" ; then 18785 echo "*** The sdl2-config script installed by SDL could not be found" 18786 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" 18787 echo "*** your path, or set the SDL2_CONFIG environment variable to the" 18788 echo "*** full path to sdl2-config." 18789 else 18790 if test -f conf.sdltest ; then 18791 : 18792 else 18793 echo "*** Could not run SDL test program, checking why..." 18794 CFLAGS="$CFLAGS $SDL_CFLAGS" 18795 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 18796 LIBS="$LIBS $SDL_LIBS" 18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18798/* end confdefs.h. */ 18799 18800#include <stdio.h> 18801#include "SDL.h" 18802 18803int main(int argc, char *argv[]) 18804{ return 0; } 18805#undef main 18806#define main K_and_R_C_main 18807 18808int 18809main () 18810{ 18811 return 0; 18812 ; 18813 return 0; 18814} 18815_ACEOF 18816if ac_fn_cxx_try_link "$LINENO"; then : 18817 echo "*** The test program compiled, but did not run. This usually means" 18818 echo "*** that the run-time linker is not finding SDL or finding the wrong" 18819 echo "*** version of SDL. If it is not finding SDL, you'll need to set your" 18820 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 18821 echo "*** to the installed location Also, make sure you have run ldconfig if that" 18822 echo "*** is required on your system" 18823 echo "***" 18824 echo "*** If you have an old version installed, it is best to remove it, although" 18825 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 18826else 18827 echo "*** The test program failed to compile or link. See the file config.log for the" 18828 echo "*** exact error that occured. This usually means SDL was incorrectly installed" 18829 echo "*** or that you have moved SDL since it was installed. In the latter case, you" 18830 echo "*** may want to edit the sdl2-config script: $SDL2_CONFIG" 18831fi 18832rm -f core conftest.err conftest.$ac_objext \ 18833 conftest$ac_exeext conftest.$ac_ext 18834 CFLAGS="$ac_save_CFLAGS" 18835 CXXFLAGS="$ac_save_CXXFLAGS" 18836 LIBS="$ac_save_LIBS" 18837 fi 18838 fi 18839 SDL_CFLAGS="" 18840 SDL_LIBS="" 18841 as_fn_error $? "LÖVE needs \"SDL 2\", please install \"SDL 2\" with development files and try again" "$LINENO" 5 18842 fi 18843 18844 18845 rm -f conf.sdltest 18846 18847with_clean_luaversion=`printf ${with_luaversion} | sed 's/\.//g'` 18848 18849pkg_failed=no 18850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua" >&5 18851$as_echo_n "checking for lua... " >&6; } 18852 18853if test -n "$lua_CFLAGS"; then 18854 pkg_cv_lua_CFLAGS="$lua_CFLAGS" 18855 elif test -n "$PKG_CONFIG"; then 18856 if test -n "$PKG_CONFIG" && \ 18857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\${with_luaversion}\""; } >&5 18858 ($PKG_CONFIG --exists --print-errors "${with_lua}${with_luaversion}") 2>&5 18859 ac_status=$? 18860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18861 test $ac_status = 0; }; then 18862 pkg_cv_lua_CFLAGS=`$PKG_CONFIG --cflags "${with_lua}${with_luaversion}" 2>/dev/null` 18863 test "x$?" != "x0" && pkg_failed=yes 18864else 18865 pkg_failed=yes 18866fi 18867 else 18868 pkg_failed=untried 18869fi 18870if test -n "$lua_LIBS"; then 18871 pkg_cv_lua_LIBS="$lua_LIBS" 18872 elif test -n "$PKG_CONFIG"; then 18873 if test -n "$PKG_CONFIG" && \ 18874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\${with_luaversion}\""; } >&5 18875 ($PKG_CONFIG --exists --print-errors "${with_lua}${with_luaversion}") 2>&5 18876 ac_status=$? 18877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18878 test $ac_status = 0; }; then 18879 pkg_cv_lua_LIBS=`$PKG_CONFIG --libs "${with_lua}${with_luaversion}" 2>/dev/null` 18880 test "x$?" != "x0" && pkg_failed=yes 18881else 18882 pkg_failed=yes 18883fi 18884 else 18885 pkg_failed=untried 18886fi 18887 18888 18889 18890if test $pkg_failed = yes; then 18891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18892$as_echo "no" >&6; } 18893 18894if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18895 _pkg_short_errors_supported=yes 18896else 18897 _pkg_short_errors_supported=no 18898fi 18899 if test $_pkg_short_errors_supported = yes; then 18900 lua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${with_lua}${with_luaversion}" 2>&1` 18901 else 18902 lua_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${with_lua}${with_luaversion}" 2>&1` 18903 fi 18904 # Put the nasty error message in config.log where it belongs 18905 echo "$lua_PKG_ERRORS" >&5 18906 18907 18908pkg_failed=no 18909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua" >&5 18910$as_echo_n "checking for lua... " >&6; } 18911 18912if test -n "$lua_CFLAGS"; then 18913 pkg_cv_lua_CFLAGS="$lua_CFLAGS" 18914 elif test -n "$PKG_CONFIG"; then 18915 if test -n "$PKG_CONFIG" && \ 18916 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\${with_clean_luaversion}\""; } >&5 18917 ($PKG_CONFIG --exists --print-errors "${with_lua}${with_clean_luaversion}") 2>&5 18918 ac_status=$? 18919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18920 test $ac_status = 0; }; then 18921 pkg_cv_lua_CFLAGS=`$PKG_CONFIG --cflags "${with_lua}${with_clean_luaversion}" 2>/dev/null` 18922 test "x$?" != "x0" && pkg_failed=yes 18923else 18924 pkg_failed=yes 18925fi 18926 else 18927 pkg_failed=untried 18928fi 18929if test -n "$lua_LIBS"; then 18930 pkg_cv_lua_LIBS="$lua_LIBS" 18931 elif test -n "$PKG_CONFIG"; then 18932 if test -n "$PKG_CONFIG" && \ 18933 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\${with_clean_luaversion}\""; } >&5 18934 ($PKG_CONFIG --exists --print-errors "${with_lua}${with_clean_luaversion}") 2>&5 18935 ac_status=$? 18936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18937 test $ac_status = 0; }; then 18938 pkg_cv_lua_LIBS=`$PKG_CONFIG --libs "${with_lua}${with_clean_luaversion}" 2>/dev/null` 18939 test "x$?" != "x0" && pkg_failed=yes 18940else 18941 pkg_failed=yes 18942fi 18943 else 18944 pkg_failed=untried 18945fi 18946 18947 18948 18949if test $pkg_failed = yes; then 18950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18951$as_echo "no" >&6; } 18952 18953if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18954 _pkg_short_errors_supported=yes 18955else 18956 _pkg_short_errors_supported=no 18957fi 18958 if test $_pkg_short_errors_supported = yes; then 18959 lua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${with_lua}${with_clean_luaversion}" 2>&1` 18960 else 18961 lua_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${with_lua}${with_clean_luaversion}" 2>&1` 18962 fi 18963 # Put the nasty error message in config.log where it belongs 18964 echo "$lua_PKG_ERRORS" >&5 18965 18966 18967pkg_failed=no 18968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua" >&5 18969$as_echo_n "checking for lua... " >&6; } 18970 18971if test -n "$lua_CFLAGS"; then 18972 pkg_cv_lua_CFLAGS="$lua_CFLAGS" 18973 elif test -n "$PKG_CONFIG"; then 18974 if test -n "$PKG_CONFIG" && \ 18975 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\""; } >&5 18976 ($PKG_CONFIG --exists --print-errors "${with_lua}") 2>&5 18977 ac_status=$? 18978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18979 test $ac_status = 0; }; then 18980 pkg_cv_lua_CFLAGS=`$PKG_CONFIG --cflags "${with_lua}" 2>/dev/null` 18981 test "x$?" != "x0" && pkg_failed=yes 18982else 18983 pkg_failed=yes 18984fi 18985 else 18986 pkg_failed=untried 18987fi 18988if test -n "$lua_LIBS"; then 18989 pkg_cv_lua_LIBS="$lua_LIBS" 18990 elif test -n "$PKG_CONFIG"; then 18991 if test -n "$PKG_CONFIG" && \ 18992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\""; } >&5 18993 ($PKG_CONFIG --exists --print-errors "${with_lua}") 2>&5 18994 ac_status=$? 18995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18996 test $ac_status = 0; }; then 18997 pkg_cv_lua_LIBS=`$PKG_CONFIG --libs "${with_lua}" 2>/dev/null` 18998 test "x$?" != "x0" && pkg_failed=yes 18999else 19000 pkg_failed=yes 19001fi 19002 else 19003 pkg_failed=untried 19004fi 19005 19006 19007 19008if test $pkg_failed = yes; then 19009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19010$as_echo "no" >&6; } 19011 19012if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19013 _pkg_short_errors_supported=yes 19014else 19015 _pkg_short_errors_supported=no 19016fi 19017 if test $_pkg_short_errors_supported = yes; then 19018 lua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${with_lua}" 2>&1` 19019 else 19020 lua_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${with_lua}" 2>&1` 19021 fi 19022 # Put the nasty error message in config.log where it belongs 19023 echo "$lua_PKG_ERRORS" >&5 19024 19025 lua_found=no 19026elif test $pkg_failed = untried; then 19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19028$as_echo "no" >&6; } 19029 lua_found=no 19030else 19031 lua_CFLAGS=$pkg_cv_lua_CFLAGS 19032 lua_LIBS=$pkg_cv_lua_LIBS 19033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19034$as_echo "yes" >&6; } 19035 lua_found=yes 19036fi 19037elif test $pkg_failed = untried; then 19038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19039$as_echo "no" >&6; } 19040 19041pkg_failed=no 19042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua" >&5 19043$as_echo_n "checking for lua... " >&6; } 19044 19045if test -n "$lua_CFLAGS"; then 19046 pkg_cv_lua_CFLAGS="$lua_CFLAGS" 19047 elif test -n "$PKG_CONFIG"; then 19048 if test -n "$PKG_CONFIG" && \ 19049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\""; } >&5 19050 ($PKG_CONFIG --exists --print-errors "${with_lua}") 2>&5 19051 ac_status=$? 19052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19053 test $ac_status = 0; }; then 19054 pkg_cv_lua_CFLAGS=`$PKG_CONFIG --cflags "${with_lua}" 2>/dev/null` 19055 test "x$?" != "x0" && pkg_failed=yes 19056else 19057 pkg_failed=yes 19058fi 19059 else 19060 pkg_failed=untried 19061fi 19062if test -n "$lua_LIBS"; then 19063 pkg_cv_lua_LIBS="$lua_LIBS" 19064 elif test -n "$PKG_CONFIG"; then 19065 if test -n "$PKG_CONFIG" && \ 19066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\""; } >&5 19067 ($PKG_CONFIG --exists --print-errors "${with_lua}") 2>&5 19068 ac_status=$? 19069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19070 test $ac_status = 0; }; then 19071 pkg_cv_lua_LIBS=`$PKG_CONFIG --libs "${with_lua}" 2>/dev/null` 19072 test "x$?" != "x0" && pkg_failed=yes 19073else 19074 pkg_failed=yes 19075fi 19076 else 19077 pkg_failed=untried 19078fi 19079 19080 19081 19082if test $pkg_failed = yes; then 19083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19084$as_echo "no" >&6; } 19085 19086if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19087 _pkg_short_errors_supported=yes 19088else 19089 _pkg_short_errors_supported=no 19090fi 19091 if test $_pkg_short_errors_supported = yes; then 19092 lua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${with_lua}" 2>&1` 19093 else 19094 lua_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${with_lua}" 2>&1` 19095 fi 19096 # Put the nasty error message in config.log where it belongs 19097 echo "$lua_PKG_ERRORS" >&5 19098 19099 lua_found=no 19100elif test $pkg_failed = untried; then 19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19102$as_echo "no" >&6; } 19103 lua_found=no 19104else 19105 lua_CFLAGS=$pkg_cv_lua_CFLAGS 19106 lua_LIBS=$pkg_cv_lua_LIBS 19107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19108$as_echo "yes" >&6; } 19109 lua_found=yes 19110fi 19111else 19112 lua_CFLAGS=$pkg_cv_lua_CFLAGS 19113 lua_LIBS=$pkg_cv_lua_LIBS 19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19115$as_echo "yes" >&6; } 19116 lua_found=yes 19117fi 19118elif test $pkg_failed = untried; then 19119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19120$as_echo "no" >&6; } 19121 19122pkg_failed=no 19123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua" >&5 19124$as_echo_n "checking for lua... " >&6; } 19125 19126if test -n "$lua_CFLAGS"; then 19127 pkg_cv_lua_CFLAGS="$lua_CFLAGS" 19128 elif test -n "$PKG_CONFIG"; then 19129 if test -n "$PKG_CONFIG" && \ 19130 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\${with_clean_luaversion}\""; } >&5 19131 ($PKG_CONFIG --exists --print-errors "${with_lua}${with_clean_luaversion}") 2>&5 19132 ac_status=$? 19133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19134 test $ac_status = 0; }; then 19135 pkg_cv_lua_CFLAGS=`$PKG_CONFIG --cflags "${with_lua}${with_clean_luaversion}" 2>/dev/null` 19136 test "x$?" != "x0" && pkg_failed=yes 19137else 19138 pkg_failed=yes 19139fi 19140 else 19141 pkg_failed=untried 19142fi 19143if test -n "$lua_LIBS"; then 19144 pkg_cv_lua_LIBS="$lua_LIBS" 19145 elif test -n "$PKG_CONFIG"; then 19146 if test -n "$PKG_CONFIG" && \ 19147 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\${with_clean_luaversion}\""; } >&5 19148 ($PKG_CONFIG --exists --print-errors "${with_lua}${with_clean_luaversion}") 2>&5 19149 ac_status=$? 19150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19151 test $ac_status = 0; }; then 19152 pkg_cv_lua_LIBS=`$PKG_CONFIG --libs "${with_lua}${with_clean_luaversion}" 2>/dev/null` 19153 test "x$?" != "x0" && pkg_failed=yes 19154else 19155 pkg_failed=yes 19156fi 19157 else 19158 pkg_failed=untried 19159fi 19160 19161 19162 19163if test $pkg_failed = yes; then 19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19165$as_echo "no" >&6; } 19166 19167if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19168 _pkg_short_errors_supported=yes 19169else 19170 _pkg_short_errors_supported=no 19171fi 19172 if test $_pkg_short_errors_supported = yes; then 19173 lua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${with_lua}${with_clean_luaversion}" 2>&1` 19174 else 19175 lua_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${with_lua}${with_clean_luaversion}" 2>&1` 19176 fi 19177 # Put the nasty error message in config.log where it belongs 19178 echo "$lua_PKG_ERRORS" >&5 19179 19180 19181pkg_failed=no 19182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua" >&5 19183$as_echo_n "checking for lua... " >&6; } 19184 19185if test -n "$lua_CFLAGS"; then 19186 pkg_cv_lua_CFLAGS="$lua_CFLAGS" 19187 elif test -n "$PKG_CONFIG"; then 19188 if test -n "$PKG_CONFIG" && \ 19189 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\""; } >&5 19190 ($PKG_CONFIG --exists --print-errors "${with_lua}") 2>&5 19191 ac_status=$? 19192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19193 test $ac_status = 0; }; then 19194 pkg_cv_lua_CFLAGS=`$PKG_CONFIG --cflags "${with_lua}" 2>/dev/null` 19195 test "x$?" != "x0" && pkg_failed=yes 19196else 19197 pkg_failed=yes 19198fi 19199 else 19200 pkg_failed=untried 19201fi 19202if test -n "$lua_LIBS"; then 19203 pkg_cv_lua_LIBS="$lua_LIBS" 19204 elif test -n "$PKG_CONFIG"; then 19205 if test -n "$PKG_CONFIG" && \ 19206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\""; } >&5 19207 ($PKG_CONFIG --exists --print-errors "${with_lua}") 2>&5 19208 ac_status=$? 19209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19210 test $ac_status = 0; }; then 19211 pkg_cv_lua_LIBS=`$PKG_CONFIG --libs "${with_lua}" 2>/dev/null` 19212 test "x$?" != "x0" && pkg_failed=yes 19213else 19214 pkg_failed=yes 19215fi 19216 else 19217 pkg_failed=untried 19218fi 19219 19220 19221 19222if test $pkg_failed = yes; then 19223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19224$as_echo "no" >&6; } 19225 19226if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19227 _pkg_short_errors_supported=yes 19228else 19229 _pkg_short_errors_supported=no 19230fi 19231 if test $_pkg_short_errors_supported = yes; then 19232 lua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${with_lua}" 2>&1` 19233 else 19234 lua_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${with_lua}" 2>&1` 19235 fi 19236 # Put the nasty error message in config.log where it belongs 19237 echo "$lua_PKG_ERRORS" >&5 19238 19239 lua_found=no 19240elif test $pkg_failed = untried; then 19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19242$as_echo "no" >&6; } 19243 lua_found=no 19244else 19245 lua_CFLAGS=$pkg_cv_lua_CFLAGS 19246 lua_LIBS=$pkg_cv_lua_LIBS 19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19248$as_echo "yes" >&6; } 19249 lua_found=yes 19250fi 19251elif test $pkg_failed = untried; then 19252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19253$as_echo "no" >&6; } 19254 19255pkg_failed=no 19256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua" >&5 19257$as_echo_n "checking for lua... " >&6; } 19258 19259if test -n "$lua_CFLAGS"; then 19260 pkg_cv_lua_CFLAGS="$lua_CFLAGS" 19261 elif test -n "$PKG_CONFIG"; then 19262 if test -n "$PKG_CONFIG" && \ 19263 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\""; } >&5 19264 ($PKG_CONFIG --exists --print-errors "${with_lua}") 2>&5 19265 ac_status=$? 19266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19267 test $ac_status = 0; }; then 19268 pkg_cv_lua_CFLAGS=`$PKG_CONFIG --cflags "${with_lua}" 2>/dev/null` 19269 test "x$?" != "x0" && pkg_failed=yes 19270else 19271 pkg_failed=yes 19272fi 19273 else 19274 pkg_failed=untried 19275fi 19276if test -n "$lua_LIBS"; then 19277 pkg_cv_lua_LIBS="$lua_LIBS" 19278 elif test -n "$PKG_CONFIG"; then 19279 if test -n "$PKG_CONFIG" && \ 19280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${with_lua}\""; } >&5 19281 ($PKG_CONFIG --exists --print-errors "${with_lua}") 2>&5 19282 ac_status=$? 19283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19284 test $ac_status = 0; }; then 19285 pkg_cv_lua_LIBS=`$PKG_CONFIG --libs "${with_lua}" 2>/dev/null` 19286 test "x$?" != "x0" && pkg_failed=yes 19287else 19288 pkg_failed=yes 19289fi 19290 else 19291 pkg_failed=untried 19292fi 19293 19294 19295 19296if test $pkg_failed = yes; then 19297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19298$as_echo "no" >&6; } 19299 19300if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19301 _pkg_short_errors_supported=yes 19302else 19303 _pkg_short_errors_supported=no 19304fi 19305 if test $_pkg_short_errors_supported = yes; then 19306 lua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${with_lua}" 2>&1` 19307 else 19308 lua_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${with_lua}" 2>&1` 19309 fi 19310 # Put the nasty error message in config.log where it belongs 19311 echo "$lua_PKG_ERRORS" >&5 19312 19313 lua_found=no 19314elif test $pkg_failed = untried; then 19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19316$as_echo "no" >&6; } 19317 lua_found=no 19318else 19319 lua_CFLAGS=$pkg_cv_lua_CFLAGS 19320 lua_LIBS=$pkg_cv_lua_LIBS 19321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19322$as_echo "yes" >&6; } 19323 lua_found=yes 19324fi 19325else 19326 lua_CFLAGS=$pkg_cv_lua_CFLAGS 19327 lua_LIBS=$pkg_cv_lua_LIBS 19328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19329$as_echo "yes" >&6; } 19330 lua_found=yes 19331fi 19332else 19333 lua_CFLAGS=$pkg_cv_lua_CFLAGS 19334 lua_LIBS=$pkg_cv_lua_LIBS 19335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19336$as_echo "yes" >&6; } 19337 lua_found=yes 19338fi 19339 19340pkg_failed=no 19341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5 19342$as_echo_n "checking for freetype2... " >&6; } 19343 19344if test -n "$freetype2_CFLAGS"; then 19345 pkg_cv_freetype2_CFLAGS="$freetype2_CFLAGS" 19346 elif test -n "$PKG_CONFIG"; then 19347 if test -n "$PKG_CONFIG" && \ 19348 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5 19349 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 19350 ac_status=$? 19351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19352 test $ac_status = 0; }; then 19353 pkg_cv_freetype2_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null` 19354 test "x$?" != "x0" && pkg_failed=yes 19355else 19356 pkg_failed=yes 19357fi 19358 else 19359 pkg_failed=untried 19360fi 19361if test -n "$freetype2_LIBS"; then 19362 pkg_cv_freetype2_LIBS="$freetype2_LIBS" 19363 elif test -n "$PKG_CONFIG"; then 19364 if test -n "$PKG_CONFIG" && \ 19365 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5 19366 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 19367 ac_status=$? 19368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19369 test $ac_status = 0; }; then 19370 pkg_cv_freetype2_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null` 19371 test "x$?" != "x0" && pkg_failed=yes 19372else 19373 pkg_failed=yes 19374fi 19375 else 19376 pkg_failed=untried 19377fi 19378 19379 19380 19381if test $pkg_failed = yes; then 19382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19383$as_echo "no" >&6; } 19384 19385if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19386 _pkg_short_errors_supported=yes 19387else 19388 _pkg_short_errors_supported=no 19389fi 19390 if test $_pkg_short_errors_supported = yes; then 19391 freetype2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1` 19392 else 19393 freetype2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1` 19394 fi 19395 # Put the nasty error message in config.log where it belongs 19396 echo "$freetype2_PKG_ERRORS" >&5 19397 19398 as_fn_error $? "LÖVE needs \"FreeType2\", please install \"FreeType2\" with development files and try again" "$LINENO" 5 19399elif test $pkg_failed = untried; then 19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19401$as_echo "no" >&6; } 19402 as_fn_error $? "LÖVE needs \"FreeType2\", please install \"FreeType2\" with development files and try again" "$LINENO" 5 19403else 19404 freetype2_CFLAGS=$pkg_cv_freetype2_CFLAGS 19405 freetype2_LIBS=$pkg_cv_freetype2_LIBS 19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19407$as_echo "yes" >&6; } 19408 19409fi 19410 19411pkg_failed=no 19412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal" >&5 19413$as_echo_n "checking for openal... " >&6; } 19414 19415if test -n "$openal_CFLAGS"; then 19416 pkg_cv_openal_CFLAGS="$openal_CFLAGS" 19417 elif test -n "$PKG_CONFIG"; then 19418 if test -n "$PKG_CONFIG" && \ 19419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openal\""; } >&5 19420 ($PKG_CONFIG --exists --print-errors "openal") 2>&5 19421 ac_status=$? 19422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19423 test $ac_status = 0; }; then 19424 pkg_cv_openal_CFLAGS=`$PKG_CONFIG --cflags "openal" 2>/dev/null` 19425 test "x$?" != "x0" && pkg_failed=yes 19426else 19427 pkg_failed=yes 19428fi 19429 else 19430 pkg_failed=untried 19431fi 19432if test -n "$openal_LIBS"; then 19433 pkg_cv_openal_LIBS="$openal_LIBS" 19434 elif test -n "$PKG_CONFIG"; then 19435 if test -n "$PKG_CONFIG" && \ 19436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openal\""; } >&5 19437 ($PKG_CONFIG --exists --print-errors "openal") 2>&5 19438 ac_status=$? 19439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19440 test $ac_status = 0; }; then 19441 pkg_cv_openal_LIBS=`$PKG_CONFIG --libs "openal" 2>/dev/null` 19442 test "x$?" != "x0" && pkg_failed=yes 19443else 19444 pkg_failed=yes 19445fi 19446 else 19447 pkg_failed=untried 19448fi 19449 19450 19451 19452if test $pkg_failed = yes; then 19453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19454$as_echo "no" >&6; } 19455 19456if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19457 _pkg_short_errors_supported=yes 19458else 19459 _pkg_short_errors_supported=no 19460fi 19461 if test $_pkg_short_errors_supported = yes; then 19462 openal_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openal" 2>&1` 19463 else 19464 openal_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openal" 2>&1` 19465 fi 19466 # Put the nasty error message in config.log where it belongs 19467 echo "$openal_PKG_ERRORS" >&5 19468 19469 as_fn_error $? "LÖVE needs \"OpenAL\", please install \"OpenAL\" with development files and try again" "$LINENO" 5 19470elif test $pkg_failed = untried; then 19471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19472$as_echo "no" >&6; } 19473 as_fn_error $? "LÖVE needs \"OpenAL\", please install \"OpenAL\" with development files and try again" "$LINENO" 5 19474else 19475 openal_CFLAGS=$pkg_cv_openal_CFLAGS 19476 openal_LIBS=$pkg_cv_openal_LIBS 19477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19478$as_echo "yes" >&6; } 19479 19480fi 19481 19482pkg_failed=no 19483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmodplug" >&5 19484$as_echo_n "checking for libmodplug... " >&6; } 19485 19486if test -n "$libmodplug_CFLAGS"; then 19487 pkg_cv_libmodplug_CFLAGS="$libmodplug_CFLAGS" 19488 elif test -n "$PKG_CONFIG"; then 19489 if test -n "$PKG_CONFIG" && \ 19490 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmodplug\""; } >&5 19491 ($PKG_CONFIG --exists --print-errors "libmodplug") 2>&5 19492 ac_status=$? 19493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19494 test $ac_status = 0; }; then 19495 pkg_cv_libmodplug_CFLAGS=`$PKG_CONFIG --cflags "libmodplug" 2>/dev/null` 19496 test "x$?" != "x0" && pkg_failed=yes 19497else 19498 pkg_failed=yes 19499fi 19500 else 19501 pkg_failed=untried 19502fi 19503if test -n "$libmodplug_LIBS"; then 19504 pkg_cv_libmodplug_LIBS="$libmodplug_LIBS" 19505 elif test -n "$PKG_CONFIG"; then 19506 if test -n "$PKG_CONFIG" && \ 19507 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmodplug\""; } >&5 19508 ($PKG_CONFIG --exists --print-errors "libmodplug") 2>&5 19509 ac_status=$? 19510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19511 test $ac_status = 0; }; then 19512 pkg_cv_libmodplug_LIBS=`$PKG_CONFIG --libs "libmodplug" 2>/dev/null` 19513 test "x$?" != "x0" && pkg_failed=yes 19514else 19515 pkg_failed=yes 19516fi 19517 else 19518 pkg_failed=untried 19519fi 19520 19521 19522 19523if test $pkg_failed = yes; then 19524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19525$as_echo "no" >&6; } 19526 19527if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19528 _pkg_short_errors_supported=yes 19529else 19530 _pkg_short_errors_supported=no 19531fi 19532 if test $_pkg_short_errors_supported = yes; then 19533 libmodplug_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmodplug" 2>&1` 19534 else 19535 libmodplug_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmodplug" 2>&1` 19536 fi 19537 # Put the nasty error message in config.log where it belongs 19538 echo "$libmodplug_PKG_ERRORS" >&5 19539 19540 as_fn_error $? "LÖVE needs \"libmodplug\", please install \"libmodplug\" with development files and try again" "$LINENO" 5 19541elif test $pkg_failed = untried; then 19542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19543$as_echo "no" >&6; } 19544 as_fn_error $? "LÖVE needs \"libmodplug\", please install \"libmodplug\" with development files and try again" "$LINENO" 5 19545else 19546 libmodplug_CFLAGS=$pkg_cv_libmodplug_CFLAGS 19547 libmodplug_LIBS=$pkg_cv_libmodplug_LIBS 19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19549$as_echo "yes" >&6; } 19550 19551fi 19552 19553pkg_failed=no 19554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbisfile" >&5 19555$as_echo_n "checking for vorbisfile... " >&6; } 19556 19557if test -n "$vorbisfile_CFLAGS"; then 19558 pkg_cv_vorbisfile_CFLAGS="$vorbisfile_CFLAGS" 19559 elif test -n "$PKG_CONFIG"; then 19560 if test -n "$PKG_CONFIG" && \ 19561 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisfile\""; } >&5 19562 ($PKG_CONFIG --exists --print-errors "vorbisfile") 2>&5 19563 ac_status=$? 19564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19565 test $ac_status = 0; }; then 19566 pkg_cv_vorbisfile_CFLAGS=`$PKG_CONFIG --cflags "vorbisfile" 2>/dev/null` 19567 test "x$?" != "x0" && pkg_failed=yes 19568else 19569 pkg_failed=yes 19570fi 19571 else 19572 pkg_failed=untried 19573fi 19574if test -n "$vorbisfile_LIBS"; then 19575 pkg_cv_vorbisfile_LIBS="$vorbisfile_LIBS" 19576 elif test -n "$PKG_CONFIG"; then 19577 if test -n "$PKG_CONFIG" && \ 19578 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisfile\""; } >&5 19579 ($PKG_CONFIG --exists --print-errors "vorbisfile") 2>&5 19580 ac_status=$? 19581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19582 test $ac_status = 0; }; then 19583 pkg_cv_vorbisfile_LIBS=`$PKG_CONFIG --libs "vorbisfile" 2>/dev/null` 19584 test "x$?" != "x0" && pkg_failed=yes 19585else 19586 pkg_failed=yes 19587fi 19588 else 19589 pkg_failed=untried 19590fi 19591 19592 19593 19594if test $pkg_failed = yes; then 19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19596$as_echo "no" >&6; } 19597 19598if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19599 _pkg_short_errors_supported=yes 19600else 19601 _pkg_short_errors_supported=no 19602fi 19603 if test $_pkg_short_errors_supported = yes; then 19604 vorbisfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "vorbisfile" 2>&1` 19605 else 19606 vorbisfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "vorbisfile" 2>&1` 19607 fi 19608 # Put the nasty error message in config.log where it belongs 19609 echo "$vorbisfile_PKG_ERRORS" >&5 19610 19611 as_fn_error $? "LÖVE needs \"libvorbis and libvorbisfile\", please install \"libvorbis and libvorbisfile\" with development files and try again" "$LINENO" 5 19612elif test $pkg_failed = untried; then 19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19614$as_echo "no" >&6; } 19615 as_fn_error $? "LÖVE needs \"libvorbis and libvorbisfile\", please install \"libvorbis and libvorbisfile\" with development files and try again" "$LINENO" 5 19616else 19617 vorbisfile_CFLAGS=$pkg_cv_vorbisfile_CFLAGS 19618 vorbisfile_LIBS=$pkg_cv_vorbisfile_LIBS 19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19620$as_echo "yes" >&6; } 19621 19622fi 19623 19624pkg_failed=no 19625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5 19626$as_echo_n "checking for zlib... " >&6; } 19627 19628if test -n "$zlib_CFLAGS"; then 19629 pkg_cv_zlib_CFLAGS="$zlib_CFLAGS" 19630 elif test -n "$PKG_CONFIG"; then 19631 if test -n "$PKG_CONFIG" && \ 19632 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5 19633 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 19634 ac_status=$? 19635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19636 test $ac_status = 0; }; then 19637 pkg_cv_zlib_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null` 19638 test "x$?" != "x0" && pkg_failed=yes 19639else 19640 pkg_failed=yes 19641fi 19642 else 19643 pkg_failed=untried 19644fi 19645if test -n "$zlib_LIBS"; then 19646 pkg_cv_zlib_LIBS="$zlib_LIBS" 19647 elif test -n "$PKG_CONFIG"; then 19648 if test -n "$PKG_CONFIG" && \ 19649 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5 19650 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 19651 ac_status=$? 19652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19653 test $ac_status = 0; }; then 19654 pkg_cv_zlib_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null` 19655 test "x$?" != "x0" && pkg_failed=yes 19656else 19657 pkg_failed=yes 19658fi 19659 else 19660 pkg_failed=untried 19661fi 19662 19663 19664 19665if test $pkg_failed = yes; then 19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19667$as_echo "no" >&6; } 19668 19669if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19670 _pkg_short_errors_supported=yes 19671else 19672 _pkg_short_errors_supported=no 19673fi 19674 if test $_pkg_short_errors_supported = yes; then 19675 zlib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1` 19676 else 19677 zlib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1` 19678 fi 19679 # Put the nasty error message in config.log where it belongs 19680 echo "$zlib_PKG_ERRORS" >&5 19681 19682 as_fn_error $? "LÖVE needs \"zlib\", please install \"zlib\" with development files and try again" "$LINENO" 5 19683elif test $pkg_failed = untried; then 19684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19685$as_echo "no" >&6; } 19686 as_fn_error $? "LÖVE needs \"zlib\", please install \"zlib\" with development files and try again" "$LINENO" 5 19687else 19688 zlib_CFLAGS=$pkg_cv_zlib_CFLAGS 19689 zlib_LIBS=$pkg_cv_zlib_LIBS 19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19691$as_echo "yes" >&6; } 19692 19693fi 19694 19695pkg_failed=no 19696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for theora" >&5 19697$as_echo_n "checking for theora... " >&6; } 19698 19699if test -n "$theora_CFLAGS"; then 19700 pkg_cv_theora_CFLAGS="$theora_CFLAGS" 19701 elif test -n "$PKG_CONFIG"; then 19702 if test -n "$PKG_CONFIG" && \ 19703 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"theoradec\""; } >&5 19704 ($PKG_CONFIG --exists --print-errors "theoradec") 2>&5 19705 ac_status=$? 19706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19707 test $ac_status = 0; }; then 19708 pkg_cv_theora_CFLAGS=`$PKG_CONFIG --cflags "theoradec" 2>/dev/null` 19709 test "x$?" != "x0" && pkg_failed=yes 19710else 19711 pkg_failed=yes 19712fi 19713 else 19714 pkg_failed=untried 19715fi 19716if test -n "$theora_LIBS"; then 19717 pkg_cv_theora_LIBS="$theora_LIBS" 19718 elif test -n "$PKG_CONFIG"; then 19719 if test -n "$PKG_CONFIG" && \ 19720 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"theoradec\""; } >&5 19721 ($PKG_CONFIG --exists --print-errors "theoradec") 2>&5 19722 ac_status=$? 19723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19724 test $ac_status = 0; }; then 19725 pkg_cv_theora_LIBS=`$PKG_CONFIG --libs "theoradec" 2>/dev/null` 19726 test "x$?" != "x0" && pkg_failed=yes 19727else 19728 pkg_failed=yes 19729fi 19730 else 19731 pkg_failed=untried 19732fi 19733 19734 19735 19736if test $pkg_failed = yes; then 19737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19738$as_echo "no" >&6; } 19739 19740if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19741 _pkg_short_errors_supported=yes 19742else 19743 _pkg_short_errors_supported=no 19744fi 19745 if test $_pkg_short_errors_supported = yes; then 19746 theora_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "theoradec" 2>&1` 19747 else 19748 theora_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "theoradec" 2>&1` 19749 fi 19750 # Put the nasty error message in config.log where it belongs 19751 echo "$theora_PKG_ERRORS" >&5 19752 19753 as_fn_error $? "LÖVE needs \"libtheora\", please install \"libtheora\" with development files and try again" "$LINENO" 5 19754elif test $pkg_failed = untried; then 19755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19756$as_echo "no" >&6; } 19757 as_fn_error $? "LÖVE needs \"libtheora\", please install \"libtheora\" with development files and try again" "$LINENO" 5 19758else 19759 theora_CFLAGS=$pkg_cv_theora_CFLAGS 19760 theora_LIBS=$pkg_cv_theora_LIBS 19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19762$as_echo "yes" >&6; } 19763 19764fi 19765 19766# Other libraries 19767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5 19768$as_echo_n "checking for library containing sqrt... " >&6; } 19769if ${ac_cv_search_sqrt+:} false; then : 19770 $as_echo_n "(cached) " >&6 19771else 19772 ac_func_search_save_LIBS=$LIBS 19773cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19774/* end confdefs.h. */ 19775 19776/* Override any GCC internal prototype to avoid an error. 19777 Use char because int might match the return type of a GCC 19778 builtin and then its argument prototype would still apply. */ 19779#ifdef __cplusplus 19780extern "C" 19781#endif 19782char sqrt (); 19783int 19784main () 19785{ 19786return sqrt (); 19787 ; 19788 return 0; 19789} 19790_ACEOF 19791for ac_lib in '' m; do 19792 if test -z "$ac_lib"; then 19793 ac_res="none required" 19794 else 19795 ac_res=-l$ac_lib 19796 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19797 fi 19798 if ac_fn_cxx_try_link "$LINENO"; then : 19799 ac_cv_search_sqrt=$ac_res 19800fi 19801rm -f core conftest.err conftest.$ac_objext \ 19802 conftest$ac_exeext 19803 if ${ac_cv_search_sqrt+:} false; then : 19804 break 19805fi 19806done 19807if ${ac_cv_search_sqrt+:} false; then : 19808 19809else 19810 ac_cv_search_sqrt=no 19811fi 19812rm conftest.$ac_ext 19813LIBS=$ac_func_search_save_LIBS 19814fi 19815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5 19816$as_echo "$ac_cv_search_sqrt" >&6; } 19817ac_res=$ac_cv_search_sqrt 19818if test "$ac_res" != no; then : 19819 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19820 19821else 19822 as_fn_error $? "LÖVE needs \"the C math library\", please install \"the C math library\" with development files and try again" "$LINENO" 5 19823fi 19824 19825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing PHYSFS_init" >&5 19826$as_echo_n "checking for library containing PHYSFS_init... " >&6; } 19827if ${ac_cv_search_PHYSFS_init+:} false; then : 19828 $as_echo_n "(cached) " >&6 19829else 19830 ac_func_search_save_LIBS=$LIBS 19831cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19832/* end confdefs.h. */ 19833 19834/* Override any GCC internal prototype to avoid an error. 19835 Use char because int might match the return type of a GCC 19836 builtin and then its argument prototype would still apply. */ 19837#ifdef __cplusplus 19838extern "C" 19839#endif 19840char PHYSFS_init (); 19841int 19842main () 19843{ 19844return PHYSFS_init (); 19845 ; 19846 return 0; 19847} 19848_ACEOF 19849for ac_lib in '' physfs; do 19850 if test -z "$ac_lib"; then 19851 ac_res="none required" 19852 else 19853 ac_res=-l$ac_lib 19854 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19855 fi 19856 if ac_fn_cxx_try_link "$LINENO"; then : 19857 ac_cv_search_PHYSFS_init=$ac_res 19858fi 19859rm -f core conftest.err conftest.$ac_objext \ 19860 conftest$ac_exeext 19861 if ${ac_cv_search_PHYSFS_init+:} false; then : 19862 break 19863fi 19864done 19865if ${ac_cv_search_PHYSFS_init+:} false; then : 19866 19867else 19868 ac_cv_search_PHYSFS_init=no 19869fi 19870rm conftest.$ac_ext 19871LIBS=$ac_func_search_save_LIBS 19872fi 19873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_PHYSFS_init" >&5 19874$as_echo "$ac_cv_search_PHYSFS_init" >&6; } 19875ac_res=$ac_cv_search_PHYSFS_init 19876if test "$ac_res" != no; then : 19877 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19878 19879else 19880 as_fn_error $? "LÖVE needs \"PhysicsFS\", please install \"PhysicsFS\" with development files and try again" "$LINENO" 5 19881fi 19882 19883 19884# Lua, treated seperately because of --with-lua 19885 19886if test "x$lua_found" = xyes; then : 19887 #if 19888 19889 luaheaders_found=yes 19890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lua_call" >&5 19891$as_echo_n "checking for library containing lua_call... " >&6; } 19892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lua_LIBS}" >&5 19893$as_echo "${lua_LIBS}" >&6; } 19894else 19895 #else 19896 19897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find pkg-config definition for ${with_lua}${with_luaversion} or ${with_lua}${with_clean_luaversion}${with_lua}, falling back to manual detection" >&5 19898$as_echo "$as_me: WARNING: Could not find pkg-config definition for ${with_lua}${with_luaversion} or ${with_lua}${with_clean_luaversion}${with_lua}, falling back to manual detection" >&2;} 19899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lua_call" >&5 19900$as_echo_n "checking for library containing lua_call... " >&6; } 19901if ${ac_cv_search_lua_call+:} false; then : 19902 $as_echo_n "(cached) " >&6 19903else 19904 ac_func_search_save_LIBS=$LIBS 19905cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19906/* end confdefs.h. */ 19907 19908/* Override any GCC internal prototype to avoid an error. 19909 Use char because int might match the return type of a GCC 19910 builtin and then its argument prototype would still apply. */ 19911#ifdef __cplusplus 19912extern "C" 19913#endif 19914char lua_call (); 19915int 19916main () 19917{ 19918return lua_call (); 19919 ; 19920 return 0; 19921} 19922_ACEOF 19923for ac_lib in '' "${with_lua}${with_luaversion}" "${with_lua}"; do 19924 if test -z "$ac_lib"; then 19925 ac_res="none required" 19926 else 19927 ac_res=-l$ac_lib 19928 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19929 fi 19930 if ac_fn_cxx_try_link "$LINENO"; then : 19931 ac_cv_search_lua_call=$ac_res 19932fi 19933rm -f core conftest.err conftest.$ac_objext \ 19934 conftest$ac_exeext 19935 if ${ac_cv_search_lua_call+:} false; then : 19936 break 19937fi 19938done 19939if ${ac_cv_search_lua_call+:} false; then : 19940 19941else 19942 ac_cv_search_lua_call=no 19943fi 19944rm conftest.$ac_ext 19945LIBS=$ac_func_search_save_LIBS 19946fi 19947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lua_call" >&5 19948$as_echo "$ac_cv_search_lua_call" >&6; } 19949ac_res=$ac_cv_search_lua_call 19950if test "$ac_res" != no; then : 19951 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19952 19953else 19954 as_fn_error $? "LÖVE needs \"$with_lua\", please install \"$with_lua\" with development files and try again" "$LINENO" 5 19955fi 19956 19957 luaheaders_found=no 19958 as_ac_Header=`$as_echo "ac_cv_header_"${with_lua}${with_luaversion}/lua.h"" | $as_tr_sh` 19959ac_fn_cxx_check_header_mongrel "$LINENO" ""${with_lua}${with_luaversion}/lua.h"" "$as_ac_Header" "$ac_includes_default" 19960if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19961 luaheaders_found=yes includes="$includes -I/usr/include/${with_lua}${with_luaversion}" 19962fi 19963 19964 19965 as_ac_Header=`$as_echo "ac_cv_header_"${with_lua}/lua.h"" | $as_tr_sh` 19966ac_fn_cxx_check_header_mongrel "$LINENO" ""${with_lua}/lua.h"" "$as_ac_Header" "$ac_includes_default" 19967if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19968 luaheaders_found=yes includes="$includes -I/usr/include/${with_lua}" 19969fi 19970 19971 19972fi 19973if test "x$luaheaders_found" = xyes; then : 19974 19975else 19976 #else 19977 19978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not locate lua headers for ${with_lua}${with_luaversion} or ${with_lua}, you probably need to specify them with CPPFLAGS" >&5 19979$as_echo "$as_me: WARNING: Could not locate lua headers for ${with_lua}${with_luaversion} or ${with_lua}, you probably need to specify them with CPPFLAGS" >&2;} 19980fi 19981 19982# mpg123, treated seperately because it can be disabled (default on) 19983# also not pkg-config because of the FILE_OFFSET_BITS.. bit 19984# Check whether --enable-mpg123 was given. 19985if test "${enable_mpg123+set}" = set; then : 19986 enableval=$enable_mpg123; 19987else 19988 enable_mpg123=yes 19989fi 19990 19991if test "x$enable_mpg123" = xno; then : 19992 19993$as_echo "#define LOVE_NOMPG123 /**/" >>confdefs.h 19994 19995else 19996 # else 19997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mpg123_open_feed" >&5 19998$as_echo_n "checking for library containing mpg123_open_feed... " >&6; } 19999if ${ac_cv_search_mpg123_open_feed+:} false; then : 20000 $as_echo_n "(cached) " >&6 20001else 20002 ac_func_search_save_LIBS=$LIBS 20003cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20004/* end confdefs.h. */ 20005 20006/* Override any GCC internal prototype to avoid an error. 20007 Use char because int might match the return type of a GCC 20008 builtin and then its argument prototype would still apply. */ 20009#ifdef __cplusplus 20010extern "C" 20011#endif 20012char mpg123_open_feed (); 20013int 20014main () 20015{ 20016return mpg123_open_feed (); 20017 ; 20018 return 0; 20019} 20020_ACEOF 20021for ac_lib in '' mpg123; do 20022 if test -z "$ac_lib"; then 20023 ac_res="none required" 20024 else 20025 ac_res=-l$ac_lib 20026 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 20027 fi 20028 if ac_fn_cxx_try_link "$LINENO"; then : 20029 ac_cv_search_mpg123_open_feed=$ac_res 20030fi 20031rm -f core conftest.err conftest.$ac_objext \ 20032 conftest$ac_exeext 20033 if ${ac_cv_search_mpg123_open_feed+:} false; then : 20034 break 20035fi 20036done 20037if ${ac_cv_search_mpg123_open_feed+:} false; then : 20038 20039else 20040 ac_cv_search_mpg123_open_feed=no 20041fi 20042rm conftest.$ac_ext 20043LIBS=$ac_func_search_save_LIBS 20044fi 20045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mpg123_open_feed" >&5 20046$as_echo "$ac_cv_search_mpg123_open_feed" >&6; } 20047ac_res=$ac_cv_search_mpg123_open_feed 20048if test "$ac_res" != no; then : 20049 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 20050 20051else 20052 as_fn_error $? "LÖVE needs \"libmpg123\", please install \"libmpg123\" with development files and try again" "$LINENO" 5 20053fi 20054 20055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mpg123_seek_64" >&5 20056$as_echo_n "checking for library containing mpg123_seek_64... " >&6; } 20057if ${ac_cv_search_mpg123_seek_64+:} false; then : 20058 $as_echo_n "(cached) " >&6 20059else 20060 ac_func_search_save_LIBS=$LIBS 20061cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20062/* end confdefs.h. */ 20063 20064/* Override any GCC internal prototype to avoid an error. 20065 Use char because int might match the return type of a GCC 20066 builtin and then its argument prototype would still apply. */ 20067#ifdef __cplusplus 20068extern "C" 20069#endif 20070char mpg123_seek_64 (); 20071int 20072main () 20073{ 20074return mpg123_seek_64 (); 20075 ; 20076 return 0; 20077} 20078_ACEOF 20079for ac_lib in '' mpg123; do 20080 if test -z "$ac_lib"; then 20081 ac_res="none required" 20082 else 20083 ac_res=-l$ac_lib 20084 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 20085 fi 20086 if ac_fn_cxx_try_link "$LINENO"; then : 20087 ac_cv_search_mpg123_seek_64=$ac_res 20088fi 20089rm -f core conftest.err conftest.$ac_objext \ 20090 conftest$ac_exeext 20091 if ${ac_cv_search_mpg123_seek_64+:} false; then : 20092 break 20093fi 20094done 20095if ${ac_cv_search_mpg123_seek_64+:} false; then : 20096 20097else 20098 ac_cv_search_mpg123_seek_64=no 20099fi 20100rm conftest.$ac_ext 20101LIBS=$ac_func_search_save_LIBS 20102fi 20103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mpg123_seek_64" >&5 20104$as_echo "$ac_cv_search_mpg123_seek_64" >&6; } 20105ac_res=$ac_cv_search_mpg123_seek_64 20106if test "$ac_res" != no; then : 20107 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 20108 FILE_OFFSET=-D_FILE_OFFSET_BITS=64 20109 20110fi 20111 20112fi 20113 20114# GME, treated seperately because it can be enabled (default off) 20115# Check whether --enable-gme was given. 20116if test "${enable_gme+set}" = set; then : 20117 enableval=$enable_gme; 20118else 20119 enable_gme=no 20120fi 20121 20122if test "x$enable_gme" = xyes; then : 20123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gme_open_data" >&5 20124$as_echo_n "checking for library containing gme_open_data... " >&6; } 20125if ${ac_cv_search_gme_open_data+:} false; then : 20126 $as_echo_n "(cached) " >&6 20127else 20128 ac_func_search_save_LIBS=$LIBS 20129cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20130/* end confdefs.h. */ 20131 20132/* Override any GCC internal prototype to avoid an error. 20133 Use char because int might match the return type of a GCC 20134 builtin and then its argument prototype would still apply. */ 20135#ifdef __cplusplus 20136extern "C" 20137#endif 20138char gme_open_data (); 20139int 20140main () 20141{ 20142return gme_open_data (); 20143 ; 20144 return 0; 20145} 20146_ACEOF 20147for ac_lib in '' gme; do 20148 if test -z "$ac_lib"; then 20149 ac_res="none required" 20150 else 20151 ac_res=-l$ac_lib 20152 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 20153 fi 20154 if ac_fn_cxx_try_link "$LINENO"; then : 20155 ac_cv_search_gme_open_data=$ac_res 20156fi 20157rm -f core conftest.err conftest.$ac_objext \ 20158 conftest$ac_exeext 20159 if ${ac_cv_search_gme_open_data+:} false; then : 20160 break 20161fi 20162done 20163if ${ac_cv_search_gme_open_data+:} false; then : 20164 20165else 20166 ac_cv_search_gme_open_data=no 20167fi 20168rm conftest.$ac_ext 20169LIBS=$ac_func_search_save_LIBS 20170fi 20171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gme_open_data" >&5 20172$as_echo "$ac_cv_search_gme_open_data" >&6; } 20173ac_res=$ac_cv_search_gme_open_data 20174if test "$ac_res" != no; then : 20175 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 20176 20177else 20178 as_fn_error $? "LÖVE needs \"gme\", please install \"gme\" with development files and try again" "$LINENO" 5 20179fi 20180 20181 20182$as_echo "#define LOVE_SUPPORT_GME /**/" >>confdefs.h 20183 20184 ac_fn_cxx_check_header_mongrel "$LINENO" "gme/gme.h" "ac_cv_header_gme_gme_h" "$ac_includes_default" 20185if test "x$ac_cv_header_gme_gme_h" = xyes; then : 20186 includes="$includes -I/usr/include/gme" 20187fi 20188 20189 20190fi 20191 20192# libenet check for socklen_t 20193ac_fn_cxx_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h> 20194 #include <sys/socket.h> 20195 20196" 20197if test "x$ac_cv_type_socklen_t" = xyes; then : 20198 20199$as_echo "#define HAS_SOCKLEN_T 1" >>confdefs.h 20200 20201fi 20202 20203 20204# Optionally build the executable (default on) 20205# Check whether --enable-exe was given. 20206if test "${enable_exe+set}" = set; then : 20207 enableval=$enable_exe; 20208else 20209 enable_exe=yes 20210fi 20211 20212 20213if test "x$enable_exe" = xno; then : 20214 20215else 20216 #else 20217 20218$as_echo "#define LOVE_BUILD_EXE /**/" >>confdefs.h 20219 20220fi 20221 20222 if test "x$enable_exe" != xno; then 20223 LOVE_BUILD_EXE_TRUE= 20224 LOVE_BUILD_EXE_FALSE='#' 20225else 20226 LOVE_BUILD_EXE_TRUE='#' 20227 LOVE_BUILD_EXE_FALSE= 20228fi 20229 20230 if test "x$enable_mpg123" = xno; then 20231 LOVE_NOMPG123_TRUE= 20232 LOVE_NOMPG123_FALSE='#' 20233else 20234 LOVE_NOMPG123_TRUE='#' 20235 LOVE_NOMPG123_FALSE= 20236fi 20237 20238 if test "x$enable_osx" != xno; then 20239 LOVE_TARGET_OSX_TRUE= 20240 LOVE_TARGET_OSX_FALSE='#' 20241else 20242 LOVE_TARGET_OSX_TRUE='#' 20243 LOVE_TARGET_OSX_FALSE= 20244fi 20245 20246 20247# Automatic script file rebuilding 20248for ac_prog in "${with_lua}${with_luaversion}" "${with_lua}" "lua" 20249do 20250 # Extract the first word of "$ac_prog", so it can be a program name with args. 20251set dummy $ac_prog; ac_word=$2 20252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20253$as_echo_n "checking for $ac_word... " >&6; } 20254if ${ac_cv_prog_LUA_EXECUTABLE+:} false; then : 20255 $as_echo_n "(cached) " >&6 20256else 20257 if test -n "$LUA_EXECUTABLE"; then 20258 ac_cv_prog_LUA_EXECUTABLE="$LUA_EXECUTABLE" # Let the user override the test. 20259else 20260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20261for as_dir in $PATH 20262do 20263 IFS=$as_save_IFS 20264 test -z "$as_dir" && as_dir=. 20265 for ac_exec_ext in '' $ac_executable_extensions; do 20266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20267 ac_cv_prog_LUA_EXECUTABLE="$ac_prog" 20268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20269 break 2 20270 fi 20271done 20272 done 20273IFS=$as_save_IFS 20274 20275fi 20276fi 20277LUA_EXECUTABLE=$ac_cv_prog_LUA_EXECUTABLE 20278if test -n "$LUA_EXECUTABLE"; then 20279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LUA_EXECUTABLE" >&5 20280$as_echo "$LUA_EXECUTABLE" >&6; } 20281else 20282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20283$as_echo "no" >&6; } 20284fi 20285 20286 20287 test -n "$LUA_EXECUTABLE" && break 20288done 20289test -n "$LUA_EXECUTABLE" || LUA_EXECUTABLE=":" 20290 20291if test "x$LUA_EXECUTABLE" = x:; then : 20292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Did not find a lua executable, you may need to update the scripts manually if you change them" >&5 20293$as_echo "$as_me: WARNING: Did not find a lua executable, you may need to update the scripts manually if you change them" >&2;} 20294fi 20295 20296# Set our includes as automake variable 20297LOVE_INCLUDES="$includes" 20298 20299 20300# Check whether --enable-module-audio was given. 20301if test "${enable_module_audio+set}" = set; then : 20302 enableval=$enable_module_audio; 20303else 20304 enable_audio=true 20305fi 20306 20307 20308if test x"$enable_audio" = xtrue; then 20309 $as_echo "#define LOVE_ENABLE_AUDIO /**/" >>confdefs.h 20310 20311fi 20312 if test x$enable_audio = xtrue; then 20313 LOVE_MODULE_AUDIO_TRUE= 20314 LOVE_MODULE_AUDIO_FALSE='#' 20315else 20316 LOVE_MODULE_AUDIO_TRUE='#' 20317 LOVE_MODULE_AUDIO_FALSE= 20318fi 20319 20320 20321# Check whether --enable-implementation-audio-null was given. 20322if test "${enable_implementation_audio_null+set}" = set; then : 20323 enableval=$enable_implementation_audio_null; 20324else 20325 enable_audio_null=true 20326fi 20327 20328 20329if test x"$enable_audio_null" = xtrue; then 20330 $as_echo "#define LOVE_ENABLE_AUDIO_NULL /**/" >>confdefs.h 20331 20332fi 20333 if test x$enable_audio_null = xtrue; then 20334 LOVE_IMPLEMENTATION_AUDIO_NULL_TRUE= 20335 LOVE_IMPLEMENTATION_AUDIO_NULL_FALSE='#' 20336else 20337 LOVE_IMPLEMENTATION_AUDIO_NULL_TRUE='#' 20338 LOVE_IMPLEMENTATION_AUDIO_NULL_FALSE= 20339fi 20340 20341 20342# Check whether --enable-implementation-audio-openal was given. 20343if test "${enable_implementation_audio_openal+set}" = set; then : 20344 enableval=$enable_implementation_audio_openal; 20345else 20346 enable_audio_openal=true 20347fi 20348 20349 20350if test x"$enable_audio_openal" = xtrue; then 20351 $as_echo "#define LOVE_ENABLE_AUDIO_OPENAL /**/" >>confdefs.h 20352 20353fi 20354 if test x$enable_audio_openal = xtrue; then 20355 LOVE_IMPLEMENTATION_AUDIO_OPENAL_TRUE= 20356 LOVE_IMPLEMENTATION_AUDIO_OPENAL_FALSE='#' 20357else 20358 LOVE_IMPLEMENTATION_AUDIO_OPENAL_TRUE='#' 20359 LOVE_IMPLEMENTATION_AUDIO_OPENAL_FALSE= 20360fi 20361 20362 20363# Check whether --enable-module-event was given. 20364if test "${enable_module_event+set}" = set; then : 20365 enableval=$enable_module_event; 20366else 20367 enable_event=true 20368fi 20369 20370 20371if test x"$enable_event" = xtrue; then 20372 $as_echo "#define LOVE_ENABLE_EVENT /**/" >>confdefs.h 20373 20374fi 20375 if test x$enable_event = xtrue; then 20376 LOVE_MODULE_EVENT_TRUE= 20377 LOVE_MODULE_EVENT_FALSE='#' 20378else 20379 LOVE_MODULE_EVENT_TRUE='#' 20380 LOVE_MODULE_EVENT_FALSE= 20381fi 20382 20383 20384# Check whether --enable-implementation-event-sdl was given. 20385if test "${enable_implementation_event_sdl+set}" = set; then : 20386 enableval=$enable_implementation_event_sdl; 20387else 20388 enable_event_sdl=true 20389fi 20390 20391 20392if test x"$enable_event_sdl" = xtrue; then 20393 $as_echo "#define LOVE_ENABLE_EVENT_SDL /**/" >>confdefs.h 20394 20395fi 20396 if test x$enable_event_sdl = xtrue; then 20397 LOVE_IMPLEMENTATION_EVENT_SDL_TRUE= 20398 LOVE_IMPLEMENTATION_EVENT_SDL_FALSE='#' 20399else 20400 LOVE_IMPLEMENTATION_EVENT_SDL_TRUE='#' 20401 LOVE_IMPLEMENTATION_EVENT_SDL_FALSE= 20402fi 20403 20404 20405# Check whether --enable-module-filesystem was given. 20406if test "${enable_module_filesystem+set}" = set; then : 20407 enableval=$enable_module_filesystem; 20408else 20409 enable_filesystem=true 20410fi 20411 20412 20413if test x"$enable_filesystem" = xtrue; then 20414 $as_echo "#define LOVE_ENABLE_FILESYSTEM /**/" >>confdefs.h 20415 20416fi 20417 if test x$enable_filesystem = xtrue; then 20418 LOVE_MODULE_FILESYSTEM_TRUE= 20419 LOVE_MODULE_FILESYSTEM_FALSE='#' 20420else 20421 LOVE_MODULE_FILESYSTEM_TRUE='#' 20422 LOVE_MODULE_FILESYSTEM_FALSE= 20423fi 20424 20425 20426# Check whether --enable-implementation-filesystem-physfs was given. 20427if test "${enable_implementation_filesystem_physfs+set}" = set; then : 20428 enableval=$enable_implementation_filesystem_physfs; 20429else 20430 enable_filesystem_physfs=true 20431fi 20432 20433 20434if test x"$enable_filesystem_physfs" = xtrue; then 20435 $as_echo "#define LOVE_ENABLE_FILESYSTEM_PHYSFS /**/" >>confdefs.h 20436 20437fi 20438 if test x$enable_filesystem_physfs = xtrue; then 20439 LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS_TRUE= 20440 LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS_FALSE='#' 20441else 20442 LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS_TRUE='#' 20443 LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS_FALSE= 20444fi 20445 20446 20447# Check whether --enable-module-font was given. 20448if test "${enable_module_font+set}" = set; then : 20449 enableval=$enable_module_font; 20450else 20451 enable_font=true 20452fi 20453 20454 20455if test x"$enable_font" = xtrue; then 20456 $as_echo "#define LOVE_ENABLE_FONT /**/" >>confdefs.h 20457 20458fi 20459 if test x$enable_font = xtrue; then 20460 LOVE_MODULE_FONT_TRUE= 20461 LOVE_MODULE_FONT_FALSE='#' 20462else 20463 LOVE_MODULE_FONT_TRUE='#' 20464 LOVE_MODULE_FONT_FALSE= 20465fi 20466 20467 20468# Check whether --enable-implementation-font-freetype was given. 20469if test "${enable_implementation_font_freetype+set}" = set; then : 20470 enableval=$enable_implementation_font_freetype; 20471else 20472 enable_font_freetype=true 20473fi 20474 20475 20476if test x"$enable_font_freetype" = xtrue; then 20477 $as_echo "#define LOVE_ENABLE_FONT_FREETYPE /**/" >>confdefs.h 20478 20479fi 20480 if test x$enable_font_freetype = xtrue; then 20481 LOVE_IMPLEMENTATION_FONT_FREETYPE_TRUE= 20482 LOVE_IMPLEMENTATION_FONT_FREETYPE_FALSE='#' 20483else 20484 LOVE_IMPLEMENTATION_FONT_FREETYPE_TRUE='#' 20485 LOVE_IMPLEMENTATION_FONT_FREETYPE_FALSE= 20486fi 20487 20488 20489# Check whether --enable-module-graphics was given. 20490if test "${enable_module_graphics+set}" = set; then : 20491 enableval=$enable_module_graphics; 20492else 20493 enable_graphics=true 20494fi 20495 20496 20497if test x"$enable_graphics" = xtrue; then 20498 $as_echo "#define LOVE_ENABLE_GRAPHICS /**/" >>confdefs.h 20499 20500fi 20501 if test x$enable_graphics = xtrue; then 20502 LOVE_MODULE_GRAPHICS_TRUE= 20503 LOVE_MODULE_GRAPHICS_FALSE='#' 20504else 20505 LOVE_MODULE_GRAPHICS_TRUE='#' 20506 LOVE_MODULE_GRAPHICS_FALSE= 20507fi 20508 20509 20510# Check whether --enable-implementation-graphics-opengl was given. 20511if test "${enable_implementation_graphics_opengl+set}" = set; then : 20512 enableval=$enable_implementation_graphics_opengl; 20513else 20514 enable_graphics_opengl=true 20515fi 20516 20517 20518if test x"$enable_graphics_opengl" = xtrue; then 20519 $as_echo "#define LOVE_ENABLE_GRAPHICS_OPENGL /**/" >>confdefs.h 20520 20521fi 20522 if test x$enable_graphics_opengl = xtrue; then 20523 LOVE_IMPLEMENTATION_GRAPHICS_OPENGL_TRUE= 20524 LOVE_IMPLEMENTATION_GRAPHICS_OPENGL_FALSE='#' 20525else 20526 LOVE_IMPLEMENTATION_GRAPHICS_OPENGL_TRUE='#' 20527 LOVE_IMPLEMENTATION_GRAPHICS_OPENGL_FALSE= 20528fi 20529 20530 20531# Check whether --enable-module-image was given. 20532if test "${enable_module_image+set}" = set; then : 20533 enableval=$enable_module_image; 20534else 20535 enable_image=true 20536fi 20537 20538 20539if test x"$enable_image" = xtrue; then 20540 $as_echo "#define LOVE_ENABLE_IMAGE /**/" >>confdefs.h 20541 20542fi 20543 if test x$enable_image = xtrue; then 20544 LOVE_MODULE_IMAGE_TRUE= 20545 LOVE_MODULE_IMAGE_FALSE='#' 20546else 20547 LOVE_MODULE_IMAGE_TRUE='#' 20548 LOVE_MODULE_IMAGE_FALSE= 20549fi 20550 20551 20552# Check whether --enable-implementation-image-magpie was given. 20553if test "${enable_implementation_image_magpie+set}" = set; then : 20554 enableval=$enable_implementation_image_magpie; 20555else 20556 enable_image_magpie=true 20557fi 20558 20559 20560if test x"$enable_image_magpie" = xtrue; then 20561 $as_echo "#define LOVE_ENABLE_IMAGE_MAGPIE /**/" >>confdefs.h 20562 20563fi 20564 if test x$enable_image_magpie = xtrue; then 20565 LOVE_IMPLEMENTATION_IMAGE_MAGPIE_TRUE= 20566 LOVE_IMPLEMENTATION_IMAGE_MAGPIE_FALSE='#' 20567else 20568 LOVE_IMPLEMENTATION_IMAGE_MAGPIE_TRUE='#' 20569 LOVE_IMPLEMENTATION_IMAGE_MAGPIE_FALSE= 20570fi 20571 20572 20573# Check whether --enable-module-joystick was given. 20574if test "${enable_module_joystick+set}" = set; then : 20575 enableval=$enable_module_joystick; 20576else 20577 enable_joystick=true 20578fi 20579 20580 20581if test x"$enable_joystick" = xtrue; then 20582 $as_echo "#define LOVE_ENABLE_JOYSTICK /**/" >>confdefs.h 20583 20584fi 20585 if test x$enable_joystick = xtrue; then 20586 LOVE_MODULE_JOYSTICK_TRUE= 20587 LOVE_MODULE_JOYSTICK_FALSE='#' 20588else 20589 LOVE_MODULE_JOYSTICK_TRUE='#' 20590 LOVE_MODULE_JOYSTICK_FALSE= 20591fi 20592 20593 20594# Check whether --enable-implementation-joystick-sdl was given. 20595if test "${enable_implementation_joystick_sdl+set}" = set; then : 20596 enableval=$enable_implementation_joystick_sdl; 20597else 20598 enable_joystick_sdl=true 20599fi 20600 20601 20602if test x"$enable_joystick_sdl" = xtrue; then 20603 $as_echo "#define LOVE_ENABLE_JOYSTICK_SDL /**/" >>confdefs.h 20604 20605fi 20606 if test x$enable_joystick_sdl = xtrue; then 20607 LOVE_IMPLEMENTATION_JOYSTICK_SDL_TRUE= 20608 LOVE_IMPLEMENTATION_JOYSTICK_SDL_FALSE='#' 20609else 20610 LOVE_IMPLEMENTATION_JOYSTICK_SDL_TRUE='#' 20611 LOVE_IMPLEMENTATION_JOYSTICK_SDL_FALSE= 20612fi 20613 20614 20615# Check whether --enable-module-keyboard was given. 20616if test "${enable_module_keyboard+set}" = set; then : 20617 enableval=$enable_module_keyboard; 20618else 20619 enable_keyboard=true 20620fi 20621 20622 20623if test x"$enable_keyboard" = xtrue; then 20624 $as_echo "#define LOVE_ENABLE_KEYBOARD /**/" >>confdefs.h 20625 20626fi 20627 if test x$enable_keyboard = xtrue; then 20628 LOVE_MODULE_KEYBOARD_TRUE= 20629 LOVE_MODULE_KEYBOARD_FALSE='#' 20630else 20631 LOVE_MODULE_KEYBOARD_TRUE='#' 20632 LOVE_MODULE_KEYBOARD_FALSE= 20633fi 20634 20635 20636# Check whether --enable-implementation-keyboard-sdl was given. 20637if test "${enable_implementation_keyboard_sdl+set}" = set; then : 20638 enableval=$enable_implementation_keyboard_sdl; 20639else 20640 enable_keyboard_sdl=true 20641fi 20642 20643 20644if test x"$enable_keyboard_sdl" = xtrue; then 20645 $as_echo "#define LOVE_ENABLE_KEYBOARD_SDL /**/" >>confdefs.h 20646 20647fi 20648 if test x$enable_keyboard_sdl = xtrue; then 20649 LOVE_IMPLEMENTATION_KEYBOARD_SDL_TRUE= 20650 LOVE_IMPLEMENTATION_KEYBOARD_SDL_FALSE='#' 20651else 20652 LOVE_IMPLEMENTATION_KEYBOARD_SDL_TRUE='#' 20653 LOVE_IMPLEMENTATION_KEYBOARD_SDL_FALSE= 20654fi 20655 20656 20657# Check whether --enable-module-love was given. 20658if test "${enable_module_love+set}" = set; then : 20659 enableval=$enable_module_love; 20660else 20661 enable_love=true 20662fi 20663 20664 20665if test x"$enable_love" = xtrue; then 20666 $as_echo "#define LOVE_ENABLE_LOVE /**/" >>confdefs.h 20667 20668fi 20669 if test x$enable_love = xtrue; then 20670 LOVE_MODULE_LOVE_TRUE= 20671 LOVE_MODULE_LOVE_FALSE='#' 20672else 20673 LOVE_MODULE_LOVE_TRUE='#' 20674 LOVE_MODULE_LOVE_FALSE= 20675fi 20676 20677 20678# Check whether --enable-module-math was given. 20679if test "${enable_module_math+set}" = set; then : 20680 enableval=$enable_module_math; 20681else 20682 enable_math=true 20683fi 20684 20685 20686if test x"$enable_math" = xtrue; then 20687 $as_echo "#define LOVE_ENABLE_MATH /**/" >>confdefs.h 20688 20689fi 20690 if test x$enable_math = xtrue; then 20691 LOVE_MODULE_MATH_TRUE= 20692 LOVE_MODULE_MATH_FALSE='#' 20693else 20694 LOVE_MODULE_MATH_TRUE='#' 20695 LOVE_MODULE_MATH_FALSE= 20696fi 20697 20698 20699# Check whether --enable-module-mouse was given. 20700if test "${enable_module_mouse+set}" = set; then : 20701 enableval=$enable_module_mouse; 20702else 20703 enable_mouse=true 20704fi 20705 20706 20707if test x"$enable_mouse" = xtrue; then 20708 $as_echo "#define LOVE_ENABLE_MOUSE /**/" >>confdefs.h 20709 20710fi 20711 if test x$enable_mouse = xtrue; then 20712 LOVE_MODULE_MOUSE_TRUE= 20713 LOVE_MODULE_MOUSE_FALSE='#' 20714else 20715 LOVE_MODULE_MOUSE_TRUE='#' 20716 LOVE_MODULE_MOUSE_FALSE= 20717fi 20718 20719 20720# Check whether --enable-implementation-mouse-sdl was given. 20721if test "${enable_implementation_mouse_sdl+set}" = set; then : 20722 enableval=$enable_implementation_mouse_sdl; 20723else 20724 enable_mouse_sdl=true 20725fi 20726 20727 20728if test x"$enable_mouse_sdl" = xtrue; then 20729 $as_echo "#define LOVE_ENABLE_MOUSE_SDL /**/" >>confdefs.h 20730 20731fi 20732 if test x$enable_mouse_sdl = xtrue; then 20733 LOVE_IMPLEMENTATION_MOUSE_SDL_TRUE= 20734 LOVE_IMPLEMENTATION_MOUSE_SDL_FALSE='#' 20735else 20736 LOVE_IMPLEMENTATION_MOUSE_SDL_TRUE='#' 20737 LOVE_IMPLEMENTATION_MOUSE_SDL_FALSE= 20738fi 20739 20740 20741# Check whether --enable-module-physics was given. 20742if test "${enable_module_physics+set}" = set; then : 20743 enableval=$enable_module_physics; 20744else 20745 enable_physics=true 20746fi 20747 20748 20749if test x"$enable_physics" = xtrue; then 20750 $as_echo "#define LOVE_ENABLE_PHYSICS /**/" >>confdefs.h 20751 20752fi 20753 if test x$enable_physics = xtrue; then 20754 LOVE_MODULE_PHYSICS_TRUE= 20755 LOVE_MODULE_PHYSICS_FALSE='#' 20756else 20757 LOVE_MODULE_PHYSICS_TRUE='#' 20758 LOVE_MODULE_PHYSICS_FALSE= 20759fi 20760 20761 20762# Check whether --enable-implementation-physics-box2d was given. 20763if test "${enable_implementation_physics_box2d+set}" = set; then : 20764 enableval=$enable_implementation_physics_box2d; 20765else 20766 enable_physics_box2d=true 20767fi 20768 20769 20770if test x"$enable_physics_box2d" = xtrue; then 20771 $as_echo "#define LOVE_ENABLE_PHYSICS_BOX2D /**/" >>confdefs.h 20772 20773fi 20774 if test x$enable_physics_box2d = xtrue; then 20775 LOVE_IMPLEMENTATION_PHYSICS_BOX2D_TRUE= 20776 LOVE_IMPLEMENTATION_PHYSICS_BOX2D_FALSE='#' 20777else 20778 LOVE_IMPLEMENTATION_PHYSICS_BOX2D_TRUE='#' 20779 LOVE_IMPLEMENTATION_PHYSICS_BOX2D_FALSE= 20780fi 20781 20782 20783# Check whether --enable-module-sound was given. 20784if test "${enable_module_sound+set}" = set; then : 20785 enableval=$enable_module_sound; 20786else 20787 enable_sound=true 20788fi 20789 20790 20791if test x"$enable_sound" = xtrue; then 20792 $as_echo "#define LOVE_ENABLE_SOUND /**/" >>confdefs.h 20793 20794fi 20795 if test x$enable_sound = xtrue; then 20796 LOVE_MODULE_SOUND_TRUE= 20797 LOVE_MODULE_SOUND_FALSE='#' 20798else 20799 LOVE_MODULE_SOUND_TRUE='#' 20800 LOVE_MODULE_SOUND_FALSE= 20801fi 20802 20803 20804# Check whether --enable-implementation-sound-lullaby was given. 20805if test "${enable_implementation_sound_lullaby+set}" = set; then : 20806 enableval=$enable_implementation_sound_lullaby; 20807else 20808 enable_sound_lullaby=true 20809fi 20810 20811 20812if test x"$enable_sound_lullaby" = xtrue; then 20813 $as_echo "#define LOVE_ENABLE_SOUND_LULLABY /**/" >>confdefs.h 20814 20815fi 20816 if test x$enable_sound_lullaby = xtrue; then 20817 LOVE_IMPLEMENTATION_SOUND_LULLABY_TRUE= 20818 LOVE_IMPLEMENTATION_SOUND_LULLABY_FALSE='#' 20819else 20820 LOVE_IMPLEMENTATION_SOUND_LULLABY_TRUE='#' 20821 LOVE_IMPLEMENTATION_SOUND_LULLABY_FALSE= 20822fi 20823 20824 20825# Check whether --enable-module-system was given. 20826if test "${enable_module_system+set}" = set; then : 20827 enableval=$enable_module_system; 20828else 20829 enable_system=true 20830fi 20831 20832 20833if test x"$enable_system" = xtrue; then 20834 $as_echo "#define LOVE_ENABLE_SYSTEM /**/" >>confdefs.h 20835 20836fi 20837 if test x$enable_system = xtrue; then 20838 LOVE_MODULE_SYSTEM_TRUE= 20839 LOVE_MODULE_SYSTEM_FALSE='#' 20840else 20841 LOVE_MODULE_SYSTEM_TRUE='#' 20842 LOVE_MODULE_SYSTEM_FALSE= 20843fi 20844 20845 20846# Check whether --enable-implementation-system-sdl was given. 20847if test "${enable_implementation_system_sdl+set}" = set; then : 20848 enableval=$enable_implementation_system_sdl; 20849else 20850 enable_system_sdl=true 20851fi 20852 20853 20854if test x"$enable_system_sdl" = xtrue; then 20855 $as_echo "#define LOVE_ENABLE_SYSTEM_SDL /**/" >>confdefs.h 20856 20857fi 20858 if test x$enable_system_sdl = xtrue; then 20859 LOVE_IMPLEMENTATION_SYSTEM_SDL_TRUE= 20860 LOVE_IMPLEMENTATION_SYSTEM_SDL_FALSE='#' 20861else 20862 LOVE_IMPLEMENTATION_SYSTEM_SDL_TRUE='#' 20863 LOVE_IMPLEMENTATION_SYSTEM_SDL_FALSE= 20864fi 20865 20866 20867# Check whether --enable-module-thread was given. 20868if test "${enable_module_thread+set}" = set; then : 20869 enableval=$enable_module_thread; 20870else 20871 enable_thread=true 20872fi 20873 20874 20875if test x"$enable_thread" = xtrue; then 20876 $as_echo "#define LOVE_ENABLE_THREAD /**/" >>confdefs.h 20877 20878fi 20879 if test x$enable_thread = xtrue; then 20880 LOVE_MODULE_THREAD_TRUE= 20881 LOVE_MODULE_THREAD_FALSE='#' 20882else 20883 LOVE_MODULE_THREAD_TRUE='#' 20884 LOVE_MODULE_THREAD_FALSE= 20885fi 20886 20887 20888# Check whether --enable-implementation-thread-sdl was given. 20889if test "${enable_implementation_thread_sdl+set}" = set; then : 20890 enableval=$enable_implementation_thread_sdl; 20891else 20892 enable_thread_sdl=true 20893fi 20894 20895 20896if test x"$enable_thread_sdl" = xtrue; then 20897 $as_echo "#define LOVE_ENABLE_THREAD_SDL /**/" >>confdefs.h 20898 20899fi 20900 if test x$enable_thread_sdl = xtrue; then 20901 LOVE_IMPLEMENTATION_THREAD_SDL_TRUE= 20902 LOVE_IMPLEMENTATION_THREAD_SDL_FALSE='#' 20903else 20904 LOVE_IMPLEMENTATION_THREAD_SDL_TRUE='#' 20905 LOVE_IMPLEMENTATION_THREAD_SDL_FALSE= 20906fi 20907 20908 20909# Check whether --enable-module-timer was given. 20910if test "${enable_module_timer+set}" = set; then : 20911 enableval=$enable_module_timer; 20912else 20913 enable_timer=true 20914fi 20915 20916 20917if test x"$enable_timer" = xtrue; then 20918 $as_echo "#define LOVE_ENABLE_TIMER /**/" >>confdefs.h 20919 20920fi 20921 if test x$enable_timer = xtrue; then 20922 LOVE_MODULE_TIMER_TRUE= 20923 LOVE_MODULE_TIMER_FALSE='#' 20924else 20925 LOVE_MODULE_TIMER_TRUE='#' 20926 LOVE_MODULE_TIMER_FALSE= 20927fi 20928 20929 20930# Check whether --enable-implementation-timer-sdl was given. 20931if test "${enable_implementation_timer_sdl+set}" = set; then : 20932 enableval=$enable_implementation_timer_sdl; 20933else 20934 enable_timer_sdl=true 20935fi 20936 20937 20938if test x"$enable_timer_sdl" = xtrue; then 20939 $as_echo "#define LOVE_ENABLE_TIMER_SDL /**/" >>confdefs.h 20940 20941fi 20942 if test x$enable_timer_sdl = xtrue; then 20943 LOVE_IMPLEMENTATION_TIMER_SDL_TRUE= 20944 LOVE_IMPLEMENTATION_TIMER_SDL_FALSE='#' 20945else 20946 LOVE_IMPLEMENTATION_TIMER_SDL_TRUE='#' 20947 LOVE_IMPLEMENTATION_TIMER_SDL_FALSE= 20948fi 20949 20950 20951# Check whether --enable-module-touch was given. 20952if test "${enable_module_touch+set}" = set; then : 20953 enableval=$enable_module_touch; 20954else 20955 enable_touch=true 20956fi 20957 20958 20959if test x"$enable_touch" = xtrue; then 20960 $as_echo "#define LOVE_ENABLE_TOUCH /**/" >>confdefs.h 20961 20962fi 20963 if test x$enable_touch = xtrue; then 20964 LOVE_MODULE_TOUCH_TRUE= 20965 LOVE_MODULE_TOUCH_FALSE='#' 20966else 20967 LOVE_MODULE_TOUCH_TRUE='#' 20968 LOVE_MODULE_TOUCH_FALSE= 20969fi 20970 20971 20972# Check whether --enable-implementation-touch-sdl was given. 20973if test "${enable_implementation_touch_sdl+set}" = set; then : 20974 enableval=$enable_implementation_touch_sdl; 20975else 20976 enable_touch_sdl=true 20977fi 20978 20979 20980if test x"$enable_touch_sdl" = xtrue; then 20981 $as_echo "#define LOVE_ENABLE_TOUCH_SDL /**/" >>confdefs.h 20982 20983fi 20984 if test x$enable_touch_sdl = xtrue; then 20985 LOVE_IMPLEMENTATION_TOUCH_SDL_TRUE= 20986 LOVE_IMPLEMENTATION_TOUCH_SDL_FALSE='#' 20987else 20988 LOVE_IMPLEMENTATION_TOUCH_SDL_TRUE='#' 20989 LOVE_IMPLEMENTATION_TOUCH_SDL_FALSE= 20990fi 20991 20992 20993# Check whether --enable-module-video was given. 20994if test "${enable_module_video+set}" = set; then : 20995 enableval=$enable_module_video; 20996else 20997 enable_video=true 20998fi 20999 21000 21001if test x"$enable_video" = xtrue; then 21002 $as_echo "#define LOVE_ENABLE_VIDEO /**/" >>confdefs.h 21003 21004fi 21005 if test x$enable_video = xtrue; then 21006 LOVE_MODULE_VIDEO_TRUE= 21007 LOVE_MODULE_VIDEO_FALSE='#' 21008else 21009 LOVE_MODULE_VIDEO_TRUE='#' 21010 LOVE_MODULE_VIDEO_FALSE= 21011fi 21012 21013 21014# Check whether --enable-implementation-video-theora was given. 21015if test "${enable_implementation_video_theora+set}" = set; then : 21016 enableval=$enable_implementation_video_theora; 21017else 21018 enable_video_theora=true 21019fi 21020 21021 21022if test x"$enable_video_theora" = xtrue; then 21023 $as_echo "#define LOVE_ENABLE_VIDEO_THEORA /**/" >>confdefs.h 21024 21025fi 21026 if test x$enable_video_theora = xtrue; then 21027 LOVE_IMPLEMENTATION_VIDEO_THEORA_TRUE= 21028 LOVE_IMPLEMENTATION_VIDEO_THEORA_FALSE='#' 21029else 21030 LOVE_IMPLEMENTATION_VIDEO_THEORA_TRUE='#' 21031 LOVE_IMPLEMENTATION_VIDEO_THEORA_FALSE= 21032fi 21033 21034 21035# Check whether --enable-module-window was given. 21036if test "${enable_module_window+set}" = set; then : 21037 enableval=$enable_module_window; 21038else 21039 enable_window=true 21040fi 21041 21042 21043if test x"$enable_window" = xtrue; then 21044 $as_echo "#define LOVE_ENABLE_WINDOW /**/" >>confdefs.h 21045 21046fi 21047 if test x$enable_window = xtrue; then 21048 LOVE_MODULE_WINDOW_TRUE= 21049 LOVE_MODULE_WINDOW_FALSE='#' 21050else 21051 LOVE_MODULE_WINDOW_TRUE='#' 21052 LOVE_MODULE_WINDOW_FALSE= 21053fi 21054 21055 21056# Check whether --enable-implementation-window-sdl was given. 21057if test "${enable_implementation_window_sdl+set}" = set; then : 21058 enableval=$enable_implementation_window_sdl; 21059else 21060 enable_window_sdl=true 21061fi 21062 21063 21064if test x"$enable_window_sdl" = xtrue; then 21065 $as_echo "#define LOVE_ENABLE_WINDOW_SDL /**/" >>confdefs.h 21066 21067fi 21068 if test x$enable_window_sdl = xtrue; then 21069 LOVE_IMPLEMENTATION_WINDOW_SDL_TRUE= 21070 LOVE_IMPLEMENTATION_WINDOW_SDL_FALSE='#' 21071else 21072 LOVE_IMPLEMENTATION_WINDOW_SDL_TRUE='#' 21073 LOVE_IMPLEMENTATION_WINDOW_SDL_FALSE= 21074fi 21075 21076 21077# Check whether --enable-library-Box2D was given. 21078if test "${enable_library_Box2D+set}" = set; then : 21079 enableval=$enable_library_Box2D; 21080else 21081 enable_Box2D=true 21082fi 21083 21084 21085if test x"$enable_Box2D" = xtrue; then 21086 $as_echo "#define LOVE_ENABLE_BOX2D /**/" >>confdefs.h 21087 21088fi 21089 if test x$enable_Box2D = xtrue; then 21090 LOVE_LIBRARY_BOX2D_TRUE= 21091 LOVE_LIBRARY_BOX2D_FALSE='#' 21092else 21093 LOVE_LIBRARY_BOX2D_TRUE='#' 21094 LOVE_LIBRARY_BOX2D_FALSE= 21095fi 21096 21097 21098# Check whether --enable-library-ddsparse was given. 21099if test "${enable_library_ddsparse+set}" = set; then : 21100 enableval=$enable_library_ddsparse; 21101else 21102 enable_ddsparse=true 21103fi 21104 21105 21106if test x"$enable_ddsparse" = xtrue; then 21107 $as_echo "#define LOVE_ENABLE_DDSPARSE /**/" >>confdefs.h 21108 21109fi 21110 if test x$enable_ddsparse = xtrue; then 21111 LOVE_LIBRARY_DDSPARSE_TRUE= 21112 LOVE_LIBRARY_DDSPARSE_FALSE='#' 21113else 21114 LOVE_LIBRARY_DDSPARSE_TRUE='#' 21115 LOVE_LIBRARY_DDSPARSE_FALSE= 21116fi 21117 21118 21119# Check whether --enable-library-enet was given. 21120if test "${enable_library_enet+set}" = set; then : 21121 enableval=$enable_library_enet; 21122else 21123 enable_enet=true 21124fi 21125 21126 21127if test x"$enable_enet" = xtrue; then 21128 $as_echo "#define LOVE_ENABLE_ENET /**/" >>confdefs.h 21129 21130fi 21131 if test x$enable_enet = xtrue; then 21132 LOVE_LIBRARY_ENET_TRUE= 21133 LOVE_LIBRARY_ENET_FALSE='#' 21134else 21135 LOVE_LIBRARY_ENET_TRUE='#' 21136 LOVE_LIBRARY_ENET_FALSE= 21137fi 21138 21139 21140# Check whether --enable-library-glad was given. 21141if test "${enable_library_glad+set}" = set; then : 21142 enableval=$enable_library_glad; 21143else 21144 enable_glad=true 21145fi 21146 21147 21148if test x"$enable_glad" = xtrue; then 21149 $as_echo "#define LOVE_ENABLE_GLAD /**/" >>confdefs.h 21150 21151fi 21152 if test x$enable_glad = xtrue; then 21153 LOVE_LIBRARY_GLAD_TRUE= 21154 LOVE_LIBRARY_GLAD_FALSE='#' 21155else 21156 LOVE_LIBRARY_GLAD_TRUE='#' 21157 LOVE_LIBRARY_GLAD_FALSE= 21158fi 21159 21160 21161# Check whether --enable-library-lodepng was given. 21162if test "${enable_library_lodepng+set}" = set; then : 21163 enableval=$enable_library_lodepng; 21164else 21165 enable_lodepng=true 21166fi 21167 21168 21169if test x"$enable_lodepng" = xtrue; then 21170 $as_echo "#define LOVE_ENABLE_LODEPNG /**/" >>confdefs.h 21171 21172fi 21173 if test x$enable_lodepng = xtrue; then 21174 LOVE_LIBRARY_LODEPNG_TRUE= 21175 LOVE_LIBRARY_LODEPNG_FALSE='#' 21176else 21177 LOVE_LIBRARY_LODEPNG_TRUE='#' 21178 LOVE_LIBRARY_LODEPNG_FALSE= 21179fi 21180 21181 21182# Check whether --enable-library-luasocket was given. 21183if test "${enable_library_luasocket+set}" = set; then : 21184 enableval=$enable_library_luasocket; 21185else 21186 enable_luasocket=true 21187fi 21188 21189 21190if test x"$enable_luasocket" = xtrue; then 21191 $as_echo "#define LOVE_ENABLE_LUASOCKET /**/" >>confdefs.h 21192 21193fi 21194 if test x$enable_luasocket = xtrue; then 21195 LOVE_LIBRARY_LUASOCKET_TRUE= 21196 LOVE_LIBRARY_LUASOCKET_FALSE='#' 21197else 21198 LOVE_LIBRARY_LUASOCKET_TRUE='#' 21199 LOVE_LIBRARY_LUASOCKET_FALSE= 21200fi 21201 21202 21203# Check whether --enable-library-luautf8 was given. 21204if test "${enable_library_luautf8+set}" = set; then : 21205 enableval=$enable_library_luautf8; 21206else 21207 enable_luautf8=true 21208fi 21209 21210 21211if test x"$enable_luautf8" = xtrue; then 21212 $as_echo "#define LOVE_ENABLE_LUAUTF8 /**/" >>confdefs.h 21213 21214fi 21215 if test x$enable_luautf8 = xtrue; then 21216 LOVE_LIBRARY_LUAUTF8_TRUE= 21217 LOVE_LIBRARY_LUAUTF8_FALSE='#' 21218else 21219 LOVE_LIBRARY_LUAUTF8_TRUE='#' 21220 LOVE_LIBRARY_LUAUTF8_FALSE= 21221fi 21222 21223 21224# Check whether --enable-library-lz4 was given. 21225if test "${enable_library_lz4+set}" = set; then : 21226 enableval=$enable_library_lz4; 21227else 21228 enable_lz4=true 21229fi 21230 21231 21232if test x"$enable_lz4" = xtrue; then 21233 $as_echo "#define LOVE_ENABLE_LZ4 /**/" >>confdefs.h 21234 21235fi 21236 if test x$enable_lz4 = xtrue; then 21237 LOVE_LIBRARY_LZ4_TRUE= 21238 LOVE_LIBRARY_LZ4_FALSE='#' 21239else 21240 LOVE_LIBRARY_LZ4_TRUE='#' 21241 LOVE_LIBRARY_LZ4_FALSE= 21242fi 21243 21244 21245# Check whether --enable-library-noise1234 was given. 21246if test "${enable_library_noise1234+set}" = set; then : 21247 enableval=$enable_library_noise1234; 21248else 21249 enable_noise1234=true 21250fi 21251 21252 21253if test x"$enable_noise1234" = xtrue; then 21254 $as_echo "#define LOVE_ENABLE_NOISE1234 /**/" >>confdefs.h 21255 21256fi 21257 if test x$enable_noise1234 = xtrue; then 21258 LOVE_LIBRARY_NOISE1234_TRUE= 21259 LOVE_LIBRARY_NOISE1234_FALSE='#' 21260else 21261 LOVE_LIBRARY_NOISE1234_TRUE='#' 21262 LOVE_LIBRARY_NOISE1234_FALSE= 21263fi 21264 21265 21266# Check whether --enable-library-stb was given. 21267if test "${enable_library_stb+set}" = set; then : 21268 enableval=$enable_library_stb; 21269else 21270 enable_stb=true 21271fi 21272 21273 21274if test x"$enable_stb" = xtrue; then 21275 $as_echo "#define LOVE_ENABLE_STB /**/" >>confdefs.h 21276 21277fi 21278 if test x$enable_stb = xtrue; then 21279 LOVE_LIBRARY_STB_TRUE= 21280 LOVE_LIBRARY_STB_FALSE='#' 21281else 21282 LOVE_LIBRARY_STB_TRUE='#' 21283 LOVE_LIBRARY_STB_FALSE= 21284fi 21285 21286 21287# Check whether --enable-library-utf8 was given. 21288if test "${enable_library_utf8+set}" = set; then : 21289 enableval=$enable_library_utf8; 21290else 21291 enable_utf8=true 21292fi 21293 21294 21295if test x"$enable_utf8" = xtrue; then 21296 $as_echo "#define LOVE_ENABLE_UTF8 /**/" >>confdefs.h 21297 21298fi 21299 if test x$enable_utf8 = xtrue; then 21300 LOVE_LIBRARY_UTF8_TRUE= 21301 LOVE_LIBRARY_UTF8_FALSE='#' 21302else 21303 LOVE_LIBRARY_UTF8_TRUE='#' 21304 LOVE_LIBRARY_UTF8_FALSE= 21305fi 21306 21307 21308# Check whether --enable-library-Wuff was given. 21309if test "${enable_library_Wuff+set}" = set; then : 21310 enableval=$enable_library_Wuff; 21311else 21312 enable_Wuff=true 21313fi 21314 21315 21316if test x"$enable_Wuff" = xtrue; then 21317 $as_echo "#define LOVE_ENABLE_WUFF /**/" >>confdefs.h 21318 21319fi 21320 if test x$enable_Wuff = xtrue; then 21321 LOVE_LIBRARY_WUFF_TRUE= 21322 LOVE_LIBRARY_WUFF_FALSE='#' 21323else 21324 LOVE_LIBRARY_WUFF_TRUE='#' 21325 LOVE_LIBRARY_WUFF_FALSE= 21326fi 21327 21328 21329 21330 21331 21332ac_config_files="$ac_config_files Makefile src/Makefile platform/unix/debian/control platform/unix/debian/changelog platform/unix/debian/rules" 21333 21334cat >confcache <<\_ACEOF 21335# This file is a shell script that caches the results of configure 21336# tests run on this system so they can be shared between configure 21337# scripts and configure runs, see configure's option --config-cache. 21338# It is not useful on other systems. If it contains results you don't 21339# want to keep, you may remove or edit it. 21340# 21341# config.status only pays attention to the cache file if you give it 21342# the --recheck option to rerun configure. 21343# 21344# `ac_cv_env_foo' variables (set or unset) will be overridden when 21345# loading this file, other *unset* `ac_cv_foo' will be assigned the 21346# following values. 21347 21348_ACEOF 21349 21350# The following way of writing the cache mishandles newlines in values, 21351# but we know of no workaround that is simple, portable, and efficient. 21352# So, we kill variables containing newlines. 21353# Ultrix sh set writes to stderr and can't be redirected directly, 21354# and sets the high bit in the cache file unless we assign to the vars. 21355( 21356 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 21357 eval ac_val=\$$ac_var 21358 case $ac_val in #( 21359 *${as_nl}*) 21360 case $ac_var in #( 21361 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 21362$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 21363 esac 21364 case $ac_var in #( 21365 _ | IFS | as_nl) ;; #( 21366 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 21367 *) { eval $ac_var=; unset $ac_var;} ;; 21368 esac ;; 21369 esac 21370 done 21371 21372 (set) 2>&1 | 21373 case $as_nl`(ac_space=' '; set) 2>&1` in #( 21374 *${as_nl}ac_space=\ *) 21375 # `set' does not quote correctly, so add quotes: double-quote 21376 # substitution turns \\\\ into \\, and sed turns \\ into \. 21377 sed -n \ 21378 "s/'/'\\\\''/g; 21379 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 21380 ;; #( 21381 *) 21382 # `set' quotes correctly as required by POSIX, so do not add quotes. 21383 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 21384 ;; 21385 esac | 21386 sort 21387) | 21388 sed ' 21389 /^ac_cv_env_/b end 21390 t clear 21391 :clear 21392 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 21393 t end 21394 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 21395 :end' >>confcache 21396if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 21397 if test -w "$cache_file"; then 21398 if test "x$cache_file" != "x/dev/null"; then 21399 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 21400$as_echo "$as_me: updating cache $cache_file" >&6;} 21401 if test ! -f "$cache_file" || test -h "$cache_file"; then 21402 cat confcache >"$cache_file" 21403 else 21404 case $cache_file in #( 21405 */* | ?:*) 21406 mv -f confcache "$cache_file"$$ && 21407 mv -f "$cache_file"$$ "$cache_file" ;; #( 21408 *) 21409 mv -f confcache "$cache_file" ;; 21410 esac 21411 fi 21412 fi 21413 else 21414 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 21415$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 21416 fi 21417fi 21418rm -f confcache 21419 21420test "x$prefix" = xNONE && prefix=$ac_default_prefix 21421# Let make expand exec_prefix. 21422test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 21423 21424DEFS=-DHAVE_CONFIG_H 21425 21426ac_libobjs= 21427ac_ltlibobjs= 21428U= 21429for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 21430 # 1. Remove the extension, and $U if already installed. 21431 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 21432 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 21433 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 21434 # will be set to the directory where LIBOBJS objects are built. 21435 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 21436 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 21437done 21438LIBOBJS=$ac_libobjs 21439 21440LTLIBOBJS=$ac_ltlibobjs 21441 21442 21443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 21444$as_echo_n "checking that generated files are newer than configure... " >&6; } 21445 if test -n "$am_sleep_pid"; then 21446 # Hide warnings about reused PIDs. 21447 wait $am_sleep_pid 2>/dev/null 21448 fi 21449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 21450$as_echo "done" >&6; } 21451 if test -n "$EXEEXT"; then 21452 am__EXEEXT_TRUE= 21453 am__EXEEXT_FALSE='#' 21454else 21455 am__EXEEXT_TRUE='#' 21456 am__EXEEXT_FALSE= 21457fi 21458 21459if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 21460 as_fn_error $? "conditional \"AMDEP\" was never defined. 21461Usually this means the macro was only invoked conditionally." "$LINENO" 5 21462fi 21463if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 21464 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 21465Usually this means the macro was only invoked conditionally." "$LINENO" 5 21466fi 21467if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 21468 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 21469Usually this means the macro was only invoked conditionally." "$LINENO" 5 21470fi 21471if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 21472 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 21473Usually this means the macro was only invoked conditionally." "$LINENO" 5 21474fi 21475if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then 21476 as_fn_error $? "conditional \"am__fastdepOBJCXX\" was never defined. 21477Usually this means the macro was only invoked conditionally." "$LINENO" 5 21478fi 21479 21480if test -z "${LOVE_BUILD_EXE_TRUE}" && test -z "${LOVE_BUILD_EXE_FALSE}"; then 21481 as_fn_error $? "conditional \"LOVE_BUILD_EXE\" was never defined. 21482Usually this means the macro was only invoked conditionally." "$LINENO" 5 21483fi 21484if test -z "${LOVE_NOMPG123_TRUE}" && test -z "${LOVE_NOMPG123_FALSE}"; then 21485 as_fn_error $? "conditional \"LOVE_NOMPG123\" was never defined. 21486Usually this means the macro was only invoked conditionally." "$LINENO" 5 21487fi 21488if test -z "${LOVE_TARGET_OSX_TRUE}" && test -z "${LOVE_TARGET_OSX_FALSE}"; then 21489 as_fn_error $? "conditional \"LOVE_TARGET_OSX\" was never defined. 21490Usually this means the macro was only invoked conditionally." "$LINENO" 5 21491fi 21492if test -z "${LOVE_MODULE_AUDIO_TRUE}" && test -z "${LOVE_MODULE_AUDIO_FALSE}"; then 21493 as_fn_error $? "conditional \"LOVE_MODULE_AUDIO\" was never defined. 21494Usually this means the macro was only invoked conditionally." "$LINENO" 5 21495fi 21496if test -z "${LOVE_IMPLEMENTATION_AUDIO_NULL_TRUE}" && test -z "${LOVE_IMPLEMENTATION_AUDIO_NULL_FALSE}"; then 21497 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_AUDIO_NULL\" was never defined. 21498Usually this means the macro was only invoked conditionally." "$LINENO" 5 21499fi 21500if test -z "${LOVE_IMPLEMENTATION_AUDIO_OPENAL_TRUE}" && test -z "${LOVE_IMPLEMENTATION_AUDIO_OPENAL_FALSE}"; then 21501 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_AUDIO_OPENAL\" was never defined. 21502Usually this means the macro was only invoked conditionally." "$LINENO" 5 21503fi 21504if test -z "${LOVE_MODULE_EVENT_TRUE}" && test -z "${LOVE_MODULE_EVENT_FALSE}"; then 21505 as_fn_error $? "conditional \"LOVE_MODULE_EVENT\" was never defined. 21506Usually this means the macro was only invoked conditionally." "$LINENO" 5 21507fi 21508if test -z "${LOVE_IMPLEMENTATION_EVENT_SDL_TRUE}" && test -z "${LOVE_IMPLEMENTATION_EVENT_SDL_FALSE}"; then 21509 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_EVENT_SDL\" was never defined. 21510Usually this means the macro was only invoked conditionally." "$LINENO" 5 21511fi 21512if test -z "${LOVE_MODULE_FILESYSTEM_TRUE}" && test -z "${LOVE_MODULE_FILESYSTEM_FALSE}"; then 21513 as_fn_error $? "conditional \"LOVE_MODULE_FILESYSTEM\" was never defined. 21514Usually this means the macro was only invoked conditionally." "$LINENO" 5 21515fi 21516if test -z "${LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS_TRUE}" && test -z "${LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS_FALSE}"; then 21517 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS\" was never defined. 21518Usually this means the macro was only invoked conditionally." "$LINENO" 5 21519fi 21520if test -z "${LOVE_MODULE_FONT_TRUE}" && test -z "${LOVE_MODULE_FONT_FALSE}"; then 21521 as_fn_error $? "conditional \"LOVE_MODULE_FONT\" was never defined. 21522Usually this means the macro was only invoked conditionally." "$LINENO" 5 21523fi 21524if test -z "${LOVE_IMPLEMENTATION_FONT_FREETYPE_TRUE}" && test -z "${LOVE_IMPLEMENTATION_FONT_FREETYPE_FALSE}"; then 21525 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_FONT_FREETYPE\" was never defined. 21526Usually this means the macro was only invoked conditionally." "$LINENO" 5 21527fi 21528if test -z "${LOVE_MODULE_GRAPHICS_TRUE}" && test -z "${LOVE_MODULE_GRAPHICS_FALSE}"; then 21529 as_fn_error $? "conditional \"LOVE_MODULE_GRAPHICS\" was never defined. 21530Usually this means the macro was only invoked conditionally." "$LINENO" 5 21531fi 21532if test -z "${LOVE_IMPLEMENTATION_GRAPHICS_OPENGL_TRUE}" && test -z "${LOVE_IMPLEMENTATION_GRAPHICS_OPENGL_FALSE}"; then 21533 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_GRAPHICS_OPENGL\" was never defined. 21534Usually this means the macro was only invoked conditionally." "$LINENO" 5 21535fi 21536if test -z "${LOVE_MODULE_IMAGE_TRUE}" && test -z "${LOVE_MODULE_IMAGE_FALSE}"; then 21537 as_fn_error $? "conditional \"LOVE_MODULE_IMAGE\" was never defined. 21538Usually this means the macro was only invoked conditionally." "$LINENO" 5 21539fi 21540if test -z "${LOVE_IMPLEMENTATION_IMAGE_MAGPIE_TRUE}" && test -z "${LOVE_IMPLEMENTATION_IMAGE_MAGPIE_FALSE}"; then 21541 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_IMAGE_MAGPIE\" was never defined. 21542Usually this means the macro was only invoked conditionally." "$LINENO" 5 21543fi 21544if test -z "${LOVE_MODULE_JOYSTICK_TRUE}" && test -z "${LOVE_MODULE_JOYSTICK_FALSE}"; then 21545 as_fn_error $? "conditional \"LOVE_MODULE_JOYSTICK\" was never defined. 21546Usually this means the macro was only invoked conditionally." "$LINENO" 5 21547fi 21548if test -z "${LOVE_IMPLEMENTATION_JOYSTICK_SDL_TRUE}" && test -z "${LOVE_IMPLEMENTATION_JOYSTICK_SDL_FALSE}"; then 21549 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_JOYSTICK_SDL\" was never defined. 21550Usually this means the macro was only invoked conditionally." "$LINENO" 5 21551fi 21552if test -z "${LOVE_MODULE_KEYBOARD_TRUE}" && test -z "${LOVE_MODULE_KEYBOARD_FALSE}"; then 21553 as_fn_error $? "conditional \"LOVE_MODULE_KEYBOARD\" was never defined. 21554Usually this means the macro was only invoked conditionally." "$LINENO" 5 21555fi 21556if test -z "${LOVE_IMPLEMENTATION_KEYBOARD_SDL_TRUE}" && test -z "${LOVE_IMPLEMENTATION_KEYBOARD_SDL_FALSE}"; then 21557 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_KEYBOARD_SDL\" was never defined. 21558Usually this means the macro was only invoked conditionally." "$LINENO" 5 21559fi 21560if test -z "${LOVE_MODULE_LOVE_TRUE}" && test -z "${LOVE_MODULE_LOVE_FALSE}"; then 21561 as_fn_error $? "conditional \"LOVE_MODULE_LOVE\" was never defined. 21562Usually this means the macro was only invoked conditionally." "$LINENO" 5 21563fi 21564if test -z "${LOVE_MODULE_MATH_TRUE}" && test -z "${LOVE_MODULE_MATH_FALSE}"; then 21565 as_fn_error $? "conditional \"LOVE_MODULE_MATH\" was never defined. 21566Usually this means the macro was only invoked conditionally." "$LINENO" 5 21567fi 21568if test -z "${LOVE_MODULE_MOUSE_TRUE}" && test -z "${LOVE_MODULE_MOUSE_FALSE}"; then 21569 as_fn_error $? "conditional \"LOVE_MODULE_MOUSE\" was never defined. 21570Usually this means the macro was only invoked conditionally." "$LINENO" 5 21571fi 21572if test -z "${LOVE_IMPLEMENTATION_MOUSE_SDL_TRUE}" && test -z "${LOVE_IMPLEMENTATION_MOUSE_SDL_FALSE}"; then 21573 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_MOUSE_SDL\" was never defined. 21574Usually this means the macro was only invoked conditionally." "$LINENO" 5 21575fi 21576if test -z "${LOVE_MODULE_PHYSICS_TRUE}" && test -z "${LOVE_MODULE_PHYSICS_FALSE}"; then 21577 as_fn_error $? "conditional \"LOVE_MODULE_PHYSICS\" was never defined. 21578Usually this means the macro was only invoked conditionally." "$LINENO" 5 21579fi 21580if test -z "${LOVE_IMPLEMENTATION_PHYSICS_BOX2D_TRUE}" && test -z "${LOVE_IMPLEMENTATION_PHYSICS_BOX2D_FALSE}"; then 21581 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_PHYSICS_BOX2D\" was never defined. 21582Usually this means the macro was only invoked conditionally." "$LINENO" 5 21583fi 21584if test -z "${LOVE_MODULE_SOUND_TRUE}" && test -z "${LOVE_MODULE_SOUND_FALSE}"; then 21585 as_fn_error $? "conditional \"LOVE_MODULE_SOUND\" was never defined. 21586Usually this means the macro was only invoked conditionally." "$LINENO" 5 21587fi 21588if test -z "${LOVE_IMPLEMENTATION_SOUND_LULLABY_TRUE}" && test -z "${LOVE_IMPLEMENTATION_SOUND_LULLABY_FALSE}"; then 21589 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_SOUND_LULLABY\" was never defined. 21590Usually this means the macro was only invoked conditionally." "$LINENO" 5 21591fi 21592if test -z "${LOVE_MODULE_SYSTEM_TRUE}" && test -z "${LOVE_MODULE_SYSTEM_FALSE}"; then 21593 as_fn_error $? "conditional \"LOVE_MODULE_SYSTEM\" was never defined. 21594Usually this means the macro was only invoked conditionally." "$LINENO" 5 21595fi 21596if test -z "${LOVE_IMPLEMENTATION_SYSTEM_SDL_TRUE}" && test -z "${LOVE_IMPLEMENTATION_SYSTEM_SDL_FALSE}"; then 21597 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_SYSTEM_SDL\" was never defined. 21598Usually this means the macro was only invoked conditionally." "$LINENO" 5 21599fi 21600if test -z "${LOVE_MODULE_THREAD_TRUE}" && test -z "${LOVE_MODULE_THREAD_FALSE}"; then 21601 as_fn_error $? "conditional \"LOVE_MODULE_THREAD\" was never defined. 21602Usually this means the macro was only invoked conditionally." "$LINENO" 5 21603fi 21604if test -z "${LOVE_IMPLEMENTATION_THREAD_SDL_TRUE}" && test -z "${LOVE_IMPLEMENTATION_THREAD_SDL_FALSE}"; then 21605 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_THREAD_SDL\" was never defined. 21606Usually this means the macro was only invoked conditionally." "$LINENO" 5 21607fi 21608if test -z "${LOVE_MODULE_TIMER_TRUE}" && test -z "${LOVE_MODULE_TIMER_FALSE}"; then 21609 as_fn_error $? "conditional \"LOVE_MODULE_TIMER\" was never defined. 21610Usually this means the macro was only invoked conditionally." "$LINENO" 5 21611fi 21612if test -z "${LOVE_IMPLEMENTATION_TIMER_SDL_TRUE}" && test -z "${LOVE_IMPLEMENTATION_TIMER_SDL_FALSE}"; then 21613 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_TIMER_SDL\" was never defined. 21614Usually this means the macro was only invoked conditionally." "$LINENO" 5 21615fi 21616if test -z "${LOVE_MODULE_TOUCH_TRUE}" && test -z "${LOVE_MODULE_TOUCH_FALSE}"; then 21617 as_fn_error $? "conditional \"LOVE_MODULE_TOUCH\" was never defined. 21618Usually this means the macro was only invoked conditionally." "$LINENO" 5 21619fi 21620if test -z "${LOVE_IMPLEMENTATION_TOUCH_SDL_TRUE}" && test -z "${LOVE_IMPLEMENTATION_TOUCH_SDL_FALSE}"; then 21621 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_TOUCH_SDL\" was never defined. 21622Usually this means the macro was only invoked conditionally." "$LINENO" 5 21623fi 21624if test -z "${LOVE_MODULE_VIDEO_TRUE}" && test -z "${LOVE_MODULE_VIDEO_FALSE}"; then 21625 as_fn_error $? "conditional \"LOVE_MODULE_VIDEO\" was never defined. 21626Usually this means the macro was only invoked conditionally." "$LINENO" 5 21627fi 21628if test -z "${LOVE_IMPLEMENTATION_VIDEO_THEORA_TRUE}" && test -z "${LOVE_IMPLEMENTATION_VIDEO_THEORA_FALSE}"; then 21629 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_VIDEO_THEORA\" was never defined. 21630Usually this means the macro was only invoked conditionally." "$LINENO" 5 21631fi 21632if test -z "${LOVE_MODULE_WINDOW_TRUE}" && test -z "${LOVE_MODULE_WINDOW_FALSE}"; then 21633 as_fn_error $? "conditional \"LOVE_MODULE_WINDOW\" was never defined. 21634Usually this means the macro was only invoked conditionally." "$LINENO" 5 21635fi 21636if test -z "${LOVE_IMPLEMENTATION_WINDOW_SDL_TRUE}" && test -z "${LOVE_IMPLEMENTATION_WINDOW_SDL_FALSE}"; then 21637 as_fn_error $? "conditional \"LOVE_IMPLEMENTATION_WINDOW_SDL\" was never defined. 21638Usually this means the macro was only invoked conditionally." "$LINENO" 5 21639fi 21640if test -z "${LOVE_LIBRARY_BOX2D_TRUE}" && test -z "${LOVE_LIBRARY_BOX2D_FALSE}"; then 21641 as_fn_error $? "conditional \"LOVE_LIBRARY_BOX2D\" was never defined. 21642Usually this means the macro was only invoked conditionally." "$LINENO" 5 21643fi 21644if test -z "${LOVE_LIBRARY_DDSPARSE_TRUE}" && test -z "${LOVE_LIBRARY_DDSPARSE_FALSE}"; then 21645 as_fn_error $? "conditional \"LOVE_LIBRARY_DDSPARSE\" was never defined. 21646Usually this means the macro was only invoked conditionally." "$LINENO" 5 21647fi 21648if test -z "${LOVE_LIBRARY_ENET_TRUE}" && test -z "${LOVE_LIBRARY_ENET_FALSE}"; then 21649 as_fn_error $? "conditional \"LOVE_LIBRARY_ENET\" was never defined. 21650Usually this means the macro was only invoked conditionally." "$LINENO" 5 21651fi 21652if test -z "${LOVE_LIBRARY_GLAD_TRUE}" && test -z "${LOVE_LIBRARY_GLAD_FALSE}"; then 21653 as_fn_error $? "conditional \"LOVE_LIBRARY_GLAD\" was never defined. 21654Usually this means the macro was only invoked conditionally." "$LINENO" 5 21655fi 21656if test -z "${LOVE_LIBRARY_LODEPNG_TRUE}" && test -z "${LOVE_LIBRARY_LODEPNG_FALSE}"; then 21657 as_fn_error $? "conditional \"LOVE_LIBRARY_LODEPNG\" was never defined. 21658Usually this means the macro was only invoked conditionally." "$LINENO" 5 21659fi 21660if test -z "${LOVE_LIBRARY_LUASOCKET_TRUE}" && test -z "${LOVE_LIBRARY_LUASOCKET_FALSE}"; then 21661 as_fn_error $? "conditional \"LOVE_LIBRARY_LUASOCKET\" was never defined. 21662Usually this means the macro was only invoked conditionally." "$LINENO" 5 21663fi 21664if test -z "${LOVE_LIBRARY_LUAUTF8_TRUE}" && test -z "${LOVE_LIBRARY_LUAUTF8_FALSE}"; then 21665 as_fn_error $? "conditional \"LOVE_LIBRARY_LUAUTF8\" was never defined. 21666Usually this means the macro was only invoked conditionally." "$LINENO" 5 21667fi 21668if test -z "${LOVE_LIBRARY_LZ4_TRUE}" && test -z "${LOVE_LIBRARY_LZ4_FALSE}"; then 21669 as_fn_error $? "conditional \"LOVE_LIBRARY_LZ4\" was never defined. 21670Usually this means the macro was only invoked conditionally." "$LINENO" 5 21671fi 21672if test -z "${LOVE_LIBRARY_NOISE1234_TRUE}" && test -z "${LOVE_LIBRARY_NOISE1234_FALSE}"; then 21673 as_fn_error $? "conditional \"LOVE_LIBRARY_NOISE1234\" was never defined. 21674Usually this means the macro was only invoked conditionally." "$LINENO" 5 21675fi 21676if test -z "${LOVE_LIBRARY_STB_TRUE}" && test -z "${LOVE_LIBRARY_STB_FALSE}"; then 21677 as_fn_error $? "conditional \"LOVE_LIBRARY_STB\" was never defined. 21678Usually this means the macro was only invoked conditionally." "$LINENO" 5 21679fi 21680if test -z "${LOVE_LIBRARY_UTF8_TRUE}" && test -z "${LOVE_LIBRARY_UTF8_FALSE}"; then 21681 as_fn_error $? "conditional \"LOVE_LIBRARY_UTF8\" was never defined. 21682Usually this means the macro was only invoked conditionally." "$LINENO" 5 21683fi 21684if test -z "${LOVE_LIBRARY_WUFF_TRUE}" && test -z "${LOVE_LIBRARY_WUFF_FALSE}"; then 21685 as_fn_error $? "conditional \"LOVE_LIBRARY_WUFF\" was never defined. 21686Usually this means the macro was only invoked conditionally." "$LINENO" 5 21687fi 21688 21689: "${CONFIG_STATUS=./config.status}" 21690ac_write_fail=0 21691ac_clean_files_save=$ac_clean_files 21692ac_clean_files="$ac_clean_files $CONFIG_STATUS" 21693{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 21694$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 21695as_write_fail=0 21696cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 21697#! $SHELL 21698# Generated by $as_me. 21699# Run this file to recreate the current configuration. 21700# Compiler output produced by configure, useful for debugging 21701# configure, is in config.log if it exists. 21702 21703debug=false 21704ac_cs_recheck=false 21705ac_cs_silent=false 21706 21707SHELL=\${CONFIG_SHELL-$SHELL} 21708export SHELL 21709_ASEOF 21710cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 21711## -------------------- ## 21712## M4sh Initialization. ## 21713## -------------------- ## 21714 21715# Be more Bourne compatible 21716DUALCASE=1; export DUALCASE # for MKS sh 21717if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 21718 emulate sh 21719 NULLCMD=: 21720 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21721 # is contrary to our usage. Disable this feature. 21722 alias -g '${1+"$@"}'='"$@"' 21723 setopt NO_GLOB_SUBST 21724else 21725 case `(set -o) 2>/dev/null` in #( 21726 *posix*) : 21727 set -o posix ;; #( 21728 *) : 21729 ;; 21730esac 21731fi 21732 21733 21734as_nl=' 21735' 21736export as_nl 21737# Printing a long string crashes Solaris 7 /usr/bin/printf. 21738as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 21739as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 21740as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 21741# Prefer a ksh shell builtin over an external printf program on Solaris, 21742# but without wasting forks for bash or zsh. 21743if test -z "$BASH_VERSION$ZSH_VERSION" \ 21744 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 21745 as_echo='print -r --' 21746 as_echo_n='print -rn --' 21747elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 21748 as_echo='printf %s\n' 21749 as_echo_n='printf %s' 21750else 21751 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 21752 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 21753 as_echo_n='/usr/ucb/echo -n' 21754 else 21755 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 21756 as_echo_n_body='eval 21757 arg=$1; 21758 case $arg in #( 21759 *"$as_nl"*) 21760 expr "X$arg" : "X\\(.*\\)$as_nl"; 21761 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 21762 esac; 21763 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 21764 ' 21765 export as_echo_n_body 21766 as_echo_n='sh -c $as_echo_n_body as_echo' 21767 fi 21768 export as_echo_body 21769 as_echo='sh -c $as_echo_body as_echo' 21770fi 21771 21772# The user is always right. 21773if test "${PATH_SEPARATOR+set}" != set; then 21774 PATH_SEPARATOR=: 21775 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 21776 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 21777 PATH_SEPARATOR=';' 21778 } 21779fi 21780 21781 21782# IFS 21783# We need space, tab and new line, in precisely that order. Quoting is 21784# there to prevent editors from complaining about space-tab. 21785# (If _AS_PATH_WALK were called with IFS unset, it would disable word 21786# splitting by setting IFS to empty value.) 21787IFS=" "" $as_nl" 21788 21789# Find who we are. Look in the path if we contain no directory separator. 21790as_myself= 21791case $0 in #(( 21792 *[\\/]* ) as_myself=$0 ;; 21793 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21794for as_dir in $PATH 21795do 21796 IFS=$as_save_IFS 21797 test -z "$as_dir" && as_dir=. 21798 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 21799 done 21800IFS=$as_save_IFS 21801 21802 ;; 21803esac 21804# We did not find ourselves, most probably we were run as `sh COMMAND' 21805# in which case we are not to be found in the path. 21806if test "x$as_myself" = x; then 21807 as_myself=$0 21808fi 21809if test ! -f "$as_myself"; then 21810 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 21811 exit 1 21812fi 21813 21814# Unset variables that we do not need and which cause bugs (e.g. in 21815# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 21816# suppresses any "Segmentation fault" message there. '((' could 21817# trigger a bug in pdksh 5.2.14. 21818for as_var in BASH_ENV ENV MAIL MAILPATH 21819do eval test x\${$as_var+set} = xset \ 21820 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 21821done 21822PS1='$ ' 21823PS2='> ' 21824PS4='+ ' 21825 21826# NLS nuisances. 21827LC_ALL=C 21828export LC_ALL 21829LANGUAGE=C 21830export LANGUAGE 21831 21832# CDPATH. 21833(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 21834 21835 21836# as_fn_error STATUS ERROR [LINENO LOG_FD] 21837# ---------------------------------------- 21838# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 21839# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 21840# script with STATUS, using 1 if that was 0. 21841as_fn_error () 21842{ 21843 as_status=$1; test $as_status -eq 0 && as_status=1 21844 if test "$4"; then 21845 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 21846 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 21847 fi 21848 $as_echo "$as_me: error: $2" >&2 21849 as_fn_exit $as_status 21850} # as_fn_error 21851 21852 21853# as_fn_set_status STATUS 21854# ----------------------- 21855# Set $? to STATUS, without forking. 21856as_fn_set_status () 21857{ 21858 return $1 21859} # as_fn_set_status 21860 21861# as_fn_exit STATUS 21862# ----------------- 21863# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 21864as_fn_exit () 21865{ 21866 set +e 21867 as_fn_set_status $1 21868 exit $1 21869} # as_fn_exit 21870 21871# as_fn_unset VAR 21872# --------------- 21873# Portably unset VAR. 21874as_fn_unset () 21875{ 21876 { eval $1=; unset $1;} 21877} 21878as_unset=as_fn_unset 21879# as_fn_append VAR VALUE 21880# ---------------------- 21881# Append the text in VALUE to the end of the definition contained in VAR. Take 21882# advantage of any shell optimizations that allow amortized linear growth over 21883# repeated appends, instead of the typical quadratic growth present in naive 21884# implementations. 21885if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 21886 eval 'as_fn_append () 21887 { 21888 eval $1+=\$2 21889 }' 21890else 21891 as_fn_append () 21892 { 21893 eval $1=\$$1\$2 21894 } 21895fi # as_fn_append 21896 21897# as_fn_arith ARG... 21898# ------------------ 21899# Perform arithmetic evaluation on the ARGs, and store the result in the 21900# global $as_val. Take advantage of shells that can avoid forks. The arguments 21901# must be portable across $(()) and expr. 21902if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 21903 eval 'as_fn_arith () 21904 { 21905 as_val=$(( $* )) 21906 }' 21907else 21908 as_fn_arith () 21909 { 21910 as_val=`expr "$@" || test $? -eq 1` 21911 } 21912fi # as_fn_arith 21913 21914 21915if expr a : '\(a\)' >/dev/null 2>&1 && 21916 test "X`expr 00001 : '.*\(...\)'`" = X001; then 21917 as_expr=expr 21918else 21919 as_expr=false 21920fi 21921 21922if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 21923 as_basename=basename 21924else 21925 as_basename=false 21926fi 21927 21928if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 21929 as_dirname=dirname 21930else 21931 as_dirname=false 21932fi 21933 21934as_me=`$as_basename -- "$0" || 21935$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 21936 X"$0" : 'X\(//\)$' \| \ 21937 X"$0" : 'X\(/\)' \| . 2>/dev/null || 21938$as_echo X/"$0" | 21939 sed '/^.*\/\([^/][^/]*\)\/*$/{ 21940 s//\1/ 21941 q 21942 } 21943 /^X\/\(\/\/\)$/{ 21944 s//\1/ 21945 q 21946 } 21947 /^X\/\(\/\).*/{ 21948 s//\1/ 21949 q 21950 } 21951 s/.*/./; q'` 21952 21953# Avoid depending upon Character Ranges. 21954as_cr_letters='abcdefghijklmnopqrstuvwxyz' 21955as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 21956as_cr_Letters=$as_cr_letters$as_cr_LETTERS 21957as_cr_digits='0123456789' 21958as_cr_alnum=$as_cr_Letters$as_cr_digits 21959 21960ECHO_C= ECHO_N= ECHO_T= 21961case `echo -n x` in #((((( 21962-n*) 21963 case `echo 'xy\c'` in 21964 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 21965 xy) ECHO_C='\c';; 21966 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 21967 ECHO_T=' ';; 21968 esac;; 21969*) 21970 ECHO_N='-n';; 21971esac 21972 21973rm -f conf$$ conf$$.exe conf$$.file 21974if test -d conf$$.dir; then 21975 rm -f conf$$.dir/conf$$.file 21976else 21977 rm -f conf$$.dir 21978 mkdir conf$$.dir 2>/dev/null 21979fi 21980if (echo >conf$$.file) 2>/dev/null; then 21981 if ln -s conf$$.file conf$$ 2>/dev/null; then 21982 as_ln_s='ln -s' 21983 # ... but there are two gotchas: 21984 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 21985 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 21986 # In both cases, we have to default to `cp -pR'. 21987 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 21988 as_ln_s='cp -pR' 21989 elif ln conf$$.file conf$$ 2>/dev/null; then 21990 as_ln_s=ln 21991 else 21992 as_ln_s='cp -pR' 21993 fi 21994else 21995 as_ln_s='cp -pR' 21996fi 21997rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 21998rmdir conf$$.dir 2>/dev/null 21999 22000 22001# as_fn_mkdir_p 22002# ------------- 22003# Create "$as_dir" as a directory, including parents if necessary. 22004as_fn_mkdir_p () 22005{ 22006 22007 case $as_dir in #( 22008 -*) as_dir=./$as_dir;; 22009 esac 22010 test -d "$as_dir" || eval $as_mkdir_p || { 22011 as_dirs= 22012 while :; do 22013 case $as_dir in #( 22014 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 22015 *) as_qdir=$as_dir;; 22016 esac 22017 as_dirs="'$as_qdir' $as_dirs" 22018 as_dir=`$as_dirname -- "$as_dir" || 22019$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 22020 X"$as_dir" : 'X\(//\)[^/]' \| \ 22021 X"$as_dir" : 'X\(//\)$' \| \ 22022 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 22023$as_echo X"$as_dir" | 22024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 22025 s//\1/ 22026 q 22027 } 22028 /^X\(\/\/\)[^/].*/{ 22029 s//\1/ 22030 q 22031 } 22032 /^X\(\/\/\)$/{ 22033 s//\1/ 22034 q 22035 } 22036 /^X\(\/\).*/{ 22037 s//\1/ 22038 q 22039 } 22040 s/.*/./; q'` 22041 test -d "$as_dir" && break 22042 done 22043 test -z "$as_dirs" || eval "mkdir $as_dirs" 22044 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 22045 22046 22047} # as_fn_mkdir_p 22048if mkdir -p . 2>/dev/null; then 22049 as_mkdir_p='mkdir -p "$as_dir"' 22050else 22051 test -d ./-p && rmdir ./-p 22052 as_mkdir_p=false 22053fi 22054 22055 22056# as_fn_executable_p FILE 22057# ----------------------- 22058# Test if FILE is an executable regular file. 22059as_fn_executable_p () 22060{ 22061 test -f "$1" && test -x "$1" 22062} # as_fn_executable_p 22063as_test_x='test -x' 22064as_executable_p=as_fn_executable_p 22065 22066# Sed expression to map a string onto a valid CPP name. 22067as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 22068 22069# Sed expression to map a string onto a valid variable name. 22070as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 22071 22072 22073exec 6>&1 22074## ----------------------------------- ## 22075## Main body of $CONFIG_STATUS script. ## 22076## ----------------------------------- ## 22077_ASEOF 22078test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 22079 22080cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22081# Save the log message, to keep $0 and so on meaningful, and to 22082# report actual input values of CONFIG_FILES etc. instead of their 22083# values after options handling. 22084ac_log=" 22085This file was extended by love $as_me 0.10.2, which was 22086generated by GNU Autoconf 2.69. Invocation command line was 22087 22088 CONFIG_FILES = $CONFIG_FILES 22089 CONFIG_HEADERS = $CONFIG_HEADERS 22090 CONFIG_LINKS = $CONFIG_LINKS 22091 CONFIG_COMMANDS = $CONFIG_COMMANDS 22092 $ $0 $@ 22093 22094on `(hostname || uname -n) 2>/dev/null | sed 1q` 22095" 22096 22097_ACEOF 22098 22099case $ac_config_files in *" 22100"*) set x $ac_config_files; shift; ac_config_files=$*;; 22101esac 22102 22103case $ac_config_headers in *" 22104"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 22105esac 22106 22107 22108cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22109# Files that config.status was made for. 22110config_files="$ac_config_files" 22111config_headers="$ac_config_headers" 22112config_commands="$ac_config_commands" 22113 22114_ACEOF 22115 22116cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22117ac_cs_usage="\ 22118\`$as_me' instantiates files and other configuration actions 22119from templates according to the current configuration. Unless the files 22120and actions are specified as TAGs, all are instantiated by default. 22121 22122Usage: $0 [OPTION]... [TAG]... 22123 22124 -h, --help print this help, then exit 22125 -V, --version print version number and configuration settings, then exit 22126 --config print configuration, then exit 22127 -q, --quiet, --silent 22128 do not print progress messages 22129 -d, --debug don't remove temporary files 22130 --recheck update $as_me by reconfiguring in the same conditions 22131 --file=FILE[:TEMPLATE] 22132 instantiate the configuration file FILE 22133 --header=FILE[:TEMPLATE] 22134 instantiate the configuration header FILE 22135 22136Configuration files: 22137$config_files 22138 22139Configuration headers: 22140$config_headers 22141 22142Configuration commands: 22143$config_commands 22144 22145Report bugs to the package provider." 22146 22147_ACEOF 22148cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22149ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 22150ac_cs_version="\\ 22151love config.status 0.10.2 22152configured by $0, generated by GNU Autoconf 2.69, 22153 with options \\"\$ac_cs_config\\" 22154 22155Copyright (C) 2012 Free Software Foundation, Inc. 22156This config.status script is free software; the Free Software Foundation 22157gives unlimited permission to copy, distribute and modify it." 22158 22159ac_pwd='$ac_pwd' 22160srcdir='$srcdir' 22161INSTALL='$INSTALL' 22162MKDIR_P='$MKDIR_P' 22163AWK='$AWK' 22164test -n "\$AWK" || AWK=awk 22165_ACEOF 22166 22167cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22168# The default lists apply if the user does not specify any file. 22169ac_need_defaults=: 22170while test $# != 0 22171do 22172 case $1 in 22173 --*=?*) 22174 ac_option=`expr "X$1" : 'X\([^=]*\)='` 22175 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 22176 ac_shift=: 22177 ;; 22178 --*=) 22179 ac_option=`expr "X$1" : 'X\([^=]*\)='` 22180 ac_optarg= 22181 ac_shift=: 22182 ;; 22183 *) 22184 ac_option=$1 22185 ac_optarg=$2 22186 ac_shift=shift 22187 ;; 22188 esac 22189 22190 case $ac_option in 22191 # Handling of the options. 22192 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 22193 ac_cs_recheck=: ;; 22194 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 22195 $as_echo "$ac_cs_version"; exit ;; 22196 --config | --confi | --conf | --con | --co | --c ) 22197 $as_echo "$ac_cs_config"; exit ;; 22198 --debug | --debu | --deb | --de | --d | -d ) 22199 debug=: ;; 22200 --file | --fil | --fi | --f ) 22201 $ac_shift 22202 case $ac_optarg in 22203 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 22204 '') as_fn_error $? "missing file argument" ;; 22205 esac 22206 as_fn_append CONFIG_FILES " '$ac_optarg'" 22207 ac_need_defaults=false;; 22208 --header | --heade | --head | --hea ) 22209 $ac_shift 22210 case $ac_optarg in 22211 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 22212 esac 22213 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 22214 ac_need_defaults=false;; 22215 --he | --h) 22216 # Conflict between --help and --header 22217 as_fn_error $? "ambiguous option: \`$1' 22218Try \`$0 --help' for more information.";; 22219 --help | --hel | -h ) 22220 $as_echo "$ac_cs_usage"; exit ;; 22221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 22222 | -silent | --silent | --silen | --sile | --sil | --si | --s) 22223 ac_cs_silent=: ;; 22224 22225 # This is an error. 22226 -*) as_fn_error $? "unrecognized option: \`$1' 22227Try \`$0 --help' for more information." ;; 22228 22229 *) as_fn_append ac_config_targets " $1" 22230 ac_need_defaults=false ;; 22231 22232 esac 22233 shift 22234done 22235 22236ac_configure_extra_args= 22237 22238if $ac_cs_silent; then 22239 exec 6>/dev/null 22240 ac_configure_extra_args="$ac_configure_extra_args --silent" 22241fi 22242 22243_ACEOF 22244cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22245if \$ac_cs_recheck; then 22246 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 22247 shift 22248 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 22249 CONFIG_SHELL='$SHELL' 22250 export CONFIG_SHELL 22251 exec "\$@" 22252fi 22253 22254_ACEOF 22255cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22256exec 5>>config.log 22257{ 22258 echo 22259 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 22260## Running $as_me. ## 22261_ASBOX 22262 $as_echo "$ac_log" 22263} >&5 22264 22265_ACEOF 22266cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22267# 22268# INIT-COMMANDS 22269# 22270AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 22271 22272 22273# The HP-UX ksh and POSIX shell print the target directory to stdout 22274# if CDPATH is set. 22275(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 22276 22277sed_quote_subst='$sed_quote_subst' 22278double_quote_subst='$double_quote_subst' 22279delay_variable_subst='$delay_variable_subst' 22280macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 22281macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 22282enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 22283enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 22284pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 22285enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 22286shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 22287SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 22288ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 22289PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 22290host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 22291host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 22292host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 22293build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 22294build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 22295build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 22296SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 22297Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 22298GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 22299EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 22300FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 22301LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 22302NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 22303LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 22304max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 22305ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 22306exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 22307lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 22308lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 22309lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 22310lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 22311lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 22312reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 22313reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 22314OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 22315deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 22316file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 22317file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 22318want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 22319DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 22320sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 22321AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 22322AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 22323archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 22324STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 22325RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 22326old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 22327old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 22328old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 22329lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 22330CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 22331CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 22332compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 22333GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 22334lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 22335lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 22336lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 22337lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 22338lt_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"`' 22339lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 22340nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 22341lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 22342lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 22343objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 22344MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 22345lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 22346lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 22347lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 22348lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 22349lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 22350need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 22351MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 22352DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 22353NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 22354LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 22355OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 22356OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 22357libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 22358shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 22359extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 22360archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 22361enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 22362export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 22363whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 22364compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 22365old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 22366old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 22367archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 22368archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 22369module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 22370module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 22371with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 22372allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 22373no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 22374hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 22375hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 22376hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 22377hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 22378hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 22379hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 22380hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 22381inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 22382link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 22383always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 22384export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 22385exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 22386include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 22387prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 22388postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 22389file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 22390variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 22391need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 22392need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 22393version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 22394runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 22395shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 22396shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 22397libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 22398library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 22399soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 22400install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 22401postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 22402postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 22403finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 22404finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 22405hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 22406sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 22407configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 22408configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 22409hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 22410enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 22411enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 22412enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 22413old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 22414striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 22415compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 22416predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 22417postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 22418predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 22419postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 22420compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 22421LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 22422reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 22423reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22424old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22425compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 22426GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 22427lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 22428lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 22429lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 22430lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 22431lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 22432archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 22433enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 22434export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 22435whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 22436compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 22437old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22438old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22439archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22440archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22441module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22442module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22443with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 22444allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 22445no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 22446hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 22447hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 22448hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 22449hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 22450hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 22451hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 22452hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 22453inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 22454link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 22455always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 22456export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22457exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 22458include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 22459prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22460postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 22461file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 22462hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 22463compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 22464predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 22465postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 22466predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 22467postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 22468compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 22469 22470LTCC='$LTCC' 22471LTCFLAGS='$LTCFLAGS' 22472compiler='$compiler_DEFAULT' 22473 22474# A function that is used when there is no print builtin or printf. 22475func_fallback_echo () 22476{ 22477 eval 'cat <<_LTECHO_EOF 22478\$1 22479_LTECHO_EOF' 22480} 22481 22482# Quote evaled strings. 22483for var in SHELL \ 22484ECHO \ 22485PATH_SEPARATOR \ 22486SED \ 22487GREP \ 22488EGREP \ 22489FGREP \ 22490LD \ 22491NM \ 22492LN_S \ 22493lt_SP2NL \ 22494lt_NL2SP \ 22495reload_flag \ 22496OBJDUMP \ 22497deplibs_check_method \ 22498file_magic_cmd \ 22499file_magic_glob \ 22500want_nocaseglob \ 22501DLLTOOL \ 22502sharedlib_from_linklib_cmd \ 22503AR \ 22504AR_FLAGS \ 22505archiver_list_spec \ 22506STRIP \ 22507RANLIB \ 22508CC \ 22509CFLAGS \ 22510compiler \ 22511lt_cv_sys_global_symbol_pipe \ 22512lt_cv_sys_global_symbol_to_cdecl \ 22513lt_cv_sys_global_symbol_to_import \ 22514lt_cv_sys_global_symbol_to_c_name_address \ 22515lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 22516lt_cv_nm_interface \ 22517nm_file_list_spec \ 22518lt_cv_truncate_bin \ 22519lt_prog_compiler_no_builtin_flag \ 22520lt_prog_compiler_pic \ 22521lt_prog_compiler_wl \ 22522lt_prog_compiler_static \ 22523lt_cv_prog_compiler_c_o \ 22524need_locks \ 22525MANIFEST_TOOL \ 22526DSYMUTIL \ 22527NMEDIT \ 22528LIPO \ 22529OTOOL \ 22530OTOOL64 \ 22531shrext_cmds \ 22532export_dynamic_flag_spec \ 22533whole_archive_flag_spec \ 22534compiler_needs_object \ 22535with_gnu_ld \ 22536allow_undefined_flag \ 22537no_undefined_flag \ 22538hardcode_libdir_flag_spec \ 22539hardcode_libdir_separator \ 22540exclude_expsyms \ 22541include_expsyms \ 22542file_list_spec \ 22543variables_saved_for_relink \ 22544libname_spec \ 22545library_names_spec \ 22546soname_spec \ 22547install_override_mode \ 22548finish_eval \ 22549old_striplib \ 22550striplib \ 22551compiler_lib_search_dirs \ 22552predep_objects \ 22553postdep_objects \ 22554predeps \ 22555postdeps \ 22556compiler_lib_search_path \ 22557LD_CXX \ 22558reload_flag_CXX \ 22559compiler_CXX \ 22560lt_prog_compiler_no_builtin_flag_CXX \ 22561lt_prog_compiler_pic_CXX \ 22562lt_prog_compiler_wl_CXX \ 22563lt_prog_compiler_static_CXX \ 22564lt_cv_prog_compiler_c_o_CXX \ 22565export_dynamic_flag_spec_CXX \ 22566whole_archive_flag_spec_CXX \ 22567compiler_needs_object_CXX \ 22568with_gnu_ld_CXX \ 22569allow_undefined_flag_CXX \ 22570no_undefined_flag_CXX \ 22571hardcode_libdir_flag_spec_CXX \ 22572hardcode_libdir_separator_CXX \ 22573exclude_expsyms_CXX \ 22574include_expsyms_CXX \ 22575file_list_spec_CXX \ 22576compiler_lib_search_dirs_CXX \ 22577predep_objects_CXX \ 22578postdep_objects_CXX \ 22579predeps_CXX \ 22580postdeps_CXX \ 22581compiler_lib_search_path_CXX; do 22582 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 22583 *[\\\\\\\`\\"\\\$]*) 22584 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 22585 ;; 22586 *) 22587 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 22588 ;; 22589 esac 22590done 22591 22592# Double-quote double-evaled strings. 22593for var in reload_cmds \ 22594old_postinstall_cmds \ 22595old_postuninstall_cmds \ 22596old_archive_cmds \ 22597extract_expsyms_cmds \ 22598old_archive_from_new_cmds \ 22599old_archive_from_expsyms_cmds \ 22600archive_cmds \ 22601archive_expsym_cmds \ 22602module_cmds \ 22603module_expsym_cmds \ 22604export_symbols_cmds \ 22605prelink_cmds \ 22606postlink_cmds \ 22607postinstall_cmds \ 22608postuninstall_cmds \ 22609finish_cmds \ 22610sys_lib_search_path_spec \ 22611configure_time_dlsearch_path \ 22612configure_time_lt_sys_library_path \ 22613reload_cmds_CXX \ 22614old_archive_cmds_CXX \ 22615old_archive_from_new_cmds_CXX \ 22616old_archive_from_expsyms_cmds_CXX \ 22617archive_cmds_CXX \ 22618archive_expsym_cmds_CXX \ 22619module_cmds_CXX \ 22620module_expsym_cmds_CXX \ 22621export_symbols_cmds_CXX \ 22622prelink_cmds_CXX \ 22623postlink_cmds_CXX; do 22624 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 22625 *[\\\\\\\`\\"\\\$]*) 22626 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 22627 ;; 22628 *) 22629 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 22630 ;; 22631 esac 22632done 22633 22634ac_aux_dir='$ac_aux_dir' 22635 22636# See if we are running on zsh, and set the options that allow our 22637# commands through without removal of \ escapes INIT. 22638if test -n "\${ZSH_VERSION+set}"; then 22639 setopt NO_GLOB_SUBST 22640fi 22641 22642 22643 PACKAGE='$PACKAGE' 22644 VERSION='$VERSION' 22645 RM='$RM' 22646 ofile='$ofile' 22647 22648 22649 22650 22651 22652 22653_ACEOF 22654 22655cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22656 22657# Handling of arguments. 22658for ac_config_target in $ac_config_targets 22659do 22660 case $ac_config_target in 22661 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 22662 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 22663 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 22664 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 22665 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 22666 "platform/unix/debian/control") CONFIG_FILES="$CONFIG_FILES platform/unix/debian/control" ;; 22667 "platform/unix/debian/changelog") CONFIG_FILES="$CONFIG_FILES platform/unix/debian/changelog" ;; 22668 "platform/unix/debian/rules") CONFIG_FILES="$CONFIG_FILES platform/unix/debian/rules" ;; 22669 22670 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 22671 esac 22672done 22673 22674 22675# If the user did not use the arguments to specify the items to instantiate, 22676# then the envvar interface is used. Set only those that are not. 22677# We use the long form for the default assignment because of an extremely 22678# bizarre bug on SunOS 4.1.3. 22679if $ac_need_defaults; then 22680 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 22681 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 22682 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 22683fi 22684 22685# Have a temporary directory for convenience. Make it in the build tree 22686# simply because there is no reason against having it here, and in addition, 22687# creating and moving files from /tmp can sometimes cause problems. 22688# Hook for its removal unless debugging. 22689# Note that there is a small window in which the directory will not be cleaned: 22690# after its creation but before its name has been assigned to `$tmp'. 22691$debug || 22692{ 22693 tmp= ac_tmp= 22694 trap 'exit_status=$? 22695 : "${ac_tmp:=$tmp}" 22696 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 22697' 0 22698 trap 'as_fn_exit 1' 1 2 13 15 22699} 22700# Create a (secure) tmp directory for tmp files. 22701 22702{ 22703 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 22704 test -d "$tmp" 22705} || 22706{ 22707 tmp=./conf$$-$RANDOM 22708 (umask 077 && mkdir "$tmp") 22709} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 22710ac_tmp=$tmp 22711 22712# Set up the scripts for CONFIG_FILES section. 22713# No need to generate them if there are no CONFIG_FILES. 22714# This happens for instance with `./config.status config.h'. 22715if test -n "$CONFIG_FILES"; then 22716 22717 22718ac_cr=`echo X | tr X '\015'` 22719# On cygwin, bash can eat \r inside `` if the user requested igncr. 22720# But we know of no other shell where ac_cr would be empty at this 22721# point, so we can use a bashism as a fallback. 22722if test "x$ac_cr" = x; then 22723 eval ac_cr=\$\'\\r\' 22724fi 22725ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 22726if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 22727 ac_cs_awk_cr='\\r' 22728else 22729 ac_cs_awk_cr=$ac_cr 22730fi 22731 22732echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 22733_ACEOF 22734 22735 22736{ 22737 echo "cat >conf$$subs.awk <<_ACEOF" && 22738 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 22739 echo "_ACEOF" 22740} >conf$$subs.sh || 22741 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 22742ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 22743ac_delim='%!_!# ' 22744for ac_last_try in false false false false false :; do 22745 . ./conf$$subs.sh || 22746 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 22747 22748 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 22749 if test $ac_delim_n = $ac_delim_num; then 22750 break 22751 elif $ac_last_try; then 22752 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 22753 else 22754 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 22755 fi 22756done 22757rm -f conf$$subs.sh 22758 22759cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22760cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 22761_ACEOF 22762sed -n ' 22763h 22764s/^/S["/; s/!.*/"]=/ 22765p 22766g 22767s/^[^!]*!// 22768:repl 22769t repl 22770s/'"$ac_delim"'$// 22771t delim 22772:nl 22773h 22774s/\(.\{148\}\)..*/\1/ 22775t more1 22776s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 22777p 22778n 22779b repl 22780:more1 22781s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 22782p 22783g 22784s/.\{148\}// 22785t nl 22786:delim 22787h 22788s/\(.\{148\}\)..*/\1/ 22789t more2 22790s/["\\]/\\&/g; s/^/"/; s/$/"/ 22791p 22792b 22793:more2 22794s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 22795p 22796g 22797s/.\{148\}// 22798t delim 22799' <conf$$subs.awk | sed ' 22800/^[^""]/{ 22801 N 22802 s/\n// 22803} 22804' >>$CONFIG_STATUS || ac_write_fail=1 22805rm -f conf$$subs.awk 22806cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22807_ACAWK 22808cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 22809 for (key in S) S_is_set[key] = 1 22810 FS = "" 22811 22812} 22813{ 22814 line = $ 0 22815 nfields = split(line, field, "@") 22816 substed = 0 22817 len = length(field[1]) 22818 for (i = 2; i < nfields; i++) { 22819 key = field[i] 22820 keylen = length(key) 22821 if (S_is_set[key]) { 22822 value = S[key] 22823 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 22824 len += length(value) + length(field[++i]) 22825 substed = 1 22826 } else 22827 len += 1 + keylen 22828 } 22829 22830 print line 22831} 22832 22833_ACAWK 22834_ACEOF 22835cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22836if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 22837 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 22838else 22839 cat 22840fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 22841 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 22842_ACEOF 22843 22844# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 22845# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 22846# trailing colons and then remove the whole line if VPATH becomes empty 22847# (actually we leave an empty line to preserve line numbers). 22848if test "x$srcdir" = x.; then 22849 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 22850h 22851s/// 22852s/^/:/ 22853s/[ ]*$/:/ 22854s/:\$(srcdir):/:/g 22855s/:\${srcdir}:/:/g 22856s/:@srcdir@:/:/g 22857s/^:*// 22858s/:*$// 22859x 22860s/\(=[ ]*\).*/\1/ 22861G 22862s/\n// 22863s/^[^=]*=[ ]*$// 22864}' 22865fi 22866 22867cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22868fi # test -n "$CONFIG_FILES" 22869 22870# Set up the scripts for CONFIG_HEADERS section. 22871# No need to generate them if there are no CONFIG_HEADERS. 22872# This happens for instance with `./config.status Makefile'. 22873if test -n "$CONFIG_HEADERS"; then 22874cat >"$ac_tmp/defines.awk" <<\_ACAWK || 22875BEGIN { 22876_ACEOF 22877 22878# Transform confdefs.h into an awk script `defines.awk', embedded as 22879# here-document in config.status, that substitutes the proper values into 22880# config.h.in to produce config.h. 22881 22882# Create a delimiter string that does not exist in confdefs.h, to ease 22883# handling of long lines. 22884ac_delim='%!_!# ' 22885for ac_last_try in false false :; do 22886 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 22887 if test -z "$ac_tt"; then 22888 break 22889 elif $ac_last_try; then 22890 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 22891 else 22892 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 22893 fi 22894done 22895 22896# For the awk script, D is an array of macro values keyed by name, 22897# likewise P contains macro parameters if any. Preserve backslash 22898# newline sequences. 22899 22900ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 22901sed -n ' 22902s/.\{148\}/&'"$ac_delim"'/g 22903t rset 22904:rset 22905s/^[ ]*#[ ]*define[ ][ ]*/ / 22906t def 22907d 22908:def 22909s/\\$// 22910t bsnl 22911s/["\\]/\\&/g 22912s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 22913D["\1"]=" \3"/p 22914s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 22915d 22916:bsnl 22917s/["\\]/\\&/g 22918s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 22919D["\1"]=" \3\\\\\\n"\\/p 22920t cont 22921s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 22922t cont 22923d 22924:cont 22925n 22926s/.\{148\}/&'"$ac_delim"'/g 22927t clear 22928:clear 22929s/\\$// 22930t bsnlc 22931s/["\\]/\\&/g; s/^/"/; s/$/"/p 22932d 22933:bsnlc 22934s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 22935b cont 22936' <confdefs.h | sed ' 22937s/'"$ac_delim"'/"\\\ 22938"/g' >>$CONFIG_STATUS || ac_write_fail=1 22939 22940cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22941 for (key in D) D_is_set[key] = 1 22942 FS = "" 22943} 22944/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 22945 line = \$ 0 22946 split(line, arg, " ") 22947 if (arg[1] == "#") { 22948 defundef = arg[2] 22949 mac1 = arg[3] 22950 } else { 22951 defundef = substr(arg[1], 2) 22952 mac1 = arg[2] 22953 } 22954 split(mac1, mac2, "(") #) 22955 macro = mac2[1] 22956 prefix = substr(line, 1, index(line, defundef) - 1) 22957 if (D_is_set[macro]) { 22958 # Preserve the white space surrounding the "#". 22959 print prefix "define", macro P[macro] D[macro] 22960 next 22961 } else { 22962 # Replace #undef with comments. This is necessary, for example, 22963 # in the case of _POSIX_SOURCE, which is predefined and required 22964 # on some systems where configure will not decide to define it. 22965 if (defundef == "undef") { 22966 print "/*", prefix defundef, macro, "*/" 22967 next 22968 } 22969 } 22970} 22971{ print } 22972_ACAWK 22973_ACEOF 22974cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22975 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 22976fi # test -n "$CONFIG_HEADERS" 22977 22978 22979eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 22980shift 22981for ac_tag 22982do 22983 case $ac_tag in 22984 :[FHLC]) ac_mode=$ac_tag; continue;; 22985 esac 22986 case $ac_mode$ac_tag in 22987 :[FHL]*:*);; 22988 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 22989 :[FH]-) ac_tag=-:-;; 22990 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 22991 esac 22992 ac_save_IFS=$IFS 22993 IFS=: 22994 set x $ac_tag 22995 IFS=$ac_save_IFS 22996 shift 22997 ac_file=$1 22998 shift 22999 23000 case $ac_mode in 23001 :L) ac_source=$1;; 23002 :[FH]) 23003 ac_file_inputs= 23004 for ac_f 23005 do 23006 case $ac_f in 23007 -) ac_f="$ac_tmp/stdin";; 23008 *) # Look for the file first in the build tree, then in the source tree 23009 # (if the path is not absolute). The absolute path cannot be DOS-style, 23010 # because $ac_f cannot contain `:'. 23011 test -f "$ac_f" || 23012 case $ac_f in 23013 [\\/$]*) false;; 23014 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 23015 esac || 23016 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 23017 esac 23018 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 23019 as_fn_append ac_file_inputs " '$ac_f'" 23020 done 23021 23022 # Let's still pretend it is `configure' which instantiates (i.e., don't 23023 # use $as_me), people would be surprised to read: 23024 # /* config.h. Generated by config.status. */ 23025 configure_input='Generated from '` 23026 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 23027 `' by configure.' 23028 if test x"$ac_file" != x-; then 23029 configure_input="$ac_file. $configure_input" 23030 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 23031$as_echo "$as_me: creating $ac_file" >&6;} 23032 fi 23033 # Neutralize special characters interpreted by sed in replacement strings. 23034 case $configure_input in #( 23035 *\&* | *\|* | *\\* ) 23036 ac_sed_conf_input=`$as_echo "$configure_input" | 23037 sed 's/[\\\\&|]/\\\\&/g'`;; #( 23038 *) ac_sed_conf_input=$configure_input;; 23039 esac 23040 23041 case $ac_tag in 23042 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 23043 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 23044 esac 23045 ;; 23046 esac 23047 23048 ac_dir=`$as_dirname -- "$ac_file" || 23049$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23050 X"$ac_file" : 'X\(//\)[^/]' \| \ 23051 X"$ac_file" : 'X\(//\)$' \| \ 23052 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 23053$as_echo X"$ac_file" | 23054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 23055 s//\1/ 23056 q 23057 } 23058 /^X\(\/\/\)[^/].*/{ 23059 s//\1/ 23060 q 23061 } 23062 /^X\(\/\/\)$/{ 23063 s//\1/ 23064 q 23065 } 23066 /^X\(\/\).*/{ 23067 s//\1/ 23068 q 23069 } 23070 s/.*/./; q'` 23071 as_dir="$ac_dir"; as_fn_mkdir_p 23072 ac_builddir=. 23073 23074case "$ac_dir" in 23075.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 23076*) 23077 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 23078 # A ".." for each directory in $ac_dir_suffix. 23079 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 23080 case $ac_top_builddir_sub in 23081 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 23082 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 23083 esac ;; 23084esac 23085ac_abs_top_builddir=$ac_pwd 23086ac_abs_builddir=$ac_pwd$ac_dir_suffix 23087# for backward compatibility: 23088ac_top_builddir=$ac_top_build_prefix 23089 23090case $srcdir in 23091 .) # We are building in place. 23092 ac_srcdir=. 23093 ac_top_srcdir=$ac_top_builddir_sub 23094 ac_abs_top_srcdir=$ac_pwd ;; 23095 [\\/]* | ?:[\\/]* ) # Absolute name. 23096 ac_srcdir=$srcdir$ac_dir_suffix; 23097 ac_top_srcdir=$srcdir 23098 ac_abs_top_srcdir=$srcdir ;; 23099 *) # Relative name. 23100 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 23101 ac_top_srcdir=$ac_top_build_prefix$srcdir 23102 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 23103esac 23104ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 23105 23106 23107 case $ac_mode in 23108 :F) 23109 # 23110 # CONFIG_FILE 23111 # 23112 23113 case $INSTALL in 23114 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 23115 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 23116 esac 23117 ac_MKDIR_P=$MKDIR_P 23118 case $MKDIR_P in 23119 [\\/$]* | ?:[\\/]* ) ;; 23120 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 23121 esac 23122_ACEOF 23123 23124cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 23125# If the template does not know about datarootdir, expand it. 23126# FIXME: This hack should be removed a few years after 2.60. 23127ac_datarootdir_hack=; ac_datarootdir_seen= 23128ac_sed_dataroot=' 23129/datarootdir/ { 23130 p 23131 q 23132} 23133/@datadir@/p 23134/@docdir@/p 23135/@infodir@/p 23136/@localedir@/p 23137/@mandir@/p' 23138case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 23139*datarootdir*) ac_datarootdir_seen=yes;; 23140*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 23141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 23142$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 23143_ACEOF 23144cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 23145 ac_datarootdir_hack=' 23146 s&@datadir@&$datadir&g 23147 s&@docdir@&$docdir&g 23148 s&@infodir@&$infodir&g 23149 s&@localedir@&$localedir&g 23150 s&@mandir@&$mandir&g 23151 s&\\\${datarootdir}&$datarootdir&g' ;; 23152esac 23153_ACEOF 23154 23155# Neutralize VPATH when `$srcdir' = `.'. 23156# Shell code in configure.ac might set extrasub. 23157# FIXME: do we really want to maintain this feature? 23158cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 23159ac_sed_extra="$ac_vpsub 23160$extrasub 23161_ACEOF 23162cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 23163:t 23164/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 23165s|@configure_input@|$ac_sed_conf_input|;t t 23166s&@top_builddir@&$ac_top_builddir_sub&;t t 23167s&@top_build_prefix@&$ac_top_build_prefix&;t t 23168s&@srcdir@&$ac_srcdir&;t t 23169s&@abs_srcdir@&$ac_abs_srcdir&;t t 23170s&@top_srcdir@&$ac_top_srcdir&;t t 23171s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 23172s&@builddir@&$ac_builddir&;t t 23173s&@abs_builddir@&$ac_abs_builddir&;t t 23174s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 23175s&@INSTALL@&$ac_INSTALL&;t t 23176s&@MKDIR_P@&$ac_MKDIR_P&;t t 23177$ac_datarootdir_hack 23178" 23179eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 23180 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 23181 23182test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 23183 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 23184 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 23185 "$ac_tmp/out"`; test -z "$ac_out"; } && 23186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 23187which seems to be undefined. Please make sure it is defined" >&5 23188$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 23189which seems to be undefined. Please make sure it is defined" >&2;} 23190 23191 rm -f "$ac_tmp/stdin" 23192 case $ac_file in 23193 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 23194 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 23195 esac \ 23196 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 23197 ;; 23198 :H) 23199 # 23200 # CONFIG_HEADER 23201 # 23202 if test x"$ac_file" != x-; then 23203 { 23204 $as_echo "/* $configure_input */" \ 23205 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 23206 } >"$ac_tmp/config.h" \ 23207 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 23208 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 23209 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 23210$as_echo "$as_me: $ac_file is unchanged" >&6;} 23211 else 23212 rm -f "$ac_file" 23213 mv "$ac_tmp/config.h" "$ac_file" \ 23214 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 23215 fi 23216 else 23217 $as_echo "/* $configure_input */" \ 23218 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 23219 || as_fn_error $? "could not create -" "$LINENO" 5 23220 fi 23221# Compute "$ac_file"'s index in $config_headers. 23222_am_arg="$ac_file" 23223_am_stamp_count=1 23224for _am_header in $config_headers :; do 23225 case $_am_header in 23226 $_am_arg | $_am_arg:* ) 23227 break ;; 23228 * ) 23229 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 23230 esac 23231done 23232echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 23233$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23234 X"$_am_arg" : 'X\(//\)[^/]' \| \ 23235 X"$_am_arg" : 'X\(//\)$' \| \ 23236 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 23237$as_echo X"$_am_arg" | 23238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 23239 s//\1/ 23240 q 23241 } 23242 /^X\(\/\/\)[^/].*/{ 23243 s//\1/ 23244 q 23245 } 23246 /^X\(\/\/\)$/{ 23247 s//\1/ 23248 q 23249 } 23250 /^X\(\/\).*/{ 23251 s//\1/ 23252 q 23253 } 23254 s/.*/./; q'`/stamp-h$_am_stamp_count 23255 ;; 23256 23257 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 23258$as_echo "$as_me: executing $ac_file commands" >&6;} 23259 ;; 23260 esac 23261 23262 23263 case $ac_file$ac_mode in 23264 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 23265 # Older Autoconf quotes --file arguments for eval, but not when files 23266 # are listed without --file. Let's play safe and only enable the eval 23267 # if we detect the quoting. 23268 case $CONFIG_FILES in 23269 *\'*) eval set x "$CONFIG_FILES" ;; 23270 *) set x $CONFIG_FILES ;; 23271 esac 23272 shift 23273 for mf 23274 do 23275 # Strip MF so we end up with the name of the file. 23276 mf=`echo "$mf" | sed -e 's/:.*$//'` 23277 # Check whether this is an Automake generated Makefile or not. 23278 # We used to match only the files named 'Makefile.in', but 23279 # some people rename them; so instead we look at the file content. 23280 # Grep'ing the first line is not enough: some people post-process 23281 # each Makefile.in and add a new line on top of each file to say so. 23282 # Grep'ing the whole file is not good either: AIX grep has a line 23283 # limit of 2048, but all sed's we know have understand at least 4000. 23284 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 23285 dirpart=`$as_dirname -- "$mf" || 23286$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23287 X"$mf" : 'X\(//\)[^/]' \| \ 23288 X"$mf" : 'X\(//\)$' \| \ 23289 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 23290$as_echo X"$mf" | 23291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 23292 s//\1/ 23293 q 23294 } 23295 /^X\(\/\/\)[^/].*/{ 23296 s//\1/ 23297 q 23298 } 23299 /^X\(\/\/\)$/{ 23300 s//\1/ 23301 q 23302 } 23303 /^X\(\/\).*/{ 23304 s//\1/ 23305 q 23306 } 23307 s/.*/./; q'` 23308 else 23309 continue 23310 fi 23311 # Extract the definition of DEPDIR, am__include, and am__quote 23312 # from the Makefile without running 'make'. 23313 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 23314 test -z "$DEPDIR" && continue 23315 am__include=`sed -n 's/^am__include = //p' < "$mf"` 23316 test -z "$am__include" && continue 23317 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 23318 # Find all dependency output files, they are included files with 23319 # $(DEPDIR) in their names. We invoke sed twice because it is the 23320 # simplest approach to changing $(DEPDIR) to its actual value in the 23321 # expansion. 23322 for file in `sed -n " 23323 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 23324 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 23325 # Make sure the directory exists. 23326 test -f "$dirpart/$file" && continue 23327 fdir=`$as_dirname -- "$file" || 23328$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23329 X"$file" : 'X\(//\)[^/]' \| \ 23330 X"$file" : 'X\(//\)$' \| \ 23331 X"$file" : 'X\(/\)' \| . 2>/dev/null || 23332$as_echo X"$file" | 23333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 23334 s//\1/ 23335 q 23336 } 23337 /^X\(\/\/\)[^/].*/{ 23338 s//\1/ 23339 q 23340 } 23341 /^X\(\/\/\)$/{ 23342 s//\1/ 23343 q 23344 } 23345 /^X\(\/\).*/{ 23346 s//\1/ 23347 q 23348 } 23349 s/.*/./; q'` 23350 as_dir=$dirpart/$fdir; as_fn_mkdir_p 23351 # echo "creating $dirpart/$file" 23352 echo '# dummy' > "$dirpart/$file" 23353 done 23354 done 23355} 23356 ;; 23357 "libtool":C) 23358 23359 # See if we are running on zsh, and set the options that allow our 23360 # commands through without removal of \ escapes. 23361 if test -n "${ZSH_VERSION+set}"; then 23362 setopt NO_GLOB_SUBST 23363 fi 23364 23365 cfgfile=${ofile}T 23366 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 23367 $RM "$cfgfile" 23368 23369 cat <<_LT_EOF >> "$cfgfile" 23370#! $SHELL 23371# Generated automatically by $as_me ($PACKAGE) $VERSION 23372# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 23373# NOTE: Changes made to this file will be lost: look at ltmain.sh. 23374 23375# Provide generalized library-building support services. 23376# Written by Gordon Matzigkeit, 1996 23377 23378# Copyright (C) 2014 Free Software Foundation, Inc. 23379# This is free software; see the source for copying conditions. There is NO 23380# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 23381 23382# GNU Libtool is free software; you can redistribute it and/or modify 23383# it under the terms of the GNU General Public License as published by 23384# the Free Software Foundation; either version 2 of of the License, or 23385# (at your option) any later version. 23386# 23387# As a special exception to the GNU General Public License, if you 23388# distribute this file as part of a program or library that is built 23389# using GNU Libtool, you may include this file under the same 23390# distribution terms that you use for the rest of that program. 23391# 23392# GNU Libtool is distributed in the hope that it will be useful, but 23393# WITHOUT ANY WARRANTY; without even the implied warranty of 23394# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23395# GNU General Public License for more details. 23396# 23397# You should have received a copy of the GNU General Public License 23398# along with this program. If not, see <http://www.gnu.org/licenses/>. 23399 23400 23401# The names of the tagged configurations supported by this script. 23402available_tags='CXX ' 23403 23404# Configured defaults for sys_lib_dlsearch_path munging. 23405: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 23406 23407# ### BEGIN LIBTOOL CONFIG 23408 23409# Which release of libtool.m4 was used? 23410macro_version=$macro_version 23411macro_revision=$macro_revision 23412 23413# Whether or not to build static libraries. 23414build_old_libs=$enable_static 23415 23416# Whether or not to build shared libraries. 23417build_libtool_libs=$enable_shared 23418 23419# What type of objects to build. 23420pic_mode=$pic_mode 23421 23422# Whether or not to optimize for fast installation. 23423fast_install=$enable_fast_install 23424 23425# Shared archive member basename,for filename based shared library versioning on AIX. 23426shared_archive_member_spec=$shared_archive_member_spec 23427 23428# Shell to use when invoking shell scripts. 23429SHELL=$lt_SHELL 23430 23431# An echo program that protects backslashes. 23432ECHO=$lt_ECHO 23433 23434# The PATH separator for the build system. 23435PATH_SEPARATOR=$lt_PATH_SEPARATOR 23436 23437# The host system. 23438host_alias=$host_alias 23439host=$host 23440host_os=$host_os 23441 23442# The build system. 23443build_alias=$build_alias 23444build=$build 23445build_os=$build_os 23446 23447# A sed program that does not truncate output. 23448SED=$lt_SED 23449 23450# Sed that helps us avoid accidentally triggering echo(1) options like -n. 23451Xsed="\$SED -e 1s/^X//" 23452 23453# A grep program that handles long lines. 23454GREP=$lt_GREP 23455 23456# An ERE matcher. 23457EGREP=$lt_EGREP 23458 23459# A literal string matcher. 23460FGREP=$lt_FGREP 23461 23462# A BSD- or MS-compatible name lister. 23463NM=$lt_NM 23464 23465# Whether we need soft or hard links. 23466LN_S=$lt_LN_S 23467 23468# What is the maximum length of a command? 23469max_cmd_len=$max_cmd_len 23470 23471# Object file suffix (normally "o"). 23472objext=$ac_objext 23473 23474# Executable file suffix (normally ""). 23475exeext=$exeext 23476 23477# whether the shell understands "unset". 23478lt_unset=$lt_unset 23479 23480# turn spaces into newlines. 23481SP2NL=$lt_lt_SP2NL 23482 23483# turn newlines into spaces. 23484NL2SP=$lt_lt_NL2SP 23485 23486# convert \$build file names to \$host format. 23487to_host_file_cmd=$lt_cv_to_host_file_cmd 23488 23489# convert \$build files to toolchain format. 23490to_tool_file_cmd=$lt_cv_to_tool_file_cmd 23491 23492# An object symbol dumper. 23493OBJDUMP=$lt_OBJDUMP 23494 23495# Method to check whether dependent libraries are shared objects. 23496deplibs_check_method=$lt_deplibs_check_method 23497 23498# Command to use when deplibs_check_method = "file_magic". 23499file_magic_cmd=$lt_file_magic_cmd 23500 23501# How to find potential files when deplibs_check_method = "file_magic". 23502file_magic_glob=$lt_file_magic_glob 23503 23504# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 23505want_nocaseglob=$lt_want_nocaseglob 23506 23507# DLL creation program. 23508DLLTOOL=$lt_DLLTOOL 23509 23510# Command to associate shared and link libraries. 23511sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 23512 23513# The archiver. 23514AR=$lt_AR 23515 23516# Flags to create an archive. 23517AR_FLAGS=$lt_AR_FLAGS 23518 23519# How to feed a file listing to the archiver. 23520archiver_list_spec=$lt_archiver_list_spec 23521 23522# A symbol stripping program. 23523STRIP=$lt_STRIP 23524 23525# Commands used to install an old-style archive. 23526RANLIB=$lt_RANLIB 23527old_postinstall_cmds=$lt_old_postinstall_cmds 23528old_postuninstall_cmds=$lt_old_postuninstall_cmds 23529 23530# Whether to use a lock for old archive extraction. 23531lock_old_archive_extraction=$lock_old_archive_extraction 23532 23533# A C compiler. 23534LTCC=$lt_CC 23535 23536# LTCC compiler flags. 23537LTCFLAGS=$lt_CFLAGS 23538 23539# Take the output of nm and produce a listing of raw symbols and C names. 23540global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 23541 23542# Transform the output of nm in a proper C declaration. 23543global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 23544 23545# Transform the output of nm into a list of symbols to manually relocate. 23546global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 23547 23548# Transform the output of nm in a C name address pair. 23549global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 23550 23551# Transform the output of nm in a C name address pair when lib prefix is needed. 23552global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 23553 23554# The name lister interface. 23555nm_interface=$lt_lt_cv_nm_interface 23556 23557# Specify filename containing input files for \$NM. 23558nm_file_list_spec=$lt_nm_file_list_spec 23559 23560# The root where to search for dependent libraries,and where our libraries should be installed. 23561lt_sysroot=$lt_sysroot 23562 23563# Command to truncate a binary pipe. 23564lt_truncate_bin=$lt_lt_cv_truncate_bin 23565 23566# The name of the directory that contains temporary libtool files. 23567objdir=$objdir 23568 23569# Used to examine libraries when file_magic_cmd begins with "file". 23570MAGIC_CMD=$MAGIC_CMD 23571 23572# Must we lock files when doing compilation? 23573need_locks=$lt_need_locks 23574 23575# Manifest tool. 23576MANIFEST_TOOL=$lt_MANIFEST_TOOL 23577 23578# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 23579DSYMUTIL=$lt_DSYMUTIL 23580 23581# Tool to change global to local symbols on Mac OS X. 23582NMEDIT=$lt_NMEDIT 23583 23584# Tool to manipulate fat objects and archives on Mac OS X. 23585LIPO=$lt_LIPO 23586 23587# ldd/readelf like tool for Mach-O binaries on Mac OS X. 23588OTOOL=$lt_OTOOL 23589 23590# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 23591OTOOL64=$lt_OTOOL64 23592 23593# Old archive suffix (normally "a"). 23594libext=$libext 23595 23596# Shared library suffix (normally ".so"). 23597shrext_cmds=$lt_shrext_cmds 23598 23599# The commands to extract the exported symbol list from a shared archive. 23600extract_expsyms_cmds=$lt_extract_expsyms_cmds 23601 23602# Variables whose values should be saved in libtool wrapper scripts and 23603# restored at link time. 23604variables_saved_for_relink=$lt_variables_saved_for_relink 23605 23606# Do we need the "lib" prefix for modules? 23607need_lib_prefix=$need_lib_prefix 23608 23609# Do we need a version for libraries? 23610need_version=$need_version 23611 23612# Library versioning type. 23613version_type=$version_type 23614 23615# Shared library runtime path variable. 23616runpath_var=$runpath_var 23617 23618# Shared library path variable. 23619shlibpath_var=$shlibpath_var 23620 23621# Is shlibpath searched before the hard-coded library search path? 23622shlibpath_overrides_runpath=$shlibpath_overrides_runpath 23623 23624# Format of library name prefix. 23625libname_spec=$lt_libname_spec 23626 23627# List of archive names. First name is the real one, the rest are links. 23628# The last name is the one that the linker finds with -lNAME 23629library_names_spec=$lt_library_names_spec 23630 23631# The coded name of the library, if different from the real name. 23632soname_spec=$lt_soname_spec 23633 23634# Permission mode override for installation of shared libraries. 23635install_override_mode=$lt_install_override_mode 23636 23637# Command to use after installation of a shared archive. 23638postinstall_cmds=$lt_postinstall_cmds 23639 23640# Command to use after uninstallation of a shared archive. 23641postuninstall_cmds=$lt_postuninstall_cmds 23642 23643# Commands used to finish a libtool library installation in a directory. 23644finish_cmds=$lt_finish_cmds 23645 23646# As "finish_cmds", except a single script fragment to be evaled but 23647# not shown. 23648finish_eval=$lt_finish_eval 23649 23650# Whether we should hardcode library paths into libraries. 23651hardcode_into_libs=$hardcode_into_libs 23652 23653# Compile-time system search path for libraries. 23654sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 23655 23656# Detected run-time system search path for libraries. 23657sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 23658 23659# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 23660configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 23661 23662# Whether dlopen is supported. 23663dlopen_support=$enable_dlopen 23664 23665# Whether dlopen of programs is supported. 23666dlopen_self=$enable_dlopen_self 23667 23668# Whether dlopen of statically linked programs is supported. 23669dlopen_self_static=$enable_dlopen_self_static 23670 23671# Commands to strip libraries. 23672old_striplib=$lt_old_striplib 23673striplib=$lt_striplib 23674 23675 23676# The linker used to build libraries. 23677LD=$lt_LD 23678 23679# How to create reloadable object files. 23680reload_flag=$lt_reload_flag 23681reload_cmds=$lt_reload_cmds 23682 23683# Commands used to build an old-style archive. 23684old_archive_cmds=$lt_old_archive_cmds 23685 23686# A language specific compiler. 23687CC=$lt_compiler 23688 23689# Is the compiler the GNU compiler? 23690with_gcc=$GCC 23691 23692# Compiler flag to turn off builtin functions. 23693no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 23694 23695# Additional compiler flags for building library objects. 23696pic_flag=$lt_lt_prog_compiler_pic 23697 23698# How to pass a linker flag through the compiler. 23699wl=$lt_lt_prog_compiler_wl 23700 23701# Compiler flag to prevent dynamic linking. 23702link_static_flag=$lt_lt_prog_compiler_static 23703 23704# Does compiler simultaneously support -c and -o options? 23705compiler_c_o=$lt_lt_cv_prog_compiler_c_o 23706 23707# Whether or not to add -lc for building shared libraries. 23708build_libtool_need_lc=$archive_cmds_need_lc 23709 23710# Whether or not to disallow shared libs when runtime libs are static. 23711allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 23712 23713# Compiler flag to allow reflexive dlopens. 23714export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 23715 23716# Compiler flag to generate shared objects directly from archives. 23717whole_archive_flag_spec=$lt_whole_archive_flag_spec 23718 23719# Whether the compiler copes with passing no objects directly. 23720compiler_needs_object=$lt_compiler_needs_object 23721 23722# Create an old-style archive from a shared archive. 23723old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 23724 23725# Create a temporary old-style archive to link instead of a shared archive. 23726old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 23727 23728# Commands used to build a shared archive. 23729archive_cmds=$lt_archive_cmds 23730archive_expsym_cmds=$lt_archive_expsym_cmds 23731 23732# Commands used to build a loadable module if different from building 23733# a shared archive. 23734module_cmds=$lt_module_cmds 23735module_expsym_cmds=$lt_module_expsym_cmds 23736 23737# Whether we are building with GNU ld or not. 23738with_gnu_ld=$lt_with_gnu_ld 23739 23740# Flag that allows shared libraries with undefined symbols to be built. 23741allow_undefined_flag=$lt_allow_undefined_flag 23742 23743# Flag that enforces no undefined symbols. 23744no_undefined_flag=$lt_no_undefined_flag 23745 23746# Flag to hardcode \$libdir into a binary during linking. 23747# This must work even if \$libdir does not exist 23748hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 23749 23750# Whether we need a single "-rpath" flag with a separated argument. 23751hardcode_libdir_separator=$lt_hardcode_libdir_separator 23752 23753# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23754# DIR into the resulting binary. 23755hardcode_direct=$hardcode_direct 23756 23757# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23758# DIR into the resulting binary and the resulting library dependency is 23759# "absolute",i.e impossible to change by setting \$shlibpath_var if the 23760# library is relocated. 23761hardcode_direct_absolute=$hardcode_direct_absolute 23762 23763# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 23764# into the resulting binary. 23765hardcode_minus_L=$hardcode_minus_L 23766 23767# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 23768# into the resulting binary. 23769hardcode_shlibpath_var=$hardcode_shlibpath_var 23770 23771# Set to "yes" if building a shared library automatically hardcodes DIR 23772# into the library and all subsequent libraries and executables linked 23773# against it. 23774hardcode_automatic=$hardcode_automatic 23775 23776# Set to yes if linker adds runtime paths of dependent libraries 23777# to runtime path list. 23778inherit_rpath=$inherit_rpath 23779 23780# Whether libtool must link a program against all its dependency libraries. 23781link_all_deplibs=$link_all_deplibs 23782 23783# Set to "yes" if exported symbols are required. 23784always_export_symbols=$always_export_symbols 23785 23786# The commands to list exported symbols. 23787export_symbols_cmds=$lt_export_symbols_cmds 23788 23789# Symbols that should not be listed in the preloaded symbols. 23790exclude_expsyms=$lt_exclude_expsyms 23791 23792# Symbols that must always be exported. 23793include_expsyms=$lt_include_expsyms 23794 23795# Commands necessary for linking programs (against libraries) with templates. 23796prelink_cmds=$lt_prelink_cmds 23797 23798# Commands necessary for finishing linking programs. 23799postlink_cmds=$lt_postlink_cmds 23800 23801# Specify filename containing input files. 23802file_list_spec=$lt_file_list_spec 23803 23804# How to hardcode a shared library path into an executable. 23805hardcode_action=$hardcode_action 23806 23807# The directories searched by this compiler when creating a shared library. 23808compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 23809 23810# Dependencies to place before and after the objects being linked to 23811# create a shared library. 23812predep_objects=$lt_predep_objects 23813postdep_objects=$lt_postdep_objects 23814predeps=$lt_predeps 23815postdeps=$lt_postdeps 23816 23817# The library search path used internally by the compiler when linking 23818# a shared library. 23819compiler_lib_search_path=$lt_compiler_lib_search_path 23820 23821# ### END LIBTOOL CONFIG 23822 23823_LT_EOF 23824 23825 cat <<'_LT_EOF' >> "$cfgfile" 23826 23827# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 23828 23829# func_munge_path_list VARIABLE PATH 23830# ----------------------------------- 23831# VARIABLE is name of variable containing _space_ separated list of 23832# directories to be munged by the contents of PATH, which is string 23833# having a format: 23834# "DIR[:DIR]:" 23835# string "DIR[ DIR]" will be prepended to VARIABLE 23836# ":DIR[:DIR]" 23837# string "DIR[ DIR]" will be appended to VARIABLE 23838# "DIRP[:DIRP]::[DIRA:]DIRA" 23839# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 23840# "DIRA[ DIRA]" will be appended to VARIABLE 23841# "DIR[:DIR]" 23842# VARIABLE will be replaced by "DIR[ DIR]" 23843func_munge_path_list () 23844{ 23845 case x$2 in 23846 x) 23847 ;; 23848 *:) 23849 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 23850 ;; 23851 x:*) 23852 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 23853 ;; 23854 *::*) 23855 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 23856 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 23857 ;; 23858 *) 23859 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 23860 ;; 23861 esac 23862} 23863 23864 23865# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 23866func_cc_basename () 23867{ 23868 for cc_temp in $*""; do 23869 case $cc_temp in 23870 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 23871 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 23872 \-*) ;; 23873 *) break;; 23874 esac 23875 done 23876 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 23877} 23878 23879 23880# ### END FUNCTIONS SHARED WITH CONFIGURE 23881 23882_LT_EOF 23883 23884 case $host_os in 23885 aix3*) 23886 cat <<\_LT_EOF >> "$cfgfile" 23887# AIX sometimes has problems with the GCC collect2 program. For some 23888# reason, if we set the COLLECT_NAMES environment variable, the problems 23889# vanish in a puff of smoke. 23890if test set != "${COLLECT_NAMES+set}"; then 23891 COLLECT_NAMES= 23892 export COLLECT_NAMES 23893fi 23894_LT_EOF 23895 ;; 23896 esac 23897 23898 23899ltmain=$ac_aux_dir/ltmain.sh 23900 23901 23902 # We use sed instead of cat because bash on DJGPP gets confused if 23903 # if finds mixed CR/LF and LF-only lines. Since sed operates in 23904 # text mode, it properly converts lines to CR/LF. This bash problem 23905 # is reportedly fixed, but why not run on old versions too? 23906 sed '$q' "$ltmain" >> "$cfgfile" \ 23907 || (rm -f "$cfgfile"; exit 1) 23908 23909 mv -f "$cfgfile" "$ofile" || 23910 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 23911 chmod +x "$ofile" 23912 23913 23914 cat <<_LT_EOF >> "$ofile" 23915 23916# ### BEGIN LIBTOOL TAG CONFIG: CXX 23917 23918# The linker used to build libraries. 23919LD=$lt_LD_CXX 23920 23921# How to create reloadable object files. 23922reload_flag=$lt_reload_flag_CXX 23923reload_cmds=$lt_reload_cmds_CXX 23924 23925# Commands used to build an old-style archive. 23926old_archive_cmds=$lt_old_archive_cmds_CXX 23927 23928# A language specific compiler. 23929CC=$lt_compiler_CXX 23930 23931# Is the compiler the GNU compiler? 23932with_gcc=$GCC_CXX 23933 23934# Compiler flag to turn off builtin functions. 23935no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 23936 23937# Additional compiler flags for building library objects. 23938pic_flag=$lt_lt_prog_compiler_pic_CXX 23939 23940# How to pass a linker flag through the compiler. 23941wl=$lt_lt_prog_compiler_wl_CXX 23942 23943# Compiler flag to prevent dynamic linking. 23944link_static_flag=$lt_lt_prog_compiler_static_CXX 23945 23946# Does compiler simultaneously support -c and -o options? 23947compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 23948 23949# Whether or not to add -lc for building shared libraries. 23950build_libtool_need_lc=$archive_cmds_need_lc_CXX 23951 23952# Whether or not to disallow shared libs when runtime libs are static. 23953allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 23954 23955# Compiler flag to allow reflexive dlopens. 23956export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 23957 23958# Compiler flag to generate shared objects directly from archives. 23959whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 23960 23961# Whether the compiler copes with passing no objects directly. 23962compiler_needs_object=$lt_compiler_needs_object_CXX 23963 23964# Create an old-style archive from a shared archive. 23965old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 23966 23967# Create a temporary old-style archive to link instead of a shared archive. 23968old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 23969 23970# Commands used to build a shared archive. 23971archive_cmds=$lt_archive_cmds_CXX 23972archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 23973 23974# Commands used to build a loadable module if different from building 23975# a shared archive. 23976module_cmds=$lt_module_cmds_CXX 23977module_expsym_cmds=$lt_module_expsym_cmds_CXX 23978 23979# Whether we are building with GNU ld or not. 23980with_gnu_ld=$lt_with_gnu_ld_CXX 23981 23982# Flag that allows shared libraries with undefined symbols to be built. 23983allow_undefined_flag=$lt_allow_undefined_flag_CXX 23984 23985# Flag that enforces no undefined symbols. 23986no_undefined_flag=$lt_no_undefined_flag_CXX 23987 23988# Flag to hardcode \$libdir into a binary during linking. 23989# This must work even if \$libdir does not exist 23990hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 23991 23992# Whether we need a single "-rpath" flag with a separated argument. 23993hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 23994 23995# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23996# DIR into the resulting binary. 23997hardcode_direct=$hardcode_direct_CXX 23998 23999# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 24000# DIR into the resulting binary and the resulting library dependency is 24001# "absolute",i.e impossible to change by setting \$shlibpath_var if the 24002# library is relocated. 24003hardcode_direct_absolute=$hardcode_direct_absolute_CXX 24004 24005# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 24006# into the resulting binary. 24007hardcode_minus_L=$hardcode_minus_L_CXX 24008 24009# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 24010# into the resulting binary. 24011hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 24012 24013# Set to "yes" if building a shared library automatically hardcodes DIR 24014# into the library and all subsequent libraries and executables linked 24015# against it. 24016hardcode_automatic=$hardcode_automatic_CXX 24017 24018# Set to yes if linker adds runtime paths of dependent libraries 24019# to runtime path list. 24020inherit_rpath=$inherit_rpath_CXX 24021 24022# Whether libtool must link a program against all its dependency libraries. 24023link_all_deplibs=$link_all_deplibs_CXX 24024 24025# Set to "yes" if exported symbols are required. 24026always_export_symbols=$always_export_symbols_CXX 24027 24028# The commands to list exported symbols. 24029export_symbols_cmds=$lt_export_symbols_cmds_CXX 24030 24031# Symbols that should not be listed in the preloaded symbols. 24032exclude_expsyms=$lt_exclude_expsyms_CXX 24033 24034# Symbols that must always be exported. 24035include_expsyms=$lt_include_expsyms_CXX 24036 24037# Commands necessary for linking programs (against libraries) with templates. 24038prelink_cmds=$lt_prelink_cmds_CXX 24039 24040# Commands necessary for finishing linking programs. 24041postlink_cmds=$lt_postlink_cmds_CXX 24042 24043# Specify filename containing input files. 24044file_list_spec=$lt_file_list_spec_CXX 24045 24046# How to hardcode a shared library path into an executable. 24047hardcode_action=$hardcode_action_CXX 24048 24049# The directories searched by this compiler when creating a shared library. 24050compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 24051 24052# Dependencies to place before and after the objects being linked to 24053# create a shared library. 24054predep_objects=$lt_predep_objects_CXX 24055postdep_objects=$lt_postdep_objects_CXX 24056predeps=$lt_predeps_CXX 24057postdeps=$lt_postdeps_CXX 24058 24059# The library search path used internally by the compiler when linking 24060# a shared library. 24061compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 24062 24063# ### END LIBTOOL TAG CONFIG: CXX 24064_LT_EOF 24065 24066 ;; 24067 24068 esac 24069done # for ac_tag 24070 24071 24072as_fn_exit 0 24073_ACEOF 24074ac_clean_files=$ac_clean_files_save 24075 24076test $ac_write_fail = 0 || 24077 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 24078 24079 24080# configure is writing to config.log, and then calls config.status. 24081# config.status does its own redirection, appending to config.log. 24082# Unfortunately, on DOS this fails, as config.log is still kept open 24083# by configure, so config.status won't be able to write to it; its 24084# output is simply discarded. So we exec the FD to /dev/null, 24085# effectively closing config.log, so it can be properly (re)opened and 24086# appended to by config.status. When coming back to configure, we 24087# need to make the FD available again. 24088if test "$no_create" != yes; then 24089 ac_cs_success=: 24090 ac_config_status_args= 24091 test "$silent" = yes && 24092 ac_config_status_args="$ac_config_status_args --quiet" 24093 exec 5>/dev/null 24094 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 24095 exec 5>>config.log 24096 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 24097 # would make configure fail if this is the last instruction. 24098 $ac_cs_success || as_fn_exit 1 24099fi 24100if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 24101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 24102$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 24103fi 24104 24105 24106chmod 755 platform/unix/debian/rules 24107