1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for GNU Serveez 0.2.2. 4# 5# Report bugs to <bug-serveez@gnu.org>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1 202 203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 207 PATH=/empty FPATH=/empty; export PATH FPATH 208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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: bug-serveez@gnu.org 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='GNU Serveez' 592PACKAGE_TARNAME='serveez' 593PACKAGE_VERSION='0.2.2' 594PACKAGE_STRING='GNU Serveez 0.2.2' 595PACKAGE_BUGREPORT='bug-serveez@gnu.org' 596PACKAGE_URL='http://www.gnu.org/software/serveez/' 597 598# Factoring default headers for most tests. 599ac_includes_default="\ 600#include <stdio.h> 601#ifdef HAVE_SYS_TYPES_H 602# include <sys/types.h> 603#endif 604#ifdef HAVE_SYS_STAT_H 605# include <sys/stat.h> 606#endif 607#ifdef STDC_HEADERS 608# include <stdlib.h> 609# include <stddef.h> 610#else 611# ifdef HAVE_STDLIB_H 612# include <stdlib.h> 613# endif 614#endif 615#ifdef HAVE_STRING_H 616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 617# include <memory.h> 618# endif 619# include <string.h> 620#endif 621#ifdef HAVE_STRINGS_H 622# include <strings.h> 623#endif 624#ifdef HAVE_INTTYPES_H 625# include <inttypes.h> 626#endif 627#ifdef HAVE_STDINT_H 628# include <stdint.h> 629#endif 630#ifdef HAVE_UNISTD_H 631# include <unistd.h> 632#endif" 633 634ac_header_list= 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639SERVEEZ_CONFIG_LDFLAGS 640SERVEEZ_CONFIG_CFLAGS 641WITH_ZLIB_FALSE 642WITH_ZLIB_TRUE 643WITH_BZLIB_FALSE 644WITH_BZLIB_TRUE 645SERVEEZ_CFLAGS 646resource_FILES 647GUILE_TOOLS 648GUILE_CONFIG 649GUILE 650OTOOL64 651OTOOL 652LIPO 653NMEDIT 654DSYMUTIL 655MANIFEST_TOOL 656RANLIB 657LN_S 658NM 659ac_ct_DUMPBIN 660DUMPBIN 661LD 662FGREP 663LIBTOOL 664OBJDUMP 665DLLTOOL 666AS 667WINDRES 668SOELIM 669ac_ct_AR 670AR 671SED 672EGREP 673GREP 674CPP 675am__fastdepCC_FALSE 676am__fastdepCC_TRUE 677CCDEPMODE 678am__nodep 679AMDEPBACKSLASH 680AMDEP_FALSE 681AMDEP_TRUE 682am__quote 683am__include 684DEPDIR 685OBJEXT 686EXEEXT 687ac_ct_CC 688CPPFLAGS 689LDFLAGS 690CFLAGS 691CC 692COURAGEOUS_FALSE 693COURAGEOUS_TRUE 694MINGW32_FALSE 695MINGW32_TRUE 696PROG_FALSE 697PROG_TRUE 698FAKEIDENT_FALSE 699FAKEIDENT_TRUE 700HTTP_FALSE 701HTTP_TRUE 702IRC_FALSE 703IRC_TRUE 704CONTROL_FALSE 705CONTROL_TRUE 706TUNNEL_FALSE 707TUNNEL_TRUE 708GNUTELLA_FALSE 709GNUTELLA_TRUE 710SNTP_FALSE 711SNTP_TRUE 712LIBSERVEEZ_INTERFACE 713PROGRAM_VERSION 714MAINT 715MAINTAINER_MODE_FALSE 716MAINTAINER_MODE_TRUE 717AM_BACKSLASH 718AM_DEFAULT_VERBOSITY 719AM_DEFAULT_V 720AM_V 721am__untar 722am__tar 723AMTAR 724am__leading_dot 725SET_MAKE 726AWK 727mkdir_p 728MKDIR_P 729INSTALL_STRIP_PROGRAM 730STRIP 731install_sh 732MAKEINFO 733AUTOHEADER 734AUTOMAKE 735AUTOCONF 736ACLOCAL 737VERSION 738PACKAGE 739CYGPATH_W 740am__isrc 741INSTALL_DATA 742INSTALL_SCRIPT 743INSTALL_PROGRAM 744target_os 745target_vendor 746target_cpu 747target 748host_os 749host_vendor 750host_cpu 751host 752build_os 753build_vendor 754build_cpu 755build 756target_alias 757host_alias 758build_alias 759LIBS 760ECHO_T 761ECHO_N 762ECHO_C 763DEFS 764mandir 765localedir 766libdir 767psdir 768pdfdir 769dvidir 770htmldir 771infodir 772docdir 773oldincludedir 774includedir 775localstatedir 776sharedstatedir 777sysconfdir 778datadir 779datarootdir 780libexecdir 781sbindir 782bindir 783program_transform_name 784prefix 785exec_prefix 786PACKAGE_URL 787PACKAGE_BUGREPORT 788PACKAGE_STRING 789PACKAGE_VERSION 790PACKAGE_TARNAME 791PACKAGE_NAME 792PATH_SEPARATOR 793SHELL' 794ac_subst_files='' 795ac_user_opts=' 796enable_option_checking 797enable_silent_rules 798enable_maintainer_mode 799enable_debug 800enable_heap_count 801enable_iflist 802enable_poll 803enable_sendfile 804enable_sntp_proto 805enable_gnutella 806enable_tunnel 807enable_control_proto 808enable_irc_proto 809enable_irc_ts 810enable_crypt 811enable_http_proto 812enable_fakeident 813enable_passthrough 814enable_flood 815enable_guile_server 816with_mingw 817enable_libserveez_install 818enable_dependency_tracking 819enable_shared 820enable_static 821with_pic 822enable_fast_install 823with_gnu_ld 824with_sysroot 825enable_libtool_lock 826' 827 ac_precious_vars='build_alias 828host_alias 829target_alias 830CC 831CFLAGS 832LDFLAGS 833LIBS 834CPPFLAGS 835CPP' 836 837 838# Initialize some variables set by options. 839ac_init_help= 840ac_init_version=false 841ac_unrecognized_opts= 842ac_unrecognized_sep= 843# The variables have the same names as the options, with 844# dashes changed to underlines. 845cache_file=/dev/null 846exec_prefix=NONE 847no_create= 848no_recursion= 849prefix=NONE 850program_prefix=NONE 851program_suffix=NONE 852program_transform_name=s,x,x, 853silent= 854site= 855srcdir= 856verbose= 857x_includes=NONE 858x_libraries=NONE 859 860# Installation directory options. 861# These are left unexpanded so users can "make install exec_prefix=/foo" 862# and all the variables that are supposed to be based on exec_prefix 863# by default will actually change. 864# Use braces instead of parens because sh, perl, etc. also accept them. 865# (The list follows the same order as the GNU Coding Standards.) 866bindir='${exec_prefix}/bin' 867sbindir='${exec_prefix}/sbin' 868libexecdir='${exec_prefix}/libexec' 869datarootdir='${prefix}/share' 870datadir='${datarootdir}' 871sysconfdir='${prefix}/etc' 872sharedstatedir='${prefix}/com' 873localstatedir='${prefix}/var' 874includedir='${prefix}/include' 875oldincludedir='/usr/include' 876docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 877infodir='${datarootdir}/info' 878htmldir='${docdir}' 879dvidir='${docdir}' 880pdfdir='${docdir}' 881psdir='${docdir}' 882libdir='${exec_prefix}/lib' 883localedir='${datarootdir}/locale' 884mandir='${datarootdir}/man' 885 886ac_prev= 887ac_dashdash= 888for ac_option 889do 890 # If the previous option needs an argument, assign it. 891 if test -n "$ac_prev"; then 892 eval $ac_prev=\$ac_option 893 ac_prev= 894 continue 895 fi 896 897 case $ac_option in 898 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 899 *=) ac_optarg= ;; 900 *) ac_optarg=yes ;; 901 esac 902 903 # Accept the important Cygnus configure options, so we can diagnose typos. 904 905 case $ac_dashdash$ac_option in 906 --) 907 ac_dashdash=yes ;; 908 909 -bindir | --bindir | --bindi | --bind | --bin | --bi) 910 ac_prev=bindir ;; 911 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 912 bindir=$ac_optarg ;; 913 914 -build | --build | --buil | --bui | --bu) 915 ac_prev=build_alias ;; 916 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 917 build_alias=$ac_optarg ;; 918 919 -cache-file | --cache-file | --cache-fil | --cache-fi \ 920 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 921 ac_prev=cache_file ;; 922 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 923 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 924 cache_file=$ac_optarg ;; 925 926 --config-cache | -C) 927 cache_file=config.cache ;; 928 929 -datadir | --datadir | --datadi | --datad) 930 ac_prev=datadir ;; 931 -datadir=* | --datadir=* | --datadi=* | --datad=*) 932 datadir=$ac_optarg ;; 933 934 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 935 | --dataroo | --dataro | --datar) 936 ac_prev=datarootdir ;; 937 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 938 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 939 datarootdir=$ac_optarg ;; 940 941 -disable-* | --disable-*) 942 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 943 # Reject names that are not valid shell variable names. 944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 945 as_fn_error $? "invalid feature name: $ac_useropt" 946 ac_useropt_orig=$ac_useropt 947 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 948 case $ac_user_opts in 949 *" 950"enable_$ac_useropt" 951"*) ;; 952 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 953 ac_unrecognized_sep=', ';; 954 esac 955 eval enable_$ac_useropt=no ;; 956 957 -docdir | --docdir | --docdi | --doc | --do) 958 ac_prev=docdir ;; 959 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 960 docdir=$ac_optarg ;; 961 962 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 963 ac_prev=dvidir ;; 964 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 965 dvidir=$ac_optarg ;; 966 967 -enable-* | --enable-*) 968 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 969 # Reject names that are not valid shell variable names. 970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 971 as_fn_error $? "invalid feature name: $ac_useropt" 972 ac_useropt_orig=$ac_useropt 973 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 974 case $ac_user_opts in 975 *" 976"enable_$ac_useropt" 977"*) ;; 978 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 979 ac_unrecognized_sep=', ';; 980 esac 981 eval enable_$ac_useropt=\$ac_optarg ;; 982 983 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 984 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 985 | --exec | --exe | --ex) 986 ac_prev=exec_prefix ;; 987 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 988 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 989 | --exec=* | --exe=* | --ex=*) 990 exec_prefix=$ac_optarg ;; 991 992 -gas | --gas | --ga | --g) 993 # Obsolete; use --with-gas. 994 with_gas=yes ;; 995 996 -help | --help | --hel | --he | -h) 997 ac_init_help=long ;; 998 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 999 ac_init_help=recursive ;; 1000 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1001 ac_init_help=short ;; 1002 1003 -host | --host | --hos | --ho) 1004 ac_prev=host_alias ;; 1005 -host=* | --host=* | --hos=* | --ho=*) 1006 host_alias=$ac_optarg ;; 1007 1008 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1009 ac_prev=htmldir ;; 1010 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1011 | --ht=*) 1012 htmldir=$ac_optarg ;; 1013 1014 -includedir | --includedir | --includedi | --included | --include \ 1015 | --includ | --inclu | --incl | --inc) 1016 ac_prev=includedir ;; 1017 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1018 | --includ=* | --inclu=* | --incl=* | --inc=*) 1019 includedir=$ac_optarg ;; 1020 1021 -infodir | --infodir | --infodi | --infod | --info | --inf) 1022 ac_prev=infodir ;; 1023 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1024 infodir=$ac_optarg ;; 1025 1026 -libdir | --libdir | --libdi | --libd) 1027 ac_prev=libdir ;; 1028 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1029 libdir=$ac_optarg ;; 1030 1031 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1032 | --libexe | --libex | --libe) 1033 ac_prev=libexecdir ;; 1034 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1035 | --libexe=* | --libex=* | --libe=*) 1036 libexecdir=$ac_optarg ;; 1037 1038 -localedir | --localedir | --localedi | --localed | --locale) 1039 ac_prev=localedir ;; 1040 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1041 localedir=$ac_optarg ;; 1042 1043 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1044 | --localstate | --localstat | --localsta | --localst | --locals) 1045 ac_prev=localstatedir ;; 1046 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1047 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1048 localstatedir=$ac_optarg ;; 1049 1050 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1051 ac_prev=mandir ;; 1052 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1053 mandir=$ac_optarg ;; 1054 1055 -nfp | --nfp | --nf) 1056 # Obsolete; use --without-fp. 1057 with_fp=no ;; 1058 1059 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1060 | --no-cr | --no-c | -n) 1061 no_create=yes ;; 1062 1063 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1064 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1065 no_recursion=yes ;; 1066 1067 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1068 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1069 | --oldin | --oldi | --old | --ol | --o) 1070 ac_prev=oldincludedir ;; 1071 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1072 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1073 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1074 oldincludedir=$ac_optarg ;; 1075 1076 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1077 ac_prev=prefix ;; 1078 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1079 prefix=$ac_optarg ;; 1080 1081 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1082 | --program-pre | --program-pr | --program-p) 1083 ac_prev=program_prefix ;; 1084 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1085 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1086 program_prefix=$ac_optarg ;; 1087 1088 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1089 | --program-suf | --program-su | --program-s) 1090 ac_prev=program_suffix ;; 1091 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1092 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1093 program_suffix=$ac_optarg ;; 1094 1095 -program-transform-name | --program-transform-name \ 1096 | --program-transform-nam | --program-transform-na \ 1097 | --program-transform-n | --program-transform- \ 1098 | --program-transform | --program-transfor \ 1099 | --program-transfo | --program-transf \ 1100 | --program-trans | --program-tran \ 1101 | --progr-tra | --program-tr | --program-t) 1102 ac_prev=program_transform_name ;; 1103 -program-transform-name=* | --program-transform-name=* \ 1104 | --program-transform-nam=* | --program-transform-na=* \ 1105 | --program-transform-n=* | --program-transform-=* \ 1106 | --program-transform=* | --program-transfor=* \ 1107 | --program-transfo=* | --program-transf=* \ 1108 | --program-trans=* | --program-tran=* \ 1109 | --progr-tra=* | --program-tr=* | --program-t=*) 1110 program_transform_name=$ac_optarg ;; 1111 1112 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1113 ac_prev=pdfdir ;; 1114 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1115 pdfdir=$ac_optarg ;; 1116 1117 -psdir | --psdir | --psdi | --psd | --ps) 1118 ac_prev=psdir ;; 1119 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1120 psdir=$ac_optarg ;; 1121 1122 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1123 | -silent | --silent | --silen | --sile | --sil) 1124 silent=yes ;; 1125 1126 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1127 ac_prev=sbindir ;; 1128 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1129 | --sbi=* | --sb=*) 1130 sbindir=$ac_optarg ;; 1131 1132 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1133 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1134 | --sharedst | --shareds | --shared | --share | --shar \ 1135 | --sha | --sh) 1136 ac_prev=sharedstatedir ;; 1137 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1138 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1139 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1140 | --sha=* | --sh=*) 1141 sharedstatedir=$ac_optarg ;; 1142 1143 -site | --site | --sit) 1144 ac_prev=site ;; 1145 -site=* | --site=* | --sit=*) 1146 site=$ac_optarg ;; 1147 1148 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1149 ac_prev=srcdir ;; 1150 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1151 srcdir=$ac_optarg ;; 1152 1153 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1154 | --syscon | --sysco | --sysc | --sys | --sy) 1155 ac_prev=sysconfdir ;; 1156 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1157 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1158 sysconfdir=$ac_optarg ;; 1159 1160 -target | --target | --targe | --targ | --tar | --ta | --t) 1161 ac_prev=target_alias ;; 1162 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1163 target_alias=$ac_optarg ;; 1164 1165 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1166 verbose=yes ;; 1167 1168 -version | --version | --versio | --versi | --vers | -V) 1169 ac_init_version=: ;; 1170 1171 -with-* | --with-*) 1172 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1173 # Reject names that are not valid shell variable names. 1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1175 as_fn_error $? "invalid package name: $ac_useropt" 1176 ac_useropt_orig=$ac_useropt 1177 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1178 case $ac_user_opts in 1179 *" 1180"with_$ac_useropt" 1181"*) ;; 1182 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1183 ac_unrecognized_sep=', ';; 1184 esac 1185 eval with_$ac_useropt=\$ac_optarg ;; 1186 1187 -without-* | --without-*) 1188 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1189 # Reject names that are not valid shell variable names. 1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1191 as_fn_error $? "invalid package name: $ac_useropt" 1192 ac_useropt_orig=$ac_useropt 1193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1194 case $ac_user_opts in 1195 *" 1196"with_$ac_useropt" 1197"*) ;; 1198 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1199 ac_unrecognized_sep=', ';; 1200 esac 1201 eval with_$ac_useropt=no ;; 1202 1203 --x) 1204 # Obsolete; use --with-x. 1205 with_x=yes ;; 1206 1207 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1208 | --x-incl | --x-inc | --x-in | --x-i) 1209 ac_prev=x_includes ;; 1210 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1211 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1212 x_includes=$ac_optarg ;; 1213 1214 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1215 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1216 ac_prev=x_libraries ;; 1217 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1218 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1219 x_libraries=$ac_optarg ;; 1220 1221 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1222Try \`$0 --help' for more information" 1223 ;; 1224 1225 *=*) 1226 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1227 # Reject names that are not valid shell variable names. 1228 case $ac_envvar in #( 1229 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1230 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1231 esac 1232 eval $ac_envvar=\$ac_optarg 1233 export $ac_envvar ;; 1234 1235 *) 1236 # FIXME: should be removed in autoconf 3.0. 1237 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1238 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1239 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1240 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1241 ;; 1242 1243 esac 1244done 1245 1246if test -n "$ac_prev"; then 1247 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1248 as_fn_error $? "missing argument to $ac_option" 1249fi 1250 1251if test -n "$ac_unrecognized_opts"; then 1252 case $enable_option_checking in 1253 no) ;; 1254 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1255 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1256 esac 1257fi 1258 1259# Check all directory arguments for consistency. 1260for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1261 datadir sysconfdir sharedstatedir localstatedir includedir \ 1262 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1263 libdir localedir mandir 1264do 1265 eval ac_val=\$$ac_var 1266 # Remove trailing slashes. 1267 case $ac_val in 1268 */ ) 1269 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1270 eval $ac_var=\$ac_val;; 1271 esac 1272 # Be sure to have absolute directory names. 1273 case $ac_val in 1274 [\\/$]* | ?:[\\/]* ) continue;; 1275 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1276 esac 1277 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1278done 1279 1280# There might be people who depend on the old broken behavior: `$host' 1281# used to hold the argument of --host etc. 1282# FIXME: To remove some day. 1283build=$build_alias 1284host=$host_alias 1285target=$target_alias 1286 1287# FIXME: To remove some day. 1288if test "x$host_alias" != x; then 1289 if test "x$build_alias" = x; then 1290 cross_compiling=maybe 1291 elif test "x$build_alias" != "x$host_alias"; then 1292 cross_compiling=yes 1293 fi 1294fi 1295 1296ac_tool_prefix= 1297test -n "$host_alias" && ac_tool_prefix=$host_alias- 1298 1299test "$silent" = yes && exec 6>/dev/null 1300 1301 1302ac_pwd=`pwd` && test -n "$ac_pwd" && 1303ac_ls_di=`ls -di .` && 1304ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1305 as_fn_error $? "working directory cannot be determined" 1306test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1307 as_fn_error $? "pwd does not report name of working directory" 1308 1309 1310# Find the source files, if location was not specified. 1311if test -z "$srcdir"; then 1312 ac_srcdir_defaulted=yes 1313 # Try the directory containing this script, then the parent directory. 1314 ac_confdir=`$as_dirname -- "$as_myself" || 1315$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1316 X"$as_myself" : 'X\(//\)[^/]' \| \ 1317 X"$as_myself" : 'X\(//\)$' \| \ 1318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1319$as_echo X"$as_myself" | 1320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1321 s//\1/ 1322 q 1323 } 1324 /^X\(\/\/\)[^/].*/{ 1325 s//\1/ 1326 q 1327 } 1328 /^X\(\/\/\)$/{ 1329 s//\1/ 1330 q 1331 } 1332 /^X\(\/\).*/{ 1333 s//\1/ 1334 q 1335 } 1336 s/.*/./; q'` 1337 srcdir=$ac_confdir 1338 if test ! -r "$srcdir/$ac_unique_file"; then 1339 srcdir=.. 1340 fi 1341else 1342 ac_srcdir_defaulted=no 1343fi 1344if test ! -r "$srcdir/$ac_unique_file"; then 1345 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1346 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1347fi 1348ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1349ac_abs_confdir=`( 1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1351 pwd)` 1352# When building in place, set srcdir=. 1353if test "$ac_abs_confdir" = "$ac_pwd"; then 1354 srcdir=. 1355fi 1356# Remove unnecessary trailing slashes from srcdir. 1357# Double slashes in file names in object file debugging info 1358# mess up M-x gdb in Emacs. 1359case $srcdir in 1360*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1361esac 1362for ac_var in $ac_precious_vars; do 1363 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1364 eval ac_env_${ac_var}_value=\$${ac_var} 1365 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1366 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1367done 1368 1369# 1370# Report the --help message. 1371# 1372if test "$ac_init_help" = "long"; then 1373 # Omit some internal or obsolete options to make the list less imposing. 1374 # This message is too long to be a string in the A/UX 3.1 sh. 1375 cat <<_ACEOF 1376\`configure' configures GNU Serveez 0.2.2 to adapt to many kinds of systems. 1377 1378Usage: $0 [OPTION]... [VAR=VALUE]... 1379 1380To assign environment variables (e.g., CC, CFLAGS...), specify them as 1381VAR=VALUE. See below for descriptions of some of the useful variables. 1382 1383Defaults for the options are specified in brackets. 1384 1385Configuration: 1386 -h, --help display this help and exit 1387 --help=short display options specific to this package 1388 --help=recursive display the short help of all the included packages 1389 -V, --version display version information and exit 1390 -q, --quiet, --silent do not print \`checking ...' messages 1391 --cache-file=FILE cache test results in FILE [disabled] 1392 -C, --config-cache alias for \`--cache-file=config.cache' 1393 -n, --no-create do not create output files 1394 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1395 1396Installation directories: 1397 --prefix=PREFIX install architecture-independent files in PREFIX 1398 [$ac_default_prefix] 1399 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1400 [PREFIX] 1401 1402By default, \`make install' will install all the files in 1403\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1404an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1405for instance \`--prefix=\$HOME'. 1406 1407For better control, use the options below. 1408 1409Fine tuning of the installation directories: 1410 --bindir=DIR user executables [EPREFIX/bin] 1411 --sbindir=DIR system admin executables [EPREFIX/sbin] 1412 --libexecdir=DIR program executables [EPREFIX/libexec] 1413 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1414 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1415 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1416 --libdir=DIR object code libraries [EPREFIX/lib] 1417 --includedir=DIR C header files [PREFIX/include] 1418 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1419 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1420 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1421 --infodir=DIR info documentation [DATAROOTDIR/info] 1422 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1423 --mandir=DIR man documentation [DATAROOTDIR/man] 1424 --docdir=DIR documentation root [DATAROOTDIR/doc/serveez] 1425 --htmldir=DIR html documentation [DOCDIR] 1426 --dvidir=DIR dvi documentation [DOCDIR] 1427 --pdfdir=DIR pdf documentation [DOCDIR] 1428 --psdir=DIR ps documentation [DOCDIR] 1429_ACEOF 1430 1431 cat <<\_ACEOF 1432 1433Program names: 1434 --program-prefix=PREFIX prepend PREFIX to installed program names 1435 --program-suffix=SUFFIX append SUFFIX to installed program names 1436 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1437 1438System types: 1439 --build=BUILD configure for building on BUILD [guessed] 1440 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1441 --target=TARGET configure for building compilers for TARGET [HOST] 1442_ACEOF 1443fi 1444 1445if test -n "$ac_init_help"; then 1446 case $ac_init_help in 1447 short | recursive ) echo "Configuration of GNU Serveez 0.2.2:";; 1448 esac 1449 cat <<\_ACEOF 1450 1451Optional Features: 1452 --disable-option-checking ignore unrecognized --enable/--with options 1453 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1454 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1455 --enable-silent-rules less verbose build output (undo: "make V=1") 1456 --disable-silent-rules verbose build output (undo: "make V=0") 1457 --enable-maintainer-mode 1458 enable make rules and dependencies not useful (and 1459 sometimes confusing) to the casual installer 1460 --disable-debug Include debug output [default=yes] 1461 --disable-heap-count Include support for heap counters [default=yes] 1462 --disable-iflist List local interfaces [default=yes] 1463 --disable-poll Include poll(2) server loop [default=yes] 1464 --disable-sendfile Include sendfile(2) support [default=yes] 1465 --disable-sntp-proto Include the SNTP server [default=yes] 1466 --disable-gnutella Include the Gnutella spider [default=yes] 1467 --disable-tunnel Include port forwarder [default=yes] 1468 --disable-control-proto Include the control protocol [default=yes] 1469 --disable-irc-proto Include the IRC protocol [default=yes] 1470 --disable-irc-ts Include TimeStamp in IRC protocol [default=yes] 1471 --enable-crypt Include password encryption [default=no] 1472 --disable-http-proto Include the HTTP protocol [default=yes] 1473 --disable-fakeident Include the fake ident server [default=yes] 1474 --disable-passthrough Include the passthrough server [default=yes] 1475 --disable-flood Include flood protection [default=yes] 1476 --disable-guile-server Include guile servers [default=yes] 1477 --enable-libserveez-install 1478 Install libserveez and headers [default=no] 1479 --enable-dependency-tracking 1480 do not reject slow dependency extractors 1481 --disable-dependency-tracking 1482 speeds up one-time build 1483 --enable-shared[=PKGS] build shared libraries [default=yes] 1484 --enable-static[=PKGS] build static libraries [default=yes] 1485 --enable-fast-install[=PKGS] 1486 optimize for fast installation [default=yes] 1487 --disable-libtool-lock avoid locking (might break parallel builds) 1488 1489Optional Packages: 1490 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1491 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1492 --with-mingw=DIR MinGW32 files are in DIR [default=/usr/local/mingw] 1493 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1494 both] 1495 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1496 --with-sysroot=DIR Search for dependent libraries within DIR 1497 (or the compiler's sysroot if not specified). 1498 1499Some influential environment variables: 1500 CC C compiler command 1501 CFLAGS C compiler flags 1502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1503 nonstandard directory <lib dir> 1504 LIBS libraries to pass to the linker, e.g. -l<library> 1505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1506 you have headers in a nonstandard directory <include dir> 1507 CPP C preprocessor 1508 1509Use these variables to override the choices made by `configure' or to help 1510it to find libraries and programs with nonstandard names/locations. 1511 1512Report bugs to <bug-serveez@gnu.org>. 1513GNU Serveez home page: <http://www.gnu.org/software/serveez/>. 1514General help using GNU software: <http://www.gnu.org/gethelp/>. 1515_ACEOF 1516ac_status=$? 1517fi 1518 1519if test "$ac_init_help" = "recursive"; then 1520 # If there are subdirs, report their specific --help. 1521 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1522 test -d "$ac_dir" || 1523 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1524 continue 1525 ac_builddir=. 1526 1527case "$ac_dir" in 1528.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1529*) 1530 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1531 # A ".." for each directory in $ac_dir_suffix. 1532 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1533 case $ac_top_builddir_sub in 1534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1536 esac ;; 1537esac 1538ac_abs_top_builddir=$ac_pwd 1539ac_abs_builddir=$ac_pwd$ac_dir_suffix 1540# for backward compatibility: 1541ac_top_builddir=$ac_top_build_prefix 1542 1543case $srcdir in 1544 .) # We are building in place. 1545 ac_srcdir=. 1546 ac_top_srcdir=$ac_top_builddir_sub 1547 ac_abs_top_srcdir=$ac_pwd ;; 1548 [\\/]* | ?:[\\/]* ) # Absolute name. 1549 ac_srcdir=$srcdir$ac_dir_suffix; 1550 ac_top_srcdir=$srcdir 1551 ac_abs_top_srcdir=$srcdir ;; 1552 *) # Relative name. 1553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1554 ac_top_srcdir=$ac_top_build_prefix$srcdir 1555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1556esac 1557ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1558 1559 cd "$ac_dir" || { ac_status=$?; continue; } 1560 # Check for guested configure. 1561 if test -f "$ac_srcdir/configure.gnu"; then 1562 echo && 1563 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1564 elif test -f "$ac_srcdir/configure"; then 1565 echo && 1566 $SHELL "$ac_srcdir/configure" --help=recursive 1567 else 1568 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1569 fi || ac_status=$? 1570 cd "$ac_pwd" || { ac_status=$?; break; } 1571 done 1572fi 1573 1574test -n "$ac_init_help" && exit $ac_status 1575if $ac_init_version; then 1576 cat <<\_ACEOF 1577GNU Serveez configure 0.2.2 1578generated by GNU Autoconf 2.69 1579 1580Copyright (C) 2012 Free Software Foundation, Inc. 1581This configure script is free software; the Free Software Foundation 1582gives unlimited permission to copy, distribute and modify it. 1583_ACEOF 1584 exit 1585fi 1586 1587## ------------------------ ## 1588## Autoconf initialization. ## 1589## ------------------------ ## 1590 1591# ac_fn_c_try_compile LINENO 1592# -------------------------- 1593# Try to compile conftest.$ac_ext, and return whether this succeeded. 1594ac_fn_c_try_compile () 1595{ 1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1597 rm -f conftest.$ac_objext 1598 if { { ac_try="$ac_compile" 1599case "(($ac_try" in 1600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1601 *) ac_try_echo=$ac_try;; 1602esac 1603eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1604$as_echo "$ac_try_echo"; } >&5 1605 (eval "$ac_compile") 2>conftest.err 1606 ac_status=$? 1607 if test -s conftest.err; then 1608 grep -v '^ *+' conftest.err >conftest.er1 1609 cat conftest.er1 >&5 1610 mv -f conftest.er1 conftest.err 1611 fi 1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1613 test $ac_status = 0; } && { 1614 test -z "$ac_c_werror_flag" || 1615 test ! -s conftest.err 1616 } && test -s conftest.$ac_objext; then : 1617 ac_retval=0 1618else 1619 $as_echo "$as_me: failed program was:" >&5 1620sed 's/^/| /' conftest.$ac_ext >&5 1621 1622 ac_retval=1 1623fi 1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1625 as_fn_set_status $ac_retval 1626 1627} # ac_fn_c_try_compile 1628 1629# ac_fn_c_try_cpp LINENO 1630# ---------------------- 1631# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1632ac_fn_c_try_cpp () 1633{ 1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1635 if { { ac_try="$ac_cpp conftest.$ac_ext" 1636case "(($ac_try" in 1637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1638 *) ac_try_echo=$ac_try;; 1639esac 1640eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1641$as_echo "$ac_try_echo"; } >&5 1642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1643 ac_status=$? 1644 if test -s conftest.err; then 1645 grep -v '^ *+' conftest.err >conftest.er1 1646 cat conftest.er1 >&5 1647 mv -f conftest.er1 conftest.err 1648 fi 1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1650 test $ac_status = 0; } > conftest.i && { 1651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1652 test ! -s conftest.err 1653 }; then : 1654 ac_retval=0 1655else 1656 $as_echo "$as_me: failed program was:" >&5 1657sed 's/^/| /' conftest.$ac_ext >&5 1658 1659 ac_retval=1 1660fi 1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1662 as_fn_set_status $ac_retval 1663 1664} # ac_fn_c_try_cpp 1665 1666# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1667# ------------------------------------------------------- 1668# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1669# the include files in INCLUDES and setting the cache variable VAR 1670# accordingly. 1671ac_fn_c_check_header_mongrel () 1672{ 1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1674 if eval \${$3+:} false; then : 1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1676$as_echo_n "checking for $2... " >&6; } 1677if eval \${$3+:} false; then : 1678 $as_echo_n "(cached) " >&6 1679fi 1680eval ac_res=\$$3 1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1682$as_echo "$ac_res" >&6; } 1683else 1684 # Is the header compilable? 1685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1686$as_echo_n "checking $2 usability... " >&6; } 1687cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1688/* end confdefs.h. */ 1689$4 1690#include <$2> 1691_ACEOF 1692if ac_fn_c_try_compile "$LINENO"; then : 1693 ac_header_compiler=yes 1694else 1695 ac_header_compiler=no 1696fi 1697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1699$as_echo "$ac_header_compiler" >&6; } 1700 1701# Is the header present? 1702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1703$as_echo_n "checking $2 presence... " >&6; } 1704cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1705/* end confdefs.h. */ 1706#include <$2> 1707_ACEOF 1708if ac_fn_c_try_cpp "$LINENO"; then : 1709 ac_header_preproc=yes 1710else 1711 ac_header_preproc=no 1712fi 1713rm -f conftest.err conftest.i conftest.$ac_ext 1714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1715$as_echo "$ac_header_preproc" >&6; } 1716 1717# So? What about this header? 1718case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1719 yes:no: ) 1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1721$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1723$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1724 ;; 1725 no:yes:* ) 1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1727$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1729$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1731$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1733$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1735$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1736( $as_echo "## ---------------------------------- ## 1737## Report this to bug-serveez@gnu.org ## 1738## ---------------------------------- ##" 1739 ) | sed "s/^/$as_me: WARNING: /" >&2 1740 ;; 1741esac 1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1743$as_echo_n "checking for $2... " >&6; } 1744if eval \${$3+:} false; then : 1745 $as_echo_n "(cached) " >&6 1746else 1747 eval "$3=\$ac_header_compiler" 1748fi 1749eval ac_res=\$$3 1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1751$as_echo "$ac_res" >&6; } 1752fi 1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1754 1755} # ac_fn_c_check_header_mongrel 1756 1757# ac_fn_c_try_run LINENO 1758# ---------------------- 1759# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1760# that executables *can* be run. 1761ac_fn_c_try_run () 1762{ 1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1764 if { { ac_try="$ac_link" 1765case "(($ac_try" in 1766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1767 *) ac_try_echo=$ac_try;; 1768esac 1769eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1770$as_echo "$ac_try_echo"; } >&5 1771 (eval "$ac_link") 2>&5 1772 ac_status=$? 1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1774 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1775 { { case "(($ac_try" in 1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1777 *) ac_try_echo=$ac_try;; 1778esac 1779eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1780$as_echo "$ac_try_echo"; } >&5 1781 (eval "$ac_try") 2>&5 1782 ac_status=$? 1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1784 test $ac_status = 0; }; }; then : 1785 ac_retval=0 1786else 1787 $as_echo "$as_me: program exited with status $ac_status" >&5 1788 $as_echo "$as_me: failed program was:" >&5 1789sed 's/^/| /' conftest.$ac_ext >&5 1790 1791 ac_retval=$ac_status 1792fi 1793 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1795 as_fn_set_status $ac_retval 1796 1797} # ac_fn_c_try_run 1798 1799# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1800# ------------------------------------------------------- 1801# Tests whether HEADER exists and can be compiled using the include files in 1802# INCLUDES, setting the cache variable VAR accordingly. 1803ac_fn_c_check_header_compile () 1804{ 1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1807$as_echo_n "checking for $2... " >&6; } 1808if eval \${$3+:} false; then : 1809 $as_echo_n "(cached) " >&6 1810else 1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1812/* end confdefs.h. */ 1813$4 1814#include <$2> 1815_ACEOF 1816if ac_fn_c_try_compile "$LINENO"; then : 1817 eval "$3=yes" 1818else 1819 eval "$3=no" 1820fi 1821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1822fi 1823eval ac_res=\$$3 1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1825$as_echo "$ac_res" >&6; } 1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1827 1828} # ac_fn_c_check_header_compile 1829 1830# ac_fn_c_try_link LINENO 1831# ----------------------- 1832# Try to link conftest.$ac_ext, and return whether this succeeded. 1833ac_fn_c_try_link () 1834{ 1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1836 rm -f conftest.$ac_objext conftest$ac_exeext 1837 if { { ac_try="$ac_link" 1838case "(($ac_try" in 1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1840 *) ac_try_echo=$ac_try;; 1841esac 1842eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1843$as_echo "$ac_try_echo"; } >&5 1844 (eval "$ac_link") 2>conftest.err 1845 ac_status=$? 1846 if test -s conftest.err; then 1847 grep -v '^ *+' conftest.err >conftest.er1 1848 cat conftest.er1 >&5 1849 mv -f conftest.er1 conftest.err 1850 fi 1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1852 test $ac_status = 0; } && { 1853 test -z "$ac_c_werror_flag" || 1854 test ! -s conftest.err 1855 } && test -s conftest$ac_exeext && { 1856 test "$cross_compiling" = yes || 1857 test -x conftest$ac_exeext 1858 }; then : 1859 ac_retval=0 1860else 1861 $as_echo "$as_me: failed program was:" >&5 1862sed 's/^/| /' conftest.$ac_ext >&5 1863 1864 ac_retval=1 1865fi 1866 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1867 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1868 # interfere with the next link command; also delete a directory that is 1869 # left behind by Apple's compiler. We do this before executing the actions. 1870 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1872 as_fn_set_status $ac_retval 1873 1874} # ac_fn_c_try_link 1875 1876# ac_fn_c_check_func LINENO FUNC VAR 1877# ---------------------------------- 1878# Tests whether FUNC exists, setting the cache variable VAR accordingly 1879ac_fn_c_check_func () 1880{ 1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1883$as_echo_n "checking for $2... " >&6; } 1884if eval \${$3+:} false; then : 1885 $as_echo_n "(cached) " >&6 1886else 1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1888/* end confdefs.h. */ 1889/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1890 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1891#define $2 innocuous_$2 1892 1893/* System header to define __stub macros and hopefully few prototypes, 1894 which can conflict with char $2 (); below. 1895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1896 <limits.h> exists even on freestanding compilers. */ 1897 1898#ifdef __STDC__ 1899# include <limits.h> 1900#else 1901# include <assert.h> 1902#endif 1903 1904#undef $2 1905 1906/* Override any GCC internal prototype to avoid an error. 1907 Use char because int might match the return type of a GCC 1908 builtin and then its argument prototype would still apply. */ 1909#ifdef __cplusplus 1910extern "C" 1911#endif 1912char $2 (); 1913/* The GNU C library defines this for functions which it implements 1914 to always fail with ENOSYS. Some functions are actually named 1915 something starting with __ and the normal name is an alias. */ 1916#if defined __stub_$2 || defined __stub___$2 1917choke me 1918#endif 1919 1920int 1921main () 1922{ 1923return $2 (); 1924 ; 1925 return 0; 1926} 1927_ACEOF 1928if ac_fn_c_try_link "$LINENO"; then : 1929 eval "$3=yes" 1930else 1931 eval "$3=no" 1932fi 1933rm -f core conftest.err conftest.$ac_objext \ 1934 conftest$ac_exeext conftest.$ac_ext 1935fi 1936eval ac_res=\$$3 1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1938$as_echo "$ac_res" >&6; } 1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1940 1941} # ac_fn_c_check_func 1942 1943# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1944# ------------------------------------------- 1945# Tests whether TYPE exists after having included INCLUDES, setting cache 1946# variable VAR accordingly. 1947ac_fn_c_check_type () 1948{ 1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1951$as_echo_n "checking for $2... " >&6; } 1952if eval \${$3+:} false; then : 1953 $as_echo_n "(cached) " >&6 1954else 1955 eval "$3=no" 1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1957/* end confdefs.h. */ 1958$4 1959int 1960main () 1961{ 1962if (sizeof ($2)) 1963 return 0; 1964 ; 1965 return 0; 1966} 1967_ACEOF 1968if ac_fn_c_try_compile "$LINENO"; then : 1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1970/* end confdefs.h. */ 1971$4 1972int 1973main () 1974{ 1975if (sizeof (($2))) 1976 return 0; 1977 ; 1978 return 0; 1979} 1980_ACEOF 1981if ac_fn_c_try_compile "$LINENO"; then : 1982 1983else 1984 eval "$3=yes" 1985fi 1986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1987fi 1988rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1989fi 1990eval ac_res=\$$3 1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1992$as_echo "$ac_res" >&6; } 1993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1994 1995} # ac_fn_c_check_type 1996 1997# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1998# -------------------------------------------- 1999# Tries to find the compile-time value of EXPR in a program that includes 2000# INCLUDES, setting VAR accordingly. Returns whether the value could be 2001# computed 2002ac_fn_c_compute_int () 2003{ 2004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2005 if test "$cross_compiling" = yes; then 2006 # Depending upon the size, compute the lo and hi bounds. 2007cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2008/* end confdefs.h. */ 2009$4 2010int 2011main () 2012{ 2013static int test_array [1 - 2 * !(($2) >= 0)]; 2014test_array [0] = 0; 2015return test_array [0]; 2016 2017 ; 2018 return 0; 2019} 2020_ACEOF 2021if ac_fn_c_try_compile "$LINENO"; then : 2022 ac_lo=0 ac_mid=0 2023 while :; do 2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2025/* end confdefs.h. */ 2026$4 2027int 2028main () 2029{ 2030static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2031test_array [0] = 0; 2032return test_array [0]; 2033 2034 ; 2035 return 0; 2036} 2037_ACEOF 2038if ac_fn_c_try_compile "$LINENO"; then : 2039 ac_hi=$ac_mid; break 2040else 2041 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2042 if test $ac_lo -le $ac_mid; then 2043 ac_lo= ac_hi= 2044 break 2045 fi 2046 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2047fi 2048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2049 done 2050else 2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2052/* end confdefs.h. */ 2053$4 2054int 2055main () 2056{ 2057static int test_array [1 - 2 * !(($2) < 0)]; 2058test_array [0] = 0; 2059return test_array [0]; 2060 2061 ; 2062 return 0; 2063} 2064_ACEOF 2065if ac_fn_c_try_compile "$LINENO"; then : 2066 ac_hi=-1 ac_mid=-1 2067 while :; do 2068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2069/* end confdefs.h. */ 2070$4 2071int 2072main () 2073{ 2074static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2075test_array [0] = 0; 2076return test_array [0]; 2077 2078 ; 2079 return 0; 2080} 2081_ACEOF 2082if ac_fn_c_try_compile "$LINENO"; then : 2083 ac_lo=$ac_mid; break 2084else 2085 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2086 if test $ac_mid -le $ac_hi; then 2087 ac_lo= ac_hi= 2088 break 2089 fi 2090 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2091fi 2092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2093 done 2094else 2095 ac_lo= ac_hi= 2096fi 2097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2098fi 2099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2100# Binary search between lo and hi bounds. 2101while test "x$ac_lo" != "x$ac_hi"; do 2102 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2104/* end confdefs.h. */ 2105$4 2106int 2107main () 2108{ 2109static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2110test_array [0] = 0; 2111return test_array [0]; 2112 2113 ; 2114 return 0; 2115} 2116_ACEOF 2117if ac_fn_c_try_compile "$LINENO"; then : 2118 ac_hi=$ac_mid 2119else 2120 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2121fi 2122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2123done 2124case $ac_lo in #(( 2125?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2126'') ac_retval=1 ;; 2127esac 2128 else 2129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2130/* end confdefs.h. */ 2131$4 2132static long int longval () { return $2; } 2133static unsigned long int ulongval () { return $2; } 2134#include <stdio.h> 2135#include <stdlib.h> 2136int 2137main () 2138{ 2139 2140 FILE *f = fopen ("conftest.val", "w"); 2141 if (! f) 2142 return 1; 2143 if (($2) < 0) 2144 { 2145 long int i = longval (); 2146 if (i != ($2)) 2147 return 1; 2148 fprintf (f, "%ld", i); 2149 } 2150 else 2151 { 2152 unsigned long int i = ulongval (); 2153 if (i != ($2)) 2154 return 1; 2155 fprintf (f, "%lu", i); 2156 } 2157 /* Do not output a trailing newline, as this causes \r\n confusion 2158 on some platforms. */ 2159 return ferror (f) || fclose (f) != 0; 2160 2161 ; 2162 return 0; 2163} 2164_ACEOF 2165if ac_fn_c_try_run "$LINENO"; then : 2166 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2167else 2168 ac_retval=1 2169fi 2170rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2171 conftest.$ac_objext conftest.beam conftest.$ac_ext 2172rm -f conftest.val 2173 2174 fi 2175 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2176 as_fn_set_status $ac_retval 2177 2178} # ac_fn_c_compute_int 2179 2180# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2181# --------------------------------------------- 2182# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2183# accordingly. 2184ac_fn_c_check_decl () 2185{ 2186 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2187 as_decl_name=`echo $2|sed 's/ *(.*//'` 2188 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2190$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2191if eval \${$3+:} false; then : 2192 $as_echo_n "(cached) " >&6 2193else 2194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2195/* end confdefs.h. */ 2196$4 2197int 2198main () 2199{ 2200#ifndef $as_decl_name 2201#ifdef __cplusplus 2202 (void) $as_decl_use; 2203#else 2204 (void) $as_decl_name; 2205#endif 2206#endif 2207 2208 ; 2209 return 0; 2210} 2211_ACEOF 2212if ac_fn_c_try_compile "$LINENO"; then : 2213 eval "$3=yes" 2214else 2215 eval "$3=no" 2216fi 2217rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2218fi 2219eval ac_res=\$$3 2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2221$as_echo "$ac_res" >&6; } 2222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2223 2224} # ac_fn_c_check_decl 2225cat >config.log <<_ACEOF 2226This file contains any messages produced by compilers while 2227running configure, to aid debugging if configure makes a mistake. 2228 2229It was created by GNU Serveez $as_me 0.2.2, which was 2230generated by GNU Autoconf 2.69. Invocation command line was 2231 2232 $ $0 $@ 2233 2234_ACEOF 2235exec 5>>config.log 2236{ 2237cat <<_ASUNAME 2238## --------- ## 2239## Platform. ## 2240## --------- ## 2241 2242hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2243uname -m = `(uname -m) 2>/dev/null || echo unknown` 2244uname -r = `(uname -r) 2>/dev/null || echo unknown` 2245uname -s = `(uname -s) 2>/dev/null || echo unknown` 2246uname -v = `(uname -v) 2>/dev/null || echo unknown` 2247 2248/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2249/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2250 2251/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2252/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2253/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2254/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2255/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2256/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2257/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2258 2259_ASUNAME 2260 2261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2262for as_dir in $PATH 2263do 2264 IFS=$as_save_IFS 2265 test -z "$as_dir" && as_dir=. 2266 $as_echo "PATH: $as_dir" 2267 done 2268IFS=$as_save_IFS 2269 2270} >&5 2271 2272cat >&5 <<_ACEOF 2273 2274 2275## ----------- ## 2276## Core tests. ## 2277## ----------- ## 2278 2279_ACEOF 2280 2281 2282# Keep a trace of the command line. 2283# Strip out --no-create and --no-recursion so they do not pile up. 2284# Strip out --silent because we don't want to record it for future runs. 2285# Also quote any args containing shell meta-characters. 2286# Make two passes to allow for proper duplicate-argument suppression. 2287ac_configure_args= 2288ac_configure_args0= 2289ac_configure_args1= 2290ac_must_keep_next=false 2291for ac_pass in 1 2 2292do 2293 for ac_arg 2294 do 2295 case $ac_arg in 2296 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2297 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2298 | -silent | --silent | --silen | --sile | --sil) 2299 continue ;; 2300 *\'*) 2301 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2302 esac 2303 case $ac_pass in 2304 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2305 2) 2306 as_fn_append ac_configure_args1 " '$ac_arg'" 2307 if test $ac_must_keep_next = true; then 2308 ac_must_keep_next=false # Got value, back to normal. 2309 else 2310 case $ac_arg in 2311 *=* | --config-cache | -C | -disable-* | --disable-* \ 2312 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2313 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2314 | -with-* | --with-* | -without-* | --without-* | --x) 2315 case "$ac_configure_args0 " in 2316 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2317 esac 2318 ;; 2319 -* ) ac_must_keep_next=true ;; 2320 esac 2321 fi 2322 as_fn_append ac_configure_args " '$ac_arg'" 2323 ;; 2324 esac 2325 done 2326done 2327{ ac_configure_args0=; unset ac_configure_args0;} 2328{ ac_configure_args1=; unset ac_configure_args1;} 2329 2330# When interrupted or exit'd, cleanup temporary files, and complete 2331# config.log. We remove comments because anyway the quotes in there 2332# would cause problems or look ugly. 2333# WARNING: Use '\'' to represent an apostrophe within the trap. 2334# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2335trap 'exit_status=$? 2336 # Save into config.log some information that might help in debugging. 2337 { 2338 echo 2339 2340 $as_echo "## ---------------- ## 2341## Cache variables. ## 2342## ---------------- ##" 2343 echo 2344 # The following way of writing the cache mishandles newlines in values, 2345( 2346 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2347 eval ac_val=\$$ac_var 2348 case $ac_val in #( 2349 *${as_nl}*) 2350 case $ac_var in #( 2351 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2352$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2353 esac 2354 case $ac_var in #( 2355 _ | IFS | as_nl) ;; #( 2356 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2357 *) { eval $ac_var=; unset $ac_var;} ;; 2358 esac ;; 2359 esac 2360 done 2361 (set) 2>&1 | 2362 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2363 *${as_nl}ac_space=\ *) 2364 sed -n \ 2365 "s/'\''/'\''\\\\'\'''\''/g; 2366 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2367 ;; #( 2368 *) 2369 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2370 ;; 2371 esac | 2372 sort 2373) 2374 echo 2375 2376 $as_echo "## ----------------- ## 2377## Output variables. ## 2378## ----------------- ##" 2379 echo 2380 for ac_var in $ac_subst_vars 2381 do 2382 eval ac_val=\$$ac_var 2383 case $ac_val in 2384 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2385 esac 2386 $as_echo "$ac_var='\''$ac_val'\''" 2387 done | sort 2388 echo 2389 2390 if test -n "$ac_subst_files"; then 2391 $as_echo "## ------------------- ## 2392## File substitutions. ## 2393## ------------------- ##" 2394 echo 2395 for ac_var in $ac_subst_files 2396 do 2397 eval ac_val=\$$ac_var 2398 case $ac_val in 2399 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2400 esac 2401 $as_echo "$ac_var='\''$ac_val'\''" 2402 done | sort 2403 echo 2404 fi 2405 2406 if test -s confdefs.h; then 2407 $as_echo "## ----------- ## 2408## confdefs.h. ## 2409## ----------- ##" 2410 echo 2411 cat confdefs.h 2412 echo 2413 fi 2414 test "$ac_signal" != 0 && 2415 $as_echo "$as_me: caught signal $ac_signal" 2416 $as_echo "$as_me: exit $exit_status" 2417 } >&5 2418 rm -f core *.core core.conftest.* && 2419 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2420 exit $exit_status 2421' 0 2422for ac_signal in 1 2 13 15; do 2423 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2424done 2425ac_signal=0 2426 2427# confdefs.h avoids OS command line length limits that DEFS can exceed. 2428rm -f -r conftest* confdefs.h 2429 2430$as_echo "/* confdefs.h */" > confdefs.h 2431 2432# Predefined preprocessor variables. 2433 2434cat >>confdefs.h <<_ACEOF 2435#define PACKAGE_NAME "$PACKAGE_NAME" 2436_ACEOF 2437 2438cat >>confdefs.h <<_ACEOF 2439#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2440_ACEOF 2441 2442cat >>confdefs.h <<_ACEOF 2443#define PACKAGE_VERSION "$PACKAGE_VERSION" 2444_ACEOF 2445 2446cat >>confdefs.h <<_ACEOF 2447#define PACKAGE_STRING "$PACKAGE_STRING" 2448_ACEOF 2449 2450cat >>confdefs.h <<_ACEOF 2451#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2452_ACEOF 2453 2454cat >>confdefs.h <<_ACEOF 2455#define PACKAGE_URL "$PACKAGE_URL" 2456_ACEOF 2457 2458 2459# Let the site file select an alternate cache file if it wants to. 2460# Prefer an explicitly selected file to automatically selected ones. 2461ac_site_file1=NONE 2462ac_site_file2=NONE 2463if test -n "$CONFIG_SITE"; then 2464 # We do not want a PATH search for config.site. 2465 case $CONFIG_SITE in #(( 2466 -*) ac_site_file1=./$CONFIG_SITE;; 2467 */*) ac_site_file1=$CONFIG_SITE;; 2468 *) ac_site_file1=./$CONFIG_SITE;; 2469 esac 2470elif test "x$prefix" != xNONE; then 2471 ac_site_file1=$prefix/share/config.site 2472 ac_site_file2=$prefix/etc/config.site 2473else 2474 ac_site_file1=$ac_default_prefix/share/config.site 2475 ac_site_file2=$ac_default_prefix/etc/config.site 2476fi 2477for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2478do 2479 test "x$ac_site_file" = xNONE && continue 2480 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2481 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2482$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2483 sed 's/^/| /' "$ac_site_file" >&5 2484 . "$ac_site_file" \ 2485 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2486$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2487as_fn_error $? "failed to load site script $ac_site_file 2488See \`config.log' for more details" "$LINENO" 5; } 2489 fi 2490done 2491 2492if test -r "$cache_file"; then 2493 # Some versions of bash will fail to source /dev/null (special files 2494 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2495 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2496 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2497$as_echo "$as_me: loading cache $cache_file" >&6;} 2498 case $cache_file in 2499 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2500 *) . "./$cache_file";; 2501 esac 2502 fi 2503else 2504 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2505$as_echo "$as_me: creating cache $cache_file" >&6;} 2506 >$cache_file 2507fi 2508 2509as_fn_append ac_header_list " wait.h" 2510as_fn_append ac_header_list " sys/utsname.h" 2511as_fn_append ac_header_list " netinet/in.h" 2512as_fn_append ac_header_list " arpa/inet.h" 2513as_fn_append ac_header_list " sys/time.h" 2514as_fn_append ac_header_list " sys/poll.h" 2515as_fn_append ac_header_list " pwd.h" 2516as_fn_append ac_header_list " varargs.h" 2517as_fn_append ac_header_list " getopt.h" 2518as_fn_append ac_header_list " sys/sockio.h" 2519as_fn_append ac_header_list " sys/resource.h" 2520as_fn_append ac_header_list " sys/sendfile.h" 2521as_fn_append ac_header_list " sys/uio.h" 2522as_fn_append ac_header_list " ws2tcpip.h" 2523as_fn_append ac_header_list " dirent.h" 2524as_fn_append ac_header_list " sys/dirent.h" 2525as_fn_append ac_header_list " direct.h" 2526as_fn_append ac_header_list " dl.h" 2527as_fn_append ac_header_list " dld.h" 2528as_fn_append ac_header_list " grp.h" 2529as_fn_append ac_header_list " mach-o/dyld.h" 2530as_fn_append ac_header_list " zlib.h" 2531as_fn_append ac_header_list " bzlib.h" 2532as_fn_append ac_header_list " rpc/rpcent.h" 2533as_fn_append ac_header_list " rpc/rpc.h" 2534as_fn_append ac_header_list " rpc/pmap_clnt.h" 2535as_fn_append ac_header_list " rpc/pmap_prot.h" 2536as_fn_append ac_header_list " rpc/clnt_soc.h" 2537as_fn_append ac_header_list " sys/ioctl.h" 2538as_fn_append ac_header_list " pthread.h" 2539as_fn_append ac_header_list " floss.h" 2540as_fn_append ac_header_list " netinet/tcp.h" 2541as_fn_append ac_header_list " netdb.h" 2542as_fn_append ac_header_list " sys/param.h" 2543as_fn_append ac_header_list " sys/pstat.h" 2544as_fn_append ac_header_list " sys/sysget.h" 2545as_fn_append ac_header_list " sys/sysinfo.h" 2546as_fn_append ac_header_list " winsock2.h" 2547# Check that the precious variables saved in the cache have kept the same 2548# value. 2549ac_cache_corrupted=false 2550for ac_var in $ac_precious_vars; do 2551 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2552 eval ac_new_set=\$ac_env_${ac_var}_set 2553 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2554 eval ac_new_val=\$ac_env_${ac_var}_value 2555 case $ac_old_set,$ac_new_set in 2556 set,) 2557 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2558$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2559 ac_cache_corrupted=: ;; 2560 ,set) 2561 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2562$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2563 ac_cache_corrupted=: ;; 2564 ,);; 2565 *) 2566 if test "x$ac_old_val" != "x$ac_new_val"; then 2567 # differences in whitespace do not lead to failure. 2568 ac_old_val_w=`echo x $ac_old_val` 2569 ac_new_val_w=`echo x $ac_new_val` 2570 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2571 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2572$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2573 ac_cache_corrupted=: 2574 else 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2576$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2577 eval $ac_var=\$ac_old_val 2578 fi 2579 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2580$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2581 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2582$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2583 fi;; 2584 esac 2585 # Pass precious variables to config.status. 2586 if test "$ac_new_set" = set; then 2587 case $ac_new_val in 2588 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2589 *) ac_arg=$ac_var=$ac_new_val ;; 2590 esac 2591 case " $ac_configure_args " in 2592 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2593 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2594 esac 2595 fi 2596done 2597if $ac_cache_corrupted; then 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2599$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2600 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2601$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2602 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2603fi 2604## -------------------- ## 2605## Main body of script. ## 2606## -------------------- ## 2607 2608ac_ext=c 2609ac_cpp='$CPP $CPPFLAGS' 2610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2612ac_compiler_gnu=$ac_cv_c_compiler_gnu 2613 2614 2615ac_config_headers="$ac_config_headers src/config.h src/svzconfig.h src/guile-missing.h" 2616 2617ac_aux_dir= 2618for ac_dir in build-aux "$srcdir"/build-aux; do 2619 if test -f "$ac_dir/install-sh"; then 2620 ac_aux_dir=$ac_dir 2621 ac_install_sh="$ac_aux_dir/install-sh -c" 2622 break 2623 elif test -f "$ac_dir/install.sh"; then 2624 ac_aux_dir=$ac_dir 2625 ac_install_sh="$ac_aux_dir/install.sh -c" 2626 break 2627 elif test -f "$ac_dir/shtool"; then 2628 ac_aux_dir=$ac_dir 2629 ac_install_sh="$ac_aux_dir/shtool install -c" 2630 break 2631 fi 2632done 2633if test -z "$ac_aux_dir"; then 2634 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2635fi 2636 2637# These three variables are undocumented and unsupported, 2638# and are intended to be withdrawn in a future Autoconf release. 2639# They can cause serious problems if a builder's source tree is in a directory 2640# whose full name contains unusual characters. 2641ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2642ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2643ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2644 2645 2646 2647# Make sure we can run config.sub. 2648$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2649 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2650 2651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2652$as_echo_n "checking build system type... " >&6; } 2653if ${ac_cv_build+:} false; then : 2654 $as_echo_n "(cached) " >&6 2655else 2656 ac_build_alias=$build_alias 2657test "x$ac_build_alias" = x && 2658 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2659test "x$ac_build_alias" = x && 2660 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2661ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2662 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2663 2664fi 2665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2666$as_echo "$ac_cv_build" >&6; } 2667case $ac_cv_build in 2668*-*-*) ;; 2669*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2670esac 2671build=$ac_cv_build 2672ac_save_IFS=$IFS; IFS='-' 2673set x $ac_cv_build 2674shift 2675build_cpu=$1 2676build_vendor=$2 2677shift; shift 2678# Remember, the first character of IFS is used to create $*, 2679# except with old shells: 2680build_os=$* 2681IFS=$ac_save_IFS 2682case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2683 2684 2685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2686$as_echo_n "checking host system type... " >&6; } 2687if ${ac_cv_host+:} false; then : 2688 $as_echo_n "(cached) " >&6 2689else 2690 if test "x$host_alias" = x; then 2691 ac_cv_host=$ac_cv_build 2692else 2693 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2694 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2695fi 2696 2697fi 2698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2699$as_echo "$ac_cv_host" >&6; } 2700case $ac_cv_host in 2701*-*-*) ;; 2702*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2703esac 2704host=$ac_cv_host 2705ac_save_IFS=$IFS; IFS='-' 2706set x $ac_cv_host 2707shift 2708host_cpu=$1 2709host_vendor=$2 2710shift; shift 2711# Remember, the first character of IFS is used to create $*, 2712# except with old shells: 2713host_os=$* 2714IFS=$ac_save_IFS 2715case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2716 2717 2718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2719$as_echo_n "checking target system type... " >&6; } 2720if ${ac_cv_target+:} false; then : 2721 $as_echo_n "(cached) " >&6 2722else 2723 if test "x$target_alias" = x; then 2724 ac_cv_target=$ac_cv_host 2725else 2726 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2727 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2728fi 2729 2730fi 2731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2732$as_echo "$ac_cv_target" >&6; } 2733case $ac_cv_target in 2734*-*-*) ;; 2735*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2736esac 2737target=$ac_cv_target 2738ac_save_IFS=$IFS; IFS='-' 2739set x $ac_cv_target 2740shift 2741target_cpu=$1 2742target_vendor=$2 2743shift; shift 2744# Remember, the first character of IFS is used to create $*, 2745# except with old shells: 2746target_os=$* 2747IFS=$ac_save_IFS 2748case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2749 2750 2751# The aliases save the names the user supplied, while $host etc. 2752# will get canonicalized. 2753test -n "$target_alias" && 2754 test "$program_prefix$program_suffix$program_transform_name" = \ 2755 NONENONEs,x,x, && 2756 program_prefix=${target_alias}- 2757am__api_version='1.14' 2758 2759# Find a good install program. We prefer a C program (faster), 2760# so one script is as good as another. But avoid the broken or 2761# incompatible versions: 2762# SysV /etc/install, /usr/sbin/install 2763# SunOS /usr/etc/install 2764# IRIX /sbin/install 2765# AIX /bin/install 2766# AmigaOS /C/install, which installs bootblocks on floppy discs 2767# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2768# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2769# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2770# OS/2's system install, which has a completely different semantic 2771# ./install, which can be erroneously created by make from ./install.sh. 2772# Reject install programs that cannot install multiple files. 2773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2774$as_echo_n "checking for a BSD-compatible install... " >&6; } 2775if test -z "$INSTALL"; then 2776if ${ac_cv_path_install+:} false; then : 2777 $as_echo_n "(cached) " >&6 2778else 2779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2780for as_dir in $PATH 2781do 2782 IFS=$as_save_IFS 2783 test -z "$as_dir" && as_dir=. 2784 # Account for people who put trailing slashes in PATH elements. 2785case $as_dir/ in #(( 2786 ./ | .// | /[cC]/* | \ 2787 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2788 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2789 /usr/ucb/* ) ;; 2790 *) 2791 # OSF1 and SCO ODT 3.0 have their own names for install. 2792 # Don't use installbsd from OSF since it installs stuff as root 2793 # by default. 2794 for ac_prog in ginstall scoinst install; do 2795 for ac_exec_ext in '' $ac_executable_extensions; do 2796 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2797 if test $ac_prog = install && 2798 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2799 # AIX install. It has an incompatible calling convention. 2800 : 2801 elif test $ac_prog = install && 2802 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2803 # program-specific install script used by HP pwplus--don't use. 2804 : 2805 else 2806 rm -rf conftest.one conftest.two conftest.dir 2807 echo one > conftest.one 2808 echo two > conftest.two 2809 mkdir conftest.dir 2810 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2811 test -s conftest.one && test -s conftest.two && 2812 test -s conftest.dir/conftest.one && 2813 test -s conftest.dir/conftest.two 2814 then 2815 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2816 break 3 2817 fi 2818 fi 2819 fi 2820 done 2821 done 2822 ;; 2823esac 2824 2825 done 2826IFS=$as_save_IFS 2827 2828rm -rf conftest.one conftest.two conftest.dir 2829 2830fi 2831 if test "${ac_cv_path_install+set}" = set; then 2832 INSTALL=$ac_cv_path_install 2833 else 2834 # As a last resort, use the slow shell script. Don't cache a 2835 # value for INSTALL within a source directory, because that will 2836 # break other packages using the cache if that directory is 2837 # removed, or if the value is a relative name. 2838 INSTALL=$ac_install_sh 2839 fi 2840fi 2841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2842$as_echo "$INSTALL" >&6; } 2843 2844# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2845# It thinks the first close brace ends the variable substitution. 2846test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2847 2848test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2849 2850test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2851 2852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2853$as_echo_n "checking whether build environment is sane... " >&6; } 2854# Reject unsafe characters in $srcdir or the absolute working directory 2855# name. Accept space and tab only in the latter. 2856am_lf=' 2857' 2858case `pwd` in 2859 *[\\\"\#\$\&\'\`$am_lf]*) 2860 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2861esac 2862case $srcdir in 2863 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2864 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2865esac 2866 2867# Do 'set' in a subshell so we don't clobber the current shell's 2868# arguments. Must try -L first in case configure is actually a 2869# symlink; some systems play weird games with the mod time of symlinks 2870# (eg FreeBSD returns the mod time of the symlink's containing 2871# directory). 2872if ( 2873 am_has_slept=no 2874 for am_try in 1 2; do 2875 echo "timestamp, slept: $am_has_slept" > conftest.file 2876 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2877 if test "$*" = "X"; then 2878 # -L didn't work. 2879 set X `ls -t "$srcdir/configure" conftest.file` 2880 fi 2881 if test "$*" != "X $srcdir/configure conftest.file" \ 2882 && test "$*" != "X conftest.file $srcdir/configure"; then 2883 2884 # If neither matched, then we have a broken ls. This can happen 2885 # if, for instance, CONFIG_SHELL is bash and it inherits a 2886 # broken ls alias from the environment. This has actually 2887 # happened. Such a system could not be considered "sane". 2888 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2889 alias in your environment" "$LINENO" 5 2890 fi 2891 if test "$2" = conftest.file || test $am_try -eq 2; then 2892 break 2893 fi 2894 # Just in case. 2895 sleep 1 2896 am_has_slept=yes 2897 done 2898 test "$2" = conftest.file 2899 ) 2900then 2901 # Ok. 2902 : 2903else 2904 as_fn_error $? "newly created file is older than distributed files! 2905Check your system clock" "$LINENO" 5 2906fi 2907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2908$as_echo "yes" >&6; } 2909# If we didn't sleep, we still need to ensure time stamps of config.status and 2910# generated files are strictly newer. 2911am_sleep_pid= 2912if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2913 ( sleep 1 ) & 2914 am_sleep_pid=$! 2915fi 2916 2917rm -f conftest.file 2918 2919test "$program_prefix" != NONE && 2920 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2921# Use a double $ so make ignores it. 2922test "$program_suffix" != NONE && 2923 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2924# Double any \ or $. 2925# By default was `s,x,x', remove it if useless. 2926ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2927program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2928 2929# expand $ac_aux_dir to an absolute path 2930am_aux_dir=`cd $ac_aux_dir && pwd` 2931 2932if test x"${MISSING+set}" != xset; then 2933 case $am_aux_dir in 2934 *\ * | *\ *) 2935 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2936 *) 2937 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2938 esac 2939fi 2940# Use eval to expand $SHELL 2941if eval "$MISSING --is-lightweight"; then 2942 am_missing_run="$MISSING " 2943else 2944 am_missing_run= 2945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2946$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2947fi 2948 2949if test x"${install_sh}" != xset; then 2950 case $am_aux_dir in 2951 *\ * | *\ *) 2952 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2953 *) 2954 install_sh="\${SHELL} $am_aux_dir/install-sh" 2955 esac 2956fi 2957 2958# Installed binaries are usually stripped using 'strip' when the user 2959# run "make install-strip". However 'strip' might not be the right 2960# tool to use in cross-compilation environments, therefore Automake 2961# will honor the 'STRIP' environment variable to overrule this program. 2962if test "$cross_compiling" != no; then 2963 if test -n "$ac_tool_prefix"; then 2964 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2965set dummy ${ac_tool_prefix}strip; ac_word=$2 2966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2967$as_echo_n "checking for $ac_word... " >&6; } 2968if ${ac_cv_prog_STRIP+:} false; then : 2969 $as_echo_n "(cached) " >&6 2970else 2971 if test -n "$STRIP"; then 2972 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2973else 2974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2975for as_dir in $PATH 2976do 2977 IFS=$as_save_IFS 2978 test -z "$as_dir" && as_dir=. 2979 for ac_exec_ext in '' $ac_executable_extensions; do 2980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2981 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2983 break 2 2984 fi 2985done 2986 done 2987IFS=$as_save_IFS 2988 2989fi 2990fi 2991STRIP=$ac_cv_prog_STRIP 2992if test -n "$STRIP"; then 2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2994$as_echo "$STRIP" >&6; } 2995else 2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2997$as_echo "no" >&6; } 2998fi 2999 3000 3001fi 3002if test -z "$ac_cv_prog_STRIP"; then 3003 ac_ct_STRIP=$STRIP 3004 # Extract the first word of "strip", so it can be a program name with args. 3005set dummy strip; ac_word=$2 3006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3007$as_echo_n "checking for $ac_word... " >&6; } 3008if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3009 $as_echo_n "(cached) " >&6 3010else 3011 if test -n "$ac_ct_STRIP"; then 3012 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3013else 3014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3015for as_dir in $PATH 3016do 3017 IFS=$as_save_IFS 3018 test -z "$as_dir" && as_dir=. 3019 for ac_exec_ext in '' $ac_executable_extensions; do 3020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3021 ac_cv_prog_ac_ct_STRIP="strip" 3022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3023 break 2 3024 fi 3025done 3026 done 3027IFS=$as_save_IFS 3028 3029fi 3030fi 3031ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3032if test -n "$ac_ct_STRIP"; then 3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3034$as_echo "$ac_ct_STRIP" >&6; } 3035else 3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3037$as_echo "no" >&6; } 3038fi 3039 3040 if test "x$ac_ct_STRIP" = x; then 3041 STRIP=":" 3042 else 3043 case $cross_compiling:$ac_tool_warned in 3044yes:) 3045{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3046$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3047ac_tool_warned=yes ;; 3048esac 3049 STRIP=$ac_ct_STRIP 3050 fi 3051else 3052 STRIP="$ac_cv_prog_STRIP" 3053fi 3054 3055fi 3056INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3057 3058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3059$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3060if test -z "$MKDIR_P"; then 3061 if ${ac_cv_path_mkdir+:} false; then : 3062 $as_echo_n "(cached) " >&6 3063else 3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3065for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3066do 3067 IFS=$as_save_IFS 3068 test -z "$as_dir" && as_dir=. 3069 for ac_prog in mkdir gmkdir; do 3070 for ac_exec_ext in '' $ac_executable_extensions; do 3071 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3072 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3073 'mkdir (GNU coreutils) '* | \ 3074 'mkdir (coreutils) '* | \ 3075 'mkdir (fileutils) '4.1*) 3076 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3077 break 3;; 3078 esac 3079 done 3080 done 3081 done 3082IFS=$as_save_IFS 3083 3084fi 3085 3086 test -d ./--version && rmdir ./--version 3087 if test "${ac_cv_path_mkdir+set}" = set; then 3088 MKDIR_P="$ac_cv_path_mkdir -p" 3089 else 3090 # As a last resort, use the slow shell script. Don't cache a 3091 # value for MKDIR_P within a source directory, because that will 3092 # break other packages using the cache if that directory is 3093 # removed, or if the value is a relative name. 3094 MKDIR_P="$ac_install_sh -d" 3095 fi 3096fi 3097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3098$as_echo "$MKDIR_P" >&6; } 3099 3100for ac_prog in gawk mawk nawk awk 3101do 3102 # Extract the first word of "$ac_prog", so it can be a program name with args. 3103set dummy $ac_prog; ac_word=$2 3104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3105$as_echo_n "checking for $ac_word... " >&6; } 3106if ${ac_cv_prog_AWK+:} false; then : 3107 $as_echo_n "(cached) " >&6 3108else 3109 if test -n "$AWK"; then 3110 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3111else 3112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3113for as_dir in $PATH 3114do 3115 IFS=$as_save_IFS 3116 test -z "$as_dir" && as_dir=. 3117 for ac_exec_ext in '' $ac_executable_extensions; do 3118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3119 ac_cv_prog_AWK="$ac_prog" 3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3121 break 2 3122 fi 3123done 3124 done 3125IFS=$as_save_IFS 3126 3127fi 3128fi 3129AWK=$ac_cv_prog_AWK 3130if test -n "$AWK"; then 3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3132$as_echo "$AWK" >&6; } 3133else 3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3135$as_echo "no" >&6; } 3136fi 3137 3138 3139 test -n "$AWK" && break 3140done 3141 3142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3143$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3144set x ${MAKE-make} 3145ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3146if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3147 $as_echo_n "(cached) " >&6 3148else 3149 cat >conftest.make <<\_ACEOF 3150SHELL = /bin/sh 3151all: 3152 @echo '@@@%%%=$(MAKE)=@@@%%%' 3153_ACEOF 3154# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3155case `${MAKE-make} -f conftest.make 2>/dev/null` in 3156 *@@@%%%=?*=@@@%%%*) 3157 eval ac_cv_prog_make_${ac_make}_set=yes;; 3158 *) 3159 eval ac_cv_prog_make_${ac_make}_set=no;; 3160esac 3161rm -f conftest.make 3162fi 3163if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3165$as_echo "yes" >&6; } 3166 SET_MAKE= 3167else 3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3169$as_echo "no" >&6; } 3170 SET_MAKE="MAKE=${MAKE-make}" 3171fi 3172 3173rm -rf .tst 2>/dev/null 3174mkdir .tst 2>/dev/null 3175if test -d .tst; then 3176 am__leading_dot=. 3177else 3178 am__leading_dot=_ 3179fi 3180rmdir .tst 2>/dev/null 3181 3182# Check whether --enable-silent-rules was given. 3183if test "${enable_silent_rules+set}" = set; then : 3184 enableval=$enable_silent_rules; 3185fi 3186 3187case $enable_silent_rules in # ((( 3188 yes) AM_DEFAULT_VERBOSITY=0;; 3189 no) AM_DEFAULT_VERBOSITY=1;; 3190 *) AM_DEFAULT_VERBOSITY=1;; 3191esac 3192am_make=${MAKE-make} 3193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3194$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3195if ${am_cv_make_support_nested_variables+:} false; then : 3196 $as_echo_n "(cached) " >&6 3197else 3198 if $as_echo 'TRUE=$(BAR$(V)) 3199BAR0=false 3200BAR1=true 3201V=1 3202am__doit: 3203 @$(TRUE) 3204.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3205 am_cv_make_support_nested_variables=yes 3206else 3207 am_cv_make_support_nested_variables=no 3208fi 3209fi 3210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3211$as_echo "$am_cv_make_support_nested_variables" >&6; } 3212if test $am_cv_make_support_nested_variables = yes; then 3213 AM_V='$(V)' 3214 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3215else 3216 AM_V=$AM_DEFAULT_VERBOSITY 3217 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3218fi 3219AM_BACKSLASH='\' 3220 3221if test "`cd $srcdir && pwd`" != "`pwd`"; then 3222 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3223 # is not polluted with repeated "-I." 3224 am__isrc=' -I$(srcdir)' 3225 # test to see if srcdir already configured 3226 if test -f $srcdir/config.status; then 3227 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3228 fi 3229fi 3230 3231# test whether we have cygpath 3232if test -z "$CYGPATH_W"; then 3233 if (cygpath --version) >/dev/null 2>/dev/null; then 3234 CYGPATH_W='cygpath -w' 3235 else 3236 CYGPATH_W=echo 3237 fi 3238fi 3239 3240 3241# Define the identity of the package. 3242 PACKAGE='serveez' 3243 VERSION='0.2.2' 3244 3245 3246# Some tools Automake needs. 3247 3248ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3249 3250 3251AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3252 3253 3254AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3255 3256 3257AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3258 3259 3260MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3261 3262# For better backward compatibility. To be removed once Automake 1.9.x 3263# dies out for good. For more background, see: 3264# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3265# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3266mkdir_p='$(MKDIR_P)' 3267 3268# We need awk for the "check" target. The system "awk" is bad on 3269# some platforms. 3270# Always define AMTAR for backward compatibility. Yes, it's still used 3271# in the wild :-( We should find a proper way to deprecate it ... 3272AMTAR='$${TAR-tar}' 3273 3274 3275# We'll loop over all known methods to create a tar archive until one works. 3276_am_tools='gnutar pax cpio none' 3277 3278am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3279 3280 3281 3282 3283 3284 3285# POSIX will say in a future version that running "rm -f" with no argument 3286# is OK; and we want to be able to make that assumption in our Makefile 3287# recipes. So use an aggressive probe to check that the usage we want is 3288# actually supported "in the wild" to an acceptable degree. 3289# See automake bug#10828. 3290# To make any issue more visible, cause the running configure to be aborted 3291# by default if the 'rm' program in use doesn't match our expectations; the 3292# user can still override this though. 3293if rm -f && rm -fr && rm -rf; then : OK; else 3294 cat >&2 <<'END' 3295Oops! 3296 3297Your 'rm' program seems unable to run without file operands specified 3298on the command line, even when the '-f' option is present. This is contrary 3299to the behaviour of most rm programs out there, and not conforming with 3300the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3301 3302Please tell bug-automake@gnu.org about your system, including the value 3303of your $PATH and any error possibly output before this message. This 3304can help us improve future automake versions. 3305 3306END 3307 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3308 echo 'Configuration will proceed anyway, since you have set the' >&2 3309 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3310 echo >&2 3311 else 3312 cat >&2 <<'END' 3313Aborting the configuration process, to ensure you take notice of the issue. 3314 3315You can download and install GNU coreutils to get an 'rm' implementation 3316that behaves properly: <http://www.gnu.org/software/coreutils/>. 3317 3318If you want to complete the configuration process using your problematic 3319'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3320to "yes", and re-run configure. 3321 3322END 3323 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3324 fi 3325fi 3326 3327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3328$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3329 # Check whether --enable-maintainer-mode was given. 3330if test "${enable_maintainer_mode+set}" = set; then : 3331 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3332else 3333 USE_MAINTAINER_MODE=no 3334fi 3335 3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3337$as_echo "$USE_MAINTAINER_MODE" >&6; } 3338 if test $USE_MAINTAINER_MODE = yes; then 3339 MAINTAINER_MODE_TRUE= 3340 MAINTAINER_MODE_FALSE='#' 3341else 3342 MAINTAINER_MODE_TRUE='#' 3343 MAINTAINER_MODE_FALSE= 3344fi 3345 3346 MAINT=$MAINTAINER_MODE_TRUE 3347 3348 3349 3350 3351PROGRAM_VERSION='1.4' 3352## 1.3 -- new option: --solitary 3353## 1.2 -- new option: --daemon 3354## 1.1 -- drop option: --port PORT 3355## 1.0 -- initial revision 3356 3357 3358cat >>confdefs.h <<_ACEOF 3359#define PROGRAM_VERSION "$PROGRAM_VERSION" 3360_ACEOF 3361 3362 3363LIBSERVEEZ_INTERFACE='2:0:1' 3364## 2:0:1 -- new typedef: svz_sock_prefree_fn 3365## new func: svz_sock_prefree 3366## 1:0:0 -- initial 3367 3368 3369cat >>confdefs.h <<_ACEOF 3370#define LIBSERVEEZ_INTERFACE "$LIBSERVEEZ_INTERFACE" 3371_ACEOF 3372 3373 3374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug output" >&5 3375$as_echo_n "checking whether to enable debug output... " >&6; } 3376# Check whether --enable-debug was given. 3377if test "${enable_debug+set}" = set; then : 3378 enableval=$enable_debug; test xyes = x"$enable_debug" || enable_debug=no 3379else 3380 enable_debug=yes 3381fi 3382 3383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5 3384$as_echo "$enable_debug" >&6; } 3385if test xyes = x"$enable_debug"; then : 3386 3387 3388$as_echo "#define ENABLE_DEBUG 1" >>confdefs.h 3389 3390 3391fi 3392 3393 3394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable heap counters" >&5 3395$as_echo_n "checking whether to enable heap counters... " >&6; } 3396# Check whether --enable-heap-count was given. 3397if test "${enable_heap_count+set}" = set; then : 3398 enableval=$enable_heap_count; test xyes = x"$enable_heap_count" || enable_heap_count=no 3399else 3400 enable_heap_count=yes 3401fi 3402 3403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_heap_count" >&5 3404$as_echo "$enable_heap_count" >&6; } 3405if test xyes = x"$enable_heap_count"; then : 3406 3407 3408$as_echo "#define ENABLE_HEAP_COUNT 1" >>confdefs.h 3409 3410 3411fi 3412 3413 3414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable list of local interfaces" >&5 3415$as_echo_n "checking whether to enable list of local interfaces... " >&6; } 3416# Check whether --enable-iflist was given. 3417if test "${enable_iflist+set}" = set; then : 3418 enableval=$enable_iflist; test xyes = x"$enable_iflist" || enable_iflist=no 3419else 3420 enable_iflist=yes 3421fi 3422 3423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_iflist" >&5 3424$as_echo "$enable_iflist" >&6; } 3425if test xyes = x"$enable_iflist"; then : 3426 3427 3428$as_echo "#define ENABLE_IFLIST 1" >>confdefs.h 3429 3430 3431fi 3432 3433 3434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable poll loop" >&5 3435$as_echo_n "checking whether to enable poll loop... " >&6; } 3436# Check whether --enable-poll was given. 3437if test "${enable_poll+set}" = set; then : 3438 enableval=$enable_poll; test xyes = x"$enable_poll" || enable_poll=no 3439else 3440 enable_poll=yes 3441fi 3442 3443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_poll" >&5 3444$as_echo "$enable_poll" >&6; } 3445if test xyes = x"$enable_poll"; then : 3446 3447 3448$as_echo "#define ENABLE_POLL 1" >>confdefs.h 3449 3450 3451fi 3452 3453 3454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use sendfile(2) if possible" >&5 3455$as_echo_n "checking whether to use sendfile(2) if possible... " >&6; } 3456# Check whether --enable-sendfile was given. 3457if test "${enable_sendfile+set}" = set; then : 3458 enableval=$enable_sendfile; test xyes = x"$enable_sendfile" || enable_sendfile=no 3459else 3460 enable_sendfile=yes 3461fi 3462 3463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sendfile" >&5 3464$as_echo "$enable_sendfile" >&6; } 3465if test xyes = x"$enable_sendfile"; then : 3466 3467 3468$as_echo "#define ENABLE_SENDFILE 1" >>confdefs.h 3469 3470 3471fi 3472 3473 3474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the SNTP server" >&5 3475$as_echo_n "checking whether to enable the SNTP server... " >&6; } 3476# Check whether --enable-sntp-proto was given. 3477if test "${enable_sntp_proto+set}" = set; then : 3478 enableval=$enable_sntp_proto; test xyes = x"$enable_sntp_proto" || enable_sntp_proto=no 3479else 3480 enable_sntp_proto=yes 3481fi 3482 3483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sntp_proto" >&5 3484$as_echo "$enable_sntp_proto" >&6; } 3485if test xyes = x"$enable_sntp_proto"; then : 3486 3487 3488$as_echo "#define ENABLE_SNTP_PROTO 1" >>confdefs.h 3489 3490 3491fi 3492 3493 if test xyes = x"$enable_sntp_proto"; then 3494 SNTP_TRUE= 3495 SNTP_FALSE='#' 3496else 3497 SNTP_TRUE='#' 3498 SNTP_FALSE= 3499fi 3500 3501 3502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the Gnutella spider" >&5 3503$as_echo_n "checking whether to enable the Gnutella spider... " >&6; } 3504# Check whether --enable-gnutella was given. 3505if test "${enable_gnutella+set}" = set; then : 3506 enableval=$enable_gnutella; test xyes = x"$enable_gnutella" || enable_gnutella=no 3507else 3508 enable_gnutella=yes 3509fi 3510 3511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gnutella" >&5 3512$as_echo "$enable_gnutella" >&6; } 3513if test xyes = x"$enable_gnutella"; then : 3514 3515 3516$as_echo "#define ENABLE_GNUTELLA 1" >>confdefs.h 3517 3518 3519fi 3520 3521 if test xyes = x"$enable_gnutella"; then 3522 GNUTELLA_TRUE= 3523 GNUTELLA_FALSE='#' 3524else 3525 GNUTELLA_TRUE='#' 3526 GNUTELLA_FALSE= 3527fi 3528 3529 3530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the port forwarder" >&5 3531$as_echo_n "checking whether to enable the port forwarder... " >&6; } 3532# Check whether --enable-tunnel was given. 3533if test "${enable_tunnel+set}" = set; then : 3534 enableval=$enable_tunnel; test xyes = x"$enable_tunnel" || enable_tunnel=no 3535else 3536 enable_tunnel=yes 3537fi 3538 3539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_tunnel" >&5 3540$as_echo "$enable_tunnel" >&6; } 3541if test xyes = x"$enable_tunnel"; then : 3542 3543 3544$as_echo "#define ENABLE_TUNNEL 1" >>confdefs.h 3545 3546 3547fi 3548 3549 if test xyes = x"$enable_tunnel"; then 3550 TUNNEL_TRUE= 3551 TUNNEL_FALSE='#' 3552else 3553 TUNNEL_TRUE='#' 3554 TUNNEL_FALSE= 3555fi 3556 3557 3558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for the control protocol" >&5 3559$as_echo_n "checking whether to enable support for the control protocol... " >&6; } 3560# Check whether --enable-control-proto was given. 3561if test "${enable_control_proto+set}" = set; then : 3562 enableval=$enable_control_proto; test xyes = x"$enable_control_proto" || enable_control_proto=no 3563else 3564 enable_control_proto=yes 3565fi 3566 3567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_control_proto" >&5 3568$as_echo "$enable_control_proto" >&6; } 3569if test xyes = x"$enable_control_proto"; then : 3570 3571 3572$as_echo "#define ENABLE_CONTROL_PROTO 1" >>confdefs.h 3573 3574 3575fi 3576 3577 if test xyes = x"$enable_control_proto"; then 3578 CONTROL_TRUE= 3579 CONTROL_FALSE='#' 3580else 3581 CONTROL_TRUE='#' 3582 CONTROL_FALSE= 3583fi 3584 3585 3586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for the IRC protocol" >&5 3587$as_echo_n "checking whether to enable support for the IRC protocol... " >&6; } 3588# Check whether --enable-irc-proto was given. 3589if test "${enable_irc_proto+set}" = set; then : 3590 enableval=$enable_irc_proto; test xyes = x"$enable_irc_proto" || enable_irc_proto=no 3591else 3592 enable_irc_proto=yes 3593fi 3594 3595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_irc_proto" >&5 3596$as_echo "$enable_irc_proto" >&6; } 3597if test xyes = x"$enable_irc_proto"; then : 3598 3599 3600$as_echo "#define ENABLE_IRC_PROTO 1" >>confdefs.h 3601 3602 3603fi 3604 3605 if test xyes = x"$enable_irc_proto"; then 3606 IRC_TRUE= 3607 IRC_FALSE='#' 3608else 3609 IRC_TRUE='#' 3610 IRC_FALSE= 3611fi 3612 3613 3614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TimeStamp for the IRC protocol" >&5 3615$as_echo_n "checking whether to enable TimeStamp for the IRC protocol... " >&6; } 3616# Check whether --enable-irc-ts was given. 3617if test "${enable_irc_ts+set}" = set; then : 3618 enableval=$enable_irc_ts; test xyes = x"$enable_irc_ts" || enable_irc_ts=no 3619else 3620 enable_irc_ts=yes 3621fi 3622 3623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_irc_ts" >&5 3624$as_echo "$enable_irc_ts" >&6; } 3625if test xyes = x"$enable_irc_ts"; then : 3626 3627 3628$as_echo "#define ENABLE_TIMESTAMP 1" >>confdefs.h 3629 3630 3631fi 3632 3633 3634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable password encryption" >&5 3635$as_echo_n "checking whether to enable password encryption... " >&6; } 3636# Check whether --enable-crypt was given. 3637if test "${enable_crypt+set}" = set; then : 3638 enableval=$enable_crypt; test xyes = x"$enable_crypt" || enable_crypt=no 3639else 3640 enable_crypt=no 3641fi 3642 3643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_crypt" >&5 3644$as_echo "$enable_crypt" >&6; } 3645 3646 3647 3648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for the HTTP protocol" >&5 3649$as_echo_n "checking whether to enable support for the HTTP protocol... " >&6; } 3650# Check whether --enable-http-proto was given. 3651if test "${enable_http_proto+set}" = set; then : 3652 enableval=$enable_http_proto; test xyes = x"$enable_http_proto" || enable_http_proto=no 3653else 3654 enable_http_proto=yes 3655fi 3656 3657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_http_proto" >&5 3658$as_echo "$enable_http_proto" >&6; } 3659if test xyes = x"$enable_http_proto"; then : 3660 3661 3662$as_echo "#define ENABLE_HTTP_PROTO 1" >>confdefs.h 3663 3664 3665fi 3666 3667 if test xyes = x"$enable_http_proto"; then 3668 HTTP_TRUE= 3669 HTTP_FALSE='#' 3670else 3671 HTTP_TRUE='#' 3672 HTTP_FALSE= 3673fi 3674 3675 3676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the fake ident server" >&5 3677$as_echo_n "checking whether to enable the fake ident server... " >&6; } 3678# Check whether --enable-fakeident was given. 3679if test "${enable_fakeident+set}" = set; then : 3680 enableval=$enable_fakeident; test xyes = x"$enable_fakeident" || enable_fakeident=no 3681else 3682 enable_fakeident=yes 3683fi 3684 3685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fakeident" >&5 3686$as_echo "$enable_fakeident" >&6; } 3687if test xyes = x"$enable_fakeident"; then : 3688 3689 3690$as_echo "#define ENABLE_FAKEIDENT 1" >>confdefs.h 3691 3692 3693fi 3694 3695 if test xyes = x"$enable_fakeident"; then 3696 FAKEIDENT_TRUE= 3697 FAKEIDENT_FALSE='#' 3698else 3699 FAKEIDENT_TRUE='#' 3700 FAKEIDENT_FALSE= 3701fi 3702 3703 3704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the passthrough server" >&5 3705$as_echo_n "checking whether to enable the passthrough server... " >&6; } 3706# Check whether --enable-passthrough was given. 3707if test "${enable_passthrough+set}" = set; then : 3708 enableval=$enable_passthrough; test xyes = x"$enable_passthrough" || enable_passthrough=no 3709else 3710 enable_passthrough=yes 3711fi 3712 3713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_passthrough" >&5 3714$as_echo "$enable_passthrough" >&6; } 3715if test xyes = x"$enable_passthrough"; then : 3716 3717 3718$as_echo "#define ENABLE_PROG_SERVER 1" >>confdefs.h 3719 3720 3721fi 3722 3723 if test xyes = x"$enable_passthrough"; then 3724 PROG_TRUE= 3725 PROG_FALSE='#' 3726else 3727 PROG_TRUE='#' 3728 PROG_FALSE= 3729fi 3730 3731 3732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for flood protection" >&5 3733$as_echo_n "checking whether to enable support for flood protection... " >&6; } 3734# Check whether --enable-flood was given. 3735if test "${enable_flood+set}" = set; then : 3736 enableval=$enable_flood; test xyes = x"$enable_flood" || enable_flood=no 3737else 3738 enable_flood=yes 3739fi 3740 3741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_flood" >&5 3742$as_echo "$enable_flood" >&6; } 3743if test xyes = x"$enable_flood"; then : 3744 3745 3746$as_echo "#define ENABLE_FLOOD_PROTECTION 1" >>confdefs.h 3747 3748 3749fi 3750 3751 3752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include guile server support" >&5 3753$as_echo_n "checking whether to include guile server support... " >&6; } 3754# Check whether --enable-guile-server was given. 3755if test "${enable_guile_server+set}" = set; then : 3756 enableval=$enable_guile_server; test xyes = x"$enable_guile_server" || enable_guile_server=no 3757else 3758 enable_guile_server=yes 3759fi 3760 3761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_guile_server" >&5 3762$as_echo "$enable_guile_server" >&6; } 3763if test xyes = x"$enable_guile_server"; then : 3764 3765 3766$as_echo "#define ENABLE_GUILE_SERVER 1" >>confdefs.h 3767 3768 3769fi 3770 3771 3772 3773# Check whether --with-mingw was given. 3774if test "${with_mingw+set}" = set; then : 3775 withval=$with_mingw; case "$with_mingw" in #( 3776 no) : 3777 with_mingw=no ;; #( 3778 yes) : 3779 with_mingw=/usr/local/mingw ;; #( 3780 *) : 3781 with_mingw="$withval" ;; 3782esac 3783else 3784 with_mingw=/usr/local/mingw 3785fi 3786 3787 3788MINGDIR="$with_mingw" 3789 3790case $host_os in #( 3791 *mingw32*) : 3792 MINGW32=yes CYGWIN=no ;; #( 3793 *cygwin*) : 3794 MINGW32=no CYGWIN=yes ;; #( 3795 *) : 3796 ;; 3797esac 3798 if test xyes = x"$MINGW32"; then 3799 MINGW32_TRUE= 3800 MINGW32_FALSE='#' 3801else 3802 MINGW32_TRUE='#' 3803 MINGW32_FALSE= 3804fi 3805 3806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libserveez and headers" >&5 3807$as_echo_n "checking whether to install libserveez and headers... " >&6; } 3808# Check whether --enable-libserveez-install was given. 3809if test "${enable_libserveez_install+set}" = set; then : 3810 enableval=$enable_libserveez_install; test xyes = x"$enable_libserveez_install" || enable_libserveez_install=no 3811else 3812 enable_libserveez_install=no 3813fi 3814 3815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libserveez_install" >&5 3816$as_echo "$enable_libserveez_install" >&6; } 3817if test xyes = x"$enable_libserveez_install"; then : 3818 3819 3820$as_echo "#define INSTALL_LIBSERVEEZ_AND_HEADERS 1" >>confdefs.h 3821 3822 3823fi 3824 3825 if test xyes = x"$enable_libserveez_install"; then 3826 COURAGEOUS_TRUE= 3827 COURAGEOUS_FALSE='#' 3828else 3829 COURAGEOUS_TRUE='#' 3830 COURAGEOUS_FALSE= 3831fi 3832 3833 3834 3835DEPDIR="${am__leading_dot}deps" 3836 3837ac_config_commands="$ac_config_commands depfiles" 3838 3839 3840am_make=${MAKE-make} 3841cat > confinc << 'END' 3842am__doit: 3843 @echo this is the am__doit target 3844.PHONY: am__doit 3845END 3846# If we don't find an include directive, just comment out the code. 3847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3848$as_echo_n "checking for style of include used by $am_make... " >&6; } 3849am__include="#" 3850am__quote= 3851_am_result=none 3852# First try GNU make style include. 3853echo "include confinc" > confmf 3854# Ignore all kinds of additional output from 'make'. 3855case `$am_make -s -f confmf 2> /dev/null` in #( 3856*the\ am__doit\ target*) 3857 am__include=include 3858 am__quote= 3859 _am_result=GNU 3860 ;; 3861esac 3862# Now try BSD make style include. 3863if test "$am__include" = "#"; then 3864 echo '.include "confinc"' > confmf 3865 case `$am_make -s -f confmf 2> /dev/null` in #( 3866 *the\ am__doit\ target*) 3867 am__include=.include 3868 am__quote="\"" 3869 _am_result=BSD 3870 ;; 3871 esac 3872fi 3873 3874 3875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3876$as_echo "$_am_result" >&6; } 3877rm -f confinc confmf 3878 3879# Check whether --enable-dependency-tracking was given. 3880if test "${enable_dependency_tracking+set}" = set; then : 3881 enableval=$enable_dependency_tracking; 3882fi 3883 3884if test "x$enable_dependency_tracking" != xno; then 3885 am_depcomp="$ac_aux_dir/depcomp" 3886 AMDEPBACKSLASH='\' 3887 am__nodep='_no' 3888fi 3889 if test "x$enable_dependency_tracking" != xno; then 3890 AMDEP_TRUE= 3891 AMDEP_FALSE='#' 3892else 3893 AMDEP_TRUE='#' 3894 AMDEP_FALSE= 3895fi 3896 3897 3898ac_ext=c 3899ac_cpp='$CPP $CPPFLAGS' 3900ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3901ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3902ac_compiler_gnu=$ac_cv_c_compiler_gnu 3903if test -n "$ac_tool_prefix"; then 3904 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3905set dummy ${ac_tool_prefix}gcc; ac_word=$2 3906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3907$as_echo_n "checking for $ac_word... " >&6; } 3908if ${ac_cv_prog_CC+:} false; then : 3909 $as_echo_n "(cached) " >&6 3910else 3911 if test -n "$CC"; then 3912 ac_cv_prog_CC="$CC" # Let the user override the test. 3913else 3914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3915for as_dir in $PATH 3916do 3917 IFS=$as_save_IFS 3918 test -z "$as_dir" && as_dir=. 3919 for ac_exec_ext in '' $ac_executable_extensions; do 3920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3921 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3923 break 2 3924 fi 3925done 3926 done 3927IFS=$as_save_IFS 3928 3929fi 3930fi 3931CC=$ac_cv_prog_CC 3932if test -n "$CC"; then 3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3934$as_echo "$CC" >&6; } 3935else 3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3937$as_echo "no" >&6; } 3938fi 3939 3940 3941fi 3942if test -z "$ac_cv_prog_CC"; then 3943 ac_ct_CC=$CC 3944 # Extract the first word of "gcc", so it can be a program name with args. 3945set dummy gcc; ac_word=$2 3946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3947$as_echo_n "checking for $ac_word... " >&6; } 3948if ${ac_cv_prog_ac_ct_CC+:} false; then : 3949 $as_echo_n "(cached) " >&6 3950else 3951 if test -n "$ac_ct_CC"; then 3952 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3953else 3954as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3955for as_dir in $PATH 3956do 3957 IFS=$as_save_IFS 3958 test -z "$as_dir" && as_dir=. 3959 for ac_exec_ext in '' $ac_executable_extensions; do 3960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3961 ac_cv_prog_ac_ct_CC="gcc" 3962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3963 break 2 3964 fi 3965done 3966 done 3967IFS=$as_save_IFS 3968 3969fi 3970fi 3971ac_ct_CC=$ac_cv_prog_ac_ct_CC 3972if test -n "$ac_ct_CC"; then 3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3974$as_echo "$ac_ct_CC" >&6; } 3975else 3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3977$as_echo "no" >&6; } 3978fi 3979 3980 if test "x$ac_ct_CC" = x; then 3981 CC="" 3982 else 3983 case $cross_compiling:$ac_tool_warned in 3984yes:) 3985{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3986$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3987ac_tool_warned=yes ;; 3988esac 3989 CC=$ac_ct_CC 3990 fi 3991else 3992 CC="$ac_cv_prog_CC" 3993fi 3994 3995if test -z "$CC"; then 3996 if test -n "$ac_tool_prefix"; then 3997 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3998set dummy ${ac_tool_prefix}cc; ac_word=$2 3999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4000$as_echo_n "checking for $ac_word... " >&6; } 4001if ${ac_cv_prog_CC+:} false; then : 4002 $as_echo_n "(cached) " >&6 4003else 4004 if test -n "$CC"; then 4005 ac_cv_prog_CC="$CC" # Let the user override the test. 4006else 4007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4008for as_dir in $PATH 4009do 4010 IFS=$as_save_IFS 4011 test -z "$as_dir" && as_dir=. 4012 for ac_exec_ext in '' $ac_executable_extensions; do 4013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4014 ac_cv_prog_CC="${ac_tool_prefix}cc" 4015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4016 break 2 4017 fi 4018done 4019 done 4020IFS=$as_save_IFS 4021 4022fi 4023fi 4024CC=$ac_cv_prog_CC 4025if test -n "$CC"; then 4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4027$as_echo "$CC" >&6; } 4028else 4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4030$as_echo "no" >&6; } 4031fi 4032 4033 4034 fi 4035fi 4036if test -z "$CC"; then 4037 # Extract the first word of "cc", so it can be a program name with args. 4038set dummy cc; ac_word=$2 4039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4040$as_echo_n "checking for $ac_word... " >&6; } 4041if ${ac_cv_prog_CC+:} false; then : 4042 $as_echo_n "(cached) " >&6 4043else 4044 if test -n "$CC"; then 4045 ac_cv_prog_CC="$CC" # Let the user override the test. 4046else 4047 ac_prog_rejected=no 4048as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4049for as_dir in $PATH 4050do 4051 IFS=$as_save_IFS 4052 test -z "$as_dir" && as_dir=. 4053 for ac_exec_ext in '' $ac_executable_extensions; do 4054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4055 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4056 ac_prog_rejected=yes 4057 continue 4058 fi 4059 ac_cv_prog_CC="cc" 4060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4061 break 2 4062 fi 4063done 4064 done 4065IFS=$as_save_IFS 4066 4067if test $ac_prog_rejected = yes; then 4068 # We found a bogon in the path, so make sure we never use it. 4069 set dummy $ac_cv_prog_CC 4070 shift 4071 if test $# != 0; then 4072 # We chose a different compiler from the bogus one. 4073 # However, it has the same basename, so the bogon will be chosen 4074 # first if we set CC to just the basename; use the full file name. 4075 shift 4076 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4077 fi 4078fi 4079fi 4080fi 4081CC=$ac_cv_prog_CC 4082if test -n "$CC"; then 4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4084$as_echo "$CC" >&6; } 4085else 4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4087$as_echo "no" >&6; } 4088fi 4089 4090 4091fi 4092if test -z "$CC"; then 4093 if test -n "$ac_tool_prefix"; then 4094 for ac_prog in cl.exe 4095 do 4096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4097set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4099$as_echo_n "checking for $ac_word... " >&6; } 4100if ${ac_cv_prog_CC+:} false; then : 4101 $as_echo_n "(cached) " >&6 4102else 4103 if test -n "$CC"; then 4104 ac_cv_prog_CC="$CC" # Let the user override the test. 4105else 4106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4107for as_dir in $PATH 4108do 4109 IFS=$as_save_IFS 4110 test -z "$as_dir" && as_dir=. 4111 for ac_exec_ext in '' $ac_executable_extensions; do 4112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4113 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4115 break 2 4116 fi 4117done 4118 done 4119IFS=$as_save_IFS 4120 4121fi 4122fi 4123CC=$ac_cv_prog_CC 4124if test -n "$CC"; then 4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4126$as_echo "$CC" >&6; } 4127else 4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4129$as_echo "no" >&6; } 4130fi 4131 4132 4133 test -n "$CC" && break 4134 done 4135fi 4136if test -z "$CC"; then 4137 ac_ct_CC=$CC 4138 for ac_prog in cl.exe 4139do 4140 # Extract the first word of "$ac_prog", so it can be a program name with args. 4141set dummy $ac_prog; ac_word=$2 4142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4143$as_echo_n "checking for $ac_word... " >&6; } 4144if ${ac_cv_prog_ac_ct_CC+:} false; then : 4145 $as_echo_n "(cached) " >&6 4146else 4147 if test -n "$ac_ct_CC"; then 4148 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4149else 4150as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4151for as_dir in $PATH 4152do 4153 IFS=$as_save_IFS 4154 test -z "$as_dir" && as_dir=. 4155 for ac_exec_ext in '' $ac_executable_extensions; do 4156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4157 ac_cv_prog_ac_ct_CC="$ac_prog" 4158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4159 break 2 4160 fi 4161done 4162 done 4163IFS=$as_save_IFS 4164 4165fi 4166fi 4167ac_ct_CC=$ac_cv_prog_ac_ct_CC 4168if test -n "$ac_ct_CC"; then 4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4170$as_echo "$ac_ct_CC" >&6; } 4171else 4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4173$as_echo "no" >&6; } 4174fi 4175 4176 4177 test -n "$ac_ct_CC" && break 4178done 4179 4180 if test "x$ac_ct_CC" = x; then 4181 CC="" 4182 else 4183 case $cross_compiling:$ac_tool_warned in 4184yes:) 4185{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4186$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4187ac_tool_warned=yes ;; 4188esac 4189 CC=$ac_ct_CC 4190 fi 4191fi 4192 4193fi 4194 4195 4196test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4197$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4198as_fn_error $? "no acceptable C compiler found in \$PATH 4199See \`config.log' for more details" "$LINENO" 5; } 4200 4201# Provide some information about the compiler. 4202$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4203set X $ac_compile 4204ac_compiler=$2 4205for ac_option in --version -v -V -qversion; do 4206 { { ac_try="$ac_compiler $ac_option >&5" 4207case "(($ac_try" in 4208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4209 *) ac_try_echo=$ac_try;; 4210esac 4211eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4212$as_echo "$ac_try_echo"; } >&5 4213 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4214 ac_status=$? 4215 if test -s conftest.err; then 4216 sed '10a\ 4217... rest of stderr output deleted ... 4218 10q' conftest.err >conftest.er1 4219 cat conftest.er1 >&5 4220 fi 4221 rm -f conftest.er1 conftest.err 4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4223 test $ac_status = 0; } 4224done 4225 4226cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4227/* end confdefs.h. */ 4228 4229int 4230main () 4231{ 4232 4233 ; 4234 return 0; 4235} 4236_ACEOF 4237ac_clean_files_save=$ac_clean_files 4238ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4239# Try to create an executable without -o first, disregard a.out. 4240# It will help us diagnose broken compilers, and finding out an intuition 4241# of exeext. 4242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4243$as_echo_n "checking whether the C compiler works... " >&6; } 4244ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4245 4246# The possible output files: 4247ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4248 4249ac_rmfiles= 4250for ac_file in $ac_files 4251do 4252 case $ac_file in 4253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4254 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4255 esac 4256done 4257rm -f $ac_rmfiles 4258 4259if { { ac_try="$ac_link_default" 4260case "(($ac_try" in 4261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4262 *) ac_try_echo=$ac_try;; 4263esac 4264eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4265$as_echo "$ac_try_echo"; } >&5 4266 (eval "$ac_link_default") 2>&5 4267 ac_status=$? 4268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4269 test $ac_status = 0; }; then : 4270 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4271# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4272# in a Makefile. We should not override ac_cv_exeext if it was cached, 4273# so that the user can short-circuit this test for compilers unknown to 4274# Autoconf. 4275for ac_file in $ac_files '' 4276do 4277 test -f "$ac_file" || continue 4278 case $ac_file in 4279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4280 ;; 4281 [ab].out ) 4282 # We found the default executable, but exeext='' is most 4283 # certainly right. 4284 break;; 4285 *.* ) 4286 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4287 then :; else 4288 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4289 fi 4290 # We set ac_cv_exeext here because the later test for it is not 4291 # safe: cross compilers may not add the suffix if given an `-o' 4292 # argument, so we may need to know it at that point already. 4293 # Even if this section looks crufty: it has the advantage of 4294 # actually working. 4295 break;; 4296 * ) 4297 break;; 4298 esac 4299done 4300test "$ac_cv_exeext" = no && ac_cv_exeext= 4301 4302else 4303 ac_file='' 4304fi 4305if test -z "$ac_file"; then : 4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4307$as_echo "no" >&6; } 4308$as_echo "$as_me: failed program was:" >&5 4309sed 's/^/| /' conftest.$ac_ext >&5 4310 4311{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4312$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4313as_fn_error 77 "C compiler cannot create executables 4314See \`config.log' for more details" "$LINENO" 5; } 4315else 4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4317$as_echo "yes" >&6; } 4318fi 4319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4320$as_echo_n "checking for C compiler default output file name... " >&6; } 4321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4322$as_echo "$ac_file" >&6; } 4323ac_exeext=$ac_cv_exeext 4324 4325rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4326ac_clean_files=$ac_clean_files_save 4327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4328$as_echo_n "checking for suffix of executables... " >&6; } 4329if { { ac_try="$ac_link" 4330case "(($ac_try" in 4331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4332 *) ac_try_echo=$ac_try;; 4333esac 4334eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4335$as_echo "$ac_try_echo"; } >&5 4336 (eval "$ac_link") 2>&5 4337 ac_status=$? 4338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4339 test $ac_status = 0; }; then : 4340 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4341# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4342# work properly (i.e., refer to `conftest.exe'), while it won't with 4343# `rm'. 4344for ac_file in conftest.exe conftest conftest.*; do 4345 test -f "$ac_file" || continue 4346 case $ac_file in 4347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4348 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4349 break;; 4350 * ) break;; 4351 esac 4352done 4353else 4354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4355$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4356as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4357See \`config.log' for more details" "$LINENO" 5; } 4358fi 4359rm -f conftest conftest$ac_cv_exeext 4360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4361$as_echo "$ac_cv_exeext" >&6; } 4362 4363rm -f conftest.$ac_ext 4364EXEEXT=$ac_cv_exeext 4365ac_exeext=$EXEEXT 4366cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4367/* end confdefs.h. */ 4368#include <stdio.h> 4369int 4370main () 4371{ 4372FILE *f = fopen ("conftest.out", "w"); 4373 return ferror (f) || fclose (f) != 0; 4374 4375 ; 4376 return 0; 4377} 4378_ACEOF 4379ac_clean_files="$ac_clean_files conftest.out" 4380# Check that the compiler produces executables we can run. If not, either 4381# the compiler is broken, or we cross compile. 4382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4383$as_echo_n "checking whether we are cross compiling... " >&6; } 4384if test "$cross_compiling" != yes; then 4385 { { ac_try="$ac_link" 4386case "(($ac_try" in 4387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4388 *) ac_try_echo=$ac_try;; 4389esac 4390eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4391$as_echo "$ac_try_echo"; } >&5 4392 (eval "$ac_link") 2>&5 4393 ac_status=$? 4394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4395 test $ac_status = 0; } 4396 if { ac_try='./conftest$ac_cv_exeext' 4397 { { case "(($ac_try" in 4398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4399 *) ac_try_echo=$ac_try;; 4400esac 4401eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4402$as_echo "$ac_try_echo"; } >&5 4403 (eval "$ac_try") 2>&5 4404 ac_status=$? 4405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4406 test $ac_status = 0; }; }; then 4407 cross_compiling=no 4408 else 4409 if test "$cross_compiling" = maybe; then 4410 cross_compiling=yes 4411 else 4412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4413$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4414as_fn_error $? "cannot run C compiled programs. 4415If you meant to cross compile, use \`--host'. 4416See \`config.log' for more details" "$LINENO" 5; } 4417 fi 4418 fi 4419fi 4420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4421$as_echo "$cross_compiling" >&6; } 4422 4423rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4424ac_clean_files=$ac_clean_files_save 4425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4426$as_echo_n "checking for suffix of object files... " >&6; } 4427if ${ac_cv_objext+:} false; then : 4428 $as_echo_n "(cached) " >&6 4429else 4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4431/* end confdefs.h. */ 4432 4433int 4434main () 4435{ 4436 4437 ; 4438 return 0; 4439} 4440_ACEOF 4441rm -f conftest.o conftest.obj 4442if { { ac_try="$ac_compile" 4443case "(($ac_try" in 4444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4445 *) ac_try_echo=$ac_try;; 4446esac 4447eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4448$as_echo "$ac_try_echo"; } >&5 4449 (eval "$ac_compile") 2>&5 4450 ac_status=$? 4451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4452 test $ac_status = 0; }; then : 4453 for ac_file in conftest.o conftest.obj conftest.*; do 4454 test -f "$ac_file" || continue; 4455 case $ac_file in 4456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4457 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4458 break;; 4459 esac 4460done 4461else 4462 $as_echo "$as_me: failed program was:" >&5 4463sed 's/^/| /' conftest.$ac_ext >&5 4464 4465{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4466$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4467as_fn_error $? "cannot compute suffix of object files: cannot compile 4468See \`config.log' for more details" "$LINENO" 5; } 4469fi 4470rm -f conftest.$ac_cv_objext conftest.$ac_ext 4471fi 4472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4473$as_echo "$ac_cv_objext" >&6; } 4474OBJEXT=$ac_cv_objext 4475ac_objext=$OBJEXT 4476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4477$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4478if ${ac_cv_c_compiler_gnu+:} false; then : 4479 $as_echo_n "(cached) " >&6 4480else 4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4482/* end confdefs.h. */ 4483 4484int 4485main () 4486{ 4487#ifndef __GNUC__ 4488 choke me 4489#endif 4490 4491 ; 4492 return 0; 4493} 4494_ACEOF 4495if ac_fn_c_try_compile "$LINENO"; then : 4496 ac_compiler_gnu=yes 4497else 4498 ac_compiler_gnu=no 4499fi 4500rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4501ac_cv_c_compiler_gnu=$ac_compiler_gnu 4502 4503fi 4504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4505$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4506if test $ac_compiler_gnu = yes; then 4507 GCC=yes 4508else 4509 GCC= 4510fi 4511ac_test_CFLAGS=${CFLAGS+set} 4512ac_save_CFLAGS=$CFLAGS 4513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4514$as_echo_n "checking whether $CC accepts -g... " >&6; } 4515if ${ac_cv_prog_cc_g+:} false; then : 4516 $as_echo_n "(cached) " >&6 4517else 4518 ac_save_c_werror_flag=$ac_c_werror_flag 4519 ac_c_werror_flag=yes 4520 ac_cv_prog_cc_g=no 4521 CFLAGS="-g" 4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4523/* end confdefs.h. */ 4524 4525int 4526main () 4527{ 4528 4529 ; 4530 return 0; 4531} 4532_ACEOF 4533if ac_fn_c_try_compile "$LINENO"; then : 4534 ac_cv_prog_cc_g=yes 4535else 4536 CFLAGS="" 4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4538/* end confdefs.h. */ 4539 4540int 4541main () 4542{ 4543 4544 ; 4545 return 0; 4546} 4547_ACEOF 4548if ac_fn_c_try_compile "$LINENO"; then : 4549 4550else 4551 ac_c_werror_flag=$ac_save_c_werror_flag 4552 CFLAGS="-g" 4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4554/* end confdefs.h. */ 4555 4556int 4557main () 4558{ 4559 4560 ; 4561 return 0; 4562} 4563_ACEOF 4564if ac_fn_c_try_compile "$LINENO"; then : 4565 ac_cv_prog_cc_g=yes 4566fi 4567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4568fi 4569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4570fi 4571rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4572 ac_c_werror_flag=$ac_save_c_werror_flag 4573fi 4574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4575$as_echo "$ac_cv_prog_cc_g" >&6; } 4576if test "$ac_test_CFLAGS" = set; then 4577 CFLAGS=$ac_save_CFLAGS 4578elif test $ac_cv_prog_cc_g = yes; then 4579 if test "$GCC" = yes; then 4580 CFLAGS="-g -O2" 4581 else 4582 CFLAGS="-g" 4583 fi 4584else 4585 if test "$GCC" = yes; then 4586 CFLAGS="-O2" 4587 else 4588 CFLAGS= 4589 fi 4590fi 4591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4592$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4593if ${ac_cv_prog_cc_c89+:} false; then : 4594 $as_echo_n "(cached) " >&6 4595else 4596 ac_cv_prog_cc_c89=no 4597ac_save_CC=$CC 4598cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4599/* end confdefs.h. */ 4600#include <stdarg.h> 4601#include <stdio.h> 4602struct stat; 4603/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4604struct buf { int x; }; 4605FILE * (*rcsopen) (struct buf *, struct stat *, int); 4606static char *e (p, i) 4607 char **p; 4608 int i; 4609{ 4610 return p[i]; 4611} 4612static char *f (char * (*g) (char **, int), char **p, ...) 4613{ 4614 char *s; 4615 va_list v; 4616 va_start (v,p); 4617 s = g (p, va_arg (v,int)); 4618 va_end (v); 4619 return s; 4620} 4621 4622/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4623 function prototypes and stuff, but not '\xHH' hex character constants. 4624 These don't provoke an error unfortunately, instead are silently treated 4625 as 'x'. The following induces an error, until -std is added to get 4626 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4627 array size at least. It's necessary to write '\x00'==0 to get something 4628 that's true only with -std. */ 4629int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4630 4631/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4632 inside strings and character constants. */ 4633#define FOO(x) 'x' 4634int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4635 4636int test (int i, double x); 4637struct s1 {int (*f) (int a);}; 4638struct s2 {int (*f) (double a);}; 4639int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4640int argc; 4641char **argv; 4642int 4643main () 4644{ 4645return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4646 ; 4647 return 0; 4648} 4649_ACEOF 4650for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4651 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4652do 4653 CC="$ac_save_CC $ac_arg" 4654 if ac_fn_c_try_compile "$LINENO"; then : 4655 ac_cv_prog_cc_c89=$ac_arg 4656fi 4657rm -f core conftest.err conftest.$ac_objext 4658 test "x$ac_cv_prog_cc_c89" != "xno" && break 4659done 4660rm -f conftest.$ac_ext 4661CC=$ac_save_CC 4662 4663fi 4664# AC_CACHE_VAL 4665case "x$ac_cv_prog_cc_c89" in 4666 x) 4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4668$as_echo "none needed" >&6; } ;; 4669 xno) 4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4671$as_echo "unsupported" >&6; } ;; 4672 *) 4673 CC="$CC $ac_cv_prog_cc_c89" 4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4675$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4676esac 4677if test "x$ac_cv_prog_cc_c89" != xno; then : 4678 4679fi 4680 4681ac_ext=c 4682ac_cpp='$CPP $CPPFLAGS' 4683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4685ac_compiler_gnu=$ac_cv_c_compiler_gnu 4686 4687ac_ext=c 4688ac_cpp='$CPP $CPPFLAGS' 4689ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4690ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4691ac_compiler_gnu=$ac_cv_c_compiler_gnu 4692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4693$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4694if ${am_cv_prog_cc_c_o+:} false; then : 4695 $as_echo_n "(cached) " >&6 4696else 4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4698/* end confdefs.h. */ 4699 4700int 4701main () 4702{ 4703 4704 ; 4705 return 0; 4706} 4707_ACEOF 4708 # Make sure it works both with $CC and with simple cc. 4709 # Following AC_PROG_CC_C_O, we do the test twice because some 4710 # compilers refuse to overwrite an existing .o file with -o, 4711 # though they will create one. 4712 am_cv_prog_cc_c_o=yes 4713 for am_i in 1 2; do 4714 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4715 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4716 ac_status=$? 4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4718 (exit $ac_status); } \ 4719 && test -f conftest2.$ac_objext; then 4720 : OK 4721 else 4722 am_cv_prog_cc_c_o=no 4723 break 4724 fi 4725 done 4726 rm -f core conftest* 4727 unset am_i 4728fi 4729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4730$as_echo "$am_cv_prog_cc_c_o" >&6; } 4731if test "$am_cv_prog_cc_c_o" != yes; then 4732 # Losing compiler, so override with the script. 4733 # FIXME: It is wrong to rewrite CC. 4734 # But if we don't then we get into trouble of one sort or another. 4735 # A longer-term fix would be to have automake use am__CC in this case, 4736 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4737 CC="$am_aux_dir/compile $CC" 4738fi 4739ac_ext=c 4740ac_cpp='$CPP $CPPFLAGS' 4741ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4742ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4743ac_compiler_gnu=$ac_cv_c_compiler_gnu 4744 4745 4746depcc="$CC" am_compiler_list= 4747 4748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4749$as_echo_n "checking dependency style of $depcc... " >&6; } 4750if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4751 $as_echo_n "(cached) " >&6 4752else 4753 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4754 # We make a subdir and do the tests there. Otherwise we can end up 4755 # making bogus files that we don't know about and never remove. For 4756 # instance it was reported that on HP-UX the gcc test will end up 4757 # making a dummy file named 'D' -- because '-MD' means "put the output 4758 # in D". 4759 rm -rf conftest.dir 4760 mkdir conftest.dir 4761 # Copy depcomp to subdir because otherwise we won't find it if we're 4762 # using a relative directory. 4763 cp "$am_depcomp" conftest.dir 4764 cd conftest.dir 4765 # We will build objects and dependencies in a subdirectory because 4766 # it helps to detect inapplicable dependency modes. For instance 4767 # both Tru64's cc and ICC support -MD to output dependencies as a 4768 # side effect of compilation, but ICC will put the dependencies in 4769 # the current directory while Tru64 will put them in the object 4770 # directory. 4771 mkdir sub 4772 4773 am_cv_CC_dependencies_compiler_type=none 4774 if test "$am_compiler_list" = ""; then 4775 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4776 fi 4777 am__universal=false 4778 case " $depcc " in #( 4779 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4780 esac 4781 4782 for depmode in $am_compiler_list; do 4783 # Setup a source with many dependencies, because some compilers 4784 # like to wrap large dependency lists on column 80 (with \), and 4785 # we should not choose a depcomp mode which is confused by this. 4786 # 4787 # We need to recreate these files for each test, as the compiler may 4788 # overwrite some of them when testing with obscure command lines. 4789 # This happens at least with the AIX C compiler. 4790 : > sub/conftest.c 4791 for i in 1 2 3 4 5 6; do 4792 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4793 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4794 # Solaris 10 /bin/sh. 4795 echo '/* dummy */' > sub/conftst$i.h 4796 done 4797 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4798 4799 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4800 # mode. It turns out that the SunPro C++ compiler does not properly 4801 # handle '-M -o', and we need to detect this. Also, some Intel 4802 # versions had trouble with output in subdirs. 4803 am__obj=sub/conftest.${OBJEXT-o} 4804 am__minus_obj="-o $am__obj" 4805 case $depmode in 4806 gcc) 4807 # This depmode causes a compiler race in universal mode. 4808 test "$am__universal" = false || continue 4809 ;; 4810 nosideeffect) 4811 # After this tag, mechanisms are not by side-effect, so they'll 4812 # only be used when explicitly requested. 4813 if test "x$enable_dependency_tracking" = xyes; then 4814 continue 4815 else 4816 break 4817 fi 4818 ;; 4819 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4820 # This compiler won't grok '-c -o', but also, the minuso test has 4821 # not run yet. These depmodes are late enough in the game, and 4822 # so weak that their functioning should not be impacted. 4823 am__obj=conftest.${OBJEXT-o} 4824 am__minus_obj= 4825 ;; 4826 none) break ;; 4827 esac 4828 if depmode=$depmode \ 4829 source=sub/conftest.c object=$am__obj \ 4830 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4831 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4832 >/dev/null 2>conftest.err && 4833 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4834 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4835 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4836 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4837 # icc doesn't choke on unknown options, it will just issue warnings 4838 # or remarks (even with -Werror). So we grep stderr for any message 4839 # that says an option was ignored or not supported. 4840 # When given -MP, icc 7.0 and 7.1 complain thusly: 4841 # icc: Command line warning: ignoring option '-M'; no argument required 4842 # The diagnosis changed in icc 8.0: 4843 # icc: Command line remark: option '-MP' not supported 4844 if (grep 'ignoring option' conftest.err || 4845 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4846 am_cv_CC_dependencies_compiler_type=$depmode 4847 break 4848 fi 4849 fi 4850 done 4851 4852 cd .. 4853 rm -rf conftest.dir 4854else 4855 am_cv_CC_dependencies_compiler_type=none 4856fi 4857 4858fi 4859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4860$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4861CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4862 4863 if 4864 test "x$enable_dependency_tracking" != xno \ 4865 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4866 am__fastdepCC_TRUE= 4867 am__fastdepCC_FALSE='#' 4868else 4869 am__fastdepCC_TRUE='#' 4870 am__fastdepCC_FALSE= 4871fi 4872 4873 4874 4875ac_ext=c 4876ac_cpp='$CPP $CPPFLAGS' 4877ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4878ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4879ac_compiler_gnu=$ac_cv_c_compiler_gnu 4880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4881$as_echo_n "checking how to run the C preprocessor... " >&6; } 4882# On Suns, sometimes $CPP names a directory. 4883if test -n "$CPP" && test -d "$CPP"; then 4884 CPP= 4885fi 4886if test -z "$CPP"; then 4887 if ${ac_cv_prog_CPP+:} false; then : 4888 $as_echo_n "(cached) " >&6 4889else 4890 # Double quotes because CPP needs to be expanded 4891 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4892 do 4893 ac_preproc_ok=false 4894for ac_c_preproc_warn_flag in '' yes 4895do 4896 # Use a header file that comes with gcc, so configuring glibc 4897 # with a fresh cross-compiler works. 4898 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4899 # <limits.h> exists even on freestanding compilers. 4900 # On the NeXT, cc -E runs the code through the compiler's parser, 4901 # not just through cpp. "Syntax error" is here to catch this case. 4902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4903/* end confdefs.h. */ 4904#ifdef __STDC__ 4905# include <limits.h> 4906#else 4907# include <assert.h> 4908#endif 4909 Syntax error 4910_ACEOF 4911if ac_fn_c_try_cpp "$LINENO"; then : 4912 4913else 4914 # Broken: fails on valid input. 4915continue 4916fi 4917rm -f conftest.err conftest.i conftest.$ac_ext 4918 4919 # OK, works on sane cases. Now check whether nonexistent headers 4920 # can be detected and how. 4921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4922/* end confdefs.h. */ 4923#include <ac_nonexistent.h> 4924_ACEOF 4925if ac_fn_c_try_cpp "$LINENO"; then : 4926 # Broken: success on invalid input. 4927continue 4928else 4929 # Passes both tests. 4930ac_preproc_ok=: 4931break 4932fi 4933rm -f conftest.err conftest.i conftest.$ac_ext 4934 4935done 4936# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4937rm -f conftest.i conftest.err conftest.$ac_ext 4938if $ac_preproc_ok; then : 4939 break 4940fi 4941 4942 done 4943 ac_cv_prog_CPP=$CPP 4944 4945fi 4946 CPP=$ac_cv_prog_CPP 4947else 4948 ac_cv_prog_CPP=$CPP 4949fi 4950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4951$as_echo "$CPP" >&6; } 4952ac_preproc_ok=false 4953for ac_c_preproc_warn_flag in '' yes 4954do 4955 # Use a header file that comes with gcc, so configuring glibc 4956 # with a fresh cross-compiler works. 4957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4958 # <limits.h> exists even on freestanding compilers. 4959 # On the NeXT, cc -E runs the code through the compiler's parser, 4960 # not just through cpp. "Syntax error" is here to catch this case. 4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4962/* end confdefs.h. */ 4963#ifdef __STDC__ 4964# include <limits.h> 4965#else 4966# include <assert.h> 4967#endif 4968 Syntax error 4969_ACEOF 4970if ac_fn_c_try_cpp "$LINENO"; then : 4971 4972else 4973 # Broken: fails on valid input. 4974continue 4975fi 4976rm -f conftest.err conftest.i conftest.$ac_ext 4977 4978 # OK, works on sane cases. Now check whether nonexistent headers 4979 # can be detected and how. 4980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4981/* end confdefs.h. */ 4982#include <ac_nonexistent.h> 4983_ACEOF 4984if ac_fn_c_try_cpp "$LINENO"; then : 4985 # Broken: success on invalid input. 4986continue 4987else 4988 # Passes both tests. 4989ac_preproc_ok=: 4990break 4991fi 4992rm -f conftest.err conftest.i conftest.$ac_ext 4993 4994done 4995# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4996rm -f conftest.i conftest.err conftest.$ac_ext 4997if $ac_preproc_ok; then : 4998 4999else 5000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5002as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5003See \`config.log' for more details" "$LINENO" 5; } 5004fi 5005 5006ac_ext=c 5007ac_cpp='$CPP $CPPFLAGS' 5008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5010ac_compiler_gnu=$ac_cv_c_compiler_gnu 5011 5012 5013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5014$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5015if ${ac_cv_path_GREP+:} false; then : 5016 $as_echo_n "(cached) " >&6 5017else 5018 if test -z "$GREP"; then 5019 ac_path_GREP_found=false 5020 # Loop through the user's path and test for each of PROGNAME-LIST 5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5022for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5023do 5024 IFS=$as_save_IFS 5025 test -z "$as_dir" && as_dir=. 5026 for ac_prog in grep ggrep; do 5027 for ac_exec_ext in '' $ac_executable_extensions; do 5028 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5029 as_fn_executable_p "$ac_path_GREP" || continue 5030# Check for GNU ac_path_GREP and select it if it is found. 5031 # Check for GNU $ac_path_GREP 5032case `"$ac_path_GREP" --version 2>&1` in 5033*GNU*) 5034 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5035*) 5036 ac_count=0 5037 $as_echo_n 0123456789 >"conftest.in" 5038 while : 5039 do 5040 cat "conftest.in" "conftest.in" >"conftest.tmp" 5041 mv "conftest.tmp" "conftest.in" 5042 cp "conftest.in" "conftest.nl" 5043 $as_echo 'GREP' >> "conftest.nl" 5044 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5045 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5046 as_fn_arith $ac_count + 1 && ac_count=$as_val 5047 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5048 # Best one so far, save it but keep looking for a better one 5049 ac_cv_path_GREP="$ac_path_GREP" 5050 ac_path_GREP_max=$ac_count 5051 fi 5052 # 10*(2^10) chars as input seems more than enough 5053 test $ac_count -gt 10 && break 5054 done 5055 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5056esac 5057 5058 $ac_path_GREP_found && break 3 5059 done 5060 done 5061 done 5062IFS=$as_save_IFS 5063 if test -z "$ac_cv_path_GREP"; then 5064 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5065 fi 5066else 5067 ac_cv_path_GREP=$GREP 5068fi 5069 5070fi 5071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5072$as_echo "$ac_cv_path_GREP" >&6; } 5073 GREP="$ac_cv_path_GREP" 5074 5075 5076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5077$as_echo_n "checking for egrep... " >&6; } 5078if ${ac_cv_path_EGREP+:} false; then : 5079 $as_echo_n "(cached) " >&6 5080else 5081 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5082 then ac_cv_path_EGREP="$GREP -E" 5083 else 5084 if test -z "$EGREP"; then 5085 ac_path_EGREP_found=false 5086 # Loop through the user's path and test for each of PROGNAME-LIST 5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5088for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5089do 5090 IFS=$as_save_IFS 5091 test -z "$as_dir" && as_dir=. 5092 for ac_prog in egrep; do 5093 for ac_exec_ext in '' $ac_executable_extensions; do 5094 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5095 as_fn_executable_p "$ac_path_EGREP" || continue 5096# Check for GNU ac_path_EGREP and select it if it is found. 5097 # Check for GNU $ac_path_EGREP 5098case `"$ac_path_EGREP" --version 2>&1` in 5099*GNU*) 5100 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5101*) 5102 ac_count=0 5103 $as_echo_n 0123456789 >"conftest.in" 5104 while : 5105 do 5106 cat "conftest.in" "conftest.in" >"conftest.tmp" 5107 mv "conftest.tmp" "conftest.in" 5108 cp "conftest.in" "conftest.nl" 5109 $as_echo 'EGREP' >> "conftest.nl" 5110 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5111 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5112 as_fn_arith $ac_count + 1 && ac_count=$as_val 5113 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5114 # Best one so far, save it but keep looking for a better one 5115 ac_cv_path_EGREP="$ac_path_EGREP" 5116 ac_path_EGREP_max=$ac_count 5117 fi 5118 # 10*(2^10) chars as input seems more than enough 5119 test $ac_count -gt 10 && break 5120 done 5121 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5122esac 5123 5124 $ac_path_EGREP_found && break 3 5125 done 5126 done 5127 done 5128IFS=$as_save_IFS 5129 if test -z "$ac_cv_path_EGREP"; then 5130 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5131 fi 5132else 5133 ac_cv_path_EGREP=$EGREP 5134fi 5135 5136 fi 5137fi 5138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5139$as_echo "$ac_cv_path_EGREP" >&6; } 5140 EGREP="$ac_cv_path_EGREP" 5141 5142 5143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5144$as_echo_n "checking for ANSI C header files... " >&6; } 5145if ${ac_cv_header_stdc+:} false; then : 5146 $as_echo_n "(cached) " >&6 5147else 5148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5149/* end confdefs.h. */ 5150#include <stdlib.h> 5151#include <stdarg.h> 5152#include <string.h> 5153#include <float.h> 5154 5155int 5156main () 5157{ 5158 5159 ; 5160 return 0; 5161} 5162_ACEOF 5163if ac_fn_c_try_compile "$LINENO"; then : 5164 ac_cv_header_stdc=yes 5165else 5166 ac_cv_header_stdc=no 5167fi 5168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5169 5170if test $ac_cv_header_stdc = yes; then 5171 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5173/* end confdefs.h. */ 5174#include <string.h> 5175 5176_ACEOF 5177if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5178 $EGREP "memchr" >/dev/null 2>&1; then : 5179 5180else 5181 ac_cv_header_stdc=no 5182fi 5183rm -f conftest* 5184 5185fi 5186 5187if test $ac_cv_header_stdc = yes; then 5188 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5190/* end confdefs.h. */ 5191#include <stdlib.h> 5192 5193_ACEOF 5194if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5195 $EGREP "free" >/dev/null 2>&1; then : 5196 5197else 5198 ac_cv_header_stdc=no 5199fi 5200rm -f conftest* 5201 5202fi 5203 5204if test $ac_cv_header_stdc = yes; then 5205 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5206 if test "$cross_compiling" = yes; then : 5207 : 5208else 5209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5210/* end confdefs.h. */ 5211#include <ctype.h> 5212#include <stdlib.h> 5213#if ((' ' & 0x0FF) == 0x020) 5214# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5215# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5216#else 5217# define ISLOWER(c) \ 5218 (('a' <= (c) && (c) <= 'i') \ 5219 || ('j' <= (c) && (c) <= 'r') \ 5220 || ('s' <= (c) && (c) <= 'z')) 5221# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5222#endif 5223 5224#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5225int 5226main () 5227{ 5228 int i; 5229 for (i = 0; i < 256; i++) 5230 if (XOR (islower (i), ISLOWER (i)) 5231 || toupper (i) != TOUPPER (i)) 5232 return 2; 5233 return 0; 5234} 5235_ACEOF 5236if ac_fn_c_try_run "$LINENO"; then : 5237 5238else 5239 ac_cv_header_stdc=no 5240fi 5241rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5242 conftest.$ac_objext conftest.beam conftest.$ac_ext 5243fi 5244 5245fi 5246fi 5247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5248$as_echo "$ac_cv_header_stdc" >&6; } 5249if test $ac_cv_header_stdc = yes; then 5250 5251$as_echo "#define STDC_HEADERS 1" >>confdefs.h 5252 5253fi 5254 5255# On IRIX 5.3, sys/types and inttypes.h are conflicting. 5256for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5257 inttypes.h stdint.h unistd.h 5258do : 5259 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5260ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5261" 5262if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5263 cat >>confdefs.h <<_ACEOF 5264#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5265_ACEOF 5266 5267fi 5268 5269done 5270 5271 5272 5273 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 5274if test "x$ac_cv_header_minix_config_h" = xyes; then : 5275 MINIX=yes 5276else 5277 MINIX= 5278fi 5279 5280 5281 if test "$MINIX" = yes; then 5282 5283$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 5284 5285 5286$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 5287 5288 5289$as_echo "#define _MINIX 1" >>confdefs.h 5290 5291 fi 5292 5293 5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 5295$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5296if ${ac_cv_safe_to_define___extensions__+:} false; then : 5297 $as_echo_n "(cached) " >&6 5298else 5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5300/* end confdefs.h. */ 5301 5302# define __EXTENSIONS__ 1 5303 $ac_includes_default 5304int 5305main () 5306{ 5307 5308 ; 5309 return 0; 5310} 5311_ACEOF 5312if ac_fn_c_try_compile "$LINENO"; then : 5313 ac_cv_safe_to_define___extensions__=yes 5314else 5315 ac_cv_safe_to_define___extensions__=no 5316fi 5317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5318fi 5319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 5320$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5321 test $ac_cv_safe_to_define___extensions__ = yes && 5322 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 5323 5324 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 5325 5326 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 5327 5328 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5329 5330 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 5331 5332 5333 5334 5335 5336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5337$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5338if ${ac_cv_path_GREP+:} false; then : 5339 $as_echo_n "(cached) " >&6 5340else 5341 if test -z "$GREP"; then 5342 ac_path_GREP_found=false 5343 # Loop through the user's path and test for each of PROGNAME-LIST 5344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5345for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5346do 5347 IFS=$as_save_IFS 5348 test -z "$as_dir" && as_dir=. 5349 for ac_prog in grep ggrep; do 5350 for ac_exec_ext in '' $ac_executable_extensions; do 5351 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5352 as_fn_executable_p "$ac_path_GREP" || continue 5353# Check for GNU ac_path_GREP and select it if it is found. 5354 # Check for GNU $ac_path_GREP 5355case `"$ac_path_GREP" --version 2>&1` in 5356*GNU*) 5357 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5358*) 5359 ac_count=0 5360 $as_echo_n 0123456789 >"conftest.in" 5361 while : 5362 do 5363 cat "conftest.in" "conftest.in" >"conftest.tmp" 5364 mv "conftest.tmp" "conftest.in" 5365 cp "conftest.in" "conftest.nl" 5366 $as_echo 'GREP' >> "conftest.nl" 5367 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5368 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5369 as_fn_arith $ac_count + 1 && ac_count=$as_val 5370 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5371 # Best one so far, save it but keep looking for a better one 5372 ac_cv_path_GREP="$ac_path_GREP" 5373 ac_path_GREP_max=$ac_count 5374 fi 5375 # 10*(2^10) chars as input seems more than enough 5376 test $ac_count -gt 10 && break 5377 done 5378 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5379esac 5380 5381 $ac_path_GREP_found && break 3 5382 done 5383 done 5384 done 5385IFS=$as_save_IFS 5386 if test -z "$ac_cv_path_GREP"; then 5387 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5388 fi 5389else 5390 ac_cv_path_GREP=$GREP 5391fi 5392 5393fi 5394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5395$as_echo "$ac_cv_path_GREP" >&6; } 5396 GREP="$ac_cv_path_GREP" 5397 5398 5399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5400$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5401if ${ac_cv_path_SED+:} false; then : 5402 $as_echo_n "(cached) " >&6 5403else 5404 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5405 for ac_i in 1 2 3 4 5 6 7; do 5406 ac_script="$ac_script$as_nl$ac_script" 5407 done 5408 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5409 { ac_script=; unset ac_script;} 5410 if test -z "$SED"; then 5411 ac_path_SED_found=false 5412 # Loop through the user's path and test for each of PROGNAME-LIST 5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5414for as_dir in $PATH 5415do 5416 IFS=$as_save_IFS 5417 test -z "$as_dir" && as_dir=. 5418 for ac_prog in sed gsed; do 5419 for ac_exec_ext in '' $ac_executable_extensions; do 5420 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5421 as_fn_executable_p "$ac_path_SED" || continue 5422# Check for GNU ac_path_SED and select it if it is found. 5423 # Check for GNU $ac_path_SED 5424case `"$ac_path_SED" --version 2>&1` in 5425*GNU*) 5426 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5427*) 5428 ac_count=0 5429 $as_echo_n 0123456789 >"conftest.in" 5430 while : 5431 do 5432 cat "conftest.in" "conftest.in" >"conftest.tmp" 5433 mv "conftest.tmp" "conftest.in" 5434 cp "conftest.in" "conftest.nl" 5435 $as_echo '' >> "conftest.nl" 5436 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5438 as_fn_arith $ac_count + 1 && ac_count=$as_val 5439 if test $ac_count -gt ${ac_path_SED_max-0}; then 5440 # Best one so far, save it but keep looking for a better one 5441 ac_cv_path_SED="$ac_path_SED" 5442 ac_path_SED_max=$ac_count 5443 fi 5444 # 10*(2^10) chars as input seems more than enough 5445 test $ac_count -gt 10 && break 5446 done 5447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5448esac 5449 5450 $ac_path_SED_found && break 3 5451 done 5452 done 5453 done 5454IFS=$as_save_IFS 5455 if test -z "$ac_cv_path_SED"; then 5456 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5457 fi 5458else 5459 ac_cv_path_SED=$SED 5460fi 5461 5462fi 5463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5464$as_echo "$ac_cv_path_SED" >&6; } 5465 SED="$ac_cv_path_SED" 5466 rm -f conftest.sed 5467 5468for ac_prog in gawk mawk nawk awk 5469do 5470 # Extract the first word of "$ac_prog", so it can be a program name with args. 5471set dummy $ac_prog; ac_word=$2 5472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5473$as_echo_n "checking for $ac_word... " >&6; } 5474if ${ac_cv_prog_AWK+:} false; then : 5475 $as_echo_n "(cached) " >&6 5476else 5477 if test -n "$AWK"; then 5478 ac_cv_prog_AWK="$AWK" # Let the user override the test. 5479else 5480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5481for as_dir in $PATH 5482do 5483 IFS=$as_save_IFS 5484 test -z "$as_dir" && as_dir=. 5485 for ac_exec_ext in '' $ac_executable_extensions; do 5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5487 ac_cv_prog_AWK="$ac_prog" 5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5489 break 2 5490 fi 5491done 5492 done 5493IFS=$as_save_IFS 5494 5495fi 5496fi 5497AWK=$ac_cv_prog_AWK 5498if test -n "$AWK"; then 5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 5500$as_echo "$AWK" >&6; } 5501else 5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5503$as_echo "no" >&6; } 5504fi 5505 5506 5507 test -n "$AWK" && break 5508done 5509 5510if test -n "$ac_tool_prefix"; then 5511 for ac_prog in ar lib "link -lib" 5512 do 5513 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5514set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5516$as_echo_n "checking for $ac_word... " >&6; } 5517if ${ac_cv_prog_AR+:} false; then : 5518 $as_echo_n "(cached) " >&6 5519else 5520 if test -n "$AR"; then 5521 ac_cv_prog_AR="$AR" # Let the user override the test. 5522else 5523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5524for as_dir in $PATH 5525do 5526 IFS=$as_save_IFS 5527 test -z "$as_dir" && as_dir=. 5528 for ac_exec_ext in '' $ac_executable_extensions; do 5529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5530 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5532 break 2 5533 fi 5534done 5535 done 5536IFS=$as_save_IFS 5537 5538fi 5539fi 5540AR=$ac_cv_prog_AR 5541if test -n "$AR"; then 5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5543$as_echo "$AR" >&6; } 5544else 5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5546$as_echo "no" >&6; } 5547fi 5548 5549 5550 test -n "$AR" && break 5551 done 5552fi 5553if test -z "$AR"; then 5554 ac_ct_AR=$AR 5555 for ac_prog in ar lib "link -lib" 5556do 5557 # Extract the first word of "$ac_prog", so it can be a program name with args. 5558set dummy $ac_prog; ac_word=$2 5559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5560$as_echo_n "checking for $ac_word... " >&6; } 5561if ${ac_cv_prog_ac_ct_AR+:} false; then : 5562 $as_echo_n "(cached) " >&6 5563else 5564 if test -n "$ac_ct_AR"; then 5565 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5566else 5567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5568for as_dir in $PATH 5569do 5570 IFS=$as_save_IFS 5571 test -z "$as_dir" && as_dir=. 5572 for ac_exec_ext in '' $ac_executable_extensions; do 5573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5574 ac_cv_prog_ac_ct_AR="$ac_prog" 5575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5576 break 2 5577 fi 5578done 5579 done 5580IFS=$as_save_IFS 5581 5582fi 5583fi 5584ac_ct_AR=$ac_cv_prog_ac_ct_AR 5585if test -n "$ac_ct_AR"; then 5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5587$as_echo "$ac_ct_AR" >&6; } 5588else 5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5590$as_echo "no" >&6; } 5591fi 5592 5593 5594 test -n "$ac_ct_AR" && break 5595done 5596 5597 if test "x$ac_ct_AR" = x; then 5598 AR="false" 5599 else 5600 case $cross_compiling:$ac_tool_warned in 5601yes:) 5602{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5603$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5604ac_tool_warned=yes ;; 5605esac 5606 AR=$ac_ct_AR 5607 fi 5608fi 5609 5610: ${AR=ar} 5611 5612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 5613$as_echo_n "checking the archiver ($AR) interface... " >&6; } 5614if ${am_cv_ar_interface+:} false; then : 5615 $as_echo_n "(cached) " >&6 5616else 5617 ac_ext=c 5618ac_cpp='$CPP $CPPFLAGS' 5619ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5620ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5621ac_compiler_gnu=$ac_cv_c_compiler_gnu 5622 5623 am_cv_ar_interface=ar 5624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5625/* end confdefs.h. */ 5626int some_variable = 0; 5627_ACEOF 5628if ac_fn_c_try_compile "$LINENO"; then : 5629 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 5630 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 5631 (eval $am_ar_try) 2>&5 5632 ac_status=$? 5633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5634 test $ac_status = 0; } 5635 if test "$ac_status" -eq 0; then 5636 am_cv_ar_interface=ar 5637 else 5638 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 5639 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 5640 (eval $am_ar_try) 2>&5 5641 ac_status=$? 5642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5643 test $ac_status = 0; } 5644 if test "$ac_status" -eq 0; then 5645 am_cv_ar_interface=lib 5646 else 5647 am_cv_ar_interface=unknown 5648 fi 5649 fi 5650 rm -f conftest.lib libconftest.a 5651 5652fi 5653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5654 ac_ext=c 5655ac_cpp='$CPP $CPPFLAGS' 5656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5658ac_compiler_gnu=$ac_cv_c_compiler_gnu 5659 5660fi 5661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 5662$as_echo "$am_cv_ar_interface" >&6; } 5663 5664case $am_cv_ar_interface in 5665ar) 5666 ;; 5667lib) 5668 # Microsoft lib, so override with the ar-lib wrapper script. 5669 # FIXME: It is wrong to rewrite AR. 5670 # But if we don't then we get into trouble of one sort or another. 5671 # A longer-term fix would be to have automake use am__AR in this case, 5672 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 5673 # similar. 5674 AR="$am_aux_dir/ar-lib $AR" 5675 ;; 5676unknown) 5677 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 5678 ;; 5679esac 5680 5681# Extract the first word of "soelim", so it can be a program name with args. 5682set dummy soelim; ac_word=$2 5683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5684$as_echo_n "checking for $ac_word... " >&6; } 5685if ${ac_cv_prog_SOELIM+:} false; then : 5686 $as_echo_n "(cached) " >&6 5687else 5688 if test -n "$SOELIM"; then 5689 ac_cv_prog_SOELIM="$SOELIM" # Let the user override the test. 5690else 5691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5692for as_dir in $PATH 5693do 5694 IFS=$as_save_IFS 5695 test -z "$as_dir" && as_dir=. 5696 for ac_exec_ext in '' $ac_executable_extensions; do 5697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5698 ac_cv_prog_SOELIM="soelim" 5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5700 break 2 5701 fi 5702done 5703 done 5704IFS=$as_save_IFS 5705 5706 test -z "$ac_cv_prog_SOELIM" && ac_cv_prog_SOELIM="\${top_builddir}/build-aux/fake-soelim" 5707fi 5708fi 5709SOELIM=$ac_cv_prog_SOELIM 5710if test -n "$SOELIM"; then 5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOELIM" >&5 5712$as_echo "$SOELIM" >&6; } 5713else 5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5715$as_echo "no" >&6; } 5716fi 5717 5718 5719# Extract the first word of "windres", so it can be a program name with args. 5720set dummy windres; ac_word=$2 5721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5722$as_echo_n "checking for $ac_word... " >&6; } 5723if ${ac_cv_prog_WINDRES+:} false; then : 5724 $as_echo_n "(cached) " >&6 5725else 5726 if test -n "$WINDRES"; then 5727 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. 5728else 5729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5730for as_dir in $PATH 5731do 5732 IFS=$as_save_IFS 5733 test -z "$as_dir" && as_dir=. 5734 for ac_exec_ext in '' $ac_executable_extensions; do 5735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5736 ac_cv_prog_WINDRES="windres" 5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5738 break 2 5739 fi 5740done 5741 done 5742IFS=$as_save_IFS 5743 5744 test -z "$ac_cv_prog_WINDRES" && ac_cv_prog_WINDRES=":" 5745fi 5746fi 5747WINDRES=$ac_cv_prog_WINDRES 5748if test -n "$WINDRES"; then 5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 5750$as_echo "$WINDRES" >&6; } 5751else 5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5753$as_echo "no" >&6; } 5754fi 5755 5756 5757 5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 5759$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 5760if ${ac_cv_prog_cc_c99+:} false; then : 5761 $as_echo_n "(cached) " >&6 5762else 5763 ac_cv_prog_cc_c99=no 5764ac_save_CC=$CC 5765cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5766/* end confdefs.h. */ 5767#include <stdarg.h> 5768#include <stdbool.h> 5769#include <stdlib.h> 5770#include <wchar.h> 5771#include <stdio.h> 5772 5773// Check varargs macros. These examples are taken from C99 6.10.3.5. 5774#define debug(...) fprintf (stderr, __VA_ARGS__) 5775#define showlist(...) puts (#__VA_ARGS__) 5776#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 5777static void 5778test_varargs_macros (void) 5779{ 5780 int x = 1234; 5781 int y = 5678; 5782 debug ("Flag"); 5783 debug ("X = %d\n", x); 5784 showlist (The first, second, and third items.); 5785 report (x>y, "x is %d but y is %d", x, y); 5786} 5787 5788// Check long long types. 5789#define BIG64 18446744073709551615ull 5790#define BIG32 4294967295ul 5791#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 5792#if !BIG_OK 5793 your preprocessor is broken; 5794#endif 5795#if BIG_OK 5796#else 5797 your preprocessor is broken; 5798#endif 5799static long long int bignum = -9223372036854775807LL; 5800static unsigned long long int ubignum = BIG64; 5801 5802struct incomplete_array 5803{ 5804 int datasize; 5805 double data[]; 5806}; 5807 5808struct named_init { 5809 int number; 5810 const wchar_t *name; 5811 double average; 5812}; 5813 5814typedef const char *ccp; 5815 5816static inline int 5817test_restrict (ccp restrict text) 5818{ 5819 // See if C++-style comments work. 5820 // Iterate through items via the restricted pointer. 5821 // Also check for declarations in for loops. 5822 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 5823 continue; 5824 return 0; 5825} 5826 5827// Check varargs and va_copy. 5828static void 5829test_varargs (const char *format, ...) 5830{ 5831 va_list args; 5832 va_start (args, format); 5833 va_list args_copy; 5834 va_copy (args_copy, args); 5835 5836 const char *str; 5837 int number; 5838 float fnumber; 5839 5840 while (*format) 5841 { 5842 switch (*format++) 5843 { 5844 case 's': // string 5845 str = va_arg (args_copy, const char *); 5846 break; 5847 case 'd': // int 5848 number = va_arg (args_copy, int); 5849 break; 5850 case 'f': // float 5851 fnumber = va_arg (args_copy, double); 5852 break; 5853 default: 5854 break; 5855 } 5856 } 5857 va_end (args_copy); 5858 va_end (args); 5859} 5860 5861int 5862main () 5863{ 5864 5865 // Check bool. 5866 _Bool success = false; 5867 5868 // Check restrict. 5869 if (test_restrict ("String literal") == 0) 5870 success = true; 5871 char *restrict newvar = "Another string"; 5872 5873 // Check varargs. 5874 test_varargs ("s, d' f .", "string", 65, 34.234); 5875 test_varargs_macros (); 5876 5877 // Check flexible array members. 5878 struct incomplete_array *ia = 5879 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 5880 ia->datasize = 10; 5881 for (int i = 0; i < ia->datasize; ++i) 5882 ia->data[i] = i * 1.234; 5883 5884 // Check named initializers. 5885 struct named_init ni = { 5886 .number = 34, 5887 .name = L"Test wide string", 5888 .average = 543.34343, 5889 }; 5890 5891 ni.number = 58; 5892 5893 int dynamic_array[ni.number]; 5894 dynamic_array[ni.number - 1] = 543; 5895 5896 // work around unused variable warnings 5897 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 5898 || dynamic_array[ni.number - 1] != 543); 5899 5900 ; 5901 return 0; 5902} 5903_ACEOF 5904for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 5905do 5906 CC="$ac_save_CC $ac_arg" 5907 if ac_fn_c_try_compile "$LINENO"; then : 5908 ac_cv_prog_cc_c99=$ac_arg 5909fi 5910rm -f core conftest.err conftest.$ac_objext 5911 test "x$ac_cv_prog_cc_c99" != "xno" && break 5912done 5913rm -f conftest.$ac_ext 5914CC=$ac_save_CC 5915 5916fi 5917# AC_CACHE_VAL 5918case "x$ac_cv_prog_cc_c99" in 5919 x) 5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5921$as_echo "none needed" >&6; } ;; 5922 xno) 5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5924$as_echo "unsupported" >&6; } ;; 5925 *) 5926 CC="$CC $ac_cv_prog_cc_c99" 5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 5928$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 5929esac 5930if test "x$ac_cv_prog_cc_c99" != xno; then : 5931 5932fi 5933 5934 5935if test xno = x"$ac_cv_prog_cc_c99"; then : 5936 as_fn_error $? "No C99 capable compiler found -- see README." "$LINENO" 5 5937fi 5938 5939{ $as_echo "$as_me:${as_lineno-$LINENO}: beg: libtool stuff" >&5 5940$as_echo "$as_me: beg: libtool stuff" >&6;} 5941 5942case `pwd` in 5943 *\ * | *\ *) 5944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5945$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5946esac 5947 5948 5949 5950macro_version='2.4.2' 5951macro_revision='1.3337' 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965ltmain="$ac_aux_dir/ltmain.sh" 5966 5967# Backslashify metacharacters that are still active within 5968# double-quoted strings. 5969sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5970 5971# Same as above, but do not quote variable references. 5972double_quote_subst='s/\(["`\\]\)/\\\1/g' 5973 5974# Sed substitution to delay expansion of an escaped shell variable in a 5975# double_quote_subst'ed string. 5976delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5977 5978# Sed substitution to delay expansion of an escaped single quote. 5979delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5980 5981# Sed substitution to avoid accidental globbing in evaled expressions 5982no_glob_subst='s/\*/\\\*/g' 5983 5984ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5985ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5986ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5987 5988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5989$as_echo_n "checking how to print strings... " >&6; } 5990# Test print first, because it will be a builtin if present. 5991if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5992 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5993 ECHO='print -r --' 5994elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5995 ECHO='printf %s\n' 5996else 5997 # Use this function as a fallback that always works. 5998 func_fallback_echo () 5999 { 6000 eval 'cat <<_LTECHO_EOF 6001$1 6002_LTECHO_EOF' 6003 } 6004 ECHO='func_fallback_echo' 6005fi 6006 6007# func_echo_all arg... 6008# Invoke $ECHO with all args, space-separated. 6009func_echo_all () 6010{ 6011 $ECHO "" 6012} 6013 6014case "$ECHO" in 6015 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6016$as_echo "printf" >&6; } ;; 6017 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6018$as_echo "print -r" >&6; } ;; 6019 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6020$as_echo "cat" >&6; } ;; 6021esac 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6037$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6038if ${ac_cv_path_SED+:} false; then : 6039 $as_echo_n "(cached) " >&6 6040else 6041 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6042 for ac_i in 1 2 3 4 5 6 7; do 6043 ac_script="$ac_script$as_nl$ac_script" 6044 done 6045 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6046 { ac_script=; unset ac_script;} 6047 if test -z "$SED"; then 6048 ac_path_SED_found=false 6049 # Loop through the user's path and test for each of PROGNAME-LIST 6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6051for as_dir in $PATH 6052do 6053 IFS=$as_save_IFS 6054 test -z "$as_dir" && as_dir=. 6055 for ac_prog in sed gsed; do 6056 for ac_exec_ext in '' $ac_executable_extensions; do 6057 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6058 as_fn_executable_p "$ac_path_SED" || continue 6059# Check for GNU ac_path_SED and select it if it is found. 6060 # Check for GNU $ac_path_SED 6061case `"$ac_path_SED" --version 2>&1` in 6062*GNU*) 6063 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6064*) 6065 ac_count=0 6066 $as_echo_n 0123456789 >"conftest.in" 6067 while : 6068 do 6069 cat "conftest.in" "conftest.in" >"conftest.tmp" 6070 mv "conftest.tmp" "conftest.in" 6071 cp "conftest.in" "conftest.nl" 6072 $as_echo '' >> "conftest.nl" 6073 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6074 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6075 as_fn_arith $ac_count + 1 && ac_count=$as_val 6076 if test $ac_count -gt ${ac_path_SED_max-0}; then 6077 # Best one so far, save it but keep looking for a better one 6078 ac_cv_path_SED="$ac_path_SED" 6079 ac_path_SED_max=$ac_count 6080 fi 6081 # 10*(2^10) chars as input seems more than enough 6082 test $ac_count -gt 10 && break 6083 done 6084 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6085esac 6086 6087 $ac_path_SED_found && break 3 6088 done 6089 done 6090 done 6091IFS=$as_save_IFS 6092 if test -z "$ac_cv_path_SED"; then 6093 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6094 fi 6095else 6096 ac_cv_path_SED=$SED 6097fi 6098 6099fi 6100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6101$as_echo "$ac_cv_path_SED" >&6; } 6102 SED="$ac_cv_path_SED" 6103 rm -f conftest.sed 6104 6105test -z "$SED" && SED=sed 6106Xsed="$SED -e 1s/^X//" 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6119$as_echo_n "checking for fgrep... " >&6; } 6120if ${ac_cv_path_FGREP+:} false; then : 6121 $as_echo_n "(cached) " >&6 6122else 6123 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6124 then ac_cv_path_FGREP="$GREP -F" 6125 else 6126 if test -z "$FGREP"; then 6127 ac_path_FGREP_found=false 6128 # Loop through the user's path and test for each of PROGNAME-LIST 6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6130for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6131do 6132 IFS=$as_save_IFS 6133 test -z "$as_dir" && as_dir=. 6134 for ac_prog in fgrep; do 6135 for ac_exec_ext in '' $ac_executable_extensions; do 6136 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6137 as_fn_executable_p "$ac_path_FGREP" || continue 6138# Check for GNU ac_path_FGREP and select it if it is found. 6139 # Check for GNU $ac_path_FGREP 6140case `"$ac_path_FGREP" --version 2>&1` in 6141*GNU*) 6142 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6143*) 6144 ac_count=0 6145 $as_echo_n 0123456789 >"conftest.in" 6146 while : 6147 do 6148 cat "conftest.in" "conftest.in" >"conftest.tmp" 6149 mv "conftest.tmp" "conftest.in" 6150 cp "conftest.in" "conftest.nl" 6151 $as_echo 'FGREP' >> "conftest.nl" 6152 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6153 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6154 as_fn_arith $ac_count + 1 && ac_count=$as_val 6155 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6156 # Best one so far, save it but keep looking for a better one 6157 ac_cv_path_FGREP="$ac_path_FGREP" 6158 ac_path_FGREP_max=$ac_count 6159 fi 6160 # 10*(2^10) chars as input seems more than enough 6161 test $ac_count -gt 10 && break 6162 done 6163 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6164esac 6165 6166 $ac_path_FGREP_found && break 3 6167 done 6168 done 6169 done 6170IFS=$as_save_IFS 6171 if test -z "$ac_cv_path_FGREP"; then 6172 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6173 fi 6174else 6175 ac_cv_path_FGREP=$FGREP 6176fi 6177 6178 fi 6179fi 6180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6181$as_echo "$ac_cv_path_FGREP" >&6; } 6182 FGREP="$ac_cv_path_FGREP" 6183 6184 6185test -z "$GREP" && GREP=grep 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205# Check whether --with-gnu-ld was given. 6206if test "${with_gnu_ld+set}" = set; then : 6207 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 6208else 6209 with_gnu_ld=no 6210fi 6211 6212ac_prog=ld 6213if test "$GCC" = yes; then 6214 # Check if gcc -print-prog-name=ld gives a path. 6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6216$as_echo_n "checking for ld used by $CC... " >&6; } 6217 case $host in 6218 *-*-mingw*) 6219 # gcc leaves a trailing carriage return which upsets mingw 6220 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6221 *) 6222 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6223 esac 6224 case $ac_prog in 6225 # Accept absolute paths. 6226 [\\/]* | ?:[\\/]*) 6227 re_direlt='/[^/][^/]*/\.\./' 6228 # Canonicalize the pathname of ld 6229 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6230 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6231 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6232 done 6233 test -z "$LD" && LD="$ac_prog" 6234 ;; 6235 "") 6236 # If it fails, then pretend we aren't using GCC. 6237 ac_prog=ld 6238 ;; 6239 *) 6240 # If it is relative, then search for the first ld in PATH. 6241 with_gnu_ld=unknown 6242 ;; 6243 esac 6244elif test "$with_gnu_ld" = yes; then 6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6246$as_echo_n "checking for GNU ld... " >&6; } 6247else 6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6249$as_echo_n "checking for non-GNU ld... " >&6; } 6250fi 6251if ${lt_cv_path_LD+:} false; then : 6252 $as_echo_n "(cached) " >&6 6253else 6254 if test -z "$LD"; then 6255 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6256 for ac_dir in $PATH; do 6257 IFS="$lt_save_ifs" 6258 test -z "$ac_dir" && ac_dir=. 6259 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6260 lt_cv_path_LD="$ac_dir/$ac_prog" 6261 # Check to see if the program is GNU ld. I'd rather use --version, 6262 # but apparently some variants of GNU ld only accept -v. 6263 # Break only if it was the GNU/non-GNU ld that we prefer. 6264 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6265 *GNU* | *'with BFD'*) 6266 test "$with_gnu_ld" != no && break 6267 ;; 6268 *) 6269 test "$with_gnu_ld" != yes && break 6270 ;; 6271 esac 6272 fi 6273 done 6274 IFS="$lt_save_ifs" 6275else 6276 lt_cv_path_LD="$LD" # Let the user override the test with a path. 6277fi 6278fi 6279 6280LD="$lt_cv_path_LD" 6281if test -n "$LD"; then 6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6283$as_echo "$LD" >&6; } 6284else 6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6286$as_echo "no" >&6; } 6287fi 6288test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6290$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6291if ${lt_cv_prog_gnu_ld+:} false; then : 6292 $as_echo_n "(cached) " >&6 6293else 6294 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6295case `$LD -v 2>&1 </dev/null` in 6296*GNU* | *'with BFD'*) 6297 lt_cv_prog_gnu_ld=yes 6298 ;; 6299*) 6300 lt_cv_prog_gnu_ld=no 6301 ;; 6302esac 6303fi 6304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6305$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6306with_gnu_ld=$lt_cv_prog_gnu_ld 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6317$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6318if ${lt_cv_path_NM+:} false; then : 6319 $as_echo_n "(cached) " >&6 6320else 6321 if test -n "$NM"; then 6322 # Let the user override the test. 6323 lt_cv_path_NM="$NM" 6324else 6325 lt_nm_to_check="${ac_tool_prefix}nm" 6326 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6327 lt_nm_to_check="$lt_nm_to_check nm" 6328 fi 6329 for lt_tmp_nm in $lt_nm_to_check; do 6330 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6331 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6332 IFS="$lt_save_ifs" 6333 test -z "$ac_dir" && ac_dir=. 6334 tmp_nm="$ac_dir/$lt_tmp_nm" 6335 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 6336 # Check to see if the nm accepts a BSD-compat flag. 6337 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 6338 # nm: unknown option "B" ignored 6339 # Tru64's nm complains that /dev/null is an invalid object file 6340 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 6341 */dev/null* | *'Invalid file or object type'*) 6342 lt_cv_path_NM="$tmp_nm -B" 6343 break 6344 ;; 6345 *) 6346 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6347 */dev/null*) 6348 lt_cv_path_NM="$tmp_nm -p" 6349 break 6350 ;; 6351 *) 6352 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6353 continue # so that we can try to find one that supports BSD flags 6354 ;; 6355 esac 6356 ;; 6357 esac 6358 fi 6359 done 6360 IFS="$lt_save_ifs" 6361 done 6362 : ${lt_cv_path_NM=no} 6363fi 6364fi 6365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6366$as_echo "$lt_cv_path_NM" >&6; } 6367if test "$lt_cv_path_NM" != "no"; then 6368 NM="$lt_cv_path_NM" 6369else 6370 # Didn't find any BSD compatible name lister, look for dumpbin. 6371 if test -n "$DUMPBIN"; then : 6372 # Let the user override the test. 6373 else 6374 if test -n "$ac_tool_prefix"; then 6375 for ac_prog in dumpbin "link -dump" 6376 do 6377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6378set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6380$as_echo_n "checking for $ac_word... " >&6; } 6381if ${ac_cv_prog_DUMPBIN+:} false; then : 6382 $as_echo_n "(cached) " >&6 6383else 6384 if test -n "$DUMPBIN"; then 6385 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6386else 6387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6388for as_dir in $PATH 6389do 6390 IFS=$as_save_IFS 6391 test -z "$as_dir" && as_dir=. 6392 for ac_exec_ext in '' $ac_executable_extensions; do 6393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6394 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6396 break 2 6397 fi 6398done 6399 done 6400IFS=$as_save_IFS 6401 6402fi 6403fi 6404DUMPBIN=$ac_cv_prog_DUMPBIN 6405if test -n "$DUMPBIN"; then 6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6407$as_echo "$DUMPBIN" >&6; } 6408else 6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6410$as_echo "no" >&6; } 6411fi 6412 6413 6414 test -n "$DUMPBIN" && break 6415 done 6416fi 6417if test -z "$DUMPBIN"; then 6418 ac_ct_DUMPBIN=$DUMPBIN 6419 for ac_prog in dumpbin "link -dump" 6420do 6421 # Extract the first word of "$ac_prog", so it can be a program name with args. 6422set dummy $ac_prog; ac_word=$2 6423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6424$as_echo_n "checking for $ac_word... " >&6; } 6425if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6426 $as_echo_n "(cached) " >&6 6427else 6428 if test -n "$ac_ct_DUMPBIN"; then 6429 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6430else 6431as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6432for as_dir in $PATH 6433do 6434 IFS=$as_save_IFS 6435 test -z "$as_dir" && as_dir=. 6436 for ac_exec_ext in '' $ac_executable_extensions; do 6437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6438 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6440 break 2 6441 fi 6442done 6443 done 6444IFS=$as_save_IFS 6445 6446fi 6447fi 6448ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6449if test -n "$ac_ct_DUMPBIN"; then 6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6451$as_echo "$ac_ct_DUMPBIN" >&6; } 6452else 6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6454$as_echo "no" >&6; } 6455fi 6456 6457 6458 test -n "$ac_ct_DUMPBIN" && break 6459done 6460 6461 if test "x$ac_ct_DUMPBIN" = x; then 6462 DUMPBIN=":" 6463 else 6464 case $cross_compiling:$ac_tool_warned in 6465yes:) 6466{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6467$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6468ac_tool_warned=yes ;; 6469esac 6470 DUMPBIN=$ac_ct_DUMPBIN 6471 fi 6472fi 6473 6474 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 6475 *COFF*) 6476 DUMPBIN="$DUMPBIN -symbols" 6477 ;; 6478 *) 6479 DUMPBIN=: 6480 ;; 6481 esac 6482 fi 6483 6484 if test "$DUMPBIN" != ":"; then 6485 NM="$DUMPBIN" 6486 fi 6487fi 6488test -z "$NM" && NM=nm 6489 6490 6491 6492 6493 6494 6495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6496$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6497if ${lt_cv_nm_interface+:} false; then : 6498 $as_echo_n "(cached) " >&6 6499else 6500 lt_cv_nm_interface="BSD nm" 6501 echo "int some_variable = 0;" > conftest.$ac_ext 6502 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6503 (eval "$ac_compile" 2>conftest.err) 6504 cat conftest.err >&5 6505 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6506 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6507 cat conftest.err >&5 6508 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6509 cat conftest.out >&5 6510 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6511 lt_cv_nm_interface="MS dumpbin" 6512 fi 6513 rm -f conftest* 6514fi 6515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6516$as_echo "$lt_cv_nm_interface" >&6; } 6517 6518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6519$as_echo_n "checking whether ln -s works... " >&6; } 6520LN_S=$as_ln_s 6521if test "$LN_S" = "ln -s"; then 6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6523$as_echo "yes" >&6; } 6524else 6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6526$as_echo "no, using $LN_S" >&6; } 6527fi 6528 6529# find the maximum length of command line arguments 6530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6531$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6532if ${lt_cv_sys_max_cmd_len+:} false; then : 6533 $as_echo_n "(cached) " >&6 6534else 6535 i=0 6536 teststring="ABCD" 6537 6538 case $build_os in 6539 msdosdjgpp*) 6540 # On DJGPP, this test can blow up pretty badly due to problems in libc 6541 # (any single argument exceeding 2000 bytes causes a buffer overrun 6542 # during glob expansion). Even if it were fixed, the result of this 6543 # check would be larger than it should be. 6544 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6545 ;; 6546 6547 gnu*) 6548 # Under GNU Hurd, this test is not required because there is 6549 # no limit to the length of command line arguments. 6550 # Libtool will interpret -1 as no limit whatsoever 6551 lt_cv_sys_max_cmd_len=-1; 6552 ;; 6553 6554 cygwin* | mingw* | cegcc*) 6555 # On Win9x/ME, this test blows up -- it succeeds, but takes 6556 # about 5 minutes as the teststring grows exponentially. 6557 # Worse, since 9x/ME are not pre-emptively multitasking, 6558 # you end up with a "frozen" computer, even though with patience 6559 # the test eventually succeeds (with a max line length of 256k). 6560 # Instead, let's just punt: use the minimum linelength reported by 6561 # all of the supported platforms: 8192 (on NT/2K/XP). 6562 lt_cv_sys_max_cmd_len=8192; 6563 ;; 6564 6565 mint*) 6566 # On MiNT this can take a long time and run out of memory. 6567 lt_cv_sys_max_cmd_len=8192; 6568 ;; 6569 6570 amigaos*) 6571 # On AmigaOS with pdksh, this test takes hours, literally. 6572 # So we just punt and use a minimum line length of 8192. 6573 lt_cv_sys_max_cmd_len=8192; 6574 ;; 6575 6576 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6577 # This has been around since 386BSD, at least. Likely further. 6578 if test -x /sbin/sysctl; then 6579 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6580 elif test -x /usr/sbin/sysctl; then 6581 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6582 else 6583 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6584 fi 6585 # And add a safety zone 6586 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6587 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6588 ;; 6589 6590 interix*) 6591 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6592 lt_cv_sys_max_cmd_len=196608 6593 ;; 6594 6595 os2*) 6596 # The test takes a long time on OS/2. 6597 lt_cv_sys_max_cmd_len=8192 6598 ;; 6599 6600 osf*) 6601 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6602 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6603 # nice to cause kernel panics so lets avoid the loop below. 6604 # First set a reasonable default. 6605 lt_cv_sys_max_cmd_len=16384 6606 # 6607 if test -x /sbin/sysconfig; then 6608 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6609 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6610 esac 6611 fi 6612 ;; 6613 sco3.2v5*) 6614 lt_cv_sys_max_cmd_len=102400 6615 ;; 6616 sysv5* | sco5v6* | sysv4.2uw2*) 6617 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6618 if test -n "$kargmax"; then 6619 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6620 else 6621 lt_cv_sys_max_cmd_len=32768 6622 fi 6623 ;; 6624 *) 6625 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6626 if test -n "$lt_cv_sys_max_cmd_len"; then 6627 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6628 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6629 else 6630 # Make teststring a little bigger before we do anything with it. 6631 # a 1K string should be a reasonable start. 6632 for i in 1 2 3 4 5 6 7 8 ; do 6633 teststring=$teststring$teststring 6634 done 6635 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6636 # If test is not a shell built-in, we'll probably end up computing a 6637 # maximum length that is only half of the actual maximum length, but 6638 # we can't tell. 6639 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 6640 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6641 test $i != 17 # 1/2 MB should be enough 6642 do 6643 i=`expr $i + 1` 6644 teststring=$teststring$teststring 6645 done 6646 # Only check the string length outside the loop. 6647 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6648 teststring= 6649 # Add a significant safety factor because C++ compilers can tack on 6650 # massive amounts of additional arguments before passing them to the 6651 # linker. It appears as though 1/2 is a usable value. 6652 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6653 fi 6654 ;; 6655 esac 6656 6657fi 6658 6659if test -n $lt_cv_sys_max_cmd_len ; then 6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6661$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6662else 6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6664$as_echo "none" >&6; } 6665fi 6666max_cmd_len=$lt_cv_sys_max_cmd_len 6667 6668 6669 6670 6671 6672 6673: ${CP="cp -f"} 6674: ${MV="mv -f"} 6675: ${RM="rm -f"} 6676 6677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 6678$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 6679# Try some XSI features 6680xsi_shell=no 6681( _lt_dummy="a/b/c" 6682 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 6683 = c,a/b,b/c, \ 6684 && eval 'test $(( 1 + 1 )) -eq 2 \ 6685 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 6686 && xsi_shell=yes 6687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 6688$as_echo "$xsi_shell" >&6; } 6689 6690 6691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 6692$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 6693lt_shell_append=no 6694( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 6695 >/dev/null 2>&1 \ 6696 && lt_shell_append=yes 6697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 6698$as_echo "$lt_shell_append" >&6; } 6699 6700 6701if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6702 lt_unset=unset 6703else 6704 lt_unset=false 6705fi 6706 6707 6708 6709 6710 6711# test EBCDIC or ASCII 6712case `echo X|tr X '\101'` in 6713 A) # ASCII based system 6714 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6715 lt_SP2NL='tr \040 \012' 6716 lt_NL2SP='tr \015\012 \040\040' 6717 ;; 6718 *) # EBCDIC based system 6719 lt_SP2NL='tr \100 \n' 6720 lt_NL2SP='tr \r\n \100\100' 6721 ;; 6722esac 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6733$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6734if ${lt_cv_to_host_file_cmd+:} false; then : 6735 $as_echo_n "(cached) " >&6 6736else 6737 case $host in 6738 *-*-mingw* ) 6739 case $build in 6740 *-*-mingw* ) # actually msys 6741 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6742 ;; 6743 *-*-cygwin* ) 6744 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6745 ;; 6746 * ) # otherwise, assume *nix 6747 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6748 ;; 6749 esac 6750 ;; 6751 *-*-cygwin* ) 6752 case $build in 6753 *-*-mingw* ) # actually msys 6754 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6755 ;; 6756 *-*-cygwin* ) 6757 lt_cv_to_host_file_cmd=func_convert_file_noop 6758 ;; 6759 * ) # otherwise, assume *nix 6760 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6761 ;; 6762 esac 6763 ;; 6764 * ) # unhandled hosts (and "normal" native builds) 6765 lt_cv_to_host_file_cmd=func_convert_file_noop 6766 ;; 6767esac 6768 6769fi 6770 6771to_host_file_cmd=$lt_cv_to_host_file_cmd 6772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6773$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6774 6775 6776 6777 6778 6779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6780$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6781if ${lt_cv_to_tool_file_cmd+:} false; then : 6782 $as_echo_n "(cached) " >&6 6783else 6784 #assume ordinary cross tools, or native build. 6785lt_cv_to_tool_file_cmd=func_convert_file_noop 6786case $host in 6787 *-*-mingw* ) 6788 case $build in 6789 *-*-mingw* ) # actually msys 6790 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6791 ;; 6792 esac 6793 ;; 6794esac 6795 6796fi 6797 6798to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6800$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6801 6802 6803 6804 6805 6806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6807$as_echo_n "checking for $LD option to reload object files... " >&6; } 6808if ${lt_cv_ld_reload_flag+:} false; then : 6809 $as_echo_n "(cached) " >&6 6810else 6811 lt_cv_ld_reload_flag='-r' 6812fi 6813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6814$as_echo "$lt_cv_ld_reload_flag" >&6; } 6815reload_flag=$lt_cv_ld_reload_flag 6816case $reload_flag in 6817"" | " "*) ;; 6818*) reload_flag=" $reload_flag" ;; 6819esac 6820reload_cmds='$LD$reload_flag -o $output$reload_objs' 6821case $host_os in 6822 cygwin* | mingw* | pw32* | cegcc*) 6823 if test "$GCC" != yes; then 6824 reload_cmds=false 6825 fi 6826 ;; 6827 darwin*) 6828 if test "$GCC" = yes; then 6829 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 6830 else 6831 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6832 fi 6833 ;; 6834esac 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844if test -n "$ac_tool_prefix"; then 6845 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6846set dummy ${ac_tool_prefix}objdump; 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_OBJDUMP+:} false; then : 6850 $as_echo_n "(cached) " >&6 6851else 6852 if test -n "$OBJDUMP"; then 6853 ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ac_tool_prefix}objdump" 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 6872OBJDUMP=$ac_cv_prog_OBJDUMP 6873if test -n "$OBJDUMP"; then 6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6875$as_echo "$OBJDUMP" >&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_OBJDUMP"; then 6884 ac_ct_OBJDUMP=$OBJDUMP 6885 # Extract the first word of "objdump", so it can be a program name with args. 6886set dummy objdump; 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_OBJDUMP+:} false; then : 6890 $as_echo_n "(cached) " >&6 6891else 6892 if test -n "$ac_ct_OBJDUMP"; then 6893 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # 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_OBJDUMP="objdump" 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_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6913if test -n "$ac_ct_OBJDUMP"; then 6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6915$as_echo "$ac_ct_OBJDUMP" >&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_OBJDUMP" = x; then 6922 OBJDUMP="false" 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 OBJDUMP=$ac_ct_OBJDUMP 6931 fi 6932else 6933 OBJDUMP="$ac_cv_prog_OBJDUMP" 6934fi 6935 6936test -z "$OBJDUMP" && OBJDUMP=objdump 6937 6938 6939 6940 6941 6942 6943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6944$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6945if ${lt_cv_deplibs_check_method+:} false; then : 6946 $as_echo_n "(cached) " >&6 6947else 6948 lt_cv_file_magic_cmd='$MAGIC_CMD' 6949lt_cv_file_magic_test_file= 6950lt_cv_deplibs_check_method='unknown' 6951# Need to set the preceding variable on all platforms that support 6952# interlibrary dependencies. 6953# 'none' -- dependencies not supported. 6954# `unknown' -- same as none, but documents that we really don't know. 6955# 'pass_all' -- all dependencies passed with no checks. 6956# 'test_compile' -- check by making test program. 6957# 'file_magic [[regex]]' -- check by looking for files in library path 6958# which responds to the $file_magic_cmd with a given extended regex. 6959# If you have `file' or equivalent on your system and you're not sure 6960# whether `pass_all' will *always* work, you probably want this one. 6961 6962case $host_os in 6963aix[4-9]*) 6964 lt_cv_deplibs_check_method=pass_all 6965 ;; 6966 6967beos*) 6968 lt_cv_deplibs_check_method=pass_all 6969 ;; 6970 6971bsdi[45]*) 6972 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6973 lt_cv_file_magic_cmd='/usr/bin/file -L' 6974 lt_cv_file_magic_test_file=/shlib/libc.so 6975 ;; 6976 6977cygwin*) 6978 # func_win32_libid is a shell function defined in ltmain.sh 6979 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6980 lt_cv_file_magic_cmd='func_win32_libid' 6981 ;; 6982 6983mingw* | pw32*) 6984 # Base MSYS/MinGW do not provide the 'file' command needed by 6985 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6986 # unless we find 'file', for example because we are cross-compiling. 6987 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 6988 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 6989 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6990 lt_cv_file_magic_cmd='func_win32_libid' 6991 else 6992 # Keep this pattern in sync with the one in func_win32_libid. 6993 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6994 lt_cv_file_magic_cmd='$OBJDUMP -f' 6995 fi 6996 ;; 6997 6998cegcc*) 6999 # use the weaker test based on 'objdump'. See mingw*. 7000 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7001 lt_cv_file_magic_cmd='$OBJDUMP -f' 7002 ;; 7003 7004darwin* | rhapsody*) 7005 lt_cv_deplibs_check_method=pass_all 7006 ;; 7007 7008freebsd* | dragonfly*) 7009 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7010 case $host_cpu in 7011 i*86 ) 7012 # Not sure whether the presence of OpenBSD here was a mistake. 7013 # Let's accept both of them until this is cleared up. 7014 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7015 lt_cv_file_magic_cmd=/usr/bin/file 7016 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7017 ;; 7018 esac 7019 else 7020 lt_cv_deplibs_check_method=pass_all 7021 fi 7022 ;; 7023 7024gnu*) 7025 lt_cv_deplibs_check_method=pass_all 7026 ;; 7027 7028haiku*) 7029 lt_cv_deplibs_check_method=pass_all 7030 ;; 7031 7032hpux10.20* | hpux11*) 7033 lt_cv_file_magic_cmd=/usr/bin/file 7034 case $host_cpu in 7035 ia64*) 7036 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7037 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7038 ;; 7039 hppa*64*) 7040 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]' 7041 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7042 ;; 7043 *) 7044 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7045 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7046 ;; 7047 esac 7048 ;; 7049 7050interix[3-9]*) 7051 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7052 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7053 ;; 7054 7055irix5* | irix6* | nonstopux*) 7056 case $LD in 7057 *-32|*"-32 ") libmagic=32-bit;; 7058 *-n32|*"-n32 ") libmagic=N32;; 7059 *-64|*"-64 ") libmagic=64-bit;; 7060 *) libmagic=never-match;; 7061 esac 7062 lt_cv_deplibs_check_method=pass_all 7063 ;; 7064 7065# This must be glibc/ELF. 7066linux* | k*bsd*-gnu | kopensolaris*-gnu) 7067 lt_cv_deplibs_check_method=pass_all 7068 ;; 7069 7070netbsd*) 7071 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7072 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7073 else 7074 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7075 fi 7076 ;; 7077 7078newos6*) 7079 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7080 lt_cv_file_magic_cmd=/usr/bin/file 7081 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7082 ;; 7083 7084*nto* | *qnx*) 7085 lt_cv_deplibs_check_method=pass_all 7086 ;; 7087 7088openbsd*) 7089 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 7090 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7091 else 7092 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7093 fi 7094 ;; 7095 7096osf3* | osf4* | osf5*) 7097 lt_cv_deplibs_check_method=pass_all 7098 ;; 7099 7100rdos*) 7101 lt_cv_deplibs_check_method=pass_all 7102 ;; 7103 7104solaris*) 7105 lt_cv_deplibs_check_method=pass_all 7106 ;; 7107 7108sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7109 lt_cv_deplibs_check_method=pass_all 7110 ;; 7111 7112sysv4 | sysv4.3*) 7113 case $host_vendor in 7114 motorola) 7115 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]' 7116 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7117 ;; 7118 ncr) 7119 lt_cv_deplibs_check_method=pass_all 7120 ;; 7121 sequent) 7122 lt_cv_file_magic_cmd='/bin/file' 7123 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7124 ;; 7125 sni) 7126 lt_cv_file_magic_cmd='/bin/file' 7127 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7128 lt_cv_file_magic_test_file=/lib/libc.so 7129 ;; 7130 siemens) 7131 lt_cv_deplibs_check_method=pass_all 7132 ;; 7133 pc) 7134 lt_cv_deplibs_check_method=pass_all 7135 ;; 7136 esac 7137 ;; 7138 7139tpf*) 7140 lt_cv_deplibs_check_method=pass_all 7141 ;; 7142esac 7143 7144fi 7145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7146$as_echo "$lt_cv_deplibs_check_method" >&6; } 7147 7148file_magic_glob= 7149want_nocaseglob=no 7150if test "$build" = "$host"; then 7151 case $host_os in 7152 mingw* | pw32*) 7153 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7154 want_nocaseglob=yes 7155 else 7156 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7157 fi 7158 ;; 7159 esac 7160fi 7161 7162file_magic_cmd=$lt_cv_file_magic_cmd 7163deplibs_check_method=$lt_cv_deplibs_check_method 7164test -z "$deplibs_check_method" && deplibs_check_method=unknown 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187if test -n "$ac_tool_prefix"; then 7188 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7189set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7191$as_echo_n "checking for $ac_word... " >&6; } 7192if ${ac_cv_prog_DLLTOOL+:} false; then : 7193 $as_echo_n "(cached) " >&6 7194else 7195 if test -n "$DLLTOOL"; then 7196 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7197else 7198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7199for as_dir in $PATH 7200do 7201 IFS=$as_save_IFS 7202 test -z "$as_dir" && as_dir=. 7203 for ac_exec_ext in '' $ac_executable_extensions; do 7204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7205 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7207 break 2 7208 fi 7209done 7210 done 7211IFS=$as_save_IFS 7212 7213fi 7214fi 7215DLLTOOL=$ac_cv_prog_DLLTOOL 7216if test -n "$DLLTOOL"; then 7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7218$as_echo "$DLLTOOL" >&6; } 7219else 7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7221$as_echo "no" >&6; } 7222fi 7223 7224 7225fi 7226if test -z "$ac_cv_prog_DLLTOOL"; then 7227 ac_ct_DLLTOOL=$DLLTOOL 7228 # Extract the first word of "dlltool", so it can be a program name with args. 7229set dummy dlltool; ac_word=$2 7230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7231$as_echo_n "checking for $ac_word... " >&6; } 7232if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7233 $as_echo_n "(cached) " >&6 7234else 7235 if test -n "$ac_ct_DLLTOOL"; then 7236 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7237else 7238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7239for as_dir in $PATH 7240do 7241 IFS=$as_save_IFS 7242 test -z "$as_dir" && as_dir=. 7243 for ac_exec_ext in '' $ac_executable_extensions; do 7244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7245 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7247 break 2 7248 fi 7249done 7250 done 7251IFS=$as_save_IFS 7252 7253fi 7254fi 7255ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7256if test -n "$ac_ct_DLLTOOL"; then 7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7258$as_echo "$ac_ct_DLLTOOL" >&6; } 7259else 7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7261$as_echo "no" >&6; } 7262fi 7263 7264 if test "x$ac_ct_DLLTOOL" = x; then 7265 DLLTOOL="false" 7266 else 7267 case $cross_compiling:$ac_tool_warned in 7268yes:) 7269{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7270$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7271ac_tool_warned=yes ;; 7272esac 7273 DLLTOOL=$ac_ct_DLLTOOL 7274 fi 7275else 7276 DLLTOOL="$ac_cv_prog_DLLTOOL" 7277fi 7278 7279test -z "$DLLTOOL" && DLLTOOL=dlltool 7280 7281 7282 7283 7284 7285 7286 7287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7288$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7289if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7290 $as_echo_n "(cached) " >&6 7291else 7292 lt_cv_sharedlib_from_linklib_cmd='unknown' 7293 7294case $host_os in 7295cygwin* | mingw* | pw32* | cegcc*) 7296 # two different shell functions defined in ltmain.sh 7297 # decide which to use based on capabilities of $DLLTOOL 7298 case `$DLLTOOL --help 2>&1` in 7299 *--identify-strict*) 7300 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7301 ;; 7302 *) 7303 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7304 ;; 7305 esac 7306 ;; 7307*) 7308 # fallback: assume linklib IS sharedlib 7309 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 7310 ;; 7311esac 7312 7313fi 7314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7315$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7316sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7317test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7318 7319 7320 7321 7322 7323 7324 7325if test -n "$ac_tool_prefix"; then 7326 for ac_prog in ar 7327 do 7328 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7329set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7331$as_echo_n "checking for $ac_word... " >&6; } 7332if ${ac_cv_prog_AR+:} false; then : 7333 $as_echo_n "(cached) " >&6 7334else 7335 if test -n "$AR"; then 7336 ac_cv_prog_AR="$AR" # Let the user override the test. 7337else 7338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7339for as_dir in $PATH 7340do 7341 IFS=$as_save_IFS 7342 test -z "$as_dir" && as_dir=. 7343 for ac_exec_ext in '' $ac_executable_extensions; do 7344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7345 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7347 break 2 7348 fi 7349done 7350 done 7351IFS=$as_save_IFS 7352 7353fi 7354fi 7355AR=$ac_cv_prog_AR 7356if test -n "$AR"; then 7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7358$as_echo "$AR" >&6; } 7359else 7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7361$as_echo "no" >&6; } 7362fi 7363 7364 7365 test -n "$AR" && break 7366 done 7367fi 7368if test -z "$AR"; then 7369 ac_ct_AR=$AR 7370 for ac_prog in ar 7371do 7372 # Extract the first word of "$ac_prog", so it can be a program name with args. 7373set dummy $ac_prog; ac_word=$2 7374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7375$as_echo_n "checking for $ac_word... " >&6; } 7376if ${ac_cv_prog_ac_ct_AR+:} false; then : 7377 $as_echo_n "(cached) " >&6 7378else 7379 if test -n "$ac_ct_AR"; then 7380 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7381else 7382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7383for as_dir in $PATH 7384do 7385 IFS=$as_save_IFS 7386 test -z "$as_dir" && as_dir=. 7387 for ac_exec_ext in '' $ac_executable_extensions; do 7388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7389 ac_cv_prog_ac_ct_AR="$ac_prog" 7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7391 break 2 7392 fi 7393done 7394 done 7395IFS=$as_save_IFS 7396 7397fi 7398fi 7399ac_ct_AR=$ac_cv_prog_ac_ct_AR 7400if test -n "$ac_ct_AR"; then 7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7402$as_echo "$ac_ct_AR" >&6; } 7403else 7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7405$as_echo "no" >&6; } 7406fi 7407 7408 7409 test -n "$ac_ct_AR" && break 7410done 7411 7412 if test "x$ac_ct_AR" = x; then 7413 AR="false" 7414 else 7415 case $cross_compiling:$ac_tool_warned in 7416yes:) 7417{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7418$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7419ac_tool_warned=yes ;; 7420esac 7421 AR=$ac_ct_AR 7422 fi 7423fi 7424 7425: ${AR=ar} 7426: ${AR_FLAGS=cru} 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7439$as_echo_n "checking for archiver @FILE support... " >&6; } 7440if ${lt_cv_ar_at_file+:} false; then : 7441 $as_echo_n "(cached) " >&6 7442else 7443 lt_cv_ar_at_file=no 7444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7445/* end confdefs.h. */ 7446 7447int 7448main () 7449{ 7450 7451 ; 7452 return 0; 7453} 7454_ACEOF 7455if ac_fn_c_try_compile "$LINENO"; then : 7456 echo conftest.$ac_objext > conftest.lst 7457 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7458 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7459 (eval $lt_ar_try) 2>&5 7460 ac_status=$? 7461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7462 test $ac_status = 0; } 7463 if test "$ac_status" -eq 0; then 7464 # Ensure the archiver fails upon bogus file names. 7465 rm -f conftest.$ac_objext libconftest.a 7466 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7467 (eval $lt_ar_try) 2>&5 7468 ac_status=$? 7469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7470 test $ac_status = 0; } 7471 if test "$ac_status" -ne 0; then 7472 lt_cv_ar_at_file=@ 7473 fi 7474 fi 7475 rm -f conftest.* libconftest.a 7476 7477fi 7478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7479 7480fi 7481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7482$as_echo "$lt_cv_ar_at_file" >&6; } 7483 7484if test "x$lt_cv_ar_at_file" = xno; then 7485 archiver_list_spec= 7486else 7487 archiver_list_spec=$lt_cv_ar_at_file 7488fi 7489 7490 7491 7492 7493 7494 7495 7496if test -n "$ac_tool_prefix"; then 7497 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7498set dummy ${ac_tool_prefix}strip; ac_word=$2 7499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7500$as_echo_n "checking for $ac_word... " >&6; } 7501if ${ac_cv_prog_STRIP+:} false; then : 7502 $as_echo_n "(cached) " >&6 7503else 7504 if test -n "$STRIP"; then 7505 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7506else 7507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7508for as_dir in $PATH 7509do 7510 IFS=$as_save_IFS 7511 test -z "$as_dir" && as_dir=. 7512 for ac_exec_ext in '' $ac_executable_extensions; do 7513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7514 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7516 break 2 7517 fi 7518done 7519 done 7520IFS=$as_save_IFS 7521 7522fi 7523fi 7524STRIP=$ac_cv_prog_STRIP 7525if test -n "$STRIP"; then 7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7527$as_echo "$STRIP" >&6; } 7528else 7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7530$as_echo "no" >&6; } 7531fi 7532 7533 7534fi 7535if test -z "$ac_cv_prog_STRIP"; then 7536 ac_ct_STRIP=$STRIP 7537 # Extract the first word of "strip", so it can be a program name with args. 7538set dummy strip; ac_word=$2 7539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7540$as_echo_n "checking for $ac_word... " >&6; } 7541if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7542 $as_echo_n "(cached) " >&6 7543else 7544 if test -n "$ac_ct_STRIP"; then 7545 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7546else 7547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7548for as_dir in $PATH 7549do 7550 IFS=$as_save_IFS 7551 test -z "$as_dir" && as_dir=. 7552 for ac_exec_ext in '' $ac_executable_extensions; do 7553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7554 ac_cv_prog_ac_ct_STRIP="strip" 7555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7556 break 2 7557 fi 7558done 7559 done 7560IFS=$as_save_IFS 7561 7562fi 7563fi 7564ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7565if test -n "$ac_ct_STRIP"; then 7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7567$as_echo "$ac_ct_STRIP" >&6; } 7568else 7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7570$as_echo "no" >&6; } 7571fi 7572 7573 if test "x$ac_ct_STRIP" = x; then 7574 STRIP=":" 7575 else 7576 case $cross_compiling:$ac_tool_warned in 7577yes:) 7578{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7579$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7580ac_tool_warned=yes ;; 7581esac 7582 STRIP=$ac_ct_STRIP 7583 fi 7584else 7585 STRIP="$ac_cv_prog_STRIP" 7586fi 7587 7588test -z "$STRIP" && STRIP=: 7589 7590 7591 7592 7593 7594 7595if test -n "$ac_tool_prefix"; then 7596 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7597set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7599$as_echo_n "checking for $ac_word... " >&6; } 7600if ${ac_cv_prog_RANLIB+:} false; then : 7601 $as_echo_n "(cached) " >&6 7602else 7603 if test -n "$RANLIB"; then 7604 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7605else 7606as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7607for as_dir in $PATH 7608do 7609 IFS=$as_save_IFS 7610 test -z "$as_dir" && as_dir=. 7611 for ac_exec_ext in '' $ac_executable_extensions; do 7612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7613 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7615 break 2 7616 fi 7617done 7618 done 7619IFS=$as_save_IFS 7620 7621fi 7622fi 7623RANLIB=$ac_cv_prog_RANLIB 7624if test -n "$RANLIB"; then 7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7626$as_echo "$RANLIB" >&6; } 7627else 7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7629$as_echo "no" >&6; } 7630fi 7631 7632 7633fi 7634if test -z "$ac_cv_prog_RANLIB"; then 7635 ac_ct_RANLIB=$RANLIB 7636 # Extract the first word of "ranlib", so it can be a program name with args. 7637set dummy ranlib; ac_word=$2 7638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7639$as_echo_n "checking for $ac_word... " >&6; } 7640if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7641 $as_echo_n "(cached) " >&6 7642else 7643 if test -n "$ac_ct_RANLIB"; then 7644 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7645else 7646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7647for as_dir in $PATH 7648do 7649 IFS=$as_save_IFS 7650 test -z "$as_dir" && as_dir=. 7651 for ac_exec_ext in '' $ac_executable_extensions; do 7652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7653 ac_cv_prog_ac_ct_RANLIB="ranlib" 7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7655 break 2 7656 fi 7657done 7658 done 7659IFS=$as_save_IFS 7660 7661fi 7662fi 7663ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7664if test -n "$ac_ct_RANLIB"; then 7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7666$as_echo "$ac_ct_RANLIB" >&6; } 7667else 7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7669$as_echo "no" >&6; } 7670fi 7671 7672 if test "x$ac_ct_RANLIB" = x; then 7673 RANLIB=":" 7674 else 7675 case $cross_compiling:$ac_tool_warned in 7676yes:) 7677{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7678$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7679ac_tool_warned=yes ;; 7680esac 7681 RANLIB=$ac_ct_RANLIB 7682 fi 7683else 7684 RANLIB="$ac_cv_prog_RANLIB" 7685fi 7686 7687test -z "$RANLIB" && RANLIB=: 7688 7689 7690 7691 7692 7693 7694# Determine commands to create old-style static archives. 7695old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7696old_postinstall_cmds='chmod 644 $oldlib' 7697old_postuninstall_cmds= 7698 7699if test -n "$RANLIB"; then 7700 case $host_os in 7701 openbsd*) 7702 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7703 ;; 7704 *) 7705 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7706 ;; 7707 esac 7708 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7709fi 7710 7711case $host_os in 7712 darwin*) 7713 lock_old_archive_extraction=yes ;; 7714 *) 7715 lock_old_archive_extraction=no ;; 7716esac 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756# If no C compiler was specified, use CC. 7757LTCC=${LTCC-"$CC"} 7758 7759# If no C compiler flags were specified, use CFLAGS. 7760LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7761 7762# Allow CC to be a program name with arguments. 7763compiler=$CC 7764 7765 7766# Check for command to grab the raw symbol name followed by C symbol from nm. 7767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7768$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7769if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7770 $as_echo_n "(cached) " >&6 7771else 7772 7773# These are sane defaults that work on at least a few old systems. 7774# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7775 7776# Character class describing NM global symbol codes. 7777symcode='[BCDEGRST]' 7778 7779# Regexp to match symbols that can be accessed directly from C. 7780sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7781 7782# Define system-specific variables. 7783case $host_os in 7784aix*) 7785 symcode='[BCDT]' 7786 ;; 7787cygwin* | mingw* | pw32* | cegcc*) 7788 symcode='[ABCDGISTW]' 7789 ;; 7790hpux*) 7791 if test "$host_cpu" = ia64; then 7792 symcode='[ABCDEGRST]' 7793 fi 7794 ;; 7795irix* | nonstopux*) 7796 symcode='[BCDEGRST]' 7797 ;; 7798osf*) 7799 symcode='[BCDEGQRST]' 7800 ;; 7801solaris*) 7802 symcode='[BDRT]' 7803 ;; 7804sco3.2v5*) 7805 symcode='[DT]' 7806 ;; 7807sysv4.2uw2*) 7808 symcode='[DT]' 7809 ;; 7810sysv5* | sco5v6* | unixware* | OpenUNIX*) 7811 symcode='[ABDT]' 7812 ;; 7813sysv4) 7814 symcode='[DFNSTU]' 7815 ;; 7816esac 7817 7818# If we're using GNU nm, then use its standard symbol codes. 7819case `$NM -V 2>&1` in 7820*GNU* | *'with BFD'*) 7821 symcode='[ABCDGIRSTW]' ;; 7822esac 7823 7824# Transform an extracted symbol line into a proper C declaration. 7825# Some systems (esp. on ia64) link data and code symbols differently, 7826# so use this general approach. 7827lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7828 7829# Transform an extracted symbol line into symbol name and symbol address 7830lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 7831lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 7832 7833# Handle CRLF in mingw tool chain 7834opt_cr= 7835case $build_os in 7836mingw*) 7837 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7838 ;; 7839esac 7840 7841# Try without a prefix underscore, then with it. 7842for ac_symprfx in "" "_"; do 7843 7844 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7845 symxfrm="\\1 $ac_symprfx\\2 \\2" 7846 7847 # Write the raw and C identifiers. 7848 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7849 # Fake it for dumpbin and say T for any non-static function 7850 # and D for any global variable. 7851 # Also find C++ and __fastcall symbols from MSVC++, 7852 # which start with @ or ?. 7853 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7854" {last_section=section; section=\$ 3};"\ 7855" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7856" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7857" \$ 0!~/External *\|/{next};"\ 7858" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7859" {if(hide[section]) next};"\ 7860" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 7861" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 7862" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 7863" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 7864" ' prfx=^$ac_symprfx" 7865 else 7866 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7867 fi 7868 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7869 7870 # Check to see that the pipe works correctly. 7871 pipe_works=no 7872 7873 rm -f conftest* 7874 cat > conftest.$ac_ext <<_LT_EOF 7875#ifdef __cplusplus 7876extern "C" { 7877#endif 7878char nm_test_var; 7879void nm_test_func(void); 7880void nm_test_func(void){} 7881#ifdef __cplusplus 7882} 7883#endif 7884int main(){nm_test_var='a';nm_test_func();return(0);} 7885_LT_EOF 7886 7887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7888 (eval $ac_compile) 2>&5 7889 ac_status=$? 7890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7891 test $ac_status = 0; }; then 7892 # Now try to grab the symbols. 7893 nlist=conftest.nm 7894 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7895 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7896 ac_status=$? 7897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7898 test $ac_status = 0; } && test -s "$nlist"; then 7899 # Try sorting and uniquifying the output. 7900 if sort "$nlist" | uniq > "$nlist"T; then 7901 mv -f "$nlist"T "$nlist" 7902 else 7903 rm -f "$nlist"T 7904 fi 7905 7906 # Make sure that we snagged all the symbols we need. 7907 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7908 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7909 cat <<_LT_EOF > conftest.$ac_ext 7910/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7911#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 7912/* DATA imports from DLLs on WIN32 con't be const, because runtime 7913 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7914# define LT_DLSYM_CONST 7915#elif defined(__osf__) 7916/* This system does not cope well with relocations in const data. */ 7917# define LT_DLSYM_CONST 7918#else 7919# define LT_DLSYM_CONST const 7920#endif 7921 7922#ifdef __cplusplus 7923extern "C" { 7924#endif 7925 7926_LT_EOF 7927 # Now generate the symbol file. 7928 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7929 7930 cat <<_LT_EOF >> conftest.$ac_ext 7931 7932/* The mapping between symbol names and symbols. */ 7933LT_DLSYM_CONST struct { 7934 const char *name; 7935 void *address; 7936} 7937lt__PROGRAM__LTX_preloaded_symbols[] = 7938{ 7939 { "@PROGRAM@", (void *) 0 }, 7940_LT_EOF 7941 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7942 cat <<\_LT_EOF >> conftest.$ac_ext 7943 {0, (void *) 0} 7944}; 7945 7946/* This works around a problem in FreeBSD linker */ 7947#ifdef FREEBSD_WORKAROUND 7948static const void *lt_preloaded_setup() { 7949 return lt__PROGRAM__LTX_preloaded_symbols; 7950} 7951#endif 7952 7953#ifdef __cplusplus 7954} 7955#endif 7956_LT_EOF 7957 # Now try linking the two files. 7958 mv conftest.$ac_objext conftstm.$ac_objext 7959 lt_globsym_save_LIBS=$LIBS 7960 lt_globsym_save_CFLAGS=$CFLAGS 7961 LIBS="conftstm.$ac_objext" 7962 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7964 (eval $ac_link) 2>&5 7965 ac_status=$? 7966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7967 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7968 pipe_works=yes 7969 fi 7970 LIBS=$lt_globsym_save_LIBS 7971 CFLAGS=$lt_globsym_save_CFLAGS 7972 else 7973 echo "cannot find nm_test_func in $nlist" >&5 7974 fi 7975 else 7976 echo "cannot find nm_test_var in $nlist" >&5 7977 fi 7978 else 7979 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7980 fi 7981 else 7982 echo "$progname: failed program was:" >&5 7983 cat conftest.$ac_ext >&5 7984 fi 7985 rm -rf conftest* conftst* 7986 7987 # Do not use the global_symbol_pipe unless it works. 7988 if test "$pipe_works" = yes; then 7989 break 7990 else 7991 lt_cv_sys_global_symbol_pipe= 7992 fi 7993done 7994 7995fi 7996 7997if test -z "$lt_cv_sys_global_symbol_pipe"; then 7998 lt_cv_sys_global_symbol_to_cdecl= 7999fi 8000if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8002$as_echo "failed" >&6; } 8003else 8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8005$as_echo "ok" >&6; } 8006fi 8007 8008# Response file support. 8009if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8010 nm_file_list_spec='@' 8011elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8012 nm_file_list_spec='@' 8013fi 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8042$as_echo_n "checking for sysroot... " >&6; } 8043 8044# Check whether --with-sysroot was given. 8045if test "${with_sysroot+set}" = set; then : 8046 withval=$with_sysroot; 8047else 8048 with_sysroot=no 8049fi 8050 8051 8052lt_sysroot= 8053case ${with_sysroot} in #( 8054 yes) 8055 if test "$GCC" = yes; then 8056 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8057 fi 8058 ;; #( 8059 /*) 8060 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8061 ;; #( 8062 no|'') 8063 ;; #( 8064 *) 8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 8066$as_echo "${with_sysroot}" >&6; } 8067 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8068 ;; 8069esac 8070 8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8072$as_echo "${lt_sysroot:-no}" >&6; } 8073 8074 8075 8076 8077 8078# Check whether --enable-libtool-lock was given. 8079if test "${enable_libtool_lock+set}" = set; then : 8080 enableval=$enable_libtool_lock; 8081fi 8082 8083test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 8084 8085# Some flags need to be propagated to the compiler or linker for good 8086# libtool support. 8087case $host in 8088ia64-*-hpux*) 8089 # Find out which ABI we are using. 8090 echo 'int i;' > conftest.$ac_ext 8091 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8092 (eval $ac_compile) 2>&5 8093 ac_status=$? 8094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8095 test $ac_status = 0; }; then 8096 case `/usr/bin/file conftest.$ac_objext` in 8097 *ELF-32*) 8098 HPUX_IA64_MODE="32" 8099 ;; 8100 *ELF-64*) 8101 HPUX_IA64_MODE="64" 8102 ;; 8103 esac 8104 fi 8105 rm -rf conftest* 8106 ;; 8107*-*-irix6*) 8108 # Find out which ABI we are using. 8109 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8111 (eval $ac_compile) 2>&5 8112 ac_status=$? 8113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8114 test $ac_status = 0; }; then 8115 if test "$lt_cv_prog_gnu_ld" = yes; then 8116 case `/usr/bin/file conftest.$ac_objext` in 8117 *32-bit*) 8118 LD="${LD-ld} -melf32bsmip" 8119 ;; 8120 *N32*) 8121 LD="${LD-ld} -melf32bmipn32" 8122 ;; 8123 *64-bit*) 8124 LD="${LD-ld} -melf64bmip" 8125 ;; 8126 esac 8127 else 8128 case `/usr/bin/file conftest.$ac_objext` in 8129 *32-bit*) 8130 LD="${LD-ld} -32" 8131 ;; 8132 *N32*) 8133 LD="${LD-ld} -n32" 8134 ;; 8135 *64-bit*) 8136 LD="${LD-ld} -64" 8137 ;; 8138 esac 8139 fi 8140 fi 8141 rm -rf conftest* 8142 ;; 8143 8144x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 8145s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8146 # Find out which ABI we are using. 8147 echo 'int i;' > conftest.$ac_ext 8148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8149 (eval $ac_compile) 2>&5 8150 ac_status=$? 8151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8152 test $ac_status = 0; }; then 8153 case `/usr/bin/file conftest.o` in 8154 *32-bit*) 8155 case $host in 8156 x86_64-*kfreebsd*-gnu) 8157 LD="${LD-ld} -m elf_i386_fbsd" 8158 ;; 8159 x86_64-*linux*) 8160 LD="${LD-ld} -m elf_i386" 8161 ;; 8162 ppc64-*linux*|powerpc64-*linux*) 8163 LD="${LD-ld} -m elf32ppclinux" 8164 ;; 8165 s390x-*linux*) 8166 LD="${LD-ld} -m elf_s390" 8167 ;; 8168 sparc64-*linux*) 8169 LD="${LD-ld} -m elf32_sparc" 8170 ;; 8171 esac 8172 ;; 8173 *64-bit*) 8174 case $host in 8175 x86_64-*kfreebsd*-gnu) 8176 LD="${LD-ld} -m elf_x86_64_fbsd" 8177 ;; 8178 x86_64-*linux*) 8179 LD="${LD-ld} -m elf_x86_64" 8180 ;; 8181 ppc*-*linux*|powerpc*-*linux*) 8182 LD="${LD-ld} -m elf64ppc" 8183 ;; 8184 s390*-*linux*|s390*-*tpf*) 8185 LD="${LD-ld} -m elf64_s390" 8186 ;; 8187 sparc*-*linux*) 8188 LD="${LD-ld} -m elf64_sparc" 8189 ;; 8190 esac 8191 ;; 8192 esac 8193 fi 8194 rm -rf conftest* 8195 ;; 8196 8197*-*-sco3.2v5*) 8198 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8199 SAVE_CFLAGS="$CFLAGS" 8200 CFLAGS="$CFLAGS -belf" 8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8202$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8203if ${lt_cv_cc_needs_belf+:} false; then : 8204 $as_echo_n "(cached) " >&6 8205else 8206 ac_ext=c 8207ac_cpp='$CPP $CPPFLAGS' 8208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8210ac_compiler_gnu=$ac_cv_c_compiler_gnu 8211 8212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8213/* end confdefs.h. */ 8214 8215int 8216main () 8217{ 8218 8219 ; 8220 return 0; 8221} 8222_ACEOF 8223if ac_fn_c_try_link "$LINENO"; then : 8224 lt_cv_cc_needs_belf=yes 8225else 8226 lt_cv_cc_needs_belf=no 8227fi 8228rm -f core conftest.err conftest.$ac_objext \ 8229 conftest$ac_exeext conftest.$ac_ext 8230 ac_ext=c 8231ac_cpp='$CPP $CPPFLAGS' 8232ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8233ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8234ac_compiler_gnu=$ac_cv_c_compiler_gnu 8235 8236fi 8237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8238$as_echo "$lt_cv_cc_needs_belf" >&6; } 8239 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 8240 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8241 CFLAGS="$SAVE_CFLAGS" 8242 fi 8243 ;; 8244*-*solaris*) 8245 # Find out which ABI we are using. 8246 echo 'int i;' > conftest.$ac_ext 8247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8248 (eval $ac_compile) 2>&5 8249 ac_status=$? 8250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8251 test $ac_status = 0; }; then 8252 case `/usr/bin/file conftest.o` in 8253 *64-bit*) 8254 case $lt_cv_prog_gnu_ld in 8255 yes*) 8256 case $host in 8257 i?86-*-solaris*) 8258 LD="${LD-ld} -m elf_x86_64" 8259 ;; 8260 sparc*-*-solaris*) 8261 LD="${LD-ld} -m elf64_sparc" 8262 ;; 8263 esac 8264 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8265 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8266 LD="${LD-ld}_sol2" 8267 fi 8268 ;; 8269 *) 8270 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8271 LD="${LD-ld} -64" 8272 fi 8273 ;; 8274 esac 8275 ;; 8276 esac 8277 fi 8278 rm -rf conftest* 8279 ;; 8280esac 8281 8282need_locks="$enable_libtool_lock" 8283 8284if test -n "$ac_tool_prefix"; then 8285 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8286set dummy ${ac_tool_prefix}mt; ac_word=$2 8287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8288$as_echo_n "checking for $ac_word... " >&6; } 8289if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8290 $as_echo_n "(cached) " >&6 8291else 8292 if test -n "$MANIFEST_TOOL"; then 8293 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8294else 8295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8296for as_dir in $PATH 8297do 8298 IFS=$as_save_IFS 8299 test -z "$as_dir" && as_dir=. 8300 for ac_exec_ext in '' $ac_executable_extensions; do 8301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8302 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8304 break 2 8305 fi 8306done 8307 done 8308IFS=$as_save_IFS 8309 8310fi 8311fi 8312MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8313if test -n "$MANIFEST_TOOL"; then 8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8315$as_echo "$MANIFEST_TOOL" >&6; } 8316else 8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8318$as_echo "no" >&6; } 8319fi 8320 8321 8322fi 8323if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8324 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8325 # Extract the first word of "mt", so it can be a program name with args. 8326set dummy mt; ac_word=$2 8327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8328$as_echo_n "checking for $ac_word... " >&6; } 8329if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 8330 $as_echo_n "(cached) " >&6 8331else 8332 if test -n "$ac_ct_MANIFEST_TOOL"; then 8333 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8334else 8335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8336for as_dir in $PATH 8337do 8338 IFS=$as_save_IFS 8339 test -z "$as_dir" && as_dir=. 8340 for ac_exec_ext in '' $ac_executable_extensions; do 8341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8342 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8344 break 2 8345 fi 8346done 8347 done 8348IFS=$as_save_IFS 8349 8350fi 8351fi 8352ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8353if test -n "$ac_ct_MANIFEST_TOOL"; then 8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8355$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8356else 8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8358$as_echo "no" >&6; } 8359fi 8360 8361 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8362 MANIFEST_TOOL=":" 8363 else 8364 case $cross_compiling:$ac_tool_warned in 8365yes:) 8366{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8367$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8368ac_tool_warned=yes ;; 8369esac 8370 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8371 fi 8372else 8373 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8374fi 8375 8376test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8378$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8379if ${lt_cv_path_mainfest_tool+:} false; then : 8380 $as_echo_n "(cached) " >&6 8381else 8382 lt_cv_path_mainfest_tool=no 8383 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8384 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8385 cat conftest.err >&5 8386 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8387 lt_cv_path_mainfest_tool=yes 8388 fi 8389 rm -f conftest* 8390fi 8391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8392$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8393if test "x$lt_cv_path_mainfest_tool" != xyes; then 8394 MANIFEST_TOOL=: 8395fi 8396 8397 8398 8399 8400 8401 8402 case $host_os in 8403 rhapsody* | darwin*) 8404 if test -n "$ac_tool_prefix"; then 8405 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8406set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8408$as_echo_n "checking for $ac_word... " >&6; } 8409if ${ac_cv_prog_DSYMUTIL+:} false; then : 8410 $as_echo_n "(cached) " >&6 8411else 8412 if test -n "$DSYMUTIL"; then 8413 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8414else 8415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8416for as_dir in $PATH 8417do 8418 IFS=$as_save_IFS 8419 test -z "$as_dir" && as_dir=. 8420 for ac_exec_ext in '' $ac_executable_extensions; do 8421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8422 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8424 break 2 8425 fi 8426done 8427 done 8428IFS=$as_save_IFS 8429 8430fi 8431fi 8432DSYMUTIL=$ac_cv_prog_DSYMUTIL 8433if test -n "$DSYMUTIL"; then 8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8435$as_echo "$DSYMUTIL" >&6; } 8436else 8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8438$as_echo "no" >&6; } 8439fi 8440 8441 8442fi 8443if test -z "$ac_cv_prog_DSYMUTIL"; then 8444 ac_ct_DSYMUTIL=$DSYMUTIL 8445 # Extract the first word of "dsymutil", so it can be a program name with args. 8446set dummy dsymutil; ac_word=$2 8447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8448$as_echo_n "checking for $ac_word... " >&6; } 8449if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8450 $as_echo_n "(cached) " >&6 8451else 8452 if test -n "$ac_ct_DSYMUTIL"; then 8453 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8454else 8455as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8456for as_dir in $PATH 8457do 8458 IFS=$as_save_IFS 8459 test -z "$as_dir" && as_dir=. 8460 for ac_exec_ext in '' $ac_executable_extensions; do 8461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8462 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8464 break 2 8465 fi 8466done 8467 done 8468IFS=$as_save_IFS 8469 8470fi 8471fi 8472ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8473if test -n "$ac_ct_DSYMUTIL"; then 8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8475$as_echo "$ac_ct_DSYMUTIL" >&6; } 8476else 8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8478$as_echo "no" >&6; } 8479fi 8480 8481 if test "x$ac_ct_DSYMUTIL" = x; then 8482 DSYMUTIL=":" 8483 else 8484 case $cross_compiling:$ac_tool_warned in 8485yes:) 8486{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8487$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8488ac_tool_warned=yes ;; 8489esac 8490 DSYMUTIL=$ac_ct_DSYMUTIL 8491 fi 8492else 8493 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8494fi 8495 8496 if test -n "$ac_tool_prefix"; then 8497 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8498set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8500$as_echo_n "checking for $ac_word... " >&6; } 8501if ${ac_cv_prog_NMEDIT+:} false; then : 8502 $as_echo_n "(cached) " >&6 8503else 8504 if test -n "$NMEDIT"; then 8505 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8506else 8507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8508for as_dir in $PATH 8509do 8510 IFS=$as_save_IFS 8511 test -z "$as_dir" && as_dir=. 8512 for ac_exec_ext in '' $ac_executable_extensions; do 8513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8514 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8516 break 2 8517 fi 8518done 8519 done 8520IFS=$as_save_IFS 8521 8522fi 8523fi 8524NMEDIT=$ac_cv_prog_NMEDIT 8525if test -n "$NMEDIT"; then 8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8527$as_echo "$NMEDIT" >&6; } 8528else 8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8530$as_echo "no" >&6; } 8531fi 8532 8533 8534fi 8535if test -z "$ac_cv_prog_NMEDIT"; then 8536 ac_ct_NMEDIT=$NMEDIT 8537 # Extract the first word of "nmedit", so it can be a program name with args. 8538set dummy nmedit; ac_word=$2 8539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8540$as_echo_n "checking for $ac_word... " >&6; } 8541if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8542 $as_echo_n "(cached) " >&6 8543else 8544 if test -n "$ac_ct_NMEDIT"; then 8545 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8546else 8547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8548for as_dir in $PATH 8549do 8550 IFS=$as_save_IFS 8551 test -z "$as_dir" && as_dir=. 8552 for ac_exec_ext in '' $ac_executable_extensions; do 8553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8554 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8556 break 2 8557 fi 8558done 8559 done 8560IFS=$as_save_IFS 8561 8562fi 8563fi 8564ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8565if test -n "$ac_ct_NMEDIT"; then 8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8567$as_echo "$ac_ct_NMEDIT" >&6; } 8568else 8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8570$as_echo "no" >&6; } 8571fi 8572 8573 if test "x$ac_ct_NMEDIT" = x; then 8574 NMEDIT=":" 8575 else 8576 case $cross_compiling:$ac_tool_warned in 8577yes:) 8578{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8579$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8580ac_tool_warned=yes ;; 8581esac 8582 NMEDIT=$ac_ct_NMEDIT 8583 fi 8584else 8585 NMEDIT="$ac_cv_prog_NMEDIT" 8586fi 8587 8588 if test -n "$ac_tool_prefix"; then 8589 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8590set dummy ${ac_tool_prefix}lipo; ac_word=$2 8591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8592$as_echo_n "checking for $ac_word... " >&6; } 8593if ${ac_cv_prog_LIPO+:} false; then : 8594 $as_echo_n "(cached) " >&6 8595else 8596 if test -n "$LIPO"; then 8597 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8598else 8599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8600for as_dir in $PATH 8601do 8602 IFS=$as_save_IFS 8603 test -z "$as_dir" && as_dir=. 8604 for ac_exec_ext in '' $ac_executable_extensions; do 8605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8606 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8608 break 2 8609 fi 8610done 8611 done 8612IFS=$as_save_IFS 8613 8614fi 8615fi 8616LIPO=$ac_cv_prog_LIPO 8617if test -n "$LIPO"; then 8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8619$as_echo "$LIPO" >&6; } 8620else 8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8622$as_echo "no" >&6; } 8623fi 8624 8625 8626fi 8627if test -z "$ac_cv_prog_LIPO"; then 8628 ac_ct_LIPO=$LIPO 8629 # Extract the first word of "lipo", so it can be a program name with args. 8630set dummy lipo; ac_word=$2 8631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8632$as_echo_n "checking for $ac_word... " >&6; } 8633if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8634 $as_echo_n "(cached) " >&6 8635else 8636 if test -n "$ac_ct_LIPO"; then 8637 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8638else 8639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8640for as_dir in $PATH 8641do 8642 IFS=$as_save_IFS 8643 test -z "$as_dir" && as_dir=. 8644 for ac_exec_ext in '' $ac_executable_extensions; do 8645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8646 ac_cv_prog_ac_ct_LIPO="lipo" 8647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8648 break 2 8649 fi 8650done 8651 done 8652IFS=$as_save_IFS 8653 8654fi 8655fi 8656ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8657if test -n "$ac_ct_LIPO"; then 8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8659$as_echo "$ac_ct_LIPO" >&6; } 8660else 8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8662$as_echo "no" >&6; } 8663fi 8664 8665 if test "x$ac_ct_LIPO" = x; then 8666 LIPO=":" 8667 else 8668 case $cross_compiling:$ac_tool_warned in 8669yes:) 8670{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8671$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8672ac_tool_warned=yes ;; 8673esac 8674 LIPO=$ac_ct_LIPO 8675 fi 8676else 8677 LIPO="$ac_cv_prog_LIPO" 8678fi 8679 8680 if test -n "$ac_tool_prefix"; then 8681 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8682set dummy ${ac_tool_prefix}otool; ac_word=$2 8683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8684$as_echo_n "checking for $ac_word... " >&6; } 8685if ${ac_cv_prog_OTOOL+:} false; then : 8686 $as_echo_n "(cached) " >&6 8687else 8688 if test -n "$OTOOL"; then 8689 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8690else 8691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8692for as_dir in $PATH 8693do 8694 IFS=$as_save_IFS 8695 test -z "$as_dir" && as_dir=. 8696 for ac_exec_ext in '' $ac_executable_extensions; do 8697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8698 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8700 break 2 8701 fi 8702done 8703 done 8704IFS=$as_save_IFS 8705 8706fi 8707fi 8708OTOOL=$ac_cv_prog_OTOOL 8709if test -n "$OTOOL"; then 8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8711$as_echo "$OTOOL" >&6; } 8712else 8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8714$as_echo "no" >&6; } 8715fi 8716 8717 8718fi 8719if test -z "$ac_cv_prog_OTOOL"; then 8720 ac_ct_OTOOL=$OTOOL 8721 # Extract the first word of "otool", so it can be a program name with args. 8722set dummy otool; ac_word=$2 8723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8724$as_echo_n "checking for $ac_word... " >&6; } 8725if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8726 $as_echo_n "(cached) " >&6 8727else 8728 if test -n "$ac_ct_OTOOL"; then 8729 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8730else 8731as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8732for as_dir in $PATH 8733do 8734 IFS=$as_save_IFS 8735 test -z "$as_dir" && as_dir=. 8736 for ac_exec_ext in '' $ac_executable_extensions; do 8737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8738 ac_cv_prog_ac_ct_OTOOL="otool" 8739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8740 break 2 8741 fi 8742done 8743 done 8744IFS=$as_save_IFS 8745 8746fi 8747fi 8748ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8749if test -n "$ac_ct_OTOOL"; then 8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8751$as_echo "$ac_ct_OTOOL" >&6; } 8752else 8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8754$as_echo "no" >&6; } 8755fi 8756 8757 if test "x$ac_ct_OTOOL" = x; then 8758 OTOOL=":" 8759 else 8760 case $cross_compiling:$ac_tool_warned in 8761yes:) 8762{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8763$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8764ac_tool_warned=yes ;; 8765esac 8766 OTOOL=$ac_ct_OTOOL 8767 fi 8768else 8769 OTOOL="$ac_cv_prog_OTOOL" 8770fi 8771 8772 if test -n "$ac_tool_prefix"; then 8773 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8774set dummy ${ac_tool_prefix}otool64; ac_word=$2 8775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8776$as_echo_n "checking for $ac_word... " >&6; } 8777if ${ac_cv_prog_OTOOL64+:} false; then : 8778 $as_echo_n "(cached) " >&6 8779else 8780 if test -n "$OTOOL64"; then 8781 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8782else 8783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8784for as_dir in $PATH 8785do 8786 IFS=$as_save_IFS 8787 test -z "$as_dir" && as_dir=. 8788 for ac_exec_ext in '' $ac_executable_extensions; do 8789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8790 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8792 break 2 8793 fi 8794done 8795 done 8796IFS=$as_save_IFS 8797 8798fi 8799fi 8800OTOOL64=$ac_cv_prog_OTOOL64 8801if test -n "$OTOOL64"; then 8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8803$as_echo "$OTOOL64" >&6; } 8804else 8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8806$as_echo "no" >&6; } 8807fi 8808 8809 8810fi 8811if test -z "$ac_cv_prog_OTOOL64"; then 8812 ac_ct_OTOOL64=$OTOOL64 8813 # Extract the first word of "otool64", so it can be a program name with args. 8814set dummy otool64; ac_word=$2 8815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8816$as_echo_n "checking for $ac_word... " >&6; } 8817if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8818 $as_echo_n "(cached) " >&6 8819else 8820 if test -n "$ac_ct_OTOOL64"; then 8821 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8822else 8823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8824for as_dir in $PATH 8825do 8826 IFS=$as_save_IFS 8827 test -z "$as_dir" && as_dir=. 8828 for ac_exec_ext in '' $ac_executable_extensions; do 8829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8830 ac_cv_prog_ac_ct_OTOOL64="otool64" 8831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8832 break 2 8833 fi 8834done 8835 done 8836IFS=$as_save_IFS 8837 8838fi 8839fi 8840ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8841if test -n "$ac_ct_OTOOL64"; then 8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8843$as_echo "$ac_ct_OTOOL64" >&6; } 8844else 8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8846$as_echo "no" >&6; } 8847fi 8848 8849 if test "x$ac_ct_OTOOL64" = x; then 8850 OTOOL64=":" 8851 else 8852 case $cross_compiling:$ac_tool_warned in 8853yes:) 8854{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8855$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8856ac_tool_warned=yes ;; 8857esac 8858 OTOOL64=$ac_ct_OTOOL64 8859 fi 8860else 8861 OTOOL64="$ac_cv_prog_OTOOL64" 8862fi 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8891$as_echo_n "checking for -single_module linker flag... " >&6; } 8892if ${lt_cv_apple_cc_single_mod+:} false; then : 8893 $as_echo_n "(cached) " >&6 8894else 8895 lt_cv_apple_cc_single_mod=no 8896 if test -z "${LT_MULTI_MODULE}"; then 8897 # By default we will add the -single_module flag. You can override 8898 # by either setting the environment variable LT_MULTI_MODULE 8899 # non-empty at configure time, or by adding -multi_module to the 8900 # link flags. 8901 rm -rf libconftest.dylib* 8902 echo "int foo(void){return 1;}" > conftest.c 8903 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8904-dynamiclib -Wl,-single_module conftest.c" >&5 8905 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8906 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8907 _lt_result=$? 8908 # If there is a non-empty error log, and "single_module" 8909 # appears in it, assume the flag caused a linker warning 8910 if test -s conftest.err && $GREP single_module conftest.err; then 8911 cat conftest.err >&5 8912 # Otherwise, if the output was created with a 0 exit code from 8913 # the compiler, it worked. 8914 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 8915 lt_cv_apple_cc_single_mod=yes 8916 else 8917 cat conftest.err >&5 8918 fi 8919 rm -rf libconftest.dylib* 8920 rm -f conftest.* 8921 fi 8922fi 8923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8924$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8925 8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8927$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8928if ${lt_cv_ld_exported_symbols_list+:} false; then : 8929 $as_echo_n "(cached) " >&6 8930else 8931 lt_cv_ld_exported_symbols_list=no 8932 save_LDFLAGS=$LDFLAGS 8933 echo "_main" > conftest.sym 8934 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8936/* end confdefs.h. */ 8937 8938int 8939main () 8940{ 8941 8942 ; 8943 return 0; 8944} 8945_ACEOF 8946if ac_fn_c_try_link "$LINENO"; then : 8947 lt_cv_ld_exported_symbols_list=yes 8948else 8949 lt_cv_ld_exported_symbols_list=no 8950fi 8951rm -f core conftest.err conftest.$ac_objext \ 8952 conftest$ac_exeext conftest.$ac_ext 8953 LDFLAGS="$save_LDFLAGS" 8954 8955fi 8956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8957$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8958 8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8960$as_echo_n "checking for -force_load linker flag... " >&6; } 8961if ${lt_cv_ld_force_load+:} false; then : 8962 $as_echo_n "(cached) " >&6 8963else 8964 lt_cv_ld_force_load=no 8965 cat > conftest.c << _LT_EOF 8966int forced_loaded() { return 2;} 8967_LT_EOF 8968 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8969 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8970 echo "$AR cru libconftest.a conftest.o" >&5 8971 $AR cru libconftest.a conftest.o 2>&5 8972 echo "$RANLIB libconftest.a" >&5 8973 $RANLIB libconftest.a 2>&5 8974 cat > conftest.c << _LT_EOF 8975int main() { return 0;} 8976_LT_EOF 8977 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8978 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8979 _lt_result=$? 8980 if test -s conftest.err && $GREP force_load conftest.err; then 8981 cat conftest.err >&5 8982 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 8983 lt_cv_ld_force_load=yes 8984 else 8985 cat conftest.err >&5 8986 fi 8987 rm -f conftest.err libconftest.a conftest conftest.c 8988 rm -rf conftest.dSYM 8989 8990fi 8991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8992$as_echo "$lt_cv_ld_force_load" >&6; } 8993 case $host_os in 8994 rhapsody* | darwin1.[012]) 8995 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8996 darwin1.*) 8997 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8998 darwin*) # darwin 5.x on 8999 # if running on 10.5 or later, the deployment target defaults 9000 # to the OS version, if on x86, and 10.4, the deployment 9001 # target defaults to 10.4. Don't you love it? 9002 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9003 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9004 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 9005 10.[012]*) 9006 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 9007 10.*) 9008 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 9009 esac 9010 ;; 9011 esac 9012 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 9013 _lt_dar_single_mod='$single_module' 9014 fi 9015 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 9016 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 9017 else 9018 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 9019 fi 9020 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 9021 _lt_dsymutil='~$DSYMUTIL $lib || :' 9022 else 9023 _lt_dsymutil= 9024 fi 9025 ;; 9026 esac 9027 9028for ac_header in dlfcn.h 9029do : 9030 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9031" 9032if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9033 cat >>confdefs.h <<_ACEOF 9034#define HAVE_DLFCN_H 1 9035_ACEOF 9036 9037fi 9038 9039done 9040 9041 9042 9043 9044 9045# Set options 9046enable_win32_dll=yes 9047 9048case $host in 9049*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 9050 if test -n "$ac_tool_prefix"; then 9051 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 9052set dummy ${ac_tool_prefix}as; ac_word=$2 9053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9054$as_echo_n "checking for $ac_word... " >&6; } 9055if ${ac_cv_prog_AS+:} false; then : 9056 $as_echo_n "(cached) " >&6 9057else 9058 if test -n "$AS"; then 9059 ac_cv_prog_AS="$AS" # Let the user override the test. 9060else 9061as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9062for as_dir in $PATH 9063do 9064 IFS=$as_save_IFS 9065 test -z "$as_dir" && as_dir=. 9066 for ac_exec_ext in '' $ac_executable_extensions; do 9067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9068 ac_cv_prog_AS="${ac_tool_prefix}as" 9069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9070 break 2 9071 fi 9072done 9073 done 9074IFS=$as_save_IFS 9075 9076fi 9077fi 9078AS=$ac_cv_prog_AS 9079if test -n "$AS"; then 9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 9081$as_echo "$AS" >&6; } 9082else 9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9084$as_echo "no" >&6; } 9085fi 9086 9087 9088fi 9089if test -z "$ac_cv_prog_AS"; then 9090 ac_ct_AS=$AS 9091 # Extract the first word of "as", so it can be a program name with args. 9092set dummy as; ac_word=$2 9093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9094$as_echo_n "checking for $ac_word... " >&6; } 9095if ${ac_cv_prog_ac_ct_AS+:} false; then : 9096 $as_echo_n "(cached) " >&6 9097else 9098 if test -n "$ac_ct_AS"; then 9099 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 9100else 9101as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9102for as_dir in $PATH 9103do 9104 IFS=$as_save_IFS 9105 test -z "$as_dir" && as_dir=. 9106 for ac_exec_ext in '' $ac_executable_extensions; do 9107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9108 ac_cv_prog_ac_ct_AS="as" 9109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9110 break 2 9111 fi 9112done 9113 done 9114IFS=$as_save_IFS 9115 9116fi 9117fi 9118ac_ct_AS=$ac_cv_prog_ac_ct_AS 9119if test -n "$ac_ct_AS"; then 9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 9121$as_echo "$ac_ct_AS" >&6; } 9122else 9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9124$as_echo "no" >&6; } 9125fi 9126 9127 if test "x$ac_ct_AS" = x; then 9128 AS="false" 9129 else 9130 case $cross_compiling:$ac_tool_warned in 9131yes:) 9132{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9133$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9134ac_tool_warned=yes ;; 9135esac 9136 AS=$ac_ct_AS 9137 fi 9138else 9139 AS="$ac_cv_prog_AS" 9140fi 9141 9142 if test -n "$ac_tool_prefix"; then 9143 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 9144set dummy ${ac_tool_prefix}dlltool; ac_word=$2 9145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9146$as_echo_n "checking for $ac_word... " >&6; } 9147if ${ac_cv_prog_DLLTOOL+:} false; then : 9148 $as_echo_n "(cached) " >&6 9149else 9150 if test -n "$DLLTOOL"; then 9151 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 9152else 9153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9154for as_dir in $PATH 9155do 9156 IFS=$as_save_IFS 9157 test -z "$as_dir" && as_dir=. 9158 for ac_exec_ext in '' $ac_executable_extensions; do 9159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9160 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 9161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9162 break 2 9163 fi 9164done 9165 done 9166IFS=$as_save_IFS 9167 9168fi 9169fi 9170DLLTOOL=$ac_cv_prog_DLLTOOL 9171if test -n "$DLLTOOL"; then 9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 9173$as_echo "$DLLTOOL" >&6; } 9174else 9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9176$as_echo "no" >&6; } 9177fi 9178 9179 9180fi 9181if test -z "$ac_cv_prog_DLLTOOL"; then 9182 ac_ct_DLLTOOL=$DLLTOOL 9183 # Extract the first word of "dlltool", so it can be a program name with args. 9184set dummy dlltool; ac_word=$2 9185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9186$as_echo_n "checking for $ac_word... " >&6; } 9187if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 9188 $as_echo_n "(cached) " >&6 9189else 9190 if test -n "$ac_ct_DLLTOOL"; then 9191 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 9192else 9193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9194for as_dir in $PATH 9195do 9196 IFS=$as_save_IFS 9197 test -z "$as_dir" && as_dir=. 9198 for ac_exec_ext in '' $ac_executable_extensions; do 9199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9200 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 9201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9202 break 2 9203 fi 9204done 9205 done 9206IFS=$as_save_IFS 9207 9208fi 9209fi 9210ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 9211if test -n "$ac_ct_DLLTOOL"; then 9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 9213$as_echo "$ac_ct_DLLTOOL" >&6; } 9214else 9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9216$as_echo "no" >&6; } 9217fi 9218 9219 if test "x$ac_ct_DLLTOOL" = x; then 9220 DLLTOOL="false" 9221 else 9222 case $cross_compiling:$ac_tool_warned in 9223yes:) 9224{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9225$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9226ac_tool_warned=yes ;; 9227esac 9228 DLLTOOL=$ac_ct_DLLTOOL 9229 fi 9230else 9231 DLLTOOL="$ac_cv_prog_DLLTOOL" 9232fi 9233 9234 if test -n "$ac_tool_prefix"; then 9235 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 9236set dummy ${ac_tool_prefix}objdump; ac_word=$2 9237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9238$as_echo_n "checking for $ac_word... " >&6; } 9239if ${ac_cv_prog_OBJDUMP+:} false; then : 9240 $as_echo_n "(cached) " >&6 9241else 9242 if test -n "$OBJDUMP"; then 9243 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 9244else 9245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9246for as_dir in $PATH 9247do 9248 IFS=$as_save_IFS 9249 test -z "$as_dir" && as_dir=. 9250 for ac_exec_ext in '' $ac_executable_extensions; do 9251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9252 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 9253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9254 break 2 9255 fi 9256done 9257 done 9258IFS=$as_save_IFS 9259 9260fi 9261fi 9262OBJDUMP=$ac_cv_prog_OBJDUMP 9263if test -n "$OBJDUMP"; then 9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 9265$as_echo "$OBJDUMP" >&6; } 9266else 9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9268$as_echo "no" >&6; } 9269fi 9270 9271 9272fi 9273if test -z "$ac_cv_prog_OBJDUMP"; then 9274 ac_ct_OBJDUMP=$OBJDUMP 9275 # Extract the first word of "objdump", so it can be a program name with args. 9276set dummy objdump; ac_word=$2 9277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9278$as_echo_n "checking for $ac_word... " >&6; } 9279if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 9280 $as_echo_n "(cached) " >&6 9281else 9282 if test -n "$ac_ct_OBJDUMP"; then 9283 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 9284else 9285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9286for as_dir in $PATH 9287do 9288 IFS=$as_save_IFS 9289 test -z "$as_dir" && as_dir=. 9290 for ac_exec_ext in '' $ac_executable_extensions; do 9291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9292 ac_cv_prog_ac_ct_OBJDUMP="objdump" 9293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9294 break 2 9295 fi 9296done 9297 done 9298IFS=$as_save_IFS 9299 9300fi 9301fi 9302ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 9303if test -n "$ac_ct_OBJDUMP"; then 9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 9305$as_echo "$ac_ct_OBJDUMP" >&6; } 9306else 9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9308$as_echo "no" >&6; } 9309fi 9310 9311 if test "x$ac_ct_OBJDUMP" = x; then 9312 OBJDUMP="false" 9313 else 9314 case $cross_compiling:$ac_tool_warned in 9315yes:) 9316{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9317$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9318ac_tool_warned=yes ;; 9319esac 9320 OBJDUMP=$ac_ct_OBJDUMP 9321 fi 9322else 9323 OBJDUMP="$ac_cv_prog_OBJDUMP" 9324fi 9325 9326 ;; 9327esac 9328 9329test -z "$AS" && AS=as 9330 9331 9332 9333 9334 9335test -z "$DLLTOOL" && DLLTOOL=dlltool 9336 9337 9338 9339 9340 9341test -z "$OBJDUMP" && OBJDUMP=objdump 9342 9343 9344 9345 9346 9347 9348 9349 enable_dlopen=no 9350 9351 9352 9353 # Check whether --enable-shared was given. 9354if test "${enable_shared+set}" = set; then : 9355 enableval=$enable_shared; p=${PACKAGE-default} 9356 case $enableval in 9357 yes) enable_shared=yes ;; 9358 no) enable_shared=no ;; 9359 *) 9360 enable_shared=no 9361 # Look at the argument we got. We use all the common list separators. 9362 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9363 for pkg in $enableval; do 9364 IFS="$lt_save_ifs" 9365 if test "X$pkg" = "X$p"; then 9366 enable_shared=yes 9367 fi 9368 done 9369 IFS="$lt_save_ifs" 9370 ;; 9371 esac 9372else 9373 enable_shared=yes 9374fi 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 # Check whether --enable-static was given. 9385if test "${enable_static+set}" = set; then : 9386 enableval=$enable_static; p=${PACKAGE-default} 9387 case $enableval in 9388 yes) enable_static=yes ;; 9389 no) enable_static=no ;; 9390 *) 9391 enable_static=no 9392 # Look at the argument we got. We use all the common list separators. 9393 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9394 for pkg in $enableval; do 9395 IFS="$lt_save_ifs" 9396 if test "X$pkg" = "X$p"; then 9397 enable_static=yes 9398 fi 9399 done 9400 IFS="$lt_save_ifs" 9401 ;; 9402 esac 9403else 9404 enable_static=yes 9405fi 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416# Check whether --with-pic was given. 9417if test "${with_pic+set}" = set; then : 9418 withval=$with_pic; lt_p=${PACKAGE-default} 9419 case $withval in 9420 yes|no) pic_mode=$withval ;; 9421 *) 9422 pic_mode=default 9423 # Look at the argument we got. We use all the common list separators. 9424 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9425 for lt_pkg in $withval; do 9426 IFS="$lt_save_ifs" 9427 if test "X$lt_pkg" = "X$lt_p"; then 9428 pic_mode=yes 9429 fi 9430 done 9431 IFS="$lt_save_ifs" 9432 ;; 9433 esac 9434else 9435 pic_mode=default 9436fi 9437 9438 9439test -z "$pic_mode" && pic_mode=default 9440 9441 9442 9443 9444 9445 9446 9447 # Check whether --enable-fast-install was given. 9448if test "${enable_fast_install+set}" = set; then : 9449 enableval=$enable_fast_install; p=${PACKAGE-default} 9450 case $enableval in 9451 yes) enable_fast_install=yes ;; 9452 no) enable_fast_install=no ;; 9453 *) 9454 enable_fast_install=no 9455 # Look at the argument we got. We use all the common list separators. 9456 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9457 for pkg in $enableval; do 9458 IFS="$lt_save_ifs" 9459 if test "X$pkg" = "X$p"; then 9460 enable_fast_install=yes 9461 fi 9462 done 9463 IFS="$lt_save_ifs" 9464 ;; 9465 esac 9466else 9467 enable_fast_install=yes 9468fi 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480# This can be used to rebuild libtool when needed 9481LIBTOOL_DEPS="$ltmain" 9482 9483# Always use our own libtool. 9484LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515test -z "$LN_S" && LN_S="ln -s" 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530if test -n "${ZSH_VERSION+set}" ; then 9531 setopt NO_GLOB_SUBST 9532fi 9533 9534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9535$as_echo_n "checking for objdir... " >&6; } 9536if ${lt_cv_objdir+:} false; then : 9537 $as_echo_n "(cached) " >&6 9538else 9539 rm -f .libs 2>/dev/null 9540mkdir .libs 2>/dev/null 9541if test -d .libs; then 9542 lt_cv_objdir=.libs 9543else 9544 # MS-DOS does not allow filenames that begin with a dot. 9545 lt_cv_objdir=_libs 9546fi 9547rmdir .libs 2>/dev/null 9548fi 9549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9550$as_echo "$lt_cv_objdir" >&6; } 9551objdir=$lt_cv_objdir 9552 9553 9554 9555 9556 9557cat >>confdefs.h <<_ACEOF 9558#define LT_OBJDIR "$lt_cv_objdir/" 9559_ACEOF 9560 9561 9562 9563 9564case $host_os in 9565aix3*) 9566 # AIX sometimes has problems with the GCC collect2 program. For some 9567 # reason, if we set the COLLECT_NAMES environment variable, the problems 9568 # vanish in a puff of smoke. 9569 if test "X${COLLECT_NAMES+set}" != Xset; then 9570 COLLECT_NAMES= 9571 export COLLECT_NAMES 9572 fi 9573 ;; 9574esac 9575 9576# Global variables: 9577ofile=libtool 9578can_build_shared=yes 9579 9580# All known linkers require a `.a' archive for static linking (except MSVC, 9581# which needs '.lib'). 9582libext=a 9583 9584with_gnu_ld="$lt_cv_prog_gnu_ld" 9585 9586old_CC="$CC" 9587old_CFLAGS="$CFLAGS" 9588 9589# Set sane defaults for various variables 9590test -z "$CC" && CC=cc 9591test -z "$LTCC" && LTCC=$CC 9592test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9593test -z "$LD" && LD=ld 9594test -z "$ac_objext" && ac_objext=o 9595 9596for cc_temp in $compiler""; do 9597 case $cc_temp in 9598 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 9599 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 9600 \-*) ;; 9601 *) break;; 9602 esac 9603done 9604cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 9605 9606 9607# Only perform the check for file, if the check method requires it 9608test -z "$MAGIC_CMD" && MAGIC_CMD=file 9609case $deplibs_check_method in 9610file_magic*) 9611 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9613$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9614if ${lt_cv_path_MAGIC_CMD+:} false; then : 9615 $as_echo_n "(cached) " >&6 9616else 9617 case $MAGIC_CMD in 9618[\\/*] | ?:[\\/]*) 9619 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9620 ;; 9621*) 9622 lt_save_MAGIC_CMD="$MAGIC_CMD" 9623 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9624 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9625 for ac_dir in $ac_dummy; do 9626 IFS="$lt_save_ifs" 9627 test -z "$ac_dir" && ac_dir=. 9628 if test -f $ac_dir/${ac_tool_prefix}file; then 9629 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 9630 if test -n "$file_magic_test_file"; then 9631 case $deplibs_check_method in 9632 "file_magic "*) 9633 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9634 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9635 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9636 $EGREP "$file_magic_regex" > /dev/null; then 9637 : 9638 else 9639 cat <<_LT_EOF 1>&2 9640 9641*** Warning: the command libtool uses to detect shared libraries, 9642*** $file_magic_cmd, produces output that libtool cannot recognize. 9643*** The result is that libtool may fail to recognize shared libraries 9644*** as such. This will affect the creation of libtool libraries that 9645*** depend on shared libraries, but programs linked with such libtool 9646*** libraries will work regardless of this problem. Nevertheless, you 9647*** may want to report the problem to your system manager and/or to 9648*** bug-libtool@gnu.org 9649 9650_LT_EOF 9651 fi ;; 9652 esac 9653 fi 9654 break 9655 fi 9656 done 9657 IFS="$lt_save_ifs" 9658 MAGIC_CMD="$lt_save_MAGIC_CMD" 9659 ;; 9660esac 9661fi 9662 9663MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9664if test -n "$MAGIC_CMD"; then 9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9666$as_echo "$MAGIC_CMD" >&6; } 9667else 9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9669$as_echo "no" >&6; } 9670fi 9671 9672 9673 9674 9675 9676if test -z "$lt_cv_path_MAGIC_CMD"; then 9677 if test -n "$ac_tool_prefix"; then 9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9679$as_echo_n "checking for file... " >&6; } 9680if ${lt_cv_path_MAGIC_CMD+:} false; then : 9681 $as_echo_n "(cached) " >&6 9682else 9683 case $MAGIC_CMD in 9684[\\/*] | ?:[\\/]*) 9685 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9686 ;; 9687*) 9688 lt_save_MAGIC_CMD="$MAGIC_CMD" 9689 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9690 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9691 for ac_dir in $ac_dummy; do 9692 IFS="$lt_save_ifs" 9693 test -z "$ac_dir" && ac_dir=. 9694 if test -f $ac_dir/file; then 9695 lt_cv_path_MAGIC_CMD="$ac_dir/file" 9696 if test -n "$file_magic_test_file"; then 9697 case $deplibs_check_method in 9698 "file_magic "*) 9699 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9700 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9701 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9702 $EGREP "$file_magic_regex" > /dev/null; then 9703 : 9704 else 9705 cat <<_LT_EOF 1>&2 9706 9707*** Warning: the command libtool uses to detect shared libraries, 9708*** $file_magic_cmd, produces output that libtool cannot recognize. 9709*** The result is that libtool may fail to recognize shared libraries 9710*** as such. This will affect the creation of libtool libraries that 9711*** depend on shared libraries, but programs linked with such libtool 9712*** libraries will work regardless of this problem. Nevertheless, you 9713*** may want to report the problem to your system manager and/or to 9714*** bug-libtool@gnu.org 9715 9716_LT_EOF 9717 fi ;; 9718 esac 9719 fi 9720 break 9721 fi 9722 done 9723 IFS="$lt_save_ifs" 9724 MAGIC_CMD="$lt_save_MAGIC_CMD" 9725 ;; 9726esac 9727fi 9728 9729MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9730if test -n "$MAGIC_CMD"; then 9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9732$as_echo "$MAGIC_CMD" >&6; } 9733else 9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9735$as_echo "no" >&6; } 9736fi 9737 9738 9739 else 9740 MAGIC_CMD=: 9741 fi 9742fi 9743 9744 fi 9745 ;; 9746esac 9747 9748# Use C for the default configuration in the libtool script 9749 9750lt_save_CC="$CC" 9751ac_ext=c 9752ac_cpp='$CPP $CPPFLAGS' 9753ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9754ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9755ac_compiler_gnu=$ac_cv_c_compiler_gnu 9756 9757 9758# Source file extension for C test sources. 9759ac_ext=c 9760 9761# Object file extension for compiled C test sources. 9762objext=o 9763objext=$objext 9764 9765# Code to be used in simple compile tests 9766lt_simple_compile_test_code="int some_variable = 0;" 9767 9768# Code to be used in simple link tests 9769lt_simple_link_test_code='int main(){return(0);}' 9770 9771 9772 9773 9774 9775 9776 9777# If no C compiler was specified, use CC. 9778LTCC=${LTCC-"$CC"} 9779 9780# If no C compiler flags were specified, use CFLAGS. 9781LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9782 9783# Allow CC to be a program name with arguments. 9784compiler=$CC 9785 9786# Save the default compiler, since it gets overwritten when the other 9787# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9788compiler_DEFAULT=$CC 9789 9790# save warnings/boilerplate of simple test code 9791ac_outfile=conftest.$ac_objext 9792echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9793eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9794_lt_compiler_boilerplate=`cat conftest.err` 9795$RM conftest* 9796 9797ac_outfile=conftest.$ac_objext 9798echo "$lt_simple_link_test_code" >conftest.$ac_ext 9799eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9800_lt_linker_boilerplate=`cat conftest.err` 9801$RM -r conftest* 9802 9803 9804## CAVEAT EMPTOR: 9805## There is no encapsulation within the following macros, do not change 9806## the running order or otherwise move them around unless you know exactly 9807## what you are doing... 9808if test -n "$compiler"; then 9809 9810lt_prog_compiler_no_builtin_flag= 9811 9812if test "$GCC" = yes; then 9813 case $cc_basename in 9814 nvcc*) 9815 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9816 *) 9817 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9818 esac 9819 9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9821$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9822if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9823 $as_echo_n "(cached) " >&6 9824else 9825 lt_cv_prog_compiler_rtti_exceptions=no 9826 ac_outfile=conftest.$ac_objext 9827 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9828 lt_compiler_flag="-fno-rtti -fno-exceptions" 9829 # Insert the option either (1) after the last *FLAGS variable, or 9830 # (2) before a word containing "conftest.", or (3) at the end. 9831 # Note that $ac_compile itself does not contain backslashes and begins 9832 # with a dollar sign (not a hyphen), so the echo should work correctly. 9833 # The option is referenced via a variable to avoid confusing sed. 9834 lt_compile=`echo "$ac_compile" | $SED \ 9835 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9836 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9837 -e 's:$: $lt_compiler_flag:'` 9838 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9839 (eval "$lt_compile" 2>conftest.err) 9840 ac_status=$? 9841 cat conftest.err >&5 9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9843 if (exit $ac_status) && test -s "$ac_outfile"; then 9844 # The compiler can only warn and ignore the option if not recognized 9845 # So say no if there are warnings other than the usual output. 9846 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9847 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9848 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9849 lt_cv_prog_compiler_rtti_exceptions=yes 9850 fi 9851 fi 9852 $RM conftest* 9853 9854fi 9855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9856$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9857 9858if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 9859 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9860else 9861 : 9862fi 9863 9864fi 9865 9866 9867 9868 9869 9870 9871 lt_prog_compiler_wl= 9872lt_prog_compiler_pic= 9873lt_prog_compiler_static= 9874 9875 9876 if test "$GCC" = yes; then 9877 lt_prog_compiler_wl='-Wl,' 9878 lt_prog_compiler_static='-static' 9879 9880 case $host_os in 9881 aix*) 9882 # All AIX code is PIC. 9883 if test "$host_cpu" = ia64; then 9884 # AIX 5 now supports IA64 processor 9885 lt_prog_compiler_static='-Bstatic' 9886 fi 9887 ;; 9888 9889 amigaos*) 9890 case $host_cpu in 9891 powerpc) 9892 # see comment about AmigaOS4 .so support 9893 lt_prog_compiler_pic='-fPIC' 9894 ;; 9895 m68k) 9896 # FIXME: we need at least 68020 code to build shared libraries, but 9897 # adding the `-m68020' flag to GCC prevents building anything better, 9898 # like `-m68040'. 9899 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9900 ;; 9901 esac 9902 ;; 9903 9904 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9905 # PIC is the default for these OSes. 9906 ;; 9907 9908 mingw* | cygwin* | pw32* | os2* | cegcc*) 9909 # This hack is so that the source file can tell whether it is being 9910 # built for inclusion in a dll (and should export symbols for example). 9911 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9912 # (--disable-auto-import) libraries 9913 lt_prog_compiler_pic='-DDLL_EXPORT' 9914 ;; 9915 9916 darwin* | rhapsody*) 9917 # PIC is the default on this platform 9918 # Common symbols not allowed in MH_DYLIB files 9919 lt_prog_compiler_pic='-fno-common' 9920 ;; 9921 9922 haiku*) 9923 # PIC is the default for Haiku. 9924 # The "-static" flag exists, but is broken. 9925 lt_prog_compiler_static= 9926 ;; 9927 9928 hpux*) 9929 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9930 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9931 # sets the default TLS model and affects inlining. 9932 case $host_cpu in 9933 hppa*64*) 9934 # +Z the default 9935 ;; 9936 *) 9937 lt_prog_compiler_pic='-fPIC' 9938 ;; 9939 esac 9940 ;; 9941 9942 interix[3-9]*) 9943 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9944 # Instead, we relocate shared libraries at runtime. 9945 ;; 9946 9947 msdosdjgpp*) 9948 # Just because we use GCC doesn't mean we suddenly get shared libraries 9949 # on systems that don't support them. 9950 lt_prog_compiler_can_build_shared=no 9951 enable_shared=no 9952 ;; 9953 9954 *nto* | *qnx*) 9955 # QNX uses GNU C++, but need to define -shared option too, otherwise 9956 # it will coredump. 9957 lt_prog_compiler_pic='-fPIC -shared' 9958 ;; 9959 9960 sysv4*MP*) 9961 if test -d /usr/nec; then 9962 lt_prog_compiler_pic=-Kconform_pic 9963 fi 9964 ;; 9965 9966 *) 9967 lt_prog_compiler_pic='-fPIC' 9968 ;; 9969 esac 9970 9971 case $cc_basename in 9972 nvcc*) # Cuda Compiler Driver 2.2 9973 lt_prog_compiler_wl='-Xlinker ' 9974 if test -n "$lt_prog_compiler_pic"; then 9975 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9976 fi 9977 ;; 9978 esac 9979 else 9980 # PORTME Check for flag to pass linker flags through the system compiler. 9981 case $host_os in 9982 aix*) 9983 lt_prog_compiler_wl='-Wl,' 9984 if test "$host_cpu" = ia64; then 9985 # AIX 5 now supports IA64 processor 9986 lt_prog_compiler_static='-Bstatic' 9987 else 9988 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9989 fi 9990 ;; 9991 9992 mingw* | cygwin* | pw32* | os2* | cegcc*) 9993 # This hack is so that the source file can tell whether it is being 9994 # built for inclusion in a dll (and should export symbols for example). 9995 lt_prog_compiler_pic='-DDLL_EXPORT' 9996 ;; 9997 9998 hpux9* | hpux10* | hpux11*) 9999 lt_prog_compiler_wl='-Wl,' 10000 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10001 # not for PA HP-UX. 10002 case $host_cpu in 10003 hppa*64*|ia64*) 10004 # +Z the default 10005 ;; 10006 *) 10007 lt_prog_compiler_pic='+Z' 10008 ;; 10009 esac 10010 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10011 lt_prog_compiler_static='${wl}-a ${wl}archive' 10012 ;; 10013 10014 irix5* | irix6* | nonstopux*) 10015 lt_prog_compiler_wl='-Wl,' 10016 # PIC (with -KPIC) is the default. 10017 lt_prog_compiler_static='-non_shared' 10018 ;; 10019 10020 linux* | k*bsd*-gnu | kopensolaris*-gnu) 10021 case $cc_basename in 10022 # old Intel for x86_64 which still supported -KPIC. 10023 ecc*) 10024 lt_prog_compiler_wl='-Wl,' 10025 lt_prog_compiler_pic='-KPIC' 10026 lt_prog_compiler_static='-static' 10027 ;; 10028 # icc used to be incompatible with GCC. 10029 # ICC 10 doesn't accept -KPIC any more. 10030 icc* | ifort*) 10031 lt_prog_compiler_wl='-Wl,' 10032 lt_prog_compiler_pic='-fPIC' 10033 lt_prog_compiler_static='-static' 10034 ;; 10035 # Lahey Fortran 8.1. 10036 lf95*) 10037 lt_prog_compiler_wl='-Wl,' 10038 lt_prog_compiler_pic='--shared' 10039 lt_prog_compiler_static='--static' 10040 ;; 10041 nagfor*) 10042 # NAG Fortran compiler 10043 lt_prog_compiler_wl='-Wl,-Wl,,' 10044 lt_prog_compiler_pic='-PIC' 10045 lt_prog_compiler_static='-Bstatic' 10046 ;; 10047 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10048 # Portland Group compilers (*not* the Pentium gcc compiler, 10049 # which looks to be a dead project) 10050 lt_prog_compiler_wl='-Wl,' 10051 lt_prog_compiler_pic='-fpic' 10052 lt_prog_compiler_static='-Bstatic' 10053 ;; 10054 ccc*) 10055 lt_prog_compiler_wl='-Wl,' 10056 # All Alpha code is PIC. 10057 lt_prog_compiler_static='-non_shared' 10058 ;; 10059 xl* | bgxl* | bgf* | mpixl*) 10060 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10061 lt_prog_compiler_wl='-Wl,' 10062 lt_prog_compiler_pic='-qpic' 10063 lt_prog_compiler_static='-qstaticlink' 10064 ;; 10065 *) 10066 case `$CC -V 2>&1 | sed 5q` in 10067 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10068 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10069 lt_prog_compiler_pic='-KPIC' 10070 lt_prog_compiler_static='-Bstatic' 10071 lt_prog_compiler_wl='' 10072 ;; 10073 *Sun\ F* | *Sun*Fortran*) 10074 lt_prog_compiler_pic='-KPIC' 10075 lt_prog_compiler_static='-Bstatic' 10076 lt_prog_compiler_wl='-Qoption ld ' 10077 ;; 10078 *Sun\ C*) 10079 # Sun C 5.9 10080 lt_prog_compiler_pic='-KPIC' 10081 lt_prog_compiler_static='-Bstatic' 10082 lt_prog_compiler_wl='-Wl,' 10083 ;; 10084 *Intel*\ [CF]*Compiler*) 10085 lt_prog_compiler_wl='-Wl,' 10086 lt_prog_compiler_pic='-fPIC' 10087 lt_prog_compiler_static='-static' 10088 ;; 10089 *Portland\ Group*) 10090 lt_prog_compiler_wl='-Wl,' 10091 lt_prog_compiler_pic='-fpic' 10092 lt_prog_compiler_static='-Bstatic' 10093 ;; 10094 esac 10095 ;; 10096 esac 10097 ;; 10098 10099 newsos6) 10100 lt_prog_compiler_pic='-KPIC' 10101 lt_prog_compiler_static='-Bstatic' 10102 ;; 10103 10104 *nto* | *qnx*) 10105 # QNX uses GNU C++, but need to define -shared option too, otherwise 10106 # it will coredump. 10107 lt_prog_compiler_pic='-fPIC -shared' 10108 ;; 10109 10110 osf3* | osf4* | osf5*) 10111 lt_prog_compiler_wl='-Wl,' 10112 # All OSF/1 code is PIC. 10113 lt_prog_compiler_static='-non_shared' 10114 ;; 10115 10116 rdos*) 10117 lt_prog_compiler_static='-non_shared' 10118 ;; 10119 10120 solaris*) 10121 lt_prog_compiler_pic='-KPIC' 10122 lt_prog_compiler_static='-Bstatic' 10123 case $cc_basename in 10124 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10125 lt_prog_compiler_wl='-Qoption ld ';; 10126 *) 10127 lt_prog_compiler_wl='-Wl,';; 10128 esac 10129 ;; 10130 10131 sunos4*) 10132 lt_prog_compiler_wl='-Qoption ld ' 10133 lt_prog_compiler_pic='-PIC' 10134 lt_prog_compiler_static='-Bstatic' 10135 ;; 10136 10137 sysv4 | sysv4.2uw2* | sysv4.3*) 10138 lt_prog_compiler_wl='-Wl,' 10139 lt_prog_compiler_pic='-KPIC' 10140 lt_prog_compiler_static='-Bstatic' 10141 ;; 10142 10143 sysv4*MP*) 10144 if test -d /usr/nec ;then 10145 lt_prog_compiler_pic='-Kconform_pic' 10146 lt_prog_compiler_static='-Bstatic' 10147 fi 10148 ;; 10149 10150 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10151 lt_prog_compiler_wl='-Wl,' 10152 lt_prog_compiler_pic='-KPIC' 10153 lt_prog_compiler_static='-Bstatic' 10154 ;; 10155 10156 unicos*) 10157 lt_prog_compiler_wl='-Wl,' 10158 lt_prog_compiler_can_build_shared=no 10159 ;; 10160 10161 uts4*) 10162 lt_prog_compiler_pic='-pic' 10163 lt_prog_compiler_static='-Bstatic' 10164 ;; 10165 10166 *) 10167 lt_prog_compiler_can_build_shared=no 10168 ;; 10169 esac 10170 fi 10171 10172case $host_os in 10173 # For platforms which do not support PIC, -DPIC is meaningless: 10174 *djgpp*) 10175 lt_prog_compiler_pic= 10176 ;; 10177 *) 10178 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10179 ;; 10180esac 10181 10182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10183$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10184if ${lt_cv_prog_compiler_pic+:} false; then : 10185 $as_echo_n "(cached) " >&6 10186else 10187 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10188fi 10189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10190$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10191lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10192 10193# 10194# Check to make sure the PIC flag actually works. 10195# 10196if test -n "$lt_prog_compiler_pic"; then 10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10198$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10199if ${lt_cv_prog_compiler_pic_works+:} false; then : 10200 $as_echo_n "(cached) " >&6 10201else 10202 lt_cv_prog_compiler_pic_works=no 10203 ac_outfile=conftest.$ac_objext 10204 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10205 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 10206 # Insert the option either (1) after the last *FLAGS variable, or 10207 # (2) before a word containing "conftest.", or (3) at the end. 10208 # Note that $ac_compile itself does not contain backslashes and begins 10209 # with a dollar sign (not a hyphen), so the echo should work correctly. 10210 # The option is referenced via a variable to avoid confusing sed. 10211 lt_compile=`echo "$ac_compile" | $SED \ 10212 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10213 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10214 -e 's:$: $lt_compiler_flag:'` 10215 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10216 (eval "$lt_compile" 2>conftest.err) 10217 ac_status=$? 10218 cat conftest.err >&5 10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10220 if (exit $ac_status) && test -s "$ac_outfile"; then 10221 # The compiler can only warn and ignore the option if not recognized 10222 # So say no if there are warnings other than the usual output. 10223 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10224 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10225 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10226 lt_cv_prog_compiler_pic_works=yes 10227 fi 10228 fi 10229 $RM conftest* 10230 10231fi 10232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10233$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10234 10235if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 10236 case $lt_prog_compiler_pic in 10237 "" | " "*) ;; 10238 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10239 esac 10240else 10241 lt_prog_compiler_pic= 10242 lt_prog_compiler_can_build_shared=no 10243fi 10244 10245fi 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257# 10258# Check to make sure the static flag actually works. 10259# 10260wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10262$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10263if ${lt_cv_prog_compiler_static_works+:} false; then : 10264 $as_echo_n "(cached) " >&6 10265else 10266 lt_cv_prog_compiler_static_works=no 10267 save_LDFLAGS="$LDFLAGS" 10268 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10269 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10270 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10271 # The linker can only warn and ignore the option if not recognized 10272 # So say no if there are warnings 10273 if test -s conftest.err; then 10274 # Append any errors to the config.log. 10275 cat conftest.err 1>&5 10276 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10277 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10278 if diff conftest.exp conftest.er2 >/dev/null; then 10279 lt_cv_prog_compiler_static_works=yes 10280 fi 10281 else 10282 lt_cv_prog_compiler_static_works=yes 10283 fi 10284 fi 10285 $RM -r conftest* 10286 LDFLAGS="$save_LDFLAGS" 10287 10288fi 10289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10290$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10291 10292if test x"$lt_cv_prog_compiler_static_works" = xyes; then 10293 : 10294else 10295 lt_prog_compiler_static= 10296fi 10297 10298 10299 10300 10301 10302 10303 10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10305$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10306if ${lt_cv_prog_compiler_c_o+:} false; then : 10307 $as_echo_n "(cached) " >&6 10308else 10309 lt_cv_prog_compiler_c_o=no 10310 $RM -r conftest 2>/dev/null 10311 mkdir conftest 10312 cd conftest 10313 mkdir out 10314 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10315 10316 lt_compiler_flag="-o out/conftest2.$ac_objext" 10317 # Insert the option either (1) after the last *FLAGS variable, or 10318 # (2) before a word containing "conftest.", or (3) at the end. 10319 # Note that $ac_compile itself does not contain backslashes and begins 10320 # with a dollar sign (not a hyphen), so the echo should work correctly. 10321 lt_compile=`echo "$ac_compile" | $SED \ 10322 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10323 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10324 -e 's:$: $lt_compiler_flag:'` 10325 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10326 (eval "$lt_compile" 2>out/conftest.err) 10327 ac_status=$? 10328 cat out/conftest.err >&5 10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10330 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10331 then 10332 # The compiler can only warn and ignore the option if not recognized 10333 # So say no if there are warnings 10334 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10335 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10336 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10337 lt_cv_prog_compiler_c_o=yes 10338 fi 10339 fi 10340 chmod u+w . 2>&5 10341 $RM conftest* 10342 # SGI C++ compiler will create directory out/ii_files/ for 10343 # template instantiation 10344 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10345 $RM out/* && rmdir out 10346 cd .. 10347 $RM -r conftest 10348 $RM conftest* 10349 10350fi 10351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10352$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10353 10354 10355 10356 10357 10358 10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10360$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10361if ${lt_cv_prog_compiler_c_o+:} false; then : 10362 $as_echo_n "(cached) " >&6 10363else 10364 lt_cv_prog_compiler_c_o=no 10365 $RM -r conftest 2>/dev/null 10366 mkdir conftest 10367 cd conftest 10368 mkdir out 10369 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10370 10371 lt_compiler_flag="-o out/conftest2.$ac_objext" 10372 # Insert the option either (1) after the last *FLAGS variable, or 10373 # (2) before a word containing "conftest.", or (3) at the end. 10374 # Note that $ac_compile itself does not contain backslashes and begins 10375 # with a dollar sign (not a hyphen), so the echo should work correctly. 10376 lt_compile=`echo "$ac_compile" | $SED \ 10377 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10378 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10379 -e 's:$: $lt_compiler_flag:'` 10380 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10381 (eval "$lt_compile" 2>out/conftest.err) 10382 ac_status=$? 10383 cat out/conftest.err >&5 10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10385 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10386 then 10387 # The compiler can only warn and ignore the option if not recognized 10388 # So say no if there are warnings 10389 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10390 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10391 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10392 lt_cv_prog_compiler_c_o=yes 10393 fi 10394 fi 10395 chmod u+w . 2>&5 10396 $RM conftest* 10397 # SGI C++ compiler will create directory out/ii_files/ for 10398 # template instantiation 10399 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10400 $RM out/* && rmdir out 10401 cd .. 10402 $RM -r conftest 10403 $RM conftest* 10404 10405fi 10406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10407$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10408 10409 10410 10411 10412hard_links="nottested" 10413if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 10414 # do not overwrite the value of need_locks provided by the user 10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10416$as_echo_n "checking if we can lock with hard links... " >&6; } 10417 hard_links=yes 10418 $RM conftest* 10419 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10420 touch conftest.a 10421 ln conftest.a conftest.b 2>&5 || hard_links=no 10422 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10424$as_echo "$hard_links" >&6; } 10425 if test "$hard_links" = no; then 10426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 10427$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 10428 need_locks=warn 10429 fi 10430else 10431 need_locks=no 10432fi 10433 10434 10435 10436 10437 10438 10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10440$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10441 10442 runpath_var= 10443 allow_undefined_flag= 10444 always_export_symbols=no 10445 archive_cmds= 10446 archive_expsym_cmds= 10447 compiler_needs_object=no 10448 enable_shared_with_static_runtimes=no 10449 export_dynamic_flag_spec= 10450 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10451 hardcode_automatic=no 10452 hardcode_direct=no 10453 hardcode_direct_absolute=no 10454 hardcode_libdir_flag_spec= 10455 hardcode_libdir_separator= 10456 hardcode_minus_L=no 10457 hardcode_shlibpath_var=unsupported 10458 inherit_rpath=no 10459 link_all_deplibs=unknown 10460 module_cmds= 10461 module_expsym_cmds= 10462 old_archive_from_new_cmds= 10463 old_archive_from_expsyms_cmds= 10464 thread_safe_flag_spec= 10465 whole_archive_flag_spec= 10466 # include_expsyms should be a list of space-separated symbols to be *always* 10467 # included in the symbol list 10468 include_expsyms= 10469 # exclude_expsyms can be an extended regexp of symbols to exclude 10470 # it will be wrapped by ` (' and `)$', so one must not match beginning or 10471 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 10472 # as well as any symbol that contains `d'. 10473 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10474 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10475 # platforms (ab)use it in PIC code, but their linkers get confused if 10476 # the symbol is explicitly referenced. Since portable code cannot 10477 # rely on this symbol name, it's probably fine to never include it in 10478 # preloaded symbol tables. 10479 # Exclude shared library initialization/finalization symbols. 10480 extract_expsyms_cmds= 10481 10482 case $host_os in 10483 cygwin* | mingw* | pw32* | cegcc*) 10484 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10485 # When not using gcc, we currently assume that we are using 10486 # Microsoft Visual C++. 10487 if test "$GCC" != yes; then 10488 with_gnu_ld=no 10489 fi 10490 ;; 10491 interix*) 10492 # we just hope/assume this is gcc and not c89 (= MSVC++) 10493 with_gnu_ld=yes 10494 ;; 10495 openbsd*) 10496 with_gnu_ld=no 10497 ;; 10498 esac 10499 10500 ld_shlibs=yes 10501 10502 # On some targets, GNU ld is compatible enough with the native linker 10503 # that we're better off using the native interface for both. 10504 lt_use_gnu_ld_interface=no 10505 if test "$with_gnu_ld" = yes; then 10506 case $host_os in 10507 aix*) 10508 # The AIX port of GNU ld has always aspired to compatibility 10509 # with the native linker. However, as the warning in the GNU ld 10510 # block says, versions before 2.19.5* couldn't really create working 10511 # shared libraries, regardless of the interface used. 10512 case `$LD -v 2>&1` in 10513 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10514 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10515 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10516 *) 10517 lt_use_gnu_ld_interface=yes 10518 ;; 10519 esac 10520 ;; 10521 *) 10522 lt_use_gnu_ld_interface=yes 10523 ;; 10524 esac 10525 fi 10526 10527 if test "$lt_use_gnu_ld_interface" = yes; then 10528 # If archive_cmds runs LD, not CC, wlarc should be empty 10529 wlarc='${wl}' 10530 10531 # Set some defaults for GNU ld with shared library support. These 10532 # are reset later if shared libraries are not supported. Putting them 10533 # here allows them to be overridden if necessary. 10534 runpath_var=LD_RUN_PATH 10535 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10536 export_dynamic_flag_spec='${wl}--export-dynamic' 10537 # ancient GNU ld didn't support --whole-archive et. al. 10538 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10539 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 10540 else 10541 whole_archive_flag_spec= 10542 fi 10543 supports_anon_versioning=no 10544 case `$LD -v 2>&1` in 10545 *GNU\ gold*) supports_anon_versioning=yes ;; 10546 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10547 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10548 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10549 *\ 2.11.*) ;; # other 2.11 versions 10550 *) supports_anon_versioning=yes ;; 10551 esac 10552 10553 # See if GNU ld supports shared libraries. 10554 case $host_os in 10555 aix[3-9]*) 10556 # On AIX/PPC, the GNU linker is very broken 10557 if test "$host_cpu" != ia64; then 10558 ld_shlibs=no 10559 cat <<_LT_EOF 1>&2 10560 10561*** Warning: the GNU linker, at least up to release 2.19, is reported 10562*** to be unable to reliably create shared libraries on AIX. 10563*** Therefore, libtool is disabling shared libraries support. If you 10564*** really care for shared libraries, you may want to install binutils 10565*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10566*** You will then need to restart the configuration process. 10567 10568_LT_EOF 10569 fi 10570 ;; 10571 10572 amigaos*) 10573 case $host_cpu in 10574 powerpc) 10575 # see comment about AmigaOS4 .so support 10576 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10577 archive_expsym_cmds='' 10578 ;; 10579 m68k) 10580 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)' 10581 hardcode_libdir_flag_spec='-L$libdir' 10582 hardcode_minus_L=yes 10583 ;; 10584 esac 10585 ;; 10586 10587 beos*) 10588 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10589 allow_undefined_flag=unsupported 10590 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10591 # support --undefined. This deserves some investigation. FIXME 10592 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10593 else 10594 ld_shlibs=no 10595 fi 10596 ;; 10597 10598 cygwin* | mingw* | pw32* | cegcc*) 10599 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10600 # as there is no search path for DLLs. 10601 hardcode_libdir_flag_spec='-L$libdir' 10602 export_dynamic_flag_spec='${wl}--export-all-symbols' 10603 allow_undefined_flag=unsupported 10604 always_export_symbols=no 10605 enable_shared_with_static_runtimes=yes 10606 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' 10607 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10608 10609 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10610 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10611 # If the export-symbols file already is a .def file (1st line 10612 # is EXPORTS), use it as is; otherwise, prepend... 10613 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10614 cp $export_symbols $output_objdir/$soname.def; 10615 else 10616 echo EXPORTS > $output_objdir/$soname.def; 10617 cat $export_symbols >> $output_objdir/$soname.def; 10618 fi~ 10619 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10620 else 10621 ld_shlibs=no 10622 fi 10623 ;; 10624 10625 haiku*) 10626 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10627 link_all_deplibs=yes 10628 ;; 10629 10630 interix[3-9]*) 10631 hardcode_direct=no 10632 hardcode_shlibpath_var=no 10633 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10634 export_dynamic_flag_spec='${wl}-E' 10635 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10636 # Instead, shared libraries are loaded at an image base (0x10000000 by 10637 # default) and relocated if they conflict, which is a slow very memory 10638 # consuming and fragmenting process. To avoid this, we pick a random, 10639 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10640 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10641 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10642 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' 10643 ;; 10644 10645 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10646 tmp_diet=no 10647 if test "$host_os" = linux-dietlibc; then 10648 case $cc_basename in 10649 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10650 esac 10651 fi 10652 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10653 && test "$tmp_diet" = no 10654 then 10655 tmp_addflag=' $pic_flag' 10656 tmp_sharedflag='-shared' 10657 case $cc_basename,$host_cpu in 10658 pgcc*) # Portland Group C compiler 10659 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' 10660 tmp_addflag=' $pic_flag' 10661 ;; 10662 pgf77* | pgf90* | pgf95* | pgfortran*) 10663 # Portland Group f77 and f90 compilers 10664 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' 10665 tmp_addflag=' $pic_flag -Mnomain' ;; 10666 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10667 tmp_addflag=' -i_dynamic' ;; 10668 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10669 tmp_addflag=' -i_dynamic -nofor_main' ;; 10670 ifc* | ifort*) # Intel Fortran compiler 10671 tmp_addflag=' -nofor_main' ;; 10672 lf95*) # Lahey Fortran 8.1 10673 whole_archive_flag_spec= 10674 tmp_sharedflag='--shared' ;; 10675 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10676 tmp_sharedflag='-qmkshrobj' 10677 tmp_addflag= ;; 10678 nvcc*) # Cuda Compiler Driver 2.2 10679 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' 10680 compiler_needs_object=yes 10681 ;; 10682 esac 10683 case `$CC -V 2>&1 | sed 5q` in 10684 *Sun\ C*) # Sun C 5.9 10685 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' 10686 compiler_needs_object=yes 10687 tmp_sharedflag='-G' ;; 10688 *Sun\ F*) # Sun Fortran 8.3 10689 tmp_sharedflag='-G' ;; 10690 esac 10691 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10692 10693 if test "x$supports_anon_versioning" = xyes; then 10694 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10695 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10696 echo "local: *; };" >> $output_objdir/$libname.ver~ 10697 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 10698 fi 10699 10700 case $cc_basename in 10701 xlf* | bgf* | bgxlf* | mpixlf*) 10702 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10703 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10704 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10705 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10706 if test "x$supports_anon_versioning" = xyes; then 10707 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10708 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10709 echo "local: *; };" >> $output_objdir/$libname.ver~ 10710 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10711 fi 10712 ;; 10713 esac 10714 else 10715 ld_shlibs=no 10716 fi 10717 ;; 10718 10719 netbsd*) 10720 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10721 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10722 wlarc= 10723 else 10724 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10725 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10726 fi 10727 ;; 10728 10729 solaris*) 10730 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10731 ld_shlibs=no 10732 cat <<_LT_EOF 1>&2 10733 10734*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10735*** create shared libraries on Solaris systems. Therefore, libtool 10736*** is disabling shared libraries support. We urge you to upgrade GNU 10737*** binutils to release 2.9.1 or newer. Another option is to modify 10738*** your PATH or compiler configuration so that the native linker is 10739*** used, and then restart. 10740 10741_LT_EOF 10742 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10743 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10744 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10745 else 10746 ld_shlibs=no 10747 fi 10748 ;; 10749 10750 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10751 case `$LD -v 2>&1` in 10752 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10753 ld_shlibs=no 10754 cat <<_LT_EOF 1>&2 10755 10756*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 10757*** reliably create shared libraries on SCO systems. Therefore, libtool 10758*** is disabling shared libraries support. We urge you to upgrade GNU 10759*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10760*** your PATH or compiler configuration so that the native linker is 10761*** used, and then restart. 10762 10763_LT_EOF 10764 ;; 10765 *) 10766 # For security reasons, it is highly recommended that you always 10767 # use absolute paths for naming shared libraries, and exclude the 10768 # DT_RUNPATH tag from executables and libraries. But doing so 10769 # requires that you compile everything twice, which is a pain. 10770 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10771 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10772 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10773 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10774 else 10775 ld_shlibs=no 10776 fi 10777 ;; 10778 esac 10779 ;; 10780 10781 sunos4*) 10782 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10783 wlarc= 10784 hardcode_direct=yes 10785 hardcode_shlibpath_var=no 10786 ;; 10787 10788 *) 10789 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10790 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10791 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10792 else 10793 ld_shlibs=no 10794 fi 10795 ;; 10796 esac 10797 10798 if test "$ld_shlibs" = no; then 10799 runpath_var= 10800 hardcode_libdir_flag_spec= 10801 export_dynamic_flag_spec= 10802 whole_archive_flag_spec= 10803 fi 10804 else 10805 # PORTME fill in a description of your system's linker (not GNU ld) 10806 case $host_os in 10807 aix3*) 10808 allow_undefined_flag=unsupported 10809 always_export_symbols=yes 10810 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' 10811 # Note: this linker hardcodes the directories in LIBPATH if there 10812 # are no directories specified by -L. 10813 hardcode_minus_L=yes 10814 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 10815 # Neither direct hardcoding nor static linking is supported with a 10816 # broken collect2. 10817 hardcode_direct=unsupported 10818 fi 10819 ;; 10820 10821 aix[4-9]*) 10822 if test "$host_cpu" = ia64; then 10823 # On IA64, the linker does run time linking by default, so we don't 10824 # have to do anything special. 10825 aix_use_runtimelinking=no 10826 exp_sym_flag='-Bexport' 10827 no_entry_flag="" 10828 else 10829 # If we're using GNU nm, then we don't want the "-C" option. 10830 # -C means demangle to AIX nm, but means don't demangle with GNU nm 10831 # Also, AIX nm treats weak defined symbols like other global 10832 # defined symbols, whereas GNU nm marks them as "W". 10833 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10834 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 10835 else 10836 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 10837 fi 10838 aix_use_runtimelinking=no 10839 10840 # Test if we are trying to use run time linking or normal 10841 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10842 # need to do runtime linking. 10843 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10844 for ld_flag in $LDFLAGS; do 10845 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 10846 aix_use_runtimelinking=yes 10847 break 10848 fi 10849 done 10850 ;; 10851 esac 10852 10853 exp_sym_flag='-bexport' 10854 no_entry_flag='-bnoentry' 10855 fi 10856 10857 # When large executables or shared objects are built, AIX ld can 10858 # have problems creating the table of contents. If linking a library 10859 # or program results in "error TOC overflow" add -mminimal-toc to 10860 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10861 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10862 10863 archive_cmds='' 10864 hardcode_direct=yes 10865 hardcode_direct_absolute=yes 10866 hardcode_libdir_separator=':' 10867 link_all_deplibs=yes 10868 file_list_spec='${wl}-f,' 10869 10870 if test "$GCC" = yes; then 10871 case $host_os in aix4.[012]|aix4.[012].*) 10872 # We only want to do this on AIX 4.2 and lower, the check 10873 # below for broken collect2 doesn't work under 4.3+ 10874 collect2name=`${CC} -print-prog-name=collect2` 10875 if test -f "$collect2name" && 10876 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10877 then 10878 # We have reworked collect2 10879 : 10880 else 10881 # We have old collect2 10882 hardcode_direct=unsupported 10883 # It fails to find uninstalled libraries when the uninstalled 10884 # path is not listed in the libpath. Setting hardcode_minus_L 10885 # to unsupported forces relinking 10886 hardcode_minus_L=yes 10887 hardcode_libdir_flag_spec='-L$libdir' 10888 hardcode_libdir_separator= 10889 fi 10890 ;; 10891 esac 10892 shared_flag='-shared' 10893 if test "$aix_use_runtimelinking" = yes; then 10894 shared_flag="$shared_flag "'${wl}-G' 10895 fi 10896 else 10897 # not using gcc 10898 if test "$host_cpu" = ia64; then 10899 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10900 # chokes on -Wl,-G. The following line is correct: 10901 shared_flag='-G' 10902 else 10903 if test "$aix_use_runtimelinking" = yes; then 10904 shared_flag='${wl}-G' 10905 else 10906 shared_flag='${wl}-bM:SRE' 10907 fi 10908 fi 10909 fi 10910 10911 export_dynamic_flag_spec='${wl}-bexpall' 10912 # It seems that -bexpall does not export symbols beginning with 10913 # underscore (_), so it is better to generate a list of symbols to export. 10914 always_export_symbols=yes 10915 if test "$aix_use_runtimelinking" = yes; then 10916 # Warning - without using the other runtime loading flags (-brtl), 10917 # -berok will link without error, but may produce a broken library. 10918 allow_undefined_flag='-berok' 10919 # Determine the default libpath from the value encoded in an 10920 # empty executable. 10921 if test "${lt_cv_aix_libpath+set}" = set; then 10922 aix_libpath=$lt_cv_aix_libpath 10923else 10924 if ${lt_cv_aix_libpath_+:} false; then : 10925 $as_echo_n "(cached) " >&6 10926else 10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10928/* end confdefs.h. */ 10929 10930int 10931main () 10932{ 10933 10934 ; 10935 return 0; 10936} 10937_ACEOF 10938if ac_fn_c_try_link "$LINENO"; then : 10939 10940 lt_aix_libpath_sed=' 10941 /Import File Strings/,/^$/ { 10942 /^0/ { 10943 s/^0 *\([^ ]*\) *$/\1/ 10944 p 10945 } 10946 }' 10947 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10948 # Check for a 64-bit object if we didn't find anything. 10949 if test -z "$lt_cv_aix_libpath_"; then 10950 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10951 fi 10952fi 10953rm -f core conftest.err conftest.$ac_objext \ 10954 conftest$ac_exeext conftest.$ac_ext 10955 if test -z "$lt_cv_aix_libpath_"; then 10956 lt_cv_aix_libpath_="/usr/lib:/lib" 10957 fi 10958 10959fi 10960 10961 aix_libpath=$lt_cv_aix_libpath_ 10962fi 10963 10964 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10965 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 10966 else 10967 if test "$host_cpu" = ia64; then 10968 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 10969 allow_undefined_flag="-z nodefs" 10970 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" 10971 else 10972 # Determine the default libpath from the value encoded in an 10973 # empty executable. 10974 if test "${lt_cv_aix_libpath+set}" = set; then 10975 aix_libpath=$lt_cv_aix_libpath 10976else 10977 if ${lt_cv_aix_libpath_+:} false; then : 10978 $as_echo_n "(cached) " >&6 10979else 10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10981/* end confdefs.h. */ 10982 10983int 10984main () 10985{ 10986 10987 ; 10988 return 0; 10989} 10990_ACEOF 10991if ac_fn_c_try_link "$LINENO"; then : 10992 10993 lt_aix_libpath_sed=' 10994 /Import File Strings/,/^$/ { 10995 /^0/ { 10996 s/^0 *\([^ ]*\) *$/\1/ 10997 p 10998 } 10999 }' 11000 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11001 # Check for a 64-bit object if we didn't find anything. 11002 if test -z "$lt_cv_aix_libpath_"; then 11003 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11004 fi 11005fi 11006rm -f core conftest.err conftest.$ac_objext \ 11007 conftest$ac_exeext conftest.$ac_ext 11008 if test -z "$lt_cv_aix_libpath_"; then 11009 lt_cv_aix_libpath_="/usr/lib:/lib" 11010 fi 11011 11012fi 11013 11014 aix_libpath=$lt_cv_aix_libpath_ 11015fi 11016 11017 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 11018 # Warning - without using the other run time loading flags, 11019 # -berok will link without error, but may produce a broken library. 11020 no_undefined_flag=' ${wl}-bernotok' 11021 allow_undefined_flag=' ${wl}-berok' 11022 if test "$with_gnu_ld" = yes; then 11023 # We only use this code for GNU lds that support --whole-archive. 11024 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 11025 else 11026 # Exported symbols can be pulled into shared objects from archives 11027 whole_archive_flag_spec='$convenience' 11028 fi 11029 archive_cmds_need_lc=yes 11030 # This is similar to how AIX traditionally builds its shared libraries. 11031 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 11032 fi 11033 fi 11034 ;; 11035 11036 amigaos*) 11037 case $host_cpu in 11038 powerpc) 11039 # see comment about AmigaOS4 .so support 11040 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11041 archive_expsym_cmds='' 11042 ;; 11043 m68k) 11044 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)' 11045 hardcode_libdir_flag_spec='-L$libdir' 11046 hardcode_minus_L=yes 11047 ;; 11048 esac 11049 ;; 11050 11051 bsdi[45]*) 11052 export_dynamic_flag_spec=-rdynamic 11053 ;; 11054 11055 cygwin* | mingw* | pw32* | cegcc*) 11056 # When not using gcc, we currently assume that we are using 11057 # Microsoft Visual C++. 11058 # hardcode_libdir_flag_spec is actually meaningless, as there is 11059 # no search path for DLLs. 11060 case $cc_basename in 11061 cl*) 11062 # Native MSVC 11063 hardcode_libdir_flag_spec=' ' 11064 allow_undefined_flag=unsupported 11065 always_export_symbols=yes 11066 file_list_spec='@' 11067 # Tell ltmain to make .lib files, not .a files. 11068 libext=lib 11069 # Tell ltmain to make .dll files, not .so files. 11070 shrext_cmds=".dll" 11071 # FIXME: Setting linknames here is a bad hack. 11072 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 11073 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 11074 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 11075 else 11076 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 11077 fi~ 11078 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11079 linknames=' 11080 # The linker will not automatically build a static lib if we build a DLL. 11081 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11082 enable_shared_with_static_runtimes=yes 11083 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11084 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11085 # Don't use ranlib 11086 old_postinstall_cmds='chmod 644 $oldlib' 11087 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11088 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11089 case $lt_outputfile in 11090 *.exe|*.EXE) ;; 11091 *) 11092 lt_outputfile="$lt_outputfile.exe" 11093 lt_tool_outputfile="$lt_tool_outputfile.exe" 11094 ;; 11095 esac~ 11096 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 11097 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11098 $RM "$lt_outputfile.manifest"; 11099 fi' 11100 ;; 11101 *) 11102 # Assume MSVC wrapper 11103 hardcode_libdir_flag_spec=' ' 11104 allow_undefined_flag=unsupported 11105 # Tell ltmain to make .lib files, not .a files. 11106 libext=lib 11107 # Tell ltmain to make .dll files, not .so files. 11108 shrext_cmds=".dll" 11109 # FIXME: Setting linknames here is a bad hack. 11110 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11111 # The linker will automatically build a .lib file if we build a DLL. 11112 old_archive_from_new_cmds='true' 11113 # FIXME: Should let the user specify the lib program. 11114 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11115 enable_shared_with_static_runtimes=yes 11116 ;; 11117 esac 11118 ;; 11119 11120 darwin* | rhapsody*) 11121 11122 11123 archive_cmds_need_lc=no 11124 hardcode_direct=no 11125 hardcode_automatic=yes 11126 hardcode_shlibpath_var=unsupported 11127 if test "$lt_cv_ld_force_load" = "yes"; then 11128 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\"`' 11129 11130 else 11131 whole_archive_flag_spec='' 11132 fi 11133 link_all_deplibs=yes 11134 allow_undefined_flag="$_lt_dar_allow_undefined" 11135 case $cc_basename in 11136 ifort*) _lt_dar_can_shared=yes ;; 11137 *) _lt_dar_can_shared=$GCC ;; 11138 esac 11139 if test "$_lt_dar_can_shared" = "yes"; then 11140 output_verbose_link_cmd=func_echo_all 11141 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 11142 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 11143 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}" 11144 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}" 11145 11146 else 11147 ld_shlibs=no 11148 fi 11149 11150 ;; 11151 11152 dgux*) 11153 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11154 hardcode_libdir_flag_spec='-L$libdir' 11155 hardcode_shlibpath_var=no 11156 ;; 11157 11158 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11159 # support. Future versions do this automatically, but an explicit c++rt0.o 11160 # does not break anything, and helps significantly (at the cost of a little 11161 # extra space). 11162 freebsd2.2*) 11163 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11164 hardcode_libdir_flag_spec='-R$libdir' 11165 hardcode_direct=yes 11166 hardcode_shlibpath_var=no 11167 ;; 11168 11169 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11170 freebsd2.*) 11171 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11172 hardcode_direct=yes 11173 hardcode_minus_L=yes 11174 hardcode_shlibpath_var=no 11175 ;; 11176 11177 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11178 freebsd* | dragonfly*) 11179 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11180 hardcode_libdir_flag_spec='-R$libdir' 11181 hardcode_direct=yes 11182 hardcode_shlibpath_var=no 11183 ;; 11184 11185 hpux9*) 11186 if test "$GCC" = yes; then 11187 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 11188 else 11189 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 11190 fi 11191 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11192 hardcode_libdir_separator=: 11193 hardcode_direct=yes 11194 11195 # hardcode_minus_L: Not really in the search PATH, 11196 # but as the default location of the library. 11197 hardcode_minus_L=yes 11198 export_dynamic_flag_spec='${wl}-E' 11199 ;; 11200 11201 hpux10*) 11202 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 11203 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11204 else 11205 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11206 fi 11207 if test "$with_gnu_ld" = no; then 11208 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11209 hardcode_libdir_separator=: 11210 hardcode_direct=yes 11211 hardcode_direct_absolute=yes 11212 export_dynamic_flag_spec='${wl}-E' 11213 # hardcode_minus_L: Not really in the search PATH, 11214 # but as the default location of the library. 11215 hardcode_minus_L=yes 11216 fi 11217 ;; 11218 11219 hpux11*) 11220 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 11221 case $host_cpu in 11222 hppa*64*) 11223 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 11224 ;; 11225 ia64*) 11226 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11227 ;; 11228 *) 11229 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11230 ;; 11231 esac 11232 else 11233 case $host_cpu in 11234 hppa*64*) 11235 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 11236 ;; 11237 ia64*) 11238 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11239 ;; 11240 *) 11241 11242 # Older versions of the 11.00 compiler do not understand -b yet 11243 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11245$as_echo_n "checking if $CC understands -b... " >&6; } 11246if ${lt_cv_prog_compiler__b+:} false; then : 11247 $as_echo_n "(cached) " >&6 11248else 11249 lt_cv_prog_compiler__b=no 11250 save_LDFLAGS="$LDFLAGS" 11251 LDFLAGS="$LDFLAGS -b" 11252 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11253 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11254 # The linker can only warn and ignore the option if not recognized 11255 # So say no if there are warnings 11256 if test -s conftest.err; then 11257 # Append any errors to the config.log. 11258 cat conftest.err 1>&5 11259 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11260 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11261 if diff conftest.exp conftest.er2 >/dev/null; then 11262 lt_cv_prog_compiler__b=yes 11263 fi 11264 else 11265 lt_cv_prog_compiler__b=yes 11266 fi 11267 fi 11268 $RM -r conftest* 11269 LDFLAGS="$save_LDFLAGS" 11270 11271fi 11272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11273$as_echo "$lt_cv_prog_compiler__b" >&6; } 11274 11275if test x"$lt_cv_prog_compiler__b" = xyes; then 11276 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11277else 11278 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11279fi 11280 11281 ;; 11282 esac 11283 fi 11284 if test "$with_gnu_ld" = no; then 11285 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11286 hardcode_libdir_separator=: 11287 11288 case $host_cpu in 11289 hppa*64*|ia64*) 11290 hardcode_direct=no 11291 hardcode_shlibpath_var=no 11292 ;; 11293 *) 11294 hardcode_direct=yes 11295 hardcode_direct_absolute=yes 11296 export_dynamic_flag_spec='${wl}-E' 11297 11298 # hardcode_minus_L: Not really in the search PATH, 11299 # but as the default location of the library. 11300 hardcode_minus_L=yes 11301 ;; 11302 esac 11303 fi 11304 ;; 11305 11306 irix5* | irix6* | nonstopux*) 11307 if test "$GCC" = yes; then 11308 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' 11309 # Try to use the -exported_symbol ld option, if it does not 11310 # work, assume that -exports_file does not work either and 11311 # implicitly export all symbols. 11312 # This should be the same for all languages, so no per-tag cache variable. 11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11314$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11315if ${lt_cv_irix_exported_symbol+:} false; then : 11316 $as_echo_n "(cached) " >&6 11317else 11318 save_LDFLAGS="$LDFLAGS" 11319 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11321/* end confdefs.h. */ 11322int foo (void) { return 0; } 11323_ACEOF 11324if ac_fn_c_try_link "$LINENO"; then : 11325 lt_cv_irix_exported_symbol=yes 11326else 11327 lt_cv_irix_exported_symbol=no 11328fi 11329rm -f core conftest.err conftest.$ac_objext \ 11330 conftest$ac_exeext conftest.$ac_ext 11331 LDFLAGS="$save_LDFLAGS" 11332fi 11333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11334$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11335 if test "$lt_cv_irix_exported_symbol" = yes; then 11336 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' 11337 fi 11338 else 11339 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' 11340 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' 11341 fi 11342 archive_cmds_need_lc='no' 11343 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11344 hardcode_libdir_separator=: 11345 inherit_rpath=yes 11346 link_all_deplibs=yes 11347 ;; 11348 11349 netbsd*) 11350 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11351 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11352 else 11353 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11354 fi 11355 hardcode_libdir_flag_spec='-R$libdir' 11356 hardcode_direct=yes 11357 hardcode_shlibpath_var=no 11358 ;; 11359 11360 newsos6) 11361 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11362 hardcode_direct=yes 11363 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11364 hardcode_libdir_separator=: 11365 hardcode_shlibpath_var=no 11366 ;; 11367 11368 *nto* | *qnx*) 11369 ;; 11370 11371 openbsd*) 11372 if test -f /usr/libexec/ld.so; then 11373 hardcode_direct=yes 11374 hardcode_shlibpath_var=no 11375 hardcode_direct_absolute=yes 11376 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11377 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11378 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 11379 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 11380 export_dynamic_flag_spec='${wl}-E' 11381 else 11382 case $host_os in 11383 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 11384 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11385 hardcode_libdir_flag_spec='-R$libdir' 11386 ;; 11387 *) 11388 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11389 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 11390 ;; 11391 esac 11392 fi 11393 else 11394 ld_shlibs=no 11395 fi 11396 ;; 11397 11398 os2*) 11399 hardcode_libdir_flag_spec='-L$libdir' 11400 hardcode_minus_L=yes 11401 allow_undefined_flag=unsupported 11402 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 11403 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 11404 ;; 11405 11406 osf3*) 11407 if test "$GCC" = yes; then 11408 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 11409 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' 11410 else 11411 allow_undefined_flag=' -expect_unresolved \*' 11412 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' 11413 fi 11414 archive_cmds_need_lc='no' 11415 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11416 hardcode_libdir_separator=: 11417 ;; 11418 11419 osf4* | osf5*) # as osf3* with the addition of -msym flag 11420 if test "$GCC" = yes; then 11421 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 11422 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' 11423 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11424 else 11425 allow_undefined_flag=' -expect_unresolved \*' 11426 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' 11427 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~ 11428 $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' 11429 11430 # Both c and cxx compiler support -rpath directly 11431 hardcode_libdir_flag_spec='-rpath $libdir' 11432 fi 11433 archive_cmds_need_lc='no' 11434 hardcode_libdir_separator=: 11435 ;; 11436 11437 solaris*) 11438 no_undefined_flag=' -z defs' 11439 if test "$GCC" = yes; then 11440 wlarc='${wl}' 11441 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 11442 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11443 $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' 11444 else 11445 case `$CC -V 2>&1` in 11446 *"Compilers 5.0"*) 11447 wlarc='' 11448 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 11449 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11450 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11451 ;; 11452 *) 11453 wlarc='${wl}' 11454 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11455 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11456 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11457 ;; 11458 esac 11459 fi 11460 hardcode_libdir_flag_spec='-R$libdir' 11461 hardcode_shlibpath_var=no 11462 case $host_os in 11463 solaris2.[0-5] | solaris2.[0-5].*) ;; 11464 *) 11465 # The compiler driver will combine and reorder linker options, 11466 # but understands `-z linker_flag'. GCC discards it without `$wl', 11467 # but is careful enough not to reorder. 11468 # Supported since Solaris 2.6 (maybe 2.5.1?) 11469 if test "$GCC" = yes; then 11470 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 11471 else 11472 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11473 fi 11474 ;; 11475 esac 11476 link_all_deplibs=yes 11477 ;; 11478 11479 sunos4*) 11480 if test "x$host_vendor" = xsequent; then 11481 # Use $CC to link under sequent, because it throws in some extra .o 11482 # files that make .init and .fini sections work. 11483 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11484 else 11485 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11486 fi 11487 hardcode_libdir_flag_spec='-L$libdir' 11488 hardcode_direct=yes 11489 hardcode_minus_L=yes 11490 hardcode_shlibpath_var=no 11491 ;; 11492 11493 sysv4) 11494 case $host_vendor in 11495 sni) 11496 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11497 hardcode_direct=yes # is this really true??? 11498 ;; 11499 siemens) 11500 ## LD is ld it makes a PLAMLIB 11501 ## CC just makes a GrossModule. 11502 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11503 reload_cmds='$CC -r -o $output$reload_objs' 11504 hardcode_direct=no 11505 ;; 11506 motorola) 11507 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11508 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11509 ;; 11510 esac 11511 runpath_var='LD_RUN_PATH' 11512 hardcode_shlibpath_var=no 11513 ;; 11514 11515 sysv4.3*) 11516 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11517 hardcode_shlibpath_var=no 11518 export_dynamic_flag_spec='-Bexport' 11519 ;; 11520 11521 sysv4*MP*) 11522 if test -d /usr/nec; then 11523 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11524 hardcode_shlibpath_var=no 11525 runpath_var=LD_RUN_PATH 11526 hardcode_runpath_var=yes 11527 ld_shlibs=yes 11528 fi 11529 ;; 11530 11531 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11532 no_undefined_flag='${wl}-z,text' 11533 archive_cmds_need_lc=no 11534 hardcode_shlibpath_var=no 11535 runpath_var='LD_RUN_PATH' 11536 11537 if test "$GCC" = yes; then 11538 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11539 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11540 else 11541 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11542 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11543 fi 11544 ;; 11545 11546 sysv5* | sco3.2v5* | sco5v6*) 11547 # Note: We can NOT use -z defs as we might desire, because we do not 11548 # link with -lc, and that would cause any symbols used from libc to 11549 # always be unresolved, which means just about no library would 11550 # ever link correctly. If we're not using GNU ld we use -z text 11551 # though, which does catch some bad symbols but isn't as heavy-handed 11552 # as -z defs. 11553 no_undefined_flag='${wl}-z,text' 11554 allow_undefined_flag='${wl}-z,nodefs' 11555 archive_cmds_need_lc=no 11556 hardcode_shlibpath_var=no 11557 hardcode_libdir_flag_spec='${wl}-R,$libdir' 11558 hardcode_libdir_separator=':' 11559 link_all_deplibs=yes 11560 export_dynamic_flag_spec='${wl}-Bexport' 11561 runpath_var='LD_RUN_PATH' 11562 11563 if test "$GCC" = yes; then 11564 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11565 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11566 else 11567 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11568 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11569 fi 11570 ;; 11571 11572 uts4*) 11573 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11574 hardcode_libdir_flag_spec='-L$libdir' 11575 hardcode_shlibpath_var=no 11576 ;; 11577 11578 *) 11579 ld_shlibs=no 11580 ;; 11581 esac 11582 11583 if test x$host_vendor = xsni; then 11584 case $host in 11585 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11586 export_dynamic_flag_spec='${wl}-Blargedynsym' 11587 ;; 11588 esac 11589 fi 11590 fi 11591 11592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11593$as_echo "$ld_shlibs" >&6; } 11594test "$ld_shlibs" = no && can_build_shared=no 11595 11596with_gnu_ld=$with_gnu_ld 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612# 11613# Do we need to explicitly link libc? 11614# 11615case "x$archive_cmds_need_lc" in 11616x|xyes) 11617 # Assume -lc should be added 11618 archive_cmds_need_lc=yes 11619 11620 if test "$enable_shared" = yes && test "$GCC" = yes; then 11621 case $archive_cmds in 11622 *'~'*) 11623 # FIXME: we may have to deal with multi-command sequences. 11624 ;; 11625 '$CC '*) 11626 # Test whether the compiler implicitly links with -lc since on some 11627 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11628 # to ld, don't add -lc before -lgcc. 11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11630$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11631if ${lt_cv_archive_cmds_need_lc+:} false; then : 11632 $as_echo_n "(cached) " >&6 11633else 11634 $RM conftest* 11635 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11636 11637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11638 (eval $ac_compile) 2>&5 11639 ac_status=$? 11640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11641 test $ac_status = 0; } 2>conftest.err; then 11642 soname=conftest 11643 lib=conftest 11644 libobjs=conftest.$ac_objext 11645 deplibs= 11646 wl=$lt_prog_compiler_wl 11647 pic_flag=$lt_prog_compiler_pic 11648 compiler_flags=-v 11649 linker_flags=-v 11650 verstring= 11651 output_objdir=. 11652 libname=conftest 11653 lt_save_allow_undefined_flag=$allow_undefined_flag 11654 allow_undefined_flag= 11655 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11656 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11657 ac_status=$? 11658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11659 test $ac_status = 0; } 11660 then 11661 lt_cv_archive_cmds_need_lc=no 11662 else 11663 lt_cv_archive_cmds_need_lc=yes 11664 fi 11665 allow_undefined_flag=$lt_save_allow_undefined_flag 11666 else 11667 cat conftest.err 1>&5 11668 fi 11669 $RM conftest* 11670 11671fi 11672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11673$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11674 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11675 ;; 11676 esac 11677 fi 11678 ;; 11679esac 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11833$as_echo_n "checking dynamic linker characteristics... " >&6; } 11834 11835if test "$GCC" = yes; then 11836 case $host_os in 11837 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 11838 *) lt_awk_arg="/^libraries:/" ;; 11839 esac 11840 case $host_os in 11841 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 11842 *) lt_sed_strip_eq="s,=/,/,g" ;; 11843 esac 11844 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11845 case $lt_search_path_spec in 11846 *\;*) 11847 # if the path contains ";" then we assume it to be the separator 11848 # otherwise default to the standard path separator (i.e. ":") - it is 11849 # assumed that no part of a normal pathname contains ";" but that should 11850 # okay in the real world where ";" in dirpaths is itself problematic. 11851 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11852 ;; 11853 *) 11854 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11855 ;; 11856 esac 11857 # Ok, now we have the path, separated by spaces, we can step through it 11858 # and add multilib dir if necessary. 11859 lt_tmp_lt_search_path_spec= 11860 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11861 for lt_sys_path in $lt_search_path_spec; do 11862 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 11863 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 11864 else 11865 test -d "$lt_sys_path" && \ 11866 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11867 fi 11868 done 11869 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11870BEGIN {RS=" "; FS="/|\n";} { 11871 lt_foo=""; 11872 lt_count=0; 11873 for (lt_i = NF; lt_i > 0; lt_i--) { 11874 if ($lt_i != "" && $lt_i != ".") { 11875 if ($lt_i == "..") { 11876 lt_count++; 11877 } else { 11878 if (lt_count == 0) { 11879 lt_foo="/" $lt_i lt_foo; 11880 } else { 11881 lt_count--; 11882 } 11883 } 11884 } 11885 } 11886 if (lt_foo != "") { lt_freq[lt_foo]++; } 11887 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11888}'` 11889 # AWK program above erroneously prepends '/' to C:/dos/paths 11890 # for these hosts. 11891 case $host_os in 11892 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11893 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 11894 esac 11895 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11896else 11897 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11898fi 11899library_names_spec= 11900libname_spec='lib$name' 11901soname_spec= 11902shrext_cmds=".so" 11903postinstall_cmds= 11904postuninstall_cmds= 11905finish_cmds= 11906finish_eval= 11907shlibpath_var= 11908shlibpath_overrides_runpath=unknown 11909version_type=none 11910dynamic_linker="$host_os ld.so" 11911sys_lib_dlsearch_path_spec="/lib /usr/lib" 11912need_lib_prefix=unknown 11913hardcode_into_libs=no 11914 11915# when you set need_version to no, make sure it does not cause -set_version 11916# flags to be left without arguments 11917need_version=unknown 11918 11919case $host_os in 11920aix3*) 11921 version_type=linux # correct to gnu/linux during the next big refactor 11922 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 11923 shlibpath_var=LIBPATH 11924 11925 # AIX 3 has no versioning support, so we append a major version to the name. 11926 soname_spec='${libname}${release}${shared_ext}$major' 11927 ;; 11928 11929aix[4-9]*) 11930 version_type=linux # correct to gnu/linux during the next big refactor 11931 need_lib_prefix=no 11932 need_version=no 11933 hardcode_into_libs=yes 11934 if test "$host_cpu" = ia64; then 11935 # AIX 5 supports IA64 11936 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 11937 shlibpath_var=LD_LIBRARY_PATH 11938 else 11939 # With GCC up to 2.95.x, collect2 would create an import file 11940 # for dependence libraries. The import file would start with 11941 # the line `#! .'. This would cause the generated library to 11942 # depend on `.', always an invalid library. This was fixed in 11943 # development snapshots of GCC prior to 3.0. 11944 case $host_os in 11945 aix4 | aix4.[01] | aix4.[01].*) 11946 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11947 echo ' yes ' 11948 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 11949 : 11950 else 11951 can_build_shared=no 11952 fi 11953 ;; 11954 esac 11955 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 11956 # soname into executable. Probably we can add versioning support to 11957 # collect2, so additional links can be useful in future. 11958 if test "$aix_use_runtimelinking" = yes; then 11959 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11960 # instead of lib<name>.a to let people know that these are not 11961 # typical AIX shared libraries. 11962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11963 else 11964 # We preserve .a as extension for shared libraries through AIX4.2 11965 # and later when we are not doing run time linking. 11966 library_names_spec='${libname}${release}.a $libname.a' 11967 soname_spec='${libname}${release}${shared_ext}$major' 11968 fi 11969 shlibpath_var=LIBPATH 11970 fi 11971 ;; 11972 11973amigaos*) 11974 case $host_cpu in 11975 powerpc) 11976 # Since July 2007 AmigaOS4 officially supports .so libraries. 11977 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11979 ;; 11980 m68k) 11981 library_names_spec='$libname.ixlibrary $libname.a' 11982 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11983 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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' 11984 ;; 11985 esac 11986 ;; 11987 11988beos*) 11989 library_names_spec='${libname}${shared_ext}' 11990 dynamic_linker="$host_os ld.so" 11991 shlibpath_var=LIBRARY_PATH 11992 ;; 11993 11994bsdi[45]*) 11995 version_type=linux # correct to gnu/linux during the next big refactor 11996 need_version=no 11997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11998 soname_spec='${libname}${release}${shared_ext}$major' 11999 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12000 shlibpath_var=LD_LIBRARY_PATH 12001 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12002 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12003 # the default ld.so.conf also contains /usr/contrib/lib and 12004 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12005 # libtool to hard-code these into programs 12006 ;; 12007 12008cygwin* | mingw* | pw32* | cegcc*) 12009 version_type=windows 12010 shrext_cmds=".dll" 12011 need_version=no 12012 need_lib_prefix=no 12013 12014 case $GCC,$cc_basename in 12015 yes,*) 12016 # gcc 12017 library_names_spec='$libname.dll.a' 12018 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12019 postinstall_cmds='base_file=`basename \${file}`~ 12020 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 12021 dldir=$destdir/`dirname \$dlpath`~ 12022 test -d \$dldir || mkdir -p \$dldir~ 12023 $install_prog $dir/$dlname \$dldir/$dlname~ 12024 chmod a+x \$dldir/$dlname~ 12025 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12026 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12027 fi' 12028 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12029 dlpath=$dir/\$dldll~ 12030 $RM \$dlpath' 12031 shlibpath_overrides_runpath=yes 12032 12033 case $host_os in 12034 cygwin*) 12035 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12036 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12037 12038 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12039 ;; 12040 mingw* | cegcc*) 12041 # MinGW DLLs use traditional 'lib' prefix 12042 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12043 ;; 12044 pw32*) 12045 # pw32 DLLs use 'pw' prefix rather than 'lib' 12046 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12047 ;; 12048 esac 12049 dynamic_linker='Win32 ld.exe' 12050 ;; 12051 12052 *,cl*) 12053 # Native MSVC 12054 libname_spec='$name' 12055 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12056 library_names_spec='${libname}.dll.lib' 12057 12058 case $build_os in 12059 mingw*) 12060 sys_lib_search_path_spec= 12061 lt_save_ifs=$IFS 12062 IFS=';' 12063 for lt_path in $LIB 12064 do 12065 IFS=$lt_save_ifs 12066 # Let DOS variable expansion print the short 8.3 style file name. 12067 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12068 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12069 done 12070 IFS=$lt_save_ifs 12071 # Convert to MSYS style. 12072 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12073 ;; 12074 cygwin*) 12075 # Convert to unix form, then to dos form, then back to unix form 12076 # but this time dos style (no spaces!) so that the unix form looks 12077 # like /cygdrive/c/PROGRA~1:/cygdr... 12078 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12079 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12080 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12081 ;; 12082 *) 12083 sys_lib_search_path_spec="$LIB" 12084 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12085 # It is most probably a Windows format PATH. 12086 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12087 else 12088 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12089 fi 12090 # FIXME: find the short name or the path components, as spaces are 12091 # common. (e.g. "Program Files" -> "PROGRA~1") 12092 ;; 12093 esac 12094 12095 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12096 postinstall_cmds='base_file=`basename \${file}`~ 12097 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 12098 dldir=$destdir/`dirname \$dlpath`~ 12099 test -d \$dldir || mkdir -p \$dldir~ 12100 $install_prog $dir/$dlname \$dldir/$dlname' 12101 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12102 dlpath=$dir/\$dldll~ 12103 $RM \$dlpath' 12104 shlibpath_overrides_runpath=yes 12105 dynamic_linker='Win32 link.exe' 12106 ;; 12107 12108 *) 12109 # Assume MSVC wrapper 12110 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 12111 dynamic_linker='Win32 ld.exe' 12112 ;; 12113 esac 12114 # FIXME: first we should search . and the directory the executable is in 12115 shlibpath_var=PATH 12116 ;; 12117 12118darwin* | rhapsody*) 12119 dynamic_linker="$host_os dyld" 12120 version_type=darwin 12121 need_lib_prefix=no 12122 need_version=no 12123 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 12124 soname_spec='${libname}${release}${major}$shared_ext' 12125 shlibpath_overrides_runpath=yes 12126 shlibpath_var=DYLD_LIBRARY_PATH 12127 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12128 12129 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12130 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12131 ;; 12132 12133dgux*) 12134 version_type=linux # correct to gnu/linux during the next big refactor 12135 need_lib_prefix=no 12136 need_version=no 12137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 12138 soname_spec='${libname}${release}${shared_ext}$major' 12139 shlibpath_var=LD_LIBRARY_PATH 12140 ;; 12141 12142freebsd* | dragonfly*) 12143 # DragonFly does not have aout. When/if they implement a new 12144 # versioning mechanism, adjust this. 12145 if test -x /usr/bin/objformat; then 12146 objformat=`/usr/bin/objformat` 12147 else 12148 case $host_os in 12149 freebsd[23].*) objformat=aout ;; 12150 *) objformat=elf ;; 12151 esac 12152 fi 12153 version_type=freebsd-$objformat 12154 case $version_type in 12155 freebsd-elf*) 12156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 12157 need_version=no 12158 need_lib_prefix=no 12159 ;; 12160 freebsd-*) 12161 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 12162 need_version=yes 12163 ;; 12164 esac 12165 shlibpath_var=LD_LIBRARY_PATH 12166 case $host_os in 12167 freebsd2.*) 12168 shlibpath_overrides_runpath=yes 12169 ;; 12170 freebsd3.[01]* | freebsdelf3.[01]*) 12171 shlibpath_overrides_runpath=yes 12172 hardcode_into_libs=yes 12173 ;; 12174 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12175 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12176 shlibpath_overrides_runpath=no 12177 hardcode_into_libs=yes 12178 ;; 12179 *) # from 4.6 on, and DragonFly 12180 shlibpath_overrides_runpath=yes 12181 hardcode_into_libs=yes 12182 ;; 12183 esac 12184 ;; 12185 12186gnu*) 12187 version_type=linux # correct to gnu/linux during the next big refactor 12188 need_lib_prefix=no 12189 need_version=no 12190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 12191 soname_spec='${libname}${release}${shared_ext}$major' 12192 shlibpath_var=LD_LIBRARY_PATH 12193 shlibpath_overrides_runpath=no 12194 hardcode_into_libs=yes 12195 ;; 12196 12197haiku*) 12198 version_type=linux # correct to gnu/linux during the next big refactor 12199 need_lib_prefix=no 12200 need_version=no 12201 dynamic_linker="$host_os runtime_loader" 12202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 12203 soname_spec='${libname}${release}${shared_ext}$major' 12204 shlibpath_var=LIBRARY_PATH 12205 shlibpath_overrides_runpath=yes 12206 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12207 hardcode_into_libs=yes 12208 ;; 12209 12210hpux9* | hpux10* | hpux11*) 12211 # Give a soname corresponding to the major version so that dld.sl refuses to 12212 # link against other versions. 12213 version_type=sunos 12214 need_lib_prefix=no 12215 need_version=no 12216 case $host_cpu in 12217 ia64*) 12218 shrext_cmds='.so' 12219 hardcode_into_libs=yes 12220 dynamic_linker="$host_os dld.so" 12221 shlibpath_var=LD_LIBRARY_PATH 12222 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12224 soname_spec='${libname}${release}${shared_ext}$major' 12225 if test "X$HPUX_IA64_MODE" = X32; then 12226 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12227 else 12228 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12229 fi 12230 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12231 ;; 12232 hppa*64*) 12233 shrext_cmds='.sl' 12234 hardcode_into_libs=yes 12235 dynamic_linker="$host_os dld.sl" 12236 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12237 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12239 soname_spec='${libname}${release}${shared_ext}$major' 12240 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12241 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12242 ;; 12243 *) 12244 shrext_cmds='.sl' 12245 dynamic_linker="$host_os dld.sl" 12246 shlibpath_var=SHLIB_PATH 12247 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12249 soname_spec='${libname}${release}${shared_ext}$major' 12250 ;; 12251 esac 12252 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12253 postinstall_cmds='chmod 555 $lib' 12254 # or fails outright, so override atomically: 12255 install_override_mode=555 12256 ;; 12257 12258interix[3-9]*) 12259 version_type=linux # correct to gnu/linux during the next big refactor 12260 need_lib_prefix=no 12261 need_version=no 12262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12263 soname_spec='${libname}${release}${shared_ext}$major' 12264 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12265 shlibpath_var=LD_LIBRARY_PATH 12266 shlibpath_overrides_runpath=no 12267 hardcode_into_libs=yes 12268 ;; 12269 12270irix5* | irix6* | nonstopux*) 12271 case $host_os in 12272 nonstopux*) version_type=nonstopux ;; 12273 *) 12274 if test "$lt_cv_prog_gnu_ld" = yes; then 12275 version_type=linux # correct to gnu/linux during the next big refactor 12276 else 12277 version_type=irix 12278 fi ;; 12279 esac 12280 need_lib_prefix=no 12281 need_version=no 12282 soname_spec='${libname}${release}${shared_ext}$major' 12283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 12284 case $host_os in 12285 irix5* | nonstopux*) 12286 libsuff= shlibsuff= 12287 ;; 12288 *) 12289 case $LD in # libtool.m4 will add one of these switches to LD 12290 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12291 libsuff= shlibsuff= libmagic=32-bit;; 12292 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12293 libsuff=32 shlibsuff=N32 libmagic=N32;; 12294 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12295 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12296 *) libsuff= shlibsuff= libmagic=never-match;; 12297 esac 12298 ;; 12299 esac 12300 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12301 shlibpath_overrides_runpath=no 12302 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 12303 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 12304 hardcode_into_libs=yes 12305 ;; 12306 12307# No shared lib support for Linux oldld, aout, or coff. 12308linux*oldld* | linux*aout* | linux*coff*) 12309 dynamic_linker=no 12310 ;; 12311 12312# This must be glibc/ELF. 12313linux* | k*bsd*-gnu | kopensolaris*-gnu) 12314 version_type=linux # correct to gnu/linux during the next big refactor 12315 need_lib_prefix=no 12316 need_version=no 12317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12318 soname_spec='${libname}${release}${shared_ext}$major' 12319 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12320 shlibpath_var=LD_LIBRARY_PATH 12321 shlibpath_overrides_runpath=no 12322 12323 # Some binutils ld are patched to set DT_RUNPATH 12324 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12325 $as_echo_n "(cached) " >&6 12326else 12327 lt_cv_shlibpath_overrides_runpath=no 12328 save_LDFLAGS=$LDFLAGS 12329 save_libdir=$libdir 12330 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12331 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12333/* end confdefs.h. */ 12334 12335int 12336main () 12337{ 12338 12339 ; 12340 return 0; 12341} 12342_ACEOF 12343if ac_fn_c_try_link "$LINENO"; then : 12344 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12345 lt_cv_shlibpath_overrides_runpath=yes 12346fi 12347fi 12348rm -f core conftest.err conftest.$ac_objext \ 12349 conftest$ac_exeext conftest.$ac_ext 12350 LDFLAGS=$save_LDFLAGS 12351 libdir=$save_libdir 12352 12353fi 12354 12355 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12356 12357 # This implies no fast_install, which is unacceptable. 12358 # Some rework will be needed to allow for fast_install 12359 # before this can be enabled. 12360 hardcode_into_libs=yes 12361 12362 # Append ld.so.conf contents to the search path 12363 if test -f /etc/ld.so.conf; then 12364 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' ' '` 12365 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 12366 fi 12367 12368 # We used to test for /lib/ld.so.1 and disable shared libraries on 12369 # powerpc, because MkLinux only supported shared libraries with the 12370 # GNU dynamic linker. Since this was broken with cross compilers, 12371 # most powerpc-linux boxes support dynamic linking these days and 12372 # people can always --disable-shared, the test was removed, and we 12373 # assume the GNU/Linux dynamic linker is in use. 12374 dynamic_linker='GNU/Linux ld.so' 12375 ;; 12376 12377netbsd*) 12378 version_type=sunos 12379 need_lib_prefix=no 12380 need_version=no 12381 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12383 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12384 dynamic_linker='NetBSD (a.out) ld.so' 12385 else 12386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12387 soname_spec='${libname}${release}${shared_ext}$major' 12388 dynamic_linker='NetBSD ld.elf_so' 12389 fi 12390 shlibpath_var=LD_LIBRARY_PATH 12391 shlibpath_overrides_runpath=yes 12392 hardcode_into_libs=yes 12393 ;; 12394 12395newsos6) 12396 version_type=linux # correct to gnu/linux during the next big refactor 12397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12398 shlibpath_var=LD_LIBRARY_PATH 12399 shlibpath_overrides_runpath=yes 12400 ;; 12401 12402*nto* | *qnx*) 12403 version_type=qnx 12404 need_lib_prefix=no 12405 need_version=no 12406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12407 soname_spec='${libname}${release}${shared_ext}$major' 12408 shlibpath_var=LD_LIBRARY_PATH 12409 shlibpath_overrides_runpath=no 12410 hardcode_into_libs=yes 12411 dynamic_linker='ldqnx.so' 12412 ;; 12413 12414openbsd*) 12415 version_type=sunos 12416 sys_lib_dlsearch_path_spec="/usr/lib" 12417 need_lib_prefix=no 12418 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 12419 case $host_os in 12420 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 12421 *) need_version=no ;; 12422 esac 12423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12424 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12425 shlibpath_var=LD_LIBRARY_PATH 12426 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 12427 case $host_os in 12428 openbsd2.[89] | openbsd2.[89].*) 12429 shlibpath_overrides_runpath=no 12430 ;; 12431 *) 12432 shlibpath_overrides_runpath=yes 12433 ;; 12434 esac 12435 else 12436 shlibpath_overrides_runpath=yes 12437 fi 12438 ;; 12439 12440os2*) 12441 libname_spec='$name' 12442 shrext_cmds=".dll" 12443 need_lib_prefix=no 12444 library_names_spec='$libname${shared_ext} $libname.a' 12445 dynamic_linker='OS/2 ld.exe' 12446 shlibpath_var=LIBPATH 12447 ;; 12448 12449osf3* | osf4* | osf5*) 12450 version_type=osf 12451 need_lib_prefix=no 12452 need_version=no 12453 soname_spec='${libname}${release}${shared_ext}$major' 12454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12455 shlibpath_var=LD_LIBRARY_PATH 12456 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12457 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 12458 ;; 12459 12460rdos*) 12461 dynamic_linker=no 12462 ;; 12463 12464solaris*) 12465 version_type=linux # correct to gnu/linux during the next big refactor 12466 need_lib_prefix=no 12467 need_version=no 12468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12469 soname_spec='${libname}${release}${shared_ext}$major' 12470 shlibpath_var=LD_LIBRARY_PATH 12471 shlibpath_overrides_runpath=yes 12472 hardcode_into_libs=yes 12473 # ldd complains unless libraries are executable 12474 postinstall_cmds='chmod +x $lib' 12475 ;; 12476 12477sunos4*) 12478 version_type=sunos 12479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12480 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12481 shlibpath_var=LD_LIBRARY_PATH 12482 shlibpath_overrides_runpath=yes 12483 if test "$with_gnu_ld" = yes; then 12484 need_lib_prefix=no 12485 fi 12486 need_version=yes 12487 ;; 12488 12489sysv4 | sysv4.3*) 12490 version_type=linux # correct to gnu/linux during the next big refactor 12491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12492 soname_spec='${libname}${release}${shared_ext}$major' 12493 shlibpath_var=LD_LIBRARY_PATH 12494 case $host_vendor in 12495 sni) 12496 shlibpath_overrides_runpath=no 12497 need_lib_prefix=no 12498 runpath_var=LD_RUN_PATH 12499 ;; 12500 siemens) 12501 need_lib_prefix=no 12502 ;; 12503 motorola) 12504 need_lib_prefix=no 12505 need_version=no 12506 shlibpath_overrides_runpath=no 12507 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12508 ;; 12509 esac 12510 ;; 12511 12512sysv4*MP*) 12513 if test -d /usr/nec ;then 12514 version_type=linux # correct to gnu/linux during the next big refactor 12515 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 12516 soname_spec='$libname${shared_ext}.$major' 12517 shlibpath_var=LD_LIBRARY_PATH 12518 fi 12519 ;; 12520 12521sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12522 version_type=freebsd-elf 12523 need_lib_prefix=no 12524 need_version=no 12525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 12526 soname_spec='${libname}${release}${shared_ext}$major' 12527 shlibpath_var=LD_LIBRARY_PATH 12528 shlibpath_overrides_runpath=yes 12529 hardcode_into_libs=yes 12530 if test "$with_gnu_ld" = yes; then 12531 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12532 else 12533 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12534 case $host_os in 12535 sco3.2v5*) 12536 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12537 ;; 12538 esac 12539 fi 12540 sys_lib_dlsearch_path_spec='/usr/lib' 12541 ;; 12542 12543tpf*) 12544 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12545 version_type=linux # correct to gnu/linux during the next big refactor 12546 need_lib_prefix=no 12547 need_version=no 12548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12549 shlibpath_var=LD_LIBRARY_PATH 12550 shlibpath_overrides_runpath=no 12551 hardcode_into_libs=yes 12552 ;; 12553 12554uts4*) 12555 version_type=linux # correct to gnu/linux during the next big refactor 12556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12557 soname_spec='${libname}${release}${shared_ext}$major' 12558 shlibpath_var=LD_LIBRARY_PATH 12559 ;; 12560 12561*) 12562 dynamic_linker=no 12563 ;; 12564esac 12565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12566$as_echo "$dynamic_linker" >&6; } 12567test "$dynamic_linker" = no && can_build_shared=no 12568 12569variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12570if test "$GCC" = yes; then 12571 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12572fi 12573 12574if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 12575 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 12576fi 12577if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 12578 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 12579fi 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12673$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12674hardcode_action= 12675if test -n "$hardcode_libdir_flag_spec" || 12676 test -n "$runpath_var" || 12677 test "X$hardcode_automatic" = "Xyes" ; then 12678 12679 # We can hardcode non-existent directories. 12680 if test "$hardcode_direct" != no && 12681 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12682 # have to relink, otherwise we might link with an installed library 12683 # when we should be linking with a yet-to-be-installed one 12684 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 12685 test "$hardcode_minus_L" != no; then 12686 # Linking always hardcodes the temporary library directory. 12687 hardcode_action=relink 12688 else 12689 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12690 hardcode_action=immediate 12691 fi 12692else 12693 # We cannot hardcode anything, or else we can only hardcode existing 12694 # directories. 12695 hardcode_action=unsupported 12696fi 12697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12698$as_echo "$hardcode_action" >&6; } 12699 12700if test "$hardcode_action" = relink || 12701 test "$inherit_rpath" = yes; then 12702 # Fast installation is not supported 12703 enable_fast_install=no 12704elif test "$shlibpath_overrides_runpath" = yes || 12705 test "$enable_shared" = no; then 12706 # Fast installation is not necessary 12707 enable_fast_install=needless 12708fi 12709 12710 12711 12712 12713 12714 12715 if test "x$enable_dlopen" != xyes; then 12716 enable_dlopen=unknown 12717 enable_dlopen_self=unknown 12718 enable_dlopen_self_static=unknown 12719else 12720 lt_cv_dlopen=no 12721 lt_cv_dlopen_libs= 12722 12723 case $host_os in 12724 beos*) 12725 lt_cv_dlopen="load_add_on" 12726 lt_cv_dlopen_libs= 12727 lt_cv_dlopen_self=yes 12728 ;; 12729 12730 mingw* | pw32* | cegcc*) 12731 lt_cv_dlopen="LoadLibrary" 12732 lt_cv_dlopen_libs= 12733 ;; 12734 12735 cygwin*) 12736 lt_cv_dlopen="dlopen" 12737 lt_cv_dlopen_libs= 12738 ;; 12739 12740 darwin*) 12741 # if libdl is installed we need to link against it 12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12743$as_echo_n "checking for dlopen in -ldl... " >&6; } 12744if ${ac_cv_lib_dl_dlopen+:} false; then : 12745 $as_echo_n "(cached) " >&6 12746else 12747 ac_check_lib_save_LIBS=$LIBS 12748LIBS="-ldl $LIBS" 12749cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12750/* end confdefs.h. */ 12751 12752/* Override any GCC internal prototype to avoid an error. 12753 Use char because int might match the return type of a GCC 12754 builtin and then its argument prototype would still apply. */ 12755#ifdef __cplusplus 12756extern "C" 12757#endif 12758char dlopen (); 12759int 12760main () 12761{ 12762return dlopen (); 12763 ; 12764 return 0; 12765} 12766_ACEOF 12767if ac_fn_c_try_link "$LINENO"; then : 12768 ac_cv_lib_dl_dlopen=yes 12769else 12770 ac_cv_lib_dl_dlopen=no 12771fi 12772rm -f core conftest.err conftest.$ac_objext \ 12773 conftest$ac_exeext conftest.$ac_ext 12774LIBS=$ac_check_lib_save_LIBS 12775fi 12776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12777$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12778if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12779 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12780else 12781 12782 lt_cv_dlopen="dyld" 12783 lt_cv_dlopen_libs= 12784 lt_cv_dlopen_self=yes 12785 12786fi 12787 12788 ;; 12789 12790 *) 12791 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12792if test "x$ac_cv_func_shl_load" = xyes; then : 12793 lt_cv_dlopen="shl_load" 12794else 12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12796$as_echo_n "checking for shl_load in -ldld... " >&6; } 12797if ${ac_cv_lib_dld_shl_load+:} false; then : 12798 $as_echo_n "(cached) " >&6 12799else 12800 ac_check_lib_save_LIBS=$LIBS 12801LIBS="-ldld $LIBS" 12802cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12803/* end confdefs.h. */ 12804 12805/* Override any GCC internal prototype to avoid an error. 12806 Use char because int might match the return type of a GCC 12807 builtin and then its argument prototype would still apply. */ 12808#ifdef __cplusplus 12809extern "C" 12810#endif 12811char shl_load (); 12812int 12813main () 12814{ 12815return shl_load (); 12816 ; 12817 return 0; 12818} 12819_ACEOF 12820if ac_fn_c_try_link "$LINENO"; then : 12821 ac_cv_lib_dld_shl_load=yes 12822else 12823 ac_cv_lib_dld_shl_load=no 12824fi 12825rm -f core conftest.err conftest.$ac_objext \ 12826 conftest$ac_exeext conftest.$ac_ext 12827LIBS=$ac_check_lib_save_LIBS 12828fi 12829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12830$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12831if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12832 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 12833else 12834 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12835if test "x$ac_cv_func_dlopen" = xyes; then : 12836 lt_cv_dlopen="dlopen" 12837else 12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12839$as_echo_n "checking for dlopen in -ldl... " >&6; } 12840if ${ac_cv_lib_dl_dlopen+:} false; then : 12841 $as_echo_n "(cached) " >&6 12842else 12843 ac_check_lib_save_LIBS=$LIBS 12844LIBS="-ldl $LIBS" 12845cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12846/* end confdefs.h. */ 12847 12848/* Override any GCC internal prototype to avoid an error. 12849 Use char because int might match the return type of a GCC 12850 builtin and then its argument prototype would still apply. */ 12851#ifdef __cplusplus 12852extern "C" 12853#endif 12854char dlopen (); 12855int 12856main () 12857{ 12858return dlopen (); 12859 ; 12860 return 0; 12861} 12862_ACEOF 12863if ac_fn_c_try_link "$LINENO"; then : 12864 ac_cv_lib_dl_dlopen=yes 12865else 12866 ac_cv_lib_dl_dlopen=no 12867fi 12868rm -f core conftest.err conftest.$ac_objext \ 12869 conftest$ac_exeext conftest.$ac_ext 12870LIBS=$ac_check_lib_save_LIBS 12871fi 12872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12873$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12874if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12875 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12876else 12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12878$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12879if ${ac_cv_lib_svld_dlopen+:} false; then : 12880 $as_echo_n "(cached) " >&6 12881else 12882 ac_check_lib_save_LIBS=$LIBS 12883LIBS="-lsvld $LIBS" 12884cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12885/* end confdefs.h. */ 12886 12887/* Override any GCC internal prototype to avoid an error. 12888 Use char because int might match the return type of a GCC 12889 builtin and then its argument prototype would still apply. */ 12890#ifdef __cplusplus 12891extern "C" 12892#endif 12893char dlopen (); 12894int 12895main () 12896{ 12897return dlopen (); 12898 ; 12899 return 0; 12900} 12901_ACEOF 12902if ac_fn_c_try_link "$LINENO"; then : 12903 ac_cv_lib_svld_dlopen=yes 12904else 12905 ac_cv_lib_svld_dlopen=no 12906fi 12907rm -f core conftest.err conftest.$ac_objext \ 12908 conftest$ac_exeext conftest.$ac_ext 12909LIBS=$ac_check_lib_save_LIBS 12910fi 12911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12912$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12913if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12914 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 12915else 12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12917$as_echo_n "checking for dld_link in -ldld... " >&6; } 12918if ${ac_cv_lib_dld_dld_link+:} false; then : 12919 $as_echo_n "(cached) " >&6 12920else 12921 ac_check_lib_save_LIBS=$LIBS 12922LIBS="-ldld $LIBS" 12923cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12924/* end confdefs.h. */ 12925 12926/* Override any GCC internal prototype to avoid an error. 12927 Use char because int might match the return type of a GCC 12928 builtin and then its argument prototype would still apply. */ 12929#ifdef __cplusplus 12930extern "C" 12931#endif 12932char dld_link (); 12933int 12934main () 12935{ 12936return dld_link (); 12937 ; 12938 return 0; 12939} 12940_ACEOF 12941if ac_fn_c_try_link "$LINENO"; then : 12942 ac_cv_lib_dld_dld_link=yes 12943else 12944 ac_cv_lib_dld_dld_link=no 12945fi 12946rm -f core conftest.err conftest.$ac_objext \ 12947 conftest$ac_exeext conftest.$ac_ext 12948LIBS=$ac_check_lib_save_LIBS 12949fi 12950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12951$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12952if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12953 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 12954fi 12955 12956 12957fi 12958 12959 12960fi 12961 12962 12963fi 12964 12965 12966fi 12967 12968 12969fi 12970 12971 ;; 12972 esac 12973 12974 if test "x$lt_cv_dlopen" != xno; then 12975 enable_dlopen=yes 12976 else 12977 enable_dlopen=no 12978 fi 12979 12980 case $lt_cv_dlopen in 12981 dlopen) 12982 save_CPPFLAGS="$CPPFLAGS" 12983 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12984 12985 save_LDFLAGS="$LDFLAGS" 12986 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12987 12988 save_LIBS="$LIBS" 12989 LIBS="$lt_cv_dlopen_libs $LIBS" 12990 12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12992$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12993if ${lt_cv_dlopen_self+:} false; then : 12994 $as_echo_n "(cached) " >&6 12995else 12996 if test "$cross_compiling" = yes; then : 12997 lt_cv_dlopen_self=cross 12998else 12999 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13000 lt_status=$lt_dlunknown 13001 cat > conftest.$ac_ext <<_LT_EOF 13002#line $LINENO "configure" 13003#include "confdefs.h" 13004 13005#if HAVE_DLFCN_H 13006#include <dlfcn.h> 13007#endif 13008 13009#include <stdio.h> 13010 13011#ifdef RTLD_GLOBAL 13012# define LT_DLGLOBAL RTLD_GLOBAL 13013#else 13014# ifdef DL_GLOBAL 13015# define LT_DLGLOBAL DL_GLOBAL 13016# else 13017# define LT_DLGLOBAL 0 13018# endif 13019#endif 13020 13021/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13022 find out it does not work in some platform. */ 13023#ifndef LT_DLLAZY_OR_NOW 13024# ifdef RTLD_LAZY 13025# define LT_DLLAZY_OR_NOW RTLD_LAZY 13026# else 13027# ifdef DL_LAZY 13028# define LT_DLLAZY_OR_NOW DL_LAZY 13029# else 13030# ifdef RTLD_NOW 13031# define LT_DLLAZY_OR_NOW RTLD_NOW 13032# else 13033# ifdef DL_NOW 13034# define LT_DLLAZY_OR_NOW DL_NOW 13035# else 13036# define LT_DLLAZY_OR_NOW 0 13037# endif 13038# endif 13039# endif 13040# endif 13041#endif 13042 13043/* When -fvisbility=hidden is used, assume the code has been annotated 13044 correspondingly for the symbols needed. */ 13045#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13046int fnord () __attribute__((visibility("default"))); 13047#endif 13048 13049int fnord () { return 42; } 13050int main () 13051{ 13052 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13053 int status = $lt_dlunknown; 13054 13055 if (self) 13056 { 13057 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13058 else 13059 { 13060 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13061 else puts (dlerror ()); 13062 } 13063 /* dlclose (self); */ 13064 } 13065 else 13066 puts (dlerror ()); 13067 13068 return status; 13069} 13070_LT_EOF 13071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13072 (eval $ac_link) 2>&5 13073 ac_status=$? 13074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13075 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 13076 (./conftest; exit; ) >&5 2>/dev/null 13077 lt_status=$? 13078 case x$lt_status in 13079 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13080 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13081 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13082 esac 13083 else : 13084 # compilation failed 13085 lt_cv_dlopen_self=no 13086 fi 13087fi 13088rm -fr conftest* 13089 13090 13091fi 13092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13093$as_echo "$lt_cv_dlopen_self" >&6; } 13094 13095 if test "x$lt_cv_dlopen_self" = xyes; then 13096 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13098$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13099if ${lt_cv_dlopen_self_static+:} false; then : 13100 $as_echo_n "(cached) " >&6 13101else 13102 if test "$cross_compiling" = yes; then : 13103 lt_cv_dlopen_self_static=cross 13104else 13105 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13106 lt_status=$lt_dlunknown 13107 cat > conftest.$ac_ext <<_LT_EOF 13108#line $LINENO "configure" 13109#include "confdefs.h" 13110 13111#if HAVE_DLFCN_H 13112#include <dlfcn.h> 13113#endif 13114 13115#include <stdio.h> 13116 13117#ifdef RTLD_GLOBAL 13118# define LT_DLGLOBAL RTLD_GLOBAL 13119#else 13120# ifdef DL_GLOBAL 13121# define LT_DLGLOBAL DL_GLOBAL 13122# else 13123# define LT_DLGLOBAL 0 13124# endif 13125#endif 13126 13127/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13128 find out it does not work in some platform. */ 13129#ifndef LT_DLLAZY_OR_NOW 13130# ifdef RTLD_LAZY 13131# define LT_DLLAZY_OR_NOW RTLD_LAZY 13132# else 13133# ifdef DL_LAZY 13134# define LT_DLLAZY_OR_NOW DL_LAZY 13135# else 13136# ifdef RTLD_NOW 13137# define LT_DLLAZY_OR_NOW RTLD_NOW 13138# else 13139# ifdef DL_NOW 13140# define LT_DLLAZY_OR_NOW DL_NOW 13141# else 13142# define LT_DLLAZY_OR_NOW 0 13143# endif 13144# endif 13145# endif 13146# endif 13147#endif 13148 13149/* When -fvisbility=hidden is used, assume the code has been annotated 13150 correspondingly for the symbols needed. */ 13151#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13152int fnord () __attribute__((visibility("default"))); 13153#endif 13154 13155int fnord () { return 42; } 13156int main () 13157{ 13158 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13159 int status = $lt_dlunknown; 13160 13161 if (self) 13162 { 13163 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13164 else 13165 { 13166 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13167 else puts (dlerror ()); 13168 } 13169 /* dlclose (self); */ 13170 } 13171 else 13172 puts (dlerror ()); 13173 13174 return status; 13175} 13176_LT_EOF 13177 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13178 (eval $ac_link) 2>&5 13179 ac_status=$? 13180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13181 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 13182 (./conftest; exit; ) >&5 2>/dev/null 13183 lt_status=$? 13184 case x$lt_status in 13185 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13186 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13187 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13188 esac 13189 else : 13190 # compilation failed 13191 lt_cv_dlopen_self_static=no 13192 fi 13193fi 13194rm -fr conftest* 13195 13196 13197fi 13198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13199$as_echo "$lt_cv_dlopen_self_static" >&6; } 13200 fi 13201 13202 CPPFLAGS="$save_CPPFLAGS" 13203 LDFLAGS="$save_LDFLAGS" 13204 LIBS="$save_LIBS" 13205 ;; 13206 esac 13207 13208 case $lt_cv_dlopen_self in 13209 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13210 *) enable_dlopen_self=unknown ;; 13211 esac 13212 13213 case $lt_cv_dlopen_self_static in 13214 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13215 *) enable_dlopen_self_static=unknown ;; 13216 esac 13217fi 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235striplib= 13236old_striplib= 13237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13238$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13239if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13240 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13241 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13243$as_echo "yes" >&6; } 13244else 13245# FIXME - insert some real tests, host_os isn't really good enough 13246 case $host_os in 13247 darwin*) 13248 if test -n "$STRIP" ; then 13249 striplib="$STRIP -x" 13250 old_striplib="$STRIP -S" 13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13252$as_echo "yes" >&6; } 13253 else 13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13255$as_echo "no" >&6; } 13256 fi 13257 ;; 13258 *) 13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13260$as_echo "no" >&6; } 13261 ;; 13262 esac 13263fi 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 # Report which library types will actually be built 13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13278$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13280$as_echo "$can_build_shared" >&6; } 13281 13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13283$as_echo_n "checking whether to build shared libraries... " >&6; } 13284 test "$can_build_shared" = "no" && enable_shared=no 13285 13286 # On AIX, shared libraries and static libraries use the same namespace, and 13287 # are all built from PIC. 13288 case $host_os in 13289 aix3*) 13290 test "$enable_shared" = yes && enable_static=no 13291 if test -n "$RANLIB"; then 13292 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13293 postinstall_cmds='$RANLIB $lib' 13294 fi 13295 ;; 13296 13297 aix[4-9]*) 13298 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 13299 test "$enable_shared" = yes && enable_static=no 13300 fi 13301 ;; 13302 esac 13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13304$as_echo "$enable_shared" >&6; } 13305 13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13307$as_echo_n "checking whether to build static libraries... " >&6; } 13308 # Make sure either enable_shared or enable_static is yes. 13309 test "$enable_shared" = yes || enable_static=yes 13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13311$as_echo "$enable_static" >&6; } 13312 13313 13314 13315 13316fi 13317ac_ext=c 13318ac_cpp='$CPP $CPPFLAGS' 13319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13321ac_compiler_gnu=$ac_cv_c_compiler_gnu 13322 13323CC="$lt_save_CC" 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 ac_config_commands="$ac_config_commands libtool" 13340 13341 13342 13343 13344# Only expand once: 13345 13346{ $as_echo "$as_me:${as_lineno-$LINENO}: end: libtool stuff" >&5 13347$as_echo "$as_me: end: libtool stuff" >&6;} 13348 13349 13350 13351# Extract the first word of "guile", so it can be a program name with args. 13352set dummy guile; ac_word=$2 13353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13354$as_echo_n "checking for $ac_word... " >&6; } 13355if ${ac_cv_path_GUILE+:} false; then : 13356 $as_echo_n "(cached) " >&6 13357else 13358 case $GUILE in 13359 [\\/]* | ?:[\\/]*) 13360 ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path. 13361 ;; 13362 *) 13363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13364for as_dir in $PATH 13365do 13366 IFS=$as_save_IFS 13367 test -z "$as_dir" && as_dir=. 13368 for ac_exec_ext in '' $ac_executable_extensions; do 13369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13370 ac_cv_path_GUILE="$as_dir/$ac_word$ac_exec_ext" 13371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13372 break 2 13373 fi 13374done 13375 done 13376IFS=$as_save_IFS 13377 13378 ;; 13379esac 13380fi 13381GUILE=$ac_cv_path_GUILE 13382if test -n "$GUILE"; then 13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE" >&5 13384$as_echo "$GUILE" >&6; } 13385else 13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13387$as_echo "no" >&6; } 13388fi 13389 13390 13391if test x = x"$GUILE"; then : 13392 as_fn_error $? "guile required but not found" "$LINENO" 5 13393fi 13394# Extract the first word of "guile-config", so it can be a program name with args. 13395set dummy guile-config; ac_word=$2 13396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13397$as_echo_n "checking for $ac_word... " >&6; } 13398if ${ac_cv_path_GUILE_CONFIG+:} false; then : 13399 $as_echo_n "(cached) " >&6 13400else 13401 case $GUILE_CONFIG in 13402 [\\/]* | ?:[\\/]*) 13403 ac_cv_path_GUILE_CONFIG="$GUILE_CONFIG" # Let the user override the test with a path. 13404 ;; 13405 *) 13406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13407for as_dir in $PATH 13408do 13409 IFS=$as_save_IFS 13410 test -z "$as_dir" && as_dir=. 13411 for ac_exec_ext in '' $ac_executable_extensions; do 13412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13413 ac_cv_path_GUILE_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13415 break 2 13416 fi 13417done 13418 done 13419IFS=$as_save_IFS 13420 13421 ;; 13422esac 13423fi 13424GUILE_CONFIG=$ac_cv_path_GUILE_CONFIG 13425if test -n "$GUILE_CONFIG"; then 13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE_CONFIG" >&5 13427$as_echo "$GUILE_CONFIG" >&6; } 13428else 13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13430$as_echo "no" >&6; } 13431fi 13432 13433 13434if test x = x"$GUILE_CONFIG"; then : 13435 as_fn_error $? "guile-config required but not found" "$LINENO" 5 13436fi 13437# Extract the first word of "guile-tools", so it can be a program name with args. 13438set dummy guile-tools; ac_word=$2 13439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13440$as_echo_n "checking for $ac_word... " >&6; } 13441if ${ac_cv_path_GUILE_TOOLS+:} false; then : 13442 $as_echo_n "(cached) " >&6 13443else 13444 case $GUILE_TOOLS in 13445 [\\/]* | ?:[\\/]*) 13446 ac_cv_path_GUILE_TOOLS="$GUILE_TOOLS" # Let the user override the test with a path. 13447 ;; 13448 *) 13449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13450for as_dir in $PATH 13451do 13452 IFS=$as_save_IFS 13453 test -z "$as_dir" && as_dir=. 13454 for ac_exec_ext in '' $ac_executable_extensions; do 13455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13456 ac_cv_path_GUILE_TOOLS="$as_dir/$ac_word$ac_exec_ext" 13457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13458 break 2 13459 fi 13460done 13461 done 13462IFS=$as_save_IFS 13463 13464 ;; 13465esac 13466fi 13467GUILE_TOOLS=$ac_cv_path_GUILE_TOOLS 13468if test -n "$GUILE_TOOLS"; then 13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE_TOOLS" >&5 13470$as_echo "$GUILE_TOOLS" >&6; } 13471else 13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13473$as_echo "no" >&6; } 13474fi 13475 13476 13477 13478 13479 13480 13481as_fn_append CPPFLAGS " `$GUILE_CONFIG compile`" 13482guile_link_flags=`$GUILE_CONFIG link` 13483guile_ldflags=`echo $guile_link_flags | sed 's/ -l.*//'` 13484guile_squash=`echo $guile_ldflags | sed 's/././g'` 13485guile_libs=`echo $guile_link_flags | sed 's|^'${guile_squash}'||'` 13486as_fn_append LDFLAGS " $guile_ldflags" 13487as_fn_append LIBS "$guile_libs" 13488 13489{ guile_link_flags=; unset guile_link_flags;} 13490{ guile_ldflags=; unset guile_ldflags;} 13491{ guile_squash=; unset guile_squash;} 13492{ guile_libs=; unset guile_libs;} 13493 13494 13495for proc in ntohs ntohl htons htonl inet-aton inet-ntoa 13496do 13497as_VAR=`$as_echo "svz_cv_guile_has_$proc" | $as_tr_sh` 13498as_DEF=`$as_echo "GUILE_MISSING_$proc" | $as_tr_sh` 13499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if guile has procedure \`$proc'" >&5 13500$as_echo_n "checking if guile has procedure \`$proc'... " >&6; } 13501if eval \${$as_VAR+:} false; then : 13502 $as_echo_n "(cached) " >&6 13503else 13504 if ${GUILE-guile} -c "$proc (exit 0)" >/dev/null 2>&1; then : 13505 eval "$as_VAR=yes" 13506else 13507 eval "$as_VAR=no" 13508fi 13509fi 13510eval ac_res=\$$as_VAR 13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 13512$as_echo "$ac_res" >&6; } 13513if eval test \"x\$"$as_VAR"\" = x"no"; then : 13514 cat >>confdefs.h <<_ACEOF 13515#define $as_DEF 1 13516_ACEOF 13517 13518fi 13519 13520done 13521 13522 13523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 13524$as_echo_n "checking for zlibVersion in -lz... " >&6; } 13525if ${ac_cv_lib_z_zlibVersion+:} false; then : 13526 $as_echo_n "(cached) " >&6 13527else 13528 ac_check_lib_save_LIBS=$LIBS 13529LIBS="-lz $LIBS" 13530cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13531/* end confdefs.h. */ 13532 13533/* Override any GCC internal prototype to avoid an error. 13534 Use char because int might match the return type of a GCC 13535 builtin and then its argument prototype would still apply. */ 13536#ifdef __cplusplus 13537extern "C" 13538#endif 13539char zlibVersion (); 13540int 13541main () 13542{ 13543return zlibVersion (); 13544 ; 13545 return 0; 13546} 13547_ACEOF 13548if ac_fn_c_try_link "$LINENO"; then : 13549 ac_cv_lib_z_zlibVersion=yes 13550else 13551 ac_cv_lib_z_zlibVersion=no 13552fi 13553rm -f core conftest.err conftest.$ac_objext \ 13554 conftest$ac_exeext conftest.$ac_ext 13555LIBS=$ac_check_lib_save_LIBS 13556fi 13557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 13558$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } 13559if test "x$ac_cv_lib_z_zlibVersion" = xyes; then : 13560 cat >>confdefs.h <<_ACEOF 13561#define HAVE_LIBZ 1 13562_ACEOF 13563 13564 LIBS="-lz $LIBS" 13565 13566fi 13567 13568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5 13569$as_echo_n "checking for BZ2_bzCompress in -lbz2... " >&6; } 13570if ${ac_cv_lib_bz2_BZ2_bzCompress+:} false; then : 13571 $as_echo_n "(cached) " >&6 13572else 13573 ac_check_lib_save_LIBS=$LIBS 13574LIBS="-lbz2 $LIBS" 13575cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13576/* end confdefs.h. */ 13577 13578/* Override any GCC internal prototype to avoid an error. 13579 Use char because int might match the return type of a GCC 13580 builtin and then its argument prototype would still apply. */ 13581#ifdef __cplusplus 13582extern "C" 13583#endif 13584char BZ2_bzCompress (); 13585int 13586main () 13587{ 13588return BZ2_bzCompress (); 13589 ; 13590 return 0; 13591} 13592_ACEOF 13593if ac_fn_c_try_link "$LINENO"; then : 13594 ac_cv_lib_bz2_BZ2_bzCompress=yes 13595else 13596 ac_cv_lib_bz2_BZ2_bzCompress=no 13597fi 13598rm -f core conftest.err conftest.$ac_objext \ 13599 conftest$ac_exeext conftest.$ac_ext 13600LIBS=$ac_check_lib_save_LIBS 13601fi 13602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5 13603$as_echo "$ac_cv_lib_bz2_BZ2_bzCompress" >&6; } 13604if test "x$ac_cv_lib_bz2_BZ2_bzCompress" = xyes; then : 13605 cat >>confdefs.h <<_ACEOF 13606#define HAVE_LIBBZ2 1 13607_ACEOF 13608 13609 LIBS="-lbz2 $LIBS" 13610 13611else 13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bzCompress in -lbz2" >&5 13613$as_echo_n "checking for bzCompress in -lbz2... " >&6; } 13614if ${ac_cv_lib_bz2_bzCompress+:} false; then : 13615 $as_echo_n "(cached) " >&6 13616else 13617 ac_check_lib_save_LIBS=$LIBS 13618LIBS="-lbz2 $LIBS" 13619cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13620/* end confdefs.h. */ 13621 13622/* Override any GCC internal prototype to avoid an error. 13623 Use char because int might match the return type of a GCC 13624 builtin and then its argument prototype would still apply. */ 13625#ifdef __cplusplus 13626extern "C" 13627#endif 13628char bzCompress (); 13629int 13630main () 13631{ 13632return bzCompress (); 13633 ; 13634 return 0; 13635} 13636_ACEOF 13637if ac_fn_c_try_link "$LINENO"; then : 13638 ac_cv_lib_bz2_bzCompress=yes 13639else 13640 ac_cv_lib_bz2_bzCompress=no 13641fi 13642rm -f core conftest.err conftest.$ac_objext \ 13643 conftest$ac_exeext conftest.$ac_ext 13644LIBS=$ac_check_lib_save_LIBS 13645fi 13646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_bzCompress" >&5 13647$as_echo "$ac_cv_lib_bz2_bzCompress" >&6; } 13648if test "x$ac_cv_lib_bz2_bzCompress" = xyes; then : 13649 cat >>confdefs.h <<_ACEOF 13650#define HAVE_LIBBZ2 1 13651_ACEOF 13652 13653 LIBS="-lbz2 $LIBS" 13654 13655fi 13656 13657fi 13658 13659 13660if test xyes = x"$ac_cv_lib_bz2_BZ2_bzCompress"; then : 13661 13662 13663$as_echo "#define HAVE_BZ2LIB_PREFIX 1" >>confdefs.h 13664 13665 13666fi 13667 13668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socketpair" >&5 13669$as_echo_n "checking for library containing socketpair... " >&6; } 13670if ${ac_cv_search_socketpair+:} false; then : 13671 $as_echo_n "(cached) " >&6 13672else 13673 ac_func_search_save_LIBS=$LIBS 13674cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13675/* end confdefs.h. */ 13676 13677/* Override any GCC internal prototype to avoid an error. 13678 Use char because int might match the return type of a GCC 13679 builtin and then its argument prototype would still apply. */ 13680#ifdef __cplusplus 13681extern "C" 13682#endif 13683char socketpair (); 13684int 13685main () 13686{ 13687return socketpair (); 13688 ; 13689 return 0; 13690} 13691_ACEOF 13692for ac_lib in '' socket; do 13693 if test -z "$ac_lib"; then 13694 ac_res="none required" 13695 else 13696 ac_res=-l$ac_lib 13697 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13698 fi 13699 if ac_fn_c_try_link "$LINENO"; then : 13700 ac_cv_search_socketpair=$ac_res 13701fi 13702rm -f core conftest.err conftest.$ac_objext \ 13703 conftest$ac_exeext 13704 if ${ac_cv_search_socketpair+:} false; then : 13705 break 13706fi 13707done 13708if ${ac_cv_search_socketpair+:} false; then : 13709 13710else 13711 ac_cv_search_socketpair=no 13712fi 13713rm conftest.$ac_ext 13714LIBS=$ac_func_search_save_LIBS 13715fi 13716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socketpair" >&5 13717$as_echo "$ac_cv_search_socketpair" >&6; } 13718ac_res=$ac_cv_search_socketpair 13719if test "$ac_res" != no; then : 13720 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13721 13722$as_echo "#define HAVE_SOCKETPAIR 1" >>confdefs.h 13723 13724fi 13725 13726 13727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyaddr" >&5 13728$as_echo_n "checking for library containing gethostbyaddr... " >&6; } 13729if ${ac_cv_search_gethostbyaddr+:} false; then : 13730 $as_echo_n "(cached) " >&6 13731else 13732 ac_func_search_save_LIBS=$LIBS 13733cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13734/* end confdefs.h. */ 13735 13736/* Override any GCC internal prototype to avoid an error. 13737 Use char because int might match the return type of a GCC 13738 builtin and then its argument prototype would still apply. */ 13739#ifdef __cplusplus 13740extern "C" 13741#endif 13742char gethostbyaddr (); 13743int 13744main () 13745{ 13746return gethostbyaddr (); 13747 ; 13748 return 0; 13749} 13750_ACEOF 13751for ac_lib in '' nsl; do 13752 if test -z "$ac_lib"; then 13753 ac_res="none required" 13754 else 13755 ac_res=-l$ac_lib 13756 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13757 fi 13758 if ac_fn_c_try_link "$LINENO"; then : 13759 ac_cv_search_gethostbyaddr=$ac_res 13760fi 13761rm -f core conftest.err conftest.$ac_objext \ 13762 conftest$ac_exeext 13763 if ${ac_cv_search_gethostbyaddr+:} false; then : 13764 break 13765fi 13766done 13767if ${ac_cv_search_gethostbyaddr+:} false; then : 13768 13769else 13770 ac_cv_search_gethostbyaddr=no 13771fi 13772rm conftest.$ac_ext 13773LIBS=$ac_func_search_save_LIBS 13774fi 13775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyaddr" >&5 13776$as_echo "$ac_cv_search_gethostbyaddr" >&6; } 13777ac_res=$ac_cv_search_gethostbyaddr 13778if test "$ac_res" != no; then : 13779 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13780 13781$as_echo "#define HAVE_GETHOSTBYADDR 1" >>confdefs.h 13782 13783fi 13784 13785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 13786$as_echo_n "checking for library containing inet_aton... " >&6; } 13787if ${ac_cv_search_inet_aton+:} false; then : 13788 $as_echo_n "(cached) " >&6 13789else 13790 ac_func_search_save_LIBS=$LIBS 13791cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13792/* end confdefs.h. */ 13793 13794/* Override any GCC internal prototype to avoid an error. 13795 Use char because int might match the return type of a GCC 13796 builtin and then its argument prototype would still apply. */ 13797#ifdef __cplusplus 13798extern "C" 13799#endif 13800char inet_aton (); 13801int 13802main () 13803{ 13804return inet_aton (); 13805 ; 13806 return 0; 13807} 13808_ACEOF 13809for ac_lib in '' resolv; do 13810 if test -z "$ac_lib"; then 13811 ac_res="none required" 13812 else 13813 ac_res=-l$ac_lib 13814 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13815 fi 13816 if ac_fn_c_try_link "$LINENO"; then : 13817 ac_cv_search_inet_aton=$ac_res 13818fi 13819rm -f core conftest.err conftest.$ac_objext \ 13820 conftest$ac_exeext 13821 if ${ac_cv_search_inet_aton+:} false; then : 13822 break 13823fi 13824done 13825if ${ac_cv_search_inet_aton+:} false; then : 13826 13827else 13828 ac_cv_search_inet_aton=no 13829fi 13830rm conftest.$ac_ext 13831LIBS=$ac_func_search_save_LIBS 13832fi 13833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 13834$as_echo "$ac_cv_search_inet_aton" >&6; } 13835ac_res=$ac_cv_search_inet_aton 13836if test "$ac_res" != no; then : 13837 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13838 13839$as_echo "#define HAVE_INET_ATON 1" >>confdefs.h 13840 13841fi 13842 13843 13844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 13845$as_echo_n "checking for kstat_open in -lkstat... " >&6; } 13846if ${ac_cv_lib_kstat_kstat_open+:} false; then : 13847 $as_echo_n "(cached) " >&6 13848else 13849 ac_check_lib_save_LIBS=$LIBS 13850LIBS="-lkstat $LIBS" 13851cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13852/* end confdefs.h. */ 13853 13854/* Override any GCC internal prototype to avoid an error. 13855 Use char because int might match the return type of a GCC 13856 builtin and then its argument prototype would still apply. */ 13857#ifdef __cplusplus 13858extern "C" 13859#endif 13860char kstat_open (); 13861int 13862main () 13863{ 13864return kstat_open (); 13865 ; 13866 return 0; 13867} 13868_ACEOF 13869if ac_fn_c_try_link "$LINENO"; then : 13870 ac_cv_lib_kstat_kstat_open=yes 13871else 13872 ac_cv_lib_kstat_kstat_open=no 13873fi 13874rm -f core conftest.err conftest.$ac_objext \ 13875 conftest$ac_exeext conftest.$ac_ext 13876LIBS=$ac_check_lib_save_LIBS 13877fi 13878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 13879$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 13880if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then : 13881 cat >>confdefs.h <<_ACEOF 13882#define HAVE_LIBKSTAT 1 13883_ACEOF 13884 13885 LIBS="-lkstat $LIBS" 13886 13887fi 13888 13889 13890# woe 13891 13892resource_FILES="" 13893if test xyes = x"$CYGWIN" || test xyes = x"$MINGW32"; then : 13894 13895 13896$as_echo "#define FD_SETSIZE 4096" >>confdefs.h 13897 13898 13899$as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 13900 13901 resource_FILES="serveez.rc" 13902 if test xyes = x"$MINGW32"; then : 13903 13904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmswsock" >&5 13905$as_echo_n "checking for main in -lmswsock... " >&6; } 13906if ${ac_cv_lib_mswsock_main+:} false; then : 13907 $as_echo_n "(cached) " >&6 13908else 13909 ac_check_lib_save_LIBS=$LIBS 13910LIBS="-lmswsock $LIBS" 13911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13912/* end confdefs.h. */ 13913 13914 13915int 13916main () 13917{ 13918return main (); 13919 ; 13920 return 0; 13921} 13922_ACEOF 13923if ac_fn_c_try_link "$LINENO"; then : 13924 ac_cv_lib_mswsock_main=yes 13925else 13926 ac_cv_lib_mswsock_main=no 13927fi 13928rm -f core conftest.err conftest.$ac_objext \ 13929 conftest$ac_exeext conftest.$ac_ext 13930LIBS=$ac_check_lib_save_LIBS 13931fi 13932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mswsock_main" >&5 13933$as_echo "$ac_cv_lib_mswsock_main" >&6; } 13934if test "x$ac_cv_lib_mswsock_main" = xyes; then : 13935 cat >>confdefs.h <<_ACEOF 13936#define HAVE_LIBMSWSOCK 1 13937_ACEOF 13938 13939 LIBS="-lmswsock $LIBS" 13940 13941fi 13942 13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5 13944$as_echo_n "checking for main in -lws2_32... " >&6; } 13945if ${ac_cv_lib_ws2_32_main+:} false; then : 13946 $as_echo_n "(cached) " >&6 13947else 13948 ac_check_lib_save_LIBS=$LIBS 13949LIBS="-lws2_32 $LIBS" 13950cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13951/* end confdefs.h. */ 13952 13953 13954int 13955main () 13956{ 13957return main (); 13958 ; 13959 return 0; 13960} 13961_ACEOF 13962if ac_fn_c_try_link "$LINENO"; then : 13963 ac_cv_lib_ws2_32_main=yes 13964else 13965 ac_cv_lib_ws2_32_main=no 13966fi 13967rm -f core conftest.err conftest.$ac_objext \ 13968 conftest$ac_exeext conftest.$ac_ext 13969LIBS=$ac_check_lib_save_LIBS 13970fi 13971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5 13972$as_echo "$ac_cv_lib_ws2_32_main" >&6; } 13973if test "x$ac_cv_lib_ws2_32_main" = xyes; then : 13974 cat >>confdefs.h <<_ACEOF 13975#define HAVE_LIBWS2_32 1 13976_ACEOF 13977 13978 LIBS="-lws2_32 $LIBS" 13979 13980fi 13981 13982 13983fi 13984 if test xno != x"$MINGDIR" && test xyes != x"$MINGW32"; then : 13985 13986 CFLAGS="$CFLAGS -mno-cygwin -I${MINGDIR}/include" 13987 LDFLAGS="$LDFLAGS -mno-cygwin -L${MINGDIR}/lib" 13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmswsock" >&5 13989$as_echo_n "checking for main in -lmswsock... " >&6; } 13990if ${ac_cv_lib_mswsock_main+:} false; then : 13991 $as_echo_n "(cached) " >&6 13992else 13993 ac_check_lib_save_LIBS=$LIBS 13994LIBS="-lmswsock $LIBS" 13995cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13996/* end confdefs.h. */ 13997 13998 13999int 14000main () 14001{ 14002return main (); 14003 ; 14004 return 0; 14005} 14006_ACEOF 14007if ac_fn_c_try_link "$LINENO"; then : 14008 ac_cv_lib_mswsock_main=yes 14009else 14010 ac_cv_lib_mswsock_main=no 14011fi 14012rm -f core conftest.err conftest.$ac_objext \ 14013 conftest$ac_exeext conftest.$ac_ext 14014LIBS=$ac_check_lib_save_LIBS 14015fi 14016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mswsock_main" >&5 14017$as_echo "$ac_cv_lib_mswsock_main" >&6; } 14018if test "x$ac_cv_lib_mswsock_main" = xyes; then : 14019 cat >>confdefs.h <<_ACEOF 14020#define HAVE_LIBMSWSOCK 1 14021_ACEOF 14022 14023 LIBS="-lmswsock $LIBS" 14024 14025fi 14026 14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5 14028$as_echo_n "checking for main in -lws2_32... " >&6; } 14029if ${ac_cv_lib_ws2_32_main+:} false; then : 14030 $as_echo_n "(cached) " >&6 14031else 14032 ac_check_lib_save_LIBS=$LIBS 14033LIBS="-lws2_32 $LIBS" 14034cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14035/* end confdefs.h. */ 14036 14037 14038int 14039main () 14040{ 14041return main (); 14042 ; 14043 return 0; 14044} 14045_ACEOF 14046if ac_fn_c_try_link "$LINENO"; then : 14047 ac_cv_lib_ws2_32_main=yes 14048else 14049 ac_cv_lib_ws2_32_main=no 14050fi 14051rm -f core conftest.err conftest.$ac_objext \ 14052 conftest$ac_exeext conftest.$ac_ext 14053LIBS=$ac_check_lib_save_LIBS 14054fi 14055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5 14056$as_echo "$ac_cv_lib_ws2_32_main" >&6; } 14057if test "x$ac_cv_lib_ws2_32_main" = xyes; then : 14058 cat >>confdefs.h <<_ACEOF 14059#define HAVE_LIBWS2_32 1 14060_ACEOF 14061 14062 LIBS="-lws2_32 $LIBS" 14063 14064fi 14065 14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using MinGW32 headers and libraries in ${MINGDIR}" >&5 14067$as_echo "using MinGW32 headers and libraries in ${MINGDIR}" >&6; } 14068 14069fi 14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -luser32" >&5 14071$as_echo_n "checking for main in -luser32... " >&6; } 14072if ${ac_cv_lib_user32_main+:} false; then : 14073 $as_echo_n "(cached) " >&6 14074else 14075 ac_check_lib_save_LIBS=$LIBS 14076LIBS="-luser32 $LIBS" 14077cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14078/* end confdefs.h. */ 14079 14080 14081int 14082main () 14083{ 14084return main (); 14085 ; 14086 return 0; 14087} 14088_ACEOF 14089if ac_fn_c_try_link "$LINENO"; then : 14090 ac_cv_lib_user32_main=yes 14091else 14092 ac_cv_lib_user32_main=no 14093fi 14094rm -f core conftest.err conftest.$ac_objext \ 14095 conftest$ac_exeext conftest.$ac_ext 14096LIBS=$ac_check_lib_save_LIBS 14097fi 14098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_user32_main" >&5 14099$as_echo "$ac_cv_lib_user32_main" >&6; } 14100if test "x$ac_cv_lib_user32_main" = xyes; then : 14101 cat >>confdefs.h <<_ACEOF 14102#define HAVE_LIBUSER32 1 14103_ACEOF 14104 14105 LIBS="-luser32 $LIBS" 14106 14107fi 14108 14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lshell32" >&5 14110$as_echo_n "checking for main in -lshell32... " >&6; } 14111if ${ac_cv_lib_shell32_main+:} false; then : 14112 $as_echo_n "(cached) " >&6 14113else 14114 ac_check_lib_save_LIBS=$LIBS 14115LIBS="-lshell32 $LIBS" 14116cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14117/* end confdefs.h. */ 14118 14119 14120int 14121main () 14122{ 14123return main (); 14124 ; 14125 return 0; 14126} 14127_ACEOF 14128if ac_fn_c_try_link "$LINENO"; then : 14129 ac_cv_lib_shell32_main=yes 14130else 14131 ac_cv_lib_shell32_main=no 14132fi 14133rm -f core conftest.err conftest.$ac_objext \ 14134 conftest$ac_exeext conftest.$ac_ext 14135LIBS=$ac_check_lib_save_LIBS 14136fi 14137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shell32_main" >&5 14138$as_echo "$ac_cv_lib_shell32_main" >&6; } 14139if test "x$ac_cv_lib_shell32_main" = xyes; then : 14140 cat >>confdefs.h <<_ACEOF 14141#define HAVE_LIBSHELL32 1 14142_ACEOF 14143 14144 LIBS="-lshell32 $LIBS" 14145 14146fi 14147 14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ladvapi32" >&5 14149$as_echo_n "checking for main in -ladvapi32... " >&6; } 14150if ${ac_cv_lib_advapi32_main+:} false; then : 14151 $as_echo_n "(cached) " >&6 14152else 14153 ac_check_lib_save_LIBS=$LIBS 14154LIBS="-ladvapi32 $LIBS" 14155cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14156/* end confdefs.h. */ 14157 14158 14159int 14160main () 14161{ 14162return main (); 14163 ; 14164 return 0; 14165} 14166_ACEOF 14167if ac_fn_c_try_link "$LINENO"; then : 14168 ac_cv_lib_advapi32_main=yes 14169else 14170 ac_cv_lib_advapi32_main=no 14171fi 14172rm -f core conftest.err conftest.$ac_objext \ 14173 conftest$ac_exeext conftest.$ac_ext 14174LIBS=$ac_check_lib_save_LIBS 14175fi 14176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_advapi32_main" >&5 14177$as_echo "$ac_cv_lib_advapi32_main" >&6; } 14178if test "x$ac_cv_lib_advapi32_main" = xyes; then : 14179 cat >>confdefs.h <<_ACEOF 14180#define HAVE_LIBADVAPI32 1 14181_ACEOF 14182 14183 LIBS="-ladvapi32 $LIBS" 14184 14185fi 14186 14187 14188fi 14189 14190 14191 14192ac_header_dirent=no 14193for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 14194 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 14195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 14196$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 14197if eval \${$as_ac_Header+:} false; then : 14198 $as_echo_n "(cached) " >&6 14199else 14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14201/* end confdefs.h. */ 14202#include <sys/types.h> 14203#include <$ac_hdr> 14204 14205int 14206main () 14207{ 14208if ((DIR *) 0) 14209return 0; 14210 ; 14211 return 0; 14212} 14213_ACEOF 14214if ac_fn_c_try_compile "$LINENO"; then : 14215 eval "$as_ac_Header=yes" 14216else 14217 eval "$as_ac_Header=no" 14218fi 14219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14220fi 14221eval ac_res=\$$as_ac_Header 14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 14223$as_echo "$ac_res" >&6; } 14224if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 14225 cat >>confdefs.h <<_ACEOF 14226#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 14227_ACEOF 14228 14229ac_header_dirent=$ac_hdr; break 14230fi 14231 14232done 14233# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 14234if test $ac_header_dirent = dirent.h; then 14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 14236$as_echo_n "checking for library containing opendir... " >&6; } 14237if ${ac_cv_search_opendir+:} false; then : 14238 $as_echo_n "(cached) " >&6 14239else 14240 ac_func_search_save_LIBS=$LIBS 14241cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14242/* end confdefs.h. */ 14243 14244/* Override any GCC internal prototype to avoid an error. 14245 Use char because int might match the return type of a GCC 14246 builtin and then its argument prototype would still apply. */ 14247#ifdef __cplusplus 14248extern "C" 14249#endif 14250char opendir (); 14251int 14252main () 14253{ 14254return opendir (); 14255 ; 14256 return 0; 14257} 14258_ACEOF 14259for ac_lib in '' dir; do 14260 if test -z "$ac_lib"; then 14261 ac_res="none required" 14262 else 14263 ac_res=-l$ac_lib 14264 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14265 fi 14266 if ac_fn_c_try_link "$LINENO"; then : 14267 ac_cv_search_opendir=$ac_res 14268fi 14269rm -f core conftest.err conftest.$ac_objext \ 14270 conftest$ac_exeext 14271 if ${ac_cv_search_opendir+:} false; then : 14272 break 14273fi 14274done 14275if ${ac_cv_search_opendir+:} false; then : 14276 14277else 14278 ac_cv_search_opendir=no 14279fi 14280rm conftest.$ac_ext 14281LIBS=$ac_func_search_save_LIBS 14282fi 14283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 14284$as_echo "$ac_cv_search_opendir" >&6; } 14285ac_res=$ac_cv_search_opendir 14286if test "$ac_res" != no; then : 14287 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 14288 14289fi 14290 14291else 14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 14293$as_echo_n "checking for library containing opendir... " >&6; } 14294if ${ac_cv_search_opendir+:} false; then : 14295 $as_echo_n "(cached) " >&6 14296else 14297 ac_func_search_save_LIBS=$LIBS 14298cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14299/* end confdefs.h. */ 14300 14301/* Override any GCC internal prototype to avoid an error. 14302 Use char because int might match the return type of a GCC 14303 builtin and then its argument prototype would still apply. */ 14304#ifdef __cplusplus 14305extern "C" 14306#endif 14307char opendir (); 14308int 14309main () 14310{ 14311return opendir (); 14312 ; 14313 return 0; 14314} 14315_ACEOF 14316for ac_lib in '' x; do 14317 if test -z "$ac_lib"; then 14318 ac_res="none required" 14319 else 14320 ac_res=-l$ac_lib 14321 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14322 fi 14323 if ac_fn_c_try_link "$LINENO"; then : 14324 ac_cv_search_opendir=$ac_res 14325fi 14326rm -f core conftest.err conftest.$ac_objext \ 14327 conftest$ac_exeext 14328 if ${ac_cv_search_opendir+:} false; then : 14329 break 14330fi 14331done 14332if ${ac_cv_search_opendir+:} false; then : 14333 14334else 14335 ac_cv_search_opendir=no 14336fi 14337rm conftest.$ac_ext 14338LIBS=$ac_func_search_save_LIBS 14339fi 14340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 14341$as_echo "$ac_cv_search_opendir" >&6; } 14342ac_res=$ac_cv_search_opendir 14343if test "$ac_res" != no; then : 14344 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 14345 14346fi 14347 14348fi 14349 14350 14351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 14352$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 14353if ${ac_cv_header_sys_wait_h+:} false; then : 14354 $as_echo_n "(cached) " >&6 14355else 14356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14357/* end confdefs.h. */ 14358#include <sys/types.h> 14359#include <sys/wait.h> 14360#ifndef WEXITSTATUS 14361# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) 14362#endif 14363#ifndef WIFEXITED 14364# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 14365#endif 14366 14367int 14368main () 14369{ 14370 int s; 14371 wait (&s); 14372 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 14373 ; 14374 return 0; 14375} 14376_ACEOF 14377if ac_fn_c_try_compile "$LINENO"; then : 14378 ac_cv_header_sys_wait_h=yes 14379else 14380 ac_cv_header_sys_wait_h=no 14381fi 14382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14383fi 14384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 14385$as_echo "$ac_cv_header_sys_wait_h" >&6; } 14386if test $ac_cv_header_sys_wait_h = yes; then 14387 14388$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h 14389 14390fi 14391 14392 14393 14394 14395 14396 for ac_header in $ac_header_list 14397do : 14398 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14399ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 14400" 14401if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 14402 cat >>confdefs.h <<_ACEOF 14403#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14404_ACEOF 14405 14406fi 14407 14408done 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496if test xyes = x"$enable_crypt"; then : 14497 for ac_header in crypt.h 14498do : 14499 ac_fn_c_check_header_mongrel "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default" 14500if test "x$ac_cv_header_crypt_h" = xyes; then : 14501 cat >>confdefs.h <<_ACEOF 14502#define HAVE_CRYPT_H 1 14503_ACEOF 14504 14505fi 14506 14507done 14508 14509fi 14510 14511for ac_header in guile/gh.h 14512do : 14513 ac_fn_c_check_header_compile "$LINENO" "guile/gh.h" "ac_cv_header_guile_gh_h" " 14514#include <libguile.h> 14515 14516" 14517if test "x$ac_cv_header_guile_gh_h" = xyes; then : 14518 cat >>confdefs.h <<_ACEOF 14519#define HAVE_GUILE_GH_H 1 14520_ACEOF 14521 14522fi 14523 14524done 14525 14526 14527 14528 14529 14530for ac_header in mswsock.h 14531do : 14532 ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" " 14533#if HAVE_WINSOCK2_H 14534# include <winsock2.h> 14535#endif 14536 14537" 14538if test "x$ac_cv_header_mswsock_h" = xyes; then : 14539 cat >>confdefs.h <<_ACEOF 14540#define HAVE_MSWSOCK_H 1 14541_ACEOF 14542 14543fi 14544 14545done 14546 14547 14548 14549ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 14550if test "x$ac_cv_type_size_t" = xyes; then : 14551 14552else 14553 14554cat >>confdefs.h <<_ACEOF 14555#define size_t unsigned int 14556_ACEOF 14557 14558fi 14559 14560ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 14561if test "x$ac_cv_type_off_t" = xyes; then : 14562 14563else 14564 14565cat >>confdefs.h <<_ACEOF 14566#define off_t long int 14567_ACEOF 14568 14569fi 14570 14571ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 14572if test "x$ac_cv_type_mode_t" = xyes; then : 14573 14574else 14575 14576cat >>confdefs.h <<_ACEOF 14577#define mode_t int 14578_ACEOF 14579 14580fi 14581 14582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 14583$as_echo_n "checking for uid_t in sys/types.h... " >&6; } 14584if ${ac_cv_type_uid_t+:} false; then : 14585 $as_echo_n "(cached) " >&6 14586else 14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14588/* end confdefs.h. */ 14589#include <sys/types.h> 14590 14591_ACEOF 14592if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14593 $EGREP "uid_t" >/dev/null 2>&1; then : 14594 ac_cv_type_uid_t=yes 14595else 14596 ac_cv_type_uid_t=no 14597fi 14598rm -f conftest* 14599 14600fi 14601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 14602$as_echo "$ac_cv_type_uid_t" >&6; } 14603if test $ac_cv_type_uid_t = no; then 14604 14605$as_echo "#define uid_t int" >>confdefs.h 14606 14607 14608$as_echo "#define gid_t int" >>confdefs.h 14609 14610fi 14611 14612 14613ac_fn_c_check_type "$LINENO" "scm_t_bits" "ac_cv_type_scm_t_bits" " 14614#include <libguile.h> 14615 14616" 14617if test "x$ac_cv_type_scm_t_bits" = xyes; then : 14618 smobtag=scm_t_bits 14619fi 14620 14621if test xyes != x"$ac_cv_type_scm_t_bits"; then : 14622 ac_fn_c_check_type "$LINENO" "scm_bits_t" "ac_cv_type_scm_bits_t" " 14623#include <libguile.h> 14624 14625" 14626if test "x$ac_cv_type_scm_bits_t" = xyes; then : 14627 smobtag=scm_bits_t 14628else 14629 smobtag=long 14630fi 14631 14632fi 14633 14634cat >>confdefs.h <<_ACEOF 14635#define svz_smob_tag_t $smobtag 14636_ACEOF 14637 14638{ smobtag=; unset smobtag;} 14639 14640ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/socket.h> 14641" 14642if test "x$ac_cv_type_socklen_t" = xyes; then : 14643 14644else 14645 14646$as_echo "#define socklen_t int" >>confdefs.h 14647 14648fi 14649 14650 14651socket_defined="int" 14652handle_defined="int" 14653 14654if test no != "$MINGDIR"; then : 14655 if test xyes = x"$ac_cv_header_winsock2_h"; then : 14656 14657 socket_defined="SOCKET" 14658 handle_defined="HANDLE" 14659 14660$as_echo "#define Win32_Winsock 1" >>confdefs.h 14661 14662fi 14663fi 14664 14665 14666cat >>confdefs.h <<_ACEOF 14667#define svz_t_socket $socket_defined 14668_ACEOF 14669 14670 14671 14672cat >>confdefs.h <<_ACEOF 14673#define svz_t_handle $handle_defined 14674_ACEOF 14675 14676 14677{ socket_defined=; unset socket_defined;} 14678{ handle_defined=; unset handle_defined;} 14679 14680 14681 14682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 14683$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 14684if ${ac_cv_c_bigendian+:} false; then : 14685 $as_echo_n "(cached) " >&6 14686else 14687 ac_cv_c_bigendian=unknown 14688 # See if we're dealing with a universal compiler. 14689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14690/* end confdefs.h. */ 14691#ifndef __APPLE_CC__ 14692 not a universal capable compiler 14693 #endif 14694 typedef int dummy; 14695 14696_ACEOF 14697if ac_fn_c_try_compile "$LINENO"; then : 14698 14699 # Check for potential -arch flags. It is not universal unless 14700 # there are at least two -arch flags with different values. 14701 ac_arch= 14702 ac_prev= 14703 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 14704 if test -n "$ac_prev"; then 14705 case $ac_word in 14706 i?86 | x86_64 | ppc | ppc64) 14707 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 14708 ac_arch=$ac_word 14709 else 14710 ac_cv_c_bigendian=universal 14711 break 14712 fi 14713 ;; 14714 esac 14715 ac_prev= 14716 elif test "x$ac_word" = "x-arch"; then 14717 ac_prev=arch 14718 fi 14719 done 14720fi 14721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14722 if test $ac_cv_c_bigendian = unknown; then 14723 # See if sys/param.h defines the BYTE_ORDER macro. 14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14725/* end confdefs.h. */ 14726#include <sys/types.h> 14727 #include <sys/param.h> 14728 14729int 14730main () 14731{ 14732#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 14733 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 14734 && LITTLE_ENDIAN) 14735 bogus endian macros 14736 #endif 14737 14738 ; 14739 return 0; 14740} 14741_ACEOF 14742if ac_fn_c_try_compile "$LINENO"; then : 14743 # It does; now see whether it defined to BIG_ENDIAN or not. 14744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14745/* end confdefs.h. */ 14746#include <sys/types.h> 14747 #include <sys/param.h> 14748 14749int 14750main () 14751{ 14752#if BYTE_ORDER != BIG_ENDIAN 14753 not big endian 14754 #endif 14755 14756 ; 14757 return 0; 14758} 14759_ACEOF 14760if ac_fn_c_try_compile "$LINENO"; then : 14761 ac_cv_c_bigendian=yes 14762else 14763 ac_cv_c_bigendian=no 14764fi 14765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14766fi 14767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14768 fi 14769 if test $ac_cv_c_bigendian = unknown; then 14770 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 14771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14772/* end confdefs.h. */ 14773#include <limits.h> 14774 14775int 14776main () 14777{ 14778#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 14779 bogus endian macros 14780 #endif 14781 14782 ; 14783 return 0; 14784} 14785_ACEOF 14786if ac_fn_c_try_compile "$LINENO"; then : 14787 # It does; now see whether it defined to _BIG_ENDIAN or not. 14788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14789/* end confdefs.h. */ 14790#include <limits.h> 14791 14792int 14793main () 14794{ 14795#ifndef _BIG_ENDIAN 14796 not big endian 14797 #endif 14798 14799 ; 14800 return 0; 14801} 14802_ACEOF 14803if ac_fn_c_try_compile "$LINENO"; then : 14804 ac_cv_c_bigendian=yes 14805else 14806 ac_cv_c_bigendian=no 14807fi 14808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14809fi 14810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14811 fi 14812 if test $ac_cv_c_bigendian = unknown; then 14813 # Compile a test program. 14814 if test "$cross_compiling" = yes; then : 14815 # Try to guess by grepping values from an object file. 14816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14817/* end confdefs.h. */ 14818short int ascii_mm[] = 14819 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 14820 short int ascii_ii[] = 14821 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 14822 int use_ascii (int i) { 14823 return ascii_mm[i] + ascii_ii[i]; 14824 } 14825 short int ebcdic_ii[] = 14826 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 14827 short int ebcdic_mm[] = 14828 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 14829 int use_ebcdic (int i) { 14830 return ebcdic_mm[i] + ebcdic_ii[i]; 14831 } 14832 extern int foo; 14833 14834int 14835main () 14836{ 14837return use_ascii (foo) == use_ebcdic (foo); 14838 ; 14839 return 0; 14840} 14841_ACEOF 14842if ac_fn_c_try_compile "$LINENO"; then : 14843 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 14844 ac_cv_c_bigendian=yes 14845 fi 14846 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 14847 if test "$ac_cv_c_bigendian" = unknown; then 14848 ac_cv_c_bigendian=no 14849 else 14850 # finding both strings is unlikely to happen, but who knows? 14851 ac_cv_c_bigendian=unknown 14852 fi 14853 fi 14854fi 14855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14856else 14857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14858/* end confdefs.h. */ 14859$ac_includes_default 14860int 14861main () 14862{ 14863 14864 /* Are we little or big endian? From Harbison&Steele. */ 14865 union 14866 { 14867 long int l; 14868 char c[sizeof (long int)]; 14869 } u; 14870 u.l = 1; 14871 return u.c[sizeof (long int) - 1] == 1; 14872 14873 ; 14874 return 0; 14875} 14876_ACEOF 14877if ac_fn_c_try_run "$LINENO"; then : 14878 ac_cv_c_bigendian=no 14879else 14880 ac_cv_c_bigendian=yes 14881fi 14882rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14883 conftest.$ac_objext conftest.beam conftest.$ac_ext 14884fi 14885 14886 fi 14887fi 14888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 14889$as_echo "$ac_cv_c_bigendian" >&6; } 14890 case $ac_cv_c_bigendian in #( 14891 yes) 14892 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 14893;; #( 14894 no) 14895 ;; #( 14896 universal) 14897 14898$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 14899 14900 ;; #( 14901 *) 14902 as_fn_error $? "unknown endianness 14903 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 14904 esac 14905 14906 14907# The cast to long int works around a bug in the HP C Compiler 14908# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14909# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14910# This bug is HP SR number 8606223364. 14911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 14912$as_echo_n "checking size of long... " >&6; } 14913if ${ac_cv_sizeof_long+:} false; then : 14914 $as_echo_n "(cached) " >&6 14915else 14916 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 14917 14918else 14919 if test "$ac_cv_type_long" = yes; then 14920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14921$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14922as_fn_error 77 "cannot compute sizeof (long) 14923See \`config.log' for more details" "$LINENO" 5; } 14924 else 14925 ac_cv_sizeof_long=0 14926 fi 14927fi 14928 14929fi 14930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 14931$as_echo "$ac_cv_sizeof_long" >&6; } 14932 14933 14934 14935cat >>confdefs.h <<_ACEOF 14936#define SIZEOF_LONG $ac_cv_sizeof_long 14937_ACEOF 14938 14939 14940# The cast to long int works around a bug in the HP C Compiler 14941# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14942# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14943# This bug is HP SR number 8606223364. 14944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 14945$as_echo_n "checking size of void *... " >&6; } 14946if ${ac_cv_sizeof_void_p+:} false; then : 14947 $as_echo_n "(cached) " >&6 14948else 14949 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 14950 14951else 14952 if test "$ac_cv_type_void_p" = yes; then 14953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14954$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14955as_fn_error 77 "cannot compute sizeof (void *) 14956See \`config.log' for more details" "$LINENO" 5; } 14957 else 14958 ac_cv_sizeof_void_p=0 14959 fi 14960fi 14961 14962fi 14963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 14964$as_echo "$ac_cv_sizeof_void_p" >&6; } 14965 14966 14967 14968cat >>confdefs.h <<_ACEOF 14969#define SIZEOF_VOID_P $ac_cv_sizeof_void_p 14970_ACEOF 14971 14972 14973if test $ac_cv_sizeof_long -lt $ac_cv_sizeof_void_p; then : 14974 as_fn_error $? "A 'void *' value does not fit into a 'long' value." "$LINENO" 5 14975fi 14976 14977if test xyes = x"$GCC"; then : 14978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"hidden visibility\" attribute in GCC" >&5 14979$as_echo_n "checking for \"hidden visibility\" attribute in GCC... " >&6; } 14980if ${svz_cv_gcc_hvis+:} false; then : 14981 $as_echo_n "(cached) " >&6 14982else 14983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14984/* end confdefs.h. */ 14985 14986int 14987main () 14988{ 14989__attribute__ ((__visibility__ ("hidden"))) int i; 14990 ; 14991 return 0; 14992} 14993_ACEOF 14994if ac_fn_c_try_compile "$LINENO"; then : 14995 svz_cv_gcc_hvis=yes 14996else 14997 svz_cv_gcc_hvis=no 14998fi 14999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15000fi 15001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svz_cv_gcc_hvis" >&5 15002$as_echo "$svz_cv_gcc_hvis" >&6; } 15003fi 15004if test xyes = x"$svz_cv_gcc_hvis"; then : 15005 15006$as_echo "#define GCC_HAS_ATTRIBUTE_VISIBILITY 1" >>confdefs.h 15007 15008fi 15009 15010SERVEEZ_CFLAGS="" 15011if test xyes = x"$CYGWIN" || test xyes = x"$MINGW32"; then : 15012 if test xyes = x"$enable_shared"; then : 15013 SERVEEZ_CFLAGS="-D__SERVEEZ_IMPORT__" 15014fi 15015fi 15016 15017 15018 15019if test xyes = x"$ac_cv_header_sys_time_h"; then : 15020 ac_fn_c_check_decl "$LINENO" "gettimeofday" "ac_cv_have_decl_gettimeofday" " 15021#include <sys/time.h> 15022 15023" 15024if test "x$ac_cv_have_decl_gettimeofday" = xyes; then : 15025 ac_have_decl=1 15026else 15027 ac_have_decl=0 15028fi 15029 15030cat >>confdefs.h <<_ACEOF 15031#define HAVE_DECL_GETTIMEOFDAY $ac_have_decl 15032_ACEOF 15033 15034fi 15035 15036for ac_func in inet_pton 15037do : 15038 ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton" 15039if test "x$ac_cv_func_inet_pton" = xyes; then : 15040 cat >>confdefs.h <<_ACEOF 15041#define HAVE_INET_PTON 1 15042_ACEOF 15043 15044fi 15045done 15046 15047for ac_func in fwrite_unlocked 15048do : 15049 ac_fn_c_check_func "$LINENO" "fwrite_unlocked" "ac_cv_func_fwrite_unlocked" 15050if test "x$ac_cv_func_fwrite_unlocked" = xyes; then : 15051 cat >>confdefs.h <<_ACEOF 15052#define HAVE_FWRITE_UNLOCKED 1 15053_ACEOF 15054 15055fi 15056done 15057 15058 15059for ac_func in mkfifo mknod sendfile 15060do : 15061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15062ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15063if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15064 cat >>confdefs.h <<_ACEOF 15065#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15066_ACEOF 15067 15068fi 15069done 15070 15071for ac_func in times poll waitpid 15072do : 15073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15074ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15075if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15076 cat >>confdefs.h <<_ACEOF 15077#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15078_ACEOF 15079 15080fi 15081done 15082 15083for ac_func in uname 15084do : 15085 ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname" 15086if test "x$ac_cv_func_uname" = xyes; then : 15087 cat >>confdefs.h <<_ACEOF 15088#define HAVE_UNAME 1 15089_ACEOF 15090 15091fi 15092done 15093 15094 15095for ac_func in getrlimit getdtablesize getpwnam seteuid setegid geteuid \ 15096 getegid shl_load NSAddImage 15097do : 15098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15099ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15100if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15101 cat >>confdefs.h <<_ACEOF 15102#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15103_ACEOF 15104 15105fi 15106done 15107 15108 15109if test xyes = x"$enable_crypt"; then : 15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 15111$as_echo_n "checking for library containing crypt... " >&6; } 15112if ${ac_cv_search_crypt+:} false; then : 15113 $as_echo_n "(cached) " >&6 15114else 15115 ac_func_search_save_LIBS=$LIBS 15116cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15117/* end confdefs.h. */ 15118 15119/* Override any GCC internal prototype to avoid an error. 15120 Use char because int might match the return type of a GCC 15121 builtin and then its argument prototype would still apply. */ 15122#ifdef __cplusplus 15123extern "C" 15124#endif 15125char crypt (); 15126int 15127main () 15128{ 15129return crypt (); 15130 ; 15131 return 0; 15132} 15133_ACEOF 15134for ac_lib in '' descrypt crypt; do 15135 if test -z "$ac_lib"; then 15136 ac_res="none required" 15137 else 15138 ac_res=-l$ac_lib 15139 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 15140 fi 15141 if ac_fn_c_try_link "$LINENO"; then : 15142 ac_cv_search_crypt=$ac_res 15143fi 15144rm -f core conftest.err conftest.$ac_objext \ 15145 conftest$ac_exeext 15146 if ${ac_cv_search_crypt+:} false; then : 15147 break 15148fi 15149done 15150if ${ac_cv_search_crypt+:} false; then : 15151 15152else 15153 ac_cv_search_crypt=no 15154fi 15155rm conftest.$ac_ext 15156LIBS=$ac_func_search_save_LIBS 15157fi 15158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5 15159$as_echo "$ac_cv_search_crypt" >&6; } 15160ac_res=$ac_cv_search_crypt 15161if test "$ac_res" != no; then : 15162 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 15163 15164$as_echo "#define HAVE_CRYPT 1" >>confdefs.h 15165 15166fi 15167 15168fi 15169if test xno = x"$ac_cv_search_crypt"; then : 15170 as_fn_error $? "--enable-crypt specified but crypt(3) not available 15171 (i.e., not in: libc, libdescrypt, libcrypt)" "$LINENO" 5 15172fi 15173 15174for ac_func in host_statistics 15175do : 15176 ac_fn_c_check_func "$LINENO" "host_statistics" "ac_cv_func_host_statistics" 15177if test "x$ac_cv_func_host_statistics" = xyes; then : 15178 cat >>confdefs.h <<_ACEOF 15179#define HAVE_HOST_STATISTICS 1 15180_ACEOF 15181 15182fi 15183done 15184 15185 15186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getopt_long" >&5 15187$as_echo_n "checking for library containing getopt_long... " >&6; } 15188if ${ac_cv_search_getopt_long+:} false; then : 15189 $as_echo_n "(cached) " >&6 15190else 15191 ac_func_search_save_LIBS=$LIBS 15192cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15193/* end confdefs.h. */ 15194 15195/* Override any GCC internal prototype to avoid an error. 15196 Use char because int might match the return type of a GCC 15197 builtin and then its argument prototype would still apply. */ 15198#ifdef __cplusplus 15199extern "C" 15200#endif 15201char getopt_long (); 15202int 15203main () 15204{ 15205return getopt_long (); 15206 ; 15207 return 0; 15208} 15209_ACEOF 15210for ac_lib in '' iberty; do 15211 if test -z "$ac_lib"; then 15212 ac_res="none required" 15213 else 15214 ac_res=-l$ac_lib 15215 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 15216 fi 15217 if ac_fn_c_try_link "$LINENO"; then : 15218 ac_cv_search_getopt_long=$ac_res 15219fi 15220rm -f core conftest.err conftest.$ac_objext \ 15221 conftest$ac_exeext 15222 if ${ac_cv_search_getopt_long+:} false; then : 15223 break 15224fi 15225done 15226if ${ac_cv_search_getopt_long+:} false; then : 15227 15228else 15229 ac_cv_search_getopt_long=no 15230fi 15231rm conftest.$ac_ext 15232LIBS=$ac_func_search_save_LIBS 15233fi 15234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getopt_long" >&5 15235$as_echo "$ac_cv_search_getopt_long" >&6; } 15236ac_res=$ac_cv_search_getopt_long 15237if test "$ac_res" != no; then : 15238 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 15239 15240$as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h 15241 15242fi 15243 15244if test no = "$ac_cv_search_getopt_long"; then : 15245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getopt" >&5 15246$as_echo_n "checking for library containing getopt... " >&6; } 15247if ${ac_cv_search_getopt+:} false; then : 15248 $as_echo_n "(cached) " >&6 15249else 15250 ac_func_search_save_LIBS=$LIBS 15251cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15252/* end confdefs.h. */ 15253 15254/* Override any GCC internal prototype to avoid an error. 15255 Use char because int might match the return type of a GCC 15256 builtin and then its argument prototype would still apply. */ 15257#ifdef __cplusplus 15258extern "C" 15259#endif 15260char getopt (); 15261int 15262main () 15263{ 15264return getopt (); 15265 ; 15266 return 0; 15267} 15268_ACEOF 15269for ac_lib in '' iberty; do 15270 if test -z "$ac_lib"; then 15271 ac_res="none required" 15272 else 15273 ac_res=-l$ac_lib 15274 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 15275 fi 15276 if ac_fn_c_try_link "$LINENO"; then : 15277 ac_cv_search_getopt=$ac_res 15278fi 15279rm -f core conftest.err conftest.$ac_objext \ 15280 conftest$ac_exeext 15281 if ${ac_cv_search_getopt+:} false; then : 15282 break 15283fi 15284done 15285if ${ac_cv_search_getopt+:} false; then : 15286 15287else 15288 ac_cv_search_getopt=no 15289fi 15290rm conftest.$ac_ext 15291LIBS=$ac_func_search_save_LIBS 15292fi 15293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getopt" >&5 15294$as_echo "$ac_cv_search_getopt" >&6; } 15295ac_res=$ac_cv_search_getopt 15296if test "$ac_res" != no; then : 15297 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 15298 15299$as_echo "#define HAVE_GETOPT 1" >>confdefs.h 15300 15301fi 15302 15303fi 15304 15305if test xno != x"$ac_cv_search_getopt_long"; then : 15306 15307 ac_fn_c_check_decl "$LINENO" "getopt_long" "ac_cv_have_decl_getopt_long" "#include <getopt.h> 15308" 15309if test "x$ac_cv_have_decl_getopt_long" = xyes; then : 15310 ac_have_decl=1 15311else 15312 ac_have_decl=0 15313fi 15314 15315cat >>confdefs.h <<_ACEOF 15316#define HAVE_DECL_GETOPT_LONG $ac_have_decl 15317_ACEOF 15318 15319fi 15320 15321ac_fn_c_check_decl "$LINENO" "timezone" "ac_cv_have_decl_timezone" " 15322#include <time.h> 15323 15324" 15325if test "x$ac_cv_have_decl_timezone" = xyes; then : 15326 ac_have_decl=1 15327else 15328 ac_have_decl=0 15329fi 15330 15331cat >>confdefs.h <<_ACEOF 15332#define HAVE_DECL_TIMEZONE $ac_have_decl 15333_ACEOF 15334ac_fn_c_check_decl "$LINENO" "daylight" "ac_cv_have_decl_daylight" " 15335#include <time.h> 15336 15337" 15338if test "x$ac_cv_have_decl_daylight" = xyes; then : 15339 ac_have_decl=1 15340else 15341 ac_have_decl=0 15342fi 15343 15344cat >>confdefs.h <<_ACEOF 15345#define HAVE_DECL_DAYLIGHT $ac_have_decl 15346_ACEOF 15347 15348 15349for ac_func in alphasort scandir strsignal 15350do : 15351 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15352ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15353if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15354 cat >>confdefs.h <<_ACEOF 15355#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15356_ACEOF 15357 15358fi 15359done 15360 15361 15362if test xyes = x"$ac_cv_header_dirent_h"; then : 15363 ac_fn_c_check_decl "$LINENO" "alphasort" "ac_cv_have_decl_alphasort" "#include <dirent.h> 15364" 15365if test "x$ac_cv_have_decl_alphasort" = xyes; then : 15366 ac_have_decl=1 15367else 15368 ac_have_decl=0 15369fi 15370 15371cat >>confdefs.h <<_ACEOF 15372#define HAVE_DECL_ALPHASORT $ac_have_decl 15373_ACEOF 15374 15375fi 15376 15377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 15378$as_echo_n "checking for library containing dlopen... " >&6; } 15379if ${ac_cv_search_dlopen+:} false; then : 15380 $as_echo_n "(cached) " >&6 15381else 15382 ac_func_search_save_LIBS=$LIBS 15383cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15384/* end confdefs.h. */ 15385 15386/* Override any GCC internal prototype to avoid an error. 15387 Use char because int might match the return type of a GCC 15388 builtin and then its argument prototype would still apply. */ 15389#ifdef __cplusplus 15390extern "C" 15391#endif 15392char dlopen (); 15393int 15394main () 15395{ 15396return dlopen (); 15397 ; 15398 return 0; 15399} 15400_ACEOF 15401for ac_lib in '' dl svld; do 15402 if test -z "$ac_lib"; then 15403 ac_res="none required" 15404 else 15405 ac_res=-l$ac_lib 15406 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 15407 fi 15408 if ac_fn_c_try_link "$LINENO"; then : 15409 ac_cv_search_dlopen=$ac_res 15410fi 15411rm -f core conftest.err conftest.$ac_objext \ 15412 conftest$ac_exeext 15413 if ${ac_cv_search_dlopen+:} false; then : 15414 break 15415fi 15416done 15417if ${ac_cv_search_dlopen+:} false; then : 15418 15419else 15420 ac_cv_search_dlopen=no 15421fi 15422rm conftest.$ac_ext 15423LIBS=$ac_func_search_save_LIBS 15424fi 15425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 15426$as_echo "$ac_cv_search_dlopen" >&6; } 15427ac_res=$ac_cv_search_dlopen 15428if test "$ac_res" != no; then : 15429 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 15430 15431$as_echo "#define HAVE_DLOPEN 1" >>confdefs.h 15432 15433fi 15434 15435if test no = "$ac_cv_search_dlopen"; then : 15436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dld_link" >&5 15437$as_echo_n "checking for library containing dld_link... " >&6; } 15438if ${ac_cv_search_dld_link+:} false; then : 15439 $as_echo_n "(cached) " >&6 15440else 15441 ac_func_search_save_LIBS=$LIBS 15442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15443/* end confdefs.h. */ 15444 15445/* Override any GCC internal prototype to avoid an error. 15446 Use char because int might match the return type of a GCC 15447 builtin and then its argument prototype would still apply. */ 15448#ifdef __cplusplus 15449extern "C" 15450#endif 15451char dld_link (); 15452int 15453main () 15454{ 15455return dld_link (); 15456 ; 15457 return 0; 15458} 15459_ACEOF 15460for ac_lib in '' dld; do 15461 if test -z "$ac_lib"; then 15462 ac_res="none required" 15463 else 15464 ac_res=-l$ac_lib 15465 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 15466 fi 15467 if ac_fn_c_try_link "$LINENO"; then : 15468 ac_cv_search_dld_link=$ac_res 15469fi 15470rm -f core conftest.err conftest.$ac_objext \ 15471 conftest$ac_exeext 15472 if ${ac_cv_search_dld_link+:} false; then : 15473 break 15474fi 15475done 15476if ${ac_cv_search_dld_link+:} false; then : 15477 15478else 15479 ac_cv_search_dld_link=no 15480fi 15481rm conftest.$ac_ext 15482LIBS=$ac_func_search_save_LIBS 15483fi 15484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dld_link" >&5 15485$as_echo "$ac_cv_search_dld_link" >&6; } 15486ac_res=$ac_cv_search_dld_link 15487if test "$ac_res" != no; then : 15488 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 15489 15490$as_echo "#define HAVE_DLD_LINK 1" >>confdefs.h 15491 15492fi 15493 15494fi 15495 15496threadsp=false 15497 15498if test xyes != x"$ac_cv_func_fwrite_unlocked"; then : 15499 15500 if test xyes = x"$MINGW32"; then : 15501 threadsp=true 15502fi 15503 # libpthread for POSIX, libc_r for FreeBSD 15504 if ! $threadsp; then : 15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 15506$as_echo_n "checking for library containing pthread_create... " >&6; } 15507if ${ac_cv_search_pthread_create+:} false; then : 15508 $as_echo_n "(cached) " >&6 15509else 15510 ac_func_search_save_LIBS=$LIBS 15511cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15512/* end confdefs.h. */ 15513 15514/* Override any GCC internal prototype to avoid an error. 15515 Use char because int might match the return type of a GCC 15516 builtin and then its argument prototype would still apply. */ 15517#ifdef __cplusplus 15518extern "C" 15519#endif 15520char pthread_create (); 15521int 15522main () 15523{ 15524return pthread_create (); 15525 ; 15526 return 0; 15527} 15528_ACEOF 15529for ac_lib in '' pthread c_r; do 15530 if test -z "$ac_lib"; then 15531 ac_res="none required" 15532 else 15533 ac_res=-l$ac_lib 15534 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 15535 fi 15536 if ac_fn_c_try_link "$LINENO"; then : 15537 ac_cv_search_pthread_create=$ac_res 15538fi 15539rm -f core conftest.err conftest.$ac_objext \ 15540 conftest$ac_exeext 15541 if ${ac_cv_search_pthread_create+:} false; then : 15542 break 15543fi 15544done 15545if ${ac_cv_search_pthread_create+:} false; then : 15546 15547else 15548 ac_cv_search_pthread_create=no 15549fi 15550rm conftest.$ac_ext 15551LIBS=$ac_func_search_save_LIBS 15552fi 15553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 15554$as_echo "$ac_cv_search_pthread_create" >&6; } 15555ac_res=$ac_cv_search_pthread_create 15556if test "$ac_res" != no; then : 15557 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 15558 15559$as_echo "#define HAVE_PTHREAD_CREATE 1" >>confdefs.h 15560 15561fi 15562 15563fi 15564 if test no != "$ac_cv_search_pthread_create"; then : 15565 threadsp=true 15566fi 15567 15568fi 15569if $threadsp; then : 15570 15571$as_echo "#define ENABLE_LOG_MUTEX 1" >>confdefs.h 15572 15573fi 15574{ threadsp=; unset threadsp;} 15575 15576ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" " 15577 #include <string.h> 15578 15579" 15580if test "x$ac_cv_have_decl_strsignal" = xyes; then : 15581 ac_have_decl=1 15582else 15583 ac_have_decl=0 15584fi 15585 15586cat >>confdefs.h <<_ACEOF 15587#define HAVE_DECL_STRSIGNAL $ac_have_decl 15588_ACEOF 15589 15590 15591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing hstrerror" >&5 15592$as_echo_n "checking for library containing hstrerror... " >&6; } 15593if ${ac_cv_search_hstrerror+:} false; then : 15594 $as_echo_n "(cached) " >&6 15595else 15596 ac_func_search_save_LIBS=$LIBS 15597cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15598/* end confdefs.h. */ 15599 15600/* Override any GCC internal prototype to avoid an error. 15601 Use char because int might match the return type of a GCC 15602 builtin and then its argument prototype would still apply. */ 15603#ifdef __cplusplus 15604extern "C" 15605#endif 15606char hstrerror (); 15607int 15608main () 15609{ 15610return hstrerror (); 15611 ; 15612 return 0; 15613} 15614_ACEOF 15615for ac_lib in '' resolv; do 15616 if test -z "$ac_lib"; then 15617 ac_res="none required" 15618 else 15619 ac_res=-l$ac_lib 15620 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 15621 fi 15622 if ac_fn_c_try_link "$LINENO"; then : 15623 ac_cv_search_hstrerror=$ac_res 15624fi 15625rm -f core conftest.err conftest.$ac_objext \ 15626 conftest$ac_exeext 15627 if ${ac_cv_search_hstrerror+:} false; then : 15628 break 15629fi 15630done 15631if ${ac_cv_search_hstrerror+:} false; then : 15632 15633else 15634 ac_cv_search_hstrerror=no 15635fi 15636rm conftest.$ac_ext 15637LIBS=$ac_func_search_save_LIBS 15638fi 15639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5 15640$as_echo "$ac_cv_search_hstrerror" >&6; } 15641ac_res=$ac_cv_search_hstrerror 15642if test "$ac_res" != no; then : 15643 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 15644 15645$as_echo "#define HAVE_HSTRERROR 1" >>confdefs.h 15646 15647fi 15648 15649 15650if test no != "$ac_cv_search_hstrerror"; then : 15651 ac_fn_c_check_decl "$LINENO" "hstrerror" "ac_cv_have_decl_hstrerror" "#include <netdb.h> 15652" 15653if test "x$ac_cv_have_decl_hstrerror" = xyes; then : 15654 ac_have_decl=1 15655else 15656 ac_have_decl=0 15657fi 15658 15659cat >>confdefs.h <<_ACEOF 15660#define HAVE_DECL_HSTRERROR $ac_have_decl 15661_ACEOF 15662ac_fn_c_check_decl "$LINENO" "h_errno" "ac_cv_have_decl_h_errno" "#include <netdb.h> 15663" 15664if test "x$ac_cv_have_decl_h_errno" = xyes; then : 15665 ac_have_decl=1 15666else 15667 ac_have_decl=0 15668fi 15669 15670cat >>confdefs.h <<_ACEOF 15671#define HAVE_DECL_H_ERRNO $ac_have_decl 15672_ACEOF 15673 15674fi 15675 15676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getrpcent" >&5 15677$as_echo_n "checking for library containing getrpcent... " >&6; } 15678if ${ac_cv_search_getrpcent+:} false; then : 15679 $as_echo_n "(cached) " >&6 15680else 15681 ac_func_search_save_LIBS=$LIBS 15682cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15683/* end confdefs.h. */ 15684 15685/* Override any GCC internal prototype to avoid an error. 15686 Use char because int might match the return type of a GCC 15687 builtin and then its argument prototype would still apply. */ 15688#ifdef __cplusplus 15689extern "C" 15690#endif 15691char getrpcent (); 15692int 15693main () 15694{ 15695return getrpcent (); 15696 ; 15697 return 0; 15698} 15699_ACEOF 15700for ac_lib in '' nsl; do 15701 if test -z "$ac_lib"; then 15702 ac_res="none required" 15703 else 15704 ac_res=-l$ac_lib 15705 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 15706 fi 15707 if ac_fn_c_try_link "$LINENO"; then : 15708 ac_cv_search_getrpcent=$ac_res 15709fi 15710rm -f core conftest.err conftest.$ac_objext \ 15711 conftest$ac_exeext 15712 if ${ac_cv_search_getrpcent+:} false; then : 15713 break 15714fi 15715done 15716if ${ac_cv_search_getrpcent+:} false; then : 15717 15718else 15719 ac_cv_search_getrpcent=no 15720fi 15721rm conftest.$ac_ext 15722LIBS=$ac_func_search_save_LIBS 15723fi 15724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getrpcent" >&5 15725$as_echo "$ac_cv_search_getrpcent" >&6; } 15726ac_res=$ac_cv_search_getrpcent 15727if test "$ac_res" != no; then : 15728 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 15729 15730$as_echo "#define HAVE_GETRPCENT 1" >>confdefs.h 15731 15732fi 15733for ac_func in getrpcbyname getrpcbynumber setrpcent endrpcent \ 15734 pmap_set pmap_unset pmap_getmaps get_myaddress 15735do : 15736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15737ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15738if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15739 cat >>confdefs.h <<_ACEOF 15740#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15741_ACEOF 15742 15743fi 15744done 15745 15746 15747ac_fn_c_check_decl "$LINENO" "setrpcent" "ac_cv_have_decl_setrpcent" " 15748 #ifdef HAVE_NETDB_H 15749 # include <netdb.h> 15750 #endif 15751 #ifdef HAVE_RPC_RPCENT_H 15752 # include <rpc/rpcent.h> 15753 #endif 15754 15755" 15756if test "x$ac_cv_have_decl_setrpcent" = xyes; then : 15757 ac_have_decl=1 15758else 15759 ac_have_decl=0 15760fi 15761 15762cat >>confdefs.h <<_ACEOF 15763#define HAVE_DECL_SETRPCENT $ac_have_decl 15764_ACEOF 15765ac_fn_c_check_decl "$LINENO" "endrpcent" "ac_cv_have_decl_endrpcent" " 15766 #ifdef HAVE_NETDB_H 15767 # include <netdb.h> 15768 #endif 15769 #ifdef HAVE_RPC_RPCENT_H 15770 # include <rpc/rpcent.h> 15771 #endif 15772 15773" 15774if test "x$ac_cv_have_decl_endrpcent" = xyes; then : 15775 ac_have_decl=1 15776else 15777 ac_have_decl=0 15778fi 15779 15780cat >>confdefs.h <<_ACEOF 15781#define HAVE_DECL_ENDRPCENT $ac_have_decl 15782_ACEOF 15783 15784 15785 15786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether /proc/stat exists" >&5 15787$as_echo_n "checking whether /proc/stat exists... " >&6; } 15788if ${svz_cv_sys_proc_stat+:} false; then : 15789 $as_echo_n "(cached) " >&6 15790else 15791 if grep 'cpu ' /proc/stat >/dev/null 2>&1; then : 15792 svz_cv_sys_proc_stat=yes 15793else 15794 svz_cv_sys_proc_stat=no 15795fi 15796fi 15797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svz_cv_sys_proc_stat" >&5 15798$as_echo "$svz_cv_sys_proc_stat" >&6; } 15799 15800if test xyes = x"$svz_cv_sys_proc_stat"; then : 15801 case $host_os in #( 15802 linux*) : 15803 15804$as_echo "#define HAVE_PROC_STAT 1" >>confdefs.h 15805 ;; #( 15806 *) : 15807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabled '/proc/stat' since '$host_os' is not 'linux'" >&5 15808$as_echo "$as_me: WARNING: disabled '/proc/stat' since '$host_os' is not 'linux'" >&2;} ;; 15809esac 15810fi 15811 15812 15813 15814cat >>confdefs.h <<_ACEOF 15815#define SIZEOF_UINT16 2 15816_ACEOF 15817 15818 15819cat >>confdefs.h <<_ACEOF 15820#define SIZEOF_UINT32 4 15821_ACEOF 15822 15823 15824 15825 if test xyes = x"$ac_cv_header_bzlib_h" && 15826 test xyes = x"$ac_cv_lib_bz2_BZ2_bzCompress" || 15827 test xyes = x"$ac_cv_lib_bz2_bzCompress"; then 15828 WITH_BZLIB_TRUE= 15829 WITH_BZLIB_FALSE='#' 15830else 15831 WITH_BZLIB_TRUE='#' 15832 WITH_BZLIB_FALSE= 15833fi 15834 15835 15836 if test xyes = x"$ac_cv_header_zlib_h" && 15837 test xyes = x"$ac_cv_lib_z_zlibVersion"; then 15838 WITH_ZLIB_TRUE= 15839 WITH_ZLIB_FALSE='#' 15840else 15841 WITH_ZLIB_TRUE='#' 15842 WITH_ZLIB_FALSE= 15843fi 15844 15845 15846SERVEEZ_CONFIG_CFLAGS="-I$prefix/include" 15847if test x != "x$SERVEEZ_CFLAGS"; then : 15848 SERVEEZ_CONFIG_CFLAGS="$SERVEEZ_CONFIG_CFLAGS $SERVEEZ_CFLAGS" 15849fi 15850if test xyes = x"$enable_shared"; then : 15851 SERVEEZ_CONFIG_LDFLAGS="-L$prefix/lib -lserveez" 15852else 15853 SERVEEZ_CONFIG_LDFLAGS="$prefix/lib/libserveez.a" 15854fi 15855 15856 15857 15858ac_config_files="$ac_config_files build-aux/fake-soelim" 15859 15860ac_config_files="$ac_config_files Makefile src/Makefile src/libserveez/Makefile src/libserveez/coserver/Makefile src/libserveez/codec/Makefile src/serveez-config src/ctrl-server/Makefile src/http-server/Makefile src/irc-core/Makefile src/irc-server/Makefile src/foo-server/Makefile src/sntp-server/Makefile src/nut-server/Makefile src/tunnel-server/Makefile src/fakeident-server/Makefile src/prog-server/Makefile src/guile-server/Makefile doc/Makefile test/Makefile" 15861 15862 15863cat >confcache <<\_ACEOF 15864# This file is a shell script that caches the results of configure 15865# tests run on this system so they can be shared between configure 15866# scripts and configure runs, see configure's option --config-cache. 15867# It is not useful on other systems. If it contains results you don't 15868# want to keep, you may remove or edit it. 15869# 15870# config.status only pays attention to the cache file if you give it 15871# the --recheck option to rerun configure. 15872# 15873# `ac_cv_env_foo' variables (set or unset) will be overridden when 15874# loading this file, other *unset* `ac_cv_foo' will be assigned the 15875# following values. 15876 15877_ACEOF 15878 15879# The following way of writing the cache mishandles newlines in values, 15880# but we know of no workaround that is simple, portable, and efficient. 15881# So, we kill variables containing newlines. 15882# Ultrix sh set writes to stderr and can't be redirected directly, 15883# and sets the high bit in the cache file unless we assign to the vars. 15884( 15885 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 15886 eval ac_val=\$$ac_var 15887 case $ac_val in #( 15888 *${as_nl}*) 15889 case $ac_var in #( 15890 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 15891$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 15892 esac 15893 case $ac_var in #( 15894 _ | IFS | as_nl) ;; #( 15895 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 15896 *) { eval $ac_var=; unset $ac_var;} ;; 15897 esac ;; 15898 esac 15899 done 15900 15901 (set) 2>&1 | 15902 case $as_nl`(ac_space=' '; set) 2>&1` in #( 15903 *${as_nl}ac_space=\ *) 15904 # `set' does not quote correctly, so add quotes: double-quote 15905 # substitution turns \\\\ into \\, and sed turns \\ into \. 15906 sed -n \ 15907 "s/'/'\\\\''/g; 15908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 15909 ;; #( 15910 *) 15911 # `set' quotes correctly as required by POSIX, so do not add quotes. 15912 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 15913 ;; 15914 esac | 15915 sort 15916) | 15917 sed ' 15918 /^ac_cv_env_/b end 15919 t clear 15920 :clear 15921 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 15922 t end 15923 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 15924 :end' >>confcache 15925if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15926 if test -w "$cache_file"; then 15927 if test "x$cache_file" != "x/dev/null"; then 15928 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 15929$as_echo "$as_me: updating cache $cache_file" >&6;} 15930 if test ! -f "$cache_file" || test -h "$cache_file"; then 15931 cat confcache >"$cache_file" 15932 else 15933 case $cache_file in #( 15934 */* | ?:*) 15935 mv -f confcache "$cache_file"$$ && 15936 mv -f "$cache_file"$$ "$cache_file" ;; #( 15937 *) 15938 mv -f confcache "$cache_file" ;; 15939 esac 15940 fi 15941 fi 15942 else 15943 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15944$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15945 fi 15946fi 15947rm -f confcache 15948 15949test "x$prefix" = xNONE && prefix=$ac_default_prefix 15950# Let make expand exec_prefix. 15951test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 15952 15953DEFS=-DHAVE_CONFIG_H 15954 15955ac_libobjs= 15956ac_ltlibobjs= 15957U= 15958for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15959 # 1. Remove the extension, and $U if already installed. 15960 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15961 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15962 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15963 # will be set to the directory where LIBOBJS objects are built. 15964 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 15965 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15966done 15967LIBOBJS=$ac_libobjs 15968 15969LTLIBOBJS=$ac_ltlibobjs 15970 15971 15972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 15973$as_echo_n "checking that generated files are newer than configure... " >&6; } 15974 if test -n "$am_sleep_pid"; then 15975 # Hide warnings about reused PIDs. 15976 wait $am_sleep_pid 2>/dev/null 15977 fi 15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 15979$as_echo "done" >&6; } 15980 if test -n "$EXEEXT"; then 15981 am__EXEEXT_TRUE= 15982 am__EXEEXT_FALSE='#' 15983else 15984 am__EXEEXT_TRUE='#' 15985 am__EXEEXT_FALSE= 15986fi 15987 15988if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 15989 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 15990Usually this means the macro was only invoked conditionally." "$LINENO" 5 15991fi 15992if test -z "${SNTP_TRUE}" && test -z "${SNTP_FALSE}"; then 15993 as_fn_error $? "conditional \"SNTP\" was never defined. 15994Usually this means the macro was only invoked conditionally." "$LINENO" 5 15995fi 15996if test -z "${GNUTELLA_TRUE}" && test -z "${GNUTELLA_FALSE}"; then 15997 as_fn_error $? "conditional \"GNUTELLA\" was never defined. 15998Usually this means the macro was only invoked conditionally." "$LINENO" 5 15999fi 16000if test -z "${TUNNEL_TRUE}" && test -z "${TUNNEL_FALSE}"; then 16001 as_fn_error $? "conditional \"TUNNEL\" was never defined. 16002Usually this means the macro was only invoked conditionally." "$LINENO" 5 16003fi 16004if test -z "${CONTROL_TRUE}" && test -z "${CONTROL_FALSE}"; then 16005 as_fn_error $? "conditional \"CONTROL\" was never defined. 16006Usually this means the macro was only invoked conditionally." "$LINENO" 5 16007fi 16008if test -z "${IRC_TRUE}" && test -z "${IRC_FALSE}"; then 16009 as_fn_error $? "conditional \"IRC\" was never defined. 16010Usually this means the macro was only invoked conditionally." "$LINENO" 5 16011fi 16012if test -z "${HTTP_TRUE}" && test -z "${HTTP_FALSE}"; then 16013 as_fn_error $? "conditional \"HTTP\" was never defined. 16014Usually this means the macro was only invoked conditionally." "$LINENO" 5 16015fi 16016if test -z "${FAKEIDENT_TRUE}" && test -z "${FAKEIDENT_FALSE}"; then 16017 as_fn_error $? "conditional \"FAKEIDENT\" was never defined. 16018Usually this means the macro was only invoked conditionally." "$LINENO" 5 16019fi 16020if test -z "${PROG_TRUE}" && test -z "${PROG_FALSE}"; then 16021 as_fn_error $? "conditional \"PROG\" was never defined. 16022Usually this means the macro was only invoked conditionally." "$LINENO" 5 16023fi 16024if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then 16025 as_fn_error $? "conditional \"MINGW32\" was never defined. 16026Usually this means the macro was only invoked conditionally." "$LINENO" 5 16027fi 16028if test -z "${COURAGEOUS_TRUE}" && test -z "${COURAGEOUS_FALSE}"; then 16029 as_fn_error $? "conditional \"COURAGEOUS\" was never defined. 16030Usually this means the macro was only invoked conditionally." "$LINENO" 5 16031fi 16032if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16033 as_fn_error $? "conditional \"AMDEP\" was never defined. 16034Usually this means the macro was only invoked conditionally." "$LINENO" 5 16035fi 16036if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16037 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16038Usually this means the macro was only invoked conditionally." "$LINENO" 5 16039fi 16040 16041if test -z "${WITH_BZLIB_TRUE}" && test -z "${WITH_BZLIB_FALSE}"; then 16042 as_fn_error $? "conditional \"WITH_BZLIB\" was never defined. 16043Usually this means the macro was only invoked conditionally." "$LINENO" 5 16044fi 16045if test -z "${WITH_ZLIB_TRUE}" && test -z "${WITH_ZLIB_FALSE}"; then 16046 as_fn_error $? "conditional \"WITH_ZLIB\" was never defined. 16047Usually this means the macro was only invoked conditionally." "$LINENO" 5 16048fi 16049 16050: "${CONFIG_STATUS=./config.status}" 16051ac_write_fail=0 16052ac_clean_files_save=$ac_clean_files 16053ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16054{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16055$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16056as_write_fail=0 16057cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16058#! $SHELL 16059# Generated by $as_me. 16060# Run this file to recreate the current configuration. 16061# Compiler output produced by configure, useful for debugging 16062# configure, is in config.log if it exists. 16063 16064debug=false 16065ac_cs_recheck=false 16066ac_cs_silent=false 16067 16068SHELL=\${CONFIG_SHELL-$SHELL} 16069export SHELL 16070_ASEOF 16071cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 16072## -------------------- ## 16073## M4sh Initialization. ## 16074## -------------------- ## 16075 16076# Be more Bourne compatible 16077DUALCASE=1; export DUALCASE # for MKS sh 16078if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16079 emulate sh 16080 NULLCMD=: 16081 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16082 # is contrary to our usage. Disable this feature. 16083 alias -g '${1+"$@"}'='"$@"' 16084 setopt NO_GLOB_SUBST 16085else 16086 case `(set -o) 2>/dev/null` in #( 16087 *posix*) : 16088 set -o posix ;; #( 16089 *) : 16090 ;; 16091esac 16092fi 16093 16094 16095as_nl=' 16096' 16097export as_nl 16098# Printing a long string crashes Solaris 7 /usr/bin/printf. 16099as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 16100as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 16101as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 16102# Prefer a ksh shell builtin over an external printf program on Solaris, 16103# but without wasting forks for bash or zsh. 16104if test -z "$BASH_VERSION$ZSH_VERSION" \ 16105 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 16106 as_echo='print -r --' 16107 as_echo_n='print -rn --' 16108elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16109 as_echo='printf %s\n' 16110 as_echo_n='printf %s' 16111else 16112 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 16113 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 16114 as_echo_n='/usr/ucb/echo -n' 16115 else 16116 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 16117 as_echo_n_body='eval 16118 arg=$1; 16119 case $arg in #( 16120 *"$as_nl"*) 16121 expr "X$arg" : "X\\(.*\\)$as_nl"; 16122 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 16123 esac; 16124 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 16125 ' 16126 export as_echo_n_body 16127 as_echo_n='sh -c $as_echo_n_body as_echo' 16128 fi 16129 export as_echo_body 16130 as_echo='sh -c $as_echo_body as_echo' 16131fi 16132 16133# The user is always right. 16134if test "${PATH_SEPARATOR+set}" != set; then 16135 PATH_SEPARATOR=: 16136 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 16137 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 16138 PATH_SEPARATOR=';' 16139 } 16140fi 16141 16142 16143# IFS 16144# We need space, tab and new line, in precisely that order. Quoting is 16145# there to prevent editors from complaining about space-tab. 16146# (If _AS_PATH_WALK were called with IFS unset, it would disable word 16147# splitting by setting IFS to empty value.) 16148IFS=" "" $as_nl" 16149 16150# Find who we are. Look in the path if we contain no directory separator. 16151as_myself= 16152case $0 in #(( 16153 *[\\/]* ) as_myself=$0 ;; 16154 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16155for as_dir in $PATH 16156do 16157 IFS=$as_save_IFS 16158 test -z "$as_dir" && as_dir=. 16159 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16160 done 16161IFS=$as_save_IFS 16162 16163 ;; 16164esac 16165# We did not find ourselves, most probably we were run as `sh COMMAND' 16166# in which case we are not to be found in the path. 16167if test "x$as_myself" = x; then 16168 as_myself=$0 16169fi 16170if test ! -f "$as_myself"; then 16171 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16172 exit 1 16173fi 16174 16175# Unset variables that we do not need and which cause bugs (e.g. in 16176# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 16177# suppresses any "Segmentation fault" message there. '((' could 16178# trigger a bug in pdksh 5.2.14. 16179for as_var in BASH_ENV ENV MAIL MAILPATH 16180do eval test x\${$as_var+set} = xset \ 16181 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16182done 16183PS1='$ ' 16184PS2='> ' 16185PS4='+ ' 16186 16187# NLS nuisances. 16188LC_ALL=C 16189export LC_ALL 16190LANGUAGE=C 16191export LANGUAGE 16192 16193# CDPATH. 16194(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16195 16196 16197# as_fn_error STATUS ERROR [LINENO LOG_FD] 16198# ---------------------------------------- 16199# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 16200# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 16201# script with STATUS, using 1 if that was 0. 16202as_fn_error () 16203{ 16204 as_status=$1; test $as_status -eq 0 && as_status=1 16205 if test "$4"; then 16206 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16207 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16208 fi 16209 $as_echo "$as_me: error: $2" >&2 16210 as_fn_exit $as_status 16211} # as_fn_error 16212 16213 16214# as_fn_set_status STATUS 16215# ----------------------- 16216# Set $? to STATUS, without forking. 16217as_fn_set_status () 16218{ 16219 return $1 16220} # as_fn_set_status 16221 16222# as_fn_exit STATUS 16223# ----------------- 16224# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 16225as_fn_exit () 16226{ 16227 set +e 16228 as_fn_set_status $1 16229 exit $1 16230} # as_fn_exit 16231 16232# as_fn_unset VAR 16233# --------------- 16234# Portably unset VAR. 16235as_fn_unset () 16236{ 16237 { eval $1=; unset $1;} 16238} 16239as_unset=as_fn_unset 16240# as_fn_append VAR VALUE 16241# ---------------------- 16242# Append the text in VALUE to the end of the definition contained in VAR. Take 16243# advantage of any shell optimizations that allow amortized linear growth over 16244# repeated appends, instead of the typical quadratic growth present in naive 16245# implementations. 16246if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 16247 eval 'as_fn_append () 16248 { 16249 eval $1+=\$2 16250 }' 16251else 16252 as_fn_append () 16253 { 16254 eval $1=\$$1\$2 16255 } 16256fi # as_fn_append 16257 16258# as_fn_arith ARG... 16259# ------------------ 16260# Perform arithmetic evaluation on the ARGs, and store the result in the 16261# global $as_val. Take advantage of shells that can avoid forks. The arguments 16262# must be portable across $(()) and expr. 16263if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 16264 eval 'as_fn_arith () 16265 { 16266 as_val=$(( $* )) 16267 }' 16268else 16269 as_fn_arith () 16270 { 16271 as_val=`expr "$@" || test $? -eq 1` 16272 } 16273fi # as_fn_arith 16274 16275 16276if expr a : '\(a\)' >/dev/null 2>&1 && 16277 test "X`expr 00001 : '.*\(...\)'`" = X001; then 16278 as_expr=expr 16279else 16280 as_expr=false 16281fi 16282 16283if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 16284 as_basename=basename 16285else 16286 as_basename=false 16287fi 16288 16289if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16290 as_dirname=dirname 16291else 16292 as_dirname=false 16293fi 16294 16295as_me=`$as_basename -- "$0" || 16296$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16297 X"$0" : 'X\(//\)$' \| \ 16298 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16299$as_echo X/"$0" | 16300 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16301 s//\1/ 16302 q 16303 } 16304 /^X\/\(\/\/\)$/{ 16305 s//\1/ 16306 q 16307 } 16308 /^X\/\(\/\).*/{ 16309 s//\1/ 16310 q 16311 } 16312 s/.*/./; q'` 16313 16314# Avoid depending upon Character Ranges. 16315as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16316as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16317as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16318as_cr_digits='0123456789' 16319as_cr_alnum=$as_cr_Letters$as_cr_digits 16320 16321ECHO_C= ECHO_N= ECHO_T= 16322case `echo -n x` in #((((( 16323-n*) 16324 case `echo 'xy\c'` in 16325 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16326 xy) ECHO_C='\c';; 16327 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 16328 ECHO_T=' ';; 16329 esac;; 16330*) 16331 ECHO_N='-n';; 16332esac 16333 16334rm -f conf$$ conf$$.exe conf$$.file 16335if test -d conf$$.dir; then 16336 rm -f conf$$.dir/conf$$.file 16337else 16338 rm -f conf$$.dir 16339 mkdir conf$$.dir 2>/dev/null 16340fi 16341if (echo >conf$$.file) 2>/dev/null; then 16342 if ln -s conf$$.file conf$$ 2>/dev/null; then 16343 as_ln_s='ln -s' 16344 # ... but there are two gotchas: 16345 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16346 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16347 # In both cases, we have to default to `cp -pR'. 16348 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 16349 as_ln_s='cp -pR' 16350 elif ln conf$$.file conf$$ 2>/dev/null; then 16351 as_ln_s=ln 16352 else 16353 as_ln_s='cp -pR' 16354 fi 16355else 16356 as_ln_s='cp -pR' 16357fi 16358rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 16359rmdir conf$$.dir 2>/dev/null 16360 16361 16362# as_fn_mkdir_p 16363# ------------- 16364# Create "$as_dir" as a directory, including parents if necessary. 16365as_fn_mkdir_p () 16366{ 16367 16368 case $as_dir in #( 16369 -*) as_dir=./$as_dir;; 16370 esac 16371 test -d "$as_dir" || eval $as_mkdir_p || { 16372 as_dirs= 16373 while :; do 16374 case $as_dir in #( 16375 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16376 *) as_qdir=$as_dir;; 16377 esac 16378 as_dirs="'$as_qdir' $as_dirs" 16379 as_dir=`$as_dirname -- "$as_dir" || 16380$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16381 X"$as_dir" : 'X\(//\)[^/]' \| \ 16382 X"$as_dir" : 'X\(//\)$' \| \ 16383 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16384$as_echo X"$as_dir" | 16385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16386 s//\1/ 16387 q 16388 } 16389 /^X\(\/\/\)[^/].*/{ 16390 s//\1/ 16391 q 16392 } 16393 /^X\(\/\/\)$/{ 16394 s//\1/ 16395 q 16396 } 16397 /^X\(\/\).*/{ 16398 s//\1/ 16399 q 16400 } 16401 s/.*/./; q'` 16402 test -d "$as_dir" && break 16403 done 16404 test -z "$as_dirs" || eval "mkdir $as_dirs" 16405 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 16406 16407 16408} # as_fn_mkdir_p 16409if mkdir -p . 2>/dev/null; then 16410 as_mkdir_p='mkdir -p "$as_dir"' 16411else 16412 test -d ./-p && rmdir ./-p 16413 as_mkdir_p=false 16414fi 16415 16416 16417# as_fn_executable_p FILE 16418# ----------------------- 16419# Test if FILE is an executable regular file. 16420as_fn_executable_p () 16421{ 16422 test -f "$1" && test -x "$1" 16423} # as_fn_executable_p 16424as_test_x='test -x' 16425as_executable_p=as_fn_executable_p 16426 16427# Sed expression to map a string onto a valid CPP name. 16428as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 16429 16430# Sed expression to map a string onto a valid variable name. 16431as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 16432 16433 16434exec 6>&1 16435## ----------------------------------- ## 16436## Main body of $CONFIG_STATUS script. ## 16437## ----------------------------------- ## 16438_ASEOF 16439test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 16440 16441cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16442# Save the log message, to keep $0 and so on meaningful, and to 16443# report actual input values of CONFIG_FILES etc. instead of their 16444# values after options handling. 16445ac_log=" 16446This file was extended by GNU Serveez $as_me 0.2.2, which was 16447generated by GNU Autoconf 2.69. Invocation command line was 16448 16449 CONFIG_FILES = $CONFIG_FILES 16450 CONFIG_HEADERS = $CONFIG_HEADERS 16451 CONFIG_LINKS = $CONFIG_LINKS 16452 CONFIG_COMMANDS = $CONFIG_COMMANDS 16453 $ $0 $@ 16454 16455on `(hostname || uname -n) 2>/dev/null | sed 1q` 16456" 16457 16458_ACEOF 16459 16460case $ac_config_files in *" 16461"*) set x $ac_config_files; shift; ac_config_files=$*;; 16462esac 16463 16464case $ac_config_headers in *" 16465"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 16466esac 16467 16468 16469cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16470# Files that config.status was made for. 16471config_files="$ac_config_files" 16472config_headers="$ac_config_headers" 16473config_commands="$ac_config_commands" 16474 16475_ACEOF 16476 16477cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16478ac_cs_usage="\ 16479\`$as_me' instantiates files and other configuration actions 16480from templates according to the current configuration. Unless the files 16481and actions are specified as TAGs, all are instantiated by default. 16482 16483Usage: $0 [OPTION]... [TAG]... 16484 16485 -h, --help print this help, then exit 16486 -V, --version print version number and configuration settings, then exit 16487 --config print configuration, then exit 16488 -q, --quiet, --silent 16489 do not print progress messages 16490 -d, --debug don't remove temporary files 16491 --recheck update $as_me by reconfiguring in the same conditions 16492 --file=FILE[:TEMPLATE] 16493 instantiate the configuration file FILE 16494 --header=FILE[:TEMPLATE] 16495 instantiate the configuration header FILE 16496 16497Configuration files: 16498$config_files 16499 16500Configuration headers: 16501$config_headers 16502 16503Configuration commands: 16504$config_commands 16505 16506Report bugs to <bug-serveez@gnu.org>. 16507GNU Serveez home page: <http://www.gnu.org/software/serveez/>. 16508General help using GNU software: <http://www.gnu.org/gethelp/>." 16509 16510_ACEOF 16511cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16512ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 16513ac_cs_version="\\ 16514GNU Serveez config.status 0.2.2 16515configured by $0, generated by GNU Autoconf 2.69, 16516 with options \\"\$ac_cs_config\\" 16517 16518Copyright (C) 2012 Free Software Foundation, Inc. 16519This config.status script is free software; the Free Software Foundation 16520gives unlimited permission to copy, distribute and modify it." 16521 16522ac_pwd='$ac_pwd' 16523srcdir='$srcdir' 16524INSTALL='$INSTALL' 16525MKDIR_P='$MKDIR_P' 16526AWK='$AWK' 16527test -n "\$AWK" || AWK=awk 16528_ACEOF 16529 16530cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16531# The default lists apply if the user does not specify any file. 16532ac_need_defaults=: 16533while test $# != 0 16534do 16535 case $1 in 16536 --*=?*) 16537 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16538 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 16539 ac_shift=: 16540 ;; 16541 --*=) 16542 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16543 ac_optarg= 16544 ac_shift=: 16545 ;; 16546 *) 16547 ac_option=$1 16548 ac_optarg=$2 16549 ac_shift=shift 16550 ;; 16551 esac 16552 16553 case $ac_option in 16554 # Handling of the options. 16555 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 16556 ac_cs_recheck=: ;; 16557 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 16558 $as_echo "$ac_cs_version"; exit ;; 16559 --config | --confi | --conf | --con | --co | --c ) 16560 $as_echo "$ac_cs_config"; exit ;; 16561 --debug | --debu | --deb | --de | --d | -d ) 16562 debug=: ;; 16563 --file | --fil | --fi | --f ) 16564 $ac_shift 16565 case $ac_optarg in 16566 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16567 '') as_fn_error $? "missing file argument" ;; 16568 esac 16569 as_fn_append CONFIG_FILES " '$ac_optarg'" 16570 ac_need_defaults=false;; 16571 --header | --heade | --head | --hea ) 16572 $ac_shift 16573 case $ac_optarg in 16574 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16575 esac 16576 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 16577 ac_need_defaults=false;; 16578 --he | --h) 16579 # Conflict between --help and --header 16580 as_fn_error $? "ambiguous option: \`$1' 16581Try \`$0 --help' for more information.";; 16582 --help | --hel | -h ) 16583 $as_echo "$ac_cs_usage"; exit ;; 16584 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16585 | -silent | --silent | --silen | --sile | --sil | --si | --s) 16586 ac_cs_silent=: ;; 16587 16588 # This is an error. 16589 -*) as_fn_error $? "unrecognized option: \`$1' 16590Try \`$0 --help' for more information." ;; 16591 16592 *) as_fn_append ac_config_targets " $1" 16593 ac_need_defaults=false ;; 16594 16595 esac 16596 shift 16597done 16598 16599ac_configure_extra_args= 16600 16601if $ac_cs_silent; then 16602 exec 6>/dev/null 16603 ac_configure_extra_args="$ac_configure_extra_args --silent" 16604fi 16605 16606_ACEOF 16607cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16608if \$ac_cs_recheck; then 16609 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 16610 shift 16611 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 16612 CONFIG_SHELL='$SHELL' 16613 export CONFIG_SHELL 16614 exec "\$@" 16615fi 16616 16617_ACEOF 16618cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16619exec 5>>config.log 16620{ 16621 echo 16622 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 16623## Running $as_me. ## 16624_ASBOX 16625 $as_echo "$ac_log" 16626} >&5 16627 16628_ACEOF 16629cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16630# 16631# INIT-COMMANDS 16632# 16633AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 16634 16635 16636# The HP-UX ksh and POSIX shell print the target directory to stdout 16637# if CDPATH is set. 16638(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16639 16640sed_quote_subst='$sed_quote_subst' 16641double_quote_subst='$double_quote_subst' 16642delay_variable_subst='$delay_variable_subst' 16643macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 16644macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 16645AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 16646DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 16647OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 16648enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 16649enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 16650pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 16651enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 16652SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 16653ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 16654PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 16655host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 16656host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 16657host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 16658build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 16659build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 16660build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 16661SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 16662Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 16663GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 16664EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 16665FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 16666LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 16667NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 16668LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 16669max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 16670ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 16671exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 16672lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 16673lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 16674lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 16675lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 16676lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 16677reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 16678reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 16679deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 16680file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 16681file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 16682want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 16683sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 16684AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 16685AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 16686archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 16687STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 16688RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 16689old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16690old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16691old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 16692lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 16693CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 16694CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 16695compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 16696GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 16697lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 16698lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 16699lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 16700lt_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"`' 16701nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 16702lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 16703objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 16704MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 16705lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 16706lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 16707lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 16708lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 16709lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 16710need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 16711MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 16712DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 16713NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 16714LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 16715OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 16716OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 16717libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 16718shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 16719extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16720archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 16721enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 16722export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 16723whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 16724compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 16725old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 16726old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16727archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 16728archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16729module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 16730module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16731with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 16732allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 16733no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 16734hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 16735hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 16736hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 16737hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 16738hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 16739hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 16740hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 16741inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 16742link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 16743always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 16744export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 16745exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 16746include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 16747prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 16748postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 16749file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 16750variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 16751need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 16752need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 16753version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 16754runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 16755shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 16756shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 16757libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 16758library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 16759soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 16760install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 16761postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16762postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16763finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 16764finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 16765hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 16766sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 16767sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 16768hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 16769enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 16770enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 16771enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 16772old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 16773striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 16774 16775LTCC='$LTCC' 16776LTCFLAGS='$LTCFLAGS' 16777compiler='$compiler_DEFAULT' 16778 16779# A function that is used when there is no print builtin or printf. 16780func_fallback_echo () 16781{ 16782 eval 'cat <<_LTECHO_EOF 16783\$1 16784_LTECHO_EOF' 16785} 16786 16787# Quote evaled strings. 16788for var in AS \ 16789DLLTOOL \ 16790OBJDUMP \ 16791SHELL \ 16792ECHO \ 16793PATH_SEPARATOR \ 16794SED \ 16795GREP \ 16796EGREP \ 16797FGREP \ 16798LD \ 16799NM \ 16800LN_S \ 16801lt_SP2NL \ 16802lt_NL2SP \ 16803reload_flag \ 16804deplibs_check_method \ 16805file_magic_cmd \ 16806file_magic_glob \ 16807want_nocaseglob \ 16808sharedlib_from_linklib_cmd \ 16809AR \ 16810AR_FLAGS \ 16811archiver_list_spec \ 16812STRIP \ 16813RANLIB \ 16814CC \ 16815CFLAGS \ 16816compiler \ 16817lt_cv_sys_global_symbol_pipe \ 16818lt_cv_sys_global_symbol_to_cdecl \ 16819lt_cv_sys_global_symbol_to_c_name_address \ 16820lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 16821nm_file_list_spec \ 16822lt_prog_compiler_no_builtin_flag \ 16823lt_prog_compiler_pic \ 16824lt_prog_compiler_wl \ 16825lt_prog_compiler_static \ 16826lt_cv_prog_compiler_c_o \ 16827need_locks \ 16828MANIFEST_TOOL \ 16829DSYMUTIL \ 16830NMEDIT \ 16831LIPO \ 16832OTOOL \ 16833OTOOL64 \ 16834shrext_cmds \ 16835export_dynamic_flag_spec \ 16836whole_archive_flag_spec \ 16837compiler_needs_object \ 16838with_gnu_ld \ 16839allow_undefined_flag \ 16840no_undefined_flag \ 16841hardcode_libdir_flag_spec \ 16842hardcode_libdir_separator \ 16843exclude_expsyms \ 16844include_expsyms \ 16845file_list_spec \ 16846variables_saved_for_relink \ 16847libname_spec \ 16848library_names_spec \ 16849soname_spec \ 16850install_override_mode \ 16851finish_eval \ 16852old_striplib \ 16853striplib; do 16854 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 16855 *[\\\\\\\`\\"\\\$]*) 16856 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 16857 ;; 16858 *) 16859 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 16860 ;; 16861 esac 16862done 16863 16864# Double-quote double-evaled strings. 16865for var in reload_cmds \ 16866old_postinstall_cmds \ 16867old_postuninstall_cmds \ 16868old_archive_cmds \ 16869extract_expsyms_cmds \ 16870old_archive_from_new_cmds \ 16871old_archive_from_expsyms_cmds \ 16872archive_cmds \ 16873archive_expsym_cmds \ 16874module_cmds \ 16875module_expsym_cmds \ 16876export_symbols_cmds \ 16877prelink_cmds \ 16878postlink_cmds \ 16879postinstall_cmds \ 16880postuninstall_cmds \ 16881finish_cmds \ 16882sys_lib_search_path_spec \ 16883sys_lib_dlsearch_path_spec; do 16884 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 16885 *[\\\\\\\`\\"\\\$]*) 16886 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 16887 ;; 16888 *) 16889 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 16890 ;; 16891 esac 16892done 16893 16894ac_aux_dir='$ac_aux_dir' 16895xsi_shell='$xsi_shell' 16896lt_shell_append='$lt_shell_append' 16897 16898# See if we are running on zsh, and set the options which allow our 16899# commands through without removal of \ escapes INIT. 16900if test -n "\${ZSH_VERSION+set}" ; then 16901 setopt NO_GLOB_SUBST 16902fi 16903 16904 16905 PACKAGE='$PACKAGE' 16906 VERSION='$VERSION' 16907 TIMESTAMP='$TIMESTAMP' 16908 RM='$RM' 16909 ofile='$ofile' 16910 16911 16912 16913 16914_ACEOF 16915 16916cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16917 16918# Handling of arguments. 16919for ac_config_target in $ac_config_targets 16920do 16921 case $ac_config_target in 16922 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 16923 "src/svzconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS src/svzconfig.h" ;; 16924 "src/guile-missing.h") CONFIG_HEADERS="$CONFIG_HEADERS src/guile-missing.h" ;; 16925 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 16926 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 16927 "build-aux/fake-soelim") CONFIG_FILES="$CONFIG_FILES build-aux/fake-soelim" ;; 16928 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 16929 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 16930 "src/libserveez/Makefile") CONFIG_FILES="$CONFIG_FILES src/libserveez/Makefile" ;; 16931 "src/libserveez/coserver/Makefile") CONFIG_FILES="$CONFIG_FILES src/libserveez/coserver/Makefile" ;; 16932 "src/libserveez/codec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libserveez/codec/Makefile" ;; 16933 "src/serveez-config") CONFIG_FILES="$CONFIG_FILES src/serveez-config" ;; 16934 "src/ctrl-server/Makefile") CONFIG_FILES="$CONFIG_FILES src/ctrl-server/Makefile" ;; 16935 "src/http-server/Makefile") CONFIG_FILES="$CONFIG_FILES src/http-server/Makefile" ;; 16936 "src/irc-core/Makefile") CONFIG_FILES="$CONFIG_FILES src/irc-core/Makefile" ;; 16937 "src/irc-server/Makefile") CONFIG_FILES="$CONFIG_FILES src/irc-server/Makefile" ;; 16938 "src/foo-server/Makefile") CONFIG_FILES="$CONFIG_FILES src/foo-server/Makefile" ;; 16939 "src/sntp-server/Makefile") CONFIG_FILES="$CONFIG_FILES src/sntp-server/Makefile" ;; 16940 "src/nut-server/Makefile") CONFIG_FILES="$CONFIG_FILES src/nut-server/Makefile" ;; 16941 "src/tunnel-server/Makefile") CONFIG_FILES="$CONFIG_FILES src/tunnel-server/Makefile" ;; 16942 "src/fakeident-server/Makefile") CONFIG_FILES="$CONFIG_FILES src/fakeident-server/Makefile" ;; 16943 "src/prog-server/Makefile") CONFIG_FILES="$CONFIG_FILES src/prog-server/Makefile" ;; 16944 "src/guile-server/Makefile") CONFIG_FILES="$CONFIG_FILES src/guile-server/Makefile" ;; 16945 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 16946 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 16947 16948 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 16949 esac 16950done 16951 16952 16953# If the user did not use the arguments to specify the items to instantiate, 16954# then the envvar interface is used. Set only those that are not. 16955# We use the long form for the default assignment because of an extremely 16956# bizarre bug on SunOS 4.1.3. 16957if $ac_need_defaults; then 16958 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 16959 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 16960 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 16961fi 16962 16963# Have a temporary directory for convenience. Make it in the build tree 16964# simply because there is no reason against having it here, and in addition, 16965# creating and moving files from /tmp can sometimes cause problems. 16966# Hook for its removal unless debugging. 16967# Note that there is a small window in which the directory will not be cleaned: 16968# after its creation but before its name has been assigned to `$tmp'. 16969$debug || 16970{ 16971 tmp= ac_tmp= 16972 trap 'exit_status=$? 16973 : "${ac_tmp:=$tmp}" 16974 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 16975' 0 16976 trap 'as_fn_exit 1' 1 2 13 15 16977} 16978# Create a (secure) tmp directory for tmp files. 16979 16980{ 16981 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 16982 test -d "$tmp" 16983} || 16984{ 16985 tmp=./conf$$-$RANDOM 16986 (umask 077 && mkdir "$tmp") 16987} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 16988ac_tmp=$tmp 16989 16990# Set up the scripts for CONFIG_FILES section. 16991# No need to generate them if there are no CONFIG_FILES. 16992# This happens for instance with `./config.status config.h'. 16993if test -n "$CONFIG_FILES"; then 16994 16995 16996ac_cr=`echo X | tr X '\015'` 16997# On cygwin, bash can eat \r inside `` if the user requested igncr. 16998# But we know of no other shell where ac_cr would be empty at this 16999# point, so we can use a bashism as a fallback. 17000if test "x$ac_cr" = x; then 17001 eval ac_cr=\$\'\\r\' 17002fi 17003ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17004if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 17005 ac_cs_awk_cr='\\r' 17006else 17007 ac_cs_awk_cr=$ac_cr 17008fi 17009 17010echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 17011_ACEOF 17012 17013 17014{ 17015 echo "cat >conf$$subs.awk <<_ACEOF" && 17016 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17017 echo "_ACEOF" 17018} >conf$$subs.sh || 17019 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17020ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17021ac_delim='%!_!# ' 17022for ac_last_try in false false false false false :; do 17023 . ./conf$$subs.sh || 17024 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17025 17026 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17027 if test $ac_delim_n = $ac_delim_num; then 17028 break 17029 elif $ac_last_try; then 17030 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17031 else 17032 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17033 fi 17034done 17035rm -f conf$$subs.sh 17036 17037cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17038cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17039_ACEOF 17040sed -n ' 17041h 17042s/^/S["/; s/!.*/"]=/ 17043p 17044g 17045s/^[^!]*!// 17046:repl 17047t repl 17048s/'"$ac_delim"'$// 17049t delim 17050:nl 17051h 17052s/\(.\{148\}\)..*/\1/ 17053t more1 17054s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 17055p 17056n 17057b repl 17058:more1 17059s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17060p 17061g 17062s/.\{148\}// 17063t nl 17064:delim 17065h 17066s/\(.\{148\}\)..*/\1/ 17067t more2 17068s/["\\]/\\&/g; s/^/"/; s/$/"/ 17069p 17070b 17071:more2 17072s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17073p 17074g 17075s/.\{148\}// 17076t delim 17077' <conf$$subs.awk | sed ' 17078/^[^""]/{ 17079 N 17080 s/\n// 17081} 17082' >>$CONFIG_STATUS || ac_write_fail=1 17083rm -f conf$$subs.awk 17084cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17085_ACAWK 17086cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17087 for (key in S) S_is_set[key] = 1 17088 FS = "" 17089 17090} 17091{ 17092 line = $ 0 17093 nfields = split(line, field, "@") 17094 substed = 0 17095 len = length(field[1]) 17096 for (i = 2; i < nfields; i++) { 17097 key = field[i] 17098 keylen = length(key) 17099 if (S_is_set[key]) { 17100 value = S[key] 17101 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 17102 len += length(value) + length(field[++i]) 17103 substed = 1 17104 } else 17105 len += 1 + keylen 17106 } 17107 17108 print line 17109} 17110 17111_ACAWK 17112_ACEOF 17113cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17114if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17115 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17116else 17117 cat 17118fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 17119 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17120_ACEOF 17121 17122# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17123# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17124# trailing colons and then remove the whole line if VPATH becomes empty 17125# (actually we leave an empty line to preserve line numbers). 17126if test "x$srcdir" = x.; then 17127 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 17128h 17129s/// 17130s/^/:/ 17131s/[ ]*$/:/ 17132s/:\$(srcdir):/:/g 17133s/:\${srcdir}:/:/g 17134s/:@srcdir@:/:/g 17135s/^:*// 17136s/:*$// 17137x 17138s/\(=[ ]*\).*/\1/ 17139G 17140s/\n// 17141s/^[^=]*=[ ]*$// 17142}' 17143fi 17144 17145cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17146fi # test -n "$CONFIG_FILES" 17147 17148# Set up the scripts for CONFIG_HEADERS section. 17149# No need to generate them if there are no CONFIG_HEADERS. 17150# This happens for instance with `./config.status Makefile'. 17151if test -n "$CONFIG_HEADERS"; then 17152cat >"$ac_tmp/defines.awk" <<\_ACAWK || 17153BEGIN { 17154_ACEOF 17155 17156# Transform confdefs.h into an awk script `defines.awk', embedded as 17157# here-document in config.status, that substitutes the proper values into 17158# config.h.in to produce config.h. 17159 17160# Create a delimiter string that does not exist in confdefs.h, to ease 17161# handling of long lines. 17162ac_delim='%!_!# ' 17163for ac_last_try in false false :; do 17164 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 17165 if test -z "$ac_tt"; then 17166 break 17167 elif $ac_last_try; then 17168 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17169 else 17170 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17171 fi 17172done 17173 17174# For the awk script, D is an array of macro values keyed by name, 17175# likewise P contains macro parameters if any. Preserve backslash 17176# newline sequences. 17177 17178ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 17179sed -n ' 17180s/.\{148\}/&'"$ac_delim"'/g 17181t rset 17182:rset 17183s/^[ ]*#[ ]*define[ ][ ]*/ / 17184t def 17185d 17186:def 17187s/\\$// 17188t bsnl 17189s/["\\]/\\&/g 17190s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17191D["\1"]=" \3"/p 17192s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 17193d 17194:bsnl 17195s/["\\]/\\&/g 17196s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17197D["\1"]=" \3\\\\\\n"\\/p 17198t cont 17199s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 17200t cont 17201d 17202:cont 17203n 17204s/.\{148\}/&'"$ac_delim"'/g 17205t clear 17206:clear 17207s/\\$// 17208t bsnlc 17209s/["\\]/\\&/g; s/^/"/; s/$/"/p 17210d 17211:bsnlc 17212s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 17213b cont 17214' <confdefs.h | sed ' 17215s/'"$ac_delim"'/"\\\ 17216"/g' >>$CONFIG_STATUS || ac_write_fail=1 17217 17218cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17219 for (key in D) D_is_set[key] = 1 17220 FS = "" 17221} 17222/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 17223 line = \$ 0 17224 split(line, arg, " ") 17225 if (arg[1] == "#") { 17226 defundef = arg[2] 17227 mac1 = arg[3] 17228 } else { 17229 defundef = substr(arg[1], 2) 17230 mac1 = arg[2] 17231 } 17232 split(mac1, mac2, "(") #) 17233 macro = mac2[1] 17234 prefix = substr(line, 1, index(line, defundef) - 1) 17235 if (D_is_set[macro]) { 17236 # Preserve the white space surrounding the "#". 17237 print prefix "define", macro P[macro] D[macro] 17238 next 17239 } else { 17240 # Replace #undef with comments. This is necessary, for example, 17241 # in the case of _POSIX_SOURCE, which is predefined and required 17242 # on some systems where configure will not decide to define it. 17243 if (defundef == "undef") { 17244 print "/*", prefix defundef, macro, "*/" 17245 next 17246 } 17247 } 17248} 17249{ print } 17250_ACAWK 17251_ACEOF 17252cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17253 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17254fi # test -n "$CONFIG_HEADERS" 17255 17256 17257eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 17258shift 17259for ac_tag 17260do 17261 case $ac_tag in 17262 :[FHLC]) ac_mode=$ac_tag; continue;; 17263 esac 17264 case $ac_mode$ac_tag in 17265 :[FHL]*:*);; 17266 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17267 :[FH]-) ac_tag=-:-;; 17268 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17269 esac 17270 ac_save_IFS=$IFS 17271 IFS=: 17272 set x $ac_tag 17273 IFS=$ac_save_IFS 17274 shift 17275 ac_file=$1 17276 shift 17277 17278 case $ac_mode in 17279 :L) ac_source=$1;; 17280 :[FH]) 17281 ac_file_inputs= 17282 for ac_f 17283 do 17284 case $ac_f in 17285 -) ac_f="$ac_tmp/stdin";; 17286 *) # Look for the file first in the build tree, then in the source tree 17287 # (if the path is not absolute). The absolute path cannot be DOS-style, 17288 # because $ac_f cannot contain `:'. 17289 test -f "$ac_f" || 17290 case $ac_f in 17291 [\\/$]*) false;; 17292 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17293 esac || 17294 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17295 esac 17296 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17297 as_fn_append ac_file_inputs " '$ac_f'" 17298 done 17299 17300 # Let's still pretend it is `configure' which instantiates (i.e., don't 17301 # use $as_me), people would be surprised to read: 17302 # /* config.h. Generated by config.status. */ 17303 configure_input='Generated from '` 17304 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 17305 `' by configure.' 17306 if test x"$ac_file" != x-; then 17307 configure_input="$ac_file. $configure_input" 17308 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 17309$as_echo "$as_me: creating $ac_file" >&6;} 17310 fi 17311 # Neutralize special characters interpreted by sed in replacement strings. 17312 case $configure_input in #( 17313 *\&* | *\|* | *\\* ) 17314 ac_sed_conf_input=`$as_echo "$configure_input" | 17315 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17316 *) ac_sed_conf_input=$configure_input;; 17317 esac 17318 17319 case $ac_tag in 17320 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 17321 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17322 esac 17323 ;; 17324 esac 17325 17326 ac_dir=`$as_dirname -- "$ac_file" || 17327$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17328 X"$ac_file" : 'X\(//\)[^/]' \| \ 17329 X"$ac_file" : 'X\(//\)$' \| \ 17330 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17331$as_echo X"$ac_file" | 17332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17333 s//\1/ 17334 q 17335 } 17336 /^X\(\/\/\)[^/].*/{ 17337 s//\1/ 17338 q 17339 } 17340 /^X\(\/\/\)$/{ 17341 s//\1/ 17342 q 17343 } 17344 /^X\(\/\).*/{ 17345 s//\1/ 17346 q 17347 } 17348 s/.*/./; q'` 17349 as_dir="$ac_dir"; as_fn_mkdir_p 17350 ac_builddir=. 17351 17352case "$ac_dir" in 17353.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17354*) 17355 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17356 # A ".." for each directory in $ac_dir_suffix. 17357 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17358 case $ac_top_builddir_sub in 17359 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 17360 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 17361 esac ;; 17362esac 17363ac_abs_top_builddir=$ac_pwd 17364ac_abs_builddir=$ac_pwd$ac_dir_suffix 17365# for backward compatibility: 17366ac_top_builddir=$ac_top_build_prefix 17367 17368case $srcdir in 17369 .) # We are building in place. 17370 ac_srcdir=. 17371 ac_top_srcdir=$ac_top_builddir_sub 17372 ac_abs_top_srcdir=$ac_pwd ;; 17373 [\\/]* | ?:[\\/]* ) # Absolute name. 17374 ac_srcdir=$srcdir$ac_dir_suffix; 17375 ac_top_srcdir=$srcdir 17376 ac_abs_top_srcdir=$srcdir ;; 17377 *) # Relative name. 17378 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 17379 ac_top_srcdir=$ac_top_build_prefix$srcdir 17380 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 17381esac 17382ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 17383 17384 17385 case $ac_mode in 17386 :F) 17387 # 17388 # CONFIG_FILE 17389 # 17390 17391 case $INSTALL in 17392 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 17393 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 17394 esac 17395 ac_MKDIR_P=$MKDIR_P 17396 case $MKDIR_P in 17397 [\\/$]* | ?:[\\/]* ) ;; 17398 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 17399 esac 17400_ACEOF 17401 17402cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17403# If the template does not know about datarootdir, expand it. 17404# FIXME: This hack should be removed a few years after 2.60. 17405ac_datarootdir_hack=; ac_datarootdir_seen= 17406ac_sed_dataroot=' 17407/datarootdir/ { 17408 p 17409 q 17410} 17411/@datadir@/p 17412/@docdir@/p 17413/@infodir@/p 17414/@localedir@/p 17415/@mandir@/p' 17416case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17417*datarootdir*) ac_datarootdir_seen=yes;; 17418*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 17420$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 17421_ACEOF 17422cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17423 ac_datarootdir_hack=' 17424 s&@datadir@&$datadir&g 17425 s&@docdir@&$docdir&g 17426 s&@infodir@&$infodir&g 17427 s&@localedir@&$localedir&g 17428 s&@mandir@&$mandir&g 17429 s&\\\${datarootdir}&$datarootdir&g' ;; 17430esac 17431_ACEOF 17432 17433# Neutralize VPATH when `$srcdir' = `.'. 17434# Shell code in configure.ac might set extrasub. 17435# FIXME: do we really want to maintain this feature? 17436cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17437ac_sed_extra="$ac_vpsub 17438$extrasub 17439_ACEOF 17440cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17441:t 17442/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17443s|@configure_input@|$ac_sed_conf_input|;t t 17444s&@top_builddir@&$ac_top_builddir_sub&;t t 17445s&@top_build_prefix@&$ac_top_build_prefix&;t t 17446s&@srcdir@&$ac_srcdir&;t t 17447s&@abs_srcdir@&$ac_abs_srcdir&;t t 17448s&@top_srcdir@&$ac_top_srcdir&;t t 17449s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 17450s&@builddir@&$ac_builddir&;t t 17451s&@abs_builddir@&$ac_abs_builddir&;t t 17452s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 17453s&@INSTALL@&$ac_INSTALL&;t t 17454s&@MKDIR_P@&$ac_MKDIR_P&;t t 17455$ac_datarootdir_hack 17456" 17457eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 17458 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17459 17460test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17461 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 17462 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 17463 "$ac_tmp/out"`; test -z "$ac_out"; } && 17464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17465which seems to be undefined. Please make sure it is defined" >&5 17466$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17467which seems to be undefined. Please make sure it is defined" >&2;} 17468 17469 rm -f "$ac_tmp/stdin" 17470 case $ac_file in 17471 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 17472 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 17473 esac \ 17474 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17475 ;; 17476 :H) 17477 # 17478 # CONFIG_HEADER 17479 # 17480 if test x"$ac_file" != x-; then 17481 { 17482 $as_echo "/* $configure_input */" \ 17483 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 17484 } >"$ac_tmp/config.h" \ 17485 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17486 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 17487 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 17488$as_echo "$as_me: $ac_file is unchanged" >&6;} 17489 else 17490 rm -f "$ac_file" 17491 mv "$ac_tmp/config.h" "$ac_file" \ 17492 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17493 fi 17494 else 17495 $as_echo "/* $configure_input */" \ 17496 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 17497 || as_fn_error $? "could not create -" "$LINENO" 5 17498 fi 17499# Compute "$ac_file"'s index in $config_headers. 17500_am_arg="$ac_file" 17501_am_stamp_count=1 17502for _am_header in $config_headers :; do 17503 case $_am_header in 17504 $_am_arg | $_am_arg:* ) 17505 break ;; 17506 * ) 17507 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 17508 esac 17509done 17510echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 17511$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17512 X"$_am_arg" : 'X\(//\)[^/]' \| \ 17513 X"$_am_arg" : 'X\(//\)$' \| \ 17514 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 17515$as_echo X"$_am_arg" | 17516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17517 s//\1/ 17518 q 17519 } 17520 /^X\(\/\/\)[^/].*/{ 17521 s//\1/ 17522 q 17523 } 17524 /^X\(\/\/\)$/{ 17525 s//\1/ 17526 q 17527 } 17528 /^X\(\/\).*/{ 17529 s//\1/ 17530 q 17531 } 17532 s/.*/./; q'`/stamp-h$_am_stamp_count 17533 ;; 17534 17535 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 17536$as_echo "$as_me: executing $ac_file commands" >&6;} 17537 ;; 17538 esac 17539 17540 17541 case $ac_file$ac_mode in 17542 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 17543 # Older Autoconf quotes --file arguments for eval, but not when files 17544 # are listed without --file. Let's play safe and only enable the eval 17545 # if we detect the quoting. 17546 case $CONFIG_FILES in 17547 *\'*) eval set x "$CONFIG_FILES" ;; 17548 *) set x $CONFIG_FILES ;; 17549 esac 17550 shift 17551 for mf 17552 do 17553 # Strip MF so we end up with the name of the file. 17554 mf=`echo "$mf" | sed -e 's/:.*$//'` 17555 # Check whether this is an Automake generated Makefile or not. 17556 # We used to match only the files named 'Makefile.in', but 17557 # some people rename them; so instead we look at the file content. 17558 # Grep'ing the first line is not enough: some people post-process 17559 # each Makefile.in and add a new line on top of each file to say so. 17560 # Grep'ing the whole file is not good either: AIX grep has a line 17561 # limit of 2048, but all sed's we know have understand at least 4000. 17562 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 17563 dirpart=`$as_dirname -- "$mf" || 17564$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17565 X"$mf" : 'X\(//\)[^/]' \| \ 17566 X"$mf" : 'X\(//\)$' \| \ 17567 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 17568$as_echo X"$mf" | 17569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17570 s//\1/ 17571 q 17572 } 17573 /^X\(\/\/\)[^/].*/{ 17574 s//\1/ 17575 q 17576 } 17577 /^X\(\/\/\)$/{ 17578 s//\1/ 17579 q 17580 } 17581 /^X\(\/\).*/{ 17582 s//\1/ 17583 q 17584 } 17585 s/.*/./; q'` 17586 else 17587 continue 17588 fi 17589 # Extract the definition of DEPDIR, am__include, and am__quote 17590 # from the Makefile without running 'make'. 17591 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 17592 test -z "$DEPDIR" && continue 17593 am__include=`sed -n 's/^am__include = //p' < "$mf"` 17594 test -z "$am__include" && continue 17595 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 17596 # Find all dependency output files, they are included files with 17597 # $(DEPDIR) in their names. We invoke sed twice because it is the 17598 # simplest approach to changing $(DEPDIR) to its actual value in the 17599 # expansion. 17600 for file in `sed -n " 17601 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 17602 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 17603 # Make sure the directory exists. 17604 test -f "$dirpart/$file" && continue 17605 fdir=`$as_dirname -- "$file" || 17606$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17607 X"$file" : 'X\(//\)[^/]' \| \ 17608 X"$file" : 'X\(//\)$' \| \ 17609 X"$file" : 'X\(/\)' \| . 2>/dev/null || 17610$as_echo X"$file" | 17611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17612 s//\1/ 17613 q 17614 } 17615 /^X\(\/\/\)[^/].*/{ 17616 s//\1/ 17617 q 17618 } 17619 /^X\(\/\/\)$/{ 17620 s//\1/ 17621 q 17622 } 17623 /^X\(\/\).*/{ 17624 s//\1/ 17625 q 17626 } 17627 s/.*/./; q'` 17628 as_dir=$dirpart/$fdir; as_fn_mkdir_p 17629 # echo "creating $dirpart/$file" 17630 echo '# dummy' > "$dirpart/$file" 17631 done 17632 done 17633} 17634 ;; 17635 "libtool":C) 17636 17637 # See if we are running on zsh, and set the options which allow our 17638 # commands through without removal of \ escapes. 17639 if test -n "${ZSH_VERSION+set}" ; then 17640 setopt NO_GLOB_SUBST 17641 fi 17642 17643 cfgfile="${ofile}T" 17644 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 17645 $RM "$cfgfile" 17646 17647 cat <<_LT_EOF >> "$cfgfile" 17648#! $SHELL 17649 17650# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 17651# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 17652# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 17653# NOTE: Changes made to this file will be lost: look at ltmain.sh. 17654# 17655# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 17656# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 17657# Foundation, Inc. 17658# Written by Gordon Matzigkeit, 1996 17659# 17660# This file is part of GNU Libtool. 17661# 17662# GNU Libtool is free software; you can redistribute it and/or 17663# modify it under the terms of the GNU General Public License as 17664# published by the Free Software Foundation; either version 2 of 17665# the License, or (at your option) any later version. 17666# 17667# As a special exception to the GNU General Public License, 17668# if you distribute this file as part of a program or library that 17669# is built using GNU Libtool, you may include this file under the 17670# same distribution terms that you use for the rest of that program. 17671# 17672# GNU Libtool is distributed in the hope that it will be useful, 17673# but WITHOUT ANY WARRANTY; without even the implied warranty of 17674# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17675# GNU General Public License for more details. 17676# 17677# You should have received a copy of the GNU General Public License 17678# along with GNU Libtool; see the file COPYING. If not, a copy 17679# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 17680# obtained by writing to the Free Software Foundation, Inc., 17681# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17682 17683 17684# The names of the tagged configurations supported by this script. 17685available_tags="" 17686 17687# ### BEGIN LIBTOOL CONFIG 17688 17689# Which release of libtool.m4 was used? 17690macro_version=$macro_version 17691macro_revision=$macro_revision 17692 17693# Assembler program. 17694AS=$lt_AS 17695 17696# DLL creation program. 17697DLLTOOL=$lt_DLLTOOL 17698 17699# Object dumper program. 17700OBJDUMP=$lt_OBJDUMP 17701 17702# Whether or not to build shared libraries. 17703build_libtool_libs=$enable_shared 17704 17705# Whether or not to build static libraries. 17706build_old_libs=$enable_static 17707 17708# What type of objects to build. 17709pic_mode=$pic_mode 17710 17711# Whether or not to optimize for fast installation. 17712fast_install=$enable_fast_install 17713 17714# Shell to use when invoking shell scripts. 17715SHELL=$lt_SHELL 17716 17717# An echo program that protects backslashes. 17718ECHO=$lt_ECHO 17719 17720# The PATH separator for the build system. 17721PATH_SEPARATOR=$lt_PATH_SEPARATOR 17722 17723# The host system. 17724host_alias=$host_alias 17725host=$host 17726host_os=$host_os 17727 17728# The build system. 17729build_alias=$build_alias 17730build=$build 17731build_os=$build_os 17732 17733# A sed program that does not truncate output. 17734SED=$lt_SED 17735 17736# Sed that helps us avoid accidentally triggering echo(1) options like -n. 17737Xsed="\$SED -e 1s/^X//" 17738 17739# A grep program that handles long lines. 17740GREP=$lt_GREP 17741 17742# An ERE matcher. 17743EGREP=$lt_EGREP 17744 17745# A literal string matcher. 17746FGREP=$lt_FGREP 17747 17748# A BSD- or MS-compatible name lister. 17749NM=$lt_NM 17750 17751# Whether we need soft or hard links. 17752LN_S=$lt_LN_S 17753 17754# What is the maximum length of a command? 17755max_cmd_len=$max_cmd_len 17756 17757# Object file suffix (normally "o"). 17758objext=$ac_objext 17759 17760# Executable file suffix (normally ""). 17761exeext=$exeext 17762 17763# whether the shell understands "unset". 17764lt_unset=$lt_unset 17765 17766# turn spaces into newlines. 17767SP2NL=$lt_lt_SP2NL 17768 17769# turn newlines into spaces. 17770NL2SP=$lt_lt_NL2SP 17771 17772# convert \$build file names to \$host format. 17773to_host_file_cmd=$lt_cv_to_host_file_cmd 17774 17775# convert \$build files to toolchain format. 17776to_tool_file_cmd=$lt_cv_to_tool_file_cmd 17777 17778# Method to check whether dependent libraries are shared objects. 17779deplibs_check_method=$lt_deplibs_check_method 17780 17781# Command to use when deplibs_check_method = "file_magic". 17782file_magic_cmd=$lt_file_magic_cmd 17783 17784# How to find potential files when deplibs_check_method = "file_magic". 17785file_magic_glob=$lt_file_magic_glob 17786 17787# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 17788want_nocaseglob=$lt_want_nocaseglob 17789 17790# Command to associate shared and link libraries. 17791sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 17792 17793# The archiver. 17794AR=$lt_AR 17795 17796# Flags to create an archive. 17797AR_FLAGS=$lt_AR_FLAGS 17798 17799# How to feed a file listing to the archiver. 17800archiver_list_spec=$lt_archiver_list_spec 17801 17802# A symbol stripping program. 17803STRIP=$lt_STRIP 17804 17805# Commands used to install an old-style archive. 17806RANLIB=$lt_RANLIB 17807old_postinstall_cmds=$lt_old_postinstall_cmds 17808old_postuninstall_cmds=$lt_old_postuninstall_cmds 17809 17810# Whether to use a lock for old archive extraction. 17811lock_old_archive_extraction=$lock_old_archive_extraction 17812 17813# A C compiler. 17814LTCC=$lt_CC 17815 17816# LTCC compiler flags. 17817LTCFLAGS=$lt_CFLAGS 17818 17819# Take the output of nm and produce a listing of raw symbols and C names. 17820global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 17821 17822# Transform the output of nm in a proper C declaration. 17823global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 17824 17825# Transform the output of nm in a C name address pair. 17826global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 17827 17828# Transform the output of nm in a C name address pair when lib prefix is needed. 17829global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 17830 17831# Specify filename containing input files for \$NM. 17832nm_file_list_spec=$lt_nm_file_list_spec 17833 17834# The root where to search for dependent libraries,and in which our libraries should be installed. 17835lt_sysroot=$lt_sysroot 17836 17837# The name of the directory that contains temporary libtool files. 17838objdir=$objdir 17839 17840# Used to examine libraries when file_magic_cmd begins with "file". 17841MAGIC_CMD=$MAGIC_CMD 17842 17843# Must we lock files when doing compilation? 17844need_locks=$lt_need_locks 17845 17846# Manifest tool. 17847MANIFEST_TOOL=$lt_MANIFEST_TOOL 17848 17849# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 17850DSYMUTIL=$lt_DSYMUTIL 17851 17852# Tool to change global to local symbols on Mac OS X. 17853NMEDIT=$lt_NMEDIT 17854 17855# Tool to manipulate fat objects and archives on Mac OS X. 17856LIPO=$lt_LIPO 17857 17858# ldd/readelf like tool for Mach-O binaries on Mac OS X. 17859OTOOL=$lt_OTOOL 17860 17861# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 17862OTOOL64=$lt_OTOOL64 17863 17864# Old archive suffix (normally "a"). 17865libext=$libext 17866 17867# Shared library suffix (normally ".so"). 17868shrext_cmds=$lt_shrext_cmds 17869 17870# The commands to extract the exported symbol list from a shared archive. 17871extract_expsyms_cmds=$lt_extract_expsyms_cmds 17872 17873# Variables whose values should be saved in libtool wrapper scripts and 17874# restored at link time. 17875variables_saved_for_relink=$lt_variables_saved_for_relink 17876 17877# Do we need the "lib" prefix for modules? 17878need_lib_prefix=$need_lib_prefix 17879 17880# Do we need a version for libraries? 17881need_version=$need_version 17882 17883# Library versioning type. 17884version_type=$version_type 17885 17886# Shared library runtime path variable. 17887runpath_var=$runpath_var 17888 17889# Shared library path variable. 17890shlibpath_var=$shlibpath_var 17891 17892# Is shlibpath searched before the hard-coded library search path? 17893shlibpath_overrides_runpath=$shlibpath_overrides_runpath 17894 17895# Format of library name prefix. 17896libname_spec=$lt_libname_spec 17897 17898# List of archive names. First name is the real one, the rest are links. 17899# The last name is the one that the linker finds with -lNAME 17900library_names_spec=$lt_library_names_spec 17901 17902# The coded name of the library, if different from the real name. 17903soname_spec=$lt_soname_spec 17904 17905# Permission mode override for installation of shared libraries. 17906install_override_mode=$lt_install_override_mode 17907 17908# Command to use after installation of a shared archive. 17909postinstall_cmds=$lt_postinstall_cmds 17910 17911# Command to use after uninstallation of a shared archive. 17912postuninstall_cmds=$lt_postuninstall_cmds 17913 17914# Commands used to finish a libtool library installation in a directory. 17915finish_cmds=$lt_finish_cmds 17916 17917# As "finish_cmds", except a single script fragment to be evaled but 17918# not shown. 17919finish_eval=$lt_finish_eval 17920 17921# Whether we should hardcode library paths into libraries. 17922hardcode_into_libs=$hardcode_into_libs 17923 17924# Compile-time system search path for libraries. 17925sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 17926 17927# Run-time system search path for libraries. 17928sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 17929 17930# Whether dlopen is supported. 17931dlopen_support=$enable_dlopen 17932 17933# Whether dlopen of programs is supported. 17934dlopen_self=$enable_dlopen_self 17935 17936# Whether dlopen of statically linked programs is supported. 17937dlopen_self_static=$enable_dlopen_self_static 17938 17939# Commands to strip libraries. 17940old_striplib=$lt_old_striplib 17941striplib=$lt_striplib 17942 17943 17944# The linker used to build libraries. 17945LD=$lt_LD 17946 17947# How to create reloadable object files. 17948reload_flag=$lt_reload_flag 17949reload_cmds=$lt_reload_cmds 17950 17951# Commands used to build an old-style archive. 17952old_archive_cmds=$lt_old_archive_cmds 17953 17954# A language specific compiler. 17955CC=$lt_compiler 17956 17957# Is the compiler the GNU compiler? 17958with_gcc=$GCC 17959 17960# Compiler flag to turn off builtin functions. 17961no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 17962 17963# Additional compiler flags for building library objects. 17964pic_flag=$lt_lt_prog_compiler_pic 17965 17966# How to pass a linker flag through the compiler. 17967wl=$lt_lt_prog_compiler_wl 17968 17969# Compiler flag to prevent dynamic linking. 17970link_static_flag=$lt_lt_prog_compiler_static 17971 17972# Does compiler simultaneously support -c and -o options? 17973compiler_c_o=$lt_lt_cv_prog_compiler_c_o 17974 17975# Whether or not to add -lc for building shared libraries. 17976build_libtool_need_lc=$archive_cmds_need_lc 17977 17978# Whether or not to disallow shared libs when runtime libs are static. 17979allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 17980 17981# Compiler flag to allow reflexive dlopens. 17982export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 17983 17984# Compiler flag to generate shared objects directly from archives. 17985whole_archive_flag_spec=$lt_whole_archive_flag_spec 17986 17987# Whether the compiler copes with passing no objects directly. 17988compiler_needs_object=$lt_compiler_needs_object 17989 17990# Create an old-style archive from a shared archive. 17991old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 17992 17993# Create a temporary old-style archive to link instead of a shared archive. 17994old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 17995 17996# Commands used to build a shared archive. 17997archive_cmds=$lt_archive_cmds 17998archive_expsym_cmds=$lt_archive_expsym_cmds 17999 18000# Commands used to build a loadable module if different from building 18001# a shared archive. 18002module_cmds=$lt_module_cmds 18003module_expsym_cmds=$lt_module_expsym_cmds 18004 18005# Whether we are building with GNU ld or not. 18006with_gnu_ld=$lt_with_gnu_ld 18007 18008# Flag that allows shared libraries with undefined symbols to be built. 18009allow_undefined_flag=$lt_allow_undefined_flag 18010 18011# Flag that enforces no undefined symbols. 18012no_undefined_flag=$lt_no_undefined_flag 18013 18014# Flag to hardcode \$libdir into a binary during linking. 18015# This must work even if \$libdir does not exist 18016hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 18017 18018# Whether we need a single "-rpath" flag with a separated argument. 18019hardcode_libdir_separator=$lt_hardcode_libdir_separator 18020 18021# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 18022# DIR into the resulting binary. 18023hardcode_direct=$hardcode_direct 18024 18025# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 18026# DIR into the resulting binary and the resulting library dependency is 18027# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 18028# library is relocated. 18029hardcode_direct_absolute=$hardcode_direct_absolute 18030 18031# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18032# into the resulting binary. 18033hardcode_minus_L=$hardcode_minus_L 18034 18035# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18036# into the resulting binary. 18037hardcode_shlibpath_var=$hardcode_shlibpath_var 18038 18039# Set to "yes" if building a shared library automatically hardcodes DIR 18040# into the library and all subsequent libraries and executables linked 18041# against it. 18042hardcode_automatic=$hardcode_automatic 18043 18044# Set to yes if linker adds runtime paths of dependent libraries 18045# to runtime path list. 18046inherit_rpath=$inherit_rpath 18047 18048# Whether libtool must link a program against all its dependency libraries. 18049link_all_deplibs=$link_all_deplibs 18050 18051# Set to "yes" if exported symbols are required. 18052always_export_symbols=$always_export_symbols 18053 18054# The commands to list exported symbols. 18055export_symbols_cmds=$lt_export_symbols_cmds 18056 18057# Symbols that should not be listed in the preloaded symbols. 18058exclude_expsyms=$lt_exclude_expsyms 18059 18060# Symbols that must always be exported. 18061include_expsyms=$lt_include_expsyms 18062 18063# Commands necessary for linking programs (against libraries) with templates. 18064prelink_cmds=$lt_prelink_cmds 18065 18066# Commands necessary for finishing linking programs. 18067postlink_cmds=$lt_postlink_cmds 18068 18069# Specify filename containing input files. 18070file_list_spec=$lt_file_list_spec 18071 18072# How to hardcode a shared library path into an executable. 18073hardcode_action=$hardcode_action 18074 18075# ### END LIBTOOL CONFIG 18076 18077_LT_EOF 18078 18079 case $host_os in 18080 aix3*) 18081 cat <<\_LT_EOF >> "$cfgfile" 18082# AIX sometimes has problems with the GCC collect2 program. For some 18083# reason, if we set the COLLECT_NAMES environment variable, the problems 18084# vanish in a puff of smoke. 18085if test "X${COLLECT_NAMES+set}" != Xset; then 18086 COLLECT_NAMES= 18087 export COLLECT_NAMES 18088fi 18089_LT_EOF 18090 ;; 18091 esac 18092 18093 18094ltmain="$ac_aux_dir/ltmain.sh" 18095 18096 18097 # We use sed instead of cat because bash on DJGPP gets confused if 18098 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18099 # text mode, it properly converts lines to CR/LF. This bash problem 18100 # is reportedly fixed, but why not run on old versions too? 18101 sed '$q' "$ltmain" >> "$cfgfile" \ 18102 || (rm -f "$cfgfile"; exit 1) 18103 18104 if test x"$xsi_shell" = xyes; then 18105 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 18106func_dirname ()\ 18107{\ 18108\ case ${1} in\ 18109\ */*) func_dirname_result="${1%/*}${2}" ;;\ 18110\ * ) func_dirname_result="${3}" ;;\ 18111\ esac\ 18112} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 18113 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18114 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18115test 0 -eq $? || _lt_function_replace_fail=: 18116 18117 18118 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 18119func_basename ()\ 18120{\ 18121\ func_basename_result="${1##*/}"\ 18122} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 18123 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18124 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18125test 0 -eq $? || _lt_function_replace_fail=: 18126 18127 18128 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 18129func_dirname_and_basename ()\ 18130{\ 18131\ case ${1} in\ 18132\ */*) func_dirname_result="${1%/*}${2}" ;;\ 18133\ * ) func_dirname_result="${3}" ;;\ 18134\ esac\ 18135\ func_basename_result="${1##*/}"\ 18136} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 18137 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18138 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18139test 0 -eq $? || _lt_function_replace_fail=: 18140 18141 18142 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 18143func_stripname ()\ 18144{\ 18145\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 18146\ # positional parameters, so assign one to ordinary parameter first.\ 18147\ func_stripname_result=${3}\ 18148\ func_stripname_result=${func_stripname_result#"${1}"}\ 18149\ func_stripname_result=${func_stripname_result%"${2}"}\ 18150} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 18151 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18152 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18153test 0 -eq $? || _lt_function_replace_fail=: 18154 18155 18156 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 18157func_split_long_opt ()\ 18158{\ 18159\ func_split_long_opt_name=${1%%=*}\ 18160\ func_split_long_opt_arg=${1#*=}\ 18161} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 18162 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18163 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18164test 0 -eq $? || _lt_function_replace_fail=: 18165 18166 18167 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 18168func_split_short_opt ()\ 18169{\ 18170\ func_split_short_opt_arg=${1#??}\ 18171\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 18172} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 18173 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18174 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18175test 0 -eq $? || _lt_function_replace_fail=: 18176 18177 18178 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 18179func_lo2o ()\ 18180{\ 18181\ case ${1} in\ 18182\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 18183\ *) func_lo2o_result=${1} ;;\ 18184\ esac\ 18185} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 18186 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18187 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18188test 0 -eq $? || _lt_function_replace_fail=: 18189 18190 18191 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 18192func_xform ()\ 18193{\ 18194 func_xform_result=${1%.*}.lo\ 18195} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 18196 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18197 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18198test 0 -eq $? || _lt_function_replace_fail=: 18199 18200 18201 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 18202func_arith ()\ 18203{\ 18204 func_arith_result=$(( $* ))\ 18205} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 18206 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18207 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18208test 0 -eq $? || _lt_function_replace_fail=: 18209 18210 18211 sed -e '/^func_len ()$/,/^} # func_len /c\ 18212func_len ()\ 18213{\ 18214 func_len_result=${#1}\ 18215} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 18216 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18217 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18218test 0 -eq $? || _lt_function_replace_fail=: 18219 18220fi 18221 18222if test x"$lt_shell_append" = xyes; then 18223 sed -e '/^func_append ()$/,/^} # func_append /c\ 18224func_append ()\ 18225{\ 18226 eval "${1}+=\\${2}"\ 18227} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 18228 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18229 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18230test 0 -eq $? || _lt_function_replace_fail=: 18231 18232 18233 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 18234func_append_quoted ()\ 18235{\ 18236\ func_quote_for_eval "${2}"\ 18237\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 18238} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 18239 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18240 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18241test 0 -eq $? || _lt_function_replace_fail=: 18242 18243 18244 # Save a `func_append' function call where possible by direct use of '+=' 18245 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 18246 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18247 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18248 test 0 -eq $? || _lt_function_replace_fail=: 18249else 18250 # Save a `func_append' function call even when '+=' is not available 18251 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 18252 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18253 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18254 test 0 -eq $? || _lt_function_replace_fail=: 18255fi 18256 18257if test x"$_lt_function_replace_fail" = x":"; then 18258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 18259$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 18260fi 18261 18262 18263 mv -f "$cfgfile" "$ofile" || 18264 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18265 chmod +x "$ofile" 18266 18267 ;; 18268 "build-aux/fake-soelim":F) chmod +x build-aux/fake-soelim ;; 18269 18270 esac 18271done # for ac_tag 18272 18273 18274as_fn_exit 0 18275_ACEOF 18276ac_clean_files=$ac_clean_files_save 18277 18278test $ac_write_fail = 0 || 18279 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18280 18281 18282# configure is writing to config.log, and then calls config.status. 18283# config.status does its own redirection, appending to config.log. 18284# Unfortunately, on DOS this fails, as config.log is still kept open 18285# by configure, so config.status won't be able to write to it; its 18286# output is simply discarded. So we exec the FD to /dev/null, 18287# effectively closing config.log, so it can be properly (re)opened and 18288# appended to by config.status. When coming back to configure, we 18289# need to make the FD available again. 18290if test "$no_create" != yes; then 18291 ac_cs_success=: 18292 ac_config_status_args= 18293 test "$silent" = yes && 18294 ac_config_status_args="$ac_config_status_args --quiet" 18295 exec 5>/dev/null 18296 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18297 exec 5>>config.log 18298 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18299 # would make configure fail if this is the last instruction. 18300 $ac_cs_success || as_fn_exit 1 18301fi 18302if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18304$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18305fi 18306 18307 18308{ $as_echo "$as_me:${as_lineno-$LINENO}: $PACKAGE_STRING successfully configured -- cool!" >&5 18309$as_echo "$as_me: $PACKAGE_STRING successfully configured -- cool!" >&6;} 18310if grep "^$host" $srcdir/data/PLATFORMS 1>/dev/null 2>&1; then : 18311 : 18312else 18313 { $as_echo "$as_me:${as_lineno-$LINENO}: Welcome! 18314 $PACKAGE_NAME has never been compiled or run on this platform. 18315 Please send an email to <$PACKAGE_BUGREPORT> including 18316 your compiler version and whether it worked correctly or not. 18317 '$host' will then be added to the file data/PLATFORMS." >&5 18318$as_echo "$as_me: Welcome! 18319 $PACKAGE_NAME has never been compiled or run on this platform. 18320 Please send an email to <$PACKAGE_BUGREPORT> including 18321 your compiler version and whether it worked correctly or not. 18322 '$host' will then be added to the file data/PLATFORMS." >&6;} 18323fi 18324 18325