1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for paritwine 0.1. 4# 5# Report bugs to <andreas.enge@inria.fr>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: andreas.enge@inria.fr about your system, including any 279$0: error possibly output before this message. Then install 280$0: a modern shell, or manually run the script under such a 281$0: shell if you do have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='paritwine' 592PACKAGE_TARNAME='paritwine' 593PACKAGE_VERSION='0.1' 594PACKAGE_STRING='paritwine 0.1' 595PACKAGE_BUGREPORT='andreas.enge@inria.fr' 596PACKAGE_URL='' 597 598ac_unique_file="src/paritwine.h" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639CPP 640LT_SYS_LIBRARY_PATH 641OTOOL64 642OTOOL 643LIPO 644NMEDIT 645DSYMUTIL 646MANIFEST_TOOL 647RANLIB 648ac_ct_AR 649AR 650DLLTOOL 651OBJDUMP 652LN_S 653NM 654ac_ct_DUMPBIN 655DUMPBIN 656LD 657FGREP 658EGREP 659GREP 660SED 661LIBTOOL 662am__fastdepCC_FALSE 663am__fastdepCC_TRUE 664CCDEPMODE 665am__nodep 666AMDEPBACKSLASH 667AMDEP_FALSE 668AMDEP_TRUE 669am__include 670DEPDIR 671OBJEXT 672EXEEXT 673ac_ct_CC 674CPPFLAGS 675LDFLAGS 676CFLAGS 677CC 678host_os 679host_vendor 680host_cpu 681host 682build_os 683build_vendor 684build_cpu 685build 686AM_BACKSLASH 687AM_DEFAULT_VERBOSITY 688AM_DEFAULT_V 689AM_V 690am__untar 691am__tar 692AMTAR 693am__leading_dot 694SET_MAKE 695AWK 696mkdir_p 697MKDIR_P 698INSTALL_STRIP_PROGRAM 699STRIP 700install_sh 701MAKEINFO 702AUTOHEADER 703AUTOMAKE 704AUTOCONF 705ACLOCAL 706VERSION 707PACKAGE 708CYGPATH_W 709am__isrc 710INSTALL_DATA 711INSTALL_SCRIPT 712INSTALL_PROGRAM 713target_alias 714host_alias 715build_alias 716LIBS 717ECHO_T 718ECHO_N 719ECHO_C 720DEFS 721mandir 722localedir 723libdir 724psdir 725pdfdir 726dvidir 727htmldir 728infodir 729docdir 730oldincludedir 731includedir 732localstatedir 733sharedstatedir 734sysconfdir 735datadir 736datarootdir 737libexecdir 738sbindir 739bindir 740program_transform_name 741prefix 742exec_prefix 743PACKAGE_URL 744PACKAGE_BUGREPORT 745PACKAGE_STRING 746PACKAGE_VERSION 747PACKAGE_TARNAME 748PACKAGE_NAME 749PATH_SEPARATOR 750SHELL 751am__quote' 752ac_subst_files='GP_MPFR 753GP_MPC 754GP_FLINT 755GP_ARB 756GP_CMH' 757ac_user_opts=' 758enable_option_checking 759enable_silent_rules 760enable_dependency_tracking 761enable_shared 762enable_static 763with_pic 764enable_fast_install 765with_aix_soname 766with_gnu_ld 767with_sysroot 768enable_libtool_lock 769with_pari_include 770with_pari_lib 771with_pari 772with_gmp_include 773with_gmp_lib 774with_gmp 775with_mpfr_include 776with_mpfr_lib 777with_mpfr 778with_mpc_include 779with_mpc_lib 780with_mpc 781with_flint_include 782with_flint_lib 783with_flint 784with_arb_include 785with_arb_lib 786with_arb 787with_cmh_include 788with_cmh_lib 789with_cmh 790' 791 ac_precious_vars='build_alias 792host_alias 793target_alias 794CC 795CFLAGS 796LDFLAGS 797LIBS 798CPPFLAGS 799LT_SYS_LIBRARY_PATH 800CPP' 801 802 803# Initialize some variables set by options. 804ac_init_help= 805ac_init_version=false 806ac_unrecognized_opts= 807ac_unrecognized_sep= 808# The variables have the same names as the options, with 809# dashes changed to underlines. 810cache_file=/dev/null 811exec_prefix=NONE 812no_create= 813no_recursion= 814prefix=NONE 815program_prefix=NONE 816program_suffix=NONE 817program_transform_name=s,x,x, 818silent= 819site= 820srcdir= 821verbose= 822x_includes=NONE 823x_libraries=NONE 824 825# Installation directory options. 826# These are left unexpanded so users can "make install exec_prefix=/foo" 827# and all the variables that are supposed to be based on exec_prefix 828# by default will actually change. 829# Use braces instead of parens because sh, perl, etc. also accept them. 830# (The list follows the same order as the GNU Coding Standards.) 831bindir='${exec_prefix}/bin' 832sbindir='${exec_prefix}/sbin' 833libexecdir='${exec_prefix}/libexec' 834datarootdir='${prefix}/share' 835datadir='${datarootdir}' 836sysconfdir='${prefix}/etc' 837sharedstatedir='${prefix}/com' 838localstatedir='${prefix}/var' 839includedir='${prefix}/include' 840oldincludedir='/usr/include' 841docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 842infodir='${datarootdir}/info' 843htmldir='${docdir}' 844dvidir='${docdir}' 845pdfdir='${docdir}' 846psdir='${docdir}' 847libdir='${exec_prefix}/lib' 848localedir='${datarootdir}/locale' 849mandir='${datarootdir}/man' 850 851ac_prev= 852ac_dashdash= 853for ac_option 854do 855 # If the previous option needs an argument, assign it. 856 if test -n "$ac_prev"; then 857 eval $ac_prev=\$ac_option 858 ac_prev= 859 continue 860 fi 861 862 case $ac_option in 863 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 864 *=) ac_optarg= ;; 865 *) ac_optarg=yes ;; 866 esac 867 868 # Accept the important Cygnus configure options, so we can diagnose typos. 869 870 case $ac_dashdash$ac_option in 871 --) 872 ac_dashdash=yes ;; 873 874 -bindir | --bindir | --bindi | --bind | --bin | --bi) 875 ac_prev=bindir ;; 876 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 877 bindir=$ac_optarg ;; 878 879 -build | --build | --buil | --bui | --bu) 880 ac_prev=build_alias ;; 881 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 882 build_alias=$ac_optarg ;; 883 884 -cache-file | --cache-file | --cache-fil | --cache-fi \ 885 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 886 ac_prev=cache_file ;; 887 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 888 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 889 cache_file=$ac_optarg ;; 890 891 --config-cache | -C) 892 cache_file=config.cache ;; 893 894 -datadir | --datadir | --datadi | --datad) 895 ac_prev=datadir ;; 896 -datadir=* | --datadir=* | --datadi=* | --datad=*) 897 datadir=$ac_optarg ;; 898 899 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 900 | --dataroo | --dataro | --datar) 901 ac_prev=datarootdir ;; 902 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 903 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 904 datarootdir=$ac_optarg ;; 905 906 -disable-* | --disable-*) 907 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 908 # Reject names that are not valid shell variable names. 909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 910 as_fn_error $? "invalid feature name: $ac_useropt" 911 ac_useropt_orig=$ac_useropt 912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 913 case $ac_user_opts in 914 *" 915"enable_$ac_useropt" 916"*) ;; 917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 918 ac_unrecognized_sep=', ';; 919 esac 920 eval enable_$ac_useropt=no ;; 921 922 -docdir | --docdir | --docdi | --doc | --do) 923 ac_prev=docdir ;; 924 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 925 docdir=$ac_optarg ;; 926 927 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 928 ac_prev=dvidir ;; 929 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 930 dvidir=$ac_optarg ;; 931 932 -enable-* | --enable-*) 933 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 934 # Reject names that are not valid shell variable names. 935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 936 as_fn_error $? "invalid feature name: $ac_useropt" 937 ac_useropt_orig=$ac_useropt 938 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 939 case $ac_user_opts in 940 *" 941"enable_$ac_useropt" 942"*) ;; 943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 944 ac_unrecognized_sep=', ';; 945 esac 946 eval enable_$ac_useropt=\$ac_optarg ;; 947 948 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 949 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 950 | --exec | --exe | --ex) 951 ac_prev=exec_prefix ;; 952 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 953 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 954 | --exec=* | --exe=* | --ex=*) 955 exec_prefix=$ac_optarg ;; 956 957 -gas | --gas | --ga | --g) 958 # Obsolete; use --with-gas. 959 with_gas=yes ;; 960 961 -help | --help | --hel | --he | -h) 962 ac_init_help=long ;; 963 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 964 ac_init_help=recursive ;; 965 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 966 ac_init_help=short ;; 967 968 -host | --host | --hos | --ho) 969 ac_prev=host_alias ;; 970 -host=* | --host=* | --hos=* | --ho=*) 971 host_alias=$ac_optarg ;; 972 973 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 974 ac_prev=htmldir ;; 975 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 976 | --ht=*) 977 htmldir=$ac_optarg ;; 978 979 -includedir | --includedir | --includedi | --included | --include \ 980 | --includ | --inclu | --incl | --inc) 981 ac_prev=includedir ;; 982 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 983 | --includ=* | --inclu=* | --incl=* | --inc=*) 984 includedir=$ac_optarg ;; 985 986 -infodir | --infodir | --infodi | --infod | --info | --inf) 987 ac_prev=infodir ;; 988 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 989 infodir=$ac_optarg ;; 990 991 -libdir | --libdir | --libdi | --libd) 992 ac_prev=libdir ;; 993 -libdir=* | --libdir=* | --libdi=* | --libd=*) 994 libdir=$ac_optarg ;; 995 996 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 997 | --libexe | --libex | --libe) 998 ac_prev=libexecdir ;; 999 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1000 | --libexe=* | --libex=* | --libe=*) 1001 libexecdir=$ac_optarg ;; 1002 1003 -localedir | --localedir | --localedi | --localed | --locale) 1004 ac_prev=localedir ;; 1005 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1006 localedir=$ac_optarg ;; 1007 1008 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1009 | --localstate | --localstat | --localsta | --localst | --locals) 1010 ac_prev=localstatedir ;; 1011 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1012 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1013 localstatedir=$ac_optarg ;; 1014 1015 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1016 ac_prev=mandir ;; 1017 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1018 mandir=$ac_optarg ;; 1019 1020 -nfp | --nfp | --nf) 1021 # Obsolete; use --without-fp. 1022 with_fp=no ;; 1023 1024 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1025 | --no-cr | --no-c | -n) 1026 no_create=yes ;; 1027 1028 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1029 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1030 no_recursion=yes ;; 1031 1032 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1033 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1034 | --oldin | --oldi | --old | --ol | --o) 1035 ac_prev=oldincludedir ;; 1036 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1037 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1038 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1039 oldincludedir=$ac_optarg ;; 1040 1041 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1042 ac_prev=prefix ;; 1043 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1044 prefix=$ac_optarg ;; 1045 1046 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1047 | --program-pre | --program-pr | --program-p) 1048 ac_prev=program_prefix ;; 1049 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1050 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1051 program_prefix=$ac_optarg ;; 1052 1053 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1054 | --program-suf | --program-su | --program-s) 1055 ac_prev=program_suffix ;; 1056 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1057 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1058 program_suffix=$ac_optarg ;; 1059 1060 -program-transform-name | --program-transform-name \ 1061 | --program-transform-nam | --program-transform-na \ 1062 | --program-transform-n | --program-transform- \ 1063 | --program-transform | --program-transfor \ 1064 | --program-transfo | --program-transf \ 1065 | --program-trans | --program-tran \ 1066 | --progr-tra | --program-tr | --program-t) 1067 ac_prev=program_transform_name ;; 1068 -program-transform-name=* | --program-transform-name=* \ 1069 | --program-transform-nam=* | --program-transform-na=* \ 1070 | --program-transform-n=* | --program-transform-=* \ 1071 | --program-transform=* | --program-transfor=* \ 1072 | --program-transfo=* | --program-transf=* \ 1073 | --program-trans=* | --program-tran=* \ 1074 | --progr-tra=* | --program-tr=* | --program-t=*) 1075 program_transform_name=$ac_optarg ;; 1076 1077 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1078 ac_prev=pdfdir ;; 1079 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1080 pdfdir=$ac_optarg ;; 1081 1082 -psdir | --psdir | --psdi | --psd | --ps) 1083 ac_prev=psdir ;; 1084 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1085 psdir=$ac_optarg ;; 1086 1087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1088 | -silent | --silent | --silen | --sile | --sil) 1089 silent=yes ;; 1090 1091 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1092 ac_prev=sbindir ;; 1093 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1094 | --sbi=* | --sb=*) 1095 sbindir=$ac_optarg ;; 1096 1097 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1098 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1099 | --sharedst | --shareds | --shared | --share | --shar \ 1100 | --sha | --sh) 1101 ac_prev=sharedstatedir ;; 1102 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1103 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1104 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1105 | --sha=* | --sh=*) 1106 sharedstatedir=$ac_optarg ;; 1107 1108 -site | --site | --sit) 1109 ac_prev=site ;; 1110 -site=* | --site=* | --sit=*) 1111 site=$ac_optarg ;; 1112 1113 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1114 ac_prev=srcdir ;; 1115 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1116 srcdir=$ac_optarg ;; 1117 1118 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1119 | --syscon | --sysco | --sysc | --sys | --sy) 1120 ac_prev=sysconfdir ;; 1121 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1122 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1123 sysconfdir=$ac_optarg ;; 1124 1125 -target | --target | --targe | --targ | --tar | --ta | --t) 1126 ac_prev=target_alias ;; 1127 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1128 target_alias=$ac_optarg ;; 1129 1130 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1131 verbose=yes ;; 1132 1133 -version | --version | --versio | --versi | --vers | -V) 1134 ac_init_version=: ;; 1135 1136 -with-* | --with-*) 1137 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1138 # Reject names that are not valid shell variable names. 1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1140 as_fn_error $? "invalid package name: $ac_useropt" 1141 ac_useropt_orig=$ac_useropt 1142 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1143 case $ac_user_opts in 1144 *" 1145"with_$ac_useropt" 1146"*) ;; 1147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1148 ac_unrecognized_sep=', ';; 1149 esac 1150 eval with_$ac_useropt=\$ac_optarg ;; 1151 1152 -without-* | --without-*) 1153 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1154 # Reject names that are not valid shell variable names. 1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1156 as_fn_error $? "invalid package name: $ac_useropt" 1157 ac_useropt_orig=$ac_useropt 1158 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1159 case $ac_user_opts in 1160 *" 1161"with_$ac_useropt" 1162"*) ;; 1163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1164 ac_unrecognized_sep=', ';; 1165 esac 1166 eval with_$ac_useropt=no ;; 1167 1168 --x) 1169 # Obsolete; use --with-x. 1170 with_x=yes ;; 1171 1172 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1173 | --x-incl | --x-inc | --x-in | --x-i) 1174 ac_prev=x_includes ;; 1175 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1176 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1177 x_includes=$ac_optarg ;; 1178 1179 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1180 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1181 ac_prev=x_libraries ;; 1182 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1183 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1184 x_libraries=$ac_optarg ;; 1185 1186 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1187Try \`$0 --help' for more information" 1188 ;; 1189 1190 *=*) 1191 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1192 # Reject names that are not valid shell variable names. 1193 case $ac_envvar in #( 1194 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1195 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1196 esac 1197 eval $ac_envvar=\$ac_optarg 1198 export $ac_envvar ;; 1199 1200 *) 1201 # FIXME: should be removed in autoconf 3.0. 1202 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1203 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1204 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1205 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1206 ;; 1207 1208 esac 1209done 1210 1211if test -n "$ac_prev"; then 1212 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1213 as_fn_error $? "missing argument to $ac_option" 1214fi 1215 1216if test -n "$ac_unrecognized_opts"; then 1217 case $enable_option_checking in 1218 no) ;; 1219 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1220 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1221 esac 1222fi 1223 1224# Check all directory arguments for consistency. 1225for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1226 datadir sysconfdir sharedstatedir localstatedir includedir \ 1227 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1228 libdir localedir mandir 1229do 1230 eval ac_val=\$$ac_var 1231 # Remove trailing slashes. 1232 case $ac_val in 1233 */ ) 1234 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1235 eval $ac_var=\$ac_val;; 1236 esac 1237 # Be sure to have absolute directory names. 1238 case $ac_val in 1239 [\\/$]* | ?:[\\/]* ) continue;; 1240 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1241 esac 1242 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1243done 1244 1245# There might be people who depend on the old broken behavior: `$host' 1246# used to hold the argument of --host etc. 1247# FIXME: To remove some day. 1248build=$build_alias 1249host=$host_alias 1250target=$target_alias 1251 1252# FIXME: To remove some day. 1253if test "x$host_alias" != x; then 1254 if test "x$build_alias" = x; then 1255 cross_compiling=maybe 1256 elif test "x$build_alias" != "x$host_alias"; then 1257 cross_compiling=yes 1258 fi 1259fi 1260 1261ac_tool_prefix= 1262test -n "$host_alias" && ac_tool_prefix=$host_alias- 1263 1264test "$silent" = yes && exec 6>/dev/null 1265 1266 1267ac_pwd=`pwd` && test -n "$ac_pwd" && 1268ac_ls_di=`ls -di .` && 1269ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1270 as_fn_error $? "working directory cannot be determined" 1271test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1272 as_fn_error $? "pwd does not report name of working directory" 1273 1274 1275# Find the source files, if location was not specified. 1276if test -z "$srcdir"; then 1277 ac_srcdir_defaulted=yes 1278 # Try the directory containing this script, then the parent directory. 1279 ac_confdir=`$as_dirname -- "$as_myself" || 1280$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1281 X"$as_myself" : 'X\(//\)[^/]' \| \ 1282 X"$as_myself" : 'X\(//\)$' \| \ 1283 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1284$as_echo X"$as_myself" | 1285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1286 s//\1/ 1287 q 1288 } 1289 /^X\(\/\/\)[^/].*/{ 1290 s//\1/ 1291 q 1292 } 1293 /^X\(\/\/\)$/{ 1294 s//\1/ 1295 q 1296 } 1297 /^X\(\/\).*/{ 1298 s//\1/ 1299 q 1300 } 1301 s/.*/./; q'` 1302 srcdir=$ac_confdir 1303 if test ! -r "$srcdir/$ac_unique_file"; then 1304 srcdir=.. 1305 fi 1306else 1307 ac_srcdir_defaulted=no 1308fi 1309if test ! -r "$srcdir/$ac_unique_file"; then 1310 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1311 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1312fi 1313ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1314ac_abs_confdir=`( 1315 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1316 pwd)` 1317# When building in place, set srcdir=. 1318if test "$ac_abs_confdir" = "$ac_pwd"; then 1319 srcdir=. 1320fi 1321# Remove unnecessary trailing slashes from srcdir. 1322# Double slashes in file names in object file debugging info 1323# mess up M-x gdb in Emacs. 1324case $srcdir in 1325*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1326esac 1327for ac_var in $ac_precious_vars; do 1328 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1329 eval ac_env_${ac_var}_value=\$${ac_var} 1330 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1331 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1332done 1333 1334# 1335# Report the --help message. 1336# 1337if test "$ac_init_help" = "long"; then 1338 # Omit some internal or obsolete options to make the list less imposing. 1339 # This message is too long to be a string in the A/UX 3.1 sh. 1340 cat <<_ACEOF 1341\`configure' configures paritwine 0.1 to adapt to many kinds of systems. 1342 1343Usage: $0 [OPTION]... [VAR=VALUE]... 1344 1345To assign environment variables (e.g., CC, CFLAGS...), specify them as 1346VAR=VALUE. See below for descriptions of some of the useful variables. 1347 1348Defaults for the options are specified in brackets. 1349 1350Configuration: 1351 -h, --help display this help and exit 1352 --help=short display options specific to this package 1353 --help=recursive display the short help of all the included packages 1354 -V, --version display version information and exit 1355 -q, --quiet, --silent do not print \`checking ...' messages 1356 --cache-file=FILE cache test results in FILE [disabled] 1357 -C, --config-cache alias for \`--cache-file=config.cache' 1358 -n, --no-create do not create output files 1359 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1360 1361Installation directories: 1362 --prefix=PREFIX install architecture-independent files in PREFIX 1363 [$ac_default_prefix] 1364 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1365 [PREFIX] 1366 1367By default, \`make install' will install all the files in 1368\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1369an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1370for instance \`--prefix=\$HOME'. 1371 1372For better control, use the options below. 1373 1374Fine tuning of the installation directories: 1375 --bindir=DIR user executables [EPREFIX/bin] 1376 --sbindir=DIR system admin executables [EPREFIX/sbin] 1377 --libexecdir=DIR program executables [EPREFIX/libexec] 1378 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1379 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1380 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1381 --libdir=DIR object code libraries [EPREFIX/lib] 1382 --includedir=DIR C header files [PREFIX/include] 1383 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1384 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1385 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1386 --infodir=DIR info documentation [DATAROOTDIR/info] 1387 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1388 --mandir=DIR man documentation [DATAROOTDIR/man] 1389 --docdir=DIR documentation root [DATAROOTDIR/doc/paritwine] 1390 --htmldir=DIR html documentation [DOCDIR] 1391 --dvidir=DIR dvi documentation [DOCDIR] 1392 --pdfdir=DIR pdf documentation [DOCDIR] 1393 --psdir=DIR ps documentation [DOCDIR] 1394_ACEOF 1395 1396 cat <<\_ACEOF 1397 1398Program names: 1399 --program-prefix=PREFIX prepend PREFIX to installed program names 1400 --program-suffix=SUFFIX append SUFFIX to installed program names 1401 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1402 1403System types: 1404 --build=BUILD configure for building on BUILD [guessed] 1405 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1406_ACEOF 1407fi 1408 1409if test -n "$ac_init_help"; then 1410 case $ac_init_help in 1411 short | recursive ) echo "Configuration of paritwine 0.1:";; 1412 esac 1413 cat <<\_ACEOF 1414 1415Optional Features: 1416 --disable-option-checking ignore unrecognized --enable/--with options 1417 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1418 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1419 --enable-silent-rules less verbose build output (undo: "make V=1") 1420 --disable-silent-rules verbose build output (undo: "make V=0") 1421 --enable-dependency-tracking 1422 do not reject slow dependency extractors 1423 --disable-dependency-tracking 1424 speeds up one-time build 1425 --enable-shared[=PKGS] build shared libraries [default=yes] 1426 --enable-static[=PKGS] build static libraries [default=yes] 1427 --enable-fast-install[=PKGS] 1428 optimize for fast installation [default=yes] 1429 --disable-libtool-lock avoid locking (might break parallel builds) 1430 1431Optional Packages: 1432 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1433 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1434 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1435 both] 1436 --with-aix-soname=aix|svr4|both 1437 shared library versioning (aka "SONAME") variant to 1438 provide on AIX, [default=aix]. 1439 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1440 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1441 compiler's sysroot if not specified). 1442 --with-pari-include=DIR PARI include directory 1443 --with-pari-lib=DIR PARI lib directory 1444 --with-pari=DIR PARI install directory 1445 --with-gmp-include=DIR GMP include directory 1446 --with-gmp-lib=DIR GMP lib directory 1447 --with-gmp=DIR GMP install directory 1448 --with-mpfr-include=DIR MPFR include directory 1449 --with-mpfr-lib=DIR MPFR lib directory 1450 --with-mpfr=DIR MPFR install directory 1451 --with-mpc-include=DIR MPC include directory 1452 --with-mpc-lib=DIR MPC lib directory 1453 --with-mpc=DIR MPC install directory 1454 --with-flint-include=DIR 1455 FLINT include directory 1456 --with-flint-lib=DIR FLINT lib directory 1457 --with-flint=DIR FLINT install directory 1458 --with-arb-include=DIR ARB include directory 1459 --with-arb-lib=DIR ARB lib directory 1460 --with-arb=DIR ARB install directory 1461 --with-cmh-include=DIR CMH include directory 1462 --with-cmh-lib=DIR CMH lib directory 1463 --with-cmh=DIR CMH install directory 1464 1465Some influential environment variables: 1466 CC C compiler command 1467 CFLAGS C compiler flags 1468 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1469 nonstandard directory <lib dir> 1470 LIBS libraries to pass to the linker, e.g. -l<library> 1471 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1472 you have headers in a nonstandard directory <include dir> 1473 LT_SYS_LIBRARY_PATH 1474 User-defined run-time library search path. 1475 CPP C preprocessor 1476 1477Use these variables to override the choices made by `configure' or to help 1478it to find libraries and programs with nonstandard names/locations. 1479 1480Report bugs to <andreas.enge@inria.fr>. 1481_ACEOF 1482ac_status=$? 1483fi 1484 1485if test "$ac_init_help" = "recursive"; then 1486 # If there are subdirs, report their specific --help. 1487 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1488 test -d "$ac_dir" || 1489 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1490 continue 1491 ac_builddir=. 1492 1493case "$ac_dir" in 1494.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1495*) 1496 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1497 # A ".." for each directory in $ac_dir_suffix. 1498 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1499 case $ac_top_builddir_sub in 1500 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1501 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1502 esac ;; 1503esac 1504ac_abs_top_builddir=$ac_pwd 1505ac_abs_builddir=$ac_pwd$ac_dir_suffix 1506# for backward compatibility: 1507ac_top_builddir=$ac_top_build_prefix 1508 1509case $srcdir in 1510 .) # We are building in place. 1511 ac_srcdir=. 1512 ac_top_srcdir=$ac_top_builddir_sub 1513 ac_abs_top_srcdir=$ac_pwd ;; 1514 [\\/]* | ?:[\\/]* ) # Absolute name. 1515 ac_srcdir=$srcdir$ac_dir_suffix; 1516 ac_top_srcdir=$srcdir 1517 ac_abs_top_srcdir=$srcdir ;; 1518 *) # Relative name. 1519 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1520 ac_top_srcdir=$ac_top_build_prefix$srcdir 1521 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1522esac 1523ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1524 1525 cd "$ac_dir" || { ac_status=$?; continue; } 1526 # Check for guested configure. 1527 if test -f "$ac_srcdir/configure.gnu"; then 1528 echo && 1529 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1530 elif test -f "$ac_srcdir/configure"; then 1531 echo && 1532 $SHELL "$ac_srcdir/configure" --help=recursive 1533 else 1534 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1535 fi || ac_status=$? 1536 cd "$ac_pwd" || { ac_status=$?; break; } 1537 done 1538fi 1539 1540test -n "$ac_init_help" && exit $ac_status 1541if $ac_init_version; then 1542 cat <<\_ACEOF 1543paritwine configure 0.1 1544generated by GNU Autoconf 2.69 1545 1546Copyright (C) 2012 Free Software Foundation, Inc. 1547This configure script is free software; the Free Software Foundation 1548gives unlimited permission to copy, distribute and modify it. 1549_ACEOF 1550 exit 1551fi 1552 1553## ------------------------ ## 1554## Autoconf initialization. ## 1555## ------------------------ ## 1556 1557# ac_fn_c_try_compile LINENO 1558# -------------------------- 1559# Try to compile conftest.$ac_ext, and return whether this succeeded. 1560ac_fn_c_try_compile () 1561{ 1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1563 rm -f conftest.$ac_objext 1564 if { { ac_try="$ac_compile" 1565case "(($ac_try" in 1566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1567 *) ac_try_echo=$ac_try;; 1568esac 1569eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1570$as_echo "$ac_try_echo"; } >&5 1571 (eval "$ac_compile") 2>conftest.err 1572 ac_status=$? 1573 if test -s conftest.err; then 1574 grep -v '^ *+' conftest.err >conftest.er1 1575 cat conftest.er1 >&5 1576 mv -f conftest.er1 conftest.err 1577 fi 1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1579 test $ac_status = 0; } && { 1580 test -z "$ac_c_werror_flag" || 1581 test ! -s conftest.err 1582 } && test -s conftest.$ac_objext; then : 1583 ac_retval=0 1584else 1585 $as_echo "$as_me: failed program was:" >&5 1586sed 's/^/| /' conftest.$ac_ext >&5 1587 1588 ac_retval=1 1589fi 1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1591 as_fn_set_status $ac_retval 1592 1593} # ac_fn_c_try_compile 1594 1595# ac_fn_c_try_link LINENO 1596# ----------------------- 1597# Try to link conftest.$ac_ext, and return whether this succeeded. 1598ac_fn_c_try_link () 1599{ 1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1601 rm -f conftest.$ac_objext conftest$ac_exeext 1602 if { { ac_try="$ac_link" 1603case "(($ac_try" in 1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1605 *) ac_try_echo=$ac_try;; 1606esac 1607eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1608$as_echo "$ac_try_echo"; } >&5 1609 (eval "$ac_link") 2>conftest.err 1610 ac_status=$? 1611 if test -s conftest.err; then 1612 grep -v '^ *+' conftest.err >conftest.er1 1613 cat conftest.er1 >&5 1614 mv -f conftest.er1 conftest.err 1615 fi 1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1617 test $ac_status = 0; } && { 1618 test -z "$ac_c_werror_flag" || 1619 test ! -s conftest.err 1620 } && test -s conftest$ac_exeext && { 1621 test "$cross_compiling" = yes || 1622 test -x conftest$ac_exeext 1623 }; then : 1624 ac_retval=0 1625else 1626 $as_echo "$as_me: failed program was:" >&5 1627sed 's/^/| /' conftest.$ac_ext >&5 1628 1629 ac_retval=1 1630fi 1631 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1632 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1633 # interfere with the next link command; also delete a directory that is 1634 # left behind by Apple's compiler. We do this before executing the actions. 1635 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1637 as_fn_set_status $ac_retval 1638 1639} # ac_fn_c_try_link 1640 1641# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1642# ------------------------------------------------------- 1643# Tests whether HEADER exists and can be compiled using the include files in 1644# INCLUDES, setting the cache variable VAR accordingly. 1645ac_fn_c_check_header_compile () 1646{ 1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1649$as_echo_n "checking for $2... " >&6; } 1650if eval \${$3+:} false; then : 1651 $as_echo_n "(cached) " >&6 1652else 1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1654/* end confdefs.h. */ 1655$4 1656#include <$2> 1657_ACEOF 1658if ac_fn_c_try_compile "$LINENO"; then : 1659 eval "$3=yes" 1660else 1661 eval "$3=no" 1662fi 1663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1664fi 1665eval ac_res=\$$3 1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1667$as_echo "$ac_res" >&6; } 1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1669 1670} # ac_fn_c_check_header_compile 1671 1672# ac_fn_c_try_cpp LINENO 1673# ---------------------- 1674# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1675ac_fn_c_try_cpp () 1676{ 1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1678 if { { ac_try="$ac_cpp conftest.$ac_ext" 1679case "(($ac_try" in 1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1681 *) ac_try_echo=$ac_try;; 1682esac 1683eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1684$as_echo "$ac_try_echo"; } >&5 1685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1686 ac_status=$? 1687 if test -s conftest.err; then 1688 grep -v '^ *+' conftest.err >conftest.er1 1689 cat conftest.er1 >&5 1690 mv -f conftest.er1 conftest.err 1691 fi 1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1693 test $ac_status = 0; } > conftest.i && { 1694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1695 test ! -s conftest.err 1696 }; then : 1697 ac_retval=0 1698else 1699 $as_echo "$as_me: failed program was:" >&5 1700sed 's/^/| /' conftest.$ac_ext >&5 1701 1702 ac_retval=1 1703fi 1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1705 as_fn_set_status $ac_retval 1706 1707} # ac_fn_c_try_cpp 1708 1709# ac_fn_c_try_run LINENO 1710# ---------------------- 1711# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1712# that executables *can* be run. 1713ac_fn_c_try_run () 1714{ 1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1716 if { { ac_try="$ac_link" 1717case "(($ac_try" in 1718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1719 *) ac_try_echo=$ac_try;; 1720esac 1721eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1722$as_echo "$ac_try_echo"; } >&5 1723 (eval "$ac_link") 2>&5 1724 ac_status=$? 1725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1726 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1727 { { case "(($ac_try" in 1728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1729 *) ac_try_echo=$ac_try;; 1730esac 1731eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1732$as_echo "$ac_try_echo"; } >&5 1733 (eval "$ac_try") 2>&5 1734 ac_status=$? 1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1736 test $ac_status = 0; }; }; then : 1737 ac_retval=0 1738else 1739 $as_echo "$as_me: program exited with status $ac_status" >&5 1740 $as_echo "$as_me: failed program was:" >&5 1741sed 's/^/| /' conftest.$ac_ext >&5 1742 1743 ac_retval=$ac_status 1744fi 1745 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1747 as_fn_set_status $ac_retval 1748 1749} # ac_fn_c_try_run 1750 1751# ac_fn_c_check_func LINENO FUNC VAR 1752# ---------------------------------- 1753# Tests whether FUNC exists, setting the cache variable VAR accordingly 1754ac_fn_c_check_func () 1755{ 1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1758$as_echo_n "checking for $2... " >&6; } 1759if eval \${$3+:} false; then : 1760 $as_echo_n "(cached) " >&6 1761else 1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1763/* end confdefs.h. */ 1764/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1765 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1766#define $2 innocuous_$2 1767 1768/* System header to define __stub macros and hopefully few prototypes, 1769 which can conflict with char $2 (); below. 1770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1771 <limits.h> exists even on freestanding compilers. */ 1772 1773#ifdef __STDC__ 1774# include <limits.h> 1775#else 1776# include <assert.h> 1777#endif 1778 1779#undef $2 1780 1781/* Override any GCC internal prototype to avoid an error. 1782 Use char because int might match the return type of a GCC 1783 builtin and then its argument prototype would still apply. */ 1784#ifdef __cplusplus 1785extern "C" 1786#endif 1787char $2 (); 1788/* The GNU C library defines this for functions which it implements 1789 to always fail with ENOSYS. Some functions are actually named 1790 something starting with __ and the normal name is an alias. */ 1791#if defined __stub_$2 || defined __stub___$2 1792choke me 1793#endif 1794 1795int 1796main () 1797{ 1798return $2 (); 1799 ; 1800 return 0; 1801} 1802_ACEOF 1803if ac_fn_c_try_link "$LINENO"; then : 1804 eval "$3=yes" 1805else 1806 eval "$3=no" 1807fi 1808rm -f core conftest.err conftest.$ac_objext \ 1809 conftest$ac_exeext conftest.$ac_ext 1810fi 1811eval ac_res=\$$3 1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1813$as_echo "$ac_res" >&6; } 1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1815 1816} # ac_fn_c_check_func 1817 1818# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1819# ------------------------------------------------------- 1820# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1821# the include files in INCLUDES and setting the cache variable VAR 1822# accordingly. 1823ac_fn_c_check_header_mongrel () 1824{ 1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1826 if eval \${$3+:} false; then : 1827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1828$as_echo_n "checking for $2... " >&6; } 1829if eval \${$3+:} false; then : 1830 $as_echo_n "(cached) " >&6 1831fi 1832eval ac_res=\$$3 1833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1834$as_echo "$ac_res" >&6; } 1835else 1836 # Is the header compilable? 1837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1838$as_echo_n "checking $2 usability... " >&6; } 1839cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1840/* end confdefs.h. */ 1841$4 1842#include <$2> 1843_ACEOF 1844if ac_fn_c_try_compile "$LINENO"; then : 1845 ac_header_compiler=yes 1846else 1847 ac_header_compiler=no 1848fi 1849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1851$as_echo "$ac_header_compiler" >&6; } 1852 1853# Is the header present? 1854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1855$as_echo_n "checking $2 presence... " >&6; } 1856cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1857/* end confdefs.h. */ 1858#include <$2> 1859_ACEOF 1860if ac_fn_c_try_cpp "$LINENO"; then : 1861 ac_header_preproc=yes 1862else 1863 ac_header_preproc=no 1864fi 1865rm -f conftest.err conftest.i conftest.$ac_ext 1866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1867$as_echo "$ac_header_preproc" >&6; } 1868 1869# So? What about this header? 1870case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1871 yes:no: ) 1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1873$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1875$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1876 ;; 1877 no:yes:* ) 1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1879$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1881$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1883$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1885$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1887$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1888( $as_echo "## ------------------------------------ ## 1889## Report this to andreas.enge@inria.fr ## 1890## ------------------------------------ ##" 1891 ) | sed "s/^/$as_me: WARNING: /" >&2 1892 ;; 1893esac 1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1895$as_echo_n "checking for $2... " >&6; } 1896if eval \${$3+:} false; then : 1897 $as_echo_n "(cached) " >&6 1898else 1899 eval "$3=\$ac_header_compiler" 1900fi 1901eval ac_res=\$$3 1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1903$as_echo "$ac_res" >&6; } 1904fi 1905 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1906 1907} # ac_fn_c_check_header_mongrel 1908cat >config.log <<_ACEOF 1909This file contains any messages produced by compilers while 1910running configure, to aid debugging if configure makes a mistake. 1911 1912It was created by paritwine $as_me 0.1, which was 1913generated by GNU Autoconf 2.69. Invocation command line was 1914 1915 $ $0 $@ 1916 1917_ACEOF 1918exec 5>>config.log 1919{ 1920cat <<_ASUNAME 1921## --------- ## 1922## Platform. ## 1923## --------- ## 1924 1925hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1926uname -m = `(uname -m) 2>/dev/null || echo unknown` 1927uname -r = `(uname -r) 2>/dev/null || echo unknown` 1928uname -s = `(uname -s) 2>/dev/null || echo unknown` 1929uname -v = `(uname -v) 2>/dev/null || echo unknown` 1930 1931/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1932/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1933 1934/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1935/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1936/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1937/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1938/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1939/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1940/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1941 1942_ASUNAME 1943 1944as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1945for as_dir in $PATH 1946do 1947 IFS=$as_save_IFS 1948 test -z "$as_dir" && as_dir=. 1949 $as_echo "PATH: $as_dir" 1950 done 1951IFS=$as_save_IFS 1952 1953} >&5 1954 1955cat >&5 <<_ACEOF 1956 1957 1958## ----------- ## 1959## Core tests. ## 1960## ----------- ## 1961 1962_ACEOF 1963 1964 1965# Keep a trace of the command line. 1966# Strip out --no-create and --no-recursion so they do not pile up. 1967# Strip out --silent because we don't want to record it for future runs. 1968# Also quote any args containing shell meta-characters. 1969# Make two passes to allow for proper duplicate-argument suppression. 1970ac_configure_args= 1971ac_configure_args0= 1972ac_configure_args1= 1973ac_must_keep_next=false 1974for ac_pass in 1 2 1975do 1976 for ac_arg 1977 do 1978 case $ac_arg in 1979 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1980 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1981 | -silent | --silent | --silen | --sile | --sil) 1982 continue ;; 1983 *\'*) 1984 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1985 esac 1986 case $ac_pass in 1987 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1988 2) 1989 as_fn_append ac_configure_args1 " '$ac_arg'" 1990 if test $ac_must_keep_next = true; then 1991 ac_must_keep_next=false # Got value, back to normal. 1992 else 1993 case $ac_arg in 1994 *=* | --config-cache | -C | -disable-* | --disable-* \ 1995 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1996 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1997 | -with-* | --with-* | -without-* | --without-* | --x) 1998 case "$ac_configure_args0 " in 1999 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2000 esac 2001 ;; 2002 -* ) ac_must_keep_next=true ;; 2003 esac 2004 fi 2005 as_fn_append ac_configure_args " '$ac_arg'" 2006 ;; 2007 esac 2008 done 2009done 2010{ ac_configure_args0=; unset ac_configure_args0;} 2011{ ac_configure_args1=; unset ac_configure_args1;} 2012 2013# When interrupted or exit'd, cleanup temporary files, and complete 2014# config.log. We remove comments because anyway the quotes in there 2015# would cause problems or look ugly. 2016# WARNING: Use '\'' to represent an apostrophe within the trap. 2017# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2018trap 'exit_status=$? 2019 # Save into config.log some information that might help in debugging. 2020 { 2021 echo 2022 2023 $as_echo "## ---------------- ## 2024## Cache variables. ## 2025## ---------------- ##" 2026 echo 2027 # The following way of writing the cache mishandles newlines in values, 2028( 2029 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2030 eval ac_val=\$$ac_var 2031 case $ac_val in #( 2032 *${as_nl}*) 2033 case $ac_var in #( 2034 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2035$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2036 esac 2037 case $ac_var in #( 2038 _ | IFS | as_nl) ;; #( 2039 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2040 *) { eval $ac_var=; unset $ac_var;} ;; 2041 esac ;; 2042 esac 2043 done 2044 (set) 2>&1 | 2045 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2046 *${as_nl}ac_space=\ *) 2047 sed -n \ 2048 "s/'\''/'\''\\\\'\'''\''/g; 2049 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2050 ;; #( 2051 *) 2052 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2053 ;; 2054 esac | 2055 sort 2056) 2057 echo 2058 2059 $as_echo "## ----------------- ## 2060## Output variables. ## 2061## ----------------- ##" 2062 echo 2063 for ac_var in $ac_subst_vars 2064 do 2065 eval ac_val=\$$ac_var 2066 case $ac_val in 2067 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2068 esac 2069 $as_echo "$ac_var='\''$ac_val'\''" 2070 done | sort 2071 echo 2072 2073 if test -n "$ac_subst_files"; then 2074 $as_echo "## ------------------- ## 2075## File substitutions. ## 2076## ------------------- ##" 2077 echo 2078 for ac_var in $ac_subst_files 2079 do 2080 eval ac_val=\$$ac_var 2081 case $ac_val in 2082 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2083 esac 2084 $as_echo "$ac_var='\''$ac_val'\''" 2085 done | sort 2086 echo 2087 fi 2088 2089 if test -s confdefs.h; then 2090 $as_echo "## ----------- ## 2091## confdefs.h. ## 2092## ----------- ##" 2093 echo 2094 cat confdefs.h 2095 echo 2096 fi 2097 test "$ac_signal" != 0 && 2098 $as_echo "$as_me: caught signal $ac_signal" 2099 $as_echo "$as_me: exit $exit_status" 2100 } >&5 2101 rm -f core *.core core.conftest.* && 2102 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2103 exit $exit_status 2104' 0 2105for ac_signal in 1 2 13 15; do 2106 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2107done 2108ac_signal=0 2109 2110# confdefs.h avoids OS command line length limits that DEFS can exceed. 2111rm -f -r conftest* confdefs.h 2112 2113$as_echo "/* confdefs.h */" > confdefs.h 2114 2115# Predefined preprocessor variables. 2116 2117cat >>confdefs.h <<_ACEOF 2118#define PACKAGE_NAME "$PACKAGE_NAME" 2119_ACEOF 2120 2121cat >>confdefs.h <<_ACEOF 2122#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2123_ACEOF 2124 2125cat >>confdefs.h <<_ACEOF 2126#define PACKAGE_VERSION "$PACKAGE_VERSION" 2127_ACEOF 2128 2129cat >>confdefs.h <<_ACEOF 2130#define PACKAGE_STRING "$PACKAGE_STRING" 2131_ACEOF 2132 2133cat >>confdefs.h <<_ACEOF 2134#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2135_ACEOF 2136 2137cat >>confdefs.h <<_ACEOF 2138#define PACKAGE_URL "$PACKAGE_URL" 2139_ACEOF 2140 2141 2142# Let the site file select an alternate cache file if it wants to. 2143# Prefer an explicitly selected file to automatically selected ones. 2144ac_site_file1=NONE 2145ac_site_file2=NONE 2146if test -n "$CONFIG_SITE"; then 2147 # We do not want a PATH search for config.site. 2148 case $CONFIG_SITE in #(( 2149 -*) ac_site_file1=./$CONFIG_SITE;; 2150 */*) ac_site_file1=$CONFIG_SITE;; 2151 *) ac_site_file1=./$CONFIG_SITE;; 2152 esac 2153elif test "x$prefix" != xNONE; then 2154 ac_site_file1=$prefix/share/config.site 2155 ac_site_file2=$prefix/etc/config.site 2156else 2157 ac_site_file1=$ac_default_prefix/share/config.site 2158 ac_site_file2=$ac_default_prefix/etc/config.site 2159fi 2160for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2161do 2162 test "x$ac_site_file" = xNONE && continue 2163 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2164 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2165$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2166 sed 's/^/| /' "$ac_site_file" >&5 2167 . "$ac_site_file" \ 2168 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2169$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2170as_fn_error $? "failed to load site script $ac_site_file 2171See \`config.log' for more details" "$LINENO" 5; } 2172 fi 2173done 2174 2175if test -r "$cache_file"; then 2176 # Some versions of bash will fail to source /dev/null (special files 2177 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2178 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2179 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2180$as_echo "$as_me: loading cache $cache_file" >&6;} 2181 case $cache_file in 2182 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2183 *) . "./$cache_file";; 2184 esac 2185 fi 2186else 2187 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2188$as_echo "$as_me: creating cache $cache_file" >&6;} 2189 >$cache_file 2190fi 2191 2192# Check that the precious variables saved in the cache have kept the same 2193# value. 2194ac_cache_corrupted=false 2195for ac_var in $ac_precious_vars; do 2196 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2197 eval ac_new_set=\$ac_env_${ac_var}_set 2198 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2199 eval ac_new_val=\$ac_env_${ac_var}_value 2200 case $ac_old_set,$ac_new_set in 2201 set,) 2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2203$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2204 ac_cache_corrupted=: ;; 2205 ,set) 2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2207$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2208 ac_cache_corrupted=: ;; 2209 ,);; 2210 *) 2211 if test "x$ac_old_val" != "x$ac_new_val"; then 2212 # differences in whitespace do not lead to failure. 2213 ac_old_val_w=`echo x $ac_old_val` 2214 ac_new_val_w=`echo x $ac_new_val` 2215 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2217$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2218 ac_cache_corrupted=: 2219 else 2220 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2221$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2222 eval $ac_var=\$ac_old_val 2223 fi 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2225$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2227$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2228 fi;; 2229 esac 2230 # Pass precious variables to config.status. 2231 if test "$ac_new_set" = set; then 2232 case $ac_new_val in 2233 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2234 *) ac_arg=$ac_var=$ac_new_val ;; 2235 esac 2236 case " $ac_configure_args " in 2237 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2238 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2239 esac 2240 fi 2241done 2242if $ac_cache_corrupted; then 2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2244$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2246$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2247 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2248fi 2249## -------------------- ## 2250## Main body of script. ## 2251## -------------------- ## 2252 2253ac_ext=c 2254ac_cpp='$CPP $CPPFLAGS' 2255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2257ac_compiler_gnu=$ac_cv_c_compiler_gnu 2258 2259 2260ac_aux_dir= 2261for ac_dir in config "$srcdir"/config; do 2262 if test -f "$ac_dir/install-sh"; then 2263 ac_aux_dir=$ac_dir 2264 ac_install_sh="$ac_aux_dir/install-sh -c" 2265 break 2266 elif test -f "$ac_dir/install.sh"; then 2267 ac_aux_dir=$ac_dir 2268 ac_install_sh="$ac_aux_dir/install.sh -c" 2269 break 2270 elif test -f "$ac_dir/shtool"; then 2271 ac_aux_dir=$ac_dir 2272 ac_install_sh="$ac_aux_dir/shtool install -c" 2273 break 2274 fi 2275done 2276if test -z "$ac_aux_dir"; then 2277 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 2278fi 2279 2280# These three variables are undocumented and unsupported, 2281# and are intended to be withdrawn in a future Autoconf release. 2282# They can cause serious problems if a builder's source tree is in a directory 2283# whose full name contains unusual characters. 2284ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2285ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2286ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2287 2288 2289 2290ac_config_headers="$ac_config_headers src/paritwine-config.h" 2291 2292 2293am__api_version='1.16' 2294 2295# Find a good install program. We prefer a C program (faster), 2296# so one script is as good as another. But avoid the broken or 2297# incompatible versions: 2298# SysV /etc/install, /usr/sbin/install 2299# SunOS /usr/etc/install 2300# IRIX /sbin/install 2301# AIX /bin/install 2302# AmigaOS /C/install, which installs bootblocks on floppy discs 2303# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2304# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2305# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2306# OS/2's system install, which has a completely different semantic 2307# ./install, which can be erroneously created by make from ./install.sh. 2308# Reject install programs that cannot install multiple files. 2309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2310$as_echo_n "checking for a BSD-compatible install... " >&6; } 2311if test -z "$INSTALL"; then 2312if ${ac_cv_path_install+:} false; then : 2313 $as_echo_n "(cached) " >&6 2314else 2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2316for as_dir in $PATH 2317do 2318 IFS=$as_save_IFS 2319 test -z "$as_dir" && as_dir=. 2320 # Account for people who put trailing slashes in PATH elements. 2321case $as_dir/ in #(( 2322 ./ | .// | /[cC]/* | \ 2323 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2324 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2325 /usr/ucb/* ) ;; 2326 *) 2327 # OSF1 and SCO ODT 3.0 have their own names for install. 2328 # Don't use installbsd from OSF since it installs stuff as root 2329 # by default. 2330 for ac_prog in ginstall scoinst install; do 2331 for ac_exec_ext in '' $ac_executable_extensions; do 2332 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2333 if test $ac_prog = install && 2334 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2335 # AIX install. It has an incompatible calling convention. 2336 : 2337 elif test $ac_prog = install && 2338 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2339 # program-specific install script used by HP pwplus--don't use. 2340 : 2341 else 2342 rm -rf conftest.one conftest.two conftest.dir 2343 echo one > conftest.one 2344 echo two > conftest.two 2345 mkdir conftest.dir 2346 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2347 test -s conftest.one && test -s conftest.two && 2348 test -s conftest.dir/conftest.one && 2349 test -s conftest.dir/conftest.two 2350 then 2351 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2352 break 3 2353 fi 2354 fi 2355 fi 2356 done 2357 done 2358 ;; 2359esac 2360 2361 done 2362IFS=$as_save_IFS 2363 2364rm -rf conftest.one conftest.two conftest.dir 2365 2366fi 2367 if test "${ac_cv_path_install+set}" = set; then 2368 INSTALL=$ac_cv_path_install 2369 else 2370 # As a last resort, use the slow shell script. Don't cache a 2371 # value for INSTALL within a source directory, because that will 2372 # break other packages using the cache if that directory is 2373 # removed, or if the value is a relative name. 2374 INSTALL=$ac_install_sh 2375 fi 2376fi 2377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2378$as_echo "$INSTALL" >&6; } 2379 2380# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2381# It thinks the first close brace ends the variable substitution. 2382test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2383 2384test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2385 2386test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2387 2388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2389$as_echo_n "checking whether build environment is sane... " >&6; } 2390# Reject unsafe characters in $srcdir or the absolute working directory 2391# name. Accept space and tab only in the latter. 2392am_lf=' 2393' 2394case `pwd` in 2395 *[\\\"\#\$\&\'\`$am_lf]*) 2396 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2397esac 2398case $srcdir in 2399 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2400 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2401esac 2402 2403# Do 'set' in a subshell so we don't clobber the current shell's 2404# arguments. Must try -L first in case configure is actually a 2405# symlink; some systems play weird games with the mod time of symlinks 2406# (eg FreeBSD returns the mod time of the symlink's containing 2407# directory). 2408if ( 2409 am_has_slept=no 2410 for am_try in 1 2; do 2411 echo "timestamp, slept: $am_has_slept" > conftest.file 2412 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2413 if test "$*" = "X"; then 2414 # -L didn't work. 2415 set X `ls -t "$srcdir/configure" conftest.file` 2416 fi 2417 if test "$*" != "X $srcdir/configure conftest.file" \ 2418 && test "$*" != "X conftest.file $srcdir/configure"; then 2419 2420 # If neither matched, then we have a broken ls. This can happen 2421 # if, for instance, CONFIG_SHELL is bash and it inherits a 2422 # broken ls alias from the environment. This has actually 2423 # happened. Such a system could not be considered "sane". 2424 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2425 alias in your environment" "$LINENO" 5 2426 fi 2427 if test "$2" = conftest.file || test $am_try -eq 2; then 2428 break 2429 fi 2430 # Just in case. 2431 sleep 1 2432 am_has_slept=yes 2433 done 2434 test "$2" = conftest.file 2435 ) 2436then 2437 # Ok. 2438 : 2439else 2440 as_fn_error $? "newly created file is older than distributed files! 2441Check your system clock" "$LINENO" 5 2442fi 2443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2444$as_echo "yes" >&6; } 2445# If we didn't sleep, we still need to ensure time stamps of config.status and 2446# generated files are strictly newer. 2447am_sleep_pid= 2448if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2449 ( sleep 1 ) & 2450 am_sleep_pid=$! 2451fi 2452 2453rm -f conftest.file 2454 2455test "$program_prefix" != NONE && 2456 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2457# Use a double $ so make ignores it. 2458test "$program_suffix" != NONE && 2459 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2460# Double any \ or $. 2461# By default was `s,x,x', remove it if useless. 2462ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2463program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2464 2465# Expand $ac_aux_dir to an absolute path. 2466am_aux_dir=`cd "$ac_aux_dir" && pwd` 2467 2468if test x"${MISSING+set}" != xset; then 2469 case $am_aux_dir in 2470 *\ * | *\ *) 2471 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2472 *) 2473 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2474 esac 2475fi 2476# Use eval to expand $SHELL 2477if eval "$MISSING --is-lightweight"; then 2478 am_missing_run="$MISSING " 2479else 2480 am_missing_run= 2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2482$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2483fi 2484 2485if test x"${install_sh+set}" != xset; then 2486 case $am_aux_dir in 2487 *\ * | *\ *) 2488 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2489 *) 2490 install_sh="\${SHELL} $am_aux_dir/install-sh" 2491 esac 2492fi 2493 2494# Installed binaries are usually stripped using 'strip' when the user 2495# run "make install-strip". However 'strip' might not be the right 2496# tool to use in cross-compilation environments, therefore Automake 2497# will honor the 'STRIP' environment variable to overrule this program. 2498if test "$cross_compiling" != no; then 2499 if test -n "$ac_tool_prefix"; then 2500 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2501set dummy ${ac_tool_prefix}strip; ac_word=$2 2502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2503$as_echo_n "checking for $ac_word... " >&6; } 2504if ${ac_cv_prog_STRIP+:} false; then : 2505 $as_echo_n "(cached) " >&6 2506else 2507 if test -n "$STRIP"; then 2508 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2509else 2510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2511for as_dir in $PATH 2512do 2513 IFS=$as_save_IFS 2514 test -z "$as_dir" && as_dir=. 2515 for ac_exec_ext in '' $ac_executable_extensions; do 2516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2517 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2519 break 2 2520 fi 2521done 2522 done 2523IFS=$as_save_IFS 2524 2525fi 2526fi 2527STRIP=$ac_cv_prog_STRIP 2528if test -n "$STRIP"; then 2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2530$as_echo "$STRIP" >&6; } 2531else 2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2533$as_echo "no" >&6; } 2534fi 2535 2536 2537fi 2538if test -z "$ac_cv_prog_STRIP"; then 2539 ac_ct_STRIP=$STRIP 2540 # Extract the first word of "strip", so it can be a program name with args. 2541set dummy strip; ac_word=$2 2542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2543$as_echo_n "checking for $ac_word... " >&6; } 2544if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2545 $as_echo_n "(cached) " >&6 2546else 2547 if test -n "$ac_ct_STRIP"; then 2548 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2549else 2550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2551for as_dir in $PATH 2552do 2553 IFS=$as_save_IFS 2554 test -z "$as_dir" && as_dir=. 2555 for ac_exec_ext in '' $ac_executable_extensions; do 2556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2557 ac_cv_prog_ac_ct_STRIP="strip" 2558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2559 break 2 2560 fi 2561done 2562 done 2563IFS=$as_save_IFS 2564 2565fi 2566fi 2567ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2568if test -n "$ac_ct_STRIP"; then 2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2570$as_echo "$ac_ct_STRIP" >&6; } 2571else 2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2573$as_echo "no" >&6; } 2574fi 2575 2576 if test "x$ac_ct_STRIP" = x; then 2577 STRIP=":" 2578 else 2579 case $cross_compiling:$ac_tool_warned in 2580yes:) 2581{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2582$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2583ac_tool_warned=yes ;; 2584esac 2585 STRIP=$ac_ct_STRIP 2586 fi 2587else 2588 STRIP="$ac_cv_prog_STRIP" 2589fi 2590 2591fi 2592INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2593 2594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2595$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2596if test -z "$MKDIR_P"; then 2597 if ${ac_cv_path_mkdir+:} false; then : 2598 $as_echo_n "(cached) " >&6 2599else 2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2601for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2602do 2603 IFS=$as_save_IFS 2604 test -z "$as_dir" && as_dir=. 2605 for ac_prog in mkdir gmkdir; do 2606 for ac_exec_ext in '' $ac_executable_extensions; do 2607 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2608 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2609 'mkdir (GNU coreutils) '* | \ 2610 'mkdir (coreutils) '* | \ 2611 'mkdir (fileutils) '4.1*) 2612 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2613 break 3;; 2614 esac 2615 done 2616 done 2617 done 2618IFS=$as_save_IFS 2619 2620fi 2621 2622 test -d ./--version && rmdir ./--version 2623 if test "${ac_cv_path_mkdir+set}" = set; then 2624 MKDIR_P="$ac_cv_path_mkdir -p" 2625 else 2626 # As a last resort, use the slow shell script. Don't cache a 2627 # value for MKDIR_P within a source directory, because that will 2628 # break other packages using the cache if that directory is 2629 # removed, or if the value is a relative name. 2630 MKDIR_P="$ac_install_sh -d" 2631 fi 2632fi 2633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2634$as_echo "$MKDIR_P" >&6; } 2635 2636for ac_prog in gawk mawk nawk awk 2637do 2638 # Extract the first word of "$ac_prog", so it can be a program name with args. 2639set dummy $ac_prog; ac_word=$2 2640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2641$as_echo_n "checking for $ac_word... " >&6; } 2642if ${ac_cv_prog_AWK+:} false; then : 2643 $as_echo_n "(cached) " >&6 2644else 2645 if test -n "$AWK"; then 2646 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2647else 2648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2649for as_dir in $PATH 2650do 2651 IFS=$as_save_IFS 2652 test -z "$as_dir" && as_dir=. 2653 for ac_exec_ext in '' $ac_executable_extensions; do 2654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2655 ac_cv_prog_AWK="$ac_prog" 2656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2657 break 2 2658 fi 2659done 2660 done 2661IFS=$as_save_IFS 2662 2663fi 2664fi 2665AWK=$ac_cv_prog_AWK 2666if test -n "$AWK"; then 2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2668$as_echo "$AWK" >&6; } 2669else 2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2671$as_echo "no" >&6; } 2672fi 2673 2674 2675 test -n "$AWK" && break 2676done 2677 2678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2679$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2680set x ${MAKE-make} 2681ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2682if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2683 $as_echo_n "(cached) " >&6 2684else 2685 cat >conftest.make <<\_ACEOF 2686SHELL = /bin/sh 2687all: 2688 @echo '@@@%%%=$(MAKE)=@@@%%%' 2689_ACEOF 2690# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2691case `${MAKE-make} -f conftest.make 2>/dev/null` in 2692 *@@@%%%=?*=@@@%%%*) 2693 eval ac_cv_prog_make_${ac_make}_set=yes;; 2694 *) 2695 eval ac_cv_prog_make_${ac_make}_set=no;; 2696esac 2697rm -f conftest.make 2698fi 2699if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2701$as_echo "yes" >&6; } 2702 SET_MAKE= 2703else 2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2705$as_echo "no" >&6; } 2706 SET_MAKE="MAKE=${MAKE-make}" 2707fi 2708 2709rm -rf .tst 2>/dev/null 2710mkdir .tst 2>/dev/null 2711if test -d .tst; then 2712 am__leading_dot=. 2713else 2714 am__leading_dot=_ 2715fi 2716rmdir .tst 2>/dev/null 2717 2718# Check whether --enable-silent-rules was given. 2719if test "${enable_silent_rules+set}" = set; then : 2720 enableval=$enable_silent_rules; 2721fi 2722 2723case $enable_silent_rules in # ((( 2724 yes) AM_DEFAULT_VERBOSITY=0;; 2725 no) AM_DEFAULT_VERBOSITY=1;; 2726 *) AM_DEFAULT_VERBOSITY=1;; 2727esac 2728am_make=${MAKE-make} 2729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2730$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2731if ${am_cv_make_support_nested_variables+:} false; then : 2732 $as_echo_n "(cached) " >&6 2733else 2734 if $as_echo 'TRUE=$(BAR$(V)) 2735BAR0=false 2736BAR1=true 2737V=1 2738am__doit: 2739 @$(TRUE) 2740.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2741 am_cv_make_support_nested_variables=yes 2742else 2743 am_cv_make_support_nested_variables=no 2744fi 2745fi 2746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2747$as_echo "$am_cv_make_support_nested_variables" >&6; } 2748if test $am_cv_make_support_nested_variables = yes; then 2749 AM_V='$(V)' 2750 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2751else 2752 AM_V=$AM_DEFAULT_VERBOSITY 2753 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2754fi 2755AM_BACKSLASH='\' 2756 2757if test "`cd $srcdir && pwd`" != "`pwd`"; then 2758 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2759 # is not polluted with repeated "-I." 2760 am__isrc=' -I$(srcdir)' 2761 # test to see if srcdir already configured 2762 if test -f $srcdir/config.status; then 2763 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2764 fi 2765fi 2766 2767# test whether we have cygpath 2768if test -z "$CYGPATH_W"; then 2769 if (cygpath --version) >/dev/null 2>/dev/null; then 2770 CYGPATH_W='cygpath -w' 2771 else 2772 CYGPATH_W=echo 2773 fi 2774fi 2775 2776 2777# Define the identity of the package. 2778 PACKAGE='paritwine' 2779 VERSION='0.1' 2780 2781 2782cat >>confdefs.h <<_ACEOF 2783#define PACKAGE "$PACKAGE" 2784_ACEOF 2785 2786 2787cat >>confdefs.h <<_ACEOF 2788#define VERSION "$VERSION" 2789_ACEOF 2790 2791# Some tools Automake needs. 2792 2793ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2794 2795 2796AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2797 2798 2799AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2800 2801 2802AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2803 2804 2805MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2806 2807# For better backward compatibility. To be removed once Automake 1.9.x 2808# dies out for good. For more background, see: 2809# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2810# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2811mkdir_p='$(MKDIR_P)' 2812 2813# We need awk for the "check" target (and possibly the TAP driver). The 2814# system "awk" is bad on some platforms. 2815# Always define AMTAR for backward compatibility. Yes, it's still used 2816# in the wild :-( We should find a proper way to deprecate it ... 2817AMTAR='$${TAR-tar}' 2818 2819 2820# We'll loop over all known methods to create a tar archive until one works. 2821_am_tools='gnutar pax cpio none' 2822 2823am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2824 2825 2826 2827 2828 2829 2830# POSIX will say in a future version that running "rm -f" with no argument 2831# is OK; and we want to be able to make that assumption in our Makefile 2832# recipes. So use an aggressive probe to check that the usage we want is 2833# actually supported "in the wild" to an acceptable degree. 2834# See automake bug#10828. 2835# To make any issue more visible, cause the running configure to be aborted 2836# by default if the 'rm' program in use doesn't match our expectations; the 2837# user can still override this though. 2838if rm -f && rm -fr && rm -rf; then : OK; else 2839 cat >&2 <<'END' 2840Oops! 2841 2842Your 'rm' program seems unable to run without file operands specified 2843on the command line, even when the '-f' option is present. This is contrary 2844to the behaviour of most rm programs out there, and not conforming with 2845the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2846 2847Please tell bug-automake@gnu.org about your system, including the value 2848of your $PATH and any error possibly output before this message. This 2849can help us improve future automake versions. 2850 2851END 2852 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2853 echo 'Configuration will proceed anyway, since you have set the' >&2 2854 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2855 echo >&2 2856 else 2857 cat >&2 <<'END' 2858Aborting the configuration process, to ensure you take notice of the issue. 2859 2860You can download and install GNU coreutils to get an 'rm' implementation 2861that behaves properly: <https://www.gnu.org/software/coreutils/>. 2862 2863If you want to complete the configuration process using your problematic 2864'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2865to "yes", and re-run configure. 2866 2867END 2868 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2869 fi 2870fi 2871 2872 2873# Make sure we can run config.sub. 2874$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2875 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2876 2877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2878$as_echo_n "checking build system type... " >&6; } 2879if ${ac_cv_build+:} false; then : 2880 $as_echo_n "(cached) " >&6 2881else 2882 ac_build_alias=$build_alias 2883test "x$ac_build_alias" = x && 2884 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2885test "x$ac_build_alias" = x && 2886 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2887ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2888 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2889 2890fi 2891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2892$as_echo "$ac_cv_build" >&6; } 2893case $ac_cv_build in 2894*-*-*) ;; 2895*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2896esac 2897build=$ac_cv_build 2898ac_save_IFS=$IFS; IFS='-' 2899set x $ac_cv_build 2900shift 2901build_cpu=$1 2902build_vendor=$2 2903shift; shift 2904# Remember, the first character of IFS is used to create $*, 2905# except with old shells: 2906build_os=$* 2907IFS=$ac_save_IFS 2908case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2909 2910 2911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2912$as_echo_n "checking host system type... " >&6; } 2913if ${ac_cv_host+:} false; then : 2914 $as_echo_n "(cached) " >&6 2915else 2916 if test "x$host_alias" = x; then 2917 ac_cv_host=$ac_cv_build 2918else 2919 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2920 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2921fi 2922 2923fi 2924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2925$as_echo "$ac_cv_host" >&6; } 2926case $ac_cv_host in 2927*-*-*) ;; 2928*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2929esac 2930host=$ac_cv_host 2931ac_save_IFS=$IFS; IFS='-' 2932set x $ac_cv_host 2933shift 2934host_cpu=$1 2935host_vendor=$2 2936shift; shift 2937# Remember, the first character of IFS is used to create $*, 2938# except with old shells: 2939host_os=$* 2940IFS=$ac_save_IFS 2941case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2942 2943 2944 2945# Check for programs. 2946ac_ext=c 2947ac_cpp='$CPP $CPPFLAGS' 2948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2950ac_compiler_gnu=$ac_cv_c_compiler_gnu 2951if test -n "$ac_tool_prefix"; then 2952 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2953set dummy ${ac_tool_prefix}gcc; ac_word=$2 2954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2955$as_echo_n "checking for $ac_word... " >&6; } 2956if ${ac_cv_prog_CC+:} false; then : 2957 $as_echo_n "(cached) " >&6 2958else 2959 if test -n "$CC"; then 2960 ac_cv_prog_CC="$CC" # Let the user override the test. 2961else 2962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2963for as_dir in $PATH 2964do 2965 IFS=$as_save_IFS 2966 test -z "$as_dir" && as_dir=. 2967 for ac_exec_ext in '' $ac_executable_extensions; do 2968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2969 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2971 break 2 2972 fi 2973done 2974 done 2975IFS=$as_save_IFS 2976 2977fi 2978fi 2979CC=$ac_cv_prog_CC 2980if test -n "$CC"; then 2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2982$as_echo "$CC" >&6; } 2983else 2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2985$as_echo "no" >&6; } 2986fi 2987 2988 2989fi 2990if test -z "$ac_cv_prog_CC"; then 2991 ac_ct_CC=$CC 2992 # Extract the first word of "gcc", so it can be a program name with args. 2993set dummy gcc; ac_word=$2 2994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2995$as_echo_n "checking for $ac_word... " >&6; } 2996if ${ac_cv_prog_ac_ct_CC+:} false; then : 2997 $as_echo_n "(cached) " >&6 2998else 2999 if test -n "$ac_ct_CC"; then 3000 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3001else 3002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3003for as_dir in $PATH 3004do 3005 IFS=$as_save_IFS 3006 test -z "$as_dir" && as_dir=. 3007 for ac_exec_ext in '' $ac_executable_extensions; do 3008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3009 ac_cv_prog_ac_ct_CC="gcc" 3010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3011 break 2 3012 fi 3013done 3014 done 3015IFS=$as_save_IFS 3016 3017fi 3018fi 3019ac_ct_CC=$ac_cv_prog_ac_ct_CC 3020if test -n "$ac_ct_CC"; then 3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3022$as_echo "$ac_ct_CC" >&6; } 3023else 3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3025$as_echo "no" >&6; } 3026fi 3027 3028 if test "x$ac_ct_CC" = x; then 3029 CC="" 3030 else 3031 case $cross_compiling:$ac_tool_warned in 3032yes:) 3033{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3034$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3035ac_tool_warned=yes ;; 3036esac 3037 CC=$ac_ct_CC 3038 fi 3039else 3040 CC="$ac_cv_prog_CC" 3041fi 3042 3043if test -z "$CC"; then 3044 if test -n "$ac_tool_prefix"; then 3045 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3046set dummy ${ac_tool_prefix}cc; ac_word=$2 3047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3048$as_echo_n "checking for $ac_word... " >&6; } 3049if ${ac_cv_prog_CC+:} false; then : 3050 $as_echo_n "(cached) " >&6 3051else 3052 if test -n "$CC"; then 3053 ac_cv_prog_CC="$CC" # Let the user override the test. 3054else 3055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3056for as_dir in $PATH 3057do 3058 IFS=$as_save_IFS 3059 test -z "$as_dir" && as_dir=. 3060 for ac_exec_ext in '' $ac_executable_extensions; do 3061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3062 ac_cv_prog_CC="${ac_tool_prefix}cc" 3063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3064 break 2 3065 fi 3066done 3067 done 3068IFS=$as_save_IFS 3069 3070fi 3071fi 3072CC=$ac_cv_prog_CC 3073if test -n "$CC"; then 3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3075$as_echo "$CC" >&6; } 3076else 3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3078$as_echo "no" >&6; } 3079fi 3080 3081 3082 fi 3083fi 3084if test -z "$CC"; then 3085 # Extract the first word of "cc", so it can be a program name with args. 3086set dummy cc; ac_word=$2 3087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3088$as_echo_n "checking for $ac_word... " >&6; } 3089if ${ac_cv_prog_CC+:} false; then : 3090 $as_echo_n "(cached) " >&6 3091else 3092 if test -n "$CC"; then 3093 ac_cv_prog_CC="$CC" # Let the user override the test. 3094else 3095 ac_prog_rejected=no 3096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3097for as_dir in $PATH 3098do 3099 IFS=$as_save_IFS 3100 test -z "$as_dir" && as_dir=. 3101 for ac_exec_ext in '' $ac_executable_extensions; do 3102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3103 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3104 ac_prog_rejected=yes 3105 continue 3106 fi 3107 ac_cv_prog_CC="cc" 3108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3109 break 2 3110 fi 3111done 3112 done 3113IFS=$as_save_IFS 3114 3115if test $ac_prog_rejected = yes; then 3116 # We found a bogon in the path, so make sure we never use it. 3117 set dummy $ac_cv_prog_CC 3118 shift 3119 if test $# != 0; then 3120 # We chose a different compiler from the bogus one. 3121 # However, it has the same basename, so the bogon will be chosen 3122 # first if we set CC to just the basename; use the full file name. 3123 shift 3124 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3125 fi 3126fi 3127fi 3128fi 3129CC=$ac_cv_prog_CC 3130if test -n "$CC"; then 3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3132$as_echo "$CC" >&6; } 3133else 3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3135$as_echo "no" >&6; } 3136fi 3137 3138 3139fi 3140if test -z "$CC"; then 3141 if test -n "$ac_tool_prefix"; then 3142 for ac_prog in cl.exe 3143 do 3144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3145set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3147$as_echo_n "checking for $ac_word... " >&6; } 3148if ${ac_cv_prog_CC+:} false; then : 3149 $as_echo_n "(cached) " >&6 3150else 3151 if test -n "$CC"; then 3152 ac_cv_prog_CC="$CC" # Let the user override the test. 3153else 3154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3155for as_dir in $PATH 3156do 3157 IFS=$as_save_IFS 3158 test -z "$as_dir" && as_dir=. 3159 for ac_exec_ext in '' $ac_executable_extensions; do 3160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3161 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3163 break 2 3164 fi 3165done 3166 done 3167IFS=$as_save_IFS 3168 3169fi 3170fi 3171CC=$ac_cv_prog_CC 3172if test -n "$CC"; then 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3174$as_echo "$CC" >&6; } 3175else 3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3177$as_echo "no" >&6; } 3178fi 3179 3180 3181 test -n "$CC" && break 3182 done 3183fi 3184if test -z "$CC"; then 3185 ac_ct_CC=$CC 3186 for ac_prog in cl.exe 3187do 3188 # Extract the first word of "$ac_prog", so it can be a program name with args. 3189set dummy $ac_prog; ac_word=$2 3190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3191$as_echo_n "checking for $ac_word... " >&6; } 3192if ${ac_cv_prog_ac_ct_CC+:} false; then : 3193 $as_echo_n "(cached) " >&6 3194else 3195 if test -n "$ac_ct_CC"; then 3196 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3197else 3198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3199for as_dir in $PATH 3200do 3201 IFS=$as_save_IFS 3202 test -z "$as_dir" && as_dir=. 3203 for ac_exec_ext in '' $ac_executable_extensions; do 3204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3205 ac_cv_prog_ac_ct_CC="$ac_prog" 3206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3207 break 2 3208 fi 3209done 3210 done 3211IFS=$as_save_IFS 3212 3213fi 3214fi 3215ac_ct_CC=$ac_cv_prog_ac_ct_CC 3216if test -n "$ac_ct_CC"; then 3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3218$as_echo "$ac_ct_CC" >&6; } 3219else 3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3221$as_echo "no" >&6; } 3222fi 3223 3224 3225 test -n "$ac_ct_CC" && break 3226done 3227 3228 if test "x$ac_ct_CC" = x; then 3229 CC="" 3230 else 3231 case $cross_compiling:$ac_tool_warned in 3232yes:) 3233{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3234$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3235ac_tool_warned=yes ;; 3236esac 3237 CC=$ac_ct_CC 3238 fi 3239fi 3240 3241fi 3242 3243 3244test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3245$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3246as_fn_error $? "no acceptable C compiler found in \$PATH 3247See \`config.log' for more details" "$LINENO" 5; } 3248 3249# Provide some information about the compiler. 3250$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3251set X $ac_compile 3252ac_compiler=$2 3253for ac_option in --version -v -V -qversion; do 3254 { { ac_try="$ac_compiler $ac_option >&5" 3255case "(($ac_try" in 3256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3257 *) ac_try_echo=$ac_try;; 3258esac 3259eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3260$as_echo "$ac_try_echo"; } >&5 3261 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3262 ac_status=$? 3263 if test -s conftest.err; then 3264 sed '10a\ 3265... rest of stderr output deleted ... 3266 10q' conftest.err >conftest.er1 3267 cat conftest.er1 >&5 3268 fi 3269 rm -f conftest.er1 conftest.err 3270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3271 test $ac_status = 0; } 3272done 3273 3274cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3275/* end confdefs.h. */ 3276 3277int 3278main () 3279{ 3280 3281 ; 3282 return 0; 3283} 3284_ACEOF 3285ac_clean_files_save=$ac_clean_files 3286ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3287# Try to create an executable without -o first, disregard a.out. 3288# It will help us diagnose broken compilers, and finding out an intuition 3289# of exeext. 3290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3291$as_echo_n "checking whether the C compiler works... " >&6; } 3292ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3293 3294# The possible output files: 3295ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3296 3297ac_rmfiles= 3298for ac_file in $ac_files 3299do 3300 case $ac_file in 3301 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3302 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3303 esac 3304done 3305rm -f $ac_rmfiles 3306 3307if { { ac_try="$ac_link_default" 3308case "(($ac_try" in 3309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3310 *) ac_try_echo=$ac_try;; 3311esac 3312eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3313$as_echo "$ac_try_echo"; } >&5 3314 (eval "$ac_link_default") 2>&5 3315 ac_status=$? 3316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3317 test $ac_status = 0; }; then : 3318 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3319# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3320# in a Makefile. We should not override ac_cv_exeext if it was cached, 3321# so that the user can short-circuit this test for compilers unknown to 3322# Autoconf. 3323for ac_file in $ac_files '' 3324do 3325 test -f "$ac_file" || continue 3326 case $ac_file in 3327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3328 ;; 3329 [ab].out ) 3330 # We found the default executable, but exeext='' is most 3331 # certainly right. 3332 break;; 3333 *.* ) 3334 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3335 then :; else 3336 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3337 fi 3338 # We set ac_cv_exeext here because the later test for it is not 3339 # safe: cross compilers may not add the suffix if given an `-o' 3340 # argument, so we may need to know it at that point already. 3341 # Even if this section looks crufty: it has the advantage of 3342 # actually working. 3343 break;; 3344 * ) 3345 break;; 3346 esac 3347done 3348test "$ac_cv_exeext" = no && ac_cv_exeext= 3349 3350else 3351 ac_file='' 3352fi 3353if test -z "$ac_file"; then : 3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3355$as_echo "no" >&6; } 3356$as_echo "$as_me: failed program was:" >&5 3357sed 's/^/| /' conftest.$ac_ext >&5 3358 3359{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3360$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3361as_fn_error 77 "C compiler cannot create executables 3362See \`config.log' for more details" "$LINENO" 5; } 3363else 3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3365$as_echo "yes" >&6; } 3366fi 3367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3368$as_echo_n "checking for C compiler default output file name... " >&6; } 3369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3370$as_echo "$ac_file" >&6; } 3371ac_exeext=$ac_cv_exeext 3372 3373rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3374ac_clean_files=$ac_clean_files_save 3375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3376$as_echo_n "checking for suffix of executables... " >&6; } 3377if { { ac_try="$ac_link" 3378case "(($ac_try" in 3379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3380 *) ac_try_echo=$ac_try;; 3381esac 3382eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3383$as_echo "$ac_try_echo"; } >&5 3384 (eval "$ac_link") 2>&5 3385 ac_status=$? 3386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3387 test $ac_status = 0; }; then : 3388 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3389# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3390# work properly (i.e., refer to `conftest.exe'), while it won't with 3391# `rm'. 3392for ac_file in conftest.exe conftest conftest.*; do 3393 test -f "$ac_file" || continue 3394 case $ac_file in 3395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3396 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3397 break;; 3398 * ) break;; 3399 esac 3400done 3401else 3402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3403$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3404as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3405See \`config.log' for more details" "$LINENO" 5; } 3406fi 3407rm -f conftest conftest$ac_cv_exeext 3408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3409$as_echo "$ac_cv_exeext" >&6; } 3410 3411rm -f conftest.$ac_ext 3412EXEEXT=$ac_cv_exeext 3413ac_exeext=$EXEEXT 3414cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3415/* end confdefs.h. */ 3416#include <stdio.h> 3417int 3418main () 3419{ 3420FILE *f = fopen ("conftest.out", "w"); 3421 return ferror (f) || fclose (f) != 0; 3422 3423 ; 3424 return 0; 3425} 3426_ACEOF 3427ac_clean_files="$ac_clean_files conftest.out" 3428# Check that the compiler produces executables we can run. If not, either 3429# the compiler is broken, or we cross compile. 3430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3431$as_echo_n "checking whether we are cross compiling... " >&6; } 3432if test "$cross_compiling" != yes; then 3433 { { ac_try="$ac_link" 3434case "(($ac_try" in 3435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3436 *) ac_try_echo=$ac_try;; 3437esac 3438eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3439$as_echo "$ac_try_echo"; } >&5 3440 (eval "$ac_link") 2>&5 3441 ac_status=$? 3442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3443 test $ac_status = 0; } 3444 if { ac_try='./conftest$ac_cv_exeext' 3445 { { case "(($ac_try" in 3446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3447 *) ac_try_echo=$ac_try;; 3448esac 3449eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3450$as_echo "$ac_try_echo"; } >&5 3451 (eval "$ac_try") 2>&5 3452 ac_status=$? 3453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3454 test $ac_status = 0; }; }; then 3455 cross_compiling=no 3456 else 3457 if test "$cross_compiling" = maybe; then 3458 cross_compiling=yes 3459 else 3460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3461$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3462as_fn_error $? "cannot run C compiled programs. 3463If you meant to cross compile, use \`--host'. 3464See \`config.log' for more details" "$LINENO" 5; } 3465 fi 3466 fi 3467fi 3468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3469$as_echo "$cross_compiling" >&6; } 3470 3471rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3472ac_clean_files=$ac_clean_files_save 3473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3474$as_echo_n "checking for suffix of object files... " >&6; } 3475if ${ac_cv_objext+:} false; then : 3476 $as_echo_n "(cached) " >&6 3477else 3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3479/* end confdefs.h. */ 3480 3481int 3482main () 3483{ 3484 3485 ; 3486 return 0; 3487} 3488_ACEOF 3489rm -f conftest.o conftest.obj 3490if { { ac_try="$ac_compile" 3491case "(($ac_try" in 3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3493 *) ac_try_echo=$ac_try;; 3494esac 3495eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3496$as_echo "$ac_try_echo"; } >&5 3497 (eval "$ac_compile") 2>&5 3498 ac_status=$? 3499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3500 test $ac_status = 0; }; then : 3501 for ac_file in conftest.o conftest.obj conftest.*; do 3502 test -f "$ac_file" || continue; 3503 case $ac_file in 3504 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3505 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3506 break;; 3507 esac 3508done 3509else 3510 $as_echo "$as_me: failed program was:" >&5 3511sed 's/^/| /' conftest.$ac_ext >&5 3512 3513{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3514$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3515as_fn_error $? "cannot compute suffix of object files: cannot compile 3516See \`config.log' for more details" "$LINENO" 5; } 3517fi 3518rm -f conftest.$ac_cv_objext conftest.$ac_ext 3519fi 3520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3521$as_echo "$ac_cv_objext" >&6; } 3522OBJEXT=$ac_cv_objext 3523ac_objext=$OBJEXT 3524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3525$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3526if ${ac_cv_c_compiler_gnu+:} false; then : 3527 $as_echo_n "(cached) " >&6 3528else 3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3530/* end confdefs.h. */ 3531 3532int 3533main () 3534{ 3535#ifndef __GNUC__ 3536 choke me 3537#endif 3538 3539 ; 3540 return 0; 3541} 3542_ACEOF 3543if ac_fn_c_try_compile "$LINENO"; then : 3544 ac_compiler_gnu=yes 3545else 3546 ac_compiler_gnu=no 3547fi 3548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3549ac_cv_c_compiler_gnu=$ac_compiler_gnu 3550 3551fi 3552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3553$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3554if test $ac_compiler_gnu = yes; then 3555 GCC=yes 3556else 3557 GCC= 3558fi 3559ac_test_CFLAGS=${CFLAGS+set} 3560ac_save_CFLAGS=$CFLAGS 3561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3562$as_echo_n "checking whether $CC accepts -g... " >&6; } 3563if ${ac_cv_prog_cc_g+:} false; then : 3564 $as_echo_n "(cached) " >&6 3565else 3566 ac_save_c_werror_flag=$ac_c_werror_flag 3567 ac_c_werror_flag=yes 3568 ac_cv_prog_cc_g=no 3569 CFLAGS="-g" 3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3571/* end confdefs.h. */ 3572 3573int 3574main () 3575{ 3576 3577 ; 3578 return 0; 3579} 3580_ACEOF 3581if ac_fn_c_try_compile "$LINENO"; then : 3582 ac_cv_prog_cc_g=yes 3583else 3584 CFLAGS="" 3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3586/* end confdefs.h. */ 3587 3588int 3589main () 3590{ 3591 3592 ; 3593 return 0; 3594} 3595_ACEOF 3596if ac_fn_c_try_compile "$LINENO"; then : 3597 3598else 3599 ac_c_werror_flag=$ac_save_c_werror_flag 3600 CFLAGS="-g" 3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3602/* end confdefs.h. */ 3603 3604int 3605main () 3606{ 3607 3608 ; 3609 return 0; 3610} 3611_ACEOF 3612if ac_fn_c_try_compile "$LINENO"; then : 3613 ac_cv_prog_cc_g=yes 3614fi 3615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3616fi 3617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3618fi 3619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3620 ac_c_werror_flag=$ac_save_c_werror_flag 3621fi 3622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3623$as_echo "$ac_cv_prog_cc_g" >&6; } 3624if test "$ac_test_CFLAGS" = set; then 3625 CFLAGS=$ac_save_CFLAGS 3626elif test $ac_cv_prog_cc_g = yes; then 3627 if test "$GCC" = yes; then 3628 CFLAGS="-g -O2" 3629 else 3630 CFLAGS="-g" 3631 fi 3632else 3633 if test "$GCC" = yes; then 3634 CFLAGS="-O2" 3635 else 3636 CFLAGS= 3637 fi 3638fi 3639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3640$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3641if ${ac_cv_prog_cc_c89+:} false; then : 3642 $as_echo_n "(cached) " >&6 3643else 3644 ac_cv_prog_cc_c89=no 3645ac_save_CC=$CC 3646cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3647/* end confdefs.h. */ 3648#include <stdarg.h> 3649#include <stdio.h> 3650struct stat; 3651/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3652struct buf { int x; }; 3653FILE * (*rcsopen) (struct buf *, struct stat *, int); 3654static char *e (p, i) 3655 char **p; 3656 int i; 3657{ 3658 return p[i]; 3659} 3660static char *f (char * (*g) (char **, int), char **p, ...) 3661{ 3662 char *s; 3663 va_list v; 3664 va_start (v,p); 3665 s = g (p, va_arg (v,int)); 3666 va_end (v); 3667 return s; 3668} 3669 3670/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3671 function prototypes and stuff, but not '\xHH' hex character constants. 3672 These don't provoke an error unfortunately, instead are silently treated 3673 as 'x'. The following induces an error, until -std is added to get 3674 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3675 array size at least. It's necessary to write '\x00'==0 to get something 3676 that's true only with -std. */ 3677int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3678 3679/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3680 inside strings and character constants. */ 3681#define FOO(x) 'x' 3682int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3683 3684int test (int i, double x); 3685struct s1 {int (*f) (int a);}; 3686struct s2 {int (*f) (double a);}; 3687int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3688int argc; 3689char **argv; 3690int 3691main () 3692{ 3693return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3694 ; 3695 return 0; 3696} 3697_ACEOF 3698for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3699 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3700do 3701 CC="$ac_save_CC $ac_arg" 3702 if ac_fn_c_try_compile "$LINENO"; then : 3703 ac_cv_prog_cc_c89=$ac_arg 3704fi 3705rm -f core conftest.err conftest.$ac_objext 3706 test "x$ac_cv_prog_cc_c89" != "xno" && break 3707done 3708rm -f conftest.$ac_ext 3709CC=$ac_save_CC 3710 3711fi 3712# AC_CACHE_VAL 3713case "x$ac_cv_prog_cc_c89" in 3714 x) 3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3716$as_echo "none needed" >&6; } ;; 3717 xno) 3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3719$as_echo "unsupported" >&6; } ;; 3720 *) 3721 CC="$CC $ac_cv_prog_cc_c89" 3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3723$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3724esac 3725if test "x$ac_cv_prog_cc_c89" != xno; then : 3726 3727fi 3728 3729ac_ext=c 3730ac_cpp='$CPP $CPPFLAGS' 3731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3733ac_compiler_gnu=$ac_cv_c_compiler_gnu 3734 3735ac_ext=c 3736ac_cpp='$CPP $CPPFLAGS' 3737ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3738ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3739ac_compiler_gnu=$ac_cv_c_compiler_gnu 3740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3741$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3742if ${am_cv_prog_cc_c_o+:} false; then : 3743 $as_echo_n "(cached) " >&6 3744else 3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3746/* end confdefs.h. */ 3747 3748int 3749main () 3750{ 3751 3752 ; 3753 return 0; 3754} 3755_ACEOF 3756 # Make sure it works both with $CC and with simple cc. 3757 # Following AC_PROG_CC_C_O, we do the test twice because some 3758 # compilers refuse to overwrite an existing .o file with -o, 3759 # though they will create one. 3760 am_cv_prog_cc_c_o=yes 3761 for am_i in 1 2; do 3762 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3763 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3764 ac_status=$? 3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3766 (exit $ac_status); } \ 3767 && test -f conftest2.$ac_objext; then 3768 : OK 3769 else 3770 am_cv_prog_cc_c_o=no 3771 break 3772 fi 3773 done 3774 rm -f core conftest* 3775 unset am_i 3776fi 3777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3778$as_echo "$am_cv_prog_cc_c_o" >&6; } 3779if test "$am_cv_prog_cc_c_o" != yes; then 3780 # Losing compiler, so override with the script. 3781 # FIXME: It is wrong to rewrite CC. 3782 # But if we don't then we get into trouble of one sort or another. 3783 # A longer-term fix would be to have automake use am__CC in this case, 3784 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3785 CC="$am_aux_dir/compile $CC" 3786fi 3787ac_ext=c 3788ac_cpp='$CPP $CPPFLAGS' 3789ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3790ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3791ac_compiler_gnu=$ac_cv_c_compiler_gnu 3792 3793DEPDIR="${am__leading_dot}deps" 3794 3795ac_config_commands="$ac_config_commands depfiles" 3796 3797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3798$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3799cat > confinc.mk << 'END' 3800am__doit: 3801 @echo this is the am__doit target >confinc.out 3802.PHONY: am__doit 3803END 3804am__include="#" 3805am__quote= 3806# BSD make does it like this. 3807echo '.include "confinc.mk" # ignored' > confmf.BSD 3808# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3809echo 'include confinc.mk # ignored' > confmf.GNU 3810_am_result=no 3811for s in GNU BSD; do 3812 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3813 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3814 ac_status=$? 3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3816 (exit $ac_status); } 3817 case $?:`cat confinc.out 2>/dev/null` in #( 3818 '0:this is the am__doit target') : 3819 case $s in #( 3820 BSD) : 3821 am__include='.include' am__quote='"' ;; #( 3822 *) : 3823 am__include='include' am__quote='' ;; 3824esac ;; #( 3825 *) : 3826 ;; 3827esac 3828 if test "$am__include" != "#"; then 3829 _am_result="yes ($s style)" 3830 break 3831 fi 3832done 3833rm -f confinc.* confmf.* 3834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3835$as_echo "${_am_result}" >&6; } 3836 3837# Check whether --enable-dependency-tracking was given. 3838if test "${enable_dependency_tracking+set}" = set; then : 3839 enableval=$enable_dependency_tracking; 3840fi 3841 3842if test "x$enable_dependency_tracking" != xno; then 3843 am_depcomp="$ac_aux_dir/depcomp" 3844 AMDEPBACKSLASH='\' 3845 am__nodep='_no' 3846fi 3847 if test "x$enable_dependency_tracking" != xno; then 3848 AMDEP_TRUE= 3849 AMDEP_FALSE='#' 3850else 3851 AMDEP_TRUE='#' 3852 AMDEP_FALSE= 3853fi 3854 3855 3856 3857depcc="$CC" am_compiler_list= 3858 3859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3860$as_echo_n "checking dependency style of $depcc... " >&6; } 3861if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3862 $as_echo_n "(cached) " >&6 3863else 3864 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3865 # We make a subdir and do the tests there. Otherwise we can end up 3866 # making bogus files that we don't know about and never remove. For 3867 # instance it was reported that on HP-UX the gcc test will end up 3868 # making a dummy file named 'D' -- because '-MD' means "put the output 3869 # in D". 3870 rm -rf conftest.dir 3871 mkdir conftest.dir 3872 # Copy depcomp to subdir because otherwise we won't find it if we're 3873 # using a relative directory. 3874 cp "$am_depcomp" conftest.dir 3875 cd conftest.dir 3876 # We will build objects and dependencies in a subdirectory because 3877 # it helps to detect inapplicable dependency modes. For instance 3878 # both Tru64's cc and ICC support -MD to output dependencies as a 3879 # side effect of compilation, but ICC will put the dependencies in 3880 # the current directory while Tru64 will put them in the object 3881 # directory. 3882 mkdir sub 3883 3884 am_cv_CC_dependencies_compiler_type=none 3885 if test "$am_compiler_list" = ""; then 3886 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3887 fi 3888 am__universal=false 3889 case " $depcc " in #( 3890 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3891 esac 3892 3893 for depmode in $am_compiler_list; do 3894 # Setup a source with many dependencies, because some compilers 3895 # like to wrap large dependency lists on column 80 (with \), and 3896 # we should not choose a depcomp mode which is confused by this. 3897 # 3898 # We need to recreate these files for each test, as the compiler may 3899 # overwrite some of them when testing with obscure command lines. 3900 # This happens at least with the AIX C compiler. 3901 : > sub/conftest.c 3902 for i in 1 2 3 4 5 6; do 3903 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3904 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3905 # Solaris 10 /bin/sh. 3906 echo '/* dummy */' > sub/conftst$i.h 3907 done 3908 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3909 3910 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3911 # mode. It turns out that the SunPro C++ compiler does not properly 3912 # handle '-M -o', and we need to detect this. Also, some Intel 3913 # versions had trouble with output in subdirs. 3914 am__obj=sub/conftest.${OBJEXT-o} 3915 am__minus_obj="-o $am__obj" 3916 case $depmode in 3917 gcc) 3918 # This depmode causes a compiler race in universal mode. 3919 test "$am__universal" = false || continue 3920 ;; 3921 nosideeffect) 3922 # After this tag, mechanisms are not by side-effect, so they'll 3923 # only be used when explicitly requested. 3924 if test "x$enable_dependency_tracking" = xyes; then 3925 continue 3926 else 3927 break 3928 fi 3929 ;; 3930 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3931 # This compiler won't grok '-c -o', but also, the minuso test has 3932 # not run yet. These depmodes are late enough in the game, and 3933 # so weak that their functioning should not be impacted. 3934 am__obj=conftest.${OBJEXT-o} 3935 am__minus_obj= 3936 ;; 3937 none) break ;; 3938 esac 3939 if depmode=$depmode \ 3940 source=sub/conftest.c object=$am__obj \ 3941 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3942 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3943 >/dev/null 2>conftest.err && 3944 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3945 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3946 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3947 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3948 # icc doesn't choke on unknown options, it will just issue warnings 3949 # or remarks (even with -Werror). So we grep stderr for any message 3950 # that says an option was ignored or not supported. 3951 # When given -MP, icc 7.0 and 7.1 complain thusly: 3952 # icc: Command line warning: ignoring option '-M'; no argument required 3953 # The diagnosis changed in icc 8.0: 3954 # icc: Command line remark: option '-MP' not supported 3955 if (grep 'ignoring option' conftest.err || 3956 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3957 am_cv_CC_dependencies_compiler_type=$depmode 3958 break 3959 fi 3960 fi 3961 done 3962 3963 cd .. 3964 rm -rf conftest.dir 3965else 3966 am_cv_CC_dependencies_compiler_type=none 3967fi 3968 3969fi 3970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3971$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3972CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3973 3974 if 3975 test "x$enable_dependency_tracking" != xno \ 3976 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3977 am__fastdepCC_TRUE= 3978 am__fastdepCC_FALSE='#' 3979else 3980 am__fastdepCC_TRUE='#' 3981 am__fastdepCC_FALSE= 3982fi 3983 3984 3985ac_ext=c 3986ac_cpp='$CPP $CPPFLAGS' 3987ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3988ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3989ac_compiler_gnu=$ac_cv_c_compiler_gnu 3990 3991 3992# Set up LibTool. 3993case `pwd` in 3994 *\ * | *\ *) 3995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3996$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3997esac 3998 3999 4000 4001macro_version='2.4.6' 4002macro_revision='2.4.6' 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016ltmain=$ac_aux_dir/ltmain.sh 4017 4018# Backslashify metacharacters that are still active within 4019# double-quoted strings. 4020sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4021 4022# Same as above, but do not quote variable references. 4023double_quote_subst='s/\(["`\\]\)/\\\1/g' 4024 4025# Sed substitution to delay expansion of an escaped shell variable in a 4026# double_quote_subst'ed string. 4027delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4028 4029# Sed substitution to delay expansion of an escaped single quote. 4030delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4031 4032# Sed substitution to avoid accidental globbing in evaled expressions 4033no_glob_subst='s/\*/\\\*/g' 4034 4035ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4036ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4037ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4038 4039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4040$as_echo_n "checking how to print strings... " >&6; } 4041# Test print first, because it will be a builtin if present. 4042if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4043 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4044 ECHO='print -r --' 4045elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4046 ECHO='printf %s\n' 4047else 4048 # Use this function as a fallback that always works. 4049 func_fallback_echo () 4050 { 4051 eval 'cat <<_LTECHO_EOF 4052$1 4053_LTECHO_EOF' 4054 } 4055 ECHO='func_fallback_echo' 4056fi 4057 4058# func_echo_all arg... 4059# Invoke $ECHO with all args, space-separated. 4060func_echo_all () 4061{ 4062 $ECHO "" 4063} 4064 4065case $ECHO in 4066 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4067$as_echo "printf" >&6; } ;; 4068 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4069$as_echo "print -r" >&6; } ;; 4070 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4071$as_echo "cat" >&6; } ;; 4072esac 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4088$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4089if ${ac_cv_path_SED+:} false; then : 4090 $as_echo_n "(cached) " >&6 4091else 4092 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4093 for ac_i in 1 2 3 4 5 6 7; do 4094 ac_script="$ac_script$as_nl$ac_script" 4095 done 4096 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4097 { ac_script=; unset ac_script;} 4098 if test -z "$SED"; then 4099 ac_path_SED_found=false 4100 # Loop through the user's path and test for each of PROGNAME-LIST 4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4102for as_dir in $PATH 4103do 4104 IFS=$as_save_IFS 4105 test -z "$as_dir" && as_dir=. 4106 for ac_prog in sed gsed; do 4107 for ac_exec_ext in '' $ac_executable_extensions; do 4108 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4109 as_fn_executable_p "$ac_path_SED" || continue 4110# Check for GNU ac_path_SED and select it if it is found. 4111 # Check for GNU $ac_path_SED 4112case `"$ac_path_SED" --version 2>&1` in 4113*GNU*) 4114 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4115*) 4116 ac_count=0 4117 $as_echo_n 0123456789 >"conftest.in" 4118 while : 4119 do 4120 cat "conftest.in" "conftest.in" >"conftest.tmp" 4121 mv "conftest.tmp" "conftest.in" 4122 cp "conftest.in" "conftest.nl" 4123 $as_echo '' >> "conftest.nl" 4124 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4125 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4126 as_fn_arith $ac_count + 1 && ac_count=$as_val 4127 if test $ac_count -gt ${ac_path_SED_max-0}; then 4128 # Best one so far, save it but keep looking for a better one 4129 ac_cv_path_SED="$ac_path_SED" 4130 ac_path_SED_max=$ac_count 4131 fi 4132 # 10*(2^10) chars as input seems more than enough 4133 test $ac_count -gt 10 && break 4134 done 4135 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4136esac 4137 4138 $ac_path_SED_found && break 3 4139 done 4140 done 4141 done 4142IFS=$as_save_IFS 4143 if test -z "$ac_cv_path_SED"; then 4144 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4145 fi 4146else 4147 ac_cv_path_SED=$SED 4148fi 4149 4150fi 4151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4152$as_echo "$ac_cv_path_SED" >&6; } 4153 SED="$ac_cv_path_SED" 4154 rm -f conftest.sed 4155 4156test -z "$SED" && SED=sed 4157Xsed="$SED -e 1s/^X//" 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4170$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4171if ${ac_cv_path_GREP+:} false; then : 4172 $as_echo_n "(cached) " >&6 4173else 4174 if test -z "$GREP"; then 4175 ac_path_GREP_found=false 4176 # Loop through the user's path and test for each of PROGNAME-LIST 4177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4178for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4179do 4180 IFS=$as_save_IFS 4181 test -z "$as_dir" && as_dir=. 4182 for ac_prog in grep ggrep; do 4183 for ac_exec_ext in '' $ac_executable_extensions; do 4184 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4185 as_fn_executable_p "$ac_path_GREP" || continue 4186# Check for GNU ac_path_GREP and select it if it is found. 4187 # Check for GNU $ac_path_GREP 4188case `"$ac_path_GREP" --version 2>&1` in 4189*GNU*) 4190 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4191*) 4192 ac_count=0 4193 $as_echo_n 0123456789 >"conftest.in" 4194 while : 4195 do 4196 cat "conftest.in" "conftest.in" >"conftest.tmp" 4197 mv "conftest.tmp" "conftest.in" 4198 cp "conftest.in" "conftest.nl" 4199 $as_echo 'GREP' >> "conftest.nl" 4200 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4201 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4202 as_fn_arith $ac_count + 1 && ac_count=$as_val 4203 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4204 # Best one so far, save it but keep looking for a better one 4205 ac_cv_path_GREP="$ac_path_GREP" 4206 ac_path_GREP_max=$ac_count 4207 fi 4208 # 10*(2^10) chars as input seems more than enough 4209 test $ac_count -gt 10 && break 4210 done 4211 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4212esac 4213 4214 $ac_path_GREP_found && break 3 4215 done 4216 done 4217 done 4218IFS=$as_save_IFS 4219 if test -z "$ac_cv_path_GREP"; then 4220 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4221 fi 4222else 4223 ac_cv_path_GREP=$GREP 4224fi 4225 4226fi 4227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4228$as_echo "$ac_cv_path_GREP" >&6; } 4229 GREP="$ac_cv_path_GREP" 4230 4231 4232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4233$as_echo_n "checking for egrep... " >&6; } 4234if ${ac_cv_path_EGREP+:} false; then : 4235 $as_echo_n "(cached) " >&6 4236else 4237 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4238 then ac_cv_path_EGREP="$GREP -E" 4239 else 4240 if test -z "$EGREP"; then 4241 ac_path_EGREP_found=false 4242 # Loop through the user's path and test for each of PROGNAME-LIST 4243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4244for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4245do 4246 IFS=$as_save_IFS 4247 test -z "$as_dir" && as_dir=. 4248 for ac_prog in egrep; do 4249 for ac_exec_ext in '' $ac_executable_extensions; do 4250 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4251 as_fn_executable_p "$ac_path_EGREP" || continue 4252# Check for GNU ac_path_EGREP and select it if it is found. 4253 # Check for GNU $ac_path_EGREP 4254case `"$ac_path_EGREP" --version 2>&1` in 4255*GNU*) 4256 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4257*) 4258 ac_count=0 4259 $as_echo_n 0123456789 >"conftest.in" 4260 while : 4261 do 4262 cat "conftest.in" "conftest.in" >"conftest.tmp" 4263 mv "conftest.tmp" "conftest.in" 4264 cp "conftest.in" "conftest.nl" 4265 $as_echo 'EGREP' >> "conftest.nl" 4266 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4267 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4268 as_fn_arith $ac_count + 1 && ac_count=$as_val 4269 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4270 # Best one so far, save it but keep looking for a better one 4271 ac_cv_path_EGREP="$ac_path_EGREP" 4272 ac_path_EGREP_max=$ac_count 4273 fi 4274 # 10*(2^10) chars as input seems more than enough 4275 test $ac_count -gt 10 && break 4276 done 4277 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4278esac 4279 4280 $ac_path_EGREP_found && break 3 4281 done 4282 done 4283 done 4284IFS=$as_save_IFS 4285 if test -z "$ac_cv_path_EGREP"; then 4286 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4287 fi 4288else 4289 ac_cv_path_EGREP=$EGREP 4290fi 4291 4292 fi 4293fi 4294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4295$as_echo "$ac_cv_path_EGREP" >&6; } 4296 EGREP="$ac_cv_path_EGREP" 4297 4298 4299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4300$as_echo_n "checking for fgrep... " >&6; } 4301if ${ac_cv_path_FGREP+:} false; then : 4302 $as_echo_n "(cached) " >&6 4303else 4304 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4305 then ac_cv_path_FGREP="$GREP -F" 4306 else 4307 if test -z "$FGREP"; then 4308 ac_path_FGREP_found=false 4309 # Loop through the user's path and test for each of PROGNAME-LIST 4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4311for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4312do 4313 IFS=$as_save_IFS 4314 test -z "$as_dir" && as_dir=. 4315 for ac_prog in fgrep; do 4316 for ac_exec_ext in '' $ac_executable_extensions; do 4317 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4318 as_fn_executable_p "$ac_path_FGREP" || continue 4319# Check for GNU ac_path_FGREP and select it if it is found. 4320 # Check for GNU $ac_path_FGREP 4321case `"$ac_path_FGREP" --version 2>&1` in 4322*GNU*) 4323 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4324*) 4325 ac_count=0 4326 $as_echo_n 0123456789 >"conftest.in" 4327 while : 4328 do 4329 cat "conftest.in" "conftest.in" >"conftest.tmp" 4330 mv "conftest.tmp" "conftest.in" 4331 cp "conftest.in" "conftest.nl" 4332 $as_echo 'FGREP' >> "conftest.nl" 4333 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4334 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4335 as_fn_arith $ac_count + 1 && ac_count=$as_val 4336 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4337 # Best one so far, save it but keep looking for a better one 4338 ac_cv_path_FGREP="$ac_path_FGREP" 4339 ac_path_FGREP_max=$ac_count 4340 fi 4341 # 10*(2^10) chars as input seems more than enough 4342 test $ac_count -gt 10 && break 4343 done 4344 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4345esac 4346 4347 $ac_path_FGREP_found && break 3 4348 done 4349 done 4350 done 4351IFS=$as_save_IFS 4352 if test -z "$ac_cv_path_FGREP"; then 4353 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4354 fi 4355else 4356 ac_cv_path_FGREP=$FGREP 4357fi 4358 4359 fi 4360fi 4361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4362$as_echo "$ac_cv_path_FGREP" >&6; } 4363 FGREP="$ac_cv_path_FGREP" 4364 4365 4366test -z "$GREP" && GREP=grep 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386# Check whether --with-gnu-ld was given. 4387if test "${with_gnu_ld+set}" = set; then : 4388 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4389else 4390 with_gnu_ld=no 4391fi 4392 4393ac_prog=ld 4394if test yes = "$GCC"; then 4395 # Check if gcc -print-prog-name=ld gives a path. 4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4397$as_echo_n "checking for ld used by $CC... " >&6; } 4398 case $host in 4399 *-*-mingw*) 4400 # gcc leaves a trailing carriage return, which upsets mingw 4401 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4402 *) 4403 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4404 esac 4405 case $ac_prog in 4406 # Accept absolute paths. 4407 [\\/]* | ?:[\\/]*) 4408 re_direlt='/[^/][^/]*/\.\./' 4409 # Canonicalize the pathname of ld 4410 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4411 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4412 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4413 done 4414 test -z "$LD" && LD=$ac_prog 4415 ;; 4416 "") 4417 # If it fails, then pretend we aren't using GCC. 4418 ac_prog=ld 4419 ;; 4420 *) 4421 # If it is relative, then search for the first ld in PATH. 4422 with_gnu_ld=unknown 4423 ;; 4424 esac 4425elif test yes = "$with_gnu_ld"; then 4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4427$as_echo_n "checking for GNU ld... " >&6; } 4428else 4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4430$as_echo_n "checking for non-GNU ld... " >&6; } 4431fi 4432if ${lt_cv_path_LD+:} false; then : 4433 $as_echo_n "(cached) " >&6 4434else 4435 if test -z "$LD"; then 4436 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4437 for ac_dir in $PATH; do 4438 IFS=$lt_save_ifs 4439 test -z "$ac_dir" && ac_dir=. 4440 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4441 lt_cv_path_LD=$ac_dir/$ac_prog 4442 # Check to see if the program is GNU ld. I'd rather use --version, 4443 # but apparently some variants of GNU ld only accept -v. 4444 # Break only if it was the GNU/non-GNU ld that we prefer. 4445 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4446 *GNU* | *'with BFD'*) 4447 test no != "$with_gnu_ld" && break 4448 ;; 4449 *) 4450 test yes != "$with_gnu_ld" && break 4451 ;; 4452 esac 4453 fi 4454 done 4455 IFS=$lt_save_ifs 4456else 4457 lt_cv_path_LD=$LD # Let the user override the test with a path. 4458fi 4459fi 4460 4461LD=$lt_cv_path_LD 4462if test -n "$LD"; then 4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4464$as_echo "$LD" >&6; } 4465else 4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4467$as_echo "no" >&6; } 4468fi 4469test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4471$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4472if ${lt_cv_prog_gnu_ld+:} false; then : 4473 $as_echo_n "(cached) " >&6 4474else 4475 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4476case `$LD -v 2>&1 </dev/null` in 4477*GNU* | *'with BFD'*) 4478 lt_cv_prog_gnu_ld=yes 4479 ;; 4480*) 4481 lt_cv_prog_gnu_ld=no 4482 ;; 4483esac 4484fi 4485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4486$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4487with_gnu_ld=$lt_cv_prog_gnu_ld 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4498$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4499if ${lt_cv_path_NM+:} false; then : 4500 $as_echo_n "(cached) " >&6 4501else 4502 if test -n "$NM"; then 4503 # Let the user override the test. 4504 lt_cv_path_NM=$NM 4505else 4506 lt_nm_to_check=${ac_tool_prefix}nm 4507 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4508 lt_nm_to_check="$lt_nm_to_check nm" 4509 fi 4510 for lt_tmp_nm in $lt_nm_to_check; do 4511 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4512 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4513 IFS=$lt_save_ifs 4514 test -z "$ac_dir" && ac_dir=. 4515 tmp_nm=$ac_dir/$lt_tmp_nm 4516 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4517 # Check to see if the nm accepts a BSD-compat flag. 4518 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4519 # nm: unknown option "B" ignored 4520 # Tru64's nm complains that /dev/null is an invalid object file 4521 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4522 case $build_os in 4523 mingw*) lt_bad_file=conftest.nm/nofile ;; 4524 *) lt_bad_file=/dev/null ;; 4525 esac 4526 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4527 *$lt_bad_file* | *'Invalid file or object type'*) 4528 lt_cv_path_NM="$tmp_nm -B" 4529 break 2 4530 ;; 4531 *) 4532 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4533 */dev/null*) 4534 lt_cv_path_NM="$tmp_nm -p" 4535 break 2 4536 ;; 4537 *) 4538 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4539 continue # so that we can try to find one that supports BSD flags 4540 ;; 4541 esac 4542 ;; 4543 esac 4544 fi 4545 done 4546 IFS=$lt_save_ifs 4547 done 4548 : ${lt_cv_path_NM=no} 4549fi 4550fi 4551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4552$as_echo "$lt_cv_path_NM" >&6; } 4553if test no != "$lt_cv_path_NM"; then 4554 NM=$lt_cv_path_NM 4555else 4556 # Didn't find any BSD compatible name lister, look for dumpbin. 4557 if test -n "$DUMPBIN"; then : 4558 # Let the user override the test. 4559 else 4560 if test -n "$ac_tool_prefix"; then 4561 for ac_prog in dumpbin "link -dump" 4562 do 4563 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4564set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4566$as_echo_n "checking for $ac_word... " >&6; } 4567if ${ac_cv_prog_DUMPBIN+:} false; then : 4568 $as_echo_n "(cached) " >&6 4569else 4570 if test -n "$DUMPBIN"; then 4571 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4572else 4573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4574for as_dir in $PATH 4575do 4576 IFS=$as_save_IFS 4577 test -z "$as_dir" && as_dir=. 4578 for ac_exec_ext in '' $ac_executable_extensions; do 4579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4580 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4582 break 2 4583 fi 4584done 4585 done 4586IFS=$as_save_IFS 4587 4588fi 4589fi 4590DUMPBIN=$ac_cv_prog_DUMPBIN 4591if test -n "$DUMPBIN"; then 4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4593$as_echo "$DUMPBIN" >&6; } 4594else 4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4596$as_echo "no" >&6; } 4597fi 4598 4599 4600 test -n "$DUMPBIN" && break 4601 done 4602fi 4603if test -z "$DUMPBIN"; then 4604 ac_ct_DUMPBIN=$DUMPBIN 4605 for ac_prog in dumpbin "link -dump" 4606do 4607 # Extract the first word of "$ac_prog", so it can be a program name with args. 4608set dummy $ac_prog; ac_word=$2 4609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4610$as_echo_n "checking for $ac_word... " >&6; } 4611if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4612 $as_echo_n "(cached) " >&6 4613else 4614 if test -n "$ac_ct_DUMPBIN"; then 4615 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4616else 4617as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4618for as_dir in $PATH 4619do 4620 IFS=$as_save_IFS 4621 test -z "$as_dir" && as_dir=. 4622 for ac_exec_ext in '' $ac_executable_extensions; do 4623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4624 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4626 break 2 4627 fi 4628done 4629 done 4630IFS=$as_save_IFS 4631 4632fi 4633fi 4634ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4635if test -n "$ac_ct_DUMPBIN"; then 4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4637$as_echo "$ac_ct_DUMPBIN" >&6; } 4638else 4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4640$as_echo "no" >&6; } 4641fi 4642 4643 4644 test -n "$ac_ct_DUMPBIN" && break 4645done 4646 4647 if test "x$ac_ct_DUMPBIN" = x; then 4648 DUMPBIN=":" 4649 else 4650 case $cross_compiling:$ac_tool_warned in 4651yes:) 4652{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4653$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4654ac_tool_warned=yes ;; 4655esac 4656 DUMPBIN=$ac_ct_DUMPBIN 4657 fi 4658fi 4659 4660 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4661 *COFF*) 4662 DUMPBIN="$DUMPBIN -symbols -headers" 4663 ;; 4664 *) 4665 DUMPBIN=: 4666 ;; 4667 esac 4668 fi 4669 4670 if test : != "$DUMPBIN"; then 4671 NM=$DUMPBIN 4672 fi 4673fi 4674test -z "$NM" && NM=nm 4675 4676 4677 4678 4679 4680 4681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4682$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4683if ${lt_cv_nm_interface+:} false; then : 4684 $as_echo_n "(cached) " >&6 4685else 4686 lt_cv_nm_interface="BSD nm" 4687 echo "int some_variable = 0;" > conftest.$ac_ext 4688 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4689 (eval "$ac_compile" 2>conftest.err) 4690 cat conftest.err >&5 4691 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4692 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4693 cat conftest.err >&5 4694 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4695 cat conftest.out >&5 4696 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4697 lt_cv_nm_interface="MS dumpbin" 4698 fi 4699 rm -f conftest* 4700fi 4701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4702$as_echo "$lt_cv_nm_interface" >&6; } 4703 4704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4705$as_echo_n "checking whether ln -s works... " >&6; } 4706LN_S=$as_ln_s 4707if test "$LN_S" = "ln -s"; then 4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4709$as_echo "yes" >&6; } 4710else 4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4712$as_echo "no, using $LN_S" >&6; } 4713fi 4714 4715# find the maximum length of command line arguments 4716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4717$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4718if ${lt_cv_sys_max_cmd_len+:} false; then : 4719 $as_echo_n "(cached) " >&6 4720else 4721 i=0 4722 teststring=ABCD 4723 4724 case $build_os in 4725 msdosdjgpp*) 4726 # On DJGPP, this test can blow up pretty badly due to problems in libc 4727 # (any single argument exceeding 2000 bytes causes a buffer overrun 4728 # during glob expansion). Even if it were fixed, the result of this 4729 # check would be larger than it should be. 4730 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4731 ;; 4732 4733 gnu*) 4734 # Under GNU Hurd, this test is not required because there is 4735 # no limit to the length of command line arguments. 4736 # Libtool will interpret -1 as no limit whatsoever 4737 lt_cv_sys_max_cmd_len=-1; 4738 ;; 4739 4740 cygwin* | mingw* | cegcc*) 4741 # On Win9x/ME, this test blows up -- it succeeds, but takes 4742 # about 5 minutes as the teststring grows exponentially. 4743 # Worse, since 9x/ME are not pre-emptively multitasking, 4744 # you end up with a "frozen" computer, even though with patience 4745 # the test eventually succeeds (with a max line length of 256k). 4746 # Instead, let's just punt: use the minimum linelength reported by 4747 # all of the supported platforms: 8192 (on NT/2K/XP). 4748 lt_cv_sys_max_cmd_len=8192; 4749 ;; 4750 4751 mint*) 4752 # On MiNT this can take a long time and run out of memory. 4753 lt_cv_sys_max_cmd_len=8192; 4754 ;; 4755 4756 amigaos*) 4757 # On AmigaOS with pdksh, this test takes hours, literally. 4758 # So we just punt and use a minimum line length of 8192. 4759 lt_cv_sys_max_cmd_len=8192; 4760 ;; 4761 4762 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4763 # This has been around since 386BSD, at least. Likely further. 4764 if test -x /sbin/sysctl; then 4765 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4766 elif test -x /usr/sbin/sysctl; then 4767 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4768 else 4769 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4770 fi 4771 # And add a safety zone 4772 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4773 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4774 ;; 4775 4776 interix*) 4777 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4778 lt_cv_sys_max_cmd_len=196608 4779 ;; 4780 4781 os2*) 4782 # The test takes a long time on OS/2. 4783 lt_cv_sys_max_cmd_len=8192 4784 ;; 4785 4786 osf*) 4787 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4788 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4789 # nice to cause kernel panics so lets avoid the loop below. 4790 # First set a reasonable default. 4791 lt_cv_sys_max_cmd_len=16384 4792 # 4793 if test -x /sbin/sysconfig; then 4794 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4795 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4796 esac 4797 fi 4798 ;; 4799 sco3.2v5*) 4800 lt_cv_sys_max_cmd_len=102400 4801 ;; 4802 sysv5* | sco5v6* | sysv4.2uw2*) 4803 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4804 if test -n "$kargmax"; then 4805 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4806 else 4807 lt_cv_sys_max_cmd_len=32768 4808 fi 4809 ;; 4810 *) 4811 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4812 if test -n "$lt_cv_sys_max_cmd_len" && \ 4813 test undefined != "$lt_cv_sys_max_cmd_len"; then 4814 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4815 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4816 else 4817 # Make teststring a little bigger before we do anything with it. 4818 # a 1K string should be a reasonable start. 4819 for i in 1 2 3 4 5 6 7 8; do 4820 teststring=$teststring$teststring 4821 done 4822 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4823 # If test is not a shell built-in, we'll probably end up computing a 4824 # maximum length that is only half of the actual maximum length, but 4825 # we can't tell. 4826 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 4827 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4828 test 17 != "$i" # 1/2 MB should be enough 4829 do 4830 i=`expr $i + 1` 4831 teststring=$teststring$teststring 4832 done 4833 # Only check the string length outside the loop. 4834 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4835 teststring= 4836 # Add a significant safety factor because C++ compilers can tack on 4837 # massive amounts of additional arguments before passing them to the 4838 # linker. It appears as though 1/2 is a usable value. 4839 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4840 fi 4841 ;; 4842 esac 4843 4844fi 4845 4846if test -n "$lt_cv_sys_max_cmd_len"; then 4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4848$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4849else 4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4851$as_echo "none" >&6; } 4852fi 4853max_cmd_len=$lt_cv_sys_max_cmd_len 4854 4855 4856 4857 4858 4859 4860: ${CP="cp -f"} 4861: ${MV="mv -f"} 4862: ${RM="rm -f"} 4863 4864if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4865 lt_unset=unset 4866else 4867 lt_unset=false 4868fi 4869 4870 4871 4872 4873 4874# test EBCDIC or ASCII 4875case `echo X|tr X '\101'` in 4876 A) # ASCII based system 4877 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4878 lt_SP2NL='tr \040 \012' 4879 lt_NL2SP='tr \015\012 \040\040' 4880 ;; 4881 *) # EBCDIC based system 4882 lt_SP2NL='tr \100 \n' 4883 lt_NL2SP='tr \r\n \100\100' 4884 ;; 4885esac 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4896$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4897if ${lt_cv_to_host_file_cmd+:} false; then : 4898 $as_echo_n "(cached) " >&6 4899else 4900 case $host in 4901 *-*-mingw* ) 4902 case $build in 4903 *-*-mingw* ) # actually msys 4904 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4905 ;; 4906 *-*-cygwin* ) 4907 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4908 ;; 4909 * ) # otherwise, assume *nix 4910 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4911 ;; 4912 esac 4913 ;; 4914 *-*-cygwin* ) 4915 case $build in 4916 *-*-mingw* ) # actually msys 4917 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4918 ;; 4919 *-*-cygwin* ) 4920 lt_cv_to_host_file_cmd=func_convert_file_noop 4921 ;; 4922 * ) # otherwise, assume *nix 4923 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4924 ;; 4925 esac 4926 ;; 4927 * ) # unhandled hosts (and "normal" native builds) 4928 lt_cv_to_host_file_cmd=func_convert_file_noop 4929 ;; 4930esac 4931 4932fi 4933 4934to_host_file_cmd=$lt_cv_to_host_file_cmd 4935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4936$as_echo "$lt_cv_to_host_file_cmd" >&6; } 4937 4938 4939 4940 4941 4942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4943$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4944if ${lt_cv_to_tool_file_cmd+:} false; then : 4945 $as_echo_n "(cached) " >&6 4946else 4947 #assume ordinary cross tools, or native build. 4948lt_cv_to_tool_file_cmd=func_convert_file_noop 4949case $host in 4950 *-*-mingw* ) 4951 case $build in 4952 *-*-mingw* ) # actually msys 4953 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 4954 ;; 4955 esac 4956 ;; 4957esac 4958 4959fi 4960 4961to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4963$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 4964 4965 4966 4967 4968 4969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4970$as_echo_n "checking for $LD option to reload object files... " >&6; } 4971if ${lt_cv_ld_reload_flag+:} false; then : 4972 $as_echo_n "(cached) " >&6 4973else 4974 lt_cv_ld_reload_flag='-r' 4975fi 4976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4977$as_echo "$lt_cv_ld_reload_flag" >&6; } 4978reload_flag=$lt_cv_ld_reload_flag 4979case $reload_flag in 4980"" | " "*) ;; 4981*) reload_flag=" $reload_flag" ;; 4982esac 4983reload_cmds='$LD$reload_flag -o $output$reload_objs' 4984case $host_os in 4985 cygwin* | mingw* | pw32* | cegcc*) 4986 if test yes != "$GCC"; then 4987 reload_cmds=false 4988 fi 4989 ;; 4990 darwin*) 4991 if test yes = "$GCC"; then 4992 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 4993 else 4994 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4995 fi 4996 ;; 4997esac 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007if test -n "$ac_tool_prefix"; then 5008 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5009set dummy ${ac_tool_prefix}objdump; ac_word=$2 5010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5011$as_echo_n "checking for $ac_word... " >&6; } 5012if ${ac_cv_prog_OBJDUMP+:} false; then : 5013 $as_echo_n "(cached) " >&6 5014else 5015 if test -n "$OBJDUMP"; then 5016 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5017else 5018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5019for as_dir in $PATH 5020do 5021 IFS=$as_save_IFS 5022 test -z "$as_dir" && as_dir=. 5023 for ac_exec_ext in '' $ac_executable_extensions; do 5024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5025 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5027 break 2 5028 fi 5029done 5030 done 5031IFS=$as_save_IFS 5032 5033fi 5034fi 5035OBJDUMP=$ac_cv_prog_OBJDUMP 5036if test -n "$OBJDUMP"; then 5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5038$as_echo "$OBJDUMP" >&6; } 5039else 5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5041$as_echo "no" >&6; } 5042fi 5043 5044 5045fi 5046if test -z "$ac_cv_prog_OBJDUMP"; then 5047 ac_ct_OBJDUMP=$OBJDUMP 5048 # Extract the first word of "objdump", so it can be a program name with args. 5049set dummy objdump; ac_word=$2 5050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5051$as_echo_n "checking for $ac_word... " >&6; } 5052if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5053 $as_echo_n "(cached) " >&6 5054else 5055 if test -n "$ac_ct_OBJDUMP"; then 5056 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5057else 5058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5059for as_dir in $PATH 5060do 5061 IFS=$as_save_IFS 5062 test -z "$as_dir" && as_dir=. 5063 for ac_exec_ext in '' $ac_executable_extensions; do 5064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5065 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5067 break 2 5068 fi 5069done 5070 done 5071IFS=$as_save_IFS 5072 5073fi 5074fi 5075ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5076if test -n "$ac_ct_OBJDUMP"; then 5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5078$as_echo "$ac_ct_OBJDUMP" >&6; } 5079else 5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5081$as_echo "no" >&6; } 5082fi 5083 5084 if test "x$ac_ct_OBJDUMP" = x; then 5085 OBJDUMP="false" 5086 else 5087 case $cross_compiling:$ac_tool_warned in 5088yes:) 5089{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5090$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5091ac_tool_warned=yes ;; 5092esac 5093 OBJDUMP=$ac_ct_OBJDUMP 5094 fi 5095else 5096 OBJDUMP="$ac_cv_prog_OBJDUMP" 5097fi 5098 5099test -z "$OBJDUMP" && OBJDUMP=objdump 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5110$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5111if ${lt_cv_deplibs_check_method+:} false; then : 5112 $as_echo_n "(cached) " >&6 5113else 5114 lt_cv_file_magic_cmd='$MAGIC_CMD' 5115lt_cv_file_magic_test_file= 5116lt_cv_deplibs_check_method='unknown' 5117# Need to set the preceding variable on all platforms that support 5118# interlibrary dependencies. 5119# 'none' -- dependencies not supported. 5120# 'unknown' -- same as none, but documents that we really don't know. 5121# 'pass_all' -- all dependencies passed with no checks. 5122# 'test_compile' -- check by making test program. 5123# 'file_magic [[regex]]' -- check by looking for files in library path 5124# that responds to the $file_magic_cmd with a given extended regex. 5125# If you have 'file' or equivalent on your system and you're not sure 5126# whether 'pass_all' will *always* work, you probably want this one. 5127 5128case $host_os in 5129aix[4-9]*) 5130 lt_cv_deplibs_check_method=pass_all 5131 ;; 5132 5133beos*) 5134 lt_cv_deplibs_check_method=pass_all 5135 ;; 5136 5137bsdi[45]*) 5138 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5139 lt_cv_file_magic_cmd='/usr/bin/file -L' 5140 lt_cv_file_magic_test_file=/shlib/libc.so 5141 ;; 5142 5143cygwin*) 5144 # func_win32_libid is a shell function defined in ltmain.sh 5145 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5146 lt_cv_file_magic_cmd='func_win32_libid' 5147 ;; 5148 5149mingw* | pw32*) 5150 # Base MSYS/MinGW do not provide the 'file' command needed by 5151 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5152 # unless we find 'file', for example because we are cross-compiling. 5153 if ( file / ) >/dev/null 2>&1; then 5154 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5155 lt_cv_file_magic_cmd='func_win32_libid' 5156 else 5157 # Keep this pattern in sync with the one in func_win32_libid. 5158 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5159 lt_cv_file_magic_cmd='$OBJDUMP -f' 5160 fi 5161 ;; 5162 5163cegcc*) 5164 # use the weaker test based on 'objdump'. See mingw*. 5165 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5166 lt_cv_file_magic_cmd='$OBJDUMP -f' 5167 ;; 5168 5169darwin* | rhapsody*) 5170 lt_cv_deplibs_check_method=pass_all 5171 ;; 5172 5173freebsd* | dragonfly*) 5174 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5175 case $host_cpu in 5176 i*86 ) 5177 # Not sure whether the presence of OpenBSD here was a mistake. 5178 # Let's accept both of them until this is cleared up. 5179 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5180 lt_cv_file_magic_cmd=/usr/bin/file 5181 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5182 ;; 5183 esac 5184 else 5185 lt_cv_deplibs_check_method=pass_all 5186 fi 5187 ;; 5188 5189haiku*) 5190 lt_cv_deplibs_check_method=pass_all 5191 ;; 5192 5193hpux10.20* | hpux11*) 5194 lt_cv_file_magic_cmd=/usr/bin/file 5195 case $host_cpu in 5196 ia64*) 5197 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5198 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5199 ;; 5200 hppa*64*) 5201 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]' 5202 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5203 ;; 5204 *) 5205 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5206 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5207 ;; 5208 esac 5209 ;; 5210 5211interix[3-9]*) 5212 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5213 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5214 ;; 5215 5216irix5* | irix6* | nonstopux*) 5217 case $LD in 5218 *-32|*"-32 ") libmagic=32-bit;; 5219 *-n32|*"-n32 ") libmagic=N32;; 5220 *-64|*"-64 ") libmagic=64-bit;; 5221 *) libmagic=never-match;; 5222 esac 5223 lt_cv_deplibs_check_method=pass_all 5224 ;; 5225 5226# This must be glibc/ELF. 5227linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5228 lt_cv_deplibs_check_method=pass_all 5229 ;; 5230 5231netbsd*) 5232 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5233 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5234 else 5235 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5236 fi 5237 ;; 5238 5239newos6*) 5240 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5241 lt_cv_file_magic_cmd=/usr/bin/file 5242 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5243 ;; 5244 5245*nto* | *qnx*) 5246 lt_cv_deplibs_check_method=pass_all 5247 ;; 5248 5249openbsd* | bitrig*) 5250 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5251 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5252 else 5253 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5254 fi 5255 ;; 5256 5257osf3* | osf4* | osf5*) 5258 lt_cv_deplibs_check_method=pass_all 5259 ;; 5260 5261rdos*) 5262 lt_cv_deplibs_check_method=pass_all 5263 ;; 5264 5265solaris*) 5266 lt_cv_deplibs_check_method=pass_all 5267 ;; 5268 5269sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5270 lt_cv_deplibs_check_method=pass_all 5271 ;; 5272 5273sysv4 | sysv4.3*) 5274 case $host_vendor in 5275 motorola) 5276 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]' 5277 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5278 ;; 5279 ncr) 5280 lt_cv_deplibs_check_method=pass_all 5281 ;; 5282 sequent) 5283 lt_cv_file_magic_cmd='/bin/file' 5284 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5285 ;; 5286 sni) 5287 lt_cv_file_magic_cmd='/bin/file' 5288 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5289 lt_cv_file_magic_test_file=/lib/libc.so 5290 ;; 5291 siemens) 5292 lt_cv_deplibs_check_method=pass_all 5293 ;; 5294 pc) 5295 lt_cv_deplibs_check_method=pass_all 5296 ;; 5297 esac 5298 ;; 5299 5300tpf*) 5301 lt_cv_deplibs_check_method=pass_all 5302 ;; 5303os2*) 5304 lt_cv_deplibs_check_method=pass_all 5305 ;; 5306esac 5307 5308fi 5309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5310$as_echo "$lt_cv_deplibs_check_method" >&6; } 5311 5312file_magic_glob= 5313want_nocaseglob=no 5314if test "$build" = "$host"; then 5315 case $host_os in 5316 mingw* | pw32*) 5317 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5318 want_nocaseglob=yes 5319 else 5320 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5321 fi 5322 ;; 5323 esac 5324fi 5325 5326file_magic_cmd=$lt_cv_file_magic_cmd 5327deplibs_check_method=$lt_cv_deplibs_check_method 5328test -z "$deplibs_check_method" && deplibs_check_method=unknown 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351if test -n "$ac_tool_prefix"; then 5352 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5353set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5355$as_echo_n "checking for $ac_word... " >&6; } 5356if ${ac_cv_prog_DLLTOOL+:} false; then : 5357 $as_echo_n "(cached) " >&6 5358else 5359 if test -n "$DLLTOOL"; then 5360 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5361else 5362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5363for as_dir in $PATH 5364do 5365 IFS=$as_save_IFS 5366 test -z "$as_dir" && as_dir=. 5367 for ac_exec_ext in '' $ac_executable_extensions; do 5368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5369 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5371 break 2 5372 fi 5373done 5374 done 5375IFS=$as_save_IFS 5376 5377fi 5378fi 5379DLLTOOL=$ac_cv_prog_DLLTOOL 5380if test -n "$DLLTOOL"; then 5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5382$as_echo "$DLLTOOL" >&6; } 5383else 5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5385$as_echo "no" >&6; } 5386fi 5387 5388 5389fi 5390if test -z "$ac_cv_prog_DLLTOOL"; then 5391 ac_ct_DLLTOOL=$DLLTOOL 5392 # Extract the first word of "dlltool", so it can be a program name with args. 5393set dummy dlltool; ac_word=$2 5394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5395$as_echo_n "checking for $ac_word... " >&6; } 5396if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5397 $as_echo_n "(cached) " >&6 5398else 5399 if test -n "$ac_ct_DLLTOOL"; then 5400 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5401else 5402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5403for as_dir in $PATH 5404do 5405 IFS=$as_save_IFS 5406 test -z "$as_dir" && as_dir=. 5407 for ac_exec_ext in '' $ac_executable_extensions; do 5408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5409 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5411 break 2 5412 fi 5413done 5414 done 5415IFS=$as_save_IFS 5416 5417fi 5418fi 5419ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5420if test -n "$ac_ct_DLLTOOL"; then 5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5422$as_echo "$ac_ct_DLLTOOL" >&6; } 5423else 5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5425$as_echo "no" >&6; } 5426fi 5427 5428 if test "x$ac_ct_DLLTOOL" = x; then 5429 DLLTOOL="false" 5430 else 5431 case $cross_compiling:$ac_tool_warned in 5432yes:) 5433{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5434$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5435ac_tool_warned=yes ;; 5436esac 5437 DLLTOOL=$ac_ct_DLLTOOL 5438 fi 5439else 5440 DLLTOOL="$ac_cv_prog_DLLTOOL" 5441fi 5442 5443test -z "$DLLTOOL" && DLLTOOL=dlltool 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5455$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5456if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5457 $as_echo_n "(cached) " >&6 5458else 5459 lt_cv_sharedlib_from_linklib_cmd='unknown' 5460 5461case $host_os in 5462cygwin* | mingw* | pw32* | cegcc*) 5463 # two different shell functions defined in ltmain.sh; 5464 # decide which one to use based on capabilities of $DLLTOOL 5465 case `$DLLTOOL --help 2>&1` in 5466 *--identify-strict*) 5467 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5468 ;; 5469 *) 5470 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5471 ;; 5472 esac 5473 ;; 5474*) 5475 # fallback: assume linklib IS sharedlib 5476 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5477 ;; 5478esac 5479 5480fi 5481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5482$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5483sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5484test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5485 5486 5487 5488 5489 5490 5491 5492 5493if test -n "$ac_tool_prefix"; then 5494 for ac_prog in ar 5495 do 5496 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5497set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5499$as_echo_n "checking for $ac_word... " >&6; } 5500if ${ac_cv_prog_AR+:} false; then : 5501 $as_echo_n "(cached) " >&6 5502else 5503 if test -n "$AR"; then 5504 ac_cv_prog_AR="$AR" # Let the user override the test. 5505else 5506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5507for as_dir in $PATH 5508do 5509 IFS=$as_save_IFS 5510 test -z "$as_dir" && as_dir=. 5511 for ac_exec_ext in '' $ac_executable_extensions; do 5512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5513 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5515 break 2 5516 fi 5517done 5518 done 5519IFS=$as_save_IFS 5520 5521fi 5522fi 5523AR=$ac_cv_prog_AR 5524if test -n "$AR"; then 5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5526$as_echo "$AR" >&6; } 5527else 5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5529$as_echo "no" >&6; } 5530fi 5531 5532 5533 test -n "$AR" && break 5534 done 5535fi 5536if test -z "$AR"; then 5537 ac_ct_AR=$AR 5538 for ac_prog in ar 5539do 5540 # Extract the first word of "$ac_prog", so it can be a program name with args. 5541set dummy $ac_prog; ac_word=$2 5542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5543$as_echo_n "checking for $ac_word... " >&6; } 5544if ${ac_cv_prog_ac_ct_AR+:} false; then : 5545 $as_echo_n "(cached) " >&6 5546else 5547 if test -n "$ac_ct_AR"; then 5548 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5549else 5550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5551for as_dir in $PATH 5552do 5553 IFS=$as_save_IFS 5554 test -z "$as_dir" && as_dir=. 5555 for ac_exec_ext in '' $ac_executable_extensions; do 5556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5557 ac_cv_prog_ac_ct_AR="$ac_prog" 5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5559 break 2 5560 fi 5561done 5562 done 5563IFS=$as_save_IFS 5564 5565fi 5566fi 5567ac_ct_AR=$ac_cv_prog_ac_ct_AR 5568if test -n "$ac_ct_AR"; then 5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5570$as_echo "$ac_ct_AR" >&6; } 5571else 5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5573$as_echo "no" >&6; } 5574fi 5575 5576 5577 test -n "$ac_ct_AR" && break 5578done 5579 5580 if test "x$ac_ct_AR" = x; then 5581 AR="false" 5582 else 5583 case $cross_compiling:$ac_tool_warned in 5584yes:) 5585{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5586$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5587ac_tool_warned=yes ;; 5588esac 5589 AR=$ac_ct_AR 5590 fi 5591fi 5592 5593: ${AR=ar} 5594: ${AR_FLAGS=cru} 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5607$as_echo_n "checking for archiver @FILE support... " >&6; } 5608if ${lt_cv_ar_at_file+:} false; then : 5609 $as_echo_n "(cached) " >&6 5610else 5611 lt_cv_ar_at_file=no 5612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5613/* end confdefs.h. */ 5614 5615int 5616main () 5617{ 5618 5619 ; 5620 return 0; 5621} 5622_ACEOF 5623if ac_fn_c_try_compile "$LINENO"; then : 5624 echo conftest.$ac_objext > conftest.lst 5625 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5626 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5627 (eval $lt_ar_try) 2>&5 5628 ac_status=$? 5629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5630 test $ac_status = 0; } 5631 if test 0 -eq "$ac_status"; then 5632 # Ensure the archiver fails upon bogus file names. 5633 rm -f conftest.$ac_objext libconftest.a 5634 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5635 (eval $lt_ar_try) 2>&5 5636 ac_status=$? 5637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5638 test $ac_status = 0; } 5639 if test 0 -ne "$ac_status"; then 5640 lt_cv_ar_at_file=@ 5641 fi 5642 fi 5643 rm -f conftest.* libconftest.a 5644 5645fi 5646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5647 5648fi 5649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5650$as_echo "$lt_cv_ar_at_file" >&6; } 5651 5652if test no = "$lt_cv_ar_at_file"; then 5653 archiver_list_spec= 5654else 5655 archiver_list_spec=$lt_cv_ar_at_file 5656fi 5657 5658 5659 5660 5661 5662 5663 5664if test -n "$ac_tool_prefix"; then 5665 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5666set dummy ${ac_tool_prefix}strip; ac_word=$2 5667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5668$as_echo_n "checking for $ac_word... " >&6; } 5669if ${ac_cv_prog_STRIP+:} false; then : 5670 $as_echo_n "(cached) " >&6 5671else 5672 if test -n "$STRIP"; then 5673 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5674else 5675as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5676for as_dir in $PATH 5677do 5678 IFS=$as_save_IFS 5679 test -z "$as_dir" && as_dir=. 5680 for ac_exec_ext in '' $ac_executable_extensions; do 5681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5682 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5684 break 2 5685 fi 5686done 5687 done 5688IFS=$as_save_IFS 5689 5690fi 5691fi 5692STRIP=$ac_cv_prog_STRIP 5693if test -n "$STRIP"; then 5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5695$as_echo "$STRIP" >&6; } 5696else 5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5698$as_echo "no" >&6; } 5699fi 5700 5701 5702fi 5703if test -z "$ac_cv_prog_STRIP"; then 5704 ac_ct_STRIP=$STRIP 5705 # Extract the first word of "strip", so it can be a program name with args. 5706set dummy strip; ac_word=$2 5707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5708$as_echo_n "checking for $ac_word... " >&6; } 5709if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5710 $as_echo_n "(cached) " >&6 5711else 5712 if test -n "$ac_ct_STRIP"; then 5713 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5714else 5715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5716for as_dir in $PATH 5717do 5718 IFS=$as_save_IFS 5719 test -z "$as_dir" && as_dir=. 5720 for ac_exec_ext in '' $ac_executable_extensions; do 5721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5722 ac_cv_prog_ac_ct_STRIP="strip" 5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5724 break 2 5725 fi 5726done 5727 done 5728IFS=$as_save_IFS 5729 5730fi 5731fi 5732ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5733if test -n "$ac_ct_STRIP"; then 5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5735$as_echo "$ac_ct_STRIP" >&6; } 5736else 5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5738$as_echo "no" >&6; } 5739fi 5740 5741 if test "x$ac_ct_STRIP" = x; then 5742 STRIP=":" 5743 else 5744 case $cross_compiling:$ac_tool_warned in 5745yes:) 5746{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5747$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5748ac_tool_warned=yes ;; 5749esac 5750 STRIP=$ac_ct_STRIP 5751 fi 5752else 5753 STRIP="$ac_cv_prog_STRIP" 5754fi 5755 5756test -z "$STRIP" && STRIP=: 5757 5758 5759 5760 5761 5762 5763if test -n "$ac_tool_prefix"; then 5764 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5765set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5767$as_echo_n "checking for $ac_word... " >&6; } 5768if ${ac_cv_prog_RANLIB+:} false; then : 5769 $as_echo_n "(cached) " >&6 5770else 5771 if test -n "$RANLIB"; then 5772 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5773else 5774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5775for as_dir in $PATH 5776do 5777 IFS=$as_save_IFS 5778 test -z "$as_dir" && as_dir=. 5779 for ac_exec_ext in '' $ac_executable_extensions; do 5780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5781 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5783 break 2 5784 fi 5785done 5786 done 5787IFS=$as_save_IFS 5788 5789fi 5790fi 5791RANLIB=$ac_cv_prog_RANLIB 5792if test -n "$RANLIB"; then 5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5794$as_echo "$RANLIB" >&6; } 5795else 5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5797$as_echo "no" >&6; } 5798fi 5799 5800 5801fi 5802if test -z "$ac_cv_prog_RANLIB"; then 5803 ac_ct_RANLIB=$RANLIB 5804 # Extract the first word of "ranlib", so it can be a program name with args. 5805set dummy ranlib; ac_word=$2 5806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5807$as_echo_n "checking for $ac_word... " >&6; } 5808if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5809 $as_echo_n "(cached) " >&6 5810else 5811 if test -n "$ac_ct_RANLIB"; then 5812 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5813else 5814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5815for as_dir in $PATH 5816do 5817 IFS=$as_save_IFS 5818 test -z "$as_dir" && as_dir=. 5819 for ac_exec_ext in '' $ac_executable_extensions; do 5820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5821 ac_cv_prog_ac_ct_RANLIB="ranlib" 5822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5823 break 2 5824 fi 5825done 5826 done 5827IFS=$as_save_IFS 5828 5829fi 5830fi 5831ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5832if test -n "$ac_ct_RANLIB"; then 5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5834$as_echo "$ac_ct_RANLIB" >&6; } 5835else 5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5837$as_echo "no" >&6; } 5838fi 5839 5840 if test "x$ac_ct_RANLIB" = x; then 5841 RANLIB=":" 5842 else 5843 case $cross_compiling:$ac_tool_warned in 5844yes:) 5845{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5846$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5847ac_tool_warned=yes ;; 5848esac 5849 RANLIB=$ac_ct_RANLIB 5850 fi 5851else 5852 RANLIB="$ac_cv_prog_RANLIB" 5853fi 5854 5855test -z "$RANLIB" && RANLIB=: 5856 5857 5858 5859 5860 5861 5862# Determine commands to create old-style static archives. 5863old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5864old_postinstall_cmds='chmod 644 $oldlib' 5865old_postuninstall_cmds= 5866 5867if test -n "$RANLIB"; then 5868 case $host_os in 5869 bitrig* | openbsd*) 5870 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5871 ;; 5872 *) 5873 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5874 ;; 5875 esac 5876 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5877fi 5878 5879case $host_os in 5880 darwin*) 5881 lock_old_archive_extraction=yes ;; 5882 *) 5883 lock_old_archive_extraction=no ;; 5884esac 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924# If no C compiler was specified, use CC. 5925LTCC=${LTCC-"$CC"} 5926 5927# If no C compiler flags were specified, use CFLAGS. 5928LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5929 5930# Allow CC to be a program name with arguments. 5931compiler=$CC 5932 5933 5934# Check for command to grab the raw symbol name followed by C symbol from nm. 5935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5936$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5937if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5938 $as_echo_n "(cached) " >&6 5939else 5940 5941# These are sane defaults that work on at least a few old systems. 5942# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5943 5944# Character class describing NM global symbol codes. 5945symcode='[BCDEGRST]' 5946 5947# Regexp to match symbols that can be accessed directly from C. 5948sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5949 5950# Define system-specific variables. 5951case $host_os in 5952aix*) 5953 symcode='[BCDT]' 5954 ;; 5955cygwin* | mingw* | pw32* | cegcc*) 5956 symcode='[ABCDGISTW]' 5957 ;; 5958hpux*) 5959 if test ia64 = "$host_cpu"; then 5960 symcode='[ABCDEGRST]' 5961 fi 5962 ;; 5963irix* | nonstopux*) 5964 symcode='[BCDEGRST]' 5965 ;; 5966osf*) 5967 symcode='[BCDEGQRST]' 5968 ;; 5969solaris*) 5970 symcode='[BDRT]' 5971 ;; 5972sco3.2v5*) 5973 symcode='[DT]' 5974 ;; 5975sysv4.2uw2*) 5976 symcode='[DT]' 5977 ;; 5978sysv5* | sco5v6* | unixware* | OpenUNIX*) 5979 symcode='[ABDT]' 5980 ;; 5981sysv4) 5982 symcode='[DFNSTU]' 5983 ;; 5984esac 5985 5986# If we're using GNU nm, then use its standard symbol codes. 5987case `$NM -V 2>&1` in 5988*GNU* | *'with BFD'*) 5989 symcode='[ABCDGIRSTW]' ;; 5990esac 5991 5992if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5993 # Gets list of data symbols to import. 5994 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 5995 # Adjust the below global symbol transforms to fixup imported variables. 5996 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 5997 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 5998 lt_c_name_lib_hook="\ 5999 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6000 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6001else 6002 # Disable hooks by default. 6003 lt_cv_sys_global_symbol_to_import= 6004 lt_cdecl_hook= 6005 lt_c_name_hook= 6006 lt_c_name_lib_hook= 6007fi 6008 6009# Transform an extracted symbol line into a proper C declaration. 6010# Some systems (esp. on ia64) link data and code symbols differently, 6011# so use this general approach. 6012lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6013$lt_cdecl_hook\ 6014" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6015" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6016 6017# Transform an extracted symbol line into symbol name and symbol address 6018lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6019$lt_c_name_hook\ 6020" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6021" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6022 6023# Transform an extracted symbol line into symbol name with lib prefix and 6024# symbol address. 6025lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6026$lt_c_name_lib_hook\ 6027" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6028" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6029" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6030 6031# Handle CRLF in mingw tool chain 6032opt_cr= 6033case $build_os in 6034mingw*) 6035 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6036 ;; 6037esac 6038 6039# Try without a prefix underscore, then with it. 6040for ac_symprfx in "" "_"; do 6041 6042 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6043 symxfrm="\\1 $ac_symprfx\\2 \\2" 6044 6045 # Write the raw and C identifiers. 6046 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6047 # Fake it for dumpbin and say T for any non-static function, 6048 # D for any global variable and I for any imported variable. 6049 # Also find C++ and __fastcall symbols from MSVC++, 6050 # which start with @ or ?. 6051 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6052" {last_section=section; section=\$ 3};"\ 6053" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6054" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6055" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6056" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6057" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6058" \$ 0!~/External *\|/{next};"\ 6059" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6060" {if(hide[section]) next};"\ 6061" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6062" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6063" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6064" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6065" ' prfx=^$ac_symprfx" 6066 else 6067 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6068 fi 6069 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6070 6071 # Check to see that the pipe works correctly. 6072 pipe_works=no 6073 6074 rm -f conftest* 6075 cat > conftest.$ac_ext <<_LT_EOF 6076#ifdef __cplusplus 6077extern "C" { 6078#endif 6079char nm_test_var; 6080void nm_test_func(void); 6081void nm_test_func(void){} 6082#ifdef __cplusplus 6083} 6084#endif 6085int main(){nm_test_var='a';nm_test_func();return(0);} 6086_LT_EOF 6087 6088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6089 (eval $ac_compile) 2>&5 6090 ac_status=$? 6091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6092 test $ac_status = 0; }; then 6093 # Now try to grab the symbols. 6094 nlist=conftest.nm 6095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6096 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6097 ac_status=$? 6098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6099 test $ac_status = 0; } && test -s "$nlist"; then 6100 # Try sorting and uniquifying the output. 6101 if sort "$nlist" | uniq > "$nlist"T; then 6102 mv -f "$nlist"T "$nlist" 6103 else 6104 rm -f "$nlist"T 6105 fi 6106 6107 # Make sure that we snagged all the symbols we need. 6108 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6109 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6110 cat <<_LT_EOF > conftest.$ac_ext 6111/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6112#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6113/* DATA imports from DLLs on WIN32 can't be const, because runtime 6114 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6115# define LT_DLSYM_CONST 6116#elif defined __osf__ 6117/* This system does not cope well with relocations in const data. */ 6118# define LT_DLSYM_CONST 6119#else 6120# define LT_DLSYM_CONST const 6121#endif 6122 6123#ifdef __cplusplus 6124extern "C" { 6125#endif 6126 6127_LT_EOF 6128 # Now generate the symbol file. 6129 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6130 6131 cat <<_LT_EOF >> conftest.$ac_ext 6132 6133/* The mapping between symbol names and symbols. */ 6134LT_DLSYM_CONST struct { 6135 const char *name; 6136 void *address; 6137} 6138lt__PROGRAM__LTX_preloaded_symbols[] = 6139{ 6140 { "@PROGRAM@", (void *) 0 }, 6141_LT_EOF 6142 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6143 cat <<\_LT_EOF >> conftest.$ac_ext 6144 {0, (void *) 0} 6145}; 6146 6147/* This works around a problem in FreeBSD linker */ 6148#ifdef FREEBSD_WORKAROUND 6149static const void *lt_preloaded_setup() { 6150 return lt__PROGRAM__LTX_preloaded_symbols; 6151} 6152#endif 6153 6154#ifdef __cplusplus 6155} 6156#endif 6157_LT_EOF 6158 # Now try linking the two files. 6159 mv conftest.$ac_objext conftstm.$ac_objext 6160 lt_globsym_save_LIBS=$LIBS 6161 lt_globsym_save_CFLAGS=$CFLAGS 6162 LIBS=conftstm.$ac_objext 6163 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6164 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6165 (eval $ac_link) 2>&5 6166 ac_status=$? 6167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6168 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6169 pipe_works=yes 6170 fi 6171 LIBS=$lt_globsym_save_LIBS 6172 CFLAGS=$lt_globsym_save_CFLAGS 6173 else 6174 echo "cannot find nm_test_func in $nlist" >&5 6175 fi 6176 else 6177 echo "cannot find nm_test_var in $nlist" >&5 6178 fi 6179 else 6180 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6181 fi 6182 else 6183 echo "$progname: failed program was:" >&5 6184 cat conftest.$ac_ext >&5 6185 fi 6186 rm -rf conftest* conftst* 6187 6188 # Do not use the global_symbol_pipe unless it works. 6189 if test yes = "$pipe_works"; then 6190 break 6191 else 6192 lt_cv_sys_global_symbol_pipe= 6193 fi 6194done 6195 6196fi 6197 6198if test -z "$lt_cv_sys_global_symbol_pipe"; then 6199 lt_cv_sys_global_symbol_to_cdecl= 6200fi 6201if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6203$as_echo "failed" >&6; } 6204else 6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6206$as_echo "ok" >&6; } 6207fi 6208 6209# Response file support. 6210if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6211 nm_file_list_spec='@' 6212elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6213 nm_file_list_spec='@' 6214fi 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6253$as_echo_n "checking for sysroot... " >&6; } 6254 6255# Check whether --with-sysroot was given. 6256if test "${with_sysroot+set}" = set; then : 6257 withval=$with_sysroot; 6258else 6259 with_sysroot=no 6260fi 6261 6262 6263lt_sysroot= 6264case $with_sysroot in #( 6265 yes) 6266 if test yes = "$GCC"; then 6267 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6268 fi 6269 ;; #( 6270 /*) 6271 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6272 ;; #( 6273 no|'') 6274 ;; #( 6275 *) 6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6277$as_echo "$with_sysroot" >&6; } 6278 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6279 ;; 6280esac 6281 6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6283$as_echo "${lt_sysroot:-no}" >&6; } 6284 6285 6286 6287 6288 6289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6290$as_echo_n "checking for a working dd... " >&6; } 6291if ${ac_cv_path_lt_DD+:} false; then : 6292 $as_echo_n "(cached) " >&6 6293else 6294 printf 0123456789abcdef0123456789abcdef >conftest.i 6295cat conftest.i conftest.i >conftest2.i 6296: ${lt_DD:=$DD} 6297if test -z "$lt_DD"; then 6298 ac_path_lt_DD_found=false 6299 # Loop through the user's path and test for each of PROGNAME-LIST 6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6301for as_dir in $PATH 6302do 6303 IFS=$as_save_IFS 6304 test -z "$as_dir" && as_dir=. 6305 for ac_prog in dd; do 6306 for ac_exec_ext in '' $ac_executable_extensions; do 6307 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6308 as_fn_executable_p "$ac_path_lt_DD" || continue 6309if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6310 cmp -s conftest.i conftest.out \ 6311 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6312fi 6313 $ac_path_lt_DD_found && break 3 6314 done 6315 done 6316 done 6317IFS=$as_save_IFS 6318 if test -z "$ac_cv_path_lt_DD"; then 6319 : 6320 fi 6321else 6322 ac_cv_path_lt_DD=$lt_DD 6323fi 6324 6325rm -f conftest.i conftest2.i conftest.out 6326fi 6327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6328$as_echo "$ac_cv_path_lt_DD" >&6; } 6329 6330 6331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6332$as_echo_n "checking how to truncate binary pipes... " >&6; } 6333if ${lt_cv_truncate_bin+:} false; then : 6334 $as_echo_n "(cached) " >&6 6335else 6336 printf 0123456789abcdef0123456789abcdef >conftest.i 6337cat conftest.i conftest.i >conftest2.i 6338lt_cv_truncate_bin= 6339if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6340 cmp -s conftest.i conftest.out \ 6341 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6342fi 6343rm -f conftest.i conftest2.i conftest.out 6344test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6345fi 6346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6347$as_echo "$lt_cv_truncate_bin" >&6; } 6348 6349 6350 6351 6352 6353 6354 6355# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6356func_cc_basename () 6357{ 6358 for cc_temp in $*""; do 6359 case $cc_temp in 6360 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6361 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6362 \-*) ;; 6363 *) break;; 6364 esac 6365 done 6366 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6367} 6368 6369# Check whether --enable-libtool-lock was given. 6370if test "${enable_libtool_lock+set}" = set; then : 6371 enableval=$enable_libtool_lock; 6372fi 6373 6374test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6375 6376# Some flags need to be propagated to the compiler or linker for good 6377# libtool support. 6378case $host in 6379ia64-*-hpux*) 6380 # Find out what ABI is being produced by ac_compile, and set mode 6381 # options accordingly. 6382 echo 'int i;' > conftest.$ac_ext 6383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6384 (eval $ac_compile) 2>&5 6385 ac_status=$? 6386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6387 test $ac_status = 0; }; then 6388 case `/usr/bin/file conftest.$ac_objext` in 6389 *ELF-32*) 6390 HPUX_IA64_MODE=32 6391 ;; 6392 *ELF-64*) 6393 HPUX_IA64_MODE=64 6394 ;; 6395 esac 6396 fi 6397 rm -rf conftest* 6398 ;; 6399*-*-irix6*) 6400 # Find out what ABI is being produced by ac_compile, and set linker 6401 # options accordingly. 6402 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6403 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6404 (eval $ac_compile) 2>&5 6405 ac_status=$? 6406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6407 test $ac_status = 0; }; then 6408 if test yes = "$lt_cv_prog_gnu_ld"; then 6409 case `/usr/bin/file conftest.$ac_objext` in 6410 *32-bit*) 6411 LD="${LD-ld} -melf32bsmip" 6412 ;; 6413 *N32*) 6414 LD="${LD-ld} -melf32bmipn32" 6415 ;; 6416 *64-bit*) 6417 LD="${LD-ld} -melf64bmip" 6418 ;; 6419 esac 6420 else 6421 case `/usr/bin/file conftest.$ac_objext` in 6422 *32-bit*) 6423 LD="${LD-ld} -32" 6424 ;; 6425 *N32*) 6426 LD="${LD-ld} -n32" 6427 ;; 6428 *64-bit*) 6429 LD="${LD-ld} -64" 6430 ;; 6431 esac 6432 fi 6433 fi 6434 rm -rf conftest* 6435 ;; 6436 6437mips64*-*linux*) 6438 # Find out what ABI is being produced by ac_compile, and set linker 6439 # options accordingly. 6440 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6442 (eval $ac_compile) 2>&5 6443 ac_status=$? 6444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6445 test $ac_status = 0; }; then 6446 emul=elf 6447 case `/usr/bin/file conftest.$ac_objext` in 6448 *32-bit*) 6449 emul="${emul}32" 6450 ;; 6451 *64-bit*) 6452 emul="${emul}64" 6453 ;; 6454 esac 6455 case `/usr/bin/file conftest.$ac_objext` in 6456 *MSB*) 6457 emul="${emul}btsmip" 6458 ;; 6459 *LSB*) 6460 emul="${emul}ltsmip" 6461 ;; 6462 esac 6463 case `/usr/bin/file conftest.$ac_objext` in 6464 *N32*) 6465 emul="${emul}n32" 6466 ;; 6467 esac 6468 LD="${LD-ld} -m $emul" 6469 fi 6470 rm -rf conftest* 6471 ;; 6472 6473x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6474s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6475 # Find out what ABI is being produced by ac_compile, and set linker 6476 # options accordingly. Note that the listed cases only cover the 6477 # situations where additional linker options are needed (such as when 6478 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6479 # vice versa); the common cases where no linker options are needed do 6480 # not appear in the list. 6481 echo 'int i;' > conftest.$ac_ext 6482 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6483 (eval $ac_compile) 2>&5 6484 ac_status=$? 6485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6486 test $ac_status = 0; }; then 6487 case `/usr/bin/file conftest.o` in 6488 *32-bit*) 6489 case $host in 6490 x86_64-*kfreebsd*-gnu) 6491 LD="${LD-ld} -m elf_i386_fbsd" 6492 ;; 6493 x86_64-*linux*) 6494 case `/usr/bin/file conftest.o` in 6495 *x86-64*) 6496 LD="${LD-ld} -m elf32_x86_64" 6497 ;; 6498 *) 6499 LD="${LD-ld} -m elf_i386" 6500 ;; 6501 esac 6502 ;; 6503 powerpc64le-*linux*) 6504 LD="${LD-ld} -m elf32lppclinux" 6505 ;; 6506 powerpc64-*linux*) 6507 LD="${LD-ld} -m elf32ppclinux" 6508 ;; 6509 s390x-*linux*) 6510 LD="${LD-ld} -m elf_s390" 6511 ;; 6512 sparc64-*linux*) 6513 LD="${LD-ld} -m elf32_sparc" 6514 ;; 6515 esac 6516 ;; 6517 *64-bit*) 6518 case $host in 6519 x86_64-*kfreebsd*-gnu) 6520 LD="${LD-ld} -m elf_x86_64_fbsd" 6521 ;; 6522 x86_64-*linux*) 6523 LD="${LD-ld} -m elf_x86_64" 6524 ;; 6525 powerpcle-*linux*) 6526 LD="${LD-ld} -m elf64lppc" 6527 ;; 6528 powerpc-*linux*) 6529 LD="${LD-ld} -m elf64ppc" 6530 ;; 6531 s390*-*linux*|s390*-*tpf*) 6532 LD="${LD-ld} -m elf64_s390" 6533 ;; 6534 sparc*-*linux*) 6535 LD="${LD-ld} -m elf64_sparc" 6536 ;; 6537 esac 6538 ;; 6539 esac 6540 fi 6541 rm -rf conftest* 6542 ;; 6543 6544*-*-sco3.2v5*) 6545 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6546 SAVE_CFLAGS=$CFLAGS 6547 CFLAGS="$CFLAGS -belf" 6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6549$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6550if ${lt_cv_cc_needs_belf+:} false; then : 6551 $as_echo_n "(cached) " >&6 6552else 6553 ac_ext=c 6554ac_cpp='$CPP $CPPFLAGS' 6555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6557ac_compiler_gnu=$ac_cv_c_compiler_gnu 6558 6559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6560/* end confdefs.h. */ 6561 6562int 6563main () 6564{ 6565 6566 ; 6567 return 0; 6568} 6569_ACEOF 6570if ac_fn_c_try_link "$LINENO"; then : 6571 lt_cv_cc_needs_belf=yes 6572else 6573 lt_cv_cc_needs_belf=no 6574fi 6575rm -f core conftest.err conftest.$ac_objext \ 6576 conftest$ac_exeext conftest.$ac_ext 6577 ac_ext=c 6578ac_cpp='$CPP $CPPFLAGS' 6579ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6580ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6581ac_compiler_gnu=$ac_cv_c_compiler_gnu 6582 6583fi 6584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6585$as_echo "$lt_cv_cc_needs_belf" >&6; } 6586 if test yes != "$lt_cv_cc_needs_belf"; then 6587 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6588 CFLAGS=$SAVE_CFLAGS 6589 fi 6590 ;; 6591*-*solaris*) 6592 # Find out what ABI is being produced by ac_compile, and set linker 6593 # options accordingly. 6594 echo 'int i;' > conftest.$ac_ext 6595 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6596 (eval $ac_compile) 2>&5 6597 ac_status=$? 6598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6599 test $ac_status = 0; }; then 6600 case `/usr/bin/file conftest.o` in 6601 *64-bit*) 6602 case $lt_cv_prog_gnu_ld in 6603 yes*) 6604 case $host in 6605 i?86-*-solaris*|x86_64-*-solaris*) 6606 LD="${LD-ld} -m elf_x86_64" 6607 ;; 6608 sparc*-*-solaris*) 6609 LD="${LD-ld} -m elf64_sparc" 6610 ;; 6611 esac 6612 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6613 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6614 LD=${LD-ld}_sol2 6615 fi 6616 ;; 6617 *) 6618 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6619 LD="${LD-ld} -64" 6620 fi 6621 ;; 6622 esac 6623 ;; 6624 esac 6625 fi 6626 rm -rf conftest* 6627 ;; 6628esac 6629 6630need_locks=$enable_libtool_lock 6631 6632if test -n "$ac_tool_prefix"; then 6633 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6634set dummy ${ac_tool_prefix}mt; ac_word=$2 6635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6636$as_echo_n "checking for $ac_word... " >&6; } 6637if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6638 $as_echo_n "(cached) " >&6 6639else 6640 if test -n "$MANIFEST_TOOL"; then 6641 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6642else 6643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6644for as_dir in $PATH 6645do 6646 IFS=$as_save_IFS 6647 test -z "$as_dir" && as_dir=. 6648 for ac_exec_ext in '' $ac_executable_extensions; do 6649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6650 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6652 break 2 6653 fi 6654done 6655 done 6656IFS=$as_save_IFS 6657 6658fi 6659fi 6660MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6661if test -n "$MANIFEST_TOOL"; then 6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6663$as_echo "$MANIFEST_TOOL" >&6; } 6664else 6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6666$as_echo "no" >&6; } 6667fi 6668 6669 6670fi 6671if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6672 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6673 # Extract the first word of "mt", so it can be a program name with args. 6674set dummy mt; ac_word=$2 6675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6676$as_echo_n "checking for $ac_word... " >&6; } 6677if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6678 $as_echo_n "(cached) " >&6 6679else 6680 if test -n "$ac_ct_MANIFEST_TOOL"; then 6681 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6682else 6683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6684for as_dir in $PATH 6685do 6686 IFS=$as_save_IFS 6687 test -z "$as_dir" && as_dir=. 6688 for ac_exec_ext in '' $ac_executable_extensions; do 6689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6690 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6692 break 2 6693 fi 6694done 6695 done 6696IFS=$as_save_IFS 6697 6698fi 6699fi 6700ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6701if test -n "$ac_ct_MANIFEST_TOOL"; then 6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6703$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6704else 6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6706$as_echo "no" >&6; } 6707fi 6708 6709 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6710 MANIFEST_TOOL=":" 6711 else 6712 case $cross_compiling:$ac_tool_warned in 6713yes:) 6714{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6715$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6716ac_tool_warned=yes ;; 6717esac 6718 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6719 fi 6720else 6721 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6722fi 6723 6724test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6726$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6727if ${lt_cv_path_mainfest_tool+:} false; then : 6728 $as_echo_n "(cached) " >&6 6729else 6730 lt_cv_path_mainfest_tool=no 6731 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6732 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6733 cat conftest.err >&5 6734 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6735 lt_cv_path_mainfest_tool=yes 6736 fi 6737 rm -f conftest* 6738fi 6739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6740$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6741if test yes != "$lt_cv_path_mainfest_tool"; then 6742 MANIFEST_TOOL=: 6743fi 6744 6745 6746 6747 6748 6749 6750 case $host_os in 6751 rhapsody* | darwin*) 6752 if test -n "$ac_tool_prefix"; then 6753 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6754set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6756$as_echo_n "checking for $ac_word... " >&6; } 6757if ${ac_cv_prog_DSYMUTIL+:} false; then : 6758 $as_echo_n "(cached) " >&6 6759else 6760 if test -n "$DSYMUTIL"; then 6761 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6762else 6763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6764for as_dir in $PATH 6765do 6766 IFS=$as_save_IFS 6767 test -z "$as_dir" && as_dir=. 6768 for ac_exec_ext in '' $ac_executable_extensions; do 6769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6770 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6772 break 2 6773 fi 6774done 6775 done 6776IFS=$as_save_IFS 6777 6778fi 6779fi 6780DSYMUTIL=$ac_cv_prog_DSYMUTIL 6781if test -n "$DSYMUTIL"; then 6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6783$as_echo "$DSYMUTIL" >&6; } 6784else 6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6786$as_echo "no" >&6; } 6787fi 6788 6789 6790fi 6791if test -z "$ac_cv_prog_DSYMUTIL"; then 6792 ac_ct_DSYMUTIL=$DSYMUTIL 6793 # Extract the first word of "dsymutil", so it can be a program name with args. 6794set dummy dsymutil; ac_word=$2 6795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6796$as_echo_n "checking for $ac_word... " >&6; } 6797if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6798 $as_echo_n "(cached) " >&6 6799else 6800 if test -n "$ac_ct_DSYMUTIL"; then 6801 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6802else 6803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6804for as_dir in $PATH 6805do 6806 IFS=$as_save_IFS 6807 test -z "$as_dir" && as_dir=. 6808 for ac_exec_ext in '' $ac_executable_extensions; do 6809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6810 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6812 break 2 6813 fi 6814done 6815 done 6816IFS=$as_save_IFS 6817 6818fi 6819fi 6820ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6821if test -n "$ac_ct_DSYMUTIL"; then 6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6823$as_echo "$ac_ct_DSYMUTIL" >&6; } 6824else 6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6826$as_echo "no" >&6; } 6827fi 6828 6829 if test "x$ac_ct_DSYMUTIL" = x; then 6830 DSYMUTIL=":" 6831 else 6832 case $cross_compiling:$ac_tool_warned in 6833yes:) 6834{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6835$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6836ac_tool_warned=yes ;; 6837esac 6838 DSYMUTIL=$ac_ct_DSYMUTIL 6839 fi 6840else 6841 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6842fi 6843 6844 if test -n "$ac_tool_prefix"; then 6845 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6846set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6848$as_echo_n "checking for $ac_word... " >&6; } 6849if ${ac_cv_prog_NMEDIT+:} false; then : 6850 $as_echo_n "(cached) " >&6 6851else 6852 if test -n "$NMEDIT"; then 6853 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6854else 6855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6856for as_dir in $PATH 6857do 6858 IFS=$as_save_IFS 6859 test -z "$as_dir" && as_dir=. 6860 for ac_exec_ext in '' $ac_executable_extensions; do 6861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6862 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6864 break 2 6865 fi 6866done 6867 done 6868IFS=$as_save_IFS 6869 6870fi 6871fi 6872NMEDIT=$ac_cv_prog_NMEDIT 6873if test -n "$NMEDIT"; then 6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6875$as_echo "$NMEDIT" >&6; } 6876else 6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6878$as_echo "no" >&6; } 6879fi 6880 6881 6882fi 6883if test -z "$ac_cv_prog_NMEDIT"; then 6884 ac_ct_NMEDIT=$NMEDIT 6885 # Extract the first word of "nmedit", so it can be a program name with args. 6886set dummy nmedit; ac_word=$2 6887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6888$as_echo_n "checking for $ac_word... " >&6; } 6889if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6890 $as_echo_n "(cached) " >&6 6891else 6892 if test -n "$ac_ct_NMEDIT"; then 6893 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6894else 6895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6896for as_dir in $PATH 6897do 6898 IFS=$as_save_IFS 6899 test -z "$as_dir" && as_dir=. 6900 for ac_exec_ext in '' $ac_executable_extensions; do 6901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6902 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6904 break 2 6905 fi 6906done 6907 done 6908IFS=$as_save_IFS 6909 6910fi 6911fi 6912ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6913if test -n "$ac_ct_NMEDIT"; then 6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6915$as_echo "$ac_ct_NMEDIT" >&6; } 6916else 6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6918$as_echo "no" >&6; } 6919fi 6920 6921 if test "x$ac_ct_NMEDIT" = x; then 6922 NMEDIT=":" 6923 else 6924 case $cross_compiling:$ac_tool_warned in 6925yes:) 6926{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6927$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6928ac_tool_warned=yes ;; 6929esac 6930 NMEDIT=$ac_ct_NMEDIT 6931 fi 6932else 6933 NMEDIT="$ac_cv_prog_NMEDIT" 6934fi 6935 6936 if test -n "$ac_tool_prefix"; then 6937 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6938set dummy ${ac_tool_prefix}lipo; ac_word=$2 6939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6940$as_echo_n "checking for $ac_word... " >&6; } 6941if ${ac_cv_prog_LIPO+:} false; then : 6942 $as_echo_n "(cached) " >&6 6943else 6944 if test -n "$LIPO"; then 6945 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6946else 6947as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6948for as_dir in $PATH 6949do 6950 IFS=$as_save_IFS 6951 test -z "$as_dir" && as_dir=. 6952 for ac_exec_ext in '' $ac_executable_extensions; do 6953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6954 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6956 break 2 6957 fi 6958done 6959 done 6960IFS=$as_save_IFS 6961 6962fi 6963fi 6964LIPO=$ac_cv_prog_LIPO 6965if test -n "$LIPO"; then 6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6967$as_echo "$LIPO" >&6; } 6968else 6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6970$as_echo "no" >&6; } 6971fi 6972 6973 6974fi 6975if test -z "$ac_cv_prog_LIPO"; then 6976 ac_ct_LIPO=$LIPO 6977 # Extract the first word of "lipo", so it can be a program name with args. 6978set dummy lipo; ac_word=$2 6979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6980$as_echo_n "checking for $ac_word... " >&6; } 6981if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6982 $as_echo_n "(cached) " >&6 6983else 6984 if test -n "$ac_ct_LIPO"; then 6985 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6986else 6987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6988for as_dir in $PATH 6989do 6990 IFS=$as_save_IFS 6991 test -z "$as_dir" && as_dir=. 6992 for ac_exec_ext in '' $ac_executable_extensions; do 6993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6994 ac_cv_prog_ac_ct_LIPO="lipo" 6995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6996 break 2 6997 fi 6998done 6999 done 7000IFS=$as_save_IFS 7001 7002fi 7003fi 7004ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7005if test -n "$ac_ct_LIPO"; then 7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7007$as_echo "$ac_ct_LIPO" >&6; } 7008else 7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7010$as_echo "no" >&6; } 7011fi 7012 7013 if test "x$ac_ct_LIPO" = x; then 7014 LIPO=":" 7015 else 7016 case $cross_compiling:$ac_tool_warned in 7017yes:) 7018{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7019$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7020ac_tool_warned=yes ;; 7021esac 7022 LIPO=$ac_ct_LIPO 7023 fi 7024else 7025 LIPO="$ac_cv_prog_LIPO" 7026fi 7027 7028 if test -n "$ac_tool_prefix"; then 7029 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7030set dummy ${ac_tool_prefix}otool; ac_word=$2 7031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7032$as_echo_n "checking for $ac_word... " >&6; } 7033if ${ac_cv_prog_OTOOL+:} false; then : 7034 $as_echo_n "(cached) " >&6 7035else 7036 if test -n "$OTOOL"; then 7037 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7038else 7039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7040for as_dir in $PATH 7041do 7042 IFS=$as_save_IFS 7043 test -z "$as_dir" && as_dir=. 7044 for ac_exec_ext in '' $ac_executable_extensions; do 7045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7046 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7048 break 2 7049 fi 7050done 7051 done 7052IFS=$as_save_IFS 7053 7054fi 7055fi 7056OTOOL=$ac_cv_prog_OTOOL 7057if test -n "$OTOOL"; then 7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7059$as_echo "$OTOOL" >&6; } 7060else 7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7062$as_echo "no" >&6; } 7063fi 7064 7065 7066fi 7067if test -z "$ac_cv_prog_OTOOL"; then 7068 ac_ct_OTOOL=$OTOOL 7069 # Extract the first word of "otool", so it can be a program name with args. 7070set dummy otool; ac_word=$2 7071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7072$as_echo_n "checking for $ac_word... " >&6; } 7073if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7074 $as_echo_n "(cached) " >&6 7075else 7076 if test -n "$ac_ct_OTOOL"; then 7077 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7078else 7079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7080for as_dir in $PATH 7081do 7082 IFS=$as_save_IFS 7083 test -z "$as_dir" && as_dir=. 7084 for ac_exec_ext in '' $ac_executable_extensions; do 7085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7086 ac_cv_prog_ac_ct_OTOOL="otool" 7087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7088 break 2 7089 fi 7090done 7091 done 7092IFS=$as_save_IFS 7093 7094fi 7095fi 7096ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7097if test -n "$ac_ct_OTOOL"; then 7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7099$as_echo "$ac_ct_OTOOL" >&6; } 7100else 7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7102$as_echo "no" >&6; } 7103fi 7104 7105 if test "x$ac_ct_OTOOL" = x; then 7106 OTOOL=":" 7107 else 7108 case $cross_compiling:$ac_tool_warned in 7109yes:) 7110{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7111$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7112ac_tool_warned=yes ;; 7113esac 7114 OTOOL=$ac_ct_OTOOL 7115 fi 7116else 7117 OTOOL="$ac_cv_prog_OTOOL" 7118fi 7119 7120 if test -n "$ac_tool_prefix"; then 7121 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7122set dummy ${ac_tool_prefix}otool64; ac_word=$2 7123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7124$as_echo_n "checking for $ac_word... " >&6; } 7125if ${ac_cv_prog_OTOOL64+:} false; then : 7126 $as_echo_n "(cached) " >&6 7127else 7128 if test -n "$OTOOL64"; then 7129 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7130else 7131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7132for as_dir in $PATH 7133do 7134 IFS=$as_save_IFS 7135 test -z "$as_dir" && as_dir=. 7136 for ac_exec_ext in '' $ac_executable_extensions; do 7137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7138 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7140 break 2 7141 fi 7142done 7143 done 7144IFS=$as_save_IFS 7145 7146fi 7147fi 7148OTOOL64=$ac_cv_prog_OTOOL64 7149if test -n "$OTOOL64"; then 7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7151$as_echo "$OTOOL64" >&6; } 7152else 7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7154$as_echo "no" >&6; } 7155fi 7156 7157 7158fi 7159if test -z "$ac_cv_prog_OTOOL64"; then 7160 ac_ct_OTOOL64=$OTOOL64 7161 # Extract the first word of "otool64", so it can be a program name with args. 7162set dummy otool64; ac_word=$2 7163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7164$as_echo_n "checking for $ac_word... " >&6; } 7165if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7166 $as_echo_n "(cached) " >&6 7167else 7168 if test -n "$ac_ct_OTOOL64"; then 7169 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7170else 7171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7172for as_dir in $PATH 7173do 7174 IFS=$as_save_IFS 7175 test -z "$as_dir" && as_dir=. 7176 for ac_exec_ext in '' $ac_executable_extensions; do 7177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7178 ac_cv_prog_ac_ct_OTOOL64="otool64" 7179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7180 break 2 7181 fi 7182done 7183 done 7184IFS=$as_save_IFS 7185 7186fi 7187fi 7188ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7189if test -n "$ac_ct_OTOOL64"; then 7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7191$as_echo "$ac_ct_OTOOL64" >&6; } 7192else 7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7194$as_echo "no" >&6; } 7195fi 7196 7197 if test "x$ac_ct_OTOOL64" = x; then 7198 OTOOL64=":" 7199 else 7200 case $cross_compiling:$ac_tool_warned in 7201yes:) 7202{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7203$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7204ac_tool_warned=yes ;; 7205esac 7206 OTOOL64=$ac_ct_OTOOL64 7207 fi 7208else 7209 OTOOL64="$ac_cv_prog_OTOOL64" 7210fi 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7239$as_echo_n "checking for -single_module linker flag... " >&6; } 7240if ${lt_cv_apple_cc_single_mod+:} false; then : 7241 $as_echo_n "(cached) " >&6 7242else 7243 lt_cv_apple_cc_single_mod=no 7244 if test -z "$LT_MULTI_MODULE"; then 7245 # By default we will add the -single_module flag. You can override 7246 # by either setting the environment variable LT_MULTI_MODULE 7247 # non-empty at configure time, or by adding -multi_module to the 7248 # link flags. 7249 rm -rf libconftest.dylib* 7250 echo "int foo(void){return 1;}" > conftest.c 7251 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7252-dynamiclib -Wl,-single_module conftest.c" >&5 7253 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7254 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7255 _lt_result=$? 7256 # If there is a non-empty error log, and "single_module" 7257 # appears in it, assume the flag caused a linker warning 7258 if test -s conftest.err && $GREP single_module conftest.err; then 7259 cat conftest.err >&5 7260 # Otherwise, if the output was created with a 0 exit code from 7261 # the compiler, it worked. 7262 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7263 lt_cv_apple_cc_single_mod=yes 7264 else 7265 cat conftest.err >&5 7266 fi 7267 rm -rf libconftest.dylib* 7268 rm -f conftest.* 7269 fi 7270fi 7271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7272$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7273 7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7275$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7276if ${lt_cv_ld_exported_symbols_list+:} false; then : 7277 $as_echo_n "(cached) " >&6 7278else 7279 lt_cv_ld_exported_symbols_list=no 7280 save_LDFLAGS=$LDFLAGS 7281 echo "_main" > conftest.sym 7282 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7284/* end confdefs.h. */ 7285 7286int 7287main () 7288{ 7289 7290 ; 7291 return 0; 7292} 7293_ACEOF 7294if ac_fn_c_try_link "$LINENO"; then : 7295 lt_cv_ld_exported_symbols_list=yes 7296else 7297 lt_cv_ld_exported_symbols_list=no 7298fi 7299rm -f core conftest.err conftest.$ac_objext \ 7300 conftest$ac_exeext conftest.$ac_ext 7301 LDFLAGS=$save_LDFLAGS 7302 7303fi 7304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7305$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7306 7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7308$as_echo_n "checking for -force_load linker flag... " >&6; } 7309if ${lt_cv_ld_force_load+:} false; then : 7310 $as_echo_n "(cached) " >&6 7311else 7312 lt_cv_ld_force_load=no 7313 cat > conftest.c << _LT_EOF 7314int forced_loaded() { return 2;} 7315_LT_EOF 7316 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7317 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7318 echo "$AR cru libconftest.a conftest.o" >&5 7319 $AR cru libconftest.a conftest.o 2>&5 7320 echo "$RANLIB libconftest.a" >&5 7321 $RANLIB libconftest.a 2>&5 7322 cat > conftest.c << _LT_EOF 7323int main() { return 0;} 7324_LT_EOF 7325 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7326 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7327 _lt_result=$? 7328 if test -s conftest.err && $GREP force_load conftest.err; then 7329 cat conftest.err >&5 7330 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7331 lt_cv_ld_force_load=yes 7332 else 7333 cat conftest.err >&5 7334 fi 7335 rm -f conftest.err libconftest.a conftest conftest.c 7336 rm -rf conftest.dSYM 7337 7338fi 7339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7340$as_echo "$lt_cv_ld_force_load" >&6; } 7341 case $host_os in 7342 rhapsody* | darwin1.[012]) 7343 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7344 darwin1.*) 7345 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7346 darwin*) # darwin 5.x on 7347 # if running on 10.5 or later, the deployment target defaults 7348 # to the OS version, if on x86, and 10.4, the deployment 7349 # target defaults to 10.4. Don't you love it? 7350 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7351 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7352 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7353 10.[012][,.]*) 7354 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7355 10.*) 7356 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7357 esac 7358 ;; 7359 esac 7360 if test yes = "$lt_cv_apple_cc_single_mod"; then 7361 _lt_dar_single_mod='$single_module' 7362 fi 7363 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7364 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7365 else 7366 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7367 fi 7368 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7369 _lt_dsymutil='~$DSYMUTIL $lib || :' 7370 else 7371 _lt_dsymutil= 7372 fi 7373 ;; 7374 esac 7375 7376# func_munge_path_list VARIABLE PATH 7377# ----------------------------------- 7378# VARIABLE is name of variable containing _space_ separated list of 7379# directories to be munged by the contents of PATH, which is string 7380# having a format: 7381# "DIR[:DIR]:" 7382# string "DIR[ DIR]" will be prepended to VARIABLE 7383# ":DIR[:DIR]" 7384# string "DIR[ DIR]" will be appended to VARIABLE 7385# "DIRP[:DIRP]::[DIRA:]DIRA" 7386# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7387# "DIRA[ DIRA]" will be appended to VARIABLE 7388# "DIR[:DIR]" 7389# VARIABLE will be replaced by "DIR[ DIR]" 7390func_munge_path_list () 7391{ 7392 case x$2 in 7393 x) 7394 ;; 7395 *:) 7396 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7397 ;; 7398 x:*) 7399 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7400 ;; 7401 *::*) 7402 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7403 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7404 ;; 7405 *) 7406 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7407 ;; 7408 esac 7409} 7410 7411ac_ext=c 7412ac_cpp='$CPP $CPPFLAGS' 7413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7415ac_compiler_gnu=$ac_cv_c_compiler_gnu 7416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7417$as_echo_n "checking how to run the C preprocessor... " >&6; } 7418# On Suns, sometimes $CPP names a directory. 7419if test -n "$CPP" && test -d "$CPP"; then 7420 CPP= 7421fi 7422if test -z "$CPP"; then 7423 if ${ac_cv_prog_CPP+:} false; then : 7424 $as_echo_n "(cached) " >&6 7425else 7426 # Double quotes because CPP needs to be expanded 7427 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7428 do 7429 ac_preproc_ok=false 7430for ac_c_preproc_warn_flag in '' yes 7431do 7432 # Use a header file that comes with gcc, so configuring glibc 7433 # with a fresh cross-compiler works. 7434 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7435 # <limits.h> exists even on freestanding compilers. 7436 # On the NeXT, cc -E runs the code through the compiler's parser, 7437 # not just through cpp. "Syntax error" is here to catch this case. 7438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7439/* end confdefs.h. */ 7440#ifdef __STDC__ 7441# include <limits.h> 7442#else 7443# include <assert.h> 7444#endif 7445 Syntax error 7446_ACEOF 7447if ac_fn_c_try_cpp "$LINENO"; then : 7448 7449else 7450 # Broken: fails on valid input. 7451continue 7452fi 7453rm -f conftest.err conftest.i conftest.$ac_ext 7454 7455 # OK, works on sane cases. Now check whether nonexistent headers 7456 # can be detected and how. 7457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7458/* end confdefs.h. */ 7459#include <ac_nonexistent.h> 7460_ACEOF 7461if ac_fn_c_try_cpp "$LINENO"; then : 7462 # Broken: success on invalid input. 7463continue 7464else 7465 # Passes both tests. 7466ac_preproc_ok=: 7467break 7468fi 7469rm -f conftest.err conftest.i conftest.$ac_ext 7470 7471done 7472# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7473rm -f conftest.i conftest.err conftest.$ac_ext 7474if $ac_preproc_ok; then : 7475 break 7476fi 7477 7478 done 7479 ac_cv_prog_CPP=$CPP 7480 7481fi 7482 CPP=$ac_cv_prog_CPP 7483else 7484 ac_cv_prog_CPP=$CPP 7485fi 7486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7487$as_echo "$CPP" >&6; } 7488ac_preproc_ok=false 7489for ac_c_preproc_warn_flag in '' yes 7490do 7491 # Use a header file that comes with gcc, so configuring glibc 7492 # with a fresh cross-compiler works. 7493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7494 # <limits.h> exists even on freestanding compilers. 7495 # On the NeXT, cc -E runs the code through the compiler's parser, 7496 # not just through cpp. "Syntax error" is here to catch this case. 7497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7498/* end confdefs.h. */ 7499#ifdef __STDC__ 7500# include <limits.h> 7501#else 7502# include <assert.h> 7503#endif 7504 Syntax error 7505_ACEOF 7506if ac_fn_c_try_cpp "$LINENO"; then : 7507 7508else 7509 # Broken: fails on valid input. 7510continue 7511fi 7512rm -f conftest.err conftest.i conftest.$ac_ext 7513 7514 # OK, works on sane cases. Now check whether nonexistent headers 7515 # can be detected and how. 7516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7517/* end confdefs.h. */ 7518#include <ac_nonexistent.h> 7519_ACEOF 7520if ac_fn_c_try_cpp "$LINENO"; then : 7521 # Broken: success on invalid input. 7522continue 7523else 7524 # Passes both tests. 7525ac_preproc_ok=: 7526break 7527fi 7528rm -f conftest.err conftest.i conftest.$ac_ext 7529 7530done 7531# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7532rm -f conftest.i conftest.err conftest.$ac_ext 7533if $ac_preproc_ok; then : 7534 7535else 7536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7538as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7539See \`config.log' for more details" "$LINENO" 5; } 7540fi 7541 7542ac_ext=c 7543ac_cpp='$CPP $CPPFLAGS' 7544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7546ac_compiler_gnu=$ac_cv_c_compiler_gnu 7547 7548 7549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7550$as_echo_n "checking for ANSI C header files... " >&6; } 7551if ${ac_cv_header_stdc+:} false; then : 7552 $as_echo_n "(cached) " >&6 7553else 7554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7555/* end confdefs.h. */ 7556#include <stdlib.h> 7557#include <stdarg.h> 7558#include <string.h> 7559#include <float.h> 7560 7561int 7562main () 7563{ 7564 7565 ; 7566 return 0; 7567} 7568_ACEOF 7569if ac_fn_c_try_compile "$LINENO"; then : 7570 ac_cv_header_stdc=yes 7571else 7572 ac_cv_header_stdc=no 7573fi 7574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7575 7576if test $ac_cv_header_stdc = yes; then 7577 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7579/* end confdefs.h. */ 7580#include <string.h> 7581 7582_ACEOF 7583if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7584 $EGREP "memchr" >/dev/null 2>&1; then : 7585 7586else 7587 ac_cv_header_stdc=no 7588fi 7589rm -f conftest* 7590 7591fi 7592 7593if test $ac_cv_header_stdc = yes; then 7594 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7596/* end confdefs.h. */ 7597#include <stdlib.h> 7598 7599_ACEOF 7600if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7601 $EGREP "free" >/dev/null 2>&1; then : 7602 7603else 7604 ac_cv_header_stdc=no 7605fi 7606rm -f conftest* 7607 7608fi 7609 7610if test $ac_cv_header_stdc = yes; then 7611 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7612 if test "$cross_compiling" = yes; then : 7613 : 7614else 7615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7616/* end confdefs.h. */ 7617#include <ctype.h> 7618#include <stdlib.h> 7619#if ((' ' & 0x0FF) == 0x020) 7620# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7621# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7622#else 7623# define ISLOWER(c) \ 7624 (('a' <= (c) && (c) <= 'i') \ 7625 || ('j' <= (c) && (c) <= 'r') \ 7626 || ('s' <= (c) && (c) <= 'z')) 7627# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7628#endif 7629 7630#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7631int 7632main () 7633{ 7634 int i; 7635 for (i = 0; i < 256; i++) 7636 if (XOR (islower (i), ISLOWER (i)) 7637 || toupper (i) != TOUPPER (i)) 7638 return 2; 7639 return 0; 7640} 7641_ACEOF 7642if ac_fn_c_try_run "$LINENO"; then : 7643 7644else 7645 ac_cv_header_stdc=no 7646fi 7647rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7648 conftest.$ac_objext conftest.beam conftest.$ac_ext 7649fi 7650 7651fi 7652fi 7653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7654$as_echo "$ac_cv_header_stdc" >&6; } 7655if test $ac_cv_header_stdc = yes; then 7656 7657$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7658 7659fi 7660 7661# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7662for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7663 inttypes.h stdint.h unistd.h 7664do : 7665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7666ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7667" 7668if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7669 cat >>confdefs.h <<_ACEOF 7670#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7671_ACEOF 7672 7673fi 7674 7675done 7676 7677 7678for ac_header in dlfcn.h 7679do : 7680 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7681" 7682if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7683 cat >>confdefs.h <<_ACEOF 7684#define HAVE_DLFCN_H 1 7685_ACEOF 7686 7687fi 7688 7689done 7690 7691 7692 7693 7694 7695# Set options 7696 7697 7698 7699 enable_dlopen=no 7700 7701 7702 enable_win32_dll=no 7703 7704 7705 # Check whether --enable-shared was given. 7706if test "${enable_shared+set}" = set; then : 7707 enableval=$enable_shared; p=${PACKAGE-default} 7708 case $enableval in 7709 yes) enable_shared=yes ;; 7710 no) enable_shared=no ;; 7711 *) 7712 enable_shared=no 7713 # Look at the argument we got. We use all the common list separators. 7714 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7715 for pkg in $enableval; do 7716 IFS=$lt_save_ifs 7717 if test "X$pkg" = "X$p"; then 7718 enable_shared=yes 7719 fi 7720 done 7721 IFS=$lt_save_ifs 7722 ;; 7723 esac 7724else 7725 enable_shared=yes 7726fi 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 # Check whether --enable-static was given. 7737if test "${enable_static+set}" = set; then : 7738 enableval=$enable_static; p=${PACKAGE-default} 7739 case $enableval in 7740 yes) enable_static=yes ;; 7741 no) enable_static=no ;; 7742 *) 7743 enable_static=no 7744 # Look at the argument we got. We use all the common list separators. 7745 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7746 for pkg in $enableval; do 7747 IFS=$lt_save_ifs 7748 if test "X$pkg" = "X$p"; then 7749 enable_static=yes 7750 fi 7751 done 7752 IFS=$lt_save_ifs 7753 ;; 7754 esac 7755else 7756 enable_static=yes 7757fi 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768# Check whether --with-pic was given. 7769if test "${with_pic+set}" = set; then : 7770 withval=$with_pic; lt_p=${PACKAGE-default} 7771 case $withval in 7772 yes|no) pic_mode=$withval ;; 7773 *) 7774 pic_mode=default 7775 # Look at the argument we got. We use all the common list separators. 7776 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7777 for lt_pkg in $withval; do 7778 IFS=$lt_save_ifs 7779 if test "X$lt_pkg" = "X$lt_p"; then 7780 pic_mode=yes 7781 fi 7782 done 7783 IFS=$lt_save_ifs 7784 ;; 7785 esac 7786else 7787 pic_mode=default 7788fi 7789 7790 7791 7792 7793 7794 7795 7796 7797 # Check whether --enable-fast-install was given. 7798if test "${enable_fast_install+set}" = set; then : 7799 enableval=$enable_fast_install; p=${PACKAGE-default} 7800 case $enableval in 7801 yes) enable_fast_install=yes ;; 7802 no) enable_fast_install=no ;; 7803 *) 7804 enable_fast_install=no 7805 # Look at the argument we got. We use all the common list separators. 7806 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7807 for pkg in $enableval; do 7808 IFS=$lt_save_ifs 7809 if test "X$pkg" = "X$p"; then 7810 enable_fast_install=yes 7811 fi 7812 done 7813 IFS=$lt_save_ifs 7814 ;; 7815 esac 7816else 7817 enable_fast_install=yes 7818fi 7819 7820 7821 7822 7823 7824 7825 7826 7827 shared_archive_member_spec= 7828case $host,$enable_shared in 7829power*-*-aix[5-9]*,yes) 7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 7831$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 7832 7833# Check whether --with-aix-soname was given. 7834if test "${with_aix_soname+set}" = set; then : 7835 withval=$with_aix_soname; case $withval in 7836 aix|svr4|both) 7837 ;; 7838 *) 7839 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 7840 ;; 7841 esac 7842 lt_cv_with_aix_soname=$with_aix_soname 7843else 7844 if ${lt_cv_with_aix_soname+:} false; then : 7845 $as_echo_n "(cached) " >&6 7846else 7847 lt_cv_with_aix_soname=aix 7848fi 7849 7850 with_aix_soname=$lt_cv_with_aix_soname 7851fi 7852 7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 7854$as_echo "$with_aix_soname" >&6; } 7855 if test aix != "$with_aix_soname"; then 7856 # For the AIX way of multilib, we name the shared archive member 7857 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 7858 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 7859 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 7860 # the AIX toolchain works better with OBJECT_MODE set (default 32). 7861 if test 64 = "${OBJECT_MODE-32}"; then 7862 shared_archive_member_spec=shr_64 7863 else 7864 shared_archive_member_spec=shr 7865 fi 7866 fi 7867 ;; 7868*) 7869 with_aix_soname=aix 7870 ;; 7871esac 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882# This can be used to rebuild libtool when needed 7883LIBTOOL_DEPS=$ltmain 7884 7885# Always use our own libtool. 7886LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917test -z "$LN_S" && LN_S="ln -s" 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932if test -n "${ZSH_VERSION+set}"; then 7933 setopt NO_GLOB_SUBST 7934fi 7935 7936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7937$as_echo_n "checking for objdir... " >&6; } 7938if ${lt_cv_objdir+:} false; then : 7939 $as_echo_n "(cached) " >&6 7940else 7941 rm -f .libs 2>/dev/null 7942mkdir .libs 2>/dev/null 7943if test -d .libs; then 7944 lt_cv_objdir=.libs 7945else 7946 # MS-DOS does not allow filenames that begin with a dot. 7947 lt_cv_objdir=_libs 7948fi 7949rmdir .libs 2>/dev/null 7950fi 7951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7952$as_echo "$lt_cv_objdir" >&6; } 7953objdir=$lt_cv_objdir 7954 7955 7956 7957 7958 7959cat >>confdefs.h <<_ACEOF 7960#define LT_OBJDIR "$lt_cv_objdir/" 7961_ACEOF 7962 7963 7964 7965 7966case $host_os in 7967aix3*) 7968 # AIX sometimes has problems with the GCC collect2 program. For some 7969 # reason, if we set the COLLECT_NAMES environment variable, the problems 7970 # vanish in a puff of smoke. 7971 if test set != "${COLLECT_NAMES+set}"; then 7972 COLLECT_NAMES= 7973 export COLLECT_NAMES 7974 fi 7975 ;; 7976esac 7977 7978# Global variables: 7979ofile=libtool 7980can_build_shared=yes 7981 7982# All known linkers require a '.a' archive for static linking (except MSVC, 7983# which needs '.lib'). 7984libext=a 7985 7986with_gnu_ld=$lt_cv_prog_gnu_ld 7987 7988old_CC=$CC 7989old_CFLAGS=$CFLAGS 7990 7991# Set sane defaults for various variables 7992test -z "$CC" && CC=cc 7993test -z "$LTCC" && LTCC=$CC 7994test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7995test -z "$LD" && LD=ld 7996test -z "$ac_objext" && ac_objext=o 7997 7998func_cc_basename $compiler 7999cc_basename=$func_cc_basename_result 8000 8001 8002# Only perform the check for file, if the check method requires it 8003test -z "$MAGIC_CMD" && MAGIC_CMD=file 8004case $deplibs_check_method in 8005file_magic*) 8006 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8008$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8009if ${lt_cv_path_MAGIC_CMD+:} false; then : 8010 $as_echo_n "(cached) " >&6 8011else 8012 case $MAGIC_CMD in 8013[\\/*] | ?:[\\/]*) 8014 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8015 ;; 8016*) 8017 lt_save_MAGIC_CMD=$MAGIC_CMD 8018 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8019 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8020 for ac_dir in $ac_dummy; do 8021 IFS=$lt_save_ifs 8022 test -z "$ac_dir" && ac_dir=. 8023 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8024 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8025 if test -n "$file_magic_test_file"; then 8026 case $deplibs_check_method in 8027 "file_magic "*) 8028 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8029 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8030 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8031 $EGREP "$file_magic_regex" > /dev/null; then 8032 : 8033 else 8034 cat <<_LT_EOF 1>&2 8035 8036*** Warning: the command libtool uses to detect shared libraries, 8037*** $file_magic_cmd, produces output that libtool cannot recognize. 8038*** The result is that libtool may fail to recognize shared libraries 8039*** as such. This will affect the creation of libtool libraries that 8040*** depend on shared libraries, but programs linked with such libtool 8041*** libraries will work regardless of this problem. Nevertheless, you 8042*** may want to report the problem to your system manager and/or to 8043*** bug-libtool@gnu.org 8044 8045_LT_EOF 8046 fi ;; 8047 esac 8048 fi 8049 break 8050 fi 8051 done 8052 IFS=$lt_save_ifs 8053 MAGIC_CMD=$lt_save_MAGIC_CMD 8054 ;; 8055esac 8056fi 8057 8058MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8059if test -n "$MAGIC_CMD"; then 8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8061$as_echo "$MAGIC_CMD" >&6; } 8062else 8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8064$as_echo "no" >&6; } 8065fi 8066 8067 8068 8069 8070 8071if test -z "$lt_cv_path_MAGIC_CMD"; then 8072 if test -n "$ac_tool_prefix"; then 8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8074$as_echo_n "checking for file... " >&6; } 8075if ${lt_cv_path_MAGIC_CMD+:} false; then : 8076 $as_echo_n "(cached) " >&6 8077else 8078 case $MAGIC_CMD in 8079[\\/*] | ?:[\\/]*) 8080 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8081 ;; 8082*) 8083 lt_save_MAGIC_CMD=$MAGIC_CMD 8084 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8085 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8086 for ac_dir in $ac_dummy; do 8087 IFS=$lt_save_ifs 8088 test -z "$ac_dir" && ac_dir=. 8089 if test -f "$ac_dir/file"; then 8090 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8091 if test -n "$file_magic_test_file"; then 8092 case $deplibs_check_method in 8093 "file_magic "*) 8094 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8095 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8096 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8097 $EGREP "$file_magic_regex" > /dev/null; then 8098 : 8099 else 8100 cat <<_LT_EOF 1>&2 8101 8102*** Warning: the command libtool uses to detect shared libraries, 8103*** $file_magic_cmd, produces output that libtool cannot recognize. 8104*** The result is that libtool may fail to recognize shared libraries 8105*** as such. This will affect the creation of libtool libraries that 8106*** depend on shared libraries, but programs linked with such libtool 8107*** libraries will work regardless of this problem. Nevertheless, you 8108*** may want to report the problem to your system manager and/or to 8109*** bug-libtool@gnu.org 8110 8111_LT_EOF 8112 fi ;; 8113 esac 8114 fi 8115 break 8116 fi 8117 done 8118 IFS=$lt_save_ifs 8119 MAGIC_CMD=$lt_save_MAGIC_CMD 8120 ;; 8121esac 8122fi 8123 8124MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8125if test -n "$MAGIC_CMD"; then 8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8127$as_echo "$MAGIC_CMD" >&6; } 8128else 8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8130$as_echo "no" >&6; } 8131fi 8132 8133 8134 else 8135 MAGIC_CMD=: 8136 fi 8137fi 8138 8139 fi 8140 ;; 8141esac 8142 8143# Use C for the default configuration in the libtool script 8144 8145lt_save_CC=$CC 8146ac_ext=c 8147ac_cpp='$CPP $CPPFLAGS' 8148ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8149ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8150ac_compiler_gnu=$ac_cv_c_compiler_gnu 8151 8152 8153# Source file extension for C test sources. 8154ac_ext=c 8155 8156# Object file extension for compiled C test sources. 8157objext=o 8158objext=$objext 8159 8160# Code to be used in simple compile tests 8161lt_simple_compile_test_code="int some_variable = 0;" 8162 8163# Code to be used in simple link tests 8164lt_simple_link_test_code='int main(){return(0);}' 8165 8166 8167 8168 8169 8170 8171 8172# If no C compiler was specified, use CC. 8173LTCC=${LTCC-"$CC"} 8174 8175# If no C compiler flags were specified, use CFLAGS. 8176LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8177 8178# Allow CC to be a program name with arguments. 8179compiler=$CC 8180 8181# Save the default compiler, since it gets overwritten when the other 8182# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8183compiler_DEFAULT=$CC 8184 8185# save warnings/boilerplate of simple test code 8186ac_outfile=conftest.$ac_objext 8187echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8188eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8189_lt_compiler_boilerplate=`cat conftest.err` 8190$RM conftest* 8191 8192ac_outfile=conftest.$ac_objext 8193echo "$lt_simple_link_test_code" >conftest.$ac_ext 8194eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8195_lt_linker_boilerplate=`cat conftest.err` 8196$RM -r conftest* 8197 8198 8199if test -n "$compiler"; then 8200 8201lt_prog_compiler_no_builtin_flag= 8202 8203if test yes = "$GCC"; then 8204 case $cc_basename in 8205 nvcc*) 8206 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8207 *) 8208 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8209 esac 8210 8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8212$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8213if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8214 $as_echo_n "(cached) " >&6 8215else 8216 lt_cv_prog_compiler_rtti_exceptions=no 8217 ac_outfile=conftest.$ac_objext 8218 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8219 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8220 # Insert the option either (1) after the last *FLAGS variable, or 8221 # (2) before a word containing "conftest.", or (3) at the end. 8222 # Note that $ac_compile itself does not contain backslashes and begins 8223 # with a dollar sign (not a hyphen), so the echo should work correctly. 8224 # The option is referenced via a variable to avoid confusing sed. 8225 lt_compile=`echo "$ac_compile" | $SED \ 8226 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8227 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8228 -e 's:$: $lt_compiler_flag:'` 8229 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8230 (eval "$lt_compile" 2>conftest.err) 8231 ac_status=$? 8232 cat conftest.err >&5 8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8234 if (exit $ac_status) && test -s "$ac_outfile"; then 8235 # The compiler can only warn and ignore the option if not recognized 8236 # So say no if there are warnings other than the usual output. 8237 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8238 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8239 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8240 lt_cv_prog_compiler_rtti_exceptions=yes 8241 fi 8242 fi 8243 $RM conftest* 8244 8245fi 8246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8247$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8248 8249if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8250 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8251else 8252 : 8253fi 8254 8255fi 8256 8257 8258 8259 8260 8261 8262 lt_prog_compiler_wl= 8263lt_prog_compiler_pic= 8264lt_prog_compiler_static= 8265 8266 8267 if test yes = "$GCC"; then 8268 lt_prog_compiler_wl='-Wl,' 8269 lt_prog_compiler_static='-static' 8270 8271 case $host_os in 8272 aix*) 8273 # All AIX code is PIC. 8274 if test ia64 = "$host_cpu"; then 8275 # AIX 5 now supports IA64 processor 8276 lt_prog_compiler_static='-Bstatic' 8277 fi 8278 lt_prog_compiler_pic='-fPIC' 8279 ;; 8280 8281 amigaos*) 8282 case $host_cpu in 8283 powerpc) 8284 # see comment about AmigaOS4 .so support 8285 lt_prog_compiler_pic='-fPIC' 8286 ;; 8287 m68k) 8288 # FIXME: we need at least 68020 code to build shared libraries, but 8289 # adding the '-m68020' flag to GCC prevents building anything better, 8290 # like '-m68040'. 8291 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8292 ;; 8293 esac 8294 ;; 8295 8296 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8297 # PIC is the default for these OSes. 8298 ;; 8299 8300 mingw* | cygwin* | pw32* | os2* | cegcc*) 8301 # This hack is so that the source file can tell whether it is being 8302 # built for inclusion in a dll (and should export symbols for example). 8303 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8304 # (--disable-auto-import) libraries 8305 lt_prog_compiler_pic='-DDLL_EXPORT' 8306 case $host_os in 8307 os2*) 8308 lt_prog_compiler_static='$wl-static' 8309 ;; 8310 esac 8311 ;; 8312 8313 darwin* | rhapsody*) 8314 # PIC is the default on this platform 8315 # Common symbols not allowed in MH_DYLIB files 8316 lt_prog_compiler_pic='-fno-common' 8317 ;; 8318 8319 haiku*) 8320 # PIC is the default for Haiku. 8321 # The "-static" flag exists, but is broken. 8322 lt_prog_compiler_static= 8323 ;; 8324 8325 hpux*) 8326 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8327 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8328 # sets the default TLS model and affects inlining. 8329 case $host_cpu in 8330 hppa*64*) 8331 # +Z the default 8332 ;; 8333 *) 8334 lt_prog_compiler_pic='-fPIC' 8335 ;; 8336 esac 8337 ;; 8338 8339 interix[3-9]*) 8340 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8341 # Instead, we relocate shared libraries at runtime. 8342 ;; 8343 8344 msdosdjgpp*) 8345 # Just because we use GCC doesn't mean we suddenly get shared libraries 8346 # on systems that don't support them. 8347 lt_prog_compiler_can_build_shared=no 8348 enable_shared=no 8349 ;; 8350 8351 *nto* | *qnx*) 8352 # QNX uses GNU C++, but need to define -shared option too, otherwise 8353 # it will coredump. 8354 lt_prog_compiler_pic='-fPIC -shared' 8355 ;; 8356 8357 sysv4*MP*) 8358 if test -d /usr/nec; then 8359 lt_prog_compiler_pic=-Kconform_pic 8360 fi 8361 ;; 8362 8363 *) 8364 lt_prog_compiler_pic='-fPIC' 8365 ;; 8366 esac 8367 8368 case $cc_basename in 8369 nvcc*) # Cuda Compiler Driver 2.2 8370 lt_prog_compiler_wl='-Xlinker ' 8371 if test -n "$lt_prog_compiler_pic"; then 8372 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8373 fi 8374 ;; 8375 esac 8376 else 8377 # PORTME Check for flag to pass linker flags through the system compiler. 8378 case $host_os in 8379 aix*) 8380 lt_prog_compiler_wl='-Wl,' 8381 if test ia64 = "$host_cpu"; then 8382 # AIX 5 now supports IA64 processor 8383 lt_prog_compiler_static='-Bstatic' 8384 else 8385 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8386 fi 8387 ;; 8388 8389 darwin* | rhapsody*) 8390 # PIC is the default on this platform 8391 # Common symbols not allowed in MH_DYLIB files 8392 lt_prog_compiler_pic='-fno-common' 8393 case $cc_basename in 8394 nagfor*) 8395 # NAG Fortran compiler 8396 lt_prog_compiler_wl='-Wl,-Wl,,' 8397 lt_prog_compiler_pic='-PIC' 8398 lt_prog_compiler_static='-Bstatic' 8399 ;; 8400 esac 8401 ;; 8402 8403 mingw* | cygwin* | pw32* | os2* | cegcc*) 8404 # This hack is so that the source file can tell whether it is being 8405 # built for inclusion in a dll (and should export symbols for example). 8406 lt_prog_compiler_pic='-DDLL_EXPORT' 8407 case $host_os in 8408 os2*) 8409 lt_prog_compiler_static='$wl-static' 8410 ;; 8411 esac 8412 ;; 8413 8414 hpux9* | hpux10* | hpux11*) 8415 lt_prog_compiler_wl='-Wl,' 8416 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8417 # not for PA HP-UX. 8418 case $host_cpu in 8419 hppa*64*|ia64*) 8420 # +Z the default 8421 ;; 8422 *) 8423 lt_prog_compiler_pic='+Z' 8424 ;; 8425 esac 8426 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8427 lt_prog_compiler_static='$wl-a ${wl}archive' 8428 ;; 8429 8430 irix5* | irix6* | nonstopux*) 8431 lt_prog_compiler_wl='-Wl,' 8432 # PIC (with -KPIC) is the default. 8433 lt_prog_compiler_static='-non_shared' 8434 ;; 8435 8436 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8437 case $cc_basename in 8438 # old Intel for x86_64, which still supported -KPIC. 8439 ecc*) 8440 lt_prog_compiler_wl='-Wl,' 8441 lt_prog_compiler_pic='-KPIC' 8442 lt_prog_compiler_static='-static' 8443 ;; 8444 # icc used to be incompatible with GCC. 8445 # ICC 10 doesn't accept -KPIC any more. 8446 icc* | ifort*) 8447 lt_prog_compiler_wl='-Wl,' 8448 lt_prog_compiler_pic='-fPIC' 8449 lt_prog_compiler_static='-static' 8450 ;; 8451 # Lahey Fortran 8.1. 8452 lf95*) 8453 lt_prog_compiler_wl='-Wl,' 8454 lt_prog_compiler_pic='--shared' 8455 lt_prog_compiler_static='--static' 8456 ;; 8457 nagfor*) 8458 # NAG Fortran compiler 8459 lt_prog_compiler_wl='-Wl,-Wl,,' 8460 lt_prog_compiler_pic='-PIC' 8461 lt_prog_compiler_static='-Bstatic' 8462 ;; 8463 tcc*) 8464 # Fabrice Bellard et al's Tiny C Compiler 8465 lt_prog_compiler_wl='-Wl,' 8466 lt_prog_compiler_pic='-fPIC' 8467 lt_prog_compiler_static='-static' 8468 ;; 8469 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8470 # Portland Group compilers (*not* the Pentium gcc compiler, 8471 # which looks to be a dead project) 8472 lt_prog_compiler_wl='-Wl,' 8473 lt_prog_compiler_pic='-fpic' 8474 lt_prog_compiler_static='-Bstatic' 8475 ;; 8476 ccc*) 8477 lt_prog_compiler_wl='-Wl,' 8478 # All Alpha code is PIC. 8479 lt_prog_compiler_static='-non_shared' 8480 ;; 8481 xl* | bgxl* | bgf* | mpixl*) 8482 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8483 lt_prog_compiler_wl='-Wl,' 8484 lt_prog_compiler_pic='-qpic' 8485 lt_prog_compiler_static='-qstaticlink' 8486 ;; 8487 *) 8488 case `$CC -V 2>&1 | sed 5q` in 8489 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8490 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8491 lt_prog_compiler_pic='-KPIC' 8492 lt_prog_compiler_static='-Bstatic' 8493 lt_prog_compiler_wl='' 8494 ;; 8495 *Sun\ F* | *Sun*Fortran*) 8496 lt_prog_compiler_pic='-KPIC' 8497 lt_prog_compiler_static='-Bstatic' 8498 lt_prog_compiler_wl='-Qoption ld ' 8499 ;; 8500 *Sun\ C*) 8501 # Sun C 5.9 8502 lt_prog_compiler_pic='-KPIC' 8503 lt_prog_compiler_static='-Bstatic' 8504 lt_prog_compiler_wl='-Wl,' 8505 ;; 8506 *Intel*\ [CF]*Compiler*) 8507 lt_prog_compiler_wl='-Wl,' 8508 lt_prog_compiler_pic='-fPIC' 8509 lt_prog_compiler_static='-static' 8510 ;; 8511 *Portland\ Group*) 8512 lt_prog_compiler_wl='-Wl,' 8513 lt_prog_compiler_pic='-fpic' 8514 lt_prog_compiler_static='-Bstatic' 8515 ;; 8516 esac 8517 ;; 8518 esac 8519 ;; 8520 8521 newsos6) 8522 lt_prog_compiler_pic='-KPIC' 8523 lt_prog_compiler_static='-Bstatic' 8524 ;; 8525 8526 *nto* | *qnx*) 8527 # QNX uses GNU C++, but need to define -shared option too, otherwise 8528 # it will coredump. 8529 lt_prog_compiler_pic='-fPIC -shared' 8530 ;; 8531 8532 osf3* | osf4* | osf5*) 8533 lt_prog_compiler_wl='-Wl,' 8534 # All OSF/1 code is PIC. 8535 lt_prog_compiler_static='-non_shared' 8536 ;; 8537 8538 rdos*) 8539 lt_prog_compiler_static='-non_shared' 8540 ;; 8541 8542 solaris*) 8543 lt_prog_compiler_pic='-KPIC' 8544 lt_prog_compiler_static='-Bstatic' 8545 case $cc_basename in 8546 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8547 lt_prog_compiler_wl='-Qoption ld ';; 8548 *) 8549 lt_prog_compiler_wl='-Wl,';; 8550 esac 8551 ;; 8552 8553 sunos4*) 8554 lt_prog_compiler_wl='-Qoption ld ' 8555 lt_prog_compiler_pic='-PIC' 8556 lt_prog_compiler_static='-Bstatic' 8557 ;; 8558 8559 sysv4 | sysv4.2uw2* | sysv4.3*) 8560 lt_prog_compiler_wl='-Wl,' 8561 lt_prog_compiler_pic='-KPIC' 8562 lt_prog_compiler_static='-Bstatic' 8563 ;; 8564 8565 sysv4*MP*) 8566 if test -d /usr/nec; then 8567 lt_prog_compiler_pic='-Kconform_pic' 8568 lt_prog_compiler_static='-Bstatic' 8569 fi 8570 ;; 8571 8572 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8573 lt_prog_compiler_wl='-Wl,' 8574 lt_prog_compiler_pic='-KPIC' 8575 lt_prog_compiler_static='-Bstatic' 8576 ;; 8577 8578 unicos*) 8579 lt_prog_compiler_wl='-Wl,' 8580 lt_prog_compiler_can_build_shared=no 8581 ;; 8582 8583 uts4*) 8584 lt_prog_compiler_pic='-pic' 8585 lt_prog_compiler_static='-Bstatic' 8586 ;; 8587 8588 *) 8589 lt_prog_compiler_can_build_shared=no 8590 ;; 8591 esac 8592 fi 8593 8594case $host_os in 8595 # For platforms that do not support PIC, -DPIC is meaningless: 8596 *djgpp*) 8597 lt_prog_compiler_pic= 8598 ;; 8599 *) 8600 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8601 ;; 8602esac 8603 8604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8605$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8606if ${lt_cv_prog_compiler_pic+:} false; then : 8607 $as_echo_n "(cached) " >&6 8608else 8609 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8610fi 8611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8612$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8613lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8614 8615# 8616# Check to make sure the PIC flag actually works. 8617# 8618if test -n "$lt_prog_compiler_pic"; then 8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8620$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8621if ${lt_cv_prog_compiler_pic_works+:} false; then : 8622 $as_echo_n "(cached) " >&6 8623else 8624 lt_cv_prog_compiler_pic_works=no 8625 ac_outfile=conftest.$ac_objext 8626 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8627 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8628 # Insert the option either (1) after the last *FLAGS variable, or 8629 # (2) before a word containing "conftest.", or (3) at the end. 8630 # Note that $ac_compile itself does not contain backslashes and begins 8631 # with a dollar sign (not a hyphen), so the echo should work correctly. 8632 # The option is referenced via a variable to avoid confusing sed. 8633 lt_compile=`echo "$ac_compile" | $SED \ 8634 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8635 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8636 -e 's:$: $lt_compiler_flag:'` 8637 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8638 (eval "$lt_compile" 2>conftest.err) 8639 ac_status=$? 8640 cat conftest.err >&5 8641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8642 if (exit $ac_status) && test -s "$ac_outfile"; then 8643 # The compiler can only warn and ignore the option if not recognized 8644 # So say no if there are warnings other than the usual output. 8645 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8646 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8647 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8648 lt_cv_prog_compiler_pic_works=yes 8649 fi 8650 fi 8651 $RM conftest* 8652 8653fi 8654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8655$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8656 8657if test yes = "$lt_cv_prog_compiler_pic_works"; then 8658 case $lt_prog_compiler_pic in 8659 "" | " "*) ;; 8660 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8661 esac 8662else 8663 lt_prog_compiler_pic= 8664 lt_prog_compiler_can_build_shared=no 8665fi 8666 8667fi 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679# 8680# Check to make sure the static flag actually works. 8681# 8682wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8684$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8685if ${lt_cv_prog_compiler_static_works+:} false; then : 8686 $as_echo_n "(cached) " >&6 8687else 8688 lt_cv_prog_compiler_static_works=no 8689 save_LDFLAGS=$LDFLAGS 8690 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8691 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8692 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8693 # The linker can only warn and ignore the option if not recognized 8694 # So say no if there are warnings 8695 if test -s conftest.err; then 8696 # Append any errors to the config.log. 8697 cat conftest.err 1>&5 8698 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8699 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8700 if diff conftest.exp conftest.er2 >/dev/null; then 8701 lt_cv_prog_compiler_static_works=yes 8702 fi 8703 else 8704 lt_cv_prog_compiler_static_works=yes 8705 fi 8706 fi 8707 $RM -r conftest* 8708 LDFLAGS=$save_LDFLAGS 8709 8710fi 8711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8712$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8713 8714if test yes = "$lt_cv_prog_compiler_static_works"; then 8715 : 8716else 8717 lt_prog_compiler_static= 8718fi 8719 8720 8721 8722 8723 8724 8725 8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8727$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8728if ${lt_cv_prog_compiler_c_o+:} false; then : 8729 $as_echo_n "(cached) " >&6 8730else 8731 lt_cv_prog_compiler_c_o=no 8732 $RM -r conftest 2>/dev/null 8733 mkdir conftest 8734 cd conftest 8735 mkdir out 8736 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8737 8738 lt_compiler_flag="-o out/conftest2.$ac_objext" 8739 # Insert the option either (1) after the last *FLAGS variable, or 8740 # (2) before a word containing "conftest.", or (3) at the end. 8741 # Note that $ac_compile itself does not contain backslashes and begins 8742 # with a dollar sign (not a hyphen), so the echo should work correctly. 8743 lt_compile=`echo "$ac_compile" | $SED \ 8744 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8745 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8746 -e 's:$: $lt_compiler_flag:'` 8747 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8748 (eval "$lt_compile" 2>out/conftest.err) 8749 ac_status=$? 8750 cat out/conftest.err >&5 8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8752 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8753 then 8754 # The compiler can only warn and ignore the option if not recognized 8755 # So say no if there are warnings 8756 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8757 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8758 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8759 lt_cv_prog_compiler_c_o=yes 8760 fi 8761 fi 8762 chmod u+w . 2>&5 8763 $RM conftest* 8764 # SGI C++ compiler will create directory out/ii_files/ for 8765 # template instantiation 8766 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8767 $RM out/* && rmdir out 8768 cd .. 8769 $RM -r conftest 8770 $RM conftest* 8771 8772fi 8773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8774$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8775 8776 8777 8778 8779 8780 8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8782$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8783if ${lt_cv_prog_compiler_c_o+:} false; then : 8784 $as_echo_n "(cached) " >&6 8785else 8786 lt_cv_prog_compiler_c_o=no 8787 $RM -r conftest 2>/dev/null 8788 mkdir conftest 8789 cd conftest 8790 mkdir out 8791 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8792 8793 lt_compiler_flag="-o out/conftest2.$ac_objext" 8794 # Insert the option either (1) after the last *FLAGS variable, or 8795 # (2) before a word containing "conftest.", or (3) at the end. 8796 # Note that $ac_compile itself does not contain backslashes and begins 8797 # with a dollar sign (not a hyphen), so the echo should work correctly. 8798 lt_compile=`echo "$ac_compile" | $SED \ 8799 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8800 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8801 -e 's:$: $lt_compiler_flag:'` 8802 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8803 (eval "$lt_compile" 2>out/conftest.err) 8804 ac_status=$? 8805 cat out/conftest.err >&5 8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8807 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8808 then 8809 # The compiler can only warn and ignore the option if not recognized 8810 # So say no if there are warnings 8811 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8812 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8813 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8814 lt_cv_prog_compiler_c_o=yes 8815 fi 8816 fi 8817 chmod u+w . 2>&5 8818 $RM conftest* 8819 # SGI C++ compiler will create directory out/ii_files/ for 8820 # template instantiation 8821 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8822 $RM out/* && rmdir out 8823 cd .. 8824 $RM -r conftest 8825 $RM conftest* 8826 8827fi 8828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8829$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8830 8831 8832 8833 8834hard_links=nottested 8835if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 8836 # do not overwrite the value of need_locks provided by the user 8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8838$as_echo_n "checking if we can lock with hard links... " >&6; } 8839 hard_links=yes 8840 $RM conftest* 8841 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8842 touch conftest.a 8843 ln conftest.a conftest.b 2>&5 || hard_links=no 8844 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8846$as_echo "$hard_links" >&6; } 8847 if test no = "$hard_links"; then 8848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 8849$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 8850 need_locks=warn 8851 fi 8852else 8853 need_locks=no 8854fi 8855 8856 8857 8858 8859 8860 8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8862$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8863 8864 runpath_var= 8865 allow_undefined_flag= 8866 always_export_symbols=no 8867 archive_cmds= 8868 archive_expsym_cmds= 8869 compiler_needs_object=no 8870 enable_shared_with_static_runtimes=no 8871 export_dynamic_flag_spec= 8872 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8873 hardcode_automatic=no 8874 hardcode_direct=no 8875 hardcode_direct_absolute=no 8876 hardcode_libdir_flag_spec= 8877 hardcode_libdir_separator= 8878 hardcode_minus_L=no 8879 hardcode_shlibpath_var=unsupported 8880 inherit_rpath=no 8881 link_all_deplibs=unknown 8882 module_cmds= 8883 module_expsym_cmds= 8884 old_archive_from_new_cmds= 8885 old_archive_from_expsyms_cmds= 8886 thread_safe_flag_spec= 8887 whole_archive_flag_spec= 8888 # include_expsyms should be a list of space-separated symbols to be *always* 8889 # included in the symbol list 8890 include_expsyms= 8891 # exclude_expsyms can be an extended regexp of symbols to exclude 8892 # it will be wrapped by ' (' and ')$', so one must not match beginning or 8893 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 8894 # as well as any symbol that contains 'd'. 8895 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8896 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8897 # platforms (ab)use it in PIC code, but their linkers get confused if 8898 # the symbol is explicitly referenced. Since portable code cannot 8899 # rely on this symbol name, it's probably fine to never include it in 8900 # preloaded symbol tables. 8901 # Exclude shared library initialization/finalization symbols. 8902 extract_expsyms_cmds= 8903 8904 case $host_os in 8905 cygwin* | mingw* | pw32* | cegcc*) 8906 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8907 # When not using gcc, we currently assume that we are using 8908 # Microsoft Visual C++. 8909 if test yes != "$GCC"; then 8910 with_gnu_ld=no 8911 fi 8912 ;; 8913 interix*) 8914 # we just hope/assume this is gcc and not c89 (= MSVC++) 8915 with_gnu_ld=yes 8916 ;; 8917 openbsd* | bitrig*) 8918 with_gnu_ld=no 8919 ;; 8920 esac 8921 8922 ld_shlibs=yes 8923 8924 # On some targets, GNU ld is compatible enough with the native linker 8925 # that we're better off using the native interface for both. 8926 lt_use_gnu_ld_interface=no 8927 if test yes = "$with_gnu_ld"; then 8928 case $host_os in 8929 aix*) 8930 # The AIX port of GNU ld has always aspired to compatibility 8931 # with the native linker. However, as the warning in the GNU ld 8932 # block says, versions before 2.19.5* couldn't really create working 8933 # shared libraries, regardless of the interface used. 8934 case `$LD -v 2>&1` in 8935 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8936 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8937 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8938 *) 8939 lt_use_gnu_ld_interface=yes 8940 ;; 8941 esac 8942 ;; 8943 *) 8944 lt_use_gnu_ld_interface=yes 8945 ;; 8946 esac 8947 fi 8948 8949 if test yes = "$lt_use_gnu_ld_interface"; then 8950 # If archive_cmds runs LD, not CC, wlarc should be empty 8951 wlarc='$wl' 8952 8953 # Set some defaults for GNU ld with shared library support. These 8954 # are reset later if shared libraries are not supported. Putting them 8955 # here allows them to be overridden if necessary. 8956 runpath_var=LD_RUN_PATH 8957 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 8958 export_dynamic_flag_spec='$wl--export-dynamic' 8959 # ancient GNU ld didn't support --whole-archive et. al. 8960 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8961 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 8962 else 8963 whole_archive_flag_spec= 8964 fi 8965 supports_anon_versioning=no 8966 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 8967 *GNU\ gold*) supports_anon_versioning=yes ;; 8968 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8969 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8970 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8971 *\ 2.11.*) ;; # other 2.11 versions 8972 *) supports_anon_versioning=yes ;; 8973 esac 8974 8975 # See if GNU ld supports shared libraries. 8976 case $host_os in 8977 aix[3-9]*) 8978 # On AIX/PPC, the GNU linker is very broken 8979 if test ia64 != "$host_cpu"; then 8980 ld_shlibs=no 8981 cat <<_LT_EOF 1>&2 8982 8983*** Warning: the GNU linker, at least up to release 2.19, is reported 8984*** to be unable to reliably create shared libraries on AIX. 8985*** Therefore, libtool is disabling shared libraries support. If you 8986*** really care for shared libraries, you may want to install binutils 8987*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8988*** You will then need to restart the configuration process. 8989 8990_LT_EOF 8991 fi 8992 ;; 8993 8994 amigaos*) 8995 case $host_cpu in 8996 powerpc) 8997 # see comment about AmigaOS4 .so support 8998 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8999 archive_expsym_cmds='' 9000 ;; 9001 m68k) 9002 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)' 9003 hardcode_libdir_flag_spec='-L$libdir' 9004 hardcode_minus_L=yes 9005 ;; 9006 esac 9007 ;; 9008 9009 beos*) 9010 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9011 allow_undefined_flag=unsupported 9012 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9013 # support --undefined. This deserves some investigation. FIXME 9014 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9015 else 9016 ld_shlibs=no 9017 fi 9018 ;; 9019 9020 cygwin* | mingw* | pw32* | cegcc*) 9021 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9022 # as there is no search path for DLLs. 9023 hardcode_libdir_flag_spec='-L$libdir' 9024 export_dynamic_flag_spec='$wl--export-all-symbols' 9025 allow_undefined_flag=unsupported 9026 always_export_symbols=no 9027 enable_shared_with_static_runtimes=yes 9028 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' 9029 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9030 9031 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9032 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9033 # If the export-symbols file already is a .def file, use it as 9034 # is; otherwise, prepend EXPORTS... 9035 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9036 cp $export_symbols $output_objdir/$soname.def; 9037 else 9038 echo EXPORTS > $output_objdir/$soname.def; 9039 cat $export_symbols >> $output_objdir/$soname.def; 9040 fi~ 9041 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9042 else 9043 ld_shlibs=no 9044 fi 9045 ;; 9046 9047 haiku*) 9048 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9049 link_all_deplibs=yes 9050 ;; 9051 9052 os2*) 9053 hardcode_libdir_flag_spec='-L$libdir' 9054 hardcode_minus_L=yes 9055 allow_undefined_flag=unsupported 9056 shrext_cmds=.dll 9057 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9058 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9059 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9060 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9061 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9062 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9063 emximp -o $lib $output_objdir/$libname.def' 9064 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9065 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9066 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9067 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9068 prefix_cmds="$SED"~ 9069 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9070 prefix_cmds="$prefix_cmds -e 1d"; 9071 fi~ 9072 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9073 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9074 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9075 emximp -o $lib $output_objdir/$libname.def' 9076 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9077 enable_shared_with_static_runtimes=yes 9078 ;; 9079 9080 interix[3-9]*) 9081 hardcode_direct=no 9082 hardcode_shlibpath_var=no 9083 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9084 export_dynamic_flag_spec='$wl-E' 9085 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9086 # Instead, shared libraries are loaded at an image base (0x10000000 by 9087 # default) and relocated if they conflict, which is a slow very memory 9088 # consuming and fragmenting process. To avoid this, we pick a random, 9089 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9090 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9091 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9092 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' 9093 ;; 9094 9095 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9096 tmp_diet=no 9097 if test linux-dietlibc = "$host_os"; then 9098 case $cc_basename in 9099 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9100 esac 9101 fi 9102 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9103 && test no = "$tmp_diet" 9104 then 9105 tmp_addflag=' $pic_flag' 9106 tmp_sharedflag='-shared' 9107 case $cc_basename,$host_cpu in 9108 pgcc*) # Portland Group C compiler 9109 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' 9110 tmp_addflag=' $pic_flag' 9111 ;; 9112 pgf77* | pgf90* | pgf95* | pgfortran*) 9113 # Portland Group f77 and f90 compilers 9114 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' 9115 tmp_addflag=' $pic_flag -Mnomain' ;; 9116 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9117 tmp_addflag=' -i_dynamic' ;; 9118 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9119 tmp_addflag=' -i_dynamic -nofor_main' ;; 9120 ifc* | ifort*) # Intel Fortran compiler 9121 tmp_addflag=' -nofor_main' ;; 9122 lf95*) # Lahey Fortran 8.1 9123 whole_archive_flag_spec= 9124 tmp_sharedflag='--shared' ;; 9125 nagfor*) # NAGFOR 5.3 9126 tmp_sharedflag='-Wl,-shared' ;; 9127 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9128 tmp_sharedflag='-qmkshrobj' 9129 tmp_addflag= ;; 9130 nvcc*) # Cuda Compiler Driver 2.2 9131 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' 9132 compiler_needs_object=yes 9133 ;; 9134 esac 9135 case `$CC -V 2>&1 | sed 5q` in 9136 *Sun\ C*) # Sun C 5.9 9137 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' 9138 compiler_needs_object=yes 9139 tmp_sharedflag='-G' ;; 9140 *Sun\ F*) # Sun Fortran 8.3 9141 tmp_sharedflag='-G' ;; 9142 esac 9143 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9144 9145 if test yes = "$supports_anon_versioning"; then 9146 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9147 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9148 echo "local: *; };" >> $output_objdir/$libname.ver~ 9149 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9150 fi 9151 9152 case $cc_basename in 9153 tcc*) 9154 export_dynamic_flag_spec='-rdynamic' 9155 ;; 9156 xlf* | bgf* | bgxlf* | mpixlf*) 9157 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9158 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9159 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9160 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9161 if test yes = "$supports_anon_versioning"; then 9162 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9163 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9164 echo "local: *; };" >> $output_objdir/$libname.ver~ 9165 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9166 fi 9167 ;; 9168 esac 9169 else 9170 ld_shlibs=no 9171 fi 9172 ;; 9173 9174 netbsd*) 9175 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9176 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9177 wlarc= 9178 else 9179 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9180 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9181 fi 9182 ;; 9183 9184 solaris*) 9185 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9186 ld_shlibs=no 9187 cat <<_LT_EOF 1>&2 9188 9189*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9190*** create shared libraries on Solaris systems. Therefore, libtool 9191*** is disabling shared libraries support. We urge you to upgrade GNU 9192*** binutils to release 2.9.1 or newer. Another option is to modify 9193*** your PATH or compiler configuration so that the native linker is 9194*** used, and then restart. 9195 9196_LT_EOF 9197 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9198 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9199 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9200 else 9201 ld_shlibs=no 9202 fi 9203 ;; 9204 9205 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9206 case `$LD -v 2>&1` in 9207 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9208 ld_shlibs=no 9209 cat <<_LT_EOF 1>&2 9210 9211*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9212*** reliably create shared libraries on SCO systems. Therefore, libtool 9213*** is disabling shared libraries support. We urge you to upgrade GNU 9214*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9215*** your PATH or compiler configuration so that the native linker is 9216*** used, and then restart. 9217 9218_LT_EOF 9219 ;; 9220 *) 9221 # For security reasons, it is highly recommended that you always 9222 # use absolute paths for naming shared libraries, and exclude the 9223 # DT_RUNPATH tag from executables and libraries. But doing so 9224 # requires that you compile everything twice, which is a pain. 9225 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9226 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9227 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9228 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9229 else 9230 ld_shlibs=no 9231 fi 9232 ;; 9233 esac 9234 ;; 9235 9236 sunos4*) 9237 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9238 wlarc= 9239 hardcode_direct=yes 9240 hardcode_shlibpath_var=no 9241 ;; 9242 9243 *) 9244 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9245 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9246 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9247 else 9248 ld_shlibs=no 9249 fi 9250 ;; 9251 esac 9252 9253 if test no = "$ld_shlibs"; then 9254 runpath_var= 9255 hardcode_libdir_flag_spec= 9256 export_dynamic_flag_spec= 9257 whole_archive_flag_spec= 9258 fi 9259 else 9260 # PORTME fill in a description of your system's linker (not GNU ld) 9261 case $host_os in 9262 aix3*) 9263 allow_undefined_flag=unsupported 9264 always_export_symbols=yes 9265 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' 9266 # Note: this linker hardcodes the directories in LIBPATH if there 9267 # are no directories specified by -L. 9268 hardcode_minus_L=yes 9269 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9270 # Neither direct hardcoding nor static linking is supported with a 9271 # broken collect2. 9272 hardcode_direct=unsupported 9273 fi 9274 ;; 9275 9276 aix[4-9]*) 9277 if test ia64 = "$host_cpu"; then 9278 # On IA64, the linker does run time linking by default, so we don't 9279 # have to do anything special. 9280 aix_use_runtimelinking=no 9281 exp_sym_flag='-Bexport' 9282 no_entry_flag= 9283 else 9284 # If we're using GNU nm, then we don't want the "-C" option. 9285 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9286 # Without the "-l" option, or with the "-B" option, AIX nm treats 9287 # weak defined symbols like other global defined symbols, whereas 9288 # GNU nm marks them as "W". 9289 # While the 'weak' keyword is ignored in the Export File, we need 9290 # it in the Import File for the 'aix-soname' feature, so we have 9291 # to replace the "-B" option with "-P" for AIX nm. 9292 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9293 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' 9294 else 9295 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' 9296 fi 9297 aix_use_runtimelinking=no 9298 9299 # Test if we are trying to use run time linking or normal 9300 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9301 # have runtime linking enabled, and use it for executables. 9302 # For shared libraries, we enable/disable runtime linking 9303 # depending on the kind of the shared library created - 9304 # when "with_aix_soname,aix_use_runtimelinking" is: 9305 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9306 # "aix,yes" lib.so shared, rtl:yes, for executables 9307 # lib.a static archive 9308 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9309 # lib.a(lib.so.V) shared, rtl:no, for executables 9310 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9311 # lib.a(lib.so.V) shared, rtl:no 9312 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9313 # lib.a static archive 9314 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9315 for ld_flag in $LDFLAGS; do 9316 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9317 aix_use_runtimelinking=yes 9318 break 9319 fi 9320 done 9321 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9322 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9323 # so we don't have lib.a shared libs to link our executables. 9324 # We have to force runtime linking in this case. 9325 aix_use_runtimelinking=yes 9326 LDFLAGS="$LDFLAGS -Wl,-brtl" 9327 fi 9328 ;; 9329 esac 9330 9331 exp_sym_flag='-bexport' 9332 no_entry_flag='-bnoentry' 9333 fi 9334 9335 # When large executables or shared objects are built, AIX ld can 9336 # have problems creating the table of contents. If linking a library 9337 # or program results in "error TOC overflow" add -mminimal-toc to 9338 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9339 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9340 9341 archive_cmds='' 9342 hardcode_direct=yes 9343 hardcode_direct_absolute=yes 9344 hardcode_libdir_separator=':' 9345 link_all_deplibs=yes 9346 file_list_spec='$wl-f,' 9347 case $with_aix_soname,$aix_use_runtimelinking in 9348 aix,*) ;; # traditional, no import file 9349 svr4,* | *,yes) # use import file 9350 # The Import File defines what to hardcode. 9351 hardcode_direct=no 9352 hardcode_direct_absolute=no 9353 ;; 9354 esac 9355 9356 if test yes = "$GCC"; then 9357 case $host_os in aix4.[012]|aix4.[012].*) 9358 # We only want to do this on AIX 4.2 and lower, the check 9359 # below for broken collect2 doesn't work under 4.3+ 9360 collect2name=`$CC -print-prog-name=collect2` 9361 if test -f "$collect2name" && 9362 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9363 then 9364 # We have reworked collect2 9365 : 9366 else 9367 # We have old collect2 9368 hardcode_direct=unsupported 9369 # It fails to find uninstalled libraries when the uninstalled 9370 # path is not listed in the libpath. Setting hardcode_minus_L 9371 # to unsupported forces relinking 9372 hardcode_minus_L=yes 9373 hardcode_libdir_flag_spec='-L$libdir' 9374 hardcode_libdir_separator= 9375 fi 9376 ;; 9377 esac 9378 shared_flag='-shared' 9379 if test yes = "$aix_use_runtimelinking"; then 9380 shared_flag="$shared_flag "'$wl-G' 9381 fi 9382 # Need to ensure runtime linking is disabled for the traditional 9383 # shared library, or the linker may eventually find shared libraries 9384 # /with/ Import File - we do not want to mix them. 9385 shared_flag_aix='-shared' 9386 shared_flag_svr4='-shared $wl-G' 9387 else 9388 # not using gcc 9389 if test ia64 = "$host_cpu"; then 9390 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9391 # chokes on -Wl,-G. The following line is correct: 9392 shared_flag='-G' 9393 else 9394 if test yes = "$aix_use_runtimelinking"; then 9395 shared_flag='$wl-G' 9396 else 9397 shared_flag='$wl-bM:SRE' 9398 fi 9399 shared_flag_aix='$wl-bM:SRE' 9400 shared_flag_svr4='$wl-G' 9401 fi 9402 fi 9403 9404 export_dynamic_flag_spec='$wl-bexpall' 9405 # It seems that -bexpall does not export symbols beginning with 9406 # underscore (_), so it is better to generate a list of symbols to export. 9407 always_export_symbols=yes 9408 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9409 # Warning - without using the other runtime loading flags (-brtl), 9410 # -berok will link without error, but may produce a broken library. 9411 allow_undefined_flag='-berok' 9412 # Determine the default libpath from the value encoded in an 9413 # empty executable. 9414 if test set = "${lt_cv_aix_libpath+set}"; then 9415 aix_libpath=$lt_cv_aix_libpath 9416else 9417 if ${lt_cv_aix_libpath_+:} false; then : 9418 $as_echo_n "(cached) " >&6 9419else 9420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9421/* end confdefs.h. */ 9422 9423int 9424main () 9425{ 9426 9427 ; 9428 return 0; 9429} 9430_ACEOF 9431if ac_fn_c_try_link "$LINENO"; then : 9432 9433 lt_aix_libpath_sed=' 9434 /Import File Strings/,/^$/ { 9435 /^0/ { 9436 s/^0 *\([^ ]*\) *$/\1/ 9437 p 9438 } 9439 }' 9440 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9441 # Check for a 64-bit object if we didn't find anything. 9442 if test -z "$lt_cv_aix_libpath_"; then 9443 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9444 fi 9445fi 9446rm -f core conftest.err conftest.$ac_objext \ 9447 conftest$ac_exeext conftest.$ac_ext 9448 if test -z "$lt_cv_aix_libpath_"; then 9449 lt_cv_aix_libpath_=/usr/lib:/lib 9450 fi 9451 9452fi 9453 9454 aix_libpath=$lt_cv_aix_libpath_ 9455fi 9456 9457 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9458 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 9459 else 9460 if test ia64 = "$host_cpu"; then 9461 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9462 allow_undefined_flag="-z nodefs" 9463 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" 9464 else 9465 # Determine the default libpath from the value encoded in an 9466 # empty executable. 9467 if test set = "${lt_cv_aix_libpath+set}"; then 9468 aix_libpath=$lt_cv_aix_libpath 9469else 9470 if ${lt_cv_aix_libpath_+:} false; then : 9471 $as_echo_n "(cached) " >&6 9472else 9473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9474/* end confdefs.h. */ 9475 9476int 9477main () 9478{ 9479 9480 ; 9481 return 0; 9482} 9483_ACEOF 9484if ac_fn_c_try_link "$LINENO"; then : 9485 9486 lt_aix_libpath_sed=' 9487 /Import File Strings/,/^$/ { 9488 /^0/ { 9489 s/^0 *\([^ ]*\) *$/\1/ 9490 p 9491 } 9492 }' 9493 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9494 # Check for a 64-bit object if we didn't find anything. 9495 if test -z "$lt_cv_aix_libpath_"; then 9496 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9497 fi 9498fi 9499rm -f core conftest.err conftest.$ac_objext \ 9500 conftest$ac_exeext conftest.$ac_ext 9501 if test -z "$lt_cv_aix_libpath_"; then 9502 lt_cv_aix_libpath_=/usr/lib:/lib 9503 fi 9504 9505fi 9506 9507 aix_libpath=$lt_cv_aix_libpath_ 9508fi 9509 9510 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9511 # Warning - without using the other run time loading flags, 9512 # -berok will link without error, but may produce a broken library. 9513 no_undefined_flag=' $wl-bernotok' 9514 allow_undefined_flag=' $wl-berok' 9515 if test yes = "$with_gnu_ld"; then 9516 # We only use this code for GNU lds that support --whole-archive. 9517 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9518 else 9519 # Exported symbols can be pulled into shared objects from archives 9520 whole_archive_flag_spec='$convenience' 9521 fi 9522 archive_cmds_need_lc=yes 9523 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9524 # -brtl affects multiple linker settings, -berok does not and is overridden later 9525 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9526 if test svr4 != "$with_aix_soname"; then 9527 # This is similar to how AIX traditionally builds its shared libraries. 9528 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' 9529 fi 9530 if test aix != "$with_aix_soname"; then 9531 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' 9532 else 9533 # used by -dlpreopen to get the symbols 9534 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9535 fi 9536 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9537 fi 9538 fi 9539 ;; 9540 9541 amigaos*) 9542 case $host_cpu in 9543 powerpc) 9544 # see comment about AmigaOS4 .so support 9545 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9546 archive_expsym_cmds='' 9547 ;; 9548 m68k) 9549 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)' 9550 hardcode_libdir_flag_spec='-L$libdir' 9551 hardcode_minus_L=yes 9552 ;; 9553 esac 9554 ;; 9555 9556 bsdi[45]*) 9557 export_dynamic_flag_spec=-rdynamic 9558 ;; 9559 9560 cygwin* | mingw* | pw32* | cegcc*) 9561 # When not using gcc, we currently assume that we are using 9562 # Microsoft Visual C++. 9563 # hardcode_libdir_flag_spec is actually meaningless, as there is 9564 # no search path for DLLs. 9565 case $cc_basename in 9566 cl*) 9567 # Native MSVC 9568 hardcode_libdir_flag_spec=' ' 9569 allow_undefined_flag=unsupported 9570 always_export_symbols=yes 9571 file_list_spec='@' 9572 # Tell ltmain to make .lib files, not .a files. 9573 libext=lib 9574 # Tell ltmain to make .dll files, not .so files. 9575 shrext_cmds=.dll 9576 # FIXME: Setting linknames here is a bad hack. 9577 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9578 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9579 cp "$export_symbols" "$output_objdir/$soname.def"; 9580 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9581 else 9582 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9583 fi~ 9584 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9585 linknames=' 9586 # The linker will not automatically build a static lib if we build a DLL. 9587 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9588 enable_shared_with_static_runtimes=yes 9589 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9590 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9591 # Don't use ranlib 9592 old_postinstall_cmds='chmod 644 $oldlib' 9593 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9594 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9595 case $lt_outputfile in 9596 *.exe|*.EXE) ;; 9597 *) 9598 lt_outputfile=$lt_outputfile.exe 9599 lt_tool_outputfile=$lt_tool_outputfile.exe 9600 ;; 9601 esac~ 9602 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9603 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9604 $RM "$lt_outputfile.manifest"; 9605 fi' 9606 ;; 9607 *) 9608 # Assume MSVC wrapper 9609 hardcode_libdir_flag_spec=' ' 9610 allow_undefined_flag=unsupported 9611 # Tell ltmain to make .lib files, not .a files. 9612 libext=lib 9613 # Tell ltmain to make .dll files, not .so files. 9614 shrext_cmds=.dll 9615 # FIXME: Setting linknames here is a bad hack. 9616 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9617 # The linker will automatically build a .lib file if we build a DLL. 9618 old_archive_from_new_cmds='true' 9619 # FIXME: Should let the user specify the lib program. 9620 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9621 enable_shared_with_static_runtimes=yes 9622 ;; 9623 esac 9624 ;; 9625 9626 darwin* | rhapsody*) 9627 9628 9629 archive_cmds_need_lc=no 9630 hardcode_direct=no 9631 hardcode_automatic=yes 9632 hardcode_shlibpath_var=unsupported 9633 if test yes = "$lt_cv_ld_force_load"; then 9634 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\"`' 9635 9636 else 9637 whole_archive_flag_spec='' 9638 fi 9639 link_all_deplibs=yes 9640 allow_undefined_flag=$_lt_dar_allow_undefined 9641 case $cc_basename in 9642 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9643 *) _lt_dar_can_shared=$GCC ;; 9644 esac 9645 if test yes = "$_lt_dar_can_shared"; then 9646 output_verbose_link_cmd=func_echo_all 9647 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9648 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9649 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" 9650 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" 9651 9652 else 9653 ld_shlibs=no 9654 fi 9655 9656 ;; 9657 9658 dgux*) 9659 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9660 hardcode_libdir_flag_spec='-L$libdir' 9661 hardcode_shlibpath_var=no 9662 ;; 9663 9664 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9665 # support. Future versions do this automatically, but an explicit c++rt0.o 9666 # does not break anything, and helps significantly (at the cost of a little 9667 # extra space). 9668 freebsd2.2*) 9669 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9670 hardcode_libdir_flag_spec='-R$libdir' 9671 hardcode_direct=yes 9672 hardcode_shlibpath_var=no 9673 ;; 9674 9675 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9676 freebsd2.*) 9677 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9678 hardcode_direct=yes 9679 hardcode_minus_L=yes 9680 hardcode_shlibpath_var=no 9681 ;; 9682 9683 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9684 freebsd* | dragonfly*) 9685 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9686 hardcode_libdir_flag_spec='-R$libdir' 9687 hardcode_direct=yes 9688 hardcode_shlibpath_var=no 9689 ;; 9690 9691 hpux9*) 9692 if test yes = "$GCC"; then 9693 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' 9694 else 9695 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' 9696 fi 9697 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9698 hardcode_libdir_separator=: 9699 hardcode_direct=yes 9700 9701 # hardcode_minus_L: Not really in the search PATH, 9702 # but as the default location of the library. 9703 hardcode_minus_L=yes 9704 export_dynamic_flag_spec='$wl-E' 9705 ;; 9706 9707 hpux10*) 9708 if test yes,no = "$GCC,$with_gnu_ld"; then 9709 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9710 else 9711 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9712 fi 9713 if test no = "$with_gnu_ld"; then 9714 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9715 hardcode_libdir_separator=: 9716 hardcode_direct=yes 9717 hardcode_direct_absolute=yes 9718 export_dynamic_flag_spec='$wl-E' 9719 # hardcode_minus_L: Not really in the search PATH, 9720 # but as the default location of the library. 9721 hardcode_minus_L=yes 9722 fi 9723 ;; 9724 9725 hpux11*) 9726 if test yes,no = "$GCC,$with_gnu_ld"; then 9727 case $host_cpu in 9728 hppa*64*) 9729 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9730 ;; 9731 ia64*) 9732 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9733 ;; 9734 *) 9735 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9736 ;; 9737 esac 9738 else 9739 case $host_cpu in 9740 hppa*64*) 9741 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9742 ;; 9743 ia64*) 9744 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9745 ;; 9746 *) 9747 9748 # Older versions of the 11.00 compiler do not understand -b yet 9749 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9751$as_echo_n "checking if $CC understands -b... " >&6; } 9752if ${lt_cv_prog_compiler__b+:} false; then : 9753 $as_echo_n "(cached) " >&6 9754else 9755 lt_cv_prog_compiler__b=no 9756 save_LDFLAGS=$LDFLAGS 9757 LDFLAGS="$LDFLAGS -b" 9758 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9759 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9760 # The linker can only warn and ignore the option if not recognized 9761 # So say no if there are warnings 9762 if test -s conftest.err; then 9763 # Append any errors to the config.log. 9764 cat conftest.err 1>&5 9765 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9766 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9767 if diff conftest.exp conftest.er2 >/dev/null; then 9768 lt_cv_prog_compiler__b=yes 9769 fi 9770 else 9771 lt_cv_prog_compiler__b=yes 9772 fi 9773 fi 9774 $RM -r conftest* 9775 LDFLAGS=$save_LDFLAGS 9776 9777fi 9778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9779$as_echo "$lt_cv_prog_compiler__b" >&6; } 9780 9781if test yes = "$lt_cv_prog_compiler__b"; then 9782 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9783else 9784 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9785fi 9786 9787 ;; 9788 esac 9789 fi 9790 if test no = "$with_gnu_ld"; then 9791 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9792 hardcode_libdir_separator=: 9793 9794 case $host_cpu in 9795 hppa*64*|ia64*) 9796 hardcode_direct=no 9797 hardcode_shlibpath_var=no 9798 ;; 9799 *) 9800 hardcode_direct=yes 9801 hardcode_direct_absolute=yes 9802 export_dynamic_flag_spec='$wl-E' 9803 9804 # hardcode_minus_L: Not really in the search PATH, 9805 # but as the default location of the library. 9806 hardcode_minus_L=yes 9807 ;; 9808 esac 9809 fi 9810 ;; 9811 9812 irix5* | irix6* | nonstopux*) 9813 if test yes = "$GCC"; then 9814 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' 9815 # Try to use the -exported_symbol ld option, if it does not 9816 # work, assume that -exports_file does not work either and 9817 # implicitly export all symbols. 9818 # This should be the same for all languages, so no per-tag cache variable. 9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9820$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9821if ${lt_cv_irix_exported_symbol+:} false; then : 9822 $as_echo_n "(cached) " >&6 9823else 9824 save_LDFLAGS=$LDFLAGS 9825 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 9826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9827/* end confdefs.h. */ 9828int foo (void) { return 0; } 9829_ACEOF 9830if ac_fn_c_try_link "$LINENO"; then : 9831 lt_cv_irix_exported_symbol=yes 9832else 9833 lt_cv_irix_exported_symbol=no 9834fi 9835rm -f core conftest.err conftest.$ac_objext \ 9836 conftest$ac_exeext conftest.$ac_ext 9837 LDFLAGS=$save_LDFLAGS 9838fi 9839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9840$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9841 if test yes = "$lt_cv_irix_exported_symbol"; then 9842 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' 9843 fi 9844 else 9845 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' 9846 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' 9847 fi 9848 archive_cmds_need_lc='no' 9849 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9850 hardcode_libdir_separator=: 9851 inherit_rpath=yes 9852 link_all_deplibs=yes 9853 ;; 9854 9855 linux*) 9856 case $cc_basename in 9857 tcc*) 9858 # Fabrice Bellard et al's Tiny C Compiler 9859 ld_shlibs=yes 9860 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9861 ;; 9862 esac 9863 ;; 9864 9865 netbsd*) 9866 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9867 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9868 else 9869 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9870 fi 9871 hardcode_libdir_flag_spec='-R$libdir' 9872 hardcode_direct=yes 9873 hardcode_shlibpath_var=no 9874 ;; 9875 9876 newsos6) 9877 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9878 hardcode_direct=yes 9879 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9880 hardcode_libdir_separator=: 9881 hardcode_shlibpath_var=no 9882 ;; 9883 9884 *nto* | *qnx*) 9885 ;; 9886 9887 openbsd* | bitrig*) 9888 if test -f /usr/libexec/ld.so; then 9889 hardcode_direct=yes 9890 hardcode_shlibpath_var=no 9891 hardcode_direct_absolute=yes 9892 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 9893 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9894 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 9895 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9896 export_dynamic_flag_spec='$wl-E' 9897 else 9898 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9899 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9900 fi 9901 else 9902 ld_shlibs=no 9903 fi 9904 ;; 9905 9906 os2*) 9907 hardcode_libdir_flag_spec='-L$libdir' 9908 hardcode_minus_L=yes 9909 allow_undefined_flag=unsupported 9910 shrext_cmds=.dll 9911 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9912 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9913 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9914 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9915 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9916 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9917 emximp -o $lib $output_objdir/$libname.def' 9918 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9919 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9920 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9921 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9922 prefix_cmds="$SED"~ 9923 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9924 prefix_cmds="$prefix_cmds -e 1d"; 9925 fi~ 9926 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9927 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9928 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9929 emximp -o $lib $output_objdir/$libname.def' 9930 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9931 enable_shared_with_static_runtimes=yes 9932 ;; 9933 9934 osf3*) 9935 if test yes = "$GCC"; then 9936 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 9937 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' 9938 else 9939 allow_undefined_flag=' -expect_unresolved \*' 9940 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' 9941 fi 9942 archive_cmds_need_lc='no' 9943 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9944 hardcode_libdir_separator=: 9945 ;; 9946 9947 osf4* | osf5*) # as osf3* with the addition of -msym flag 9948 if test yes = "$GCC"; then 9949 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 9950 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' 9951 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9952 else 9953 allow_undefined_flag=' -expect_unresolved \*' 9954 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' 9955 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~ 9956 $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' 9957 9958 # Both c and cxx compiler support -rpath directly 9959 hardcode_libdir_flag_spec='-rpath $libdir' 9960 fi 9961 archive_cmds_need_lc='no' 9962 hardcode_libdir_separator=: 9963 ;; 9964 9965 solaris*) 9966 no_undefined_flag=' -z defs' 9967 if test yes = "$GCC"; then 9968 wlarc='$wl' 9969 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9970 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9971 $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' 9972 else 9973 case `$CC -V 2>&1` in 9974 *"Compilers 5.0"*) 9975 wlarc='' 9976 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 9977 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9978 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9979 ;; 9980 *) 9981 wlarc='$wl' 9982 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9983 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9984 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9985 ;; 9986 esac 9987 fi 9988 hardcode_libdir_flag_spec='-R$libdir' 9989 hardcode_shlibpath_var=no 9990 case $host_os in 9991 solaris2.[0-5] | solaris2.[0-5].*) ;; 9992 *) 9993 # The compiler driver will combine and reorder linker options, 9994 # but understands '-z linker_flag'. GCC discards it without '$wl', 9995 # but is careful enough not to reorder. 9996 # Supported since Solaris 2.6 (maybe 2.5.1?) 9997 if test yes = "$GCC"; then 9998 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 9999 else 10000 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10001 fi 10002 ;; 10003 esac 10004 link_all_deplibs=yes 10005 ;; 10006 10007 sunos4*) 10008 if test sequent = "$host_vendor"; then 10009 # Use $CC to link under sequent, because it throws in some extra .o 10010 # files that make .init and .fini sections work. 10011 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10012 else 10013 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10014 fi 10015 hardcode_libdir_flag_spec='-L$libdir' 10016 hardcode_direct=yes 10017 hardcode_minus_L=yes 10018 hardcode_shlibpath_var=no 10019 ;; 10020 10021 sysv4) 10022 case $host_vendor in 10023 sni) 10024 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10025 hardcode_direct=yes # is this really true??? 10026 ;; 10027 siemens) 10028 ## LD is ld it makes a PLAMLIB 10029 ## CC just makes a GrossModule. 10030 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10031 reload_cmds='$CC -r -o $output$reload_objs' 10032 hardcode_direct=no 10033 ;; 10034 motorola) 10035 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10036 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10037 ;; 10038 esac 10039 runpath_var='LD_RUN_PATH' 10040 hardcode_shlibpath_var=no 10041 ;; 10042 10043 sysv4.3*) 10044 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10045 hardcode_shlibpath_var=no 10046 export_dynamic_flag_spec='-Bexport' 10047 ;; 10048 10049 sysv4*MP*) 10050 if test -d /usr/nec; then 10051 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10052 hardcode_shlibpath_var=no 10053 runpath_var=LD_RUN_PATH 10054 hardcode_runpath_var=yes 10055 ld_shlibs=yes 10056 fi 10057 ;; 10058 10059 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10060 no_undefined_flag='$wl-z,text' 10061 archive_cmds_need_lc=no 10062 hardcode_shlibpath_var=no 10063 runpath_var='LD_RUN_PATH' 10064 10065 if test yes = "$GCC"; then 10066 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10067 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10068 else 10069 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10070 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10071 fi 10072 ;; 10073 10074 sysv5* | sco3.2v5* | sco5v6*) 10075 # Note: We CANNOT use -z defs as we might desire, because we do not 10076 # link with -lc, and that would cause any symbols used from libc to 10077 # always be unresolved, which means just about no library would 10078 # ever link correctly. If we're not using GNU ld we use -z text 10079 # though, which does catch some bad symbols but isn't as heavy-handed 10080 # as -z defs. 10081 no_undefined_flag='$wl-z,text' 10082 allow_undefined_flag='$wl-z,nodefs' 10083 archive_cmds_need_lc=no 10084 hardcode_shlibpath_var=no 10085 hardcode_libdir_flag_spec='$wl-R,$libdir' 10086 hardcode_libdir_separator=':' 10087 link_all_deplibs=yes 10088 export_dynamic_flag_spec='$wl-Bexport' 10089 runpath_var='LD_RUN_PATH' 10090 10091 if test yes = "$GCC"; then 10092 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10093 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10094 else 10095 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10096 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10097 fi 10098 ;; 10099 10100 uts4*) 10101 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10102 hardcode_libdir_flag_spec='-L$libdir' 10103 hardcode_shlibpath_var=no 10104 ;; 10105 10106 *) 10107 ld_shlibs=no 10108 ;; 10109 esac 10110 10111 if test sni = "$host_vendor"; then 10112 case $host in 10113 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10114 export_dynamic_flag_spec='$wl-Blargedynsym' 10115 ;; 10116 esac 10117 fi 10118 fi 10119 10120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10121$as_echo "$ld_shlibs" >&6; } 10122test no = "$ld_shlibs" && can_build_shared=no 10123 10124with_gnu_ld=$with_gnu_ld 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140# 10141# Do we need to explicitly link libc? 10142# 10143case "x$archive_cmds_need_lc" in 10144x|xyes) 10145 # Assume -lc should be added 10146 archive_cmds_need_lc=yes 10147 10148 if test yes,yes = "$GCC,$enable_shared"; then 10149 case $archive_cmds in 10150 *'~'*) 10151 # FIXME: we may have to deal with multi-command sequences. 10152 ;; 10153 '$CC '*) 10154 # Test whether the compiler implicitly links with -lc since on some 10155 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10156 # to ld, don't add -lc before -lgcc. 10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10158$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10159if ${lt_cv_archive_cmds_need_lc+:} false; then : 10160 $as_echo_n "(cached) " >&6 10161else 10162 $RM conftest* 10163 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10164 10165 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10166 (eval $ac_compile) 2>&5 10167 ac_status=$? 10168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10169 test $ac_status = 0; } 2>conftest.err; then 10170 soname=conftest 10171 lib=conftest 10172 libobjs=conftest.$ac_objext 10173 deplibs= 10174 wl=$lt_prog_compiler_wl 10175 pic_flag=$lt_prog_compiler_pic 10176 compiler_flags=-v 10177 linker_flags=-v 10178 verstring= 10179 output_objdir=. 10180 libname=conftest 10181 lt_save_allow_undefined_flag=$allow_undefined_flag 10182 allow_undefined_flag= 10183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10184 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10185 ac_status=$? 10186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10187 test $ac_status = 0; } 10188 then 10189 lt_cv_archive_cmds_need_lc=no 10190 else 10191 lt_cv_archive_cmds_need_lc=yes 10192 fi 10193 allow_undefined_flag=$lt_save_allow_undefined_flag 10194 else 10195 cat conftest.err 1>&5 10196 fi 10197 $RM conftest* 10198 10199fi 10200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10201$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10202 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10203 ;; 10204 esac 10205 fi 10206 ;; 10207esac 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10361$as_echo_n "checking dynamic linker characteristics... " >&6; } 10362 10363if test yes = "$GCC"; then 10364 case $host_os in 10365 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10366 *) lt_awk_arg='/^libraries:/' ;; 10367 esac 10368 case $host_os in 10369 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10370 *) lt_sed_strip_eq='s|=/|/|g' ;; 10371 esac 10372 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10373 case $lt_search_path_spec in 10374 *\;*) 10375 # if the path contains ";" then we assume it to be the separator 10376 # otherwise default to the standard path separator (i.e. ":") - it is 10377 # assumed that no part of a normal pathname contains ";" but that should 10378 # okay in the real world where ";" in dirpaths is itself problematic. 10379 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10380 ;; 10381 *) 10382 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10383 ;; 10384 esac 10385 # Ok, now we have the path, separated by spaces, we can step through it 10386 # and add multilib dir if necessary... 10387 lt_tmp_lt_search_path_spec= 10388 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10389 # ...but if some path component already ends with the multilib dir we assume 10390 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10391 case "$lt_multi_os_dir; $lt_search_path_spec " in 10392 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10393 lt_multi_os_dir= 10394 ;; 10395 esac 10396 for lt_sys_path in $lt_search_path_spec; do 10397 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10398 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10399 elif test -n "$lt_multi_os_dir"; then 10400 test -d "$lt_sys_path" && \ 10401 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10402 fi 10403 done 10404 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10405BEGIN {RS = " "; FS = "/|\n";} { 10406 lt_foo = ""; 10407 lt_count = 0; 10408 for (lt_i = NF; lt_i > 0; lt_i--) { 10409 if ($lt_i != "" && $lt_i != ".") { 10410 if ($lt_i == "..") { 10411 lt_count++; 10412 } else { 10413 if (lt_count == 0) { 10414 lt_foo = "/" $lt_i lt_foo; 10415 } else { 10416 lt_count--; 10417 } 10418 } 10419 } 10420 } 10421 if (lt_foo != "") { lt_freq[lt_foo]++; } 10422 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10423}'` 10424 # AWK program above erroneously prepends '/' to C:/dos/paths 10425 # for these hosts. 10426 case $host_os in 10427 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10428 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10429 esac 10430 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10431else 10432 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10433fi 10434library_names_spec= 10435libname_spec='lib$name' 10436soname_spec= 10437shrext_cmds=.so 10438postinstall_cmds= 10439postuninstall_cmds= 10440finish_cmds= 10441finish_eval= 10442shlibpath_var= 10443shlibpath_overrides_runpath=unknown 10444version_type=none 10445dynamic_linker="$host_os ld.so" 10446sys_lib_dlsearch_path_spec="/lib /usr/lib" 10447need_lib_prefix=unknown 10448hardcode_into_libs=no 10449 10450# when you set need_version to no, make sure it does not cause -set_version 10451# flags to be left without arguments 10452need_version=unknown 10453 10454 10455 10456case $host_os in 10457aix3*) 10458 version_type=linux # correct to gnu/linux during the next big refactor 10459 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10460 shlibpath_var=LIBPATH 10461 10462 # AIX 3 has no versioning support, so we append a major version to the name. 10463 soname_spec='$libname$release$shared_ext$major' 10464 ;; 10465 10466aix[4-9]*) 10467 version_type=linux # correct to gnu/linux during the next big refactor 10468 need_lib_prefix=no 10469 need_version=no 10470 hardcode_into_libs=yes 10471 if test ia64 = "$host_cpu"; then 10472 # AIX 5 supports IA64 10473 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10474 shlibpath_var=LD_LIBRARY_PATH 10475 else 10476 # With GCC up to 2.95.x, collect2 would create an import file 10477 # for dependence libraries. The import file would start with 10478 # the line '#! .'. This would cause the generated library to 10479 # depend on '.', always an invalid library. This was fixed in 10480 # development snapshots of GCC prior to 3.0. 10481 case $host_os in 10482 aix4 | aix4.[01] | aix4.[01].*) 10483 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10484 echo ' yes ' 10485 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10486 : 10487 else 10488 can_build_shared=no 10489 fi 10490 ;; 10491 esac 10492 # Using Import Files as archive members, it is possible to support 10493 # filename-based versioning of shared library archives on AIX. While 10494 # this would work for both with and without runtime linking, it will 10495 # prevent static linking of such archives. So we do filename-based 10496 # shared library versioning with .so extension only, which is used 10497 # when both runtime linking and shared linking is enabled. 10498 # Unfortunately, runtime linking may impact performance, so we do 10499 # not want this to be the default eventually. Also, we use the 10500 # versioned .so libs for executables only if there is the -brtl 10501 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10502 # To allow for filename-based versioning support, we need to create 10503 # libNAME.so.V as an archive file, containing: 10504 # *) an Import File, referring to the versioned filename of the 10505 # archive as well as the shared archive member, telling the 10506 # bitwidth (32 or 64) of that shared object, and providing the 10507 # list of exported symbols of that shared object, eventually 10508 # decorated with the 'weak' keyword 10509 # *) the shared object with the F_LOADONLY flag set, to really avoid 10510 # it being seen by the linker. 10511 # At run time we better use the real file rather than another symlink, 10512 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10513 10514 case $with_aix_soname,$aix_use_runtimelinking in 10515 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10516 # soname into executable. Probably we can add versioning support to 10517 # collect2, so additional links can be useful in future. 10518 aix,yes) # traditional libtool 10519 dynamic_linker='AIX unversionable lib.so' 10520 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10521 # instead of lib<name>.a to let people know that these are not 10522 # typical AIX shared libraries. 10523 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10524 ;; 10525 aix,no) # traditional AIX only 10526 dynamic_linker='AIX lib.a(lib.so.V)' 10527 # We preserve .a as extension for shared libraries through AIX4.2 10528 # and later when we are not doing run time linking. 10529 library_names_spec='$libname$release.a $libname.a' 10530 soname_spec='$libname$release$shared_ext$major' 10531 ;; 10532 svr4,*) # full svr4 only 10533 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10534 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10535 # We do not specify a path in Import Files, so LIBPATH fires. 10536 shlibpath_overrides_runpath=yes 10537 ;; 10538 *,yes) # both, prefer svr4 10539 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10540 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10541 # unpreferred sharedlib libNAME.a needs extra handling 10542 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"' 10543 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"' 10544 # We do not specify a path in Import Files, so LIBPATH fires. 10545 shlibpath_overrides_runpath=yes 10546 ;; 10547 *,no) # both, prefer aix 10548 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10549 library_names_spec='$libname$release.a $libname.a' 10550 soname_spec='$libname$release$shared_ext$major' 10551 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10552 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)' 10553 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"' 10554 ;; 10555 esac 10556 shlibpath_var=LIBPATH 10557 fi 10558 ;; 10559 10560amigaos*) 10561 case $host_cpu in 10562 powerpc) 10563 # Since July 2007 AmigaOS4 officially supports .so libraries. 10564 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10565 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10566 ;; 10567 m68k) 10568 library_names_spec='$libname.ixlibrary $libname.a' 10569 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10570 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' 10571 ;; 10572 esac 10573 ;; 10574 10575beos*) 10576 library_names_spec='$libname$shared_ext' 10577 dynamic_linker="$host_os ld.so" 10578 shlibpath_var=LIBRARY_PATH 10579 ;; 10580 10581bsdi[45]*) 10582 version_type=linux # correct to gnu/linux during the next big refactor 10583 need_version=no 10584 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10585 soname_spec='$libname$release$shared_ext$major' 10586 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10587 shlibpath_var=LD_LIBRARY_PATH 10588 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10589 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10590 # the default ld.so.conf also contains /usr/contrib/lib and 10591 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10592 # libtool to hard-code these into programs 10593 ;; 10594 10595cygwin* | mingw* | pw32* | cegcc*) 10596 version_type=windows 10597 shrext_cmds=.dll 10598 need_version=no 10599 need_lib_prefix=no 10600 10601 case $GCC,$cc_basename in 10602 yes,*) 10603 # gcc 10604 library_names_spec='$libname.dll.a' 10605 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10606 postinstall_cmds='base_file=`basename \$file`~ 10607 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10608 dldir=$destdir/`dirname \$dlpath`~ 10609 test -d \$dldir || mkdir -p \$dldir~ 10610 $install_prog $dir/$dlname \$dldir/$dlname~ 10611 chmod a+x \$dldir/$dlname~ 10612 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10613 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10614 fi' 10615 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10616 dlpath=$dir/\$dldll~ 10617 $RM \$dlpath' 10618 shlibpath_overrides_runpath=yes 10619 10620 case $host_os in 10621 cygwin*) 10622 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10623 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10624 10625 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10626 ;; 10627 mingw* | cegcc*) 10628 # MinGW DLLs use traditional 'lib' prefix 10629 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10630 ;; 10631 pw32*) 10632 # pw32 DLLs use 'pw' prefix rather than 'lib' 10633 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10634 ;; 10635 esac 10636 dynamic_linker='Win32 ld.exe' 10637 ;; 10638 10639 *,cl*) 10640 # Native MSVC 10641 libname_spec='$name' 10642 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10643 library_names_spec='$libname.dll.lib' 10644 10645 case $build_os in 10646 mingw*) 10647 sys_lib_search_path_spec= 10648 lt_save_ifs=$IFS 10649 IFS=';' 10650 for lt_path in $LIB 10651 do 10652 IFS=$lt_save_ifs 10653 # Let DOS variable expansion print the short 8.3 style file name. 10654 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10655 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10656 done 10657 IFS=$lt_save_ifs 10658 # Convert to MSYS style. 10659 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10660 ;; 10661 cygwin*) 10662 # Convert to unix form, then to dos form, then back to unix form 10663 # but this time dos style (no spaces!) so that the unix form looks 10664 # like /cygdrive/c/PROGRA~1:/cygdr... 10665 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10666 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10667 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10668 ;; 10669 *) 10670 sys_lib_search_path_spec=$LIB 10671 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10672 # It is most probably a Windows format PATH. 10673 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10674 else 10675 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10676 fi 10677 # FIXME: find the short name or the path components, as spaces are 10678 # common. (e.g. "Program Files" -> "PROGRA~1") 10679 ;; 10680 esac 10681 10682 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10683 postinstall_cmds='base_file=`basename \$file`~ 10684 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10685 dldir=$destdir/`dirname \$dlpath`~ 10686 test -d \$dldir || mkdir -p \$dldir~ 10687 $install_prog $dir/$dlname \$dldir/$dlname' 10688 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10689 dlpath=$dir/\$dldll~ 10690 $RM \$dlpath' 10691 shlibpath_overrides_runpath=yes 10692 dynamic_linker='Win32 link.exe' 10693 ;; 10694 10695 *) 10696 # Assume MSVC wrapper 10697 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10698 dynamic_linker='Win32 ld.exe' 10699 ;; 10700 esac 10701 # FIXME: first we should search . and the directory the executable is in 10702 shlibpath_var=PATH 10703 ;; 10704 10705darwin* | rhapsody*) 10706 dynamic_linker="$host_os dyld" 10707 version_type=darwin 10708 need_lib_prefix=no 10709 need_version=no 10710 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10711 soname_spec='$libname$release$major$shared_ext' 10712 shlibpath_overrides_runpath=yes 10713 shlibpath_var=DYLD_LIBRARY_PATH 10714 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10715 10716 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10717 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10718 ;; 10719 10720dgux*) 10721 version_type=linux # correct to gnu/linux during the next big refactor 10722 need_lib_prefix=no 10723 need_version=no 10724 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10725 soname_spec='$libname$release$shared_ext$major' 10726 shlibpath_var=LD_LIBRARY_PATH 10727 ;; 10728 10729freebsd* | dragonfly*) 10730 # DragonFly does not have aout. When/if they implement a new 10731 # versioning mechanism, adjust this. 10732 if test -x /usr/bin/objformat; then 10733 objformat=`/usr/bin/objformat` 10734 else 10735 case $host_os in 10736 freebsd[23].*) objformat=aout ;; 10737 *) objformat=elf ;; 10738 esac 10739 fi 10740 version_type=freebsd-$objformat 10741 case $version_type in 10742 freebsd-elf*) 10743 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10744 soname_spec='$libname$release$shared_ext$major' 10745 need_version=no 10746 need_lib_prefix=no 10747 ;; 10748 freebsd-*) 10749 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10750 need_version=yes 10751 ;; 10752 esac 10753 shlibpath_var=LD_LIBRARY_PATH 10754 case $host_os in 10755 freebsd2.*) 10756 shlibpath_overrides_runpath=yes 10757 ;; 10758 freebsd3.[01]* | freebsdelf3.[01]*) 10759 shlibpath_overrides_runpath=yes 10760 hardcode_into_libs=yes 10761 ;; 10762 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10763 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10764 shlibpath_overrides_runpath=no 10765 hardcode_into_libs=yes 10766 ;; 10767 *) # from 4.6 on, and DragonFly 10768 shlibpath_overrides_runpath=yes 10769 hardcode_into_libs=yes 10770 ;; 10771 esac 10772 ;; 10773 10774haiku*) 10775 version_type=linux # correct to gnu/linux during the next big refactor 10776 need_lib_prefix=no 10777 need_version=no 10778 dynamic_linker="$host_os runtime_loader" 10779 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10780 soname_spec='$libname$release$shared_ext$major' 10781 shlibpath_var=LIBRARY_PATH 10782 shlibpath_overrides_runpath=no 10783 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10784 hardcode_into_libs=yes 10785 ;; 10786 10787hpux9* | hpux10* | hpux11*) 10788 # Give a soname corresponding to the major version so that dld.sl refuses to 10789 # link against other versions. 10790 version_type=sunos 10791 need_lib_prefix=no 10792 need_version=no 10793 case $host_cpu in 10794 ia64*) 10795 shrext_cmds='.so' 10796 hardcode_into_libs=yes 10797 dynamic_linker="$host_os dld.so" 10798 shlibpath_var=LD_LIBRARY_PATH 10799 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10800 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10801 soname_spec='$libname$release$shared_ext$major' 10802 if test 32 = "$HPUX_IA64_MODE"; then 10803 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10804 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 10805 else 10806 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10807 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 10808 fi 10809 ;; 10810 hppa*64*) 10811 shrext_cmds='.sl' 10812 hardcode_into_libs=yes 10813 dynamic_linker="$host_os dld.sl" 10814 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10815 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10816 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10817 soname_spec='$libname$release$shared_ext$major' 10818 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10819 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10820 ;; 10821 *) 10822 shrext_cmds='.sl' 10823 dynamic_linker="$host_os dld.sl" 10824 shlibpath_var=SHLIB_PATH 10825 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10826 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10827 soname_spec='$libname$release$shared_ext$major' 10828 ;; 10829 esac 10830 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10831 postinstall_cmds='chmod 555 $lib' 10832 # or fails outright, so override atomically: 10833 install_override_mode=555 10834 ;; 10835 10836interix[3-9]*) 10837 version_type=linux # correct to gnu/linux during the next big refactor 10838 need_lib_prefix=no 10839 need_version=no 10840 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10841 soname_spec='$libname$release$shared_ext$major' 10842 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10843 shlibpath_var=LD_LIBRARY_PATH 10844 shlibpath_overrides_runpath=no 10845 hardcode_into_libs=yes 10846 ;; 10847 10848irix5* | irix6* | nonstopux*) 10849 case $host_os in 10850 nonstopux*) version_type=nonstopux ;; 10851 *) 10852 if test yes = "$lt_cv_prog_gnu_ld"; then 10853 version_type=linux # correct to gnu/linux during the next big refactor 10854 else 10855 version_type=irix 10856 fi ;; 10857 esac 10858 need_lib_prefix=no 10859 need_version=no 10860 soname_spec='$libname$release$shared_ext$major' 10861 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 10862 case $host_os in 10863 irix5* | nonstopux*) 10864 libsuff= shlibsuff= 10865 ;; 10866 *) 10867 case $LD in # libtool.m4 will add one of these switches to LD 10868 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10869 libsuff= shlibsuff= libmagic=32-bit;; 10870 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10871 libsuff=32 shlibsuff=N32 libmagic=N32;; 10872 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10873 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10874 *) libsuff= shlibsuff= libmagic=never-match;; 10875 esac 10876 ;; 10877 esac 10878 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10879 shlibpath_overrides_runpath=no 10880 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 10881 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 10882 hardcode_into_libs=yes 10883 ;; 10884 10885# No shared lib support for Linux oldld, aout, or coff. 10886linux*oldld* | linux*aout* | linux*coff*) 10887 dynamic_linker=no 10888 ;; 10889 10890linux*android*) 10891 version_type=none # Android doesn't support versioned libraries. 10892 need_lib_prefix=no 10893 need_version=no 10894 library_names_spec='$libname$release$shared_ext' 10895 soname_spec='$libname$release$shared_ext' 10896 finish_cmds= 10897 shlibpath_var=LD_LIBRARY_PATH 10898 shlibpath_overrides_runpath=yes 10899 10900 # This implies no fast_install, which is unacceptable. 10901 # Some rework will be needed to allow for fast_install 10902 # before this can be enabled. 10903 hardcode_into_libs=yes 10904 10905 dynamic_linker='Android linker' 10906 # Don't embed -rpath directories since the linker doesn't support them. 10907 hardcode_libdir_flag_spec='-L$libdir' 10908 ;; 10909 10910# This must be glibc/ELF. 10911linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10912 version_type=linux # correct to gnu/linux during the next big refactor 10913 need_lib_prefix=no 10914 need_version=no 10915 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10916 soname_spec='$libname$release$shared_ext$major' 10917 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10918 shlibpath_var=LD_LIBRARY_PATH 10919 shlibpath_overrides_runpath=no 10920 10921 # Some binutils ld are patched to set DT_RUNPATH 10922 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10923 $as_echo_n "(cached) " >&6 10924else 10925 lt_cv_shlibpath_overrides_runpath=no 10926 save_LDFLAGS=$LDFLAGS 10927 save_libdir=$libdir 10928 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10929 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10931/* end confdefs.h. */ 10932 10933int 10934main () 10935{ 10936 10937 ; 10938 return 0; 10939} 10940_ACEOF 10941if ac_fn_c_try_link "$LINENO"; then : 10942 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10943 lt_cv_shlibpath_overrides_runpath=yes 10944fi 10945fi 10946rm -f core conftest.err conftest.$ac_objext \ 10947 conftest$ac_exeext conftest.$ac_ext 10948 LDFLAGS=$save_LDFLAGS 10949 libdir=$save_libdir 10950 10951fi 10952 10953 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10954 10955 # This implies no fast_install, which is unacceptable. 10956 # Some rework will be needed to allow for fast_install 10957 # before this can be enabled. 10958 hardcode_into_libs=yes 10959 10960 # Ideally, we could use ldconfig to report *all* directores which are 10961 # searched for libraries, however this is still not possible. Aside from not 10962 # being certain /sbin/ldconfig is available, command 10963 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 10964 # even though it is searched at run-time. Try to do the best guess by 10965 # appending ld.so.conf contents (and includes) to the search path. 10966 if test -f /etc/ld.so.conf; then 10967 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' ' '` 10968 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10969 fi 10970 10971 # We used to test for /lib/ld.so.1 and disable shared libraries on 10972 # powerpc, because MkLinux only supported shared libraries with the 10973 # GNU dynamic linker. Since this was broken with cross compilers, 10974 # most powerpc-linux boxes support dynamic linking these days and 10975 # people can always --disable-shared, the test was removed, and we 10976 # assume the GNU/Linux dynamic linker is in use. 10977 dynamic_linker='GNU/Linux ld.so' 10978 ;; 10979 10980netbsd*) 10981 version_type=sunos 10982 need_lib_prefix=no 10983 need_version=no 10984 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10985 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10986 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10987 dynamic_linker='NetBSD (a.out) ld.so' 10988 else 10989 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10990 soname_spec='$libname$release$shared_ext$major' 10991 dynamic_linker='NetBSD ld.elf_so' 10992 fi 10993 shlibpath_var=LD_LIBRARY_PATH 10994 shlibpath_overrides_runpath=yes 10995 hardcode_into_libs=yes 10996 ;; 10997 10998newsos6) 10999 version_type=linux # correct to gnu/linux during the next big refactor 11000 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11001 shlibpath_var=LD_LIBRARY_PATH 11002 shlibpath_overrides_runpath=yes 11003 ;; 11004 11005*nto* | *qnx*) 11006 version_type=qnx 11007 need_lib_prefix=no 11008 need_version=no 11009 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11010 soname_spec='$libname$release$shared_ext$major' 11011 shlibpath_var=LD_LIBRARY_PATH 11012 shlibpath_overrides_runpath=no 11013 hardcode_into_libs=yes 11014 dynamic_linker='ldqnx.so' 11015 ;; 11016 11017openbsd* | bitrig*) 11018 version_type=sunos 11019 sys_lib_dlsearch_path_spec=/usr/lib 11020 need_lib_prefix=no 11021 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11022 need_version=no 11023 else 11024 need_version=yes 11025 fi 11026 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11027 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11028 shlibpath_var=LD_LIBRARY_PATH 11029 shlibpath_overrides_runpath=yes 11030 ;; 11031 11032os2*) 11033 libname_spec='$name' 11034 version_type=windows 11035 shrext_cmds=.dll 11036 need_version=no 11037 need_lib_prefix=no 11038 # OS/2 can only load a DLL with a base name of 8 characters or less. 11039 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11040 v=$($ECHO $release$versuffix | tr -d .-); 11041 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11042 $ECHO $n$v`$shared_ext' 11043 library_names_spec='${libname}_dll.$libext' 11044 dynamic_linker='OS/2 ld.exe' 11045 shlibpath_var=BEGINLIBPATH 11046 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11047 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11048 postinstall_cmds='base_file=`basename \$file`~ 11049 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11050 dldir=$destdir/`dirname \$dlpath`~ 11051 test -d \$dldir || mkdir -p \$dldir~ 11052 $install_prog $dir/$dlname \$dldir/$dlname~ 11053 chmod a+x \$dldir/$dlname~ 11054 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11055 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11056 fi' 11057 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11058 dlpath=$dir/\$dldll~ 11059 $RM \$dlpath' 11060 ;; 11061 11062osf3* | osf4* | osf5*) 11063 version_type=osf 11064 need_lib_prefix=no 11065 need_version=no 11066 soname_spec='$libname$release$shared_ext$major' 11067 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11068 shlibpath_var=LD_LIBRARY_PATH 11069 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11070 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11071 ;; 11072 11073rdos*) 11074 dynamic_linker=no 11075 ;; 11076 11077solaris*) 11078 version_type=linux # correct to gnu/linux during the next big refactor 11079 need_lib_prefix=no 11080 need_version=no 11081 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11082 soname_spec='$libname$release$shared_ext$major' 11083 shlibpath_var=LD_LIBRARY_PATH 11084 shlibpath_overrides_runpath=yes 11085 hardcode_into_libs=yes 11086 # ldd complains unless libraries are executable 11087 postinstall_cmds='chmod +x $lib' 11088 ;; 11089 11090sunos4*) 11091 version_type=sunos 11092 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11093 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11094 shlibpath_var=LD_LIBRARY_PATH 11095 shlibpath_overrides_runpath=yes 11096 if test yes = "$with_gnu_ld"; then 11097 need_lib_prefix=no 11098 fi 11099 need_version=yes 11100 ;; 11101 11102sysv4 | sysv4.3*) 11103 version_type=linux # correct to gnu/linux during the next big refactor 11104 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11105 soname_spec='$libname$release$shared_ext$major' 11106 shlibpath_var=LD_LIBRARY_PATH 11107 case $host_vendor in 11108 sni) 11109 shlibpath_overrides_runpath=no 11110 need_lib_prefix=no 11111 runpath_var=LD_RUN_PATH 11112 ;; 11113 siemens) 11114 need_lib_prefix=no 11115 ;; 11116 motorola) 11117 need_lib_prefix=no 11118 need_version=no 11119 shlibpath_overrides_runpath=no 11120 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11121 ;; 11122 esac 11123 ;; 11124 11125sysv4*MP*) 11126 if test -d /usr/nec; then 11127 version_type=linux # correct to gnu/linux during the next big refactor 11128 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11129 soname_spec='$libname$shared_ext.$major' 11130 shlibpath_var=LD_LIBRARY_PATH 11131 fi 11132 ;; 11133 11134sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11135 version_type=sco 11136 need_lib_prefix=no 11137 need_version=no 11138 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11139 soname_spec='$libname$release$shared_ext$major' 11140 shlibpath_var=LD_LIBRARY_PATH 11141 shlibpath_overrides_runpath=yes 11142 hardcode_into_libs=yes 11143 if test yes = "$with_gnu_ld"; then 11144 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11145 else 11146 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11147 case $host_os in 11148 sco3.2v5*) 11149 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11150 ;; 11151 esac 11152 fi 11153 sys_lib_dlsearch_path_spec='/usr/lib' 11154 ;; 11155 11156tpf*) 11157 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11158 version_type=linux # correct to gnu/linux during the next big refactor 11159 need_lib_prefix=no 11160 need_version=no 11161 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11162 shlibpath_var=LD_LIBRARY_PATH 11163 shlibpath_overrides_runpath=no 11164 hardcode_into_libs=yes 11165 ;; 11166 11167uts4*) 11168 version_type=linux # correct to gnu/linux during the next big refactor 11169 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11170 soname_spec='$libname$release$shared_ext$major' 11171 shlibpath_var=LD_LIBRARY_PATH 11172 ;; 11173 11174*) 11175 dynamic_linker=no 11176 ;; 11177esac 11178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11179$as_echo "$dynamic_linker" >&6; } 11180test no = "$dynamic_linker" && can_build_shared=no 11181 11182variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11183if test yes = "$GCC"; then 11184 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11185fi 11186 11187if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11188 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11189fi 11190 11191if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11192 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11193fi 11194 11195# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11196configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11197 11198# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11199func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11200 11201# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11202configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11301$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11302hardcode_action= 11303if test -n "$hardcode_libdir_flag_spec" || 11304 test -n "$runpath_var" || 11305 test yes = "$hardcode_automatic"; then 11306 11307 # We can hardcode non-existent directories. 11308 if test no != "$hardcode_direct" && 11309 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11310 # have to relink, otherwise we might link with an installed library 11311 # when we should be linking with a yet-to-be-installed one 11312 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11313 test no != "$hardcode_minus_L"; then 11314 # Linking always hardcodes the temporary library directory. 11315 hardcode_action=relink 11316 else 11317 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11318 hardcode_action=immediate 11319 fi 11320else 11321 # We cannot hardcode anything, or else we can only hardcode existing 11322 # directories. 11323 hardcode_action=unsupported 11324fi 11325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11326$as_echo "$hardcode_action" >&6; } 11327 11328if test relink = "$hardcode_action" || 11329 test yes = "$inherit_rpath"; then 11330 # Fast installation is not supported 11331 enable_fast_install=no 11332elif test yes = "$shlibpath_overrides_runpath" || 11333 test no = "$enable_shared"; then 11334 # Fast installation is not necessary 11335 enable_fast_install=needless 11336fi 11337 11338 11339 11340 11341 11342 11343 if test yes != "$enable_dlopen"; then 11344 enable_dlopen=unknown 11345 enable_dlopen_self=unknown 11346 enable_dlopen_self_static=unknown 11347else 11348 lt_cv_dlopen=no 11349 lt_cv_dlopen_libs= 11350 11351 case $host_os in 11352 beos*) 11353 lt_cv_dlopen=load_add_on 11354 lt_cv_dlopen_libs= 11355 lt_cv_dlopen_self=yes 11356 ;; 11357 11358 mingw* | pw32* | cegcc*) 11359 lt_cv_dlopen=LoadLibrary 11360 lt_cv_dlopen_libs= 11361 ;; 11362 11363 cygwin*) 11364 lt_cv_dlopen=dlopen 11365 lt_cv_dlopen_libs= 11366 ;; 11367 11368 darwin*) 11369 # if libdl is installed we need to link against it 11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11371$as_echo_n "checking for dlopen in -ldl... " >&6; } 11372if ${ac_cv_lib_dl_dlopen+:} false; then : 11373 $as_echo_n "(cached) " >&6 11374else 11375 ac_check_lib_save_LIBS=$LIBS 11376LIBS="-ldl $LIBS" 11377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11378/* end confdefs.h. */ 11379 11380/* Override any GCC internal prototype to avoid an error. 11381 Use char because int might match the return type of a GCC 11382 builtin and then its argument prototype would still apply. */ 11383#ifdef __cplusplus 11384extern "C" 11385#endif 11386char dlopen (); 11387int 11388main () 11389{ 11390return dlopen (); 11391 ; 11392 return 0; 11393} 11394_ACEOF 11395if ac_fn_c_try_link "$LINENO"; then : 11396 ac_cv_lib_dl_dlopen=yes 11397else 11398 ac_cv_lib_dl_dlopen=no 11399fi 11400rm -f core conftest.err conftest.$ac_objext \ 11401 conftest$ac_exeext conftest.$ac_ext 11402LIBS=$ac_check_lib_save_LIBS 11403fi 11404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11405$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11406if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11407 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11408else 11409 11410 lt_cv_dlopen=dyld 11411 lt_cv_dlopen_libs= 11412 lt_cv_dlopen_self=yes 11413 11414fi 11415 11416 ;; 11417 11418 tpf*) 11419 # Don't try to run any link tests for TPF. We know it's impossible 11420 # because TPF is a cross-compiler, and we know how we open DSOs. 11421 lt_cv_dlopen=dlopen 11422 lt_cv_dlopen_libs= 11423 lt_cv_dlopen_self=no 11424 ;; 11425 11426 *) 11427 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11428if test "x$ac_cv_func_shl_load" = xyes; then : 11429 lt_cv_dlopen=shl_load 11430else 11431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11432$as_echo_n "checking for shl_load in -ldld... " >&6; } 11433if ${ac_cv_lib_dld_shl_load+:} false; then : 11434 $as_echo_n "(cached) " >&6 11435else 11436 ac_check_lib_save_LIBS=$LIBS 11437LIBS="-ldld $LIBS" 11438cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11439/* end confdefs.h. */ 11440 11441/* Override any GCC internal prototype to avoid an error. 11442 Use char because int might match the return type of a GCC 11443 builtin and then its argument prototype would still apply. */ 11444#ifdef __cplusplus 11445extern "C" 11446#endif 11447char shl_load (); 11448int 11449main () 11450{ 11451return shl_load (); 11452 ; 11453 return 0; 11454} 11455_ACEOF 11456if ac_fn_c_try_link "$LINENO"; then : 11457 ac_cv_lib_dld_shl_load=yes 11458else 11459 ac_cv_lib_dld_shl_load=no 11460fi 11461rm -f core conftest.err conftest.$ac_objext \ 11462 conftest$ac_exeext conftest.$ac_ext 11463LIBS=$ac_check_lib_save_LIBS 11464fi 11465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11466$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11467if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11468 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11469else 11470 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11471if test "x$ac_cv_func_dlopen" = xyes; then : 11472 lt_cv_dlopen=dlopen 11473else 11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11475$as_echo_n "checking for dlopen in -ldl... " >&6; } 11476if ${ac_cv_lib_dl_dlopen+:} false; then : 11477 $as_echo_n "(cached) " >&6 11478else 11479 ac_check_lib_save_LIBS=$LIBS 11480LIBS="-ldl $LIBS" 11481cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11482/* end confdefs.h. */ 11483 11484/* Override any GCC internal prototype to avoid an error. 11485 Use char because int might match the return type of a GCC 11486 builtin and then its argument prototype would still apply. */ 11487#ifdef __cplusplus 11488extern "C" 11489#endif 11490char dlopen (); 11491int 11492main () 11493{ 11494return dlopen (); 11495 ; 11496 return 0; 11497} 11498_ACEOF 11499if ac_fn_c_try_link "$LINENO"; then : 11500 ac_cv_lib_dl_dlopen=yes 11501else 11502 ac_cv_lib_dl_dlopen=no 11503fi 11504rm -f core conftest.err conftest.$ac_objext \ 11505 conftest$ac_exeext conftest.$ac_ext 11506LIBS=$ac_check_lib_save_LIBS 11507fi 11508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11509$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11510if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11511 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11512else 11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11514$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11515if ${ac_cv_lib_svld_dlopen+:} false; then : 11516 $as_echo_n "(cached) " >&6 11517else 11518 ac_check_lib_save_LIBS=$LIBS 11519LIBS="-lsvld $LIBS" 11520cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11521/* end confdefs.h. */ 11522 11523/* Override any GCC internal prototype to avoid an error. 11524 Use char because int might match the return type of a GCC 11525 builtin and then its argument prototype would still apply. */ 11526#ifdef __cplusplus 11527extern "C" 11528#endif 11529char dlopen (); 11530int 11531main () 11532{ 11533return dlopen (); 11534 ; 11535 return 0; 11536} 11537_ACEOF 11538if ac_fn_c_try_link "$LINENO"; then : 11539 ac_cv_lib_svld_dlopen=yes 11540else 11541 ac_cv_lib_svld_dlopen=no 11542fi 11543rm -f core conftest.err conftest.$ac_objext \ 11544 conftest$ac_exeext conftest.$ac_ext 11545LIBS=$ac_check_lib_save_LIBS 11546fi 11547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11548$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11549if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11550 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11551else 11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11553$as_echo_n "checking for dld_link in -ldld... " >&6; } 11554if ${ac_cv_lib_dld_dld_link+:} false; then : 11555 $as_echo_n "(cached) " >&6 11556else 11557 ac_check_lib_save_LIBS=$LIBS 11558LIBS="-ldld $LIBS" 11559cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11560/* end confdefs.h. */ 11561 11562/* Override any GCC internal prototype to avoid an error. 11563 Use char because int might match the return type of a GCC 11564 builtin and then its argument prototype would still apply. */ 11565#ifdef __cplusplus 11566extern "C" 11567#endif 11568char dld_link (); 11569int 11570main () 11571{ 11572return dld_link (); 11573 ; 11574 return 0; 11575} 11576_ACEOF 11577if ac_fn_c_try_link "$LINENO"; then : 11578 ac_cv_lib_dld_dld_link=yes 11579else 11580 ac_cv_lib_dld_dld_link=no 11581fi 11582rm -f core conftest.err conftest.$ac_objext \ 11583 conftest$ac_exeext conftest.$ac_ext 11584LIBS=$ac_check_lib_save_LIBS 11585fi 11586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11587$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11588if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11589 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11590fi 11591 11592 11593fi 11594 11595 11596fi 11597 11598 11599fi 11600 11601 11602fi 11603 11604 11605fi 11606 11607 ;; 11608 esac 11609 11610 if test no = "$lt_cv_dlopen"; then 11611 enable_dlopen=no 11612 else 11613 enable_dlopen=yes 11614 fi 11615 11616 case $lt_cv_dlopen in 11617 dlopen) 11618 save_CPPFLAGS=$CPPFLAGS 11619 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11620 11621 save_LDFLAGS=$LDFLAGS 11622 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11623 11624 save_LIBS=$LIBS 11625 LIBS="$lt_cv_dlopen_libs $LIBS" 11626 11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11628$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11629if ${lt_cv_dlopen_self+:} false; then : 11630 $as_echo_n "(cached) " >&6 11631else 11632 if test yes = "$cross_compiling"; then : 11633 lt_cv_dlopen_self=cross 11634else 11635 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11636 lt_status=$lt_dlunknown 11637 cat > conftest.$ac_ext <<_LT_EOF 11638#line $LINENO "configure" 11639#include "confdefs.h" 11640 11641#if HAVE_DLFCN_H 11642#include <dlfcn.h> 11643#endif 11644 11645#include <stdio.h> 11646 11647#ifdef RTLD_GLOBAL 11648# define LT_DLGLOBAL RTLD_GLOBAL 11649#else 11650# ifdef DL_GLOBAL 11651# define LT_DLGLOBAL DL_GLOBAL 11652# else 11653# define LT_DLGLOBAL 0 11654# endif 11655#endif 11656 11657/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11658 find out it does not work in some platform. */ 11659#ifndef LT_DLLAZY_OR_NOW 11660# ifdef RTLD_LAZY 11661# define LT_DLLAZY_OR_NOW RTLD_LAZY 11662# else 11663# ifdef DL_LAZY 11664# define LT_DLLAZY_OR_NOW DL_LAZY 11665# else 11666# ifdef RTLD_NOW 11667# define LT_DLLAZY_OR_NOW RTLD_NOW 11668# else 11669# ifdef DL_NOW 11670# define LT_DLLAZY_OR_NOW DL_NOW 11671# else 11672# define LT_DLLAZY_OR_NOW 0 11673# endif 11674# endif 11675# endif 11676# endif 11677#endif 11678 11679/* When -fvisibility=hidden is used, assume the code has been annotated 11680 correspondingly for the symbols needed. */ 11681#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11682int fnord () __attribute__((visibility("default"))); 11683#endif 11684 11685int fnord () { return 42; } 11686int main () 11687{ 11688 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11689 int status = $lt_dlunknown; 11690 11691 if (self) 11692 { 11693 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11694 else 11695 { 11696 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11697 else puts (dlerror ()); 11698 } 11699 /* dlclose (self); */ 11700 } 11701 else 11702 puts (dlerror ()); 11703 11704 return status; 11705} 11706_LT_EOF 11707 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11708 (eval $ac_link) 2>&5 11709 ac_status=$? 11710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11711 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11712 (./conftest; exit; ) >&5 2>/dev/null 11713 lt_status=$? 11714 case x$lt_status in 11715 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11716 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11717 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11718 esac 11719 else : 11720 # compilation failed 11721 lt_cv_dlopen_self=no 11722 fi 11723fi 11724rm -fr conftest* 11725 11726 11727fi 11728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11729$as_echo "$lt_cv_dlopen_self" >&6; } 11730 11731 if test yes = "$lt_cv_dlopen_self"; then 11732 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11734$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11735if ${lt_cv_dlopen_self_static+:} false; then : 11736 $as_echo_n "(cached) " >&6 11737else 11738 if test yes = "$cross_compiling"; then : 11739 lt_cv_dlopen_self_static=cross 11740else 11741 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11742 lt_status=$lt_dlunknown 11743 cat > conftest.$ac_ext <<_LT_EOF 11744#line $LINENO "configure" 11745#include "confdefs.h" 11746 11747#if HAVE_DLFCN_H 11748#include <dlfcn.h> 11749#endif 11750 11751#include <stdio.h> 11752 11753#ifdef RTLD_GLOBAL 11754# define LT_DLGLOBAL RTLD_GLOBAL 11755#else 11756# ifdef DL_GLOBAL 11757# define LT_DLGLOBAL DL_GLOBAL 11758# else 11759# define LT_DLGLOBAL 0 11760# endif 11761#endif 11762 11763/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11764 find out it does not work in some platform. */ 11765#ifndef LT_DLLAZY_OR_NOW 11766# ifdef RTLD_LAZY 11767# define LT_DLLAZY_OR_NOW RTLD_LAZY 11768# else 11769# ifdef DL_LAZY 11770# define LT_DLLAZY_OR_NOW DL_LAZY 11771# else 11772# ifdef RTLD_NOW 11773# define LT_DLLAZY_OR_NOW RTLD_NOW 11774# else 11775# ifdef DL_NOW 11776# define LT_DLLAZY_OR_NOW DL_NOW 11777# else 11778# define LT_DLLAZY_OR_NOW 0 11779# endif 11780# endif 11781# endif 11782# endif 11783#endif 11784 11785/* When -fvisibility=hidden is used, assume the code has been annotated 11786 correspondingly for the symbols needed. */ 11787#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11788int fnord () __attribute__((visibility("default"))); 11789#endif 11790 11791int fnord () { return 42; } 11792int main () 11793{ 11794 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11795 int status = $lt_dlunknown; 11796 11797 if (self) 11798 { 11799 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11800 else 11801 { 11802 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11803 else puts (dlerror ()); 11804 } 11805 /* dlclose (self); */ 11806 } 11807 else 11808 puts (dlerror ()); 11809 11810 return status; 11811} 11812_LT_EOF 11813 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11814 (eval $ac_link) 2>&5 11815 ac_status=$? 11816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11817 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11818 (./conftest; exit; ) >&5 2>/dev/null 11819 lt_status=$? 11820 case x$lt_status in 11821 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11822 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11823 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11824 esac 11825 else : 11826 # compilation failed 11827 lt_cv_dlopen_self_static=no 11828 fi 11829fi 11830rm -fr conftest* 11831 11832 11833fi 11834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11835$as_echo "$lt_cv_dlopen_self_static" >&6; } 11836 fi 11837 11838 CPPFLAGS=$save_CPPFLAGS 11839 LDFLAGS=$save_LDFLAGS 11840 LIBS=$save_LIBS 11841 ;; 11842 esac 11843 11844 case $lt_cv_dlopen_self in 11845 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11846 *) enable_dlopen_self=unknown ;; 11847 esac 11848 11849 case $lt_cv_dlopen_self_static in 11850 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11851 *) enable_dlopen_self_static=unknown ;; 11852 esac 11853fi 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871striplib= 11872old_striplib= 11873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11874$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11875if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11876 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11877 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11879$as_echo "yes" >&6; } 11880else 11881# FIXME - insert some real tests, host_os isn't really good enough 11882 case $host_os in 11883 darwin*) 11884 if test -n "$STRIP"; then 11885 striplib="$STRIP -x" 11886 old_striplib="$STRIP -S" 11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11888$as_echo "yes" >&6; } 11889 else 11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11891$as_echo "no" >&6; } 11892 fi 11893 ;; 11894 *) 11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11896$as_echo "no" >&6; } 11897 ;; 11898 esac 11899fi 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 # Report what library types will actually be built 11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11914$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11916$as_echo "$can_build_shared" >&6; } 11917 11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11919$as_echo_n "checking whether to build shared libraries... " >&6; } 11920 test no = "$can_build_shared" && enable_shared=no 11921 11922 # On AIX, shared libraries and static libraries use the same namespace, and 11923 # are all built from PIC. 11924 case $host_os in 11925 aix3*) 11926 test yes = "$enable_shared" && enable_static=no 11927 if test -n "$RANLIB"; then 11928 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11929 postinstall_cmds='$RANLIB $lib' 11930 fi 11931 ;; 11932 11933 aix[4-9]*) 11934 if test ia64 != "$host_cpu"; then 11935 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 11936 yes,aix,yes) ;; # shared object as lib.so file only 11937 yes,svr4,*) ;; # shared object as lib.so archive member only 11938 yes,*) enable_static=no ;; # shared object in lib.a archive as well 11939 esac 11940 fi 11941 ;; 11942 esac 11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11944$as_echo "$enable_shared" >&6; } 11945 11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11947$as_echo_n "checking whether to build static libraries... " >&6; } 11948 # Make sure either enable_shared or enable_static is yes. 11949 test yes = "$enable_shared" || enable_static=yes 11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11951$as_echo "$enable_static" >&6; } 11952 11953 11954 11955 11956fi 11957ac_ext=c 11958ac_cpp='$CPP $CPPFLAGS' 11959ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11961ac_compiler_gnu=$ac_cv_c_compiler_gnu 11962 11963CC=$lt_save_CC 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 ac_config_commands="$ac_config_commands libtool" 11980 11981 11982 11983 11984# Only expand once: 11985 11986 11987 11988# Extra arguments to configure to determine locations of libraries and headers. 11989 11990# Check whether --with-pari_include was given. 11991if test "${with_pari_include+set}" = set; then : 11992 withval=$with_pari_include; CPPFLAGS="-I$withval $CPPFLAGS" 11993fi 11994 11995 11996# Check whether --with-pari_lib was given. 11997if test "${with_pari_lib+set}" = set; then : 11998 withval=$with_pari_lib; LDFLAGS="-L$withval $LDFLAGS" 11999fi 12000 12001 12002# Check whether --with-pari was given. 12003if test "${with_pari+set}" = set; then : 12004 withval=$with_pari; 12005 if test -z "$with_pari_lib" -a -z "$with_pari_include" ; then 12006 CPPFLAGS="-I$withval/include $CPPFLAGS" 12007 LDFLAGS="-L$withval/lib $LDFLAGS" 12008 else 12009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12010$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12011as_fn_error $? "Do not use --with-pari and --with-pari-include/--with-pari-lib options simultaneously. 12012See \`config.log' for more details" "$LINENO" 5; } 12013 fi 12014 12015fi 12016 12017 12018# Check whether --with-gmp_include was given. 12019if test "${with_gmp_include+set}" = set; then : 12020 withval=$with_gmp_include; CPPFLAGS="-I$withval $CPPFLAGS" 12021fi 12022 12023 12024# Check whether --with-gmp_lib was given. 12025if test "${with_gmp_lib+set}" = set; then : 12026 withval=$with_gmp_lib; LDFLAGS="-L$withval $LDFLAGS" 12027fi 12028 12029 12030# Check whether --with-gmp was given. 12031if test "${with_gmp+set}" = set; then : 12032 withval=$with_gmp; 12033 if test -z "$with_gmp_lib" -a -z "$with_gmp_include" ; then 12034 CPPFLAGS="-I$withval/include $CPPFLAGS" 12035 LDFLAGS="-L$withval/lib $LDFLAGS" 12036 else 12037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12038$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12039as_fn_error $? "Do not use --with-gmp and --with-gmp-include/--with-gmp-lib options simultaneously. 12040See \`config.log' for more details" "$LINENO" 5; } 12041 fi 12042 12043fi 12044 12045 12046# Check whether --with-mpfr_include was given. 12047if test "${with_mpfr_include+set}" = set; then : 12048 withval=$with_mpfr_include; CPPFLAGS="-I$withval $CPPFLAGS" 12049fi 12050 12051 12052# Check whether --with-mpfr_lib was given. 12053if test "${with_mpfr_lib+set}" = set; then : 12054 withval=$with_mpfr_lib; LDFLAGS="-L$withval $LDFLAGS" 12055fi 12056 12057 12058# Check whether --with-mpfr was given. 12059if test "${with_mpfr+set}" = set; then : 12060 withval=$with_mpfr; 12061 if test -z "$with_mpfr_include" -a -z "$with_mpfr_lib" ; then 12062 CPPFLAGS="-I$withval/include $CPPFLAGS" 12063 LDFLAGS="-L$withval/lib $LDFLAGS" 12064 else 12065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12066$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12067as_fn_error $? "Do not use --with-mpfr and --with-mpfr-include/--with-mpfr-lib options simultaneously. 12068See \`config.log' for more details" "$LINENO" 5; } 12069 fi 12070 12071fi 12072 12073 12074# Check whether --with-mpc_include was given. 12075if test "${with_mpc_include+set}" = set; then : 12076 withval=$with_mpc_include; CPPFLAGS="-I$withval $CPPFLAGS" 12077fi 12078 12079 12080# Check whether --with-mpc_lib was given. 12081if test "${with_mpc_lib+set}" = set; then : 12082 withval=$with_mpc_lib; LDFLAGS="-L$withval $LDFLAGS" 12083fi 12084 12085 12086# Check whether --with-mpc was given. 12087if test "${with_mpc+set}" = set; then : 12088 withval=$with_mpc; 12089 if test -z "$with_mpc_include" -a -z "$with_mpc_lib" ; then 12090 CPPFLAGS="-I$withval/include $CPPFLAGS" 12091 LDFLAGS="-L$withval/lib $LDFLAGS" 12092 else 12093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12094$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12095as_fn_error $? "Do not use --with-mpc and --with-mpc-include/--with-mpc-lib options simultaneously. 12096See \`config.log' for more details" "$LINENO" 5; } 12097 fi 12098 12099fi 12100 12101 12102# Check whether --with-flint_include was given. 12103if test "${with_flint_include+set}" = set; then : 12104 withval=$with_flint_include; CPPFLAGS="-I$withval $CPPFLAGS" 12105fi 12106 12107 12108# Check whether --with-flint_lib was given. 12109if test "${with_flint_lib+set}" = set; then : 12110 withval=$with_flint_lib; LDFLAGS="-L$withval $LDFLAGS" 12111fi 12112 12113 12114# Check whether --with-flint was given. 12115if test "${with_flint+set}" = set; then : 12116 withval=$with_flint; 12117 if test -z "$with_flint_include" -a -z "$with_flint_lib" ; then 12118 CPPFLAGS="-I$withval/include $CPPFLAGS" 12119 LDFLAGS="-L$withval/lib $LDFLAGS" 12120 else 12121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12122$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12123as_fn_error $? "Do not use --with-flint and --with-flint-include/--with-flint-lib options simultaneously. 12124See \`config.log' for more details" "$LINENO" 5; } 12125 fi 12126 12127fi 12128 12129 12130# Check whether --with-arb_include was given. 12131if test "${with_arb_include+set}" = set; then : 12132 withval=$with_arb_include; CPPFLAGS="-I$withval $CPPFLAGS" 12133fi 12134 12135 12136# Check whether --with-arb_lib was given. 12137if test "${with_arb_lib+set}" = set; then : 12138 withval=$with_arb_lib; LDFLAGS="-L$withval $LDFLAGS" 12139fi 12140 12141 12142# Check whether --with-arb was given. 12143if test "${with_arb+set}" = set; then : 12144 withval=$with_arb; 12145 if test -z "$with_arb_include" -a -z "$with_arb_lib" ; then 12146 CPPFLAGS="-I$withval/include $CPPFLAGS" 12147 LDFLAGS="-L$withval/lib $LDFLAGS" 12148 else 12149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12150$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12151as_fn_error $? "Do not use --with-arb and --with-arb-include/--with-arb-lib options simultaneously. 12152See \`config.log' for more details" "$LINENO" 5; } 12153 fi 12154 12155fi 12156 12157 12158# Check whether --with-cmh_include was given. 12159if test "${with_cmh_include+set}" = set; then : 12160 withval=$with_cmh_include; CPPFLAGS="-I$withval $CPPFLAGS" 12161fi 12162 12163 12164# Check whether --with-cmh_lib was given. 12165if test "${with_cmh_lib+set}" = set; then : 12166 withval=$with_cmh_lib; LDFLAGS="-L$withval $LDFLAGS" 12167fi 12168 12169 12170# Check whether --with-cmh was given. 12171if test "${with_cmh+set}" = set; then : 12172 withval=$with_cmh; 12173 if test -z "$with_cmh_include" -a -z "$with_cmh_lib" ; then 12174 CPPFLAGS="-I$withval/include $CPPFLAGS" 12175 LDFLAGS="-L$withval/lib $LDFLAGS" 12176 else 12177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12178$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12179as_fn_error $? "Do not use --with-cmh and --with-cmh-include/--with-cmh-lib options simultaneously. 12180See \`config.log' for more details" "$LINENO" 5; } 12181 fi 12182 12183fi 12184 12185 12186 12187# Check for libraries and their headers. 12188ac_fn_c_check_header_mongrel "$LINENO" "pari/pari.h" "ac_cv_header_pari_pari_h" "$ac_includes_default" 12189if test "x$ac_cv_header_pari_pari_h" = xyes; then : 12190 12191else 12192 as_fn_error $? "pari headers are not found." "$LINENO" 5 12193 12194fi 12195 12196 12197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pari_init in -lpari" >&5 12198$as_echo_n "checking for pari_init in -lpari... " >&6; } 12199if ${ac_cv_lib_pari_pari_init+:} false; then : 12200 $as_echo_n "(cached) " >&6 12201else 12202 ac_check_lib_save_LIBS=$LIBS 12203LIBS="-lpari $LIBS" 12204cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12205/* end confdefs.h. */ 12206 12207/* Override any GCC internal prototype to avoid an error. 12208 Use char because int might match the return type of a GCC 12209 builtin and then its argument prototype would still apply. */ 12210#ifdef __cplusplus 12211extern "C" 12212#endif 12213char pari_init (); 12214int 12215main () 12216{ 12217return pari_init (); 12218 ; 12219 return 0; 12220} 12221_ACEOF 12222if ac_fn_c_try_link "$LINENO"; then : 12223 ac_cv_lib_pari_pari_init=yes 12224else 12225 ac_cv_lib_pari_pari_init=no 12226fi 12227rm -f core conftest.err conftest.$ac_objext \ 12228 conftest$ac_exeext conftest.$ac_ext 12229LIBS=$ac_check_lib_save_LIBS 12230fi 12231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pari_pari_init" >&5 12232$as_echo "$ac_cv_lib_pari_pari_init" >&6; } 12233if test "x$ac_cv_lib_pari_pari_init" = xyes; then : 12234 cat >>confdefs.h <<_ACEOF 12235#define HAVE_LIBPARI 1 12236_ACEOF 12237 12238 LIBS="-lpari $LIBS" 12239 12240else 12241 as_fn_error $? "pari is not found." "$LINENO" 5 12242 12243fi 12244 12245ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" 12246if test "x$ac_cv_header_gmp_h" = xyes; then : 12247 12248else 12249 as_fn_error $? "gmp headers are not found." "$LINENO" 5 12250 12251fi 12252 12253 12254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5 12255$as_echo_n "checking for __gmpz_init in -lgmp... " >&6; } 12256if ${ac_cv_lib_gmp___gmpz_init+:} false; then : 12257 $as_echo_n "(cached) " >&6 12258else 12259 ac_check_lib_save_LIBS=$LIBS 12260LIBS="-lgmp $LIBS" 12261cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12262/* end confdefs.h. */ 12263 12264/* Override any GCC internal prototype to avoid an error. 12265 Use char because int might match the return type of a GCC 12266 builtin and then its argument prototype would still apply. */ 12267#ifdef __cplusplus 12268extern "C" 12269#endif 12270char __gmpz_init (); 12271int 12272main () 12273{ 12274return __gmpz_init (); 12275 ; 12276 return 0; 12277} 12278_ACEOF 12279if ac_fn_c_try_link "$LINENO"; then : 12280 ac_cv_lib_gmp___gmpz_init=yes 12281else 12282 ac_cv_lib_gmp___gmpz_init=no 12283fi 12284rm -f core conftest.err conftest.$ac_objext \ 12285 conftest$ac_exeext conftest.$ac_ext 12286LIBS=$ac_check_lib_save_LIBS 12287fi 12288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5 12289$as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; } 12290if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then : 12291 cat >>confdefs.h <<_ACEOF 12292#define HAVE_LIBGMP 1 12293_ACEOF 12294 12295 LIBS="-lgmp $LIBS" 12296 12297else 12298 as_fn_error $? "gmp is not found." "$LINENO" 5 12299 12300fi 12301 12302GP_MPFR=$srcdir/gp/paritwine-mpfr.gp 12303ac_fn_c_check_header_mongrel "$LINENO" "mpfr.h" "ac_cv_header_mpfr_h" "$ac_includes_default" 12304if test "x$ac_cv_header_mpfr_h" = xyes; then : 12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpfr_init in -lmpfr" >&5 12306$as_echo_n "checking for mpfr_init in -lmpfr... " >&6; } 12307if ${ac_cv_lib_mpfr_mpfr_init+:} false; then : 12308 $as_echo_n "(cached) " >&6 12309else 12310 ac_check_lib_save_LIBS=$LIBS 12311LIBS="-lmpfr $LIBS" 12312cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12313/* end confdefs.h. */ 12314 12315/* Override any GCC internal prototype to avoid an error. 12316 Use char because int might match the return type of a GCC 12317 builtin and then its argument prototype would still apply. */ 12318#ifdef __cplusplus 12319extern "C" 12320#endif 12321char mpfr_init (); 12322int 12323main () 12324{ 12325return mpfr_init (); 12326 ; 12327 return 0; 12328} 12329_ACEOF 12330if ac_fn_c_try_link "$LINENO"; then : 12331 ac_cv_lib_mpfr_mpfr_init=yes 12332else 12333 ac_cv_lib_mpfr_mpfr_init=no 12334fi 12335rm -f core conftest.err conftest.$ac_objext \ 12336 conftest$ac_exeext conftest.$ac_ext 12337LIBS=$ac_check_lib_save_LIBS 12338fi 12339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpfr_mpfr_init" >&5 12340$as_echo "$ac_cv_lib_mpfr_mpfr_init" >&6; } 12341if test "x$ac_cv_lib_mpfr_mpfr_init" = xyes; then : 12342 cat >>confdefs.h <<_ACEOF 12343#define HAVE_LIBMPFR 1 12344_ACEOF 12345 12346 LIBS="-lmpfr $LIBS" 12347 12348else 12349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mpfr is not found, interface will not be built." >&5 12350$as_echo "$as_me: WARNING: mpfr is not found, interface will not be built." >&2;} 12351 GP_MPFR=/dev/null 12352fi 12353 12354 12355else 12356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mpfr headers are not found, interface will not be built." >&5 12357$as_echo "$as_me: WARNING: mpfr headers are not found, interface will not be built." >&2;} 12358 GP_MPFR=/dev/null 12359 12360fi 12361 12362 12363GP_MPC=$srcdir/gp/paritwine-mpc.gp 12364ac_fn_c_check_header_mongrel "$LINENO" "mpc.h" "ac_cv_header_mpc_h" "$ac_includes_default" 12365if test "x$ac_cv_header_mpc_h" = xyes; then : 12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpc_init2 in -lmpc" >&5 12367$as_echo_n "checking for mpc_init2 in -lmpc... " >&6; } 12368if ${ac_cv_lib_mpc_mpc_init2+:} false; then : 12369 $as_echo_n "(cached) " >&6 12370else 12371 ac_check_lib_save_LIBS=$LIBS 12372LIBS="-lmpc $LIBS" 12373cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12374/* end confdefs.h. */ 12375 12376/* Override any GCC internal prototype to avoid an error. 12377 Use char because int might match the return type of a GCC 12378 builtin and then its argument prototype would still apply. */ 12379#ifdef __cplusplus 12380extern "C" 12381#endif 12382char mpc_init2 (); 12383int 12384main () 12385{ 12386return mpc_init2 (); 12387 ; 12388 return 0; 12389} 12390_ACEOF 12391if ac_fn_c_try_link "$LINENO"; then : 12392 ac_cv_lib_mpc_mpc_init2=yes 12393else 12394 ac_cv_lib_mpc_mpc_init2=no 12395fi 12396rm -f core conftest.err conftest.$ac_objext \ 12397 conftest$ac_exeext conftest.$ac_ext 12398LIBS=$ac_check_lib_save_LIBS 12399fi 12400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpc_mpc_init2" >&5 12401$as_echo "$ac_cv_lib_mpc_mpc_init2" >&6; } 12402if test "x$ac_cv_lib_mpc_mpc_init2" = xyes; then : 12403 cat >>confdefs.h <<_ACEOF 12404#define HAVE_LIBMPC 1 12405_ACEOF 12406 12407 LIBS="-lmpc $LIBS" 12408 12409else 12410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mpc is not found, interface will not be built." >&5 12411$as_echo "$as_me: WARNING: mpc is not found, interface will not be built." >&2;} 12412 GP_MPC=/dev/null 12413fi 12414 12415 12416else 12417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mpc headers are not found, interface will not be built." >&5 12418$as_echo "$as_me: WARNING: mpc headers are not found, interface will not be built." >&2;} 12419 GP_MPC=/dev/null 12420 12421fi 12422 12423 12424GP_FLINT=$srcdir/gp/paritwine-flint.gp 12425ac_fn_c_check_header_mongrel "$LINENO" "flint/flint.h" "ac_cv_header_flint_flint_h" "$ac_includes_default" 12426if test "x$ac_cv_header_flint_flint_h" = xyes; then : 12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmpz_init in -lflint" >&5 12428$as_echo_n "checking for fmpz_init in -lflint... " >&6; } 12429if ${ac_cv_lib_flint_fmpz_init+:} false; then : 12430 $as_echo_n "(cached) " >&6 12431else 12432 ac_check_lib_save_LIBS=$LIBS 12433LIBS="-lflint $LIBS" 12434cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12435/* end confdefs.h. */ 12436 12437/* Override any GCC internal prototype to avoid an error. 12438 Use char because int might match the return type of a GCC 12439 builtin and then its argument prototype would still apply. */ 12440#ifdef __cplusplus 12441extern "C" 12442#endif 12443char fmpz_init (); 12444int 12445main () 12446{ 12447return fmpz_init (); 12448 ; 12449 return 0; 12450} 12451_ACEOF 12452if ac_fn_c_try_link "$LINENO"; then : 12453 ac_cv_lib_flint_fmpz_init=yes 12454else 12455 ac_cv_lib_flint_fmpz_init=no 12456fi 12457rm -f core conftest.err conftest.$ac_objext \ 12458 conftest$ac_exeext conftest.$ac_ext 12459LIBS=$ac_check_lib_save_LIBS 12460fi 12461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_flint_fmpz_init" >&5 12462$as_echo "$ac_cv_lib_flint_fmpz_init" >&6; } 12463if test "x$ac_cv_lib_flint_fmpz_init" = xyes; then : 12464 cat >>confdefs.h <<_ACEOF 12465#define HAVE_LIBFLINT 1 12466_ACEOF 12467 12468 LIBS="-lflint $LIBS" 12469 12470else 12471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: flint is not found, interface will not be built." >&5 12472$as_echo "$as_me: WARNING: flint is not found, interface will not be built." >&2;} 12473 GP_FLINT=/dev/null 12474fi 12475 12476 12477else 12478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: flint headers are not found, interface will not be built." >&5 12479$as_echo "$as_me: WARNING: flint headers are not found, interface will not be built." >&2;} 12480 GP_FLINT=/dev/null 12481 12482fi 12483 12484 12485GP_ARB=$srcdir/gp/paritwine-arb.gp 12486ac_fn_c_check_header_mongrel "$LINENO" "arb.h" "ac_cv_header_arb_h" "$ac_includes_default" 12487if test "x$ac_cv_header_arb_h" = xyes; then : 12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arb_init in -larb" >&5 12489$as_echo_n "checking for arb_init in -larb... " >&6; } 12490if ${ac_cv_lib_arb_arb_init+:} false; then : 12491 $as_echo_n "(cached) " >&6 12492else 12493 ac_check_lib_save_LIBS=$LIBS 12494LIBS="-larb $LIBS" 12495cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12496/* end confdefs.h. */ 12497 12498/* Override any GCC internal prototype to avoid an error. 12499 Use char because int might match the return type of a GCC 12500 builtin and then its argument prototype would still apply. */ 12501#ifdef __cplusplus 12502extern "C" 12503#endif 12504char arb_init (); 12505int 12506main () 12507{ 12508return arb_init (); 12509 ; 12510 return 0; 12511} 12512_ACEOF 12513if ac_fn_c_try_link "$LINENO"; then : 12514 ac_cv_lib_arb_arb_init=yes 12515else 12516 ac_cv_lib_arb_arb_init=no 12517fi 12518rm -f core conftest.err conftest.$ac_objext \ 12519 conftest$ac_exeext conftest.$ac_ext 12520LIBS=$ac_check_lib_save_LIBS 12521fi 12522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_arb_arb_init" >&5 12523$as_echo "$ac_cv_lib_arb_arb_init" >&6; } 12524if test "x$ac_cv_lib_arb_arb_init" = xyes; then : 12525 cat >>confdefs.h <<_ACEOF 12526#define HAVE_LIBARB 1 12527_ACEOF 12528 12529 LIBS="-larb $LIBS" 12530 12531else 12532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: arb is not found, interface will not be built." >&5 12533$as_echo "$as_me: WARNING: arb is not found, interface will not be built." >&2;} 12534 GP_ARB=/dev/null 12535fi 12536 12537 12538else 12539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: arb headers are not found, interface will not be built." >&5 12540$as_echo "$as_me: WARNING: arb headers are not found, interface will not be built." >&2;} 12541 GP_ARB=/dev/null 12542 12543fi 12544 12545 12546GP_CMH=$srcdir/gp/paritwine-cmh.gp 12547ac_fn_c_check_header_mongrel "$LINENO" "cmh.h" "ac_cv_header_cmh_h" "$ac_includes_default" 12548if test "x$ac_cv_header_cmh_h" = xyes; then : 12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for eval_10theta2_newton in -lcmh" >&5 12550$as_echo_n "checking for eval_10theta2_newton in -lcmh... " >&6; } 12551if ${ac_cv_lib_cmh_eval_10theta2_newton+:} false; then : 12552 $as_echo_n "(cached) " >&6 12553else 12554 ac_check_lib_save_LIBS=$LIBS 12555LIBS="-lcmh $LIBS" 12556cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12557/* end confdefs.h. */ 12558 12559/* Override any GCC internal prototype to avoid an error. 12560 Use char because int might match the return type of a GCC 12561 builtin and then its argument prototype would still apply. */ 12562#ifdef __cplusplus 12563extern "C" 12564#endif 12565char eval_10theta2_newton (); 12566int 12567main () 12568{ 12569return eval_10theta2_newton (); 12570 ; 12571 return 0; 12572} 12573_ACEOF 12574if ac_fn_c_try_link "$LINENO"; then : 12575 ac_cv_lib_cmh_eval_10theta2_newton=yes 12576else 12577 ac_cv_lib_cmh_eval_10theta2_newton=no 12578fi 12579rm -f core conftest.err conftest.$ac_objext \ 12580 conftest$ac_exeext conftest.$ac_ext 12581LIBS=$ac_check_lib_save_LIBS 12582fi 12583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cmh_eval_10theta2_newton" >&5 12584$as_echo "$ac_cv_lib_cmh_eval_10theta2_newton" >&6; } 12585if test "x$ac_cv_lib_cmh_eval_10theta2_newton" = xyes; then : 12586 cat >>confdefs.h <<_ACEOF 12587#define HAVE_LIBCMH 1 12588_ACEOF 12589 12590 LIBS="-lcmh $LIBS" 12591 12592else 12593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cmh is not found, interface will not be built." >&5 12594$as_echo "$as_me: WARNING: cmh is not found, interface will not be built." >&2;} 12595 GP_CMH=/dev/null 12596fi 12597 12598 12599else 12600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cmh headers are not found, interface will not be built." >&5 12601$as_echo "$as_me: WARNING: cmh headers are not found, interface will not be built." >&2;} 12602 GP_CMH=/dev/null 12603 12604fi 12605 12606 12607 12608 12609 12610 12611 12612 12613ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile gp/Makefile gp/paritwine.gp doc/Makefile" 12614 12615cat >confcache <<\_ACEOF 12616# This file is a shell script that caches the results of configure 12617# tests run on this system so they can be shared between configure 12618# scripts and configure runs, see configure's option --config-cache. 12619# It is not useful on other systems. If it contains results you don't 12620# want to keep, you may remove or edit it. 12621# 12622# config.status only pays attention to the cache file if you give it 12623# the --recheck option to rerun configure. 12624# 12625# `ac_cv_env_foo' variables (set or unset) will be overridden when 12626# loading this file, other *unset* `ac_cv_foo' will be assigned the 12627# following values. 12628 12629_ACEOF 12630 12631# The following way of writing the cache mishandles newlines in values, 12632# but we know of no workaround that is simple, portable, and efficient. 12633# So, we kill variables containing newlines. 12634# Ultrix sh set writes to stderr and can't be redirected directly, 12635# and sets the high bit in the cache file unless we assign to the vars. 12636( 12637 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12638 eval ac_val=\$$ac_var 12639 case $ac_val in #( 12640 *${as_nl}*) 12641 case $ac_var in #( 12642 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12643$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12644 esac 12645 case $ac_var in #( 12646 _ | IFS | as_nl) ;; #( 12647 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12648 *) { eval $ac_var=; unset $ac_var;} ;; 12649 esac ;; 12650 esac 12651 done 12652 12653 (set) 2>&1 | 12654 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12655 *${as_nl}ac_space=\ *) 12656 # `set' does not quote correctly, so add quotes: double-quote 12657 # substitution turns \\\\ into \\, and sed turns \\ into \. 12658 sed -n \ 12659 "s/'/'\\\\''/g; 12660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12661 ;; #( 12662 *) 12663 # `set' quotes correctly as required by POSIX, so do not add quotes. 12664 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12665 ;; 12666 esac | 12667 sort 12668) | 12669 sed ' 12670 /^ac_cv_env_/b end 12671 t clear 12672 :clear 12673 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12674 t end 12675 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12676 :end' >>confcache 12677if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12678 if test -w "$cache_file"; then 12679 if test "x$cache_file" != "x/dev/null"; then 12680 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12681$as_echo "$as_me: updating cache $cache_file" >&6;} 12682 if test ! -f "$cache_file" || test -h "$cache_file"; then 12683 cat confcache >"$cache_file" 12684 else 12685 case $cache_file in #( 12686 */* | ?:*) 12687 mv -f confcache "$cache_file"$$ && 12688 mv -f "$cache_file"$$ "$cache_file" ;; #( 12689 *) 12690 mv -f confcache "$cache_file" ;; 12691 esac 12692 fi 12693 fi 12694 else 12695 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12696$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12697 fi 12698fi 12699rm -f confcache 12700 12701test "x$prefix" = xNONE && prefix=$ac_default_prefix 12702# Let make expand exec_prefix. 12703test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12704 12705DEFS=-DHAVE_CONFIG_H 12706 12707ac_libobjs= 12708ac_ltlibobjs= 12709U= 12710for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12711 # 1. Remove the extension, and $U if already installed. 12712 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12713 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12714 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12715 # will be set to the directory where LIBOBJS objects are built. 12716 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12717 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12718done 12719LIBOBJS=$ac_libobjs 12720 12721LTLIBOBJS=$ac_ltlibobjs 12722 12723 12724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 12725$as_echo_n "checking that generated files are newer than configure... " >&6; } 12726 if test -n "$am_sleep_pid"; then 12727 # Hide warnings about reused PIDs. 12728 wait $am_sleep_pid 2>/dev/null 12729 fi 12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 12731$as_echo "done" >&6; } 12732 if test -n "$EXEEXT"; then 12733 am__EXEEXT_TRUE= 12734 am__EXEEXT_FALSE='#' 12735else 12736 am__EXEEXT_TRUE='#' 12737 am__EXEEXT_FALSE= 12738fi 12739 12740if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12741 as_fn_error $? "conditional \"AMDEP\" was never defined. 12742Usually this means the macro was only invoked conditionally." "$LINENO" 5 12743fi 12744if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12745 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12746Usually this means the macro was only invoked conditionally." "$LINENO" 5 12747fi 12748 12749: "${CONFIG_STATUS=./config.status}" 12750ac_write_fail=0 12751ac_clean_files_save=$ac_clean_files 12752ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12753{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12754$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12755as_write_fail=0 12756cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12757#! $SHELL 12758# Generated by $as_me. 12759# Run this file to recreate the current configuration. 12760# Compiler output produced by configure, useful for debugging 12761# configure, is in config.log if it exists. 12762 12763debug=false 12764ac_cs_recheck=false 12765ac_cs_silent=false 12766 12767SHELL=\${CONFIG_SHELL-$SHELL} 12768export SHELL 12769_ASEOF 12770cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12771## -------------------- ## 12772## M4sh Initialization. ## 12773## -------------------- ## 12774 12775# Be more Bourne compatible 12776DUALCASE=1; export DUALCASE # for MKS sh 12777if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12778 emulate sh 12779 NULLCMD=: 12780 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12781 # is contrary to our usage. Disable this feature. 12782 alias -g '${1+"$@"}'='"$@"' 12783 setopt NO_GLOB_SUBST 12784else 12785 case `(set -o) 2>/dev/null` in #( 12786 *posix*) : 12787 set -o posix ;; #( 12788 *) : 12789 ;; 12790esac 12791fi 12792 12793 12794as_nl=' 12795' 12796export as_nl 12797# Printing a long string crashes Solaris 7 /usr/bin/printf. 12798as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12799as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12800as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12801# Prefer a ksh shell builtin over an external printf program on Solaris, 12802# but without wasting forks for bash or zsh. 12803if test -z "$BASH_VERSION$ZSH_VERSION" \ 12804 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12805 as_echo='print -r --' 12806 as_echo_n='print -rn --' 12807elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12808 as_echo='printf %s\n' 12809 as_echo_n='printf %s' 12810else 12811 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12812 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12813 as_echo_n='/usr/ucb/echo -n' 12814 else 12815 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12816 as_echo_n_body='eval 12817 arg=$1; 12818 case $arg in #( 12819 *"$as_nl"*) 12820 expr "X$arg" : "X\\(.*\\)$as_nl"; 12821 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12822 esac; 12823 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12824 ' 12825 export as_echo_n_body 12826 as_echo_n='sh -c $as_echo_n_body as_echo' 12827 fi 12828 export as_echo_body 12829 as_echo='sh -c $as_echo_body as_echo' 12830fi 12831 12832# The user is always right. 12833if test "${PATH_SEPARATOR+set}" != set; then 12834 PATH_SEPARATOR=: 12835 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12836 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12837 PATH_SEPARATOR=';' 12838 } 12839fi 12840 12841 12842# IFS 12843# We need space, tab and new line, in precisely that order. Quoting is 12844# there to prevent editors from complaining about space-tab. 12845# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12846# splitting by setting IFS to empty value.) 12847IFS=" "" $as_nl" 12848 12849# Find who we are. Look in the path if we contain no directory separator. 12850as_myself= 12851case $0 in #(( 12852 *[\\/]* ) as_myself=$0 ;; 12853 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12854for as_dir in $PATH 12855do 12856 IFS=$as_save_IFS 12857 test -z "$as_dir" && as_dir=. 12858 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12859 done 12860IFS=$as_save_IFS 12861 12862 ;; 12863esac 12864# We did not find ourselves, most probably we were run as `sh COMMAND' 12865# in which case we are not to be found in the path. 12866if test "x$as_myself" = x; then 12867 as_myself=$0 12868fi 12869if test ! -f "$as_myself"; then 12870 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12871 exit 1 12872fi 12873 12874# Unset variables that we do not need and which cause bugs (e.g. in 12875# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12876# suppresses any "Segmentation fault" message there. '((' could 12877# trigger a bug in pdksh 5.2.14. 12878for as_var in BASH_ENV ENV MAIL MAILPATH 12879do eval test x\${$as_var+set} = xset \ 12880 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12881done 12882PS1='$ ' 12883PS2='> ' 12884PS4='+ ' 12885 12886# NLS nuisances. 12887LC_ALL=C 12888export LC_ALL 12889LANGUAGE=C 12890export LANGUAGE 12891 12892# CDPATH. 12893(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12894 12895 12896# as_fn_error STATUS ERROR [LINENO LOG_FD] 12897# ---------------------------------------- 12898# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12899# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12900# script with STATUS, using 1 if that was 0. 12901as_fn_error () 12902{ 12903 as_status=$1; test $as_status -eq 0 && as_status=1 12904 if test "$4"; then 12905 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12906 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12907 fi 12908 $as_echo "$as_me: error: $2" >&2 12909 as_fn_exit $as_status 12910} # as_fn_error 12911 12912 12913# as_fn_set_status STATUS 12914# ----------------------- 12915# Set $? to STATUS, without forking. 12916as_fn_set_status () 12917{ 12918 return $1 12919} # as_fn_set_status 12920 12921# as_fn_exit STATUS 12922# ----------------- 12923# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12924as_fn_exit () 12925{ 12926 set +e 12927 as_fn_set_status $1 12928 exit $1 12929} # as_fn_exit 12930 12931# as_fn_unset VAR 12932# --------------- 12933# Portably unset VAR. 12934as_fn_unset () 12935{ 12936 { eval $1=; unset $1;} 12937} 12938as_unset=as_fn_unset 12939# as_fn_append VAR VALUE 12940# ---------------------- 12941# Append the text in VALUE to the end of the definition contained in VAR. Take 12942# advantage of any shell optimizations that allow amortized linear growth over 12943# repeated appends, instead of the typical quadratic growth present in naive 12944# implementations. 12945if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12946 eval 'as_fn_append () 12947 { 12948 eval $1+=\$2 12949 }' 12950else 12951 as_fn_append () 12952 { 12953 eval $1=\$$1\$2 12954 } 12955fi # as_fn_append 12956 12957# as_fn_arith ARG... 12958# ------------------ 12959# Perform arithmetic evaluation on the ARGs, and store the result in the 12960# global $as_val. Take advantage of shells that can avoid forks. The arguments 12961# must be portable across $(()) and expr. 12962if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12963 eval 'as_fn_arith () 12964 { 12965 as_val=$(( $* )) 12966 }' 12967else 12968 as_fn_arith () 12969 { 12970 as_val=`expr "$@" || test $? -eq 1` 12971 } 12972fi # as_fn_arith 12973 12974 12975if expr a : '\(a\)' >/dev/null 2>&1 && 12976 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12977 as_expr=expr 12978else 12979 as_expr=false 12980fi 12981 12982if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12983 as_basename=basename 12984else 12985 as_basename=false 12986fi 12987 12988if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12989 as_dirname=dirname 12990else 12991 as_dirname=false 12992fi 12993 12994as_me=`$as_basename -- "$0" || 12995$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12996 X"$0" : 'X\(//\)$' \| \ 12997 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12998$as_echo X/"$0" | 12999 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13000 s//\1/ 13001 q 13002 } 13003 /^X\/\(\/\/\)$/{ 13004 s//\1/ 13005 q 13006 } 13007 /^X\/\(\/\).*/{ 13008 s//\1/ 13009 q 13010 } 13011 s/.*/./; q'` 13012 13013# Avoid depending upon Character Ranges. 13014as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13015as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13016as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13017as_cr_digits='0123456789' 13018as_cr_alnum=$as_cr_Letters$as_cr_digits 13019 13020ECHO_C= ECHO_N= ECHO_T= 13021case `echo -n x` in #((((( 13022-n*) 13023 case `echo 'xy\c'` in 13024 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13025 xy) ECHO_C='\c';; 13026 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13027 ECHO_T=' ';; 13028 esac;; 13029*) 13030 ECHO_N='-n';; 13031esac 13032 13033rm -f conf$$ conf$$.exe conf$$.file 13034if test -d conf$$.dir; then 13035 rm -f conf$$.dir/conf$$.file 13036else 13037 rm -f conf$$.dir 13038 mkdir conf$$.dir 2>/dev/null 13039fi 13040if (echo >conf$$.file) 2>/dev/null; then 13041 if ln -s conf$$.file conf$$ 2>/dev/null; then 13042 as_ln_s='ln -s' 13043 # ... but there are two gotchas: 13044 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13045 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13046 # In both cases, we have to default to `cp -pR'. 13047 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13048 as_ln_s='cp -pR' 13049 elif ln conf$$.file conf$$ 2>/dev/null; then 13050 as_ln_s=ln 13051 else 13052 as_ln_s='cp -pR' 13053 fi 13054else 13055 as_ln_s='cp -pR' 13056fi 13057rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13058rmdir conf$$.dir 2>/dev/null 13059 13060 13061# as_fn_mkdir_p 13062# ------------- 13063# Create "$as_dir" as a directory, including parents if necessary. 13064as_fn_mkdir_p () 13065{ 13066 13067 case $as_dir in #( 13068 -*) as_dir=./$as_dir;; 13069 esac 13070 test -d "$as_dir" || eval $as_mkdir_p || { 13071 as_dirs= 13072 while :; do 13073 case $as_dir in #( 13074 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13075 *) as_qdir=$as_dir;; 13076 esac 13077 as_dirs="'$as_qdir' $as_dirs" 13078 as_dir=`$as_dirname -- "$as_dir" || 13079$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13080 X"$as_dir" : 'X\(//\)[^/]' \| \ 13081 X"$as_dir" : 'X\(//\)$' \| \ 13082 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13083$as_echo X"$as_dir" | 13084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13085 s//\1/ 13086 q 13087 } 13088 /^X\(\/\/\)[^/].*/{ 13089 s//\1/ 13090 q 13091 } 13092 /^X\(\/\/\)$/{ 13093 s//\1/ 13094 q 13095 } 13096 /^X\(\/\).*/{ 13097 s//\1/ 13098 q 13099 } 13100 s/.*/./; q'` 13101 test -d "$as_dir" && break 13102 done 13103 test -z "$as_dirs" || eval "mkdir $as_dirs" 13104 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13105 13106 13107} # as_fn_mkdir_p 13108if mkdir -p . 2>/dev/null; then 13109 as_mkdir_p='mkdir -p "$as_dir"' 13110else 13111 test -d ./-p && rmdir ./-p 13112 as_mkdir_p=false 13113fi 13114 13115 13116# as_fn_executable_p FILE 13117# ----------------------- 13118# Test if FILE is an executable regular file. 13119as_fn_executable_p () 13120{ 13121 test -f "$1" && test -x "$1" 13122} # as_fn_executable_p 13123as_test_x='test -x' 13124as_executable_p=as_fn_executable_p 13125 13126# Sed expression to map a string onto a valid CPP name. 13127as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13128 13129# Sed expression to map a string onto a valid variable name. 13130as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13131 13132 13133exec 6>&1 13134## ----------------------------------- ## 13135## Main body of $CONFIG_STATUS script. ## 13136## ----------------------------------- ## 13137_ASEOF 13138test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13139 13140cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13141# Save the log message, to keep $0 and so on meaningful, and to 13142# report actual input values of CONFIG_FILES etc. instead of their 13143# values after options handling. 13144ac_log=" 13145This file was extended by paritwine $as_me 0.1, which was 13146generated by GNU Autoconf 2.69. Invocation command line was 13147 13148 CONFIG_FILES = $CONFIG_FILES 13149 CONFIG_HEADERS = $CONFIG_HEADERS 13150 CONFIG_LINKS = $CONFIG_LINKS 13151 CONFIG_COMMANDS = $CONFIG_COMMANDS 13152 $ $0 $@ 13153 13154on `(hostname || uname -n) 2>/dev/null | sed 1q` 13155" 13156 13157_ACEOF 13158 13159case $ac_config_files in *" 13160"*) set x $ac_config_files; shift; ac_config_files=$*;; 13161esac 13162 13163case $ac_config_headers in *" 13164"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13165esac 13166 13167 13168cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13169# Files that config.status was made for. 13170config_files="$ac_config_files" 13171config_headers="$ac_config_headers" 13172config_commands="$ac_config_commands" 13173 13174_ACEOF 13175 13176cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13177ac_cs_usage="\ 13178\`$as_me' instantiates files and other configuration actions 13179from templates according to the current configuration. Unless the files 13180and actions are specified as TAGs, all are instantiated by default. 13181 13182Usage: $0 [OPTION]... [TAG]... 13183 13184 -h, --help print this help, then exit 13185 -V, --version print version number and configuration settings, then exit 13186 --config print configuration, then exit 13187 -q, --quiet, --silent 13188 do not print progress messages 13189 -d, --debug don't remove temporary files 13190 --recheck update $as_me by reconfiguring in the same conditions 13191 --file=FILE[:TEMPLATE] 13192 instantiate the configuration file FILE 13193 --header=FILE[:TEMPLATE] 13194 instantiate the configuration header FILE 13195 13196Configuration files: 13197$config_files 13198 13199Configuration headers: 13200$config_headers 13201 13202Configuration commands: 13203$config_commands 13204 13205Report bugs to <andreas.enge@inria.fr>." 13206 13207_ACEOF 13208cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13209ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13210ac_cs_version="\\ 13211paritwine config.status 0.1 13212configured by $0, generated by GNU Autoconf 2.69, 13213 with options \\"\$ac_cs_config\\" 13214 13215Copyright (C) 2012 Free Software Foundation, Inc. 13216This config.status script is free software; the Free Software Foundation 13217gives unlimited permission to copy, distribute and modify it." 13218 13219ac_pwd='$ac_pwd' 13220srcdir='$srcdir' 13221INSTALL='$INSTALL' 13222MKDIR_P='$MKDIR_P' 13223AWK='$AWK' 13224test -n "\$AWK" || AWK=awk 13225_ACEOF 13226 13227cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13228# The default lists apply if the user does not specify any file. 13229ac_need_defaults=: 13230while test $# != 0 13231do 13232 case $1 in 13233 --*=?*) 13234 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13235 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13236 ac_shift=: 13237 ;; 13238 --*=) 13239 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13240 ac_optarg= 13241 ac_shift=: 13242 ;; 13243 *) 13244 ac_option=$1 13245 ac_optarg=$2 13246 ac_shift=shift 13247 ;; 13248 esac 13249 13250 case $ac_option in 13251 # Handling of the options. 13252 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13253 ac_cs_recheck=: ;; 13254 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13255 $as_echo "$ac_cs_version"; exit ;; 13256 --config | --confi | --conf | --con | --co | --c ) 13257 $as_echo "$ac_cs_config"; exit ;; 13258 --debug | --debu | --deb | --de | --d | -d ) 13259 debug=: ;; 13260 --file | --fil | --fi | --f ) 13261 $ac_shift 13262 case $ac_optarg in 13263 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13264 '') as_fn_error $? "missing file argument" ;; 13265 esac 13266 as_fn_append CONFIG_FILES " '$ac_optarg'" 13267 ac_need_defaults=false;; 13268 --header | --heade | --head | --hea ) 13269 $ac_shift 13270 case $ac_optarg in 13271 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13272 esac 13273 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13274 ac_need_defaults=false;; 13275 --he | --h) 13276 # Conflict between --help and --header 13277 as_fn_error $? "ambiguous option: \`$1' 13278Try \`$0 --help' for more information.";; 13279 --help | --hel | -h ) 13280 $as_echo "$ac_cs_usage"; exit ;; 13281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13282 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13283 ac_cs_silent=: ;; 13284 13285 # This is an error. 13286 -*) as_fn_error $? "unrecognized option: \`$1' 13287Try \`$0 --help' for more information." ;; 13288 13289 *) as_fn_append ac_config_targets " $1" 13290 ac_need_defaults=false ;; 13291 13292 esac 13293 shift 13294done 13295 13296ac_configure_extra_args= 13297 13298if $ac_cs_silent; then 13299 exec 6>/dev/null 13300 ac_configure_extra_args="$ac_configure_extra_args --silent" 13301fi 13302 13303_ACEOF 13304cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13305if \$ac_cs_recheck; then 13306 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13307 shift 13308 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13309 CONFIG_SHELL='$SHELL' 13310 export CONFIG_SHELL 13311 exec "\$@" 13312fi 13313 13314_ACEOF 13315cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13316exec 5>>config.log 13317{ 13318 echo 13319 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13320## Running $as_me. ## 13321_ASBOX 13322 $as_echo "$ac_log" 13323} >&5 13324 13325_ACEOF 13326cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13327# 13328# INIT-COMMANDS 13329# 13330AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 13331 13332 13333# The HP-UX ksh and POSIX shell print the target directory to stdout 13334# if CDPATH is set. 13335(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13336 13337sed_quote_subst='$sed_quote_subst' 13338double_quote_subst='$double_quote_subst' 13339delay_variable_subst='$delay_variable_subst' 13340macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13341macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13342enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13343enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13344pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13345enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13346shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 13347SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13348ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13349PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13350host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13351host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13352host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13353build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13354build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13355build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13356SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13357Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13358GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13359EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13360FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13361LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13362NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13363LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13364max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13365ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13366exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13367lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13368lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13369lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13370lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13371lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13372reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13373reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13374OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13375deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13376file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13377file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13378want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13379DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13380sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13381AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13382AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13383archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13384STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13385RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13386old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13387old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13388old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13389lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13390CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13391CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13392compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13393GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13394lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13395lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13396lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 13397lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13398lt_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"`' 13399lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 13400nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13401lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13402lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 13403objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13404MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13405lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13406lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13407lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13408lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13409lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13410need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13411MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13412DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13413NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13414LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13415OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13416OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13417libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13418shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13419extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13420archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13421enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13422export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13423whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13424compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13425old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13426old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13427archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13428archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13429module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13430module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13431with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13432allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13433no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13434hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13435hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13436hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13437hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13438hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13439hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13440hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 13441inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 13442link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 13443always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 13444export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 13445exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 13446include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 13447prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 13448postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 13449file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 13450variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 13451need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 13452need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 13453version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 13454runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 13455shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 13456shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 13457libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 13458library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 13459soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 13460install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 13461postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13462postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13463finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 13464finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 13465hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 13466sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 13467configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 13468configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 13469hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 13470enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 13471enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 13472enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 13473old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 13474striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 13475 13476LTCC='$LTCC' 13477LTCFLAGS='$LTCFLAGS' 13478compiler='$compiler_DEFAULT' 13479 13480# A function that is used when there is no print builtin or printf. 13481func_fallback_echo () 13482{ 13483 eval 'cat <<_LTECHO_EOF 13484\$1 13485_LTECHO_EOF' 13486} 13487 13488# Quote evaled strings. 13489for var in SHELL \ 13490ECHO \ 13491PATH_SEPARATOR \ 13492SED \ 13493GREP \ 13494EGREP \ 13495FGREP \ 13496LD \ 13497NM \ 13498LN_S \ 13499lt_SP2NL \ 13500lt_NL2SP \ 13501reload_flag \ 13502OBJDUMP \ 13503deplibs_check_method \ 13504file_magic_cmd \ 13505file_magic_glob \ 13506want_nocaseglob \ 13507DLLTOOL \ 13508sharedlib_from_linklib_cmd \ 13509AR \ 13510AR_FLAGS \ 13511archiver_list_spec \ 13512STRIP \ 13513RANLIB \ 13514CC \ 13515CFLAGS \ 13516compiler \ 13517lt_cv_sys_global_symbol_pipe \ 13518lt_cv_sys_global_symbol_to_cdecl \ 13519lt_cv_sys_global_symbol_to_import \ 13520lt_cv_sys_global_symbol_to_c_name_address \ 13521lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13522lt_cv_nm_interface \ 13523nm_file_list_spec \ 13524lt_cv_truncate_bin \ 13525lt_prog_compiler_no_builtin_flag \ 13526lt_prog_compiler_pic \ 13527lt_prog_compiler_wl \ 13528lt_prog_compiler_static \ 13529lt_cv_prog_compiler_c_o \ 13530need_locks \ 13531MANIFEST_TOOL \ 13532DSYMUTIL \ 13533NMEDIT \ 13534LIPO \ 13535OTOOL \ 13536OTOOL64 \ 13537shrext_cmds \ 13538export_dynamic_flag_spec \ 13539whole_archive_flag_spec \ 13540compiler_needs_object \ 13541with_gnu_ld \ 13542allow_undefined_flag \ 13543no_undefined_flag \ 13544hardcode_libdir_flag_spec \ 13545hardcode_libdir_separator \ 13546exclude_expsyms \ 13547include_expsyms \ 13548file_list_spec \ 13549variables_saved_for_relink \ 13550libname_spec \ 13551library_names_spec \ 13552soname_spec \ 13553install_override_mode \ 13554finish_eval \ 13555old_striplib \ 13556striplib; do 13557 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13558 *[\\\\\\\`\\"\\\$]*) 13559 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13560 ;; 13561 *) 13562 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13563 ;; 13564 esac 13565done 13566 13567# Double-quote double-evaled strings. 13568for var in reload_cmds \ 13569old_postinstall_cmds \ 13570old_postuninstall_cmds \ 13571old_archive_cmds \ 13572extract_expsyms_cmds \ 13573old_archive_from_new_cmds \ 13574old_archive_from_expsyms_cmds \ 13575archive_cmds \ 13576archive_expsym_cmds \ 13577module_cmds \ 13578module_expsym_cmds \ 13579export_symbols_cmds \ 13580prelink_cmds \ 13581postlink_cmds \ 13582postinstall_cmds \ 13583postuninstall_cmds \ 13584finish_cmds \ 13585sys_lib_search_path_spec \ 13586configure_time_dlsearch_path \ 13587configure_time_lt_sys_library_path; do 13588 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13589 *[\\\\\\\`\\"\\\$]*) 13590 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13591 ;; 13592 *) 13593 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13594 ;; 13595 esac 13596done 13597 13598ac_aux_dir='$ac_aux_dir' 13599 13600# See if we are running on zsh, and set the options that allow our 13601# commands through without removal of \ escapes INIT. 13602if test -n "\${ZSH_VERSION+set}"; then 13603 setopt NO_GLOB_SUBST 13604fi 13605 13606 13607 PACKAGE='$PACKAGE' 13608 VERSION='$VERSION' 13609 RM='$RM' 13610 ofile='$ofile' 13611 13612 13613 13614 13615_ACEOF 13616 13617cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13618 13619# Handling of arguments. 13620for ac_config_target in $ac_config_targets 13621do 13622 case $ac_config_target in 13623 "src/paritwine-config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/paritwine-config.h" ;; 13624 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13625 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13626 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13627 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13628 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 13629 "gp/Makefile") CONFIG_FILES="$CONFIG_FILES gp/Makefile" ;; 13630 "gp/paritwine.gp") CONFIG_FILES="$CONFIG_FILES gp/paritwine.gp" ;; 13631 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13632 13633 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13634 esac 13635done 13636 13637 13638# If the user did not use the arguments to specify the items to instantiate, 13639# then the envvar interface is used. Set only those that are not. 13640# We use the long form for the default assignment because of an extremely 13641# bizarre bug on SunOS 4.1.3. 13642if $ac_need_defaults; then 13643 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13644 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13645 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13646fi 13647 13648# Have a temporary directory for convenience. Make it in the build tree 13649# simply because there is no reason against having it here, and in addition, 13650# creating and moving files from /tmp can sometimes cause problems. 13651# Hook for its removal unless debugging. 13652# Note that there is a small window in which the directory will not be cleaned: 13653# after its creation but before its name has been assigned to `$tmp'. 13654$debug || 13655{ 13656 tmp= ac_tmp= 13657 trap 'exit_status=$? 13658 : "${ac_tmp:=$tmp}" 13659 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13660' 0 13661 trap 'as_fn_exit 1' 1 2 13 15 13662} 13663# Create a (secure) tmp directory for tmp files. 13664 13665{ 13666 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13667 test -d "$tmp" 13668} || 13669{ 13670 tmp=./conf$$-$RANDOM 13671 (umask 077 && mkdir "$tmp") 13672} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13673ac_tmp=$tmp 13674 13675# Set up the scripts for CONFIG_FILES section. 13676# No need to generate them if there are no CONFIG_FILES. 13677# This happens for instance with `./config.status config.h'. 13678if test -n "$CONFIG_FILES"; then 13679 13680if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then 13681 ac_cs_awk_getline=: 13682 ac_cs_awk_pipe_init= 13683 ac_cs_awk_read_file=' 13684 while ((getline aline < (F[key])) > 0) 13685 print(aline) 13686 close(F[key])' 13687 ac_cs_awk_pipe_fini= 13688else 13689 ac_cs_awk_getline=false 13690 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\"" 13691 ac_cs_awk_read_file=' 13692 print "|#_!!_#|" 13693 print "cat " F[key] " &&" 13694 '$ac_cs_awk_pipe_init 13695 # The final `:' finishes the AND list. 13696 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }' 13697fi 13698ac_cr=`echo X | tr X '\015'` 13699# On cygwin, bash can eat \r inside `` if the user requested igncr. 13700# But we know of no other shell where ac_cr would be empty at this 13701# point, so we can use a bashism as a fallback. 13702if test "x$ac_cr" = x; then 13703 eval ac_cr=\$\'\\r\' 13704fi 13705ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13706if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13707 ac_cs_awk_cr='\\r' 13708else 13709 ac_cs_awk_cr=$ac_cr 13710fi 13711 13712echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13713_ACEOF 13714 13715# Create commands to substitute file output variables. 13716{ 13717 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && 13718 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' && 13719 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && 13720 echo "_ACAWK" && 13721 echo "_ACEOF" 13722} >conf$$files.sh && 13723. ./conf$$files.sh || 13724 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13725rm -f conf$$files.sh 13726 13727{ 13728 echo "cat >conf$$subs.awk <<_ACEOF" && 13729 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13730 echo "_ACEOF" 13731} >conf$$subs.sh || 13732 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13733ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13734ac_delim='%!_!# ' 13735for ac_last_try in false false false false false :; do 13736 . ./conf$$subs.sh || 13737 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13738 13739 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13740 if test $ac_delim_n = $ac_delim_num; then 13741 break 13742 elif $ac_last_try; then 13743 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13744 else 13745 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13746 fi 13747done 13748rm -f conf$$subs.sh 13749 13750cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13751cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13752_ACEOF 13753sed -n ' 13754h 13755s/^/S["/; s/!.*/"]=/ 13756p 13757g 13758s/^[^!]*!// 13759:repl 13760t repl 13761s/'"$ac_delim"'$// 13762t delim 13763:nl 13764h 13765s/\(.\{148\}\)..*/\1/ 13766t more1 13767s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13768p 13769n 13770b repl 13771:more1 13772s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13773p 13774g 13775s/.\{148\}// 13776t nl 13777:delim 13778h 13779s/\(.\{148\}\)..*/\1/ 13780t more2 13781s/["\\]/\\&/g; s/^/"/; s/$/"/ 13782p 13783b 13784:more2 13785s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13786p 13787g 13788s/.\{148\}// 13789t delim 13790' <conf$$subs.awk | sed ' 13791/^[^""]/{ 13792 N 13793 s/\n// 13794} 13795' >>$CONFIG_STATUS || ac_write_fail=1 13796rm -f conf$$subs.awk 13797cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13798_ACAWK 13799cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13800 for (key in S) S_is_set[key] = 1 13801 FS = "" 13802 \$ac_cs_awk_pipe_init 13803} 13804{ 13805 line = $ 0 13806 nfields = split(line, field, "@") 13807 substed = 0 13808 len = length(field[1]) 13809 for (i = 2; i < nfields; i++) { 13810 key = field[i] 13811 keylen = length(key) 13812 if (S_is_set[key]) { 13813 value = S[key] 13814 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13815 len += length(value) + length(field[++i]) 13816 substed = 1 13817 } else 13818 len += 1 + keylen 13819 } 13820 if (nfields == 3 && !substed) { 13821 key = field[2] 13822 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) { 13823 \$ac_cs_awk_read_file 13824 next 13825 } 13826 } 13827 print line 13828} 13829\$ac_cs_awk_pipe_fini 13830_ACAWK 13831_ACEOF 13832cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13833if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13834 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13835else 13836 cat 13837fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13838 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13839_ACEOF 13840 13841# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13842# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13843# trailing colons and then remove the whole line if VPATH becomes empty 13844# (actually we leave an empty line to preserve line numbers). 13845if test "x$srcdir" = x.; then 13846 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13847h 13848s/// 13849s/^/:/ 13850s/[ ]*$/:/ 13851s/:\$(srcdir):/:/g 13852s/:\${srcdir}:/:/g 13853s/:@srcdir@:/:/g 13854s/^:*// 13855s/:*$// 13856x 13857s/\(=[ ]*\).*/\1/ 13858G 13859s/\n// 13860s/^[^=]*=[ ]*$// 13861}' 13862fi 13863 13864cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13865fi # test -n "$CONFIG_FILES" 13866 13867# Set up the scripts for CONFIG_HEADERS section. 13868# No need to generate them if there are no CONFIG_HEADERS. 13869# This happens for instance with `./config.status Makefile'. 13870if test -n "$CONFIG_HEADERS"; then 13871cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13872BEGIN { 13873_ACEOF 13874 13875# Transform confdefs.h into an awk script `defines.awk', embedded as 13876# here-document in config.status, that substitutes the proper values into 13877# config.h.in to produce config.h. 13878 13879# Create a delimiter string that does not exist in confdefs.h, to ease 13880# handling of long lines. 13881ac_delim='%!_!# ' 13882for ac_last_try in false false :; do 13883 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 13884 if test -z "$ac_tt"; then 13885 break 13886 elif $ac_last_try; then 13887 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13888 else 13889 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13890 fi 13891done 13892 13893# For the awk script, D is an array of macro values keyed by name, 13894# likewise P contains macro parameters if any. Preserve backslash 13895# newline sequences. 13896 13897ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13898sed -n ' 13899s/.\{148\}/&'"$ac_delim"'/g 13900t rset 13901:rset 13902s/^[ ]*#[ ]*define[ ][ ]*/ / 13903t def 13904d 13905:def 13906s/\\$// 13907t bsnl 13908s/["\\]/\\&/g 13909s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13910D["\1"]=" \3"/p 13911s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13912d 13913:bsnl 13914s/["\\]/\\&/g 13915s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13916D["\1"]=" \3\\\\\\n"\\/p 13917t cont 13918s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13919t cont 13920d 13921:cont 13922n 13923s/.\{148\}/&'"$ac_delim"'/g 13924t clear 13925:clear 13926s/\\$// 13927t bsnlc 13928s/["\\]/\\&/g; s/^/"/; s/$/"/p 13929d 13930:bsnlc 13931s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13932b cont 13933' <confdefs.h | sed ' 13934s/'"$ac_delim"'/"\\\ 13935"/g' >>$CONFIG_STATUS || ac_write_fail=1 13936 13937cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13938 for (key in D) D_is_set[key] = 1 13939 FS = "" 13940} 13941/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13942 line = \$ 0 13943 split(line, arg, " ") 13944 if (arg[1] == "#") { 13945 defundef = arg[2] 13946 mac1 = arg[3] 13947 } else { 13948 defundef = substr(arg[1], 2) 13949 mac1 = arg[2] 13950 } 13951 split(mac1, mac2, "(") #) 13952 macro = mac2[1] 13953 prefix = substr(line, 1, index(line, defundef) - 1) 13954 if (D_is_set[macro]) { 13955 # Preserve the white space surrounding the "#". 13956 print prefix "define", macro P[macro] D[macro] 13957 next 13958 } else { 13959 # Replace #undef with comments. This is necessary, for example, 13960 # in the case of _POSIX_SOURCE, which is predefined and required 13961 # on some systems where configure will not decide to define it. 13962 if (defundef == "undef") { 13963 print "/*", prefix defundef, macro, "*/" 13964 next 13965 } 13966 } 13967} 13968{ print } 13969_ACAWK 13970_ACEOF 13971cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13972 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13973fi # test -n "$CONFIG_HEADERS" 13974 13975 13976eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13977shift 13978for ac_tag 13979do 13980 case $ac_tag in 13981 :[FHLC]) ac_mode=$ac_tag; continue;; 13982 esac 13983 case $ac_mode$ac_tag in 13984 :[FHL]*:*);; 13985 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13986 :[FH]-) ac_tag=-:-;; 13987 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13988 esac 13989 ac_save_IFS=$IFS 13990 IFS=: 13991 set x $ac_tag 13992 IFS=$ac_save_IFS 13993 shift 13994 ac_file=$1 13995 shift 13996 13997 case $ac_mode in 13998 :L) ac_source=$1;; 13999 :[FH]) 14000 ac_file_inputs= 14001 for ac_f 14002 do 14003 case $ac_f in 14004 -) ac_f="$ac_tmp/stdin";; 14005 *) # Look for the file first in the build tree, then in the source tree 14006 # (if the path is not absolute). The absolute path cannot be DOS-style, 14007 # because $ac_f cannot contain `:'. 14008 test -f "$ac_f" || 14009 case $ac_f in 14010 [\\/$]*) false;; 14011 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14012 esac || 14013 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14014 esac 14015 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14016 as_fn_append ac_file_inputs " '$ac_f'" 14017 done 14018 14019 # Let's still pretend it is `configure' which instantiates (i.e., don't 14020 # use $as_me), people would be surprised to read: 14021 # /* config.h. Generated by config.status. */ 14022 configure_input='Generated from '` 14023 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14024 `' by configure.' 14025 if test x"$ac_file" != x-; then 14026 configure_input="$ac_file. $configure_input" 14027 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14028$as_echo "$as_me: creating $ac_file" >&6;} 14029 fi 14030 # Neutralize special characters interpreted by sed in replacement strings. 14031 case $configure_input in #( 14032 *\&* | *\|* | *\\* ) 14033 ac_sed_conf_input=`$as_echo "$configure_input" | 14034 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14035 *) ac_sed_conf_input=$configure_input;; 14036 esac 14037 14038 case $ac_tag in 14039 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14040 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14041 esac 14042 ;; 14043 esac 14044 14045 ac_dir=`$as_dirname -- "$ac_file" || 14046$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14047 X"$ac_file" : 'X\(//\)[^/]' \| \ 14048 X"$ac_file" : 'X\(//\)$' \| \ 14049 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14050$as_echo X"$ac_file" | 14051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14052 s//\1/ 14053 q 14054 } 14055 /^X\(\/\/\)[^/].*/{ 14056 s//\1/ 14057 q 14058 } 14059 /^X\(\/\/\)$/{ 14060 s//\1/ 14061 q 14062 } 14063 /^X\(\/\).*/{ 14064 s//\1/ 14065 q 14066 } 14067 s/.*/./; q'` 14068 as_dir="$ac_dir"; as_fn_mkdir_p 14069 ac_builddir=. 14070 14071case "$ac_dir" in 14072.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14073*) 14074 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14075 # A ".." for each directory in $ac_dir_suffix. 14076 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14077 case $ac_top_builddir_sub in 14078 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14079 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14080 esac ;; 14081esac 14082ac_abs_top_builddir=$ac_pwd 14083ac_abs_builddir=$ac_pwd$ac_dir_suffix 14084# for backward compatibility: 14085ac_top_builddir=$ac_top_build_prefix 14086 14087case $srcdir in 14088 .) # We are building in place. 14089 ac_srcdir=. 14090 ac_top_srcdir=$ac_top_builddir_sub 14091 ac_abs_top_srcdir=$ac_pwd ;; 14092 [\\/]* | ?:[\\/]* ) # Absolute name. 14093 ac_srcdir=$srcdir$ac_dir_suffix; 14094 ac_top_srcdir=$srcdir 14095 ac_abs_top_srcdir=$srcdir ;; 14096 *) # Relative name. 14097 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14098 ac_top_srcdir=$ac_top_build_prefix$srcdir 14099 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14100esac 14101ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14102 14103 14104 case $ac_mode in 14105 :F) 14106 # 14107 # CONFIG_FILE 14108 # 14109 14110 case $INSTALL in 14111 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14112 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14113 esac 14114 ac_MKDIR_P=$MKDIR_P 14115 case $MKDIR_P in 14116 [\\/$]* | ?:[\\/]* ) ;; 14117 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14118 esac 14119_ACEOF 14120 14121cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14122# If the template does not know about datarootdir, expand it. 14123# FIXME: This hack should be removed a few years after 2.60. 14124ac_datarootdir_hack=; ac_datarootdir_seen= 14125ac_sed_dataroot=' 14126/datarootdir/ { 14127 p 14128 q 14129} 14130/@datadir@/p 14131/@docdir@/p 14132/@infodir@/p 14133/@localedir@/p 14134/@mandir@/p' 14135case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14136*datarootdir*) ac_datarootdir_seen=yes;; 14137*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14139$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14140_ACEOF 14141cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14142 ac_datarootdir_hack=' 14143 s&@datadir@&$datadir&g 14144 s&@docdir@&$docdir&g 14145 s&@infodir@&$infodir&g 14146 s&@localedir@&$localedir&g 14147 s&@mandir@&$mandir&g 14148 s&\\\${datarootdir}&$datarootdir&g' ;; 14149esac 14150_ACEOF 14151 14152# Neutralize VPATH when `$srcdir' = `.'. 14153# Shell code in configure.ac might set extrasub. 14154# FIXME: do we really want to maintain this feature? 14155cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14156ac_sed_extra="$ac_vpsub 14157$extrasub 14158_ACEOF 14159cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14160:t 14161/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14162s|@configure_input@|$ac_sed_conf_input|;t t 14163s&@top_builddir@&$ac_top_builddir_sub&;t t 14164s&@top_build_prefix@&$ac_top_build_prefix&;t t 14165s&@srcdir@&$ac_srcdir&;t t 14166s&@abs_srcdir@&$ac_abs_srcdir&;t t 14167s&@top_srcdir@&$ac_top_srcdir&;t t 14168s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14169s&@builddir@&$ac_builddir&;t t 14170s&@abs_builddir@&$ac_abs_builddir&;t t 14171s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14172s&@INSTALL@&$ac_INSTALL&;t t 14173s&@MKDIR_P@&$ac_MKDIR_P&;t t 14174$ac_datarootdir_hack 14175" 14176eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | 14177if $ac_cs_awk_getline; then 14178 $AWK -f "$ac_tmp/subs.awk" 14179else 14180 $AWK -f "$ac_tmp/subs.awk" | $SHELL 14181fi \ 14182 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14183 14184test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14185 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14186 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14187 "$ac_tmp/out"`; test -z "$ac_out"; } && 14188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14189which seems to be undefined. Please make sure it is defined" >&5 14190$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14191which seems to be undefined. Please make sure it is defined" >&2;} 14192 14193 rm -f "$ac_tmp/stdin" 14194 case $ac_file in 14195 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14196 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14197 esac \ 14198 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14199 ;; 14200 :H) 14201 # 14202 # CONFIG_HEADER 14203 # 14204 if test x"$ac_file" != x-; then 14205 { 14206 $as_echo "/* $configure_input */" \ 14207 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14208 } >"$ac_tmp/config.h" \ 14209 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14210 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14211 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14212$as_echo "$as_me: $ac_file is unchanged" >&6;} 14213 else 14214 rm -f "$ac_file" 14215 mv "$ac_tmp/config.h" "$ac_file" \ 14216 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14217 fi 14218 else 14219 $as_echo "/* $configure_input */" \ 14220 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14221 || as_fn_error $? "could not create -" "$LINENO" 5 14222 fi 14223# Compute "$ac_file"'s index in $config_headers. 14224_am_arg="$ac_file" 14225_am_stamp_count=1 14226for _am_header in $config_headers :; do 14227 case $_am_header in 14228 $_am_arg | $_am_arg:* ) 14229 break ;; 14230 * ) 14231 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14232 esac 14233done 14234echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14235$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14236 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14237 X"$_am_arg" : 'X\(//\)$' \| \ 14238 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14239$as_echo X"$_am_arg" | 14240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14241 s//\1/ 14242 q 14243 } 14244 /^X\(\/\/\)[^/].*/{ 14245 s//\1/ 14246 q 14247 } 14248 /^X\(\/\/\)$/{ 14249 s//\1/ 14250 q 14251 } 14252 /^X\(\/\).*/{ 14253 s//\1/ 14254 q 14255 } 14256 s/.*/./; q'`/stamp-h$_am_stamp_count 14257 ;; 14258 14259 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14260$as_echo "$as_me: executing $ac_file commands" >&6;} 14261 ;; 14262 esac 14263 14264 14265 case $ac_file$ac_mode in 14266 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14267 # Older Autoconf quotes --file arguments for eval, but not when files 14268 # are listed without --file. Let's play safe and only enable the eval 14269 # if we detect the quoting. 14270 # TODO: see whether this extra hack can be removed once we start 14271 # requiring Autoconf 2.70 or later. 14272 case $CONFIG_FILES in #( 14273 *\'*) : 14274 eval set x "$CONFIG_FILES" ;; #( 14275 *) : 14276 set x $CONFIG_FILES ;; #( 14277 *) : 14278 ;; 14279esac 14280 shift 14281 # Used to flag and report bootstrapping failures. 14282 am_rc=0 14283 for am_mf 14284 do 14285 # Strip MF so we end up with the name of the file. 14286 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 14287 # Check whether this is an Automake generated Makefile which includes 14288 # dependency-tracking related rules and includes. 14289 # Grep'ing the whole file directly is not great: AIX grep has a line 14290 # limit of 2048, but all sed's we know have understand at least 4000. 14291 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 14292 || continue 14293 am_dirpart=`$as_dirname -- "$am_mf" || 14294$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14295 X"$am_mf" : 'X\(//\)[^/]' \| \ 14296 X"$am_mf" : 'X\(//\)$' \| \ 14297 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 14298$as_echo X"$am_mf" | 14299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14300 s//\1/ 14301 q 14302 } 14303 /^X\(\/\/\)[^/].*/{ 14304 s//\1/ 14305 q 14306 } 14307 /^X\(\/\/\)$/{ 14308 s//\1/ 14309 q 14310 } 14311 /^X\(\/\).*/{ 14312 s//\1/ 14313 q 14314 } 14315 s/.*/./; q'` 14316 am_filepart=`$as_basename -- "$am_mf" || 14317$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 14318 X"$am_mf" : 'X\(//\)$' \| \ 14319 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 14320$as_echo X/"$am_mf" | 14321 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14322 s//\1/ 14323 q 14324 } 14325 /^X\/\(\/\/\)$/{ 14326 s//\1/ 14327 q 14328 } 14329 /^X\/\(\/\).*/{ 14330 s//\1/ 14331 q 14332 } 14333 s/.*/./; q'` 14334 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 14335 && sed -e '/# am--include-marker/d' "$am_filepart" \ 14336 | $MAKE -f - am--depfiles" >&5 14337 (cd "$am_dirpart" \ 14338 && sed -e '/# am--include-marker/d' "$am_filepart" \ 14339 | $MAKE -f - am--depfiles) >&5 2>&5 14340 ac_status=$? 14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14342 (exit $ac_status); } || am_rc=$? 14343 done 14344 if test $am_rc -ne 0; then 14345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14347as_fn_error $? "Something went wrong bootstrapping makefile fragments 14348 for automatic dependency tracking. Try re-running configure with the 14349 '--disable-dependency-tracking' option to at least be able to build 14350 the package (albeit without support for automatic dependency tracking). 14351See \`config.log' for more details" "$LINENO" 5; } 14352 fi 14353 { am_dirpart=; unset am_dirpart;} 14354 { am_filepart=; unset am_filepart;} 14355 { am_mf=; unset am_mf;} 14356 { am_rc=; unset am_rc;} 14357 rm -f conftest-deps.mk 14358} 14359 ;; 14360 "libtool":C) 14361 14362 # See if we are running on zsh, and set the options that allow our 14363 # commands through without removal of \ escapes. 14364 if test -n "${ZSH_VERSION+set}"; then 14365 setopt NO_GLOB_SUBST 14366 fi 14367 14368 cfgfile=${ofile}T 14369 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14370 $RM "$cfgfile" 14371 14372 cat <<_LT_EOF >> "$cfgfile" 14373#! $SHELL 14374# Generated automatically by $as_me ($PACKAGE) $VERSION 14375# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14376# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14377 14378# Provide generalized library-building support services. 14379# Written by Gordon Matzigkeit, 1996 14380 14381# Copyright (C) 2014 Free Software Foundation, Inc. 14382# This is free software; see the source for copying conditions. There is NO 14383# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14384 14385# GNU Libtool is free software; you can redistribute it and/or modify 14386# it under the terms of the GNU General Public License as published by 14387# the Free Software Foundation; either version 2 of of the License, or 14388# (at your option) any later version. 14389# 14390# As a special exception to the GNU General Public License, if you 14391# distribute this file as part of a program or library that is built 14392# using GNU Libtool, you may include this file under the same 14393# distribution terms that you use for the rest of that program. 14394# 14395# GNU Libtool is distributed in the hope that it will be useful, but 14396# WITHOUT ANY WARRANTY; without even the implied warranty of 14397# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14398# GNU General Public License for more details. 14399# 14400# You should have received a copy of the GNU General Public License 14401# along with this program. If not, see <http://www.gnu.org/licenses/>. 14402 14403 14404# The names of the tagged configurations supported by this script. 14405available_tags='' 14406 14407# Configured defaults for sys_lib_dlsearch_path munging. 14408: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 14409 14410# ### BEGIN LIBTOOL CONFIG 14411 14412# Which release of libtool.m4 was used? 14413macro_version=$macro_version 14414macro_revision=$macro_revision 14415 14416# Whether or not to build shared libraries. 14417build_libtool_libs=$enable_shared 14418 14419# Whether or not to build static libraries. 14420build_old_libs=$enable_static 14421 14422# What type of objects to build. 14423pic_mode=$pic_mode 14424 14425# Whether or not to optimize for fast installation. 14426fast_install=$enable_fast_install 14427 14428# Shared archive member basename,for filename based shared library versioning on AIX. 14429shared_archive_member_spec=$shared_archive_member_spec 14430 14431# Shell to use when invoking shell scripts. 14432SHELL=$lt_SHELL 14433 14434# An echo program that protects backslashes. 14435ECHO=$lt_ECHO 14436 14437# The PATH separator for the build system. 14438PATH_SEPARATOR=$lt_PATH_SEPARATOR 14439 14440# The host system. 14441host_alias=$host_alias 14442host=$host 14443host_os=$host_os 14444 14445# The build system. 14446build_alias=$build_alias 14447build=$build 14448build_os=$build_os 14449 14450# A sed program that does not truncate output. 14451SED=$lt_SED 14452 14453# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14454Xsed="\$SED -e 1s/^X//" 14455 14456# A grep program that handles long lines. 14457GREP=$lt_GREP 14458 14459# An ERE matcher. 14460EGREP=$lt_EGREP 14461 14462# A literal string matcher. 14463FGREP=$lt_FGREP 14464 14465# A BSD- or MS-compatible name lister. 14466NM=$lt_NM 14467 14468# Whether we need soft or hard links. 14469LN_S=$lt_LN_S 14470 14471# What is the maximum length of a command? 14472max_cmd_len=$max_cmd_len 14473 14474# Object file suffix (normally "o"). 14475objext=$ac_objext 14476 14477# Executable file suffix (normally ""). 14478exeext=$exeext 14479 14480# whether the shell understands "unset". 14481lt_unset=$lt_unset 14482 14483# turn spaces into newlines. 14484SP2NL=$lt_lt_SP2NL 14485 14486# turn newlines into spaces. 14487NL2SP=$lt_lt_NL2SP 14488 14489# convert \$build file names to \$host format. 14490to_host_file_cmd=$lt_cv_to_host_file_cmd 14491 14492# convert \$build files to toolchain format. 14493to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14494 14495# An object symbol dumper. 14496OBJDUMP=$lt_OBJDUMP 14497 14498# Method to check whether dependent libraries are shared objects. 14499deplibs_check_method=$lt_deplibs_check_method 14500 14501# Command to use when deplibs_check_method = "file_magic". 14502file_magic_cmd=$lt_file_magic_cmd 14503 14504# How to find potential files when deplibs_check_method = "file_magic". 14505file_magic_glob=$lt_file_magic_glob 14506 14507# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14508want_nocaseglob=$lt_want_nocaseglob 14509 14510# DLL creation program. 14511DLLTOOL=$lt_DLLTOOL 14512 14513# Command to associate shared and link libraries. 14514sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14515 14516# The archiver. 14517AR=$lt_AR 14518 14519# Flags to create an archive. 14520AR_FLAGS=$lt_AR_FLAGS 14521 14522# How to feed a file listing to the archiver. 14523archiver_list_spec=$lt_archiver_list_spec 14524 14525# A symbol stripping program. 14526STRIP=$lt_STRIP 14527 14528# Commands used to install an old-style archive. 14529RANLIB=$lt_RANLIB 14530old_postinstall_cmds=$lt_old_postinstall_cmds 14531old_postuninstall_cmds=$lt_old_postuninstall_cmds 14532 14533# Whether to use a lock for old archive extraction. 14534lock_old_archive_extraction=$lock_old_archive_extraction 14535 14536# A C compiler. 14537LTCC=$lt_CC 14538 14539# LTCC compiler flags. 14540LTCFLAGS=$lt_CFLAGS 14541 14542# Take the output of nm and produce a listing of raw symbols and C names. 14543global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14544 14545# Transform the output of nm in a proper C declaration. 14546global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14547 14548# Transform the output of nm into a list of symbols to manually relocate. 14549global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 14550 14551# Transform the output of nm in a C name address pair. 14552global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14553 14554# Transform the output of nm in a C name address pair when lib prefix is needed. 14555global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14556 14557# The name lister interface. 14558nm_interface=$lt_lt_cv_nm_interface 14559 14560# Specify filename containing input files for \$NM. 14561nm_file_list_spec=$lt_nm_file_list_spec 14562 14563# The root where to search for dependent libraries,and where our libraries should be installed. 14564lt_sysroot=$lt_sysroot 14565 14566# Command to truncate a binary pipe. 14567lt_truncate_bin=$lt_lt_cv_truncate_bin 14568 14569# The name of the directory that contains temporary libtool files. 14570objdir=$objdir 14571 14572# Used to examine libraries when file_magic_cmd begins with "file". 14573MAGIC_CMD=$MAGIC_CMD 14574 14575# Must we lock files when doing compilation? 14576need_locks=$lt_need_locks 14577 14578# Manifest tool. 14579MANIFEST_TOOL=$lt_MANIFEST_TOOL 14580 14581# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14582DSYMUTIL=$lt_DSYMUTIL 14583 14584# Tool to change global to local symbols on Mac OS X. 14585NMEDIT=$lt_NMEDIT 14586 14587# Tool to manipulate fat objects and archives on Mac OS X. 14588LIPO=$lt_LIPO 14589 14590# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14591OTOOL=$lt_OTOOL 14592 14593# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14594OTOOL64=$lt_OTOOL64 14595 14596# Old archive suffix (normally "a"). 14597libext=$libext 14598 14599# Shared library suffix (normally ".so"). 14600shrext_cmds=$lt_shrext_cmds 14601 14602# The commands to extract the exported symbol list from a shared archive. 14603extract_expsyms_cmds=$lt_extract_expsyms_cmds 14604 14605# Variables whose values should be saved in libtool wrapper scripts and 14606# restored at link time. 14607variables_saved_for_relink=$lt_variables_saved_for_relink 14608 14609# Do we need the "lib" prefix for modules? 14610need_lib_prefix=$need_lib_prefix 14611 14612# Do we need a version for libraries? 14613need_version=$need_version 14614 14615# Library versioning type. 14616version_type=$version_type 14617 14618# Shared library runtime path variable. 14619runpath_var=$runpath_var 14620 14621# Shared library path variable. 14622shlibpath_var=$shlibpath_var 14623 14624# Is shlibpath searched before the hard-coded library search path? 14625shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14626 14627# Format of library name prefix. 14628libname_spec=$lt_libname_spec 14629 14630# List of archive names. First name is the real one, the rest are links. 14631# The last name is the one that the linker finds with -lNAME 14632library_names_spec=$lt_library_names_spec 14633 14634# The coded name of the library, if different from the real name. 14635soname_spec=$lt_soname_spec 14636 14637# Permission mode override for installation of shared libraries. 14638install_override_mode=$lt_install_override_mode 14639 14640# Command to use after installation of a shared archive. 14641postinstall_cmds=$lt_postinstall_cmds 14642 14643# Command to use after uninstallation of a shared archive. 14644postuninstall_cmds=$lt_postuninstall_cmds 14645 14646# Commands used to finish a libtool library installation in a directory. 14647finish_cmds=$lt_finish_cmds 14648 14649# As "finish_cmds", except a single script fragment to be evaled but 14650# not shown. 14651finish_eval=$lt_finish_eval 14652 14653# Whether we should hardcode library paths into libraries. 14654hardcode_into_libs=$hardcode_into_libs 14655 14656# Compile-time system search path for libraries. 14657sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14658 14659# Detected run-time system search path for libraries. 14660sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 14661 14662# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 14663configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 14664 14665# Whether dlopen is supported. 14666dlopen_support=$enable_dlopen 14667 14668# Whether dlopen of programs is supported. 14669dlopen_self=$enable_dlopen_self 14670 14671# Whether dlopen of statically linked programs is supported. 14672dlopen_self_static=$enable_dlopen_self_static 14673 14674# Commands to strip libraries. 14675old_striplib=$lt_old_striplib 14676striplib=$lt_striplib 14677 14678 14679# The linker used to build libraries. 14680LD=$lt_LD 14681 14682# How to create reloadable object files. 14683reload_flag=$lt_reload_flag 14684reload_cmds=$lt_reload_cmds 14685 14686# Commands used to build an old-style archive. 14687old_archive_cmds=$lt_old_archive_cmds 14688 14689# A language specific compiler. 14690CC=$lt_compiler 14691 14692# Is the compiler the GNU compiler? 14693with_gcc=$GCC 14694 14695# Compiler flag to turn off builtin functions. 14696no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14697 14698# Additional compiler flags for building library objects. 14699pic_flag=$lt_lt_prog_compiler_pic 14700 14701# How to pass a linker flag through the compiler. 14702wl=$lt_lt_prog_compiler_wl 14703 14704# Compiler flag to prevent dynamic linking. 14705link_static_flag=$lt_lt_prog_compiler_static 14706 14707# Does compiler simultaneously support -c and -o options? 14708compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14709 14710# Whether or not to add -lc for building shared libraries. 14711build_libtool_need_lc=$archive_cmds_need_lc 14712 14713# Whether or not to disallow shared libs when runtime libs are static. 14714allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14715 14716# Compiler flag to allow reflexive dlopens. 14717export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14718 14719# Compiler flag to generate shared objects directly from archives. 14720whole_archive_flag_spec=$lt_whole_archive_flag_spec 14721 14722# Whether the compiler copes with passing no objects directly. 14723compiler_needs_object=$lt_compiler_needs_object 14724 14725# Create an old-style archive from a shared archive. 14726old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14727 14728# Create a temporary old-style archive to link instead of a shared archive. 14729old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14730 14731# Commands used to build a shared archive. 14732archive_cmds=$lt_archive_cmds 14733archive_expsym_cmds=$lt_archive_expsym_cmds 14734 14735# Commands used to build a loadable module if different from building 14736# a shared archive. 14737module_cmds=$lt_module_cmds 14738module_expsym_cmds=$lt_module_expsym_cmds 14739 14740# Whether we are building with GNU ld or not. 14741with_gnu_ld=$lt_with_gnu_ld 14742 14743# Flag that allows shared libraries with undefined symbols to be built. 14744allow_undefined_flag=$lt_allow_undefined_flag 14745 14746# Flag that enforces no undefined symbols. 14747no_undefined_flag=$lt_no_undefined_flag 14748 14749# Flag to hardcode \$libdir into a binary during linking. 14750# This must work even if \$libdir does not exist 14751hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14752 14753# Whether we need a single "-rpath" flag with a separated argument. 14754hardcode_libdir_separator=$lt_hardcode_libdir_separator 14755 14756# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14757# DIR into the resulting binary. 14758hardcode_direct=$hardcode_direct 14759 14760# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14761# DIR into the resulting binary and the resulting library dependency is 14762# "absolute",i.e impossible to change by setting \$shlibpath_var if the 14763# library is relocated. 14764hardcode_direct_absolute=$hardcode_direct_absolute 14765 14766# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14767# into the resulting binary. 14768hardcode_minus_L=$hardcode_minus_L 14769 14770# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14771# into the resulting binary. 14772hardcode_shlibpath_var=$hardcode_shlibpath_var 14773 14774# Set to "yes" if building a shared library automatically hardcodes DIR 14775# into the library and all subsequent libraries and executables linked 14776# against it. 14777hardcode_automatic=$hardcode_automatic 14778 14779# Set to yes if linker adds runtime paths of dependent libraries 14780# to runtime path list. 14781inherit_rpath=$inherit_rpath 14782 14783# Whether libtool must link a program against all its dependency libraries. 14784link_all_deplibs=$link_all_deplibs 14785 14786# Set to "yes" if exported symbols are required. 14787always_export_symbols=$always_export_symbols 14788 14789# The commands to list exported symbols. 14790export_symbols_cmds=$lt_export_symbols_cmds 14791 14792# Symbols that should not be listed in the preloaded symbols. 14793exclude_expsyms=$lt_exclude_expsyms 14794 14795# Symbols that must always be exported. 14796include_expsyms=$lt_include_expsyms 14797 14798# Commands necessary for linking programs (against libraries) with templates. 14799prelink_cmds=$lt_prelink_cmds 14800 14801# Commands necessary for finishing linking programs. 14802postlink_cmds=$lt_postlink_cmds 14803 14804# Specify filename containing input files. 14805file_list_spec=$lt_file_list_spec 14806 14807# How to hardcode a shared library path into an executable. 14808hardcode_action=$hardcode_action 14809 14810# ### END LIBTOOL CONFIG 14811 14812_LT_EOF 14813 14814 cat <<'_LT_EOF' >> "$cfgfile" 14815 14816# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 14817 14818# func_munge_path_list VARIABLE PATH 14819# ----------------------------------- 14820# VARIABLE is name of variable containing _space_ separated list of 14821# directories to be munged by the contents of PATH, which is string 14822# having a format: 14823# "DIR[:DIR]:" 14824# string "DIR[ DIR]" will be prepended to VARIABLE 14825# ":DIR[:DIR]" 14826# string "DIR[ DIR]" will be appended to VARIABLE 14827# "DIRP[:DIRP]::[DIRA:]DIRA" 14828# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 14829# "DIRA[ DIRA]" will be appended to VARIABLE 14830# "DIR[:DIR]" 14831# VARIABLE will be replaced by "DIR[ DIR]" 14832func_munge_path_list () 14833{ 14834 case x$2 in 14835 x) 14836 ;; 14837 *:) 14838 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 14839 ;; 14840 x:*) 14841 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 14842 ;; 14843 *::*) 14844 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 14845 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 14846 ;; 14847 *) 14848 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 14849 ;; 14850 esac 14851} 14852 14853 14854# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 14855func_cc_basename () 14856{ 14857 for cc_temp in $*""; do 14858 case $cc_temp in 14859 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14860 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14861 \-*) ;; 14862 *) break;; 14863 esac 14864 done 14865 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 14866} 14867 14868 14869# ### END FUNCTIONS SHARED WITH CONFIGURE 14870 14871_LT_EOF 14872 14873 case $host_os in 14874 aix3*) 14875 cat <<\_LT_EOF >> "$cfgfile" 14876# AIX sometimes has problems with the GCC collect2 program. For some 14877# reason, if we set the COLLECT_NAMES environment variable, the problems 14878# vanish in a puff of smoke. 14879if test set != "${COLLECT_NAMES+set}"; then 14880 COLLECT_NAMES= 14881 export COLLECT_NAMES 14882fi 14883_LT_EOF 14884 ;; 14885 esac 14886 14887 14888ltmain=$ac_aux_dir/ltmain.sh 14889 14890 14891 # We use sed instead of cat because bash on DJGPP gets confused if 14892 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14893 # text mode, it properly converts lines to CR/LF. This bash problem 14894 # is reportedly fixed, but why not run on old versions too? 14895 sed '$q' "$ltmain" >> "$cfgfile" \ 14896 || (rm -f "$cfgfile"; exit 1) 14897 14898 mv -f "$cfgfile" "$ofile" || 14899 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14900 chmod +x "$ofile" 14901 14902 ;; 14903 14904 esac 14905done # for ac_tag 14906 14907 14908as_fn_exit 0 14909_ACEOF 14910ac_clean_files=$ac_clean_files_save 14911 14912test $ac_write_fail = 0 || 14913 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14914 14915 14916# configure is writing to config.log, and then calls config.status. 14917# config.status does its own redirection, appending to config.log. 14918# Unfortunately, on DOS this fails, as config.log is still kept open 14919# by configure, so config.status won't be able to write to it; its 14920# output is simply discarded. So we exec the FD to /dev/null, 14921# effectively closing config.log, so it can be properly (re)opened and 14922# appended to by config.status. When coming back to configure, we 14923# need to make the FD available again. 14924if test "$no_create" != yes; then 14925 ac_cs_success=: 14926 ac_config_status_args= 14927 test "$silent" = yes && 14928 ac_config_status_args="$ac_config_status_args --quiet" 14929 exec 5>/dev/null 14930 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14931 exec 5>>config.log 14932 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14933 # would make configure fail if this is the last instruction. 14934 $ac_cs_success || as_fn_exit 1 14935fi 14936if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14938$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14939fi 14940 14941 14942