1#! /bin/sh 2# From configure.ac Revision: 10331 . 3# Guess values for system-dependent variables and create Makefiles. 4# Generated by GNU Autoconf 2.69 for yadifa 2.5.3-10333. 5# 6# Report bugs to <info@yadifa.eu>. 7# 8# 9# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 10# 11# 12# This configure script is free software; the Free Software Foundation 13# gives unlimited permission to copy, distribute and modify it. 14## -------------------- ## 15## M4sh Initialization. ## 16## -------------------- ## 17 18# Be more Bourne compatible 19DUALCASE=1; export DUALCASE # for MKS sh 20if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 21 emulate sh 22 NULLCMD=: 23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 24 # is contrary to our usage. Disable this feature. 25 alias -g '${1+"$@"}'='"$@"' 26 setopt NO_GLOB_SUBST 27else 28 case `(set -o) 2>/dev/null` in #( 29 *posix*) : 30 set -o posix ;; #( 31 *) : 32 ;; 33esac 34fi 35 36 37as_nl=' 38' 39export as_nl 40# Printing a long string crashes Solaris 7 /usr/bin/printf. 41as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 44# Prefer a ksh shell builtin over an external printf program on Solaris, 45# but without wasting forks for bash or zsh. 46if test -z "$BASH_VERSION$ZSH_VERSION" \ 47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='print -r --' 49 as_echo_n='print -rn --' 50elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 51 as_echo='printf %s\n' 52 as_echo_n='printf %s' 53else 54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 56 as_echo_n='/usr/ucb/echo -n' 57 else 58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 59 as_echo_n_body='eval 60 arg=$1; 61 case $arg in #( 62 *"$as_nl"*) 63 expr "X$arg" : "X\\(.*\\)$as_nl"; 64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 65 esac; 66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 67 ' 68 export as_echo_n_body 69 as_echo_n='sh -c $as_echo_n_body as_echo' 70 fi 71 export as_echo_body 72 as_echo='sh -c $as_echo_body as_echo' 73fi 74 75# The user is always right. 76if test "${PATH_SEPARATOR+set}" != set; then 77 PATH_SEPARATOR=: 78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 80 PATH_SEPARATOR=';' 81 } 82fi 83 84 85# IFS 86# We need space, tab and new line, in precisely that order. Quoting is 87# there to prevent editors from complaining about space-tab. 88# (If _AS_PATH_WALK were called with IFS unset, it would disable word 89# splitting by setting IFS to empty value.) 90IFS=" "" $as_nl" 91 92# Find who we are. Look in the path if we contain no directory separator. 93as_myself= 94case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97for as_dir in $PATH 98do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103IFS=$as_save_IFS 104 105 ;; 106esac 107# We did not find ourselves, most probably we were run as `sh COMMAND' 108# in which case we are not to be found in the path. 109if test "x$as_myself" = x; then 110 as_myself=$0 111fi 112if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115fi 116 117# Unset variables that we do not need and which cause bugs (e.g. in 118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119# suppresses any "Segmentation fault" message there. '((' could 120# trigger a bug in pdksh 5.2.14. 121for as_var in BASH_ENV ENV MAIL MAILPATH 122do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124done 125PS1='$ ' 126PS2='> ' 127PS4='+ ' 128 129# NLS nuisances. 130LC_ALL=C 131export LC_ALL 132LANGUAGE=C 133export LANGUAGE 134 135# CDPATH. 136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138# Use a proper internal environment variable to ensure we don't fall 139 # into an infinite loop, continuously re-executing ourselves. 140 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 141 _as_can_reexec=no; export _as_can_reexec; 142 # We cannot yet assume a decent shell, so we have to provide a 143# neutralization value for shells without unset; and this also 144# works around shells that cannot unset nonexistent variables. 145# Preserve -v and -x to the replacement shell. 146BASH_ENV=/dev/null 147ENV=/dev/null 148(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 149case $- in # (((( 150 *v*x* | *x*v* ) as_opts=-vx ;; 151 *v* ) as_opts=-v ;; 152 *x* ) as_opts=-x ;; 153 * ) as_opts= ;; 154esac 155exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 156# Admittedly, this is quite paranoid, since all the known shells bail 157# out after a failed `exec'. 158$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 159as_fn_exit 255 160 fi 161 # We don't want this to propagate to other subprocesses. 162 { _as_can_reexec=; unset _as_can_reexec;} 163if test "x$CONFIG_SHELL" = x; then 164 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 165 emulate sh 166 NULLCMD=: 167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 168 # is contrary to our usage. Disable this feature. 169 alias -g '\${1+\"\$@\"}'='\"\$@\"' 170 setopt NO_GLOB_SUBST 171else 172 case \`(set -o) 2>/dev/null\` in #( 173 *posix*) : 174 set -o posix ;; #( 175 *) : 176 ;; 177esac 178fi 179" 180 as_required="as_fn_return () { (exit \$1); } 181as_fn_success () { as_fn_return 0; } 182as_fn_failure () { as_fn_return 1; } 183as_fn_ret_success () { return 0; } 184as_fn_ret_failure () { return 1; } 185 186exitcode=0 187as_fn_success || { exitcode=1; echo as_fn_success failed.; } 188as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 189as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 190as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 191if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 192 193else 194 exitcode=1; echo positional parameters were not saved. 195fi 196test x\$exitcode = x0 || exit 1 197test -x / || exit 1" 198 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 199 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || 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 210test \$(( 1 + 1 )) = 2 || exit 1" 211 if (eval "$as_required") 2>/dev/null; then : 212 as_have_required=yes 213else 214 as_have_required=no 215fi 216 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 217 218else 219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 220as_found=false 221for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 222do 223 IFS=$as_save_IFS 224 test -z "$as_dir" && as_dir=. 225 as_found=: 226 case $as_dir in #( 227 /*) 228 for as_base in sh bash ksh sh5; do 229 # Try only shells that exist, to save several forks. 230 as_shell=$as_dir/$as_base 231 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 233 CONFIG_SHELL=$as_shell as_have_required=yes 234 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 235 break 2 236fi 237fi 238 done;; 239 esac 240 as_found=false 241done 242$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 243 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 244 CONFIG_SHELL=$SHELL as_have_required=yes 245fi; } 246IFS=$as_save_IFS 247 248 249 if test "x$CONFIG_SHELL" != x; then : 250 export CONFIG_SHELL 251 # We cannot yet assume a decent shell, so we have to provide a 252# neutralization value for shells without unset; and this also 253# works around shells that cannot unset nonexistent variables. 254# Preserve -v and -x to the replacement shell. 255BASH_ENV=/dev/null 256ENV=/dev/null 257(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 258case $- in # (((( 259 *v*x* | *x*v* ) as_opts=-vx ;; 260 *v* ) as_opts=-v ;; 261 *x* ) as_opts=-x ;; 262 * ) as_opts= ;; 263esac 264exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 265# Admittedly, this is quite paranoid, since all the known shells bail 266# out after a failed `exec'. 267$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 268exit 255 269fi 270 271 if test x$as_have_required = xno; then : 272 $as_echo "$0: This script requires a shell more modern than all" 273 $as_echo "$0: the shells that I found on your system." 274 if test x${ZSH_VERSION+set} = xset ; then 275 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 276 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 277 else 278 $as_echo "$0: Please tell bug-autoconf@gnu.org and info@yadifa.eu 279$0: about your system, including any error possibly output 280$0: before this message. Then install a modern shell, or 281$0: manually run the script under such a shell if you do 282$0: have one." 283 fi 284 exit 1 285fi 286fi 287fi 288SHELL=${CONFIG_SHELL-/bin/sh} 289export SHELL 290# Unset more variables known to interfere with behavior of common tools. 291CLICOLOR_FORCE= GREP_OPTIONS= 292unset CLICOLOR_FORCE GREP_OPTIONS 293 294## --------------------- ## 295## M4sh Shell Functions. ## 296## --------------------- ## 297# as_fn_unset VAR 298# --------------- 299# Portably unset VAR. 300as_fn_unset () 301{ 302 { eval $1=; unset $1;} 303} 304as_unset=as_fn_unset 305 306# as_fn_set_status STATUS 307# ----------------------- 308# Set $? to STATUS, without forking. 309as_fn_set_status () 310{ 311 return $1 312} # as_fn_set_status 313 314# as_fn_exit STATUS 315# ----------------- 316# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 317as_fn_exit () 318{ 319 set +e 320 as_fn_set_status $1 321 exit $1 322} # as_fn_exit 323 324# as_fn_mkdir_p 325# ------------- 326# Create "$as_dir" as a directory, including parents if necessary. 327as_fn_mkdir_p () 328{ 329 330 case $as_dir in #( 331 -*) as_dir=./$as_dir;; 332 esac 333 test -d "$as_dir" || eval $as_mkdir_p || { 334 as_dirs= 335 while :; do 336 case $as_dir in #( 337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 338 *) as_qdir=$as_dir;; 339 esac 340 as_dirs="'$as_qdir' $as_dirs" 341 as_dir=`$as_dirname -- "$as_dir" || 342$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 343 X"$as_dir" : 'X\(//\)[^/]' \| \ 344 X"$as_dir" : 'X\(//\)$' \| \ 345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 346$as_echo X"$as_dir" | 347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)[^/].*/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\/\)$/{ 356 s//\1/ 357 q 358 } 359 /^X\(\/\).*/{ 360 s//\1/ 361 q 362 } 363 s/.*/./; q'` 364 test -d "$as_dir" && break 365 done 366 test -z "$as_dirs" || eval "mkdir $as_dirs" 367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 368 369 370} # as_fn_mkdir_p 371 372# as_fn_executable_p FILE 373# ----------------------- 374# Test if FILE is an executable regular file. 375as_fn_executable_p () 376{ 377 test -f "$1" && test -x "$1" 378} # as_fn_executable_p 379# as_fn_append VAR VALUE 380# ---------------------- 381# Append the text in VALUE to the end of the definition contained in VAR. Take 382# advantage of any shell optimizations that allow amortized linear growth over 383# repeated appends, instead of the typical quadratic growth present in naive 384# implementations. 385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 386 eval 'as_fn_append () 387 { 388 eval $1+=\$2 389 }' 390else 391 as_fn_append () 392 { 393 eval $1=\$$1\$2 394 } 395fi # as_fn_append 396 397# as_fn_arith ARG... 398# ------------------ 399# Perform arithmetic evaluation on the ARGs, and store the result in the 400# global $as_val. Take advantage of shells that can avoid forks. The arguments 401# must be portable across $(()) and expr. 402if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 403 eval 'as_fn_arith () 404 { 405 as_val=$(( $* )) 406 }' 407else 408 as_fn_arith () 409 { 410 as_val=`expr "$@" || test $? -eq 1` 411 } 412fi # as_fn_arith 413 414 415# as_fn_error STATUS ERROR [LINENO LOG_FD] 416# ---------------------------------------- 417# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 418# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 419# script with STATUS, using 1 if that was 0. 420as_fn_error () 421{ 422 as_status=$1; test $as_status -eq 0 && as_status=1 423 if test "$4"; then 424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 426 fi 427 $as_echo "$as_me: error: $2" >&2 428 as_fn_exit $as_status 429} # as_fn_error 430 431if expr a : '\(a\)' >/dev/null 2>&1 && 432 test "X`expr 00001 : '.*\(...\)'`" = X001; then 433 as_expr=expr 434else 435 as_expr=false 436fi 437 438if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 439 as_basename=basename 440else 441 as_basename=false 442fi 443 444if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 445 as_dirname=dirname 446else 447 as_dirname=false 448fi 449 450as_me=`$as_basename -- "$0" || 451$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 452 X"$0" : 'X\(//\)$' \| \ 453 X"$0" : 'X\(/\)' \| . 2>/dev/null || 454$as_echo X/"$0" | 455 sed '/^.*\/\([^/][^/]*\)\/*$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\/\)$/{ 460 s//\1/ 461 q 462 } 463 /^X\/\(\/\).*/{ 464 s//\1/ 465 q 466 } 467 s/.*/./; q'` 468 469# Avoid depending upon Character Ranges. 470as_cr_letters='abcdefghijklmnopqrstuvwxyz' 471as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 472as_cr_Letters=$as_cr_letters$as_cr_LETTERS 473as_cr_digits='0123456789' 474as_cr_alnum=$as_cr_Letters$as_cr_digits 475 476 477 as_lineno_1=$LINENO as_lineno_1a=$LINENO 478 as_lineno_2=$LINENO as_lineno_2a=$LINENO 479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 482 sed -n ' 483 p 484 /[$]LINENO/= 485 ' <$as_myself | 486 sed ' 487 s/[$]LINENO.*/&-/ 488 t lineno 489 b 490 :lineno 491 N 492 :loop 493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 494 t loop 495 s/-\n.*// 496 ' >$as_me.lineno && 497 chmod +x "$as_me.lineno" || 498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 499 500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 501 # already done that, so ensure we don't try to do so again and fall 502 # in an infinite loop. This has already happened in practice. 503 _as_can_reexec=no; export _as_can_reexec 504 # Don't try to exec as it changes $[0], causing all sort of problems 505 # (the dirname of $[0] is not the place where we might find the 506 # original and so on. Autoconf is especially sensitive to this). 507 . "./$as_me.lineno" 508 # Exit status is that of the last command. 509 exit 510} 511 512ECHO_C= ECHO_N= ECHO_T= 513case `echo -n x` in #((((( 514-n*) 515 case `echo 'xy\c'` in 516 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 517 xy) ECHO_C='\c';; 518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 519 ECHO_T=' ';; 520 esac;; 521*) 522 ECHO_N='-n';; 523esac 524 525rm -f conf$$ conf$$.exe conf$$.file 526if test -d conf$$.dir; then 527 rm -f conf$$.dir/conf$$.file 528else 529 rm -f conf$$.dir 530 mkdir conf$$.dir 2>/dev/null 531fi 532if (echo >conf$$.file) 2>/dev/null; then 533 if ln -s conf$$.file conf$$ 2>/dev/null; then 534 as_ln_s='ln -s' 535 # ... but there are two gotchas: 536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 538 # In both cases, we have to default to `cp -pR'. 539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 540 as_ln_s='cp -pR' 541 elif ln conf$$.file conf$$ 2>/dev/null; then 542 as_ln_s=ln 543 else 544 as_ln_s='cp -pR' 545 fi 546else 547 as_ln_s='cp -pR' 548fi 549rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 550rmdir conf$$.dir 2>/dev/null 551 552if mkdir -p . 2>/dev/null; then 553 as_mkdir_p='mkdir -p "$as_dir"' 554else 555 test -d ./-p && rmdir ./-p 556 as_mkdir_p=false 557fi 558 559as_test_x='test -x' 560as_executable_p=as_fn_executable_p 561 562# Sed expression to map a string onto a valid CPP name. 563as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 564 565# Sed expression to map a string onto a valid variable name. 566as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 567 568SHELL=${CONFIG_SHELL-/bin/sh} 569 570 571test -n "$DJDIR" || exec 7<&0 </dev/null 572exec 6>&1 573 574# Name of the host. 575# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 576# so uname gets run too. 577ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 578 579# 580# Initializations. 581# 582ac_default_prefix=/usr/local 583ac_clean_files= 584ac_config_libobj_dir=. 585LIBOBJS= 586cross_compiling=no 587subdirs= 588MFLAGS= 589MAKEFLAGS= 590 591# Identity of this package. 592PACKAGE_NAME='yadifa' 593PACKAGE_TARNAME='yadifa' 594PACKAGE_VERSION='2.5.3-10333' 595PACKAGE_STRING='yadifa 2.5.3-10333' 596PACKAGE_BUGREPORT='info@yadifa.eu' 597PACKAGE_URL='' 598 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_header_list= 636ac_func_list= 637ac_subst_vars='am__EXEEXT_FALSE 638am__EXEEXT_TRUE 639LTLIBOBJS 640HAS_TOOLS 641HAS_TOOLS_FALSE 642HAS_TOOLS_TRUE 643HAS_TESTS 644HAS_TESTS_FALSE 645HAS_TESTS_TRUE 646HAS_LTO_SUPPORT_FALSE 647HAS_LTO_SUPPORT_TRUE 648DNSLG 649DNSDB 650DNSCORE 651HAS_SOCKADDR_IN6_SIN6_LEN_FALSE 652HAS_SOCKADDR_IN6_SIN6_LEN_TRUE 653HAS_SOCKADDR_IN_SIN_LEN_FALSE 654HAS_SOCKADDR_IN_SIN_LEN_TRUE 655HAS_SOCKADDR_SA_LEN_FALSE 656HAS_SOCKADDR_SA_LEN_TRUE 657logdir 658HAS_LOGDIR 659HAS_LOGDIR_FALSE 660HAS_LOGDIR_TRUE 661HAS_EVENT_DYNAMIC_MODULE 662HAS_EVENT_DYNAMIC_MODULE_FALSE 663HAS_EVENT_DYNAMIC_MODULE_TRUE 664HAS_STRDUP_FALSE 665HAS_STRDUP_TRUE 666HAS_NON_AA_AXFR_SUPPORT 667HAS_NON_AA_AXFR_SUPPORT_FALSE 668HAS_NON_AA_AXFR_SUPPORT_TRUE 669HAS_SYSTEMD_RESOLVED_AVOIDANCE 670HAS_SYSTEMD_RESOLVED_AVOIDANCE_FALSE 671HAS_SYSTEMD_RESOLVED_AVOIDANCE_TRUE 672HAS_EDDSA 673HAS_EDDSA_FALSE 674HAS_EDDSA_TRUE 675HAS_ECDSA_SUPPORT 676HAS_ECDSA_SUPPORT_FALSE 677HAS_ECDSA_SUPPORT_TRUE 678HAS_FULL_ASCII7 679HAS_FULL_ASCII7_FALSE 680HAS_FULL_ASCII7_TRUE 681HAS_LOG_PID 682HAS_LOG_PID_FALSE 683HAS_LOG_PID_TRUE 684HAS_LOG_THREAD_TAG 685HAS_LOG_THREAD_TAG_FALSE 686HAS_LOG_THREAD_TAG_TRUE 687HAS_LOG_THREAD_ID 688HAS_LOG_THREAD_ID_FALSE 689HAS_LOG_THREAD_ID_TRUE 690HAS_TRACK_ZONES_DEBUG_SUPPORT 691HAS_TRACK_ZONES_DEBUG_SUPPORT_FALSE 692HAS_TRACK_ZONES_DEBUG_SUPPORT_TRUE 693HAS_LOCK_DEBUG_SUPPORT 694HAS_LOCK_DEBUG_SUPPORT_FALSE 695HAS_LOCK_DEBUG_SUPPORT_TRUE 696HAS_MUTEX_DEBUG_SUPPORT 697HAS_MUTEX_DEBUG_SUPPORT_FALSE 698HAS_MUTEX_DEBUG_SUPPORT_TRUE 699HAS_BFD_DEBUG_SUPPORT 700HAS_BFD_DEBUG_SUPPORT_FALSE 701HAS_BFD_DEBUG_SUPPORT_TRUE 702HAS_LIBC_MALLOC_DEBUG_SUPPORT 703HAS_LIBC_MALLOC_DEBUG_SUPPORT_FALSE 704HAS_LIBC_MALLOC_DEBUG_SUPPORT_TRUE 705HAS_MALLOC_DEBUG_SUPPORT 706HAS_MALLOC_DEBUG_SUPPORT_FALSE 707HAS_MALLOC_DEBUG_SUPPORT_TRUE 708HAS_ZALLOC_DEBUG_SUPPORT 709HAS_ZALLOC_DEBUG_SUPPORT_FALSE 710HAS_ZALLOC_DEBUG_SUPPORT_TRUE 711HAS_ZALLOC_STATISTICS_SUPPORT 712HAS_ZALLOC_STATISTICS_SUPPORT_FALSE 713HAS_ZALLOC_STATISTICS_SUPPORT_TRUE 714HAS_ZALLOC_SUPPORT 715HAS_ZALLOC_SUPPORT_FALSE 716HAS_ZALLOC_SUPPORT_TRUE 717HAS_NSEC3_SUPPORT 718HAS_NSEC3_SUPPORT_FALSE 719HAS_NSEC3_SUPPORT_TRUE 720HAS_NSEC_SUPPORT 721HAS_NSEC_SUPPORT_FALSE 722HAS_NSEC_SUPPORT_TRUE 723ZDB_HAS_DNSSEC_SUPPORT 724HAS_DNSSEC_SUPPORT_FALSE 725HAS_DNSSEC_SUPPORT_TRUE 726HAS_RRSIG_MANAGEMENT_SUPPORT 727HAS_RRSIG_MANAGEMENT_SUPPORT_FALSE 728HAS_RRSIG_MANAGEMENT_SUPPORT_TRUE 729HAS_DYNUPDATE_SUPPORT 730HAS_DYNUPDATE_SUPPORT_FALSE 731HAS_DYNUPDATE_SUPPORT_TRUE 732HAS_TSIG_SUPPORT 733HAS_TSIG_SUPPORT_FALSE 734HAS_TSIG_SUPPORT_TRUE 735HAS_ACL_SUPPORT 736HAS_ACL_SUPPORT_FALSE 737HAS_ACL_SUPPORT_TRUE 738HAS_NSID_SUPPORT 739HAS_NSID_SUPPORT_FALSE 740HAS_NSID_SUPPORT_TRUE 741HAS_KEYGEN 742HAS_KEYGEN_FALSE 743HAS_KEYGEN_TRUE 744HAS_ZONESIGN_FALSE 745HAS_ZONESIGN_TRUE 746HAS_CTRL 747HAS_CTRL_FALSE 748HAS_CTRL_TRUE 749HAS_MASTER_SUPPORT 750HAS_MASTER_SUPPORT_FALSE 751HAS_MASTER_SUPPORT_TRUE 752HAS_RRL_SUPPORT 753HAS_RRL_SUPPORT_FALSE 754HAS_RRL_SUPPORT_TRUE 755OPENSSL 756HAVE_RECVMMSG 757HAVE_SENDMMSG 758HAVE_RECVMMSG_FALSE 759HAVE_RECVMMSG_TRUE 760HAVE_SENDMMSG_FALSE 761HAVE_SENDMMSG_TRUE 762HAS_BIG_ENDIAN 763HAS_LITTLE_ENDIAN 764HAS_BIG_ENDIAN_FALSE 765HAS_BIG_ENDIAN_TRUE 766HAS_LITTLE_ENDIAN_FALSE 767HAS_LITTLE_ENDIAN_TRUE 768HAS_SYNC_BUILTINS 769HAS_SYNC_BUILTINS_FALSE 770HAS_SYNC_BUILTINS_TRUE 771HAS_MEMALIGN_ISSUES 772HAS_MEMALIGN_ISSUES_FALSE 773HAS_MEMALIGN_ISSUES_TRUE 774HAS_CC_RDYNAMIC 775HAS_CC_RDYNAMIC_FALSE 776HAS_CC_RDYNAMIC_TRUE 777HAS_CC_CATCH_UNDEFINED_BEHAVIOR 778HAS_CC_CATCH_UNDEFINED_BEHAVIOR_FALSE 779HAS_CC_CATCH_UNDEFINED_BEHAVIOR_TRUE 780HAS_CC_ADDRESS_SANITIZER_CHECK 781HAS_CC_ADDRESS_SANITIZER_CHECK_FALSE 782HAS_CC_ADDRESS_SANITIZER_CHECK_TRUE 783HAS_CC_NO_OMIT_FRAME_POINTER 784HAS_CC_NO_OMIT_FRAME_POINTER_FALSE 785HAS_CC_NO_OMIT_FRAME_POINTER_TRUE 786HAS_CC_SANITIZE_ADDRESS 787HAS_CC_SANITIZE_ADDRESS_FALSE 788HAS_CC_SANITIZE_ADDRESS_TRUE 789HAS_CC_MISSING_FIELD_INITIALIZERS 790HAS_CC_MISSING_FIELD_INITIALIZERS_FALSE 791HAS_CC_MISSING_FIELD_INITIALIZERS_TRUE 792HAS_CC_EXCEPTIONS 793HAS_CC_EXCEPTIONS_FALSE 794HAS_CC_EXCEPTIONS_TRUE 795HAS_CC_STACK_PROTECTOR 796HAS_CC_STACK_PROTECTOR_FALSE 797HAS_CC_STACK_PROTECTOR_TRUE 798HAS_CC_DWARF4 799HAS_CC_DWARF4_FALSE 800HAS_CC_DWARF4_TRUE 801HAS_CC_DWARF3 802HAS_CC_DWARF3_FALSE 803HAS_CC_DWARF3_TRUE 804HAS_CC_DWARF2 805HAS_CC_DWARF2_FALSE 806HAS_CC_DWARF2_TRUE 807HAS_CC_G3 808HAS_CC_G3_FALSE 809HAS_CC_G3_TRUE 810HAS_CC_G 811HAS_CC_G_FALSE 812HAS_CC_G_TRUE 813HAS_CC_WALL 814HAS_CC_WALL_FALSE 815HAS_CC_WALL_TRUE 816HAS_CC_M64 817HAS_CC_M64_FALSE 818HAS_CC_M64_TRUE 819HAS_CC_M32 820HAS_CC_M32_FALSE 821HAS_CC_M32_TRUE 822HAS_CC_XC99 823HAS_CC_XC99_FALSE 824HAS_CC_XC99_TRUE 825HAS_CC_STD_C99 826HAS_CC_STD_C99_FALSE 827HAS_CC_STD_C99_TRUE 828HAS_CC_STD_GNU99 829HAS_CC_STD_GNU99_FALSE 830HAS_CC_STD_GNU99_TRUE 831HAS_CC_STD_C11 832HAS_CC_STD_C11_FALSE 833HAS_CC_STD_C11_TRUE 834HAS_CC_STD_GNU11 835HAS_CC_STD_GNU11_FALSE 836HAS_CC_STD_GNU11_TRUE 837HAS_CC_PEDANTIC 838HAS_CC_PEDANTIC_FALSE 839HAS_CC_PEDANTIC_TRUE 840HAS_CC_ANSI_ALIAS 841HAS_CC_ANSI_ALIAS_FALSE 842HAS_CC_ANSI_ALIAS_TRUE 843HAS_CC_ANSI 844HAS_CC_ANSI_FALSE 845HAS_CC_ANSI_TRUE 846HAS_CC_NO_IDENT 847HAS_CC_NO_IDENT_FALSE 848HAS_CC_NO_IDENT_TRUE 849HAS_CC_TUNE_NATIVE 850HAS_CC_TUNE_NATIVE_FALSE 851HAS_CC_TUNE_NATIVE_TRUE 852CCOPTIMISATIONFLAGS 853USES_UNKNOWN_FALSE 854USES_UNKNOWN_TRUE 855USES_SUNC_FALSE 856USES_SUNC_TRUE 857USES_CLANG_FALSE 858USES_CLANG_TRUE 859USES_GCC_FALSE 860USES_GCC_TRUE 861USES_ICC_FALSE 862USES_ICC_TRUE 863FORCE64BITS_FALSE 864FORCE64BITS_TRUE 865FORCE32BITS_FALSE 866FORCE32BITS_TRUE 867HAS_CPU_NIAGARA_FALSE 868HAS_CPU_NIAGARA_TRUE 869HAS_CPU_AMDINTEL_FALSE 870HAS_CPU_AMDINTEL_TRUE 871IS_SOLARIS_FAMILY 872IS_SOLARIS_FAMILY_FALSE 873IS_SOLARIS_FAMILY_TRUE 874IS_LINUX_FAMILY 875IS_LINUX_FAMILY_FALSE 876IS_LINUX_FAMILY_TRUE 877IS_BSD_FAMILY 878IS_BSD_FAMILY_FALSE 879IS_BSD_FAMILY_TRUE 880IS_DARWIN_GE14 881IS_DARWIN_OS 882IS_DARWIN_GE14_FALSE 883IS_DARWIN_GE14_TRUE 884IS_DARWIN_OS_FALSE 885IS_DARWIN_OS_TRUE 886CXXCPP 887am__fastdepCXX_FALSE 888am__fastdepCXX_TRUE 889CXXDEPMODE 890ac_ct_CXX 891CXXFLAGS 892CXX 893LIBOBJS 894CPP 895OTOOL64 896OTOOL 897LIPO 898NMEDIT 899DSYMUTIL 900MANIFEST_TOOL 901RANLIB 902DLLTOOL 903OBJDUMP 904LN_S 905NM 906ac_ct_DUMPBIN 907DUMPBIN 908LD 909FGREP 910EGREP 911GREP 912SED 913host_os 914host_vendor 915host_cpu 916host 917build_os 918build_vendor 919build_cpu 920build 921LIBTOOL 922am__fastdepCC_FALSE 923am__fastdepCC_TRUE 924CCDEPMODE 925am__nodep 926AMDEPBACKSLASH 927AMDEP_FALSE 928AMDEP_TRUE 929am__quote 930am__include 931DEPDIR 932OBJEXT 933EXEEXT 934ac_ct_CC 935CPPFLAGS 936LDFLAGS 937CFLAGS 938CC 939ac_ct_AR 940AR 941AM_BACKSLASH 942AM_DEFAULT_VERBOSITY 943AM_DEFAULT_V 944AM_V 945am__untar 946am__tar 947AMTAR 948am__leading_dot 949SET_MAKE 950AWK 951mkdir_p 952MKDIR_P 953INSTALL_STRIP_PROGRAM 954STRIP 955install_sh 956MAKEINFO 957AUTOHEADER 958AUTOMAKE 959AUTOCONF 960ACLOCAL 961VERSION 962PACKAGE 963CYGPATH_W 964am__isrc 965INSTALL_DATA 966INSTALL_SCRIPT 967INSTALL_PROGRAM 968HAS_DNSSEC_TOOLS 969HAS_DNSSEC_TOOLS_FALSE 970HAS_DNSSEC_TOOLS_TRUE 971HAS_YADIFA 972HAS_YADIFA_FALSE 973HAS_YADIFA_TRUE 974HAS_CLOSE_EX_REF 975HAS_CLOSE_EX_REF_FALSE 976HAS_CLOSE_EX_REF_TRUE 977HAS_BUILD_TIMESTAMP 978HAS_BUILD_TIMESTAMP_FALSE 979HAS_BUILD_TIMESTAMP_TRUE 980target_alias 981host_alias 982build_alias 983LIBS 984ECHO_T 985ECHO_N 986ECHO_C 987DEFS 988mandir 989localedir 990libdir 991psdir 992pdfdir 993dvidir 994htmldir 995infodir 996docdir 997oldincludedir 998includedir 999localstatedir 1000sharedstatedir 1001sysconfdir 1002datadir 1003datarootdir 1004libexecdir 1005sbindir 1006bindir 1007program_transform_name 1008prefix 1009exec_prefix 1010PACKAGE_URL 1011PACKAGE_BUGREPORT 1012PACKAGE_STRING 1013PACKAGE_VERSION 1014PACKAGE_TARNAME 1015PACKAGE_NAME 1016PATH_SEPARATOR 1017SHELL' 1018ac_subst_files='' 1019ac_user_opts=' 1020enable_option_checking 1021enable_build_timestamp 1022enable_fd_close_debug 1023enable_yadifa 1024enable_dnssec_tools 1025enable_silent_rules 1026enable_dependency_tracking 1027enable_shared 1028enable_static 1029with_pic 1030enable_fast_install 1031with_gnu_ld 1032with_sysroot 1033enable_libtool_lock 1034enable_largefile 1035enable_force32bits 1036enable_force64bits 1037with_openssl_lib 1038with_openssl_include 1039with_openssl 1040enable_rrl 1041enable_master 1042enable_ctrl 1043enable_keygen 1044enable_nsid 1045enable_dynupdate 1046enable_rrsig_management 1047enable_zalloc 1048enable_zalloc_statistics 1049enable_zalloc_debug 1050enable_malloc_debug 1051enable_libc_malloc_debug 1052enable_bfd_debug 1053enable_mutex_debug 1054enable_lock_debug 1055enable_track_zones_debug 1056enable_log_thread_id 1057enable_log_thread_tag 1058enable_log_pid 1059enable_full_ascii7 1060enable_ecdsa 1061enable_EDDSA 1062enable_systemd_resolved_avoidance 1063enable_non_aa_axfr_support 1064enable_event_dynamic_module 1065with_logdir 1066enable_lto 1067with_tests 1068with_tools 1069' 1070 ac_precious_vars='build_alias 1071host_alias 1072target_alias 1073CC 1074CFLAGS 1075LDFLAGS 1076LIBS 1077CPPFLAGS 1078CPP 1079CXX 1080CXXFLAGS 1081CCC 1082CXXCPP' 1083 1084 1085# Initialize some variables set by options. 1086ac_init_help= 1087ac_init_version=false 1088ac_unrecognized_opts= 1089ac_unrecognized_sep= 1090# The variables have the same names as the options, with 1091# dashes changed to underlines. 1092cache_file=/dev/null 1093exec_prefix=NONE 1094no_create= 1095no_recursion= 1096prefix=NONE 1097program_prefix=NONE 1098program_suffix=NONE 1099program_transform_name=s,x,x, 1100silent= 1101site= 1102srcdir= 1103verbose= 1104x_includes=NONE 1105x_libraries=NONE 1106 1107# Installation directory options. 1108# These are left unexpanded so users can "make install exec_prefix=/foo" 1109# and all the variables that are supposed to be based on exec_prefix 1110# by default will actually change. 1111# Use braces instead of parens because sh, perl, etc. also accept them. 1112# (The list follows the same order as the GNU Coding Standards.) 1113bindir='${exec_prefix}/bin' 1114sbindir='${exec_prefix}/sbin' 1115libexecdir='${exec_prefix}/libexec' 1116datarootdir='${prefix}/share' 1117datadir='${datarootdir}' 1118sysconfdir='${prefix}/etc' 1119sharedstatedir='${prefix}/com' 1120localstatedir='${prefix}/var' 1121includedir='${prefix}/include' 1122oldincludedir='/usr/include' 1123docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1124infodir='${datarootdir}/info' 1125htmldir='${docdir}' 1126dvidir='${docdir}' 1127pdfdir='${docdir}' 1128psdir='${docdir}' 1129libdir='${exec_prefix}/lib' 1130localedir='${datarootdir}/locale' 1131mandir='${datarootdir}/man' 1132 1133ac_prev= 1134ac_dashdash= 1135for ac_option 1136do 1137 # If the previous option needs an argument, assign it. 1138 if test -n "$ac_prev"; then 1139 eval $ac_prev=\$ac_option 1140 ac_prev= 1141 continue 1142 fi 1143 1144 case $ac_option in 1145 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1146 *=) ac_optarg= ;; 1147 *) ac_optarg=yes ;; 1148 esac 1149 1150 # Accept the important Cygnus configure options, so we can diagnose typos. 1151 1152 case $ac_dashdash$ac_option in 1153 --) 1154 ac_dashdash=yes ;; 1155 1156 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1157 ac_prev=bindir ;; 1158 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1159 bindir=$ac_optarg ;; 1160 1161 -build | --build | --buil | --bui | --bu) 1162 ac_prev=build_alias ;; 1163 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1164 build_alias=$ac_optarg ;; 1165 1166 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1167 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1168 ac_prev=cache_file ;; 1169 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1170 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1171 cache_file=$ac_optarg ;; 1172 1173 --config-cache | -C) 1174 cache_file=config.cache ;; 1175 1176 -datadir | --datadir | --datadi | --datad) 1177 ac_prev=datadir ;; 1178 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1179 datadir=$ac_optarg ;; 1180 1181 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1182 | --dataroo | --dataro | --datar) 1183 ac_prev=datarootdir ;; 1184 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1185 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1186 datarootdir=$ac_optarg ;; 1187 1188 -disable-* | --disable-*) 1189 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1190 # Reject names that are not valid shell variable names. 1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1192 as_fn_error $? "invalid feature name: $ac_useropt" 1193 ac_useropt_orig=$ac_useropt 1194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1195 case $ac_user_opts in 1196 *" 1197"enable_$ac_useropt" 1198"*) ;; 1199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1200 ac_unrecognized_sep=', ';; 1201 esac 1202 eval enable_$ac_useropt=no ;; 1203 1204 -docdir | --docdir | --docdi | --doc | --do) 1205 ac_prev=docdir ;; 1206 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1207 docdir=$ac_optarg ;; 1208 1209 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1210 ac_prev=dvidir ;; 1211 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1212 dvidir=$ac_optarg ;; 1213 1214 -enable-* | --enable-*) 1215 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1216 # Reject names that are not valid shell variable names. 1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1218 as_fn_error $? "invalid feature name: $ac_useropt" 1219 ac_useropt_orig=$ac_useropt 1220 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1221 case $ac_user_opts in 1222 *" 1223"enable_$ac_useropt" 1224"*) ;; 1225 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1226 ac_unrecognized_sep=', ';; 1227 esac 1228 eval enable_$ac_useropt=\$ac_optarg ;; 1229 1230 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1231 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1232 | --exec | --exe | --ex) 1233 ac_prev=exec_prefix ;; 1234 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1235 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1236 | --exec=* | --exe=* | --ex=*) 1237 exec_prefix=$ac_optarg ;; 1238 1239 -gas | --gas | --ga | --g) 1240 # Obsolete; use --with-gas. 1241 with_gas=yes ;; 1242 1243 -help | --help | --hel | --he | -h) 1244 ac_init_help=long ;; 1245 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1246 ac_init_help=recursive ;; 1247 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1248 ac_init_help=short ;; 1249 1250 -host | --host | --hos | --ho) 1251 ac_prev=host_alias ;; 1252 -host=* | --host=* | --hos=* | --ho=*) 1253 host_alias=$ac_optarg ;; 1254 1255 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1256 ac_prev=htmldir ;; 1257 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1258 | --ht=*) 1259 htmldir=$ac_optarg ;; 1260 1261 -includedir | --includedir | --includedi | --included | --include \ 1262 | --includ | --inclu | --incl | --inc) 1263 ac_prev=includedir ;; 1264 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1265 | --includ=* | --inclu=* | --incl=* | --inc=*) 1266 includedir=$ac_optarg ;; 1267 1268 -infodir | --infodir | --infodi | --infod | --info | --inf) 1269 ac_prev=infodir ;; 1270 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1271 infodir=$ac_optarg ;; 1272 1273 -libdir | --libdir | --libdi | --libd) 1274 ac_prev=libdir ;; 1275 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1276 libdir=$ac_optarg ;; 1277 1278 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1279 | --libexe | --libex | --libe) 1280 ac_prev=libexecdir ;; 1281 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1282 | --libexe=* | --libex=* | --libe=*) 1283 libexecdir=$ac_optarg ;; 1284 1285 -localedir | --localedir | --localedi | --localed | --locale) 1286 ac_prev=localedir ;; 1287 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1288 localedir=$ac_optarg ;; 1289 1290 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1291 | --localstate | --localstat | --localsta | --localst | --locals) 1292 ac_prev=localstatedir ;; 1293 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1294 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1295 localstatedir=$ac_optarg ;; 1296 1297 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1298 ac_prev=mandir ;; 1299 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1300 mandir=$ac_optarg ;; 1301 1302 -nfp | --nfp | --nf) 1303 # Obsolete; use --without-fp. 1304 with_fp=no ;; 1305 1306 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1307 | --no-cr | --no-c | -n) 1308 no_create=yes ;; 1309 1310 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1311 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1312 no_recursion=yes ;; 1313 1314 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1315 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1316 | --oldin | --oldi | --old | --ol | --o) 1317 ac_prev=oldincludedir ;; 1318 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1319 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1320 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1321 oldincludedir=$ac_optarg ;; 1322 1323 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1324 ac_prev=prefix ;; 1325 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1326 prefix=$ac_optarg ;; 1327 1328 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1329 | --program-pre | --program-pr | --program-p) 1330 ac_prev=program_prefix ;; 1331 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1332 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1333 program_prefix=$ac_optarg ;; 1334 1335 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1336 | --program-suf | --program-su | --program-s) 1337 ac_prev=program_suffix ;; 1338 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1339 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1340 program_suffix=$ac_optarg ;; 1341 1342 -program-transform-name | --program-transform-name \ 1343 | --program-transform-nam | --program-transform-na \ 1344 | --program-transform-n | --program-transform- \ 1345 | --program-transform | --program-transfor \ 1346 | --program-transfo | --program-transf \ 1347 | --program-trans | --program-tran \ 1348 | --progr-tra | --program-tr | --program-t) 1349 ac_prev=program_transform_name ;; 1350 -program-transform-name=* | --program-transform-name=* \ 1351 | --program-transform-nam=* | --program-transform-na=* \ 1352 | --program-transform-n=* | --program-transform-=* \ 1353 | --program-transform=* | --program-transfor=* \ 1354 | --program-transfo=* | --program-transf=* \ 1355 | --program-trans=* | --program-tran=* \ 1356 | --progr-tra=* | --program-tr=* | --program-t=*) 1357 program_transform_name=$ac_optarg ;; 1358 1359 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1360 ac_prev=pdfdir ;; 1361 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1362 pdfdir=$ac_optarg ;; 1363 1364 -psdir | --psdir | --psdi | --psd | --ps) 1365 ac_prev=psdir ;; 1366 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1367 psdir=$ac_optarg ;; 1368 1369 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1370 | -silent | --silent | --silen | --sile | --sil) 1371 silent=yes ;; 1372 1373 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1374 ac_prev=sbindir ;; 1375 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1376 | --sbi=* | --sb=*) 1377 sbindir=$ac_optarg ;; 1378 1379 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1380 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1381 | --sharedst | --shareds | --shared | --share | --shar \ 1382 | --sha | --sh) 1383 ac_prev=sharedstatedir ;; 1384 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1385 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1386 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1387 | --sha=* | --sh=*) 1388 sharedstatedir=$ac_optarg ;; 1389 1390 -site | --site | --sit) 1391 ac_prev=site ;; 1392 -site=* | --site=* | --sit=*) 1393 site=$ac_optarg ;; 1394 1395 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1396 ac_prev=srcdir ;; 1397 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1398 srcdir=$ac_optarg ;; 1399 1400 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1401 | --syscon | --sysco | --sysc | --sys | --sy) 1402 ac_prev=sysconfdir ;; 1403 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1404 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1405 sysconfdir=$ac_optarg ;; 1406 1407 -target | --target | --targe | --targ | --tar | --ta | --t) 1408 ac_prev=target_alias ;; 1409 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1410 target_alias=$ac_optarg ;; 1411 1412 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1413 verbose=yes ;; 1414 1415 -version | --version | --versio | --versi | --vers | -V) 1416 ac_init_version=: ;; 1417 1418 -with-* | --with-*) 1419 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1420 # Reject names that are not valid shell variable names. 1421 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1422 as_fn_error $? "invalid package name: $ac_useropt" 1423 ac_useropt_orig=$ac_useropt 1424 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1425 case $ac_user_opts in 1426 *" 1427"with_$ac_useropt" 1428"*) ;; 1429 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1430 ac_unrecognized_sep=', ';; 1431 esac 1432 eval with_$ac_useropt=\$ac_optarg ;; 1433 1434 -without-* | --without-*) 1435 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1436 # Reject names that are not valid shell variable names. 1437 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1438 as_fn_error $? "invalid package name: $ac_useropt" 1439 ac_useropt_orig=$ac_useropt 1440 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1441 case $ac_user_opts in 1442 *" 1443"with_$ac_useropt" 1444"*) ;; 1445 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1446 ac_unrecognized_sep=', ';; 1447 esac 1448 eval with_$ac_useropt=no ;; 1449 1450 --x) 1451 # Obsolete; use --with-x. 1452 with_x=yes ;; 1453 1454 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1455 | --x-incl | --x-inc | --x-in | --x-i) 1456 ac_prev=x_includes ;; 1457 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1458 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1459 x_includes=$ac_optarg ;; 1460 1461 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1462 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1463 ac_prev=x_libraries ;; 1464 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1465 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1466 x_libraries=$ac_optarg ;; 1467 1468 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1469Try \`$0 --help' for more information" 1470 ;; 1471 1472 *=*) 1473 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1474 # Reject names that are not valid shell variable names. 1475 case $ac_envvar in #( 1476 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1477 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1478 esac 1479 eval $ac_envvar=\$ac_optarg 1480 export $ac_envvar ;; 1481 1482 *) 1483 # FIXME: should be removed in autoconf 3.0. 1484 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1485 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1486 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1487 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1488 ;; 1489 1490 esac 1491done 1492 1493if test -n "$ac_prev"; then 1494 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1495 as_fn_error $? "missing argument to $ac_option" 1496fi 1497 1498if test -n "$ac_unrecognized_opts"; then 1499 case $enable_option_checking in 1500 no) ;; 1501 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1502 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1503 esac 1504fi 1505 1506# Check all directory arguments for consistency. 1507for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1508 datadir sysconfdir sharedstatedir localstatedir includedir \ 1509 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1510 libdir localedir mandir 1511do 1512 eval ac_val=\$$ac_var 1513 # Remove trailing slashes. 1514 case $ac_val in 1515 */ ) 1516 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1517 eval $ac_var=\$ac_val;; 1518 esac 1519 # Be sure to have absolute directory names. 1520 case $ac_val in 1521 [\\/$]* | ?:[\\/]* ) continue;; 1522 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1523 esac 1524 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1525done 1526 1527# There might be people who depend on the old broken behavior: `$host' 1528# used to hold the argument of --host etc. 1529# FIXME: To remove some day. 1530build=$build_alias 1531host=$host_alias 1532target=$target_alias 1533 1534# FIXME: To remove some day. 1535if test "x$host_alias" != x; then 1536 if test "x$build_alias" = x; then 1537 cross_compiling=maybe 1538 elif test "x$build_alias" != "x$host_alias"; then 1539 cross_compiling=yes 1540 fi 1541fi 1542 1543ac_tool_prefix= 1544test -n "$host_alias" && ac_tool_prefix=$host_alias- 1545 1546test "$silent" = yes && exec 6>/dev/null 1547 1548 1549ac_pwd=`pwd` && test -n "$ac_pwd" && 1550ac_ls_di=`ls -di .` && 1551ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1552 as_fn_error $? "working directory cannot be determined" 1553test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1554 as_fn_error $? "pwd does not report name of working directory" 1555 1556 1557# Find the source files, if location was not specified. 1558if test -z "$srcdir"; then 1559 ac_srcdir_defaulted=yes 1560 # Try the directory containing this script, then the parent directory. 1561 ac_confdir=`$as_dirname -- "$as_myself" || 1562$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1563 X"$as_myself" : 'X\(//\)[^/]' \| \ 1564 X"$as_myself" : 'X\(//\)$' \| \ 1565 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1566$as_echo X"$as_myself" | 1567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1568 s//\1/ 1569 q 1570 } 1571 /^X\(\/\/\)[^/].*/{ 1572 s//\1/ 1573 q 1574 } 1575 /^X\(\/\/\)$/{ 1576 s//\1/ 1577 q 1578 } 1579 /^X\(\/\).*/{ 1580 s//\1/ 1581 q 1582 } 1583 s/.*/./; q'` 1584 srcdir=$ac_confdir 1585 if test ! -r "$srcdir/$ac_unique_file"; then 1586 srcdir=.. 1587 fi 1588else 1589 ac_srcdir_defaulted=no 1590fi 1591if test ! -r "$srcdir/$ac_unique_file"; then 1592 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1593 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1594fi 1595ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1596ac_abs_confdir=`( 1597 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1598 pwd)` 1599# When building in place, set srcdir=. 1600if test "$ac_abs_confdir" = "$ac_pwd"; then 1601 srcdir=. 1602fi 1603# Remove unnecessary trailing slashes from srcdir. 1604# Double slashes in file names in object file debugging info 1605# mess up M-x gdb in Emacs. 1606case $srcdir in 1607*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1608esac 1609for ac_var in $ac_precious_vars; do 1610 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1611 eval ac_env_${ac_var}_value=\$${ac_var} 1612 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1613 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1614done 1615 1616# 1617# Report the --help message. 1618# 1619if test "$ac_init_help" = "long"; then 1620 # Omit some internal or obsolete options to make the list less imposing. 1621 # This message is too long to be a string in the A/UX 3.1 sh. 1622 cat <<_ACEOF 1623\`configure' configures yadifa 2.5.3-10333 to adapt to many kinds of systems. 1624 1625Usage: $0 [OPTION]... [VAR=VALUE]... 1626 1627To assign environment variables (e.g., CC, CFLAGS...), specify them as 1628VAR=VALUE. See below for descriptions of some of the useful variables. 1629 1630Defaults for the options are specified in brackets. 1631 1632Configuration: 1633 -h, --help display this help and exit 1634 --help=short display options specific to this package 1635 --help=recursive display the short help of all the included packages 1636 -V, --version display version information and exit 1637 -q, --quiet, --silent do not print \`checking ...' messages 1638 --cache-file=FILE cache test results in FILE [disabled] 1639 -C, --config-cache alias for \`--cache-file=config.cache' 1640 -n, --no-create do not create output files 1641 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1642 1643Installation directories: 1644 --prefix=PREFIX install architecture-independent files in PREFIX 1645 [$ac_default_prefix] 1646 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1647 [PREFIX] 1648 1649By default, \`make install' will install all the files in 1650\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1651an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1652for instance \`--prefix=\$HOME'. 1653 1654For better control, use the options below. 1655 1656Fine tuning of the installation directories: 1657 --bindir=DIR user executables [EPREFIX/bin] 1658 --sbindir=DIR system admin executables [EPREFIX/sbin] 1659 --libexecdir=DIR program executables [EPREFIX/libexec] 1660 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1661 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1662 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1663 --libdir=DIR object code libraries [EPREFIX/lib] 1664 --includedir=DIR C header files [PREFIX/include] 1665 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1666 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1667 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1668 --infodir=DIR info documentation [DATAROOTDIR/info] 1669 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1670 --mandir=DIR man documentation [DATAROOTDIR/man] 1671 --docdir=DIR documentation root [DATAROOTDIR/doc/yadifa] 1672 --htmldir=DIR html documentation [DOCDIR] 1673 --dvidir=DIR dvi documentation [DOCDIR] 1674 --pdfdir=DIR pdf documentation [DOCDIR] 1675 --psdir=DIR ps documentation [DOCDIR] 1676_ACEOF 1677 1678 cat <<\_ACEOF 1679 1680Program names: 1681 --program-prefix=PREFIX prepend PREFIX to installed program names 1682 --program-suffix=SUFFIX append SUFFIX to installed program names 1683 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1684 1685System types: 1686 --build=BUILD configure for building on BUILD [guessed] 1687 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1688_ACEOF 1689fi 1690 1691if test -n "$ac_init_help"; then 1692 case $ac_init_help in 1693 short | recursive ) echo "Configuration of yadifa 2.5.3-10333:";; 1694 esac 1695 cat <<\_ACEOF 1696 1697Optional Features: 1698 --disable-option-checking ignore unrecognized --enable/--with options 1699 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1700 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1701 --disable-build-timestamp 1702 Disable Disable timestamps in the build 1703 --enable-fd-close-debug 1704 Enable close_ex(fd) to change the value of fd to 1705 detect double-closes issues (debug) 1706 --disable-yadifa 1707 Disable controller for yadifad 1708 --disable-dnssec-tools 1709 Disable DNSSEC module for yadifa 1710 --enable-silent-rules less verbose build output (undo: "make V=1") 1711 --disable-silent-rules verbose build output (undo: "make V=0") 1712 --enable-dependency-tracking 1713 do not reject slow dependency extractors 1714 --disable-dependency-tracking 1715 speeds up one-time build 1716 --enable-shared[=PKGS] build shared libraries [default=no] 1717 --enable-static[=PKGS] build static libraries [default=yes] 1718 --enable-fast-install[=PKGS] 1719 optimize for fast installation [default=yes] 1720 --disable-libtool-lock avoid locking (might break parallel builds) 1721 --disable-largefile omit support for large files 1722 --enable-force32bits Forces a 32 bits binary compilation 1723 --enable-force64bits Forces a 64 bits binary compilation 1724 --disable-rrl 1725 Disable DNS Response Rate Limiter 1726 --disable-master 1727 Disable DNS master 1728 --disable-ctrl 1729 Disable yadifa ctrl remote control tool 1730 --enable-keygen 1731 Enable yadifa keygen tool 1732 --disable-nsid 1733 Disable NSID support 1734 --disable-dynupdate 1735 Disable dynamic update support 1736 --disable-rrsig-management 1737 Disable RRSIG verification and generation for zones 1738 --disable-zalloc 1739 Disable zalloc memory system 1740 --enable-zalloc-statistics 1741 Enable zalloc statistics support 1742 --enable-zalloc-debug 1743 Enable zalloc debug support for yadifa objects 1744 --enable-malloc-debug 1745 Enable malloc debug support for yadifa objects 1746 --enable-libc-malloc-debug 1747 Enable libc malloc debug support monitors 1748 program-wide allocations 1749 --enable-bfd-debug 1750 Enable bfd debug support 1751 --enable-mutex-debug 1752 Enable mutex debug support 1753 --enable-lock-debug 1754 Enable zone lock debug support 1755 --enable-track-zones-debug 1756 Enable tracking of the instanciated zones for 1757 detecting potential leaks. Relatively cheap with a 1758 small (<100) amount of zones. 1759 --enable-log-thread-id 1760 Enable a column with an alphanumeric id consistent 1761 in the lowest 32 bits of a thread id in each log 1762 line 1763 --disable-log-thread-tag 1764 Disable a column with a 8 letters human-readable tag 1765 identifying a thread in each log line 1766 --disable-log-pid 1767 Disable a column with the pid in each line of log 1768 --enable-full-ascii7 1769 Enable acceptance of ASCII7 characters in DNS names 1770 (not recommended) 1771 --disable-ecdsa 1772 Disable Elliptic Curve (ECDSA) support (Use this if 1773 the available SSL library does not support it 1774 properly) 1775 --disable-eddsa 1776 --enable-systemd-resolved-avoidance 1777 Enable to set do-not-listen to "127.0.0.53 port 53" 1778 by default (otherwise the list is empty by default) 1779 --enable-non-aa-axfr-support 1780 Enable defaults axfr-strict-authority to no. Lenient 1781 acceptance of AXFR answer from master that do not 1782 have AA bit by default (Microsoft DNS) 1783 --enable-event-dynamic-module 1784 Enable Adds support for dynamically loaded module 1785 that gets events from yadifad and is allowed to 1786 fetch some information 1787 --enable-lto Enable LTO support, requires gold linker 1788 1789Optional Packages: 1790 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1791 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1792 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1793 both] 1794 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1795 --with-sysroot=DIR Search for dependent libraries within DIR 1796 (or the compiler's sysroot if not specified). 1797 --with-openssl-lib=DIR the openssl library from directory DIR 1798 --with-openssl-include=DIR 1799 the openssl headers from directory DIR 1800 --with-openssl=DIR the openssl from directory DIR 1801 --with-logdir 1802 With the log file directory set to this 1803 --without-tests 1804 Without various internal test programs 1805 --without-tools 1806 Without provided DNS-related tools 1807 1808Some influential environment variables: 1809 CC C compiler command 1810 CFLAGS C compiler flags 1811 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1812 nonstandard directory <lib dir> 1813 LIBS libraries to pass to the linker, e.g. -l<library> 1814 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1815 you have headers in a nonstandard directory <include dir> 1816 CPP C preprocessor 1817 CXX C++ compiler command 1818 CXXFLAGS C++ compiler flags 1819 CXXCPP C++ preprocessor 1820 1821Use these variables to override the choices made by `configure' or to help 1822it to find libraries and programs with nonstandard names/locations. 1823 1824Report bugs to <info@yadifa.eu>. 1825_ACEOF 1826ac_status=$? 1827fi 1828 1829if test "$ac_init_help" = "recursive"; then 1830 # If there are subdirs, report their specific --help. 1831 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1832 test -d "$ac_dir" || 1833 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1834 continue 1835 ac_builddir=. 1836 1837case "$ac_dir" in 1838.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1839*) 1840 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1841 # A ".." for each directory in $ac_dir_suffix. 1842 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1843 case $ac_top_builddir_sub in 1844 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1845 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1846 esac ;; 1847esac 1848ac_abs_top_builddir=$ac_pwd 1849ac_abs_builddir=$ac_pwd$ac_dir_suffix 1850# for backward compatibility: 1851ac_top_builddir=$ac_top_build_prefix 1852 1853case $srcdir in 1854 .) # We are building in place. 1855 ac_srcdir=. 1856 ac_top_srcdir=$ac_top_builddir_sub 1857 ac_abs_top_srcdir=$ac_pwd ;; 1858 [\\/]* | ?:[\\/]* ) # Absolute name. 1859 ac_srcdir=$srcdir$ac_dir_suffix; 1860 ac_top_srcdir=$srcdir 1861 ac_abs_top_srcdir=$srcdir ;; 1862 *) # Relative name. 1863 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1864 ac_top_srcdir=$ac_top_build_prefix$srcdir 1865 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1866esac 1867ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1868 1869 cd "$ac_dir" || { ac_status=$?; continue; } 1870 # Check for guested configure. 1871 if test -f "$ac_srcdir/configure.gnu"; then 1872 echo && 1873 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1874 elif test -f "$ac_srcdir/configure"; then 1875 echo && 1876 $SHELL "$ac_srcdir/configure" --help=recursive 1877 else 1878 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1879 fi || ac_status=$? 1880 cd "$ac_pwd" || { ac_status=$?; break; } 1881 done 1882fi 1883 1884test -n "$ac_init_help" && exit $ac_status 1885if $ac_init_version; then 1886 cat <<\_ACEOF 1887yadifa configure 2.5.3-10333 1888generated by GNU Autoconf 2.69 1889 1890Copyright (C) 2012 Free Software Foundation, Inc. 1891This configure script is free software; the Free Software Foundation 1892gives unlimited permission to copy, distribute and modify it. 1893_ACEOF 1894 exit 1895fi 1896 1897## ------------------------ ## 1898## Autoconf initialization. ## 1899## ------------------------ ## 1900 1901# ac_fn_c_try_compile LINENO 1902# -------------------------- 1903# Try to compile conftest.$ac_ext, and return whether this succeeded. 1904ac_fn_c_try_compile () 1905{ 1906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1907 rm -f conftest.$ac_objext 1908 if { { ac_try="$ac_compile" 1909case "(($ac_try" in 1910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1911 *) ac_try_echo=$ac_try;; 1912esac 1913eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1914$as_echo "$ac_try_echo"; } >&5 1915 (eval "$ac_compile") 2>conftest.err 1916 ac_status=$? 1917 if test -s conftest.err; then 1918 grep -v '^ *+' conftest.err >conftest.er1 1919 cat conftest.er1 >&5 1920 mv -f conftest.er1 conftest.err 1921 fi 1922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1923 test $ac_status = 0; } && { 1924 test -z "$ac_c_werror_flag" || 1925 test ! -s conftest.err 1926 } && test -s conftest.$ac_objext; then : 1927 ac_retval=0 1928else 1929 $as_echo "$as_me: failed program was:" >&5 1930sed 's/^/| /' conftest.$ac_ext >&5 1931 1932 ac_retval=1 1933fi 1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1935 as_fn_set_status $ac_retval 1936 1937} # ac_fn_c_try_compile 1938 1939# ac_fn_c_try_link LINENO 1940# ----------------------- 1941# Try to link conftest.$ac_ext, and return whether this succeeded. 1942ac_fn_c_try_link () 1943{ 1944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1945 rm -f conftest.$ac_objext conftest$ac_exeext 1946 if { { ac_try="$ac_link" 1947case "(($ac_try" in 1948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1949 *) ac_try_echo=$ac_try;; 1950esac 1951eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1952$as_echo "$ac_try_echo"; } >&5 1953 (eval "$ac_link") 2>conftest.err 1954 ac_status=$? 1955 if test -s conftest.err; then 1956 grep -v '^ *+' conftest.err >conftest.er1 1957 cat conftest.er1 >&5 1958 mv -f conftest.er1 conftest.err 1959 fi 1960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1961 test $ac_status = 0; } && { 1962 test -z "$ac_c_werror_flag" || 1963 test ! -s conftest.err 1964 } && test -s conftest$ac_exeext && { 1965 test "$cross_compiling" = yes || 1966 test -x conftest$ac_exeext 1967 }; then : 1968 ac_retval=0 1969else 1970 $as_echo "$as_me: failed program was:" >&5 1971sed 's/^/| /' conftest.$ac_ext >&5 1972 1973 ac_retval=1 1974fi 1975 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1976 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1977 # interfere with the next link command; also delete a directory that is 1978 # left behind by Apple's compiler. We do this before executing the actions. 1979 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1981 as_fn_set_status $ac_retval 1982 1983} # ac_fn_c_try_link 1984 1985# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1986# ------------------------------------------------------- 1987# Tests whether HEADER exists and can be compiled using the include files in 1988# INCLUDES, setting the cache variable VAR accordingly. 1989ac_fn_c_check_header_compile () 1990{ 1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1993$as_echo_n "checking for $2... " >&6; } 1994if eval \${$3+:} false; then : 1995 $as_echo_n "(cached) " >&6 1996else 1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1998/* end confdefs.h. */ 1999$4 2000#include <$2> 2001_ACEOF 2002if ac_fn_c_try_compile "$LINENO"; then : 2003 eval "$3=yes" 2004else 2005 eval "$3=no" 2006fi 2007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2008fi 2009eval ac_res=\$$3 2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2011$as_echo "$ac_res" >&6; } 2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2013 2014} # ac_fn_c_check_header_compile 2015 2016# ac_fn_c_try_cpp LINENO 2017# ---------------------- 2018# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2019ac_fn_c_try_cpp () 2020{ 2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2022 if { { ac_try="$ac_cpp conftest.$ac_ext" 2023case "(($ac_try" in 2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2025 *) ac_try_echo=$ac_try;; 2026esac 2027eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2028$as_echo "$ac_try_echo"; } >&5 2029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2030 ac_status=$? 2031 if test -s conftest.err; then 2032 grep -v '^ *+' conftest.err >conftest.er1 2033 cat conftest.er1 >&5 2034 mv -f conftest.er1 conftest.err 2035 fi 2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2037 test $ac_status = 0; } > conftest.i && { 2038 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2039 test ! -s conftest.err 2040 }; then : 2041 ac_retval=0 2042else 2043 $as_echo "$as_me: failed program was:" >&5 2044sed 's/^/| /' conftest.$ac_ext >&5 2045 2046 ac_retval=1 2047fi 2048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2049 as_fn_set_status $ac_retval 2050 2051} # ac_fn_c_try_cpp 2052 2053# ac_fn_c_try_run LINENO 2054# ---------------------- 2055# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2056# that executables *can* be run. 2057ac_fn_c_try_run () 2058{ 2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2060 if { { ac_try="$ac_link" 2061case "(($ac_try" in 2062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2063 *) ac_try_echo=$ac_try;; 2064esac 2065eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2066$as_echo "$ac_try_echo"; } >&5 2067 (eval "$ac_link") 2>&5 2068 ac_status=$? 2069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2070 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2071 { { case "(($ac_try" in 2072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2073 *) ac_try_echo=$ac_try;; 2074esac 2075eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2076$as_echo "$ac_try_echo"; } >&5 2077 (eval "$ac_try") 2>&5 2078 ac_status=$? 2079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2080 test $ac_status = 0; }; }; then : 2081 ac_retval=0 2082else 2083 $as_echo "$as_me: program exited with status $ac_status" >&5 2084 $as_echo "$as_me: failed program was:" >&5 2085sed 's/^/| /' conftest.$ac_ext >&5 2086 2087 ac_retval=$ac_status 2088fi 2089 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2090 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2091 as_fn_set_status $ac_retval 2092 2093} # ac_fn_c_try_run 2094 2095# ac_fn_c_check_func LINENO FUNC VAR 2096# ---------------------------------- 2097# Tests whether FUNC exists, setting the cache variable VAR accordingly 2098ac_fn_c_check_func () 2099{ 2100 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2102$as_echo_n "checking for $2... " >&6; } 2103if eval \${$3+:} false; then : 2104 $as_echo_n "(cached) " >&6 2105else 2106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2107/* end confdefs.h. */ 2108/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2109 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2110#define $2 innocuous_$2 2111 2112/* System header to define __stub macros and hopefully few prototypes, 2113 which can conflict with char $2 (); below. 2114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2115 <limits.h> exists even on freestanding compilers. */ 2116 2117#ifdef __STDC__ 2118# include <limits.h> 2119#else 2120# include <assert.h> 2121#endif 2122 2123#undef $2 2124 2125/* Override any GCC internal prototype to avoid an error. 2126 Use char because int might match the return type of a GCC 2127 builtin and then its argument prototype would still apply. */ 2128#ifdef __cplusplus 2129extern "C" 2130#endif 2131char $2 (); 2132/* The GNU C library defines this for functions which it implements 2133 to always fail with ENOSYS. Some functions are actually named 2134 something starting with __ and the normal name is an alias. */ 2135#if defined __stub_$2 || defined __stub___$2 2136choke me 2137#endif 2138 2139int 2140main () 2141{ 2142return $2 (); 2143 ; 2144 return 0; 2145} 2146_ACEOF 2147if ac_fn_c_try_link "$LINENO"; then : 2148 eval "$3=yes" 2149else 2150 eval "$3=no" 2151fi 2152rm -f core conftest.err conftest.$ac_objext \ 2153 conftest$ac_exeext conftest.$ac_ext 2154fi 2155eval ac_res=\$$3 2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2157$as_echo "$ac_res" >&6; } 2158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2159 2160} # ac_fn_c_check_func 2161 2162# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2163# ------------------------------------------------------- 2164# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2165# the include files in INCLUDES and setting the cache variable VAR 2166# accordingly. 2167ac_fn_c_check_header_mongrel () 2168{ 2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2170 if eval \${$3+:} false; then : 2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2172$as_echo_n "checking for $2... " >&6; } 2173if eval \${$3+:} false; then : 2174 $as_echo_n "(cached) " >&6 2175fi 2176eval ac_res=\$$3 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2178$as_echo "$ac_res" >&6; } 2179else 2180 # Is the header compilable? 2181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2182$as_echo_n "checking $2 usability... " >&6; } 2183cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2184/* end confdefs.h. */ 2185$4 2186#include <$2> 2187_ACEOF 2188if ac_fn_c_try_compile "$LINENO"; then : 2189 ac_header_compiler=yes 2190else 2191 ac_header_compiler=no 2192fi 2193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2195$as_echo "$ac_header_compiler" >&6; } 2196 2197# Is the header present? 2198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2199$as_echo_n "checking $2 presence... " >&6; } 2200cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2201/* end confdefs.h. */ 2202#include <$2> 2203_ACEOF 2204if ac_fn_c_try_cpp "$LINENO"; then : 2205 ac_header_preproc=yes 2206else 2207 ac_header_preproc=no 2208fi 2209rm -f conftest.err conftest.i conftest.$ac_ext 2210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2211$as_echo "$ac_header_preproc" >&6; } 2212 2213# So? What about this header? 2214case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2215 yes:no: ) 2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2217$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2219$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2220 ;; 2221 no:yes:* ) 2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2223$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2225$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2227$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2229$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2231$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2232( $as_echo "## ----------------------------- ## 2233## Report this to info@yadifa.eu ## 2234## ----------------------------- ##" 2235 ) | sed "s/^/$as_me: WARNING: /" >&2 2236 ;; 2237esac 2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2239$as_echo_n "checking for $2... " >&6; } 2240if eval \${$3+:} false; then : 2241 $as_echo_n "(cached) " >&6 2242else 2243 eval "$3=\$ac_header_compiler" 2244fi 2245eval ac_res=\$$3 2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2247$as_echo "$ac_res" >&6; } 2248fi 2249 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2250 2251} # ac_fn_c_check_header_mongrel 2252 2253# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2254# ------------------------------------------- 2255# Tests whether TYPE exists after having included INCLUDES, setting cache 2256# variable VAR accordingly. 2257ac_fn_c_check_type () 2258{ 2259 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2261$as_echo_n "checking for $2... " >&6; } 2262if eval \${$3+:} false; then : 2263 $as_echo_n "(cached) " >&6 2264else 2265 eval "$3=no" 2266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2267/* end confdefs.h. */ 2268$4 2269int 2270main () 2271{ 2272if (sizeof ($2)) 2273 return 0; 2274 ; 2275 return 0; 2276} 2277_ACEOF 2278if ac_fn_c_try_compile "$LINENO"; then : 2279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2280/* end confdefs.h. */ 2281$4 2282int 2283main () 2284{ 2285if (sizeof (($2))) 2286 return 0; 2287 ; 2288 return 0; 2289} 2290_ACEOF 2291if ac_fn_c_try_compile "$LINENO"; then : 2292 2293else 2294 eval "$3=yes" 2295fi 2296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2297fi 2298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2299fi 2300eval ac_res=\$$3 2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2302$as_echo "$ac_res" >&6; } 2303 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2304 2305} # ac_fn_c_check_type 2306 2307# ac_fn_cxx_try_compile LINENO 2308# ---------------------------- 2309# Try to compile conftest.$ac_ext, and return whether this succeeded. 2310ac_fn_cxx_try_compile () 2311{ 2312 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2313 rm -f conftest.$ac_objext 2314 if { { ac_try="$ac_compile" 2315case "(($ac_try" in 2316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2317 *) ac_try_echo=$ac_try;; 2318esac 2319eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2320$as_echo "$ac_try_echo"; } >&5 2321 (eval "$ac_compile") 2>conftest.err 2322 ac_status=$? 2323 if test -s conftest.err; then 2324 grep -v '^ *+' conftest.err >conftest.er1 2325 cat conftest.er1 >&5 2326 mv -f conftest.er1 conftest.err 2327 fi 2328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2329 test $ac_status = 0; } && { 2330 test -z "$ac_cxx_werror_flag" || 2331 test ! -s conftest.err 2332 } && test -s conftest.$ac_objext; then : 2333 ac_retval=0 2334else 2335 $as_echo "$as_me: failed program was:" >&5 2336sed 's/^/| /' conftest.$ac_ext >&5 2337 2338 ac_retval=1 2339fi 2340 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2341 as_fn_set_status $ac_retval 2342 2343} # ac_fn_cxx_try_compile 2344 2345# ac_fn_cxx_try_cpp LINENO 2346# ------------------------ 2347# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2348ac_fn_cxx_try_cpp () 2349{ 2350 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2351 if { { ac_try="$ac_cpp conftest.$ac_ext" 2352case "(($ac_try" in 2353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2354 *) ac_try_echo=$ac_try;; 2355esac 2356eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2357$as_echo "$ac_try_echo"; } >&5 2358 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2359 ac_status=$? 2360 if test -s conftest.err; then 2361 grep -v '^ *+' conftest.err >conftest.er1 2362 cat conftest.er1 >&5 2363 mv -f conftest.er1 conftest.err 2364 fi 2365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2366 test $ac_status = 0; } > conftest.i && { 2367 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2368 test ! -s conftest.err 2369 }; then : 2370 ac_retval=0 2371else 2372 $as_echo "$as_me: failed program was:" >&5 2373sed 's/^/| /' conftest.$ac_ext >&5 2374 2375 ac_retval=1 2376fi 2377 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2378 as_fn_set_status $ac_retval 2379 2380} # ac_fn_cxx_try_cpp 2381 2382# ac_fn_cxx_try_link LINENO 2383# ------------------------- 2384# Try to link conftest.$ac_ext, and return whether this succeeded. 2385ac_fn_cxx_try_link () 2386{ 2387 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2388 rm -f conftest.$ac_objext conftest$ac_exeext 2389 if { { ac_try="$ac_link" 2390case "(($ac_try" in 2391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2392 *) ac_try_echo=$ac_try;; 2393esac 2394eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2395$as_echo "$ac_try_echo"; } >&5 2396 (eval "$ac_link") 2>conftest.err 2397 ac_status=$? 2398 if test -s conftest.err; then 2399 grep -v '^ *+' conftest.err >conftest.er1 2400 cat conftest.er1 >&5 2401 mv -f conftest.er1 conftest.err 2402 fi 2403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2404 test $ac_status = 0; } && { 2405 test -z "$ac_cxx_werror_flag" || 2406 test ! -s conftest.err 2407 } && test -s conftest$ac_exeext && { 2408 test "$cross_compiling" = yes || 2409 test -x conftest$ac_exeext 2410 }; then : 2411 ac_retval=0 2412else 2413 $as_echo "$as_me: failed program was:" >&5 2414sed 's/^/| /' conftest.$ac_ext >&5 2415 2416 ac_retval=1 2417fi 2418 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2419 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2420 # interfere with the next link command; also delete a directory that is 2421 # left behind by Apple's compiler. We do this before executing the actions. 2422 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2423 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2424 as_fn_set_status $ac_retval 2425 2426} # ac_fn_cxx_try_link 2427 2428# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2429# ---------------------------------------------------- 2430# Tries to find if the field MEMBER exists in type AGGR, after including 2431# INCLUDES, setting cache variable VAR accordingly. 2432ac_fn_c_check_member () 2433{ 2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2436$as_echo_n "checking for $2.$3... " >&6; } 2437if eval \${$4+:} false; then : 2438 $as_echo_n "(cached) " >&6 2439else 2440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2441/* end confdefs.h. */ 2442$5 2443int 2444main () 2445{ 2446static $2 ac_aggr; 2447if (ac_aggr.$3) 2448return 0; 2449 ; 2450 return 0; 2451} 2452_ACEOF 2453if ac_fn_c_try_compile "$LINENO"; then : 2454 eval "$4=yes" 2455else 2456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2457/* end confdefs.h. */ 2458$5 2459int 2460main () 2461{ 2462static $2 ac_aggr; 2463if (sizeof ac_aggr.$3) 2464return 0; 2465 ; 2466 return 0; 2467} 2468_ACEOF 2469if ac_fn_c_try_compile "$LINENO"; then : 2470 eval "$4=yes" 2471else 2472 eval "$4=no" 2473fi 2474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2475fi 2476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2477fi 2478eval ac_res=\$$4 2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2480$as_echo "$ac_res" >&6; } 2481 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2482 2483} # ac_fn_c_check_member 2484 2485# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2486# --------------------------------------------- 2487# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2488# accordingly. 2489ac_fn_c_check_decl () 2490{ 2491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2492 as_decl_name=`echo $2|sed 's/ *(.*//'` 2493 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2495$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2496if eval \${$3+:} false; then : 2497 $as_echo_n "(cached) " >&6 2498else 2499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2500/* end confdefs.h. */ 2501$4 2502int 2503main () 2504{ 2505#ifndef $as_decl_name 2506#ifdef __cplusplus 2507 (void) $as_decl_use; 2508#else 2509 (void) $as_decl_name; 2510#endif 2511#endif 2512 2513 ; 2514 return 0; 2515} 2516_ACEOF 2517if ac_fn_c_try_compile "$LINENO"; then : 2518 eval "$3=yes" 2519else 2520 eval "$3=no" 2521fi 2522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2523fi 2524eval ac_res=\$$3 2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2526$as_echo "$ac_res" >&6; } 2527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2528 2529} # ac_fn_c_check_decl 2530 2531# ac_fn_c_find_intX_t LINENO BITS VAR 2532# ----------------------------------- 2533# Finds a signed integer type with width BITS, setting cache variable VAR 2534# accordingly. 2535ac_fn_c_find_intX_t () 2536{ 2537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 2539$as_echo_n "checking for int$2_t... " >&6; } 2540if eval \${$3+:} false; then : 2541 $as_echo_n "(cached) " >&6 2542else 2543 eval "$3=no" 2544 # Order is important - never check a type that is potentially smaller 2545 # than half of the expected target width. 2546 for ac_type in int$2_t 'int' 'long int' \ 2547 'long long int' 'short int' 'signed char'; do 2548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2549/* end confdefs.h. */ 2550$ac_includes_default 2551 enum { N = $2 / 2 - 1 }; 2552int 2553main () 2554{ 2555static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 2556test_array [0] = 0; 2557return test_array [0]; 2558 2559 ; 2560 return 0; 2561} 2562_ACEOF 2563if ac_fn_c_try_compile "$LINENO"; then : 2564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2565/* end confdefs.h. */ 2566$ac_includes_default 2567 enum { N = $2 / 2 - 1 }; 2568int 2569main () 2570{ 2571static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 2572 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 2573test_array [0] = 0; 2574return test_array [0]; 2575 2576 ; 2577 return 0; 2578} 2579_ACEOF 2580if ac_fn_c_try_compile "$LINENO"; then : 2581 2582else 2583 case $ac_type in #( 2584 int$2_t) : 2585 eval "$3=yes" ;; #( 2586 *) : 2587 eval "$3=\$ac_type" ;; 2588esac 2589fi 2590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2591fi 2592rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2593 if eval test \"x\$"$3"\" = x"no"; then : 2594 2595else 2596 break 2597fi 2598 done 2599fi 2600eval ac_res=\$$3 2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2602$as_echo "$ac_res" >&6; } 2603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2604 2605} # ac_fn_c_find_intX_t 2606 2607# ac_fn_c_find_uintX_t LINENO BITS VAR 2608# ------------------------------------ 2609# Finds an unsigned integer type with width BITS, setting cache variable VAR 2610# accordingly. 2611ac_fn_c_find_uintX_t () 2612{ 2613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 2615$as_echo_n "checking for uint$2_t... " >&6; } 2616if eval \${$3+:} false; then : 2617 $as_echo_n "(cached) " >&6 2618else 2619 eval "$3=no" 2620 # Order is important - never check a type that is potentially smaller 2621 # than half of the expected target width. 2622 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 2623 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 2624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2625/* end confdefs.h. */ 2626$ac_includes_default 2627int 2628main () 2629{ 2630static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 2631test_array [0] = 0; 2632return test_array [0]; 2633 2634 ; 2635 return 0; 2636} 2637_ACEOF 2638if ac_fn_c_try_compile "$LINENO"; then : 2639 case $ac_type in #( 2640 uint$2_t) : 2641 eval "$3=yes" ;; #( 2642 *) : 2643 eval "$3=\$ac_type" ;; 2644esac 2645fi 2646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2647 if eval test \"x\$"$3"\" = x"no"; then : 2648 2649else 2650 break 2651fi 2652 done 2653fi 2654eval ac_res=\$$3 2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2656$as_echo "$ac_res" >&6; } 2657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2658 2659} # ac_fn_c_find_uintX_t 2660cat >config.log <<_ACEOF 2661This file contains any messages produced by compilers while 2662running configure, to aid debugging if configure makes a mistake. 2663 2664It was created by yadifa $as_me 2.5.3-10333, which was 2665generated by GNU Autoconf 2.69. Invocation command line was 2666 2667 $ $0 $@ 2668 2669_ACEOF 2670exec 5>>config.log 2671{ 2672cat <<_ASUNAME 2673## --------- ## 2674## Platform. ## 2675## --------- ## 2676 2677hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2678uname -m = `(uname -m) 2>/dev/null || echo unknown` 2679uname -r = `(uname -r) 2>/dev/null || echo unknown` 2680uname -s = `(uname -s) 2>/dev/null || echo unknown` 2681uname -v = `(uname -v) 2>/dev/null || echo unknown` 2682 2683/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2684/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2685 2686/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2687/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2688/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2689/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2690/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2691/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2692/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2693 2694_ASUNAME 2695 2696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2697for as_dir in $PATH 2698do 2699 IFS=$as_save_IFS 2700 test -z "$as_dir" && as_dir=. 2701 $as_echo "PATH: $as_dir" 2702 done 2703IFS=$as_save_IFS 2704 2705} >&5 2706 2707cat >&5 <<_ACEOF 2708 2709 2710## ----------- ## 2711## Core tests. ## 2712## ----------- ## 2713 2714_ACEOF 2715 2716 2717# Keep a trace of the command line. 2718# Strip out --no-create and --no-recursion so they do not pile up. 2719# Strip out --silent because we don't want to record it for future runs. 2720# Also quote any args containing shell meta-characters. 2721# Make two passes to allow for proper duplicate-argument suppression. 2722ac_configure_args= 2723ac_configure_args0= 2724ac_configure_args1= 2725ac_must_keep_next=false 2726for ac_pass in 1 2 2727do 2728 for ac_arg 2729 do 2730 case $ac_arg in 2731 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2732 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2733 | -silent | --silent | --silen | --sile | --sil) 2734 continue ;; 2735 *\'*) 2736 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2737 esac 2738 case $ac_pass in 2739 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2740 2) 2741 as_fn_append ac_configure_args1 " '$ac_arg'" 2742 if test $ac_must_keep_next = true; then 2743 ac_must_keep_next=false # Got value, back to normal. 2744 else 2745 case $ac_arg in 2746 *=* | --config-cache | -C | -disable-* | --disable-* \ 2747 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2748 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2749 | -with-* | --with-* | -without-* | --without-* | --x) 2750 case "$ac_configure_args0 " in 2751 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2752 esac 2753 ;; 2754 -* ) ac_must_keep_next=true ;; 2755 esac 2756 fi 2757 as_fn_append ac_configure_args " '$ac_arg'" 2758 ;; 2759 esac 2760 done 2761done 2762{ ac_configure_args0=; unset ac_configure_args0;} 2763{ ac_configure_args1=; unset ac_configure_args1;} 2764 2765# When interrupted or exit'd, cleanup temporary files, and complete 2766# config.log. We remove comments because anyway the quotes in there 2767# would cause problems or look ugly. 2768# WARNING: Use '\'' to represent an apostrophe within the trap. 2769# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2770trap 'exit_status=$? 2771 # Save into config.log some information that might help in debugging. 2772 { 2773 echo 2774 2775 $as_echo "## ---------------- ## 2776## Cache variables. ## 2777## ---------------- ##" 2778 echo 2779 # The following way of writing the cache mishandles newlines in values, 2780( 2781 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2782 eval ac_val=\$$ac_var 2783 case $ac_val in #( 2784 *${as_nl}*) 2785 case $ac_var in #( 2786 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2787$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2788 esac 2789 case $ac_var in #( 2790 _ | IFS | as_nl) ;; #( 2791 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2792 *) { eval $ac_var=; unset $ac_var;} ;; 2793 esac ;; 2794 esac 2795 done 2796 (set) 2>&1 | 2797 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2798 *${as_nl}ac_space=\ *) 2799 sed -n \ 2800 "s/'\''/'\''\\\\'\'''\''/g; 2801 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2802 ;; #( 2803 *) 2804 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2805 ;; 2806 esac | 2807 sort 2808) 2809 echo 2810 2811 $as_echo "## ----------------- ## 2812## Output variables. ## 2813## ----------------- ##" 2814 echo 2815 for ac_var in $ac_subst_vars 2816 do 2817 eval ac_val=\$$ac_var 2818 case $ac_val in 2819 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2820 esac 2821 $as_echo "$ac_var='\''$ac_val'\''" 2822 done | sort 2823 echo 2824 2825 if test -n "$ac_subst_files"; then 2826 $as_echo "## ------------------- ## 2827## File substitutions. ## 2828## ------------------- ##" 2829 echo 2830 for ac_var in $ac_subst_files 2831 do 2832 eval ac_val=\$$ac_var 2833 case $ac_val in 2834 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2835 esac 2836 $as_echo "$ac_var='\''$ac_val'\''" 2837 done | sort 2838 echo 2839 fi 2840 2841 if test -s confdefs.h; then 2842 $as_echo "## ----------- ## 2843## confdefs.h. ## 2844## ----------- ##" 2845 echo 2846 cat confdefs.h 2847 echo 2848 fi 2849 test "$ac_signal" != 0 && 2850 $as_echo "$as_me: caught signal $ac_signal" 2851 $as_echo "$as_me: exit $exit_status" 2852 } >&5 2853 rm -f core *.core core.conftest.* && 2854 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2855 exit $exit_status 2856' 0 2857for ac_signal in 1 2 13 15; do 2858 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2859done 2860ac_signal=0 2861 2862# confdefs.h avoids OS command line length limits that DEFS can exceed. 2863rm -f -r conftest* confdefs.h 2864 2865$as_echo "/* confdefs.h */" > confdefs.h 2866 2867# Predefined preprocessor variables. 2868 2869cat >>confdefs.h <<_ACEOF 2870#define PACKAGE_NAME "$PACKAGE_NAME" 2871_ACEOF 2872 2873cat >>confdefs.h <<_ACEOF 2874#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2875_ACEOF 2876 2877cat >>confdefs.h <<_ACEOF 2878#define PACKAGE_VERSION "$PACKAGE_VERSION" 2879_ACEOF 2880 2881cat >>confdefs.h <<_ACEOF 2882#define PACKAGE_STRING "$PACKAGE_STRING" 2883_ACEOF 2884 2885cat >>confdefs.h <<_ACEOF 2886#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2887_ACEOF 2888 2889cat >>confdefs.h <<_ACEOF 2890#define PACKAGE_URL "$PACKAGE_URL" 2891_ACEOF 2892 2893 2894# Let the site file select an alternate cache file if it wants to. 2895# Prefer an explicitly selected file to automatically selected ones. 2896ac_site_file1=NONE 2897ac_site_file2=NONE 2898if test -n "$CONFIG_SITE"; then 2899 # We do not want a PATH search for config.site. 2900 case $CONFIG_SITE in #(( 2901 -*) ac_site_file1=./$CONFIG_SITE;; 2902 */*) ac_site_file1=$CONFIG_SITE;; 2903 *) ac_site_file1=./$CONFIG_SITE;; 2904 esac 2905elif test "x$prefix" != xNONE; then 2906 ac_site_file1=$prefix/share/config.site 2907 ac_site_file2=$prefix/etc/config.site 2908else 2909 ac_site_file1=$ac_default_prefix/share/config.site 2910 ac_site_file2=$ac_default_prefix/etc/config.site 2911fi 2912for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2913do 2914 test "x$ac_site_file" = xNONE && continue 2915 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2916 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2917$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2918 sed 's/^/| /' "$ac_site_file" >&5 2919 . "$ac_site_file" \ 2920 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2921$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2922as_fn_error $? "failed to load site script $ac_site_file 2923See \`config.log' for more details" "$LINENO" 5; } 2924 fi 2925done 2926 2927if test -r "$cache_file"; then 2928 # Some versions of bash will fail to source /dev/null (special files 2929 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2930 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2931 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2932$as_echo "$as_me: loading cache $cache_file" >&6;} 2933 case $cache_file in 2934 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2935 *) . "./$cache_file";; 2936 esac 2937 fi 2938else 2939 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2940$as_echo "$as_me: creating cache $cache_file" >&6;} 2941 >$cache_file 2942fi 2943 2944as_fn_append ac_header_list " sys/time.h" 2945as_fn_append ac_header_list " unistd.h" 2946as_fn_append ac_func_list " alarm" 2947as_fn_append ac_header_list " stdlib.h" 2948as_fn_append ac_header_list " sys/param.h" 2949# Check that the precious variables saved in the cache have kept the same 2950# value. 2951ac_cache_corrupted=false 2952for ac_var in $ac_precious_vars; do 2953 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2954 eval ac_new_set=\$ac_env_${ac_var}_set 2955 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2956 eval ac_new_val=\$ac_env_${ac_var}_value 2957 case $ac_old_set,$ac_new_set in 2958 set,) 2959 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2960$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2961 ac_cache_corrupted=: ;; 2962 ,set) 2963 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2964$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2965 ac_cache_corrupted=: ;; 2966 ,);; 2967 *) 2968 if test "x$ac_old_val" != "x$ac_new_val"; then 2969 # differences in whitespace do not lead to failure. 2970 ac_old_val_w=`echo x $ac_old_val` 2971 ac_new_val_w=`echo x $ac_new_val` 2972 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2973 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2974$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2975 ac_cache_corrupted=: 2976 else 2977 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2978$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2979 eval $ac_var=\$ac_old_val 2980 fi 2981 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2982$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2983 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2984$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2985 fi;; 2986 esac 2987 # Pass precious variables to config.status. 2988 if test "$ac_new_set" = set; then 2989 case $ac_new_val in 2990 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2991 *) ac_arg=$ac_var=$ac_new_val ;; 2992 esac 2993 case " $ac_configure_args " in 2994 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2995 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2996 esac 2997 fi 2998done 2999if $ac_cache_corrupted; then 3000 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3002 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3003$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3004 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3005fi 3006## -------------------- ## 3007## Main body of script. ## 3008## -------------------- ## 3009 3010ac_ext=c 3011ac_cpp='$CPP $CPPFLAGS' 3012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3013ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3014ac_compiler_gnu=$ac_cv_c_compiler_gnu 3015 3016 3017 3018echo 3019echo 3020echo "YADIFA BUNDLE START" 3021echo "-------------------" 3022echo 3023echo $0 3024 3025 3026 3027 3028cpu_intel_compatible=1 3029icc_enabled=0 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051ac_os_workaround_done=0 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133requires_tcl=0 3134requires_ssl=0 3135requires_dnscore=0 3136requires_dnsdb=0 3137requires_dnslg=0 3138requires_dnstcl=0 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162# 3163# AC_HAS_DISABLE build_timestamp 3164# 3165# CHECKING 3166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if BUILD_TIMESTAMP has been disabled" >&5 3167$as_echo_n "checking if BUILD_TIMESTAMP has been disabled... " >&6; } 3168# ARG ENABLE 3169# Check whether --enable-build_timestamp was given. 3170if test "${enable_build_timestamp+set}" = set; then : 3171 enableval=$enable_build_timestamp; 3172fi 3173 3174# MSG RESULT 3175# CASE 3176case "y$enable_build_timestamp" in 3177 yyes|y) 3178# DEFINE Y 3179 3180cat >>confdefs.h <<_ACEOF 3181#define HAS_BUILD_TIMESTAMP 1 3182_ACEOF 3183 3184# CONDITIONAL Y 3185 enable_build_timestamp=yes 3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3187$as_echo "no" >&6; } 3188# IF YES 3189 3190# ENDIF 3191 ;; 3192 yno|*) 3193# DEFINE N 3194 3195cat >>confdefs.h <<_ACEOF 3196#define HAS_BUILD_TIMESTAMP 0 3197_ACEOF 3198 3199# CONDITIONAL N 3200 enable_build_timestamp=no 3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3202$as_echo "yes" >&6; } 3203# IF NO 3204 3205# ENDIF 3206 ;; 3207esac 3208# CONDITIONAL 3209 if test y$enable_build_timestamp != yno; then 3210 HAS_BUILD_TIMESTAMP_TRUE= 3211 HAS_BUILD_TIMESTAMP_FALSE='#' 3212else 3213 HAS_BUILD_TIMESTAMP_TRUE='#' 3214 HAS_BUILD_TIMESTAMP_FALSE= 3215fi 3216 3217# SUBST 3218 3219# AC_HAS_DISABLE build_timestamp DONE 3220 3221 3222 3223# 3224# AC_HAS_ENABLE fd_close_debug 3225# 3226# CHECKING 3227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if CLOSE_EX_REF has been enabled" >&5 3228$as_echo_n "checking if CLOSE_EX_REF has been enabled... " >&6; } 3229# ARG ENABLE 3230# Check whether --enable-fd_close_debug was given. 3231if test "${enable_fd_close_debug+set}" = set; then : 3232 enableval=$enable_fd_close_debug; 3233fi 3234 3235# CASE 3236case "y$enable_fd_close_debug" in 3237 yyes) 3238# DEFINE Y 3239 3240cat >>confdefs.h <<_ACEOF 3241#define HAS_CLOSE_EX_REF 1 3242_ACEOF 3243 3244# CONDITIONAL Y 3245 enable_fd_close_debug="yes" 3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3247$as_echo "yes" >&6; } 3248# IF YES 3249 3250# ENDIF 3251 ;; 3252 yno|y|*) 3253# DEFINE N 3254 3255cat >>confdefs.h <<_ACEOF 3256#define HAS_CLOSE_EX_REF 0 3257_ACEOF 3258 3259# CONDITIONAL N 3260 enable_fd_close_debug="no" 3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3262$as_echo "no" >&6; } 3263# IF NO 3264 3265# ENDIF 3266 ;; 3267esac 3268# CONDITIONAL 3269 if test y$enable_fd_close_debug = yyes; then 3270 HAS_CLOSE_EX_REF_TRUE= 3271 HAS_CLOSE_EX_REF_FALSE='#' 3272else 3273 HAS_CLOSE_EX_REF_TRUE='#' 3274 HAS_CLOSE_EX_REF_FALSE= 3275fi 3276 3277# SUBST 3278 3279# AC_HAS_ENABLE fd_close_debug DONE 3280 3281 3282 3283# 3284# AC_HAS_DISABLE yadifa 3285# 3286# CHECKING 3287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if YADIFA has been disabled" >&5 3288$as_echo_n "checking if YADIFA has been disabled... " >&6; } 3289# ARG ENABLE 3290# Check whether --enable-yadifa was given. 3291if test "${enable_yadifa+set}" = set; then : 3292 enableval=$enable_yadifa; 3293fi 3294 3295# MSG RESULT 3296# CASE 3297case "y$enable_yadifa" in 3298 yyes|y) 3299# DEFINE Y 3300 3301cat >>confdefs.h <<_ACEOF 3302#define HAS_YADIFA 1 3303_ACEOF 3304 3305# CONDITIONAL Y 3306 enable_yadifa=yes 3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3308$as_echo "no" >&6; } 3309# IF YES 3310 3311# ENDIF 3312 ;; 3313 yno|*) 3314# DEFINE N 3315 3316cat >>confdefs.h <<_ACEOF 3317#define HAS_YADIFA 0 3318_ACEOF 3319 3320# CONDITIONAL N 3321 enable_yadifa=no 3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3323$as_echo "yes" >&6; } 3324# IF NO 3325 3326# ENDIF 3327 ;; 3328esac 3329# CONDITIONAL 3330 if test y$enable_yadifa != yno; then 3331 HAS_YADIFA_TRUE= 3332 HAS_YADIFA_FALSE='#' 3333else 3334 HAS_YADIFA_TRUE='#' 3335 HAS_YADIFA_FALSE= 3336fi 3337 3338# SUBST 3339 3340# AC_HAS_DISABLE yadifa DONE 3341 3342 3343# 3344# AC_HAS_DISABLE dnssec_tools 3345# 3346# CHECKING 3347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DNSSEC_TOOLS has been disabled" >&5 3348$as_echo_n "checking if DNSSEC_TOOLS has been disabled... " >&6; } 3349# ARG ENABLE 3350# Check whether --enable-dnssec_tools was given. 3351if test "${enable_dnssec_tools+set}" = set; then : 3352 enableval=$enable_dnssec_tools; 3353fi 3354 3355# MSG RESULT 3356# CASE 3357case "y$enable_dnssec_tools" in 3358 yyes|y) 3359# DEFINE Y 3360 3361cat >>confdefs.h <<_ACEOF 3362#define HAS_DNSSEC_TOOLS 1 3363_ACEOF 3364 3365# CONDITIONAL Y 3366 enable_dnssec_tools=yes 3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3368$as_echo "no" >&6; } 3369# IF YES 3370 3371# ENDIF 3372 ;; 3373 yno|*) 3374# DEFINE N 3375 3376cat >>confdefs.h <<_ACEOF 3377#define HAS_DNSSEC_TOOLS 0 3378_ACEOF 3379 3380# CONDITIONAL N 3381 enable_dnssec_tools=no 3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3383$as_echo "yes" >&6; } 3384# IF NO 3385 3386# ENDIF 3387 ;; 3388esac 3389# CONDITIONAL 3390 if test y$enable_dnssec_tools != yno; then 3391 HAS_DNSSEC_TOOLS_TRUE= 3392 HAS_DNSSEC_TOOLS_FALSE='#' 3393else 3394 HAS_DNSSEC_TOOLS_TRUE='#' 3395 HAS_DNSSEC_TOOLS_FALSE= 3396fi 3397 3398# SUBST 3399 3400# AC_HAS_DISABLE dnssec_tools DONE 3401 3402 3403 3404 3405 3406 3407ac_aux_dir= 3408for ac_dir in . "$srcdir"/.; do 3409 if test -f "$ac_dir/install-sh"; then 3410 ac_aux_dir=$ac_dir 3411 ac_install_sh="$ac_aux_dir/install-sh -c" 3412 break 3413 elif test -f "$ac_dir/install.sh"; then 3414 ac_aux_dir=$ac_dir 3415 ac_install_sh="$ac_aux_dir/install.sh -c" 3416 break 3417 elif test -f "$ac_dir/shtool"; then 3418 ac_aux_dir=$ac_dir 3419 ac_install_sh="$ac_aux_dir/shtool install -c" 3420 break 3421 fi 3422done 3423if test -z "$ac_aux_dir"; then 3424 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 3425fi 3426 3427# These three variables are undocumented and unsupported, 3428# and are intended to be withdrawn in a future Autoconf release. 3429# They can cause serious problems if a builder's source tree is in a directory 3430# whose full name contains unusual characters. 3431ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3432ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3433ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3434 3435 3436am__api_version='1.13' 3437 3438# Find a good install program. We prefer a C program (faster), 3439# so one script is as good as another. But avoid the broken or 3440# incompatible versions: 3441# SysV /etc/install, /usr/sbin/install 3442# SunOS /usr/etc/install 3443# IRIX /sbin/install 3444# AIX /bin/install 3445# AmigaOS /C/install, which installs bootblocks on floppy discs 3446# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3447# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3448# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3449# OS/2's system install, which has a completely different semantic 3450# ./install, which can be erroneously created by make from ./install.sh. 3451# Reject install programs that cannot install multiple files. 3452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3453$as_echo_n "checking for a BSD-compatible install... " >&6; } 3454if test -z "$INSTALL"; then 3455if ${ac_cv_path_install+:} false; then : 3456 $as_echo_n "(cached) " >&6 3457else 3458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3459for as_dir in $PATH 3460do 3461 IFS=$as_save_IFS 3462 test -z "$as_dir" && as_dir=. 3463 # Account for people who put trailing slashes in PATH elements. 3464case $as_dir/ in #(( 3465 ./ | .// | /[cC]/* | \ 3466 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3467 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3468 /usr/ucb/* ) ;; 3469 *) 3470 # OSF1 and SCO ODT 3.0 have their own names for install. 3471 # Don't use installbsd from OSF since it installs stuff as root 3472 # by default. 3473 for ac_prog in ginstall scoinst install; do 3474 for ac_exec_ext in '' $ac_executable_extensions; do 3475 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3476 if test $ac_prog = install && 3477 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3478 # AIX install. It has an incompatible calling convention. 3479 : 3480 elif test $ac_prog = install && 3481 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3482 # program-specific install script used by HP pwplus--don't use. 3483 : 3484 else 3485 rm -rf conftest.one conftest.two conftest.dir 3486 echo one > conftest.one 3487 echo two > conftest.two 3488 mkdir conftest.dir 3489 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3490 test -s conftest.one && test -s conftest.two && 3491 test -s conftest.dir/conftest.one && 3492 test -s conftest.dir/conftest.two 3493 then 3494 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3495 break 3 3496 fi 3497 fi 3498 fi 3499 done 3500 done 3501 ;; 3502esac 3503 3504 done 3505IFS=$as_save_IFS 3506 3507rm -rf conftest.one conftest.two conftest.dir 3508 3509fi 3510 if test "${ac_cv_path_install+set}" = set; then 3511 INSTALL=$ac_cv_path_install 3512 else 3513 # As a last resort, use the slow shell script. Don't cache a 3514 # value for INSTALL within a source directory, because that will 3515 # break other packages using the cache if that directory is 3516 # removed, or if the value is a relative name. 3517 INSTALL=$ac_install_sh 3518 fi 3519fi 3520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3521$as_echo "$INSTALL" >&6; } 3522 3523# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3524# It thinks the first close brace ends the variable substitution. 3525test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3526 3527test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3528 3529test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3530 3531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3532$as_echo_n "checking whether build environment is sane... " >&6; } 3533# Reject unsafe characters in $srcdir or the absolute working directory 3534# name. Accept space and tab only in the latter. 3535am_lf=' 3536' 3537case `pwd` in 3538 *[\\\"\#\$\&\'\`$am_lf]*) 3539 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3540esac 3541case $srcdir in 3542 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3543 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3544esac 3545 3546# Do 'set' in a subshell so we don't clobber the current shell's 3547# arguments. Must try -L first in case configure is actually a 3548# symlink; some systems play weird games with the mod time of symlinks 3549# (eg FreeBSD returns the mod time of the symlink's containing 3550# directory). 3551if ( 3552 am_has_slept=no 3553 for am_try in 1 2; do 3554 echo "timestamp, slept: $am_has_slept" > conftest.file 3555 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3556 if test "$*" = "X"; then 3557 # -L didn't work. 3558 set X `ls -t "$srcdir/configure" conftest.file` 3559 fi 3560 if test "$*" != "X $srcdir/configure conftest.file" \ 3561 && test "$*" != "X conftest.file $srcdir/configure"; then 3562 3563 # If neither matched, then we have a broken ls. This can happen 3564 # if, for instance, CONFIG_SHELL is bash and it inherits a 3565 # broken ls alias from the environment. This has actually 3566 # happened. Such a system could not be considered "sane". 3567 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3568 alias in your environment" "$LINENO" 5 3569 fi 3570 if test "$2" = conftest.file || test $am_try -eq 2; then 3571 break 3572 fi 3573 # Just in case. 3574 sleep 1 3575 am_has_slept=yes 3576 done 3577 test "$2" = conftest.file 3578 ) 3579then 3580 # Ok. 3581 : 3582else 3583 as_fn_error $? "newly created file is older than distributed files! 3584Check your system clock" "$LINENO" 5 3585fi 3586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3587$as_echo "yes" >&6; } 3588# If we didn't sleep, we still need to ensure time stamps of config.status and 3589# generated files are strictly newer. 3590am_sleep_pid= 3591if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3592 ( sleep 1 ) & 3593 am_sleep_pid=$! 3594fi 3595 3596rm -f conftest.file 3597 3598test "$program_prefix" != NONE && 3599 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3600# Use a double $ so make ignores it. 3601test "$program_suffix" != NONE && 3602 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3603# Double any \ or $. 3604# By default was `s,x,x', remove it if useless. 3605ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3606program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3607 3608# expand $ac_aux_dir to an absolute path 3609am_aux_dir=`cd $ac_aux_dir && pwd` 3610 3611if test x"${MISSING+set}" != xset; then 3612 case $am_aux_dir in 3613 *\ * | *\ *) 3614 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3615 *) 3616 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3617 esac 3618fi 3619# Use eval to expand $SHELL 3620if eval "$MISSING --is-lightweight"; then 3621 am_missing_run="$MISSING " 3622else 3623 am_missing_run= 3624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3625$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3626fi 3627 3628if test x"${install_sh}" != xset; then 3629 case $am_aux_dir in 3630 *\ * | *\ *) 3631 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3632 *) 3633 install_sh="\${SHELL} $am_aux_dir/install-sh" 3634 esac 3635fi 3636 3637# Installed binaries are usually stripped using 'strip' when the user 3638# run "make install-strip". However 'strip' might not be the right 3639# tool to use in cross-compilation environments, therefore Automake 3640# will honor the 'STRIP' environment variable to overrule this program. 3641if test "$cross_compiling" != no; then 3642 if test -n "$ac_tool_prefix"; then 3643 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3644set dummy ${ac_tool_prefix}strip; ac_word=$2 3645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3646$as_echo_n "checking for $ac_word... " >&6; } 3647if ${ac_cv_prog_STRIP+:} false; then : 3648 $as_echo_n "(cached) " >&6 3649else 3650 if test -n "$STRIP"; then 3651 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3652else 3653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3654for as_dir in $PATH 3655do 3656 IFS=$as_save_IFS 3657 test -z "$as_dir" && as_dir=. 3658 for ac_exec_ext in '' $ac_executable_extensions; do 3659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3660 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3662 break 2 3663 fi 3664done 3665 done 3666IFS=$as_save_IFS 3667 3668fi 3669fi 3670STRIP=$ac_cv_prog_STRIP 3671if test -n "$STRIP"; then 3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3673$as_echo "$STRIP" >&6; } 3674else 3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3676$as_echo "no" >&6; } 3677fi 3678 3679 3680fi 3681if test -z "$ac_cv_prog_STRIP"; then 3682 ac_ct_STRIP=$STRIP 3683 # Extract the first word of "strip", so it can be a program name with args. 3684set dummy strip; ac_word=$2 3685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3686$as_echo_n "checking for $ac_word... " >&6; } 3687if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3688 $as_echo_n "(cached) " >&6 3689else 3690 if test -n "$ac_ct_STRIP"; then 3691 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3692else 3693as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3694for as_dir in $PATH 3695do 3696 IFS=$as_save_IFS 3697 test -z "$as_dir" && as_dir=. 3698 for ac_exec_ext in '' $ac_executable_extensions; do 3699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3700 ac_cv_prog_ac_ct_STRIP="strip" 3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3702 break 2 3703 fi 3704done 3705 done 3706IFS=$as_save_IFS 3707 3708fi 3709fi 3710ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3711if test -n "$ac_ct_STRIP"; then 3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3713$as_echo "$ac_ct_STRIP" >&6; } 3714else 3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3716$as_echo "no" >&6; } 3717fi 3718 3719 if test "x$ac_ct_STRIP" = x; then 3720 STRIP=":" 3721 else 3722 case $cross_compiling:$ac_tool_warned in 3723yes:) 3724{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3725$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3726ac_tool_warned=yes ;; 3727esac 3728 STRIP=$ac_ct_STRIP 3729 fi 3730else 3731 STRIP="$ac_cv_prog_STRIP" 3732fi 3733 3734fi 3735INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3736 3737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3738$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3739if test -z "$MKDIR_P"; then 3740 if ${ac_cv_path_mkdir+:} false; then : 3741 $as_echo_n "(cached) " >&6 3742else 3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3744for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3745do 3746 IFS=$as_save_IFS 3747 test -z "$as_dir" && as_dir=. 3748 for ac_prog in mkdir gmkdir; do 3749 for ac_exec_ext in '' $ac_executable_extensions; do 3750 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3751 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3752 'mkdir (GNU coreutils) '* | \ 3753 'mkdir (coreutils) '* | \ 3754 'mkdir (fileutils) '4.1*) 3755 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3756 break 3;; 3757 esac 3758 done 3759 done 3760 done 3761IFS=$as_save_IFS 3762 3763fi 3764 3765 test -d ./--version && rmdir ./--version 3766 if test "${ac_cv_path_mkdir+set}" = set; then 3767 MKDIR_P="$ac_cv_path_mkdir -p" 3768 else 3769 # As a last resort, use the slow shell script. Don't cache a 3770 # value for MKDIR_P within a source directory, because that will 3771 # break other packages using the cache if that directory is 3772 # removed, or if the value is a relative name. 3773 MKDIR_P="$ac_install_sh -d" 3774 fi 3775fi 3776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3777$as_echo "$MKDIR_P" >&6; } 3778 3779for ac_prog in gawk mawk nawk awk 3780do 3781 # Extract the first word of "$ac_prog", so it can be a program name with args. 3782set dummy $ac_prog; ac_word=$2 3783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3784$as_echo_n "checking for $ac_word... " >&6; } 3785if ${ac_cv_prog_AWK+:} false; then : 3786 $as_echo_n "(cached) " >&6 3787else 3788 if test -n "$AWK"; then 3789 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3790else 3791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3792for as_dir in $PATH 3793do 3794 IFS=$as_save_IFS 3795 test -z "$as_dir" && as_dir=. 3796 for ac_exec_ext in '' $ac_executable_extensions; do 3797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3798 ac_cv_prog_AWK="$ac_prog" 3799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3800 break 2 3801 fi 3802done 3803 done 3804IFS=$as_save_IFS 3805 3806fi 3807fi 3808AWK=$ac_cv_prog_AWK 3809if test -n "$AWK"; then 3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3811$as_echo "$AWK" >&6; } 3812else 3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3814$as_echo "no" >&6; } 3815fi 3816 3817 3818 test -n "$AWK" && break 3819done 3820 3821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3822$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3823set x ${MAKE-make} 3824ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3825if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3826 $as_echo_n "(cached) " >&6 3827else 3828 cat >conftest.make <<\_ACEOF 3829SHELL = /bin/sh 3830all: 3831 @echo '@@@%%%=$(MAKE)=@@@%%%' 3832_ACEOF 3833# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3834case `${MAKE-make} -f conftest.make 2>/dev/null` in 3835 *@@@%%%=?*=@@@%%%*) 3836 eval ac_cv_prog_make_${ac_make}_set=yes;; 3837 *) 3838 eval ac_cv_prog_make_${ac_make}_set=no;; 3839esac 3840rm -f conftest.make 3841fi 3842if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3844$as_echo "yes" >&6; } 3845 SET_MAKE= 3846else 3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3848$as_echo "no" >&6; } 3849 SET_MAKE="MAKE=${MAKE-make}" 3850fi 3851 3852rm -rf .tst 2>/dev/null 3853mkdir .tst 2>/dev/null 3854if test -d .tst; then 3855 am__leading_dot=. 3856else 3857 am__leading_dot=_ 3858fi 3859rmdir .tst 2>/dev/null 3860 3861# Check whether --enable-silent-rules was given. 3862if test "${enable_silent_rules+set}" = set; then : 3863 enableval=$enable_silent_rules; 3864fi 3865 3866case $enable_silent_rules in # ((( 3867 yes) AM_DEFAULT_VERBOSITY=0;; 3868 no) AM_DEFAULT_VERBOSITY=1;; 3869 *) AM_DEFAULT_VERBOSITY=1;; 3870esac 3871am_make=${MAKE-make} 3872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3873$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3874if ${am_cv_make_support_nested_variables+:} false; then : 3875 $as_echo_n "(cached) " >&6 3876else 3877 if $as_echo 'TRUE=$(BAR$(V)) 3878BAR0=false 3879BAR1=true 3880V=1 3881am__doit: 3882 @$(TRUE) 3883.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3884 am_cv_make_support_nested_variables=yes 3885else 3886 am_cv_make_support_nested_variables=no 3887fi 3888fi 3889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3890$as_echo "$am_cv_make_support_nested_variables" >&6; } 3891if test $am_cv_make_support_nested_variables = yes; then 3892 AM_V='$(V)' 3893 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3894else 3895 AM_V=$AM_DEFAULT_VERBOSITY 3896 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3897fi 3898AM_BACKSLASH='\' 3899 3900if test "`cd $srcdir && pwd`" != "`pwd`"; then 3901 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3902 # is not polluted with repeated "-I." 3903 am__isrc=' -I$(srcdir)' 3904 # test to see if srcdir already configured 3905 if test -f $srcdir/config.status; then 3906 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3907 fi 3908fi 3909 3910# test whether we have cygpath 3911if test -z "$CYGPATH_W"; then 3912 if (cygpath --version) >/dev/null 2>/dev/null; then 3913 CYGPATH_W='cygpath -w' 3914 else 3915 CYGPATH_W=echo 3916 fi 3917fi 3918 3919 3920# Define the identity of the package. 3921 PACKAGE='yadifa' 3922 VERSION='2.5.3-10333' 3923 3924 3925cat >>confdefs.h <<_ACEOF 3926#define PACKAGE "$PACKAGE" 3927_ACEOF 3928 3929 3930cat >>confdefs.h <<_ACEOF 3931#define VERSION "$VERSION" 3932_ACEOF 3933 3934# Some tools Automake needs. 3935 3936ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3937 3938 3939AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3940 3941 3942AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3943 3944 3945AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3946 3947 3948MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3949 3950# For better backward compatibility. To be removed once Automake 1.9.x 3951# dies out for good. For more background, see: 3952# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3953# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3954mkdir_p='$(MKDIR_P)' 3955 3956# We need awk for the "check" target. The system "awk" is bad on 3957# some platforms. 3958# Always define AMTAR for backward compatibility. Yes, it's still used 3959# in the wild :-( We should find a proper way to deprecate it ... 3960AMTAR='$${TAR-tar}' 3961 3962 3963# We'll loop over all known methods to create a tar archive until one works. 3964_am_tools='gnutar pax cpio none' 3965 3966 3967 3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 3969$as_echo_n "checking how to create a pax tar archive... " >&6; } 3970 3971 # Go ahead even if we have the value already cached. We do so because we 3972 # need to set the values for the 'am__tar' and 'am__untar' variables. 3973 _am_tools=${am_cv_prog_tar_pax-$_am_tools} 3974 3975 for _am_tool in $_am_tools; do 3976 case $_am_tool in 3977 gnutar) 3978 for _am_tar in tar gnutar gtar; do 3979 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3980 ($_am_tar --version) >&5 2>&5 3981 ac_status=$? 3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3983 (exit $ac_status); } && break 3984 done 3985 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"' 3986 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"' 3987 am__untar="$_am_tar -xf -" 3988 ;; 3989 plaintar) 3990 # Must skip GNU tar: if it does not support --format= it doesn't create 3991 # ustar tarball either. 3992 (tar --version) >/dev/null 2>&1 && continue 3993 am__tar='tar chf - "$$tardir"' 3994 am__tar_='tar chf - "$tardir"' 3995 am__untar='tar xf -' 3996 ;; 3997 pax) 3998 am__tar='pax -L -x pax -w "$$tardir"' 3999 am__tar_='pax -L -x pax -w "$tardir"' 4000 am__untar='pax -r' 4001 ;; 4002 cpio) 4003 am__tar='find "$$tardir" -print | cpio -o -H pax -L' 4004 am__tar_='find "$tardir" -print | cpio -o -H pax -L' 4005 am__untar='cpio -i -H pax -d' 4006 ;; 4007 none) 4008 am__tar=false 4009 am__tar_=false 4010 am__untar=false 4011 ;; 4012 esac 4013 4014 # If the value was cached, stop now. We just wanted to have am__tar 4015 # and am__untar set. 4016 test -n "${am_cv_prog_tar_pax}" && break 4017 4018 # tar/untar a dummy directory, and stop if the command works. 4019 rm -rf conftest.dir 4020 mkdir conftest.dir 4021 echo GrepMe > conftest.dir/file 4022 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 4023 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 4024 ac_status=$? 4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4026 (exit $ac_status); } 4027 rm -rf conftest.dir 4028 if test -s conftest.tar; then 4029 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 4030 ($am__untar <conftest.tar) >&5 2>&5 4031 ac_status=$? 4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4033 (exit $ac_status); } 4034 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 4035 (cat conftest.dir/file) >&5 2>&5 4036 ac_status=$? 4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4038 (exit $ac_status); } 4039 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 4040 fi 4041 done 4042 rm -rf conftest.dir 4043 4044 if ${am_cv_prog_tar_pax+:} false; then : 4045 $as_echo_n "(cached) " >&6 4046else 4047 am_cv_prog_tar_pax=$_am_tool 4048fi 4049 4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 4051$as_echo "$am_cv_prog_tar_pax" >&6; } 4052 4053 4054 4055 4056 4057 4058 4059ac_config_headers="$ac_config_headers config.h" 4060 4061 4062 4063 4064DEPDIR="${am__leading_dot}deps" 4065 4066ac_config_commands="$ac_config_commands depfiles" 4067 4068 4069am_make=${MAKE-make} 4070cat > confinc << 'END' 4071am__doit: 4072 @echo this is the am__doit target 4073.PHONY: am__doit 4074END 4075# If we don't find an include directive, just comment out the code. 4076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4077$as_echo_n "checking for style of include used by $am_make... " >&6; } 4078am__include="#" 4079am__quote= 4080_am_result=none 4081# First try GNU make style include. 4082echo "include confinc" > confmf 4083# Ignore all kinds of additional output from 'make'. 4084case `$am_make -s -f confmf 2> /dev/null` in #( 4085*the\ am__doit\ target*) 4086 am__include=include 4087 am__quote= 4088 _am_result=GNU 4089 ;; 4090esac 4091# Now try BSD make style include. 4092if test "$am__include" = "#"; then 4093 echo '.include "confinc"' > confmf 4094 case `$am_make -s -f confmf 2> /dev/null` in #( 4095 *the\ am__doit\ target*) 4096 am__include=.include 4097 am__quote="\"" 4098 _am_result=BSD 4099 ;; 4100 esac 4101fi 4102 4103 4104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4105$as_echo "$_am_result" >&6; } 4106rm -f confinc confmf 4107 4108# Check whether --enable-dependency-tracking was given. 4109if test "${enable_dependency_tracking+set}" = set; then : 4110 enableval=$enable_dependency_tracking; 4111fi 4112 4113if test "x$enable_dependency_tracking" != xno; then 4114 am_depcomp="$ac_aux_dir/depcomp" 4115 AMDEPBACKSLASH='\' 4116 am__nodep='_no' 4117fi 4118 if test "x$enable_dependency_tracking" != xno; then 4119 AMDEP_TRUE= 4120 AMDEP_FALSE='#' 4121else 4122 AMDEP_TRUE='#' 4123 AMDEP_FALSE= 4124fi 4125 4126 4127ac_ext=c 4128ac_cpp='$CPP $CPPFLAGS' 4129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4131ac_compiler_gnu=$ac_cv_c_compiler_gnu 4132if test -n "$ac_tool_prefix"; then 4133 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4134set dummy ${ac_tool_prefix}gcc; ac_word=$2 4135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4136$as_echo_n "checking for $ac_word... " >&6; } 4137if ${ac_cv_prog_CC+:} false; then : 4138 $as_echo_n "(cached) " >&6 4139else 4140 if test -n "$CC"; then 4141 ac_cv_prog_CC="$CC" # Let the user override the test. 4142else 4143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4144for as_dir in $PATH 4145do 4146 IFS=$as_save_IFS 4147 test -z "$as_dir" && as_dir=. 4148 for ac_exec_ext in '' $ac_executable_extensions; do 4149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4150 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4152 break 2 4153 fi 4154done 4155 done 4156IFS=$as_save_IFS 4157 4158fi 4159fi 4160CC=$ac_cv_prog_CC 4161if test -n "$CC"; then 4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4163$as_echo "$CC" >&6; } 4164else 4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4166$as_echo "no" >&6; } 4167fi 4168 4169 4170fi 4171if test -z "$ac_cv_prog_CC"; then 4172 ac_ct_CC=$CC 4173 # Extract the first word of "gcc", so it can be a program name with args. 4174set dummy gcc; ac_word=$2 4175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4176$as_echo_n "checking for $ac_word... " >&6; } 4177if ${ac_cv_prog_ac_ct_CC+:} false; then : 4178 $as_echo_n "(cached) " >&6 4179else 4180 if test -n "$ac_ct_CC"; then 4181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4182else 4183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4184for as_dir in $PATH 4185do 4186 IFS=$as_save_IFS 4187 test -z "$as_dir" && as_dir=. 4188 for ac_exec_ext in '' $ac_executable_extensions; do 4189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4190 ac_cv_prog_ac_ct_CC="gcc" 4191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4192 break 2 4193 fi 4194done 4195 done 4196IFS=$as_save_IFS 4197 4198fi 4199fi 4200ac_ct_CC=$ac_cv_prog_ac_ct_CC 4201if test -n "$ac_ct_CC"; then 4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4203$as_echo "$ac_ct_CC" >&6; } 4204else 4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4206$as_echo "no" >&6; } 4207fi 4208 4209 if test "x$ac_ct_CC" = x; then 4210 CC="" 4211 else 4212 case $cross_compiling:$ac_tool_warned in 4213yes:) 4214{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4215$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4216ac_tool_warned=yes ;; 4217esac 4218 CC=$ac_ct_CC 4219 fi 4220else 4221 CC="$ac_cv_prog_CC" 4222fi 4223 4224if test -z "$CC"; then 4225 if test -n "$ac_tool_prefix"; then 4226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4227set dummy ${ac_tool_prefix}cc; ac_word=$2 4228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4229$as_echo_n "checking for $ac_word... " >&6; } 4230if ${ac_cv_prog_CC+:} false; then : 4231 $as_echo_n "(cached) " >&6 4232else 4233 if test -n "$CC"; then 4234 ac_cv_prog_CC="$CC" # Let the user override the test. 4235else 4236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4237for as_dir in $PATH 4238do 4239 IFS=$as_save_IFS 4240 test -z "$as_dir" && as_dir=. 4241 for ac_exec_ext in '' $ac_executable_extensions; do 4242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4243 ac_cv_prog_CC="${ac_tool_prefix}cc" 4244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4245 break 2 4246 fi 4247done 4248 done 4249IFS=$as_save_IFS 4250 4251fi 4252fi 4253CC=$ac_cv_prog_CC 4254if test -n "$CC"; then 4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4256$as_echo "$CC" >&6; } 4257else 4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4259$as_echo "no" >&6; } 4260fi 4261 4262 4263 fi 4264fi 4265if test -z "$CC"; then 4266 # Extract the first word of "cc", so it can be a program name with args. 4267set dummy cc; ac_word=$2 4268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4269$as_echo_n "checking for $ac_word... " >&6; } 4270if ${ac_cv_prog_CC+:} false; then : 4271 $as_echo_n "(cached) " >&6 4272else 4273 if test -n "$CC"; then 4274 ac_cv_prog_CC="$CC" # Let the user override the test. 4275else 4276 ac_prog_rejected=no 4277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4278for as_dir in $PATH 4279do 4280 IFS=$as_save_IFS 4281 test -z "$as_dir" && as_dir=. 4282 for ac_exec_ext in '' $ac_executable_extensions; do 4283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4284 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4285 ac_prog_rejected=yes 4286 continue 4287 fi 4288 ac_cv_prog_CC="cc" 4289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4290 break 2 4291 fi 4292done 4293 done 4294IFS=$as_save_IFS 4295 4296if test $ac_prog_rejected = yes; then 4297 # We found a bogon in the path, so make sure we never use it. 4298 set dummy $ac_cv_prog_CC 4299 shift 4300 if test $# != 0; then 4301 # We chose a different compiler from the bogus one. 4302 # However, it has the same basename, so the bogon will be chosen 4303 # first if we set CC to just the basename; use the full file name. 4304 shift 4305 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4306 fi 4307fi 4308fi 4309fi 4310CC=$ac_cv_prog_CC 4311if test -n "$CC"; then 4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4313$as_echo "$CC" >&6; } 4314else 4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4316$as_echo "no" >&6; } 4317fi 4318 4319 4320fi 4321if test -z "$CC"; then 4322 if test -n "$ac_tool_prefix"; then 4323 for ac_prog in cl.exe 4324 do 4325 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4326set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4328$as_echo_n "checking for $ac_word... " >&6; } 4329if ${ac_cv_prog_CC+:} false; then : 4330 $as_echo_n "(cached) " >&6 4331else 4332 if test -n "$CC"; then 4333 ac_cv_prog_CC="$CC" # Let the user override the test. 4334else 4335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4336for as_dir in $PATH 4337do 4338 IFS=$as_save_IFS 4339 test -z "$as_dir" && as_dir=. 4340 for ac_exec_ext in '' $ac_executable_extensions; do 4341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4342 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4344 break 2 4345 fi 4346done 4347 done 4348IFS=$as_save_IFS 4349 4350fi 4351fi 4352CC=$ac_cv_prog_CC 4353if test -n "$CC"; then 4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4355$as_echo "$CC" >&6; } 4356else 4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4358$as_echo "no" >&6; } 4359fi 4360 4361 4362 test -n "$CC" && break 4363 done 4364fi 4365if test -z "$CC"; then 4366 ac_ct_CC=$CC 4367 for ac_prog in cl.exe 4368do 4369 # Extract the first word of "$ac_prog", so it can be a program name with args. 4370set dummy $ac_prog; ac_word=$2 4371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4372$as_echo_n "checking for $ac_word... " >&6; } 4373if ${ac_cv_prog_ac_ct_CC+:} false; then : 4374 $as_echo_n "(cached) " >&6 4375else 4376 if test -n "$ac_ct_CC"; then 4377 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4378else 4379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4380for as_dir in $PATH 4381do 4382 IFS=$as_save_IFS 4383 test -z "$as_dir" && as_dir=. 4384 for ac_exec_ext in '' $ac_executable_extensions; do 4385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4386 ac_cv_prog_ac_ct_CC="$ac_prog" 4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4388 break 2 4389 fi 4390done 4391 done 4392IFS=$as_save_IFS 4393 4394fi 4395fi 4396ac_ct_CC=$ac_cv_prog_ac_ct_CC 4397if test -n "$ac_ct_CC"; then 4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4399$as_echo "$ac_ct_CC" >&6; } 4400else 4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4402$as_echo "no" >&6; } 4403fi 4404 4405 4406 test -n "$ac_ct_CC" && break 4407done 4408 4409 if test "x$ac_ct_CC" = x; then 4410 CC="" 4411 else 4412 case $cross_compiling:$ac_tool_warned in 4413yes:) 4414{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4415$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4416ac_tool_warned=yes ;; 4417esac 4418 CC=$ac_ct_CC 4419 fi 4420fi 4421 4422fi 4423 4424 4425test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4426$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4427as_fn_error $? "no acceptable C compiler found in \$PATH 4428See \`config.log' for more details" "$LINENO" 5; } 4429 4430# Provide some information about the compiler. 4431$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4432set X $ac_compile 4433ac_compiler=$2 4434for ac_option in --version -v -V -qversion; do 4435 { { ac_try="$ac_compiler $ac_option >&5" 4436case "(($ac_try" in 4437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4438 *) ac_try_echo=$ac_try;; 4439esac 4440eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4441$as_echo "$ac_try_echo"; } >&5 4442 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4443 ac_status=$? 4444 if test -s conftest.err; then 4445 sed '10a\ 4446... rest of stderr output deleted ... 4447 10q' conftest.err >conftest.er1 4448 cat conftest.er1 >&5 4449 fi 4450 rm -f conftest.er1 conftest.err 4451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4452 test $ac_status = 0; } 4453done 4454 4455cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4456/* end confdefs.h. */ 4457 4458int 4459main () 4460{ 4461 4462 ; 4463 return 0; 4464} 4465_ACEOF 4466ac_clean_files_save=$ac_clean_files 4467ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4468# Try to create an executable without -o first, disregard a.out. 4469# It will help us diagnose broken compilers, and finding out an intuition 4470# of exeext. 4471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4472$as_echo_n "checking whether the C compiler works... " >&6; } 4473ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4474 4475# The possible output files: 4476ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4477 4478ac_rmfiles= 4479for ac_file in $ac_files 4480do 4481 case $ac_file in 4482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4483 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4484 esac 4485done 4486rm -f $ac_rmfiles 4487 4488if { { ac_try="$ac_link_default" 4489case "(($ac_try" in 4490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4491 *) ac_try_echo=$ac_try;; 4492esac 4493eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4494$as_echo "$ac_try_echo"; } >&5 4495 (eval "$ac_link_default") 2>&5 4496 ac_status=$? 4497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4498 test $ac_status = 0; }; then : 4499 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4500# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4501# in a Makefile. We should not override ac_cv_exeext if it was cached, 4502# so that the user can short-circuit this test for compilers unknown to 4503# Autoconf. 4504for ac_file in $ac_files '' 4505do 4506 test -f "$ac_file" || continue 4507 case $ac_file in 4508 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4509 ;; 4510 [ab].out ) 4511 # We found the default executable, but exeext='' is most 4512 # certainly right. 4513 break;; 4514 *.* ) 4515 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4516 then :; else 4517 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4518 fi 4519 # We set ac_cv_exeext here because the later test for it is not 4520 # safe: cross compilers may not add the suffix if given an `-o' 4521 # argument, so we may need to know it at that point already. 4522 # Even if this section looks crufty: it has the advantage of 4523 # actually working. 4524 break;; 4525 * ) 4526 break;; 4527 esac 4528done 4529test "$ac_cv_exeext" = no && ac_cv_exeext= 4530 4531else 4532 ac_file='' 4533fi 4534if test -z "$ac_file"; then : 4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4536$as_echo "no" >&6; } 4537$as_echo "$as_me: failed program was:" >&5 4538sed 's/^/| /' conftest.$ac_ext >&5 4539 4540{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4541$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4542as_fn_error 77 "C compiler cannot create executables 4543See \`config.log' for more details" "$LINENO" 5; } 4544else 4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4546$as_echo "yes" >&6; } 4547fi 4548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4549$as_echo_n "checking for C compiler default output file name... " >&6; } 4550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4551$as_echo "$ac_file" >&6; } 4552ac_exeext=$ac_cv_exeext 4553 4554rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4555ac_clean_files=$ac_clean_files_save 4556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4557$as_echo_n "checking for suffix of executables... " >&6; } 4558if { { ac_try="$ac_link" 4559case "(($ac_try" in 4560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4561 *) ac_try_echo=$ac_try;; 4562esac 4563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4564$as_echo "$ac_try_echo"; } >&5 4565 (eval "$ac_link") 2>&5 4566 ac_status=$? 4567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4568 test $ac_status = 0; }; then : 4569 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4570# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4571# work properly (i.e., refer to `conftest.exe'), while it won't with 4572# `rm'. 4573for ac_file in conftest.exe conftest conftest.*; do 4574 test -f "$ac_file" || continue 4575 case $ac_file in 4576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4577 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4578 break;; 4579 * ) break;; 4580 esac 4581done 4582else 4583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4584$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4585as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4586See \`config.log' for more details" "$LINENO" 5; } 4587fi 4588rm -f conftest conftest$ac_cv_exeext 4589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4590$as_echo "$ac_cv_exeext" >&6; } 4591 4592rm -f conftest.$ac_ext 4593EXEEXT=$ac_cv_exeext 4594ac_exeext=$EXEEXT 4595cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4596/* end confdefs.h. */ 4597#include <stdio.h> 4598int 4599main () 4600{ 4601FILE *f = fopen ("conftest.out", "w"); 4602 return ferror (f) || fclose (f) != 0; 4603 4604 ; 4605 return 0; 4606} 4607_ACEOF 4608ac_clean_files="$ac_clean_files conftest.out" 4609# Check that the compiler produces executables we can run. If not, either 4610# the compiler is broken, or we cross compile. 4611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4612$as_echo_n "checking whether we are cross compiling... " >&6; } 4613if test "$cross_compiling" != yes; then 4614 { { ac_try="$ac_link" 4615case "(($ac_try" in 4616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4617 *) ac_try_echo=$ac_try;; 4618esac 4619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4620$as_echo "$ac_try_echo"; } >&5 4621 (eval "$ac_link") 2>&5 4622 ac_status=$? 4623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4624 test $ac_status = 0; } 4625 if { ac_try='./conftest$ac_cv_exeext' 4626 { { case "(($ac_try" in 4627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4628 *) ac_try_echo=$ac_try;; 4629esac 4630eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4631$as_echo "$ac_try_echo"; } >&5 4632 (eval "$ac_try") 2>&5 4633 ac_status=$? 4634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4635 test $ac_status = 0; }; }; then 4636 cross_compiling=no 4637 else 4638 if test "$cross_compiling" = maybe; then 4639 cross_compiling=yes 4640 else 4641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4642$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4643as_fn_error $? "cannot run C compiled programs. 4644If you meant to cross compile, use \`--host'. 4645See \`config.log' for more details" "$LINENO" 5; } 4646 fi 4647 fi 4648fi 4649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4650$as_echo "$cross_compiling" >&6; } 4651 4652rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4653ac_clean_files=$ac_clean_files_save 4654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4655$as_echo_n "checking for suffix of object files... " >&6; } 4656if ${ac_cv_objext+:} false; then : 4657 $as_echo_n "(cached) " >&6 4658else 4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4660/* end confdefs.h. */ 4661 4662int 4663main () 4664{ 4665 4666 ; 4667 return 0; 4668} 4669_ACEOF 4670rm -f conftest.o conftest.obj 4671if { { ac_try="$ac_compile" 4672case "(($ac_try" in 4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4674 *) ac_try_echo=$ac_try;; 4675esac 4676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4677$as_echo "$ac_try_echo"; } >&5 4678 (eval "$ac_compile") 2>&5 4679 ac_status=$? 4680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4681 test $ac_status = 0; }; then : 4682 for ac_file in conftest.o conftest.obj conftest.*; do 4683 test -f "$ac_file" || continue; 4684 case $ac_file in 4685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4686 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4687 break;; 4688 esac 4689done 4690else 4691 $as_echo "$as_me: failed program was:" >&5 4692sed 's/^/| /' conftest.$ac_ext >&5 4693 4694{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4695$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4696as_fn_error $? "cannot compute suffix of object files: cannot compile 4697See \`config.log' for more details" "$LINENO" 5; } 4698fi 4699rm -f conftest.$ac_cv_objext conftest.$ac_ext 4700fi 4701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4702$as_echo "$ac_cv_objext" >&6; } 4703OBJEXT=$ac_cv_objext 4704ac_objext=$OBJEXT 4705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4706$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4707if ${ac_cv_c_compiler_gnu+:} false; then : 4708 $as_echo_n "(cached) " >&6 4709else 4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4711/* end confdefs.h. */ 4712 4713int 4714main () 4715{ 4716#ifndef __GNUC__ 4717 choke me 4718#endif 4719 4720 ; 4721 return 0; 4722} 4723_ACEOF 4724if ac_fn_c_try_compile "$LINENO"; then : 4725 ac_compiler_gnu=yes 4726else 4727 ac_compiler_gnu=no 4728fi 4729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4730ac_cv_c_compiler_gnu=$ac_compiler_gnu 4731 4732fi 4733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4734$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4735if test $ac_compiler_gnu = yes; then 4736 GCC=yes 4737else 4738 GCC= 4739fi 4740ac_test_CFLAGS=${CFLAGS+set} 4741ac_save_CFLAGS=$CFLAGS 4742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4743$as_echo_n "checking whether $CC accepts -g... " >&6; } 4744if ${ac_cv_prog_cc_g+:} false; then : 4745 $as_echo_n "(cached) " >&6 4746else 4747 ac_save_c_werror_flag=$ac_c_werror_flag 4748 ac_c_werror_flag=yes 4749 ac_cv_prog_cc_g=no 4750 CFLAGS="-g" 4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4752/* end confdefs.h. */ 4753 4754int 4755main () 4756{ 4757 4758 ; 4759 return 0; 4760} 4761_ACEOF 4762if ac_fn_c_try_compile "$LINENO"; then : 4763 ac_cv_prog_cc_g=yes 4764else 4765 CFLAGS="" 4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4767/* end confdefs.h. */ 4768 4769int 4770main () 4771{ 4772 4773 ; 4774 return 0; 4775} 4776_ACEOF 4777if ac_fn_c_try_compile "$LINENO"; then : 4778 4779else 4780 ac_c_werror_flag=$ac_save_c_werror_flag 4781 CFLAGS="-g" 4782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4783/* end confdefs.h. */ 4784 4785int 4786main () 4787{ 4788 4789 ; 4790 return 0; 4791} 4792_ACEOF 4793if ac_fn_c_try_compile "$LINENO"; then : 4794 ac_cv_prog_cc_g=yes 4795fi 4796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4797fi 4798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4799fi 4800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4801 ac_c_werror_flag=$ac_save_c_werror_flag 4802fi 4803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4804$as_echo "$ac_cv_prog_cc_g" >&6; } 4805if test "$ac_test_CFLAGS" = set; then 4806 CFLAGS=$ac_save_CFLAGS 4807elif test $ac_cv_prog_cc_g = yes; then 4808 if test "$GCC" = yes; then 4809 CFLAGS="-g -O2" 4810 else 4811 CFLAGS="-g" 4812 fi 4813else 4814 if test "$GCC" = yes; then 4815 CFLAGS="-O2" 4816 else 4817 CFLAGS= 4818 fi 4819fi 4820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4821$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4822if ${ac_cv_prog_cc_c89+:} false; then : 4823 $as_echo_n "(cached) " >&6 4824else 4825 ac_cv_prog_cc_c89=no 4826ac_save_CC=$CC 4827cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4828/* end confdefs.h. */ 4829#include <stdarg.h> 4830#include <stdio.h> 4831struct stat; 4832/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4833struct buf { int x; }; 4834FILE * (*rcsopen) (struct buf *, struct stat *, int); 4835static char *e (p, i) 4836 char **p; 4837 int i; 4838{ 4839 return p[i]; 4840} 4841static char *f (char * (*g) (char **, int), char **p, ...) 4842{ 4843 char *s; 4844 va_list v; 4845 va_start (v,p); 4846 s = g (p, va_arg (v,int)); 4847 va_end (v); 4848 return s; 4849} 4850 4851/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4852 function prototypes and stuff, but not '\xHH' hex character constants. 4853 These don't provoke an error unfortunately, instead are silently treated 4854 as 'x'. The following induces an error, until -std is added to get 4855 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4856 array size at least. It's necessary to write '\x00'==0 to get something 4857 that's true only with -std. */ 4858int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4859 4860/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4861 inside strings and character constants. */ 4862#define FOO(x) 'x' 4863int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4864 4865int test (int i, double x); 4866struct s1 {int (*f) (int a);}; 4867struct s2 {int (*f) (double a);}; 4868int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4869int argc; 4870char **argv; 4871int 4872main () 4873{ 4874return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4875 ; 4876 return 0; 4877} 4878_ACEOF 4879for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4880 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4881do 4882 CC="$ac_save_CC $ac_arg" 4883 if ac_fn_c_try_compile "$LINENO"; then : 4884 ac_cv_prog_cc_c89=$ac_arg 4885fi 4886rm -f core conftest.err conftest.$ac_objext 4887 test "x$ac_cv_prog_cc_c89" != "xno" && break 4888done 4889rm -f conftest.$ac_ext 4890CC=$ac_save_CC 4891 4892fi 4893# AC_CACHE_VAL 4894case "x$ac_cv_prog_cc_c89" in 4895 x) 4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4897$as_echo "none needed" >&6; } ;; 4898 xno) 4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4900$as_echo "unsupported" >&6; } ;; 4901 *) 4902 CC="$CC $ac_cv_prog_cc_c89" 4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4904$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4905esac 4906if test "x$ac_cv_prog_cc_c89" != xno; then : 4907 4908fi 4909 4910ac_ext=c 4911ac_cpp='$CPP $CPPFLAGS' 4912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4914ac_compiler_gnu=$ac_cv_c_compiler_gnu 4915 4916depcc="$CC" am_compiler_list= 4917 4918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4919$as_echo_n "checking dependency style of $depcc... " >&6; } 4920if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4921 $as_echo_n "(cached) " >&6 4922else 4923 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4924 # We make a subdir and do the tests there. Otherwise we can end up 4925 # making bogus files that we don't know about and never remove. For 4926 # instance it was reported that on HP-UX the gcc test will end up 4927 # making a dummy file named 'D' -- because '-MD' means "put the output 4928 # in D". 4929 rm -rf conftest.dir 4930 mkdir conftest.dir 4931 # Copy depcomp to subdir because otherwise we won't find it if we're 4932 # using a relative directory. 4933 cp "$am_depcomp" conftest.dir 4934 cd conftest.dir 4935 # We will build objects and dependencies in a subdirectory because 4936 # it helps to detect inapplicable dependency modes. For instance 4937 # both Tru64's cc and ICC support -MD to output dependencies as a 4938 # side effect of compilation, but ICC will put the dependencies in 4939 # the current directory while Tru64 will put them in the object 4940 # directory. 4941 mkdir sub 4942 4943 am_cv_CC_dependencies_compiler_type=none 4944 if test "$am_compiler_list" = ""; then 4945 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4946 fi 4947 am__universal=false 4948 case " $depcc " in #( 4949 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4950 esac 4951 4952 for depmode in $am_compiler_list; do 4953 # Setup a source with many dependencies, because some compilers 4954 # like to wrap large dependency lists on column 80 (with \), and 4955 # we should not choose a depcomp mode which is confused by this. 4956 # 4957 # We need to recreate these files for each test, as the compiler may 4958 # overwrite some of them when testing with obscure command lines. 4959 # This happens at least with the AIX C compiler. 4960 : > sub/conftest.c 4961 for i in 1 2 3 4 5 6; do 4962 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4963 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4964 # Solaris 10 /bin/sh. 4965 echo '/* dummy */' > sub/conftst$i.h 4966 done 4967 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4968 4969 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4970 # mode. It turns out that the SunPro C++ compiler does not properly 4971 # handle '-M -o', and we need to detect this. Also, some Intel 4972 # versions had trouble with output in subdirs. 4973 am__obj=sub/conftest.${OBJEXT-o} 4974 am__minus_obj="-o $am__obj" 4975 case $depmode in 4976 gcc) 4977 # This depmode causes a compiler race in universal mode. 4978 test "$am__universal" = false || continue 4979 ;; 4980 nosideeffect) 4981 # After this tag, mechanisms are not by side-effect, so they'll 4982 # only be used when explicitly requested. 4983 if test "x$enable_dependency_tracking" = xyes; then 4984 continue 4985 else 4986 break 4987 fi 4988 ;; 4989 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4990 # This compiler won't grok '-c -o', but also, the minuso test has 4991 # not run yet. These depmodes are late enough in the game, and 4992 # so weak that their functioning should not be impacted. 4993 am__obj=conftest.${OBJEXT-o} 4994 am__minus_obj= 4995 ;; 4996 none) break ;; 4997 esac 4998 if depmode=$depmode \ 4999 source=sub/conftest.c object=$am__obj \ 5000 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5001 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5002 >/dev/null 2>conftest.err && 5003 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5004 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5005 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5006 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5007 # icc doesn't choke on unknown options, it will just issue warnings 5008 # or remarks (even with -Werror). So we grep stderr for any message 5009 # that says an option was ignored or not supported. 5010 # When given -MP, icc 7.0 and 7.1 complain thusly: 5011 # icc: Command line warning: ignoring option '-M'; no argument required 5012 # The diagnosis changed in icc 8.0: 5013 # icc: Command line remark: option '-MP' not supported 5014 if (grep 'ignoring option' conftest.err || 5015 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5016 am_cv_CC_dependencies_compiler_type=$depmode 5017 break 5018 fi 5019 fi 5020 done 5021 5022 cd .. 5023 rm -rf conftest.dir 5024else 5025 am_cv_CC_dependencies_compiler_type=none 5026fi 5027 5028fi 5029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5030$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5031CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5032 5033 if 5034 test "x$enable_dependency_tracking" != xno \ 5035 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5036 am__fastdepCC_TRUE= 5037 am__fastdepCC_FALSE='#' 5038else 5039 am__fastdepCC_TRUE='#' 5040 am__fastdepCC_FALSE= 5041fi 5042 5043 5044 5045if test -n "$ac_tool_prefix"; then 5046 for ac_prog in ar lib "link -lib" 5047 do 5048 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5049set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5051$as_echo_n "checking for $ac_word... " >&6; } 5052if ${ac_cv_prog_AR+:} false; then : 5053 $as_echo_n "(cached) " >&6 5054else 5055 if test -n "$AR"; then 5056 ac_cv_prog_AR="$AR" # Let the user override the test. 5057else 5058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5059for as_dir in $PATH 5060do 5061 IFS=$as_save_IFS 5062 test -z "$as_dir" && as_dir=. 5063 for ac_exec_ext in '' $ac_executable_extensions; do 5064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5065 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5067 break 2 5068 fi 5069done 5070 done 5071IFS=$as_save_IFS 5072 5073fi 5074fi 5075AR=$ac_cv_prog_AR 5076if test -n "$AR"; then 5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5078$as_echo "$AR" >&6; } 5079else 5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5081$as_echo "no" >&6; } 5082fi 5083 5084 5085 test -n "$AR" && break 5086 done 5087fi 5088if test -z "$AR"; then 5089 ac_ct_AR=$AR 5090 for ac_prog in ar lib "link -lib" 5091do 5092 # Extract the first word of "$ac_prog", so it can be a program name with args. 5093set dummy $ac_prog; ac_word=$2 5094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5095$as_echo_n "checking for $ac_word... " >&6; } 5096if ${ac_cv_prog_ac_ct_AR+:} false; then : 5097 $as_echo_n "(cached) " >&6 5098else 5099 if test -n "$ac_ct_AR"; then 5100 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5101else 5102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5103for as_dir in $PATH 5104do 5105 IFS=$as_save_IFS 5106 test -z "$as_dir" && as_dir=. 5107 for ac_exec_ext in '' $ac_executable_extensions; do 5108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5109 ac_cv_prog_ac_ct_AR="$ac_prog" 5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5111 break 2 5112 fi 5113done 5114 done 5115IFS=$as_save_IFS 5116 5117fi 5118fi 5119ac_ct_AR=$ac_cv_prog_ac_ct_AR 5120if test -n "$ac_ct_AR"; then 5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5122$as_echo "$ac_ct_AR" >&6; } 5123else 5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5125$as_echo "no" >&6; } 5126fi 5127 5128 5129 test -n "$ac_ct_AR" && break 5130done 5131 5132 if test "x$ac_ct_AR" = x; then 5133 AR="false" 5134 else 5135 case $cross_compiling:$ac_tool_warned in 5136yes:) 5137{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5138$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5139ac_tool_warned=yes ;; 5140esac 5141 AR=$ac_ct_AR 5142 fi 5143fi 5144 5145: ${AR=ar} 5146 5147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 5148$as_echo_n "checking the archiver ($AR) interface... " >&6; } 5149if ${am_cv_ar_interface+:} false; then : 5150 $as_echo_n "(cached) " >&6 5151else 5152 am_cv_ar_interface=ar 5153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5154/* end confdefs.h. */ 5155int some_variable = 0; 5156_ACEOF 5157if ac_fn_c_try_compile "$LINENO"; then : 5158 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 5159 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 5160 (eval $am_ar_try) 2>&5 5161 ac_status=$? 5162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5163 test $ac_status = 0; } 5164 if test "$ac_status" -eq 0; then 5165 am_cv_ar_interface=ar 5166 else 5167 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 5168 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 5169 (eval $am_ar_try) 2>&5 5170 ac_status=$? 5171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5172 test $ac_status = 0; } 5173 if test "$ac_status" -eq 0; then 5174 am_cv_ar_interface=lib 5175 else 5176 am_cv_ar_interface=unknown 5177 fi 5178 fi 5179 rm -f conftest.lib libconftest.a 5180 5181fi 5182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5183 5184fi 5185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 5186$as_echo "$am_cv_ar_interface" >&6; } 5187 5188case $am_cv_ar_interface in 5189ar) 5190 ;; 5191lib) 5192 # Microsoft lib, so override with the ar-lib wrapper script. 5193 # FIXME: It is wrong to rewrite AR. 5194 # But if we don't then we get into trouble of one sort or another. 5195 # A longer-term fix would be to have automake use am__AR in this case, 5196 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 5197 # similar. 5198 AR="$am_aux_dir/ar-lib $AR" 5199 ;; 5200unknown) 5201 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 5202 ;; 5203esac 5204 5205 5206# automake version < 1.14 5207if test "x$CC" != xcc; then 5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 5209$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } 5210else 5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 5212$as_echo_n "checking whether cc understands -c and -o together... " >&6; } 5213fi 5214set dummy $CC; ac_cc=`$as_echo "$2" | 5215 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 5216if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : 5217 $as_echo_n "(cached) " >&6 5218else 5219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5220/* end confdefs.h. */ 5221 5222int 5223main () 5224{ 5225 5226 ; 5227 return 0; 5228} 5229_ACEOF 5230# Make sure it works both with $CC and with simple cc. 5231# We do the test twice because some compilers refuse to overwrite an 5232# existing .o file with -o, though they will create one. 5233ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 5234rm -f conftest2.* 5235if { { case "(($ac_try" in 5236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5237 *) ac_try_echo=$ac_try;; 5238esac 5239eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5240$as_echo "$ac_try_echo"; } >&5 5241 (eval "$ac_try") 2>&5 5242 ac_status=$? 5243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5244 test $ac_status = 0; } && 5245 test -f conftest2.$ac_objext && { { case "(($ac_try" in 5246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5247 *) ac_try_echo=$ac_try;; 5248esac 5249eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5250$as_echo "$ac_try_echo"; } >&5 5251 (eval "$ac_try") 2>&5 5252 ac_status=$? 5253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5254 test $ac_status = 0; }; 5255then 5256 eval ac_cv_prog_cc_${ac_cc}_c_o=yes 5257 if test "x$CC" != xcc; then 5258 # Test first that cc exists at all. 5259 if { ac_try='cc -c conftest.$ac_ext >&5' 5260 { { case "(($ac_try" in 5261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5262 *) ac_try_echo=$ac_try;; 5263esac 5264eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5265$as_echo "$ac_try_echo"; } >&5 5266 (eval "$ac_try") 2>&5 5267 ac_status=$? 5268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5269 test $ac_status = 0; }; }; then 5270 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 5271 rm -f conftest2.* 5272 if { { case "(($ac_try" in 5273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5274 *) ac_try_echo=$ac_try;; 5275esac 5276eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5277$as_echo "$ac_try_echo"; } >&5 5278 (eval "$ac_try") 2>&5 5279 ac_status=$? 5280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5281 test $ac_status = 0; } && 5282 test -f conftest2.$ac_objext && { { case "(($ac_try" in 5283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5284 *) ac_try_echo=$ac_try;; 5285esac 5286eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5287$as_echo "$ac_try_echo"; } >&5 5288 (eval "$ac_try") 2>&5 5289 ac_status=$? 5290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5291 test $ac_status = 0; }; 5292 then 5293 # cc works too. 5294 : 5295 else 5296 # cc exists but doesn't like -o. 5297 eval ac_cv_prog_cc_${ac_cc}_c_o=no 5298 fi 5299 fi 5300 fi 5301else 5302 eval ac_cv_prog_cc_${ac_cc}_c_o=no 5303fi 5304rm -f core conftest* 5305 5306fi 5307if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5309$as_echo "yes" >&6; } 5310else 5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5312$as_echo "no" >&6; } 5313 5314$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h 5315 5316fi 5317 5318# FIXME: we rely on the cache variable name because 5319# there is no other way. 5320set dummy $CC 5321am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 5322eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o 5323if test "$am_t" != yes; then 5324 # Losing compiler, so override with the script. 5325 # FIXME: It is wrong to rewrite CC. 5326 # But if we don't then we get into trouble of one sort or another. 5327 # A longer-term fix would be to have automake use am__CC in this case, 5328 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5329 CC="$am_aux_dir/compile $CC" 5330fi 5331 5332 5333 5334case `pwd` in 5335 *\ * | *\ *) 5336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5337$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5338esac 5339 5340 5341 5342macro_version='2.4.2' 5343macro_revision='1.3337' 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357ltmain="$ac_aux_dir/ltmain.sh" 5358 5359# Make sure we can run config.sub. 5360$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 5361 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 5362 5363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 5364$as_echo_n "checking build system type... " >&6; } 5365if ${ac_cv_build+:} false; then : 5366 $as_echo_n "(cached) " >&6 5367else 5368 ac_build_alias=$build_alias 5369test "x$ac_build_alias" = x && 5370 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 5371test "x$ac_build_alias" = x && 5372 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 5373ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 5374 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 5375 5376fi 5377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 5378$as_echo "$ac_cv_build" >&6; } 5379case $ac_cv_build in 5380*-*-*) ;; 5381*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 5382esac 5383build=$ac_cv_build 5384ac_save_IFS=$IFS; IFS='-' 5385set x $ac_cv_build 5386shift 5387build_cpu=$1 5388build_vendor=$2 5389shift; shift 5390# Remember, the first character of IFS is used to create $*, 5391# except with old shells: 5392build_os=$* 5393IFS=$ac_save_IFS 5394case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 5395 5396 5397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 5398$as_echo_n "checking host system type... " >&6; } 5399if ${ac_cv_host+:} false; then : 5400 $as_echo_n "(cached) " >&6 5401else 5402 if test "x$host_alias" = x; then 5403 ac_cv_host=$ac_cv_build 5404else 5405 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 5406 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 5407fi 5408 5409fi 5410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 5411$as_echo "$ac_cv_host" >&6; } 5412case $ac_cv_host in 5413*-*-*) ;; 5414*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 5415esac 5416host=$ac_cv_host 5417ac_save_IFS=$IFS; IFS='-' 5418set x $ac_cv_host 5419shift 5420host_cpu=$1 5421host_vendor=$2 5422shift; shift 5423# Remember, the first character of IFS is used to create $*, 5424# except with old shells: 5425host_os=$* 5426IFS=$ac_save_IFS 5427case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 5428 5429 5430# Backslashify metacharacters that are still active within 5431# double-quoted strings. 5432sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5433 5434# Same as above, but do not quote variable references. 5435double_quote_subst='s/\(["`\\]\)/\\\1/g' 5436 5437# Sed substitution to delay expansion of an escaped shell variable in a 5438# double_quote_subst'ed string. 5439delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5440 5441# Sed substitution to delay expansion of an escaped single quote. 5442delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5443 5444# Sed substitution to avoid accidental globbing in evaled expressions 5445no_glob_subst='s/\*/\\\*/g' 5446 5447ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5448ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5449ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5450 5451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5452$as_echo_n "checking how to print strings... " >&6; } 5453# Test print first, because it will be a builtin if present. 5454if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5455 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5456 ECHO='print -r --' 5457elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5458 ECHO='printf %s\n' 5459else 5460 # Use this function as a fallback that always works. 5461 func_fallback_echo () 5462 { 5463 eval 'cat <<_LTECHO_EOF 5464$1 5465_LTECHO_EOF' 5466 } 5467 ECHO='func_fallback_echo' 5468fi 5469 5470# func_echo_all arg... 5471# Invoke $ECHO with all args, space-separated. 5472func_echo_all () 5473{ 5474 $ECHO "" 5475} 5476 5477case "$ECHO" in 5478 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5479$as_echo "printf" >&6; } ;; 5480 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5481$as_echo "print -r" >&6; } ;; 5482 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5483$as_echo "cat" >&6; } ;; 5484esac 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5500$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5501if ${ac_cv_path_SED+:} false; then : 5502 $as_echo_n "(cached) " >&6 5503else 5504 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5505 for ac_i in 1 2 3 4 5 6 7; do 5506 ac_script="$ac_script$as_nl$ac_script" 5507 done 5508 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5509 { ac_script=; unset ac_script;} 5510 if test -z "$SED"; then 5511 ac_path_SED_found=false 5512 # Loop through the user's path and test for each of PROGNAME-LIST 5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5514for as_dir in $PATH 5515do 5516 IFS=$as_save_IFS 5517 test -z "$as_dir" && as_dir=. 5518 for ac_prog in sed gsed; do 5519 for ac_exec_ext in '' $ac_executable_extensions; do 5520 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5521 as_fn_executable_p "$ac_path_SED" || continue 5522# Check for GNU ac_path_SED and select it if it is found. 5523 # Check for GNU $ac_path_SED 5524case `"$ac_path_SED" --version 2>&1` in 5525*GNU*) 5526 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5527*) 5528 ac_count=0 5529 $as_echo_n 0123456789 >"conftest.in" 5530 while : 5531 do 5532 cat "conftest.in" "conftest.in" >"conftest.tmp" 5533 mv "conftest.tmp" "conftest.in" 5534 cp "conftest.in" "conftest.nl" 5535 $as_echo '' >> "conftest.nl" 5536 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5537 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5538 as_fn_arith $ac_count + 1 && ac_count=$as_val 5539 if test $ac_count -gt ${ac_path_SED_max-0}; then 5540 # Best one so far, save it but keep looking for a better one 5541 ac_cv_path_SED="$ac_path_SED" 5542 ac_path_SED_max=$ac_count 5543 fi 5544 # 10*(2^10) chars as input seems more than enough 5545 test $ac_count -gt 10 && break 5546 done 5547 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5548esac 5549 5550 $ac_path_SED_found && break 3 5551 done 5552 done 5553 done 5554IFS=$as_save_IFS 5555 if test -z "$ac_cv_path_SED"; then 5556 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5557 fi 5558else 5559 ac_cv_path_SED=$SED 5560fi 5561 5562fi 5563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5564$as_echo "$ac_cv_path_SED" >&6; } 5565 SED="$ac_cv_path_SED" 5566 rm -f conftest.sed 5567 5568test -z "$SED" && SED=sed 5569Xsed="$SED -e 1s/^X//" 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5582$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5583if ${ac_cv_path_GREP+:} false; then : 5584 $as_echo_n "(cached) " >&6 5585else 5586 if test -z "$GREP"; then 5587 ac_path_GREP_found=false 5588 # Loop through the user's path and test for each of PROGNAME-LIST 5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5590for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5591do 5592 IFS=$as_save_IFS 5593 test -z "$as_dir" && as_dir=. 5594 for ac_prog in grep ggrep; do 5595 for ac_exec_ext in '' $ac_executable_extensions; do 5596 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5597 as_fn_executable_p "$ac_path_GREP" || continue 5598# Check for GNU ac_path_GREP and select it if it is found. 5599 # Check for GNU $ac_path_GREP 5600case `"$ac_path_GREP" --version 2>&1` in 5601*GNU*) 5602 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5603*) 5604 ac_count=0 5605 $as_echo_n 0123456789 >"conftest.in" 5606 while : 5607 do 5608 cat "conftest.in" "conftest.in" >"conftest.tmp" 5609 mv "conftest.tmp" "conftest.in" 5610 cp "conftest.in" "conftest.nl" 5611 $as_echo 'GREP' >> "conftest.nl" 5612 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5613 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5614 as_fn_arith $ac_count + 1 && ac_count=$as_val 5615 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5616 # Best one so far, save it but keep looking for a better one 5617 ac_cv_path_GREP="$ac_path_GREP" 5618 ac_path_GREP_max=$ac_count 5619 fi 5620 # 10*(2^10) chars as input seems more than enough 5621 test $ac_count -gt 10 && break 5622 done 5623 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5624esac 5625 5626 $ac_path_GREP_found && break 3 5627 done 5628 done 5629 done 5630IFS=$as_save_IFS 5631 if test -z "$ac_cv_path_GREP"; then 5632 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5633 fi 5634else 5635 ac_cv_path_GREP=$GREP 5636fi 5637 5638fi 5639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5640$as_echo "$ac_cv_path_GREP" >&6; } 5641 GREP="$ac_cv_path_GREP" 5642 5643 5644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5645$as_echo_n "checking for egrep... " >&6; } 5646if ${ac_cv_path_EGREP+:} false; then : 5647 $as_echo_n "(cached) " >&6 5648else 5649 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5650 then ac_cv_path_EGREP="$GREP -E" 5651 else 5652 if test -z "$EGREP"; then 5653 ac_path_EGREP_found=false 5654 # Loop through the user's path and test for each of PROGNAME-LIST 5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5656for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5657do 5658 IFS=$as_save_IFS 5659 test -z "$as_dir" && as_dir=. 5660 for ac_prog in egrep; do 5661 for ac_exec_ext in '' $ac_executable_extensions; do 5662 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5663 as_fn_executable_p "$ac_path_EGREP" || continue 5664# Check for GNU ac_path_EGREP and select it if it is found. 5665 # Check for GNU $ac_path_EGREP 5666case `"$ac_path_EGREP" --version 2>&1` in 5667*GNU*) 5668 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5669*) 5670 ac_count=0 5671 $as_echo_n 0123456789 >"conftest.in" 5672 while : 5673 do 5674 cat "conftest.in" "conftest.in" >"conftest.tmp" 5675 mv "conftest.tmp" "conftest.in" 5676 cp "conftest.in" "conftest.nl" 5677 $as_echo 'EGREP' >> "conftest.nl" 5678 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5679 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5680 as_fn_arith $ac_count + 1 && ac_count=$as_val 5681 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5682 # Best one so far, save it but keep looking for a better one 5683 ac_cv_path_EGREP="$ac_path_EGREP" 5684 ac_path_EGREP_max=$ac_count 5685 fi 5686 # 10*(2^10) chars as input seems more than enough 5687 test $ac_count -gt 10 && break 5688 done 5689 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5690esac 5691 5692 $ac_path_EGREP_found && break 3 5693 done 5694 done 5695 done 5696IFS=$as_save_IFS 5697 if test -z "$ac_cv_path_EGREP"; then 5698 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5699 fi 5700else 5701 ac_cv_path_EGREP=$EGREP 5702fi 5703 5704 fi 5705fi 5706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5707$as_echo "$ac_cv_path_EGREP" >&6; } 5708 EGREP="$ac_cv_path_EGREP" 5709 5710 5711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5712$as_echo_n "checking for fgrep... " >&6; } 5713if ${ac_cv_path_FGREP+:} false; then : 5714 $as_echo_n "(cached) " >&6 5715else 5716 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5717 then ac_cv_path_FGREP="$GREP -F" 5718 else 5719 if test -z "$FGREP"; then 5720 ac_path_FGREP_found=false 5721 # Loop through the user's path and test for each of PROGNAME-LIST 5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5723for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5724do 5725 IFS=$as_save_IFS 5726 test -z "$as_dir" && as_dir=. 5727 for ac_prog in fgrep; do 5728 for ac_exec_ext in '' $ac_executable_extensions; do 5729 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5730 as_fn_executable_p "$ac_path_FGREP" || continue 5731# Check for GNU ac_path_FGREP and select it if it is found. 5732 # Check for GNU $ac_path_FGREP 5733case `"$ac_path_FGREP" --version 2>&1` in 5734*GNU*) 5735 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5736*) 5737 ac_count=0 5738 $as_echo_n 0123456789 >"conftest.in" 5739 while : 5740 do 5741 cat "conftest.in" "conftest.in" >"conftest.tmp" 5742 mv "conftest.tmp" "conftest.in" 5743 cp "conftest.in" "conftest.nl" 5744 $as_echo 'FGREP' >> "conftest.nl" 5745 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5746 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5747 as_fn_arith $ac_count + 1 && ac_count=$as_val 5748 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5749 # Best one so far, save it but keep looking for a better one 5750 ac_cv_path_FGREP="$ac_path_FGREP" 5751 ac_path_FGREP_max=$ac_count 5752 fi 5753 # 10*(2^10) chars as input seems more than enough 5754 test $ac_count -gt 10 && break 5755 done 5756 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5757esac 5758 5759 $ac_path_FGREP_found && break 3 5760 done 5761 done 5762 done 5763IFS=$as_save_IFS 5764 if test -z "$ac_cv_path_FGREP"; then 5765 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5766 fi 5767else 5768 ac_cv_path_FGREP=$FGREP 5769fi 5770 5771 fi 5772fi 5773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5774$as_echo "$ac_cv_path_FGREP" >&6; } 5775 FGREP="$ac_cv_path_FGREP" 5776 5777 5778test -z "$GREP" && GREP=grep 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798# Check whether --with-gnu-ld was given. 5799if test "${with_gnu_ld+set}" = set; then : 5800 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5801else 5802 with_gnu_ld=no 5803fi 5804 5805ac_prog=ld 5806if test "$GCC" = yes; then 5807 # Check if gcc -print-prog-name=ld gives a path. 5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5809$as_echo_n "checking for ld used by $CC... " >&6; } 5810 case $host in 5811 *-*-mingw*) 5812 # gcc leaves a trailing carriage return which upsets mingw 5813 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5814 *) 5815 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5816 esac 5817 case $ac_prog in 5818 # Accept absolute paths. 5819 [\\/]* | ?:[\\/]*) 5820 re_direlt='/[^/][^/]*/\.\./' 5821 # Canonicalize the pathname of ld 5822 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5823 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5824 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5825 done 5826 test -z "$LD" && LD="$ac_prog" 5827 ;; 5828 "") 5829 # If it fails, then pretend we aren't using GCC. 5830 ac_prog=ld 5831 ;; 5832 *) 5833 # If it is relative, then search for the first ld in PATH. 5834 with_gnu_ld=unknown 5835 ;; 5836 esac 5837elif test "$with_gnu_ld" = yes; then 5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5839$as_echo_n "checking for GNU ld... " >&6; } 5840else 5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5842$as_echo_n "checking for non-GNU ld... " >&6; } 5843fi 5844if ${lt_cv_path_LD+:} false; then : 5845 $as_echo_n "(cached) " >&6 5846else 5847 if test -z "$LD"; then 5848 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5849 for ac_dir in $PATH; do 5850 IFS="$lt_save_ifs" 5851 test -z "$ac_dir" && ac_dir=. 5852 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5853 lt_cv_path_LD="$ac_dir/$ac_prog" 5854 # Check to see if the program is GNU ld. I'd rather use --version, 5855 # but apparently some variants of GNU ld only accept -v. 5856 # Break only if it was the GNU/non-GNU ld that we prefer. 5857 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5858 *GNU* | *'with BFD'*) 5859 test "$with_gnu_ld" != no && break 5860 ;; 5861 *) 5862 test "$with_gnu_ld" != yes && break 5863 ;; 5864 esac 5865 fi 5866 done 5867 IFS="$lt_save_ifs" 5868else 5869 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5870fi 5871fi 5872 5873LD="$lt_cv_path_LD" 5874if test -n "$LD"; then 5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5876$as_echo "$LD" >&6; } 5877else 5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5879$as_echo "no" >&6; } 5880fi 5881test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5883$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5884if ${lt_cv_prog_gnu_ld+:} false; then : 5885 $as_echo_n "(cached) " >&6 5886else 5887 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5888case `$LD -v 2>&1 </dev/null` in 5889*GNU* | *'with BFD'*) 5890 lt_cv_prog_gnu_ld=yes 5891 ;; 5892*) 5893 lt_cv_prog_gnu_ld=no 5894 ;; 5895esac 5896fi 5897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5898$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5899with_gnu_ld=$lt_cv_prog_gnu_ld 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5910$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5911if ${lt_cv_path_NM+:} false; then : 5912 $as_echo_n "(cached) " >&6 5913else 5914 if test -n "$NM"; then 5915 # Let the user override the test. 5916 lt_cv_path_NM="$NM" 5917else 5918 lt_nm_to_check="${ac_tool_prefix}nm" 5919 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5920 lt_nm_to_check="$lt_nm_to_check nm" 5921 fi 5922 for lt_tmp_nm in $lt_nm_to_check; do 5923 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5924 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5925 IFS="$lt_save_ifs" 5926 test -z "$ac_dir" && ac_dir=. 5927 tmp_nm="$ac_dir/$lt_tmp_nm" 5928 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5929 # Check to see if the nm accepts a BSD-compat flag. 5930 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5931 # nm: unknown option "B" ignored 5932 # Tru64's nm complains that /dev/null is an invalid object file 5933 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5934 */dev/null* | *'Invalid file or object type'*) 5935 lt_cv_path_NM="$tmp_nm -B" 5936 break 5937 ;; 5938 *) 5939 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5940 */dev/null*) 5941 lt_cv_path_NM="$tmp_nm -p" 5942 break 5943 ;; 5944 *) 5945 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5946 continue # so that we can try to find one that supports BSD flags 5947 ;; 5948 esac 5949 ;; 5950 esac 5951 fi 5952 done 5953 IFS="$lt_save_ifs" 5954 done 5955 : ${lt_cv_path_NM=no} 5956fi 5957fi 5958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5959$as_echo "$lt_cv_path_NM" >&6; } 5960if test "$lt_cv_path_NM" != "no"; then 5961 NM="$lt_cv_path_NM" 5962else 5963 # Didn't find any BSD compatible name lister, look for dumpbin. 5964 if test -n "$DUMPBIN"; then : 5965 # Let the user override the test. 5966 else 5967 if test -n "$ac_tool_prefix"; then 5968 for ac_prog in dumpbin "link -dump" 5969 do 5970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5971set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5973$as_echo_n "checking for $ac_word... " >&6; } 5974if ${ac_cv_prog_DUMPBIN+:} false; then : 5975 $as_echo_n "(cached) " >&6 5976else 5977 if test -n "$DUMPBIN"; then 5978 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5979else 5980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5981for as_dir in $PATH 5982do 5983 IFS=$as_save_IFS 5984 test -z "$as_dir" && as_dir=. 5985 for ac_exec_ext in '' $ac_executable_extensions; do 5986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5987 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5989 break 2 5990 fi 5991done 5992 done 5993IFS=$as_save_IFS 5994 5995fi 5996fi 5997DUMPBIN=$ac_cv_prog_DUMPBIN 5998if test -n "$DUMPBIN"; then 5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6000$as_echo "$DUMPBIN" >&6; } 6001else 6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6003$as_echo "no" >&6; } 6004fi 6005 6006 6007 test -n "$DUMPBIN" && break 6008 done 6009fi 6010if test -z "$DUMPBIN"; then 6011 ac_ct_DUMPBIN=$DUMPBIN 6012 for ac_prog in dumpbin "link -dump" 6013do 6014 # Extract the first word of "$ac_prog", so it can be a program name with args. 6015set dummy $ac_prog; ac_word=$2 6016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6017$as_echo_n "checking for $ac_word... " >&6; } 6018if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6019 $as_echo_n "(cached) " >&6 6020else 6021 if test -n "$ac_ct_DUMPBIN"; then 6022 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6023else 6024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6025for as_dir in $PATH 6026do 6027 IFS=$as_save_IFS 6028 test -z "$as_dir" && as_dir=. 6029 for ac_exec_ext in '' $ac_executable_extensions; do 6030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6031 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6033 break 2 6034 fi 6035done 6036 done 6037IFS=$as_save_IFS 6038 6039fi 6040fi 6041ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6042if test -n "$ac_ct_DUMPBIN"; then 6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6044$as_echo "$ac_ct_DUMPBIN" >&6; } 6045else 6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6047$as_echo "no" >&6; } 6048fi 6049 6050 6051 test -n "$ac_ct_DUMPBIN" && break 6052done 6053 6054 if test "x$ac_ct_DUMPBIN" = x; then 6055 DUMPBIN=":" 6056 else 6057 case $cross_compiling:$ac_tool_warned in 6058yes:) 6059{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6060$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6061ac_tool_warned=yes ;; 6062esac 6063 DUMPBIN=$ac_ct_DUMPBIN 6064 fi 6065fi 6066 6067 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 6068 *COFF*) 6069 DUMPBIN="$DUMPBIN -symbols" 6070 ;; 6071 *) 6072 DUMPBIN=: 6073 ;; 6074 esac 6075 fi 6076 6077 if test "$DUMPBIN" != ":"; then 6078 NM="$DUMPBIN" 6079 fi 6080fi 6081test -z "$NM" && NM=nm 6082 6083 6084 6085 6086 6087 6088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6089$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6090if ${lt_cv_nm_interface+:} false; then : 6091 $as_echo_n "(cached) " >&6 6092else 6093 lt_cv_nm_interface="BSD nm" 6094 echo "int some_variable = 0;" > conftest.$ac_ext 6095 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6096 (eval "$ac_compile" 2>conftest.err) 6097 cat conftest.err >&5 6098 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6099 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6100 cat conftest.err >&5 6101 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6102 cat conftest.out >&5 6103 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6104 lt_cv_nm_interface="MS dumpbin" 6105 fi 6106 rm -f conftest* 6107fi 6108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6109$as_echo "$lt_cv_nm_interface" >&6; } 6110 6111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6112$as_echo_n "checking whether ln -s works... " >&6; } 6113LN_S=$as_ln_s 6114if test "$LN_S" = "ln -s"; then 6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6116$as_echo "yes" >&6; } 6117else 6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6119$as_echo "no, using $LN_S" >&6; } 6120fi 6121 6122# find the maximum length of command line arguments 6123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6124$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6125if ${lt_cv_sys_max_cmd_len+:} false; then : 6126 $as_echo_n "(cached) " >&6 6127else 6128 i=0 6129 teststring="ABCD" 6130 6131 case $build_os in 6132 msdosdjgpp*) 6133 # On DJGPP, this test can blow up pretty badly due to problems in libc 6134 # (any single argument exceeding 2000 bytes causes a buffer overrun 6135 # during glob expansion). Even if it were fixed, the result of this 6136 # check would be larger than it should be. 6137 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6138 ;; 6139 6140 gnu*) 6141 # Under GNU Hurd, this test is not required because there is 6142 # no limit to the length of command line arguments. 6143 # Libtool will interpret -1 as no limit whatsoever 6144 lt_cv_sys_max_cmd_len=-1; 6145 ;; 6146 6147 cygwin* | mingw* | cegcc*) 6148 # On Win9x/ME, this test blows up -- it succeeds, but takes 6149 # about 5 minutes as the teststring grows exponentially. 6150 # Worse, since 9x/ME are not pre-emptively multitasking, 6151 # you end up with a "frozen" computer, even though with patience 6152 # the test eventually succeeds (with a max line length of 256k). 6153 # Instead, let's just punt: use the minimum linelength reported by 6154 # all of the supported platforms: 8192 (on NT/2K/XP). 6155 lt_cv_sys_max_cmd_len=8192; 6156 ;; 6157 6158 mint*) 6159 # On MiNT this can take a long time and run out of memory. 6160 lt_cv_sys_max_cmd_len=8192; 6161 ;; 6162 6163 amigaos*) 6164 # On AmigaOS with pdksh, this test takes hours, literally. 6165 # So we just punt and use a minimum line length of 8192. 6166 lt_cv_sys_max_cmd_len=8192; 6167 ;; 6168 6169 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6170 # This has been around since 386BSD, at least. Likely further. 6171 if test -x /sbin/sysctl; then 6172 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6173 elif test -x /usr/sbin/sysctl; then 6174 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6175 else 6176 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6177 fi 6178 # And add a safety zone 6179 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6180 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6181 ;; 6182 6183 interix*) 6184 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6185 lt_cv_sys_max_cmd_len=196608 6186 ;; 6187 6188 os2*) 6189 # The test takes a long time on OS/2. 6190 lt_cv_sys_max_cmd_len=8192 6191 ;; 6192 6193 osf*) 6194 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6195 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6196 # nice to cause kernel panics so lets avoid the loop below. 6197 # First set a reasonable default. 6198 lt_cv_sys_max_cmd_len=16384 6199 # 6200 if test -x /sbin/sysconfig; then 6201 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6202 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6203 esac 6204 fi 6205 ;; 6206 sco3.2v5*) 6207 lt_cv_sys_max_cmd_len=102400 6208 ;; 6209 sysv5* | sco5v6* | sysv4.2uw2*) 6210 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6211 if test -n "$kargmax"; then 6212 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6213 else 6214 lt_cv_sys_max_cmd_len=32768 6215 fi 6216 ;; 6217 *) 6218 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6219 if test -n "$lt_cv_sys_max_cmd_len"; then 6220 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6221 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6222 else 6223 # Make teststring a little bigger before we do anything with it. 6224 # a 1K string should be a reasonable start. 6225 for i in 1 2 3 4 5 6 7 8 ; do 6226 teststring=$teststring$teststring 6227 done 6228 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6229 # If test is not a shell built-in, we'll probably end up computing a 6230 # maximum length that is only half of the actual maximum length, but 6231 # we can't tell. 6232 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 6233 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6234 test $i != 17 # 1/2 MB should be enough 6235 do 6236 i=`expr $i + 1` 6237 teststring=$teststring$teststring 6238 done 6239 # Only check the string length outside the loop. 6240 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6241 teststring= 6242 # Add a significant safety factor because C++ compilers can tack on 6243 # massive amounts of additional arguments before passing them to the 6244 # linker. It appears as though 1/2 is a usable value. 6245 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6246 fi 6247 ;; 6248 esac 6249 6250fi 6251 6252if test -n $lt_cv_sys_max_cmd_len ; then 6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6254$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6255else 6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6257$as_echo "none" >&6; } 6258fi 6259max_cmd_len=$lt_cv_sys_max_cmd_len 6260 6261 6262 6263 6264 6265 6266: ${CP="cp -f"} 6267: ${MV="mv -f"} 6268: ${RM="rm -f"} 6269 6270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 6271$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 6272# Try some XSI features 6273xsi_shell=no 6274( _lt_dummy="a/b/c" 6275 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 6276 = c,a/b,b/c, \ 6277 && eval 'test $(( 1 + 1 )) -eq 2 \ 6278 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 6279 && xsi_shell=yes 6280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 6281$as_echo "$xsi_shell" >&6; } 6282 6283 6284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 6285$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 6286lt_shell_append=no 6287( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 6288 >/dev/null 2>&1 \ 6289 && lt_shell_append=yes 6290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 6291$as_echo "$lt_shell_append" >&6; } 6292 6293 6294if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6295 lt_unset=unset 6296else 6297 lt_unset=false 6298fi 6299 6300 6301 6302 6303 6304# test EBCDIC or ASCII 6305case `echo X|tr X '\101'` in 6306 A) # ASCII based system 6307 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6308 lt_SP2NL='tr \040 \012' 6309 lt_NL2SP='tr \015\012 \040\040' 6310 ;; 6311 *) # EBCDIC based system 6312 lt_SP2NL='tr \100 \n' 6313 lt_NL2SP='tr \r\n \100\100' 6314 ;; 6315esac 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6326$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6327if ${lt_cv_to_host_file_cmd+:} false; then : 6328 $as_echo_n "(cached) " >&6 6329else 6330 case $host in 6331 *-*-mingw* ) 6332 case $build in 6333 *-*-mingw* ) # actually msys 6334 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6335 ;; 6336 *-*-cygwin* ) 6337 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6338 ;; 6339 * ) # otherwise, assume *nix 6340 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6341 ;; 6342 esac 6343 ;; 6344 *-*-cygwin* ) 6345 case $build in 6346 *-*-mingw* ) # actually msys 6347 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6348 ;; 6349 *-*-cygwin* ) 6350 lt_cv_to_host_file_cmd=func_convert_file_noop 6351 ;; 6352 * ) # otherwise, assume *nix 6353 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6354 ;; 6355 esac 6356 ;; 6357 * ) # unhandled hosts (and "normal" native builds) 6358 lt_cv_to_host_file_cmd=func_convert_file_noop 6359 ;; 6360esac 6361 6362fi 6363 6364to_host_file_cmd=$lt_cv_to_host_file_cmd 6365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6366$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6367 6368 6369 6370 6371 6372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6373$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6374if ${lt_cv_to_tool_file_cmd+:} false; then : 6375 $as_echo_n "(cached) " >&6 6376else 6377 #assume ordinary cross tools, or native build. 6378lt_cv_to_tool_file_cmd=func_convert_file_noop 6379case $host in 6380 *-*-mingw* ) 6381 case $build in 6382 *-*-mingw* ) # actually msys 6383 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6384 ;; 6385 esac 6386 ;; 6387esac 6388 6389fi 6390 6391to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6393$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6394 6395 6396 6397 6398 6399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6400$as_echo_n "checking for $LD option to reload object files... " >&6; } 6401if ${lt_cv_ld_reload_flag+:} false; then : 6402 $as_echo_n "(cached) " >&6 6403else 6404 lt_cv_ld_reload_flag='-r' 6405fi 6406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6407$as_echo "$lt_cv_ld_reload_flag" >&6; } 6408reload_flag=$lt_cv_ld_reload_flag 6409case $reload_flag in 6410"" | " "*) ;; 6411*) reload_flag=" $reload_flag" ;; 6412esac 6413reload_cmds='$LD$reload_flag -o $output$reload_objs' 6414case $host_os in 6415 cygwin* | mingw* | pw32* | cegcc*) 6416 if test "$GCC" != yes; then 6417 reload_cmds=false 6418 fi 6419 ;; 6420 darwin*) 6421 if test "$GCC" = yes; then 6422 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 6423 else 6424 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6425 fi 6426 ;; 6427esac 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437if test -n "$ac_tool_prefix"; then 6438 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6439set dummy ${ac_tool_prefix}objdump; ac_word=$2 6440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6441$as_echo_n "checking for $ac_word... " >&6; } 6442if ${ac_cv_prog_OBJDUMP+:} false; then : 6443 $as_echo_n "(cached) " >&6 6444else 6445 if test -n "$OBJDUMP"; then 6446 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6447else 6448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6449for as_dir in $PATH 6450do 6451 IFS=$as_save_IFS 6452 test -z "$as_dir" && as_dir=. 6453 for ac_exec_ext in '' $ac_executable_extensions; do 6454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6455 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6457 break 2 6458 fi 6459done 6460 done 6461IFS=$as_save_IFS 6462 6463fi 6464fi 6465OBJDUMP=$ac_cv_prog_OBJDUMP 6466if test -n "$OBJDUMP"; then 6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6468$as_echo "$OBJDUMP" >&6; } 6469else 6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6471$as_echo "no" >&6; } 6472fi 6473 6474 6475fi 6476if test -z "$ac_cv_prog_OBJDUMP"; then 6477 ac_ct_OBJDUMP=$OBJDUMP 6478 # Extract the first word of "objdump", so it can be a program name with args. 6479set dummy objdump; ac_word=$2 6480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6481$as_echo_n "checking for $ac_word... " >&6; } 6482if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6483 $as_echo_n "(cached) " >&6 6484else 6485 if test -n "$ac_ct_OBJDUMP"; then 6486 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6487else 6488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6489for as_dir in $PATH 6490do 6491 IFS=$as_save_IFS 6492 test -z "$as_dir" && as_dir=. 6493 for ac_exec_ext in '' $ac_executable_extensions; do 6494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6495 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6497 break 2 6498 fi 6499done 6500 done 6501IFS=$as_save_IFS 6502 6503fi 6504fi 6505ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6506if test -n "$ac_ct_OBJDUMP"; then 6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6508$as_echo "$ac_ct_OBJDUMP" >&6; } 6509else 6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6511$as_echo "no" >&6; } 6512fi 6513 6514 if test "x$ac_ct_OBJDUMP" = x; then 6515 OBJDUMP="false" 6516 else 6517 case $cross_compiling:$ac_tool_warned in 6518yes:) 6519{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6520$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6521ac_tool_warned=yes ;; 6522esac 6523 OBJDUMP=$ac_ct_OBJDUMP 6524 fi 6525else 6526 OBJDUMP="$ac_cv_prog_OBJDUMP" 6527fi 6528 6529test -z "$OBJDUMP" && OBJDUMP=objdump 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6540$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6541if ${lt_cv_deplibs_check_method+:} false; then : 6542 $as_echo_n "(cached) " >&6 6543else 6544 lt_cv_file_magic_cmd='$MAGIC_CMD' 6545lt_cv_file_magic_test_file= 6546lt_cv_deplibs_check_method='unknown' 6547# Need to set the preceding variable on all platforms that support 6548# interlibrary dependencies. 6549# 'none' -- dependencies not supported. 6550# `unknown' -- same as none, but documents that we really don't know. 6551# 'pass_all' -- all dependencies passed with no checks. 6552# 'test_compile' -- check by making test program. 6553# 'file_magic [[regex]]' -- check by looking for files in library path 6554# which responds to the $file_magic_cmd with a given extended regex. 6555# If you have `file' or equivalent on your system and you're not sure 6556# whether `pass_all' will *always* work, you probably want this one. 6557 6558case $host_os in 6559aix[4-9]*) 6560 lt_cv_deplibs_check_method=pass_all 6561 ;; 6562 6563beos*) 6564 lt_cv_deplibs_check_method=pass_all 6565 ;; 6566 6567bsdi[45]*) 6568 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6569 lt_cv_file_magic_cmd='/usr/bin/file -L' 6570 lt_cv_file_magic_test_file=/shlib/libc.so 6571 ;; 6572 6573cygwin*) 6574 # func_win32_libid is a shell function defined in ltmain.sh 6575 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6576 lt_cv_file_magic_cmd='func_win32_libid' 6577 ;; 6578 6579mingw* | pw32*) 6580 # Base MSYS/MinGW do not provide the 'file' command needed by 6581 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6582 # unless we find 'file', for example because we are cross-compiling. 6583 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 6584 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 6585 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6586 lt_cv_file_magic_cmd='func_win32_libid' 6587 else 6588 # Keep this pattern in sync with the one in func_win32_libid. 6589 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6590 lt_cv_file_magic_cmd='$OBJDUMP -f' 6591 fi 6592 ;; 6593 6594cegcc*) 6595 # use the weaker test based on 'objdump'. See mingw*. 6596 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6597 lt_cv_file_magic_cmd='$OBJDUMP -f' 6598 ;; 6599 6600darwin* | rhapsody*) 6601 lt_cv_deplibs_check_method=pass_all 6602 ;; 6603 6604freebsd* | dragonfly*) 6605 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6606 case $host_cpu in 6607 i*86 ) 6608 # Not sure whether the presence of OpenBSD here was a mistake. 6609 # Let's accept both of them until this is cleared up. 6610 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6611 lt_cv_file_magic_cmd=/usr/bin/file 6612 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6613 ;; 6614 esac 6615 else 6616 lt_cv_deplibs_check_method=pass_all 6617 fi 6618 ;; 6619 6620gnu*) 6621 lt_cv_deplibs_check_method=pass_all 6622 ;; 6623 6624haiku*) 6625 lt_cv_deplibs_check_method=pass_all 6626 ;; 6627 6628hpux10.20* | hpux11*) 6629 lt_cv_file_magic_cmd=/usr/bin/file 6630 case $host_cpu in 6631 ia64*) 6632 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6633 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6634 ;; 6635 hppa*64*) 6636 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]' 6637 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6638 ;; 6639 *) 6640 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6641 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6642 ;; 6643 esac 6644 ;; 6645 6646interix[3-9]*) 6647 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6648 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6649 ;; 6650 6651irix5* | irix6* | nonstopux*) 6652 case $LD in 6653 *-32|*"-32 ") libmagic=32-bit;; 6654 *-n32|*"-n32 ") libmagic=N32;; 6655 *-64|*"-64 ") libmagic=64-bit;; 6656 *) libmagic=never-match;; 6657 esac 6658 lt_cv_deplibs_check_method=pass_all 6659 ;; 6660 6661# This must be glibc/ELF. 6662linux* | k*bsd*-gnu | kopensolaris*-gnu) 6663 lt_cv_deplibs_check_method=pass_all 6664 ;; 6665 6666netbsd*) 6667 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6668 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6669 else 6670 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6671 fi 6672 ;; 6673 6674newos6*) 6675 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6676 lt_cv_file_magic_cmd=/usr/bin/file 6677 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6678 ;; 6679 6680*nto* | *qnx*) 6681 lt_cv_deplibs_check_method=pass_all 6682 ;; 6683 6684openbsd*) 6685 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6686 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6687 else 6688 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6689 fi 6690 ;; 6691 6692osf3* | osf4* | osf5*) 6693 lt_cv_deplibs_check_method=pass_all 6694 ;; 6695 6696rdos*) 6697 lt_cv_deplibs_check_method=pass_all 6698 ;; 6699 6700solaris*) 6701 lt_cv_deplibs_check_method=pass_all 6702 ;; 6703 6704sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6705 lt_cv_deplibs_check_method=pass_all 6706 ;; 6707 6708sysv4 | sysv4.3*) 6709 case $host_vendor in 6710 motorola) 6711 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]' 6712 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6713 ;; 6714 ncr) 6715 lt_cv_deplibs_check_method=pass_all 6716 ;; 6717 sequent) 6718 lt_cv_file_magic_cmd='/bin/file' 6719 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6720 ;; 6721 sni) 6722 lt_cv_file_magic_cmd='/bin/file' 6723 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6724 lt_cv_file_magic_test_file=/lib/libc.so 6725 ;; 6726 siemens) 6727 lt_cv_deplibs_check_method=pass_all 6728 ;; 6729 pc) 6730 lt_cv_deplibs_check_method=pass_all 6731 ;; 6732 esac 6733 ;; 6734 6735tpf*) 6736 lt_cv_deplibs_check_method=pass_all 6737 ;; 6738esac 6739 6740fi 6741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6742$as_echo "$lt_cv_deplibs_check_method" >&6; } 6743 6744file_magic_glob= 6745want_nocaseglob=no 6746if test "$build" = "$host"; then 6747 case $host_os in 6748 mingw* | pw32*) 6749 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6750 want_nocaseglob=yes 6751 else 6752 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6753 fi 6754 ;; 6755 esac 6756fi 6757 6758file_magic_cmd=$lt_cv_file_magic_cmd 6759deplibs_check_method=$lt_cv_deplibs_check_method 6760test -z "$deplibs_check_method" && deplibs_check_method=unknown 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783if test -n "$ac_tool_prefix"; then 6784 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6785set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6787$as_echo_n "checking for $ac_word... " >&6; } 6788if ${ac_cv_prog_DLLTOOL+:} false; then : 6789 $as_echo_n "(cached) " >&6 6790else 6791 if test -n "$DLLTOOL"; then 6792 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6793else 6794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6795for as_dir in $PATH 6796do 6797 IFS=$as_save_IFS 6798 test -z "$as_dir" && as_dir=. 6799 for ac_exec_ext in '' $ac_executable_extensions; do 6800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6801 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6803 break 2 6804 fi 6805done 6806 done 6807IFS=$as_save_IFS 6808 6809fi 6810fi 6811DLLTOOL=$ac_cv_prog_DLLTOOL 6812if test -n "$DLLTOOL"; then 6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6814$as_echo "$DLLTOOL" >&6; } 6815else 6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6817$as_echo "no" >&6; } 6818fi 6819 6820 6821fi 6822if test -z "$ac_cv_prog_DLLTOOL"; then 6823 ac_ct_DLLTOOL=$DLLTOOL 6824 # Extract the first word of "dlltool", so it can be a program name with args. 6825set dummy dlltool; ac_word=$2 6826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6827$as_echo_n "checking for $ac_word... " >&6; } 6828if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6829 $as_echo_n "(cached) " >&6 6830else 6831 if test -n "$ac_ct_DLLTOOL"; then 6832 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6833else 6834as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6835for as_dir in $PATH 6836do 6837 IFS=$as_save_IFS 6838 test -z "$as_dir" && as_dir=. 6839 for ac_exec_ext in '' $ac_executable_extensions; do 6840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6841 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6843 break 2 6844 fi 6845done 6846 done 6847IFS=$as_save_IFS 6848 6849fi 6850fi 6851ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6852if test -n "$ac_ct_DLLTOOL"; then 6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6854$as_echo "$ac_ct_DLLTOOL" >&6; } 6855else 6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6857$as_echo "no" >&6; } 6858fi 6859 6860 if test "x$ac_ct_DLLTOOL" = x; then 6861 DLLTOOL="false" 6862 else 6863 case $cross_compiling:$ac_tool_warned in 6864yes:) 6865{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6866$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6867ac_tool_warned=yes ;; 6868esac 6869 DLLTOOL=$ac_ct_DLLTOOL 6870 fi 6871else 6872 DLLTOOL="$ac_cv_prog_DLLTOOL" 6873fi 6874 6875test -z "$DLLTOOL" && DLLTOOL=dlltool 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6887$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6888if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6889 $as_echo_n "(cached) " >&6 6890else 6891 lt_cv_sharedlib_from_linklib_cmd='unknown' 6892 6893case $host_os in 6894cygwin* | mingw* | pw32* | cegcc*) 6895 # two different shell functions defined in ltmain.sh 6896 # decide which to use based on capabilities of $DLLTOOL 6897 case `$DLLTOOL --help 2>&1` in 6898 *--identify-strict*) 6899 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6900 ;; 6901 *) 6902 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6903 ;; 6904 esac 6905 ;; 6906*) 6907 # fallback: assume linklib IS sharedlib 6908 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 6909 ;; 6910esac 6911 6912fi 6913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6914$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6915sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6916test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6917 6918 6919 6920 6921 6922 6923 6924if test -n "$ac_tool_prefix"; then 6925 for ac_prog in ar 6926 do 6927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6928set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6930$as_echo_n "checking for $ac_word... " >&6; } 6931if ${ac_cv_prog_AR+:} false; then : 6932 $as_echo_n "(cached) " >&6 6933else 6934 if test -n "$AR"; then 6935 ac_cv_prog_AR="$AR" # Let the user override the test. 6936else 6937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6938for as_dir in $PATH 6939do 6940 IFS=$as_save_IFS 6941 test -z "$as_dir" && as_dir=. 6942 for ac_exec_ext in '' $ac_executable_extensions; do 6943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6944 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6946 break 2 6947 fi 6948done 6949 done 6950IFS=$as_save_IFS 6951 6952fi 6953fi 6954AR=$ac_cv_prog_AR 6955if test -n "$AR"; then 6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6957$as_echo "$AR" >&6; } 6958else 6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6960$as_echo "no" >&6; } 6961fi 6962 6963 6964 test -n "$AR" && break 6965 done 6966fi 6967if test -z "$AR"; then 6968 ac_ct_AR=$AR 6969 for ac_prog in ar 6970do 6971 # Extract the first word of "$ac_prog", so it can be a program name with args. 6972set dummy $ac_prog; ac_word=$2 6973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6974$as_echo_n "checking for $ac_word... " >&6; } 6975if ${ac_cv_prog_ac_ct_AR+:} false; then : 6976 $as_echo_n "(cached) " >&6 6977else 6978 if test -n "$ac_ct_AR"; then 6979 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6980else 6981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6982for as_dir in $PATH 6983do 6984 IFS=$as_save_IFS 6985 test -z "$as_dir" && as_dir=. 6986 for ac_exec_ext in '' $ac_executable_extensions; do 6987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6988 ac_cv_prog_ac_ct_AR="$ac_prog" 6989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6990 break 2 6991 fi 6992done 6993 done 6994IFS=$as_save_IFS 6995 6996fi 6997fi 6998ac_ct_AR=$ac_cv_prog_ac_ct_AR 6999if test -n "$ac_ct_AR"; then 7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7001$as_echo "$ac_ct_AR" >&6; } 7002else 7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7004$as_echo "no" >&6; } 7005fi 7006 7007 7008 test -n "$ac_ct_AR" && break 7009done 7010 7011 if test "x$ac_ct_AR" = x; then 7012 AR="false" 7013 else 7014 case $cross_compiling:$ac_tool_warned in 7015yes:) 7016{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7017$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7018ac_tool_warned=yes ;; 7019esac 7020 AR=$ac_ct_AR 7021 fi 7022fi 7023 7024: ${AR=ar} 7025: ${AR_FLAGS=cru} 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7038$as_echo_n "checking for archiver @FILE support... " >&6; } 7039if ${lt_cv_ar_at_file+:} false; then : 7040 $as_echo_n "(cached) " >&6 7041else 7042 lt_cv_ar_at_file=no 7043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7044/* end confdefs.h. */ 7045 7046int 7047main () 7048{ 7049 7050 ; 7051 return 0; 7052} 7053_ACEOF 7054if ac_fn_c_try_compile "$LINENO"; then : 7055 echo conftest.$ac_objext > conftest.lst 7056 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7057 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7058 (eval $lt_ar_try) 2>&5 7059 ac_status=$? 7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7061 test $ac_status = 0; } 7062 if test "$ac_status" -eq 0; then 7063 # Ensure the archiver fails upon bogus file names. 7064 rm -f conftest.$ac_objext libconftest.a 7065 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7066 (eval $lt_ar_try) 2>&5 7067 ac_status=$? 7068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7069 test $ac_status = 0; } 7070 if test "$ac_status" -ne 0; then 7071 lt_cv_ar_at_file=@ 7072 fi 7073 fi 7074 rm -f conftest.* libconftest.a 7075 7076fi 7077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7078 7079fi 7080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7081$as_echo "$lt_cv_ar_at_file" >&6; } 7082 7083if test "x$lt_cv_ar_at_file" = xno; then 7084 archiver_list_spec= 7085else 7086 archiver_list_spec=$lt_cv_ar_at_file 7087fi 7088 7089 7090 7091 7092 7093 7094 7095if test -n "$ac_tool_prefix"; then 7096 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7097set dummy ${ac_tool_prefix}strip; ac_word=$2 7098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7099$as_echo_n "checking for $ac_word... " >&6; } 7100if ${ac_cv_prog_STRIP+:} false; then : 7101 $as_echo_n "(cached) " >&6 7102else 7103 if test -n "$STRIP"; then 7104 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7105else 7106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7107for as_dir in $PATH 7108do 7109 IFS=$as_save_IFS 7110 test -z "$as_dir" && as_dir=. 7111 for ac_exec_ext in '' $ac_executable_extensions; do 7112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7113 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7115 break 2 7116 fi 7117done 7118 done 7119IFS=$as_save_IFS 7120 7121fi 7122fi 7123STRIP=$ac_cv_prog_STRIP 7124if test -n "$STRIP"; then 7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7126$as_echo "$STRIP" >&6; } 7127else 7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7129$as_echo "no" >&6; } 7130fi 7131 7132 7133fi 7134if test -z "$ac_cv_prog_STRIP"; then 7135 ac_ct_STRIP=$STRIP 7136 # Extract the first word of "strip", so it can be a program name with args. 7137set dummy strip; ac_word=$2 7138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7139$as_echo_n "checking for $ac_word... " >&6; } 7140if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7141 $as_echo_n "(cached) " >&6 7142else 7143 if test -n "$ac_ct_STRIP"; then 7144 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7145else 7146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7147for as_dir in $PATH 7148do 7149 IFS=$as_save_IFS 7150 test -z "$as_dir" && as_dir=. 7151 for ac_exec_ext in '' $ac_executable_extensions; do 7152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7153 ac_cv_prog_ac_ct_STRIP="strip" 7154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7155 break 2 7156 fi 7157done 7158 done 7159IFS=$as_save_IFS 7160 7161fi 7162fi 7163ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7164if test -n "$ac_ct_STRIP"; then 7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7166$as_echo "$ac_ct_STRIP" >&6; } 7167else 7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7169$as_echo "no" >&6; } 7170fi 7171 7172 if test "x$ac_ct_STRIP" = x; then 7173 STRIP=":" 7174 else 7175 case $cross_compiling:$ac_tool_warned in 7176yes:) 7177{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7178$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7179ac_tool_warned=yes ;; 7180esac 7181 STRIP=$ac_ct_STRIP 7182 fi 7183else 7184 STRIP="$ac_cv_prog_STRIP" 7185fi 7186 7187test -z "$STRIP" && STRIP=: 7188 7189 7190 7191 7192 7193 7194if test -n "$ac_tool_prefix"; then 7195 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7196set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7198$as_echo_n "checking for $ac_word... " >&6; } 7199if ${ac_cv_prog_RANLIB+:} false; then : 7200 $as_echo_n "(cached) " >&6 7201else 7202 if test -n "$RANLIB"; then 7203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7204else 7205as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7206for as_dir in $PATH 7207do 7208 IFS=$as_save_IFS 7209 test -z "$as_dir" && as_dir=. 7210 for ac_exec_ext in '' $ac_executable_extensions; do 7211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7214 break 2 7215 fi 7216done 7217 done 7218IFS=$as_save_IFS 7219 7220fi 7221fi 7222RANLIB=$ac_cv_prog_RANLIB 7223if test -n "$RANLIB"; then 7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7225$as_echo "$RANLIB" >&6; } 7226else 7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7228$as_echo "no" >&6; } 7229fi 7230 7231 7232fi 7233if test -z "$ac_cv_prog_RANLIB"; then 7234 ac_ct_RANLIB=$RANLIB 7235 # Extract the first word of "ranlib", so it can be a program name with args. 7236set dummy ranlib; ac_word=$2 7237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7238$as_echo_n "checking for $ac_word... " >&6; } 7239if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7240 $as_echo_n "(cached) " >&6 7241else 7242 if test -n "$ac_ct_RANLIB"; then 7243 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7244else 7245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7246for as_dir in $PATH 7247do 7248 IFS=$as_save_IFS 7249 test -z "$as_dir" && as_dir=. 7250 for ac_exec_ext in '' $ac_executable_extensions; do 7251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7252 ac_cv_prog_ac_ct_RANLIB="ranlib" 7253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7254 break 2 7255 fi 7256done 7257 done 7258IFS=$as_save_IFS 7259 7260fi 7261fi 7262ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7263if test -n "$ac_ct_RANLIB"; then 7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7265$as_echo "$ac_ct_RANLIB" >&6; } 7266else 7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7268$as_echo "no" >&6; } 7269fi 7270 7271 if test "x$ac_ct_RANLIB" = x; then 7272 RANLIB=":" 7273 else 7274 case $cross_compiling:$ac_tool_warned in 7275yes:) 7276{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7277$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7278ac_tool_warned=yes ;; 7279esac 7280 RANLIB=$ac_ct_RANLIB 7281 fi 7282else 7283 RANLIB="$ac_cv_prog_RANLIB" 7284fi 7285 7286test -z "$RANLIB" && RANLIB=: 7287 7288 7289 7290 7291 7292 7293# Determine commands to create old-style static archives. 7294old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7295old_postinstall_cmds='chmod 644 $oldlib' 7296old_postuninstall_cmds= 7297 7298if test -n "$RANLIB"; then 7299 case $host_os in 7300 openbsd*) 7301 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7302 ;; 7303 *) 7304 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7305 ;; 7306 esac 7307 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7308fi 7309 7310case $host_os in 7311 darwin*) 7312 lock_old_archive_extraction=yes ;; 7313 *) 7314 lock_old_archive_extraction=no ;; 7315esac 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355# If no C compiler was specified, use CC. 7356LTCC=${LTCC-"$CC"} 7357 7358# If no C compiler flags were specified, use CFLAGS. 7359LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7360 7361# Allow CC to be a program name with arguments. 7362compiler=$CC 7363 7364 7365# Check for command to grab the raw symbol name followed by C symbol from nm. 7366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7367$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7368if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7369 $as_echo_n "(cached) " >&6 7370else 7371 7372# These are sane defaults that work on at least a few old systems. 7373# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7374 7375# Character class describing NM global symbol codes. 7376symcode='[BCDEGRST]' 7377 7378# Regexp to match symbols that can be accessed directly from C. 7379sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7380 7381# Define system-specific variables. 7382case $host_os in 7383aix*) 7384 symcode='[BCDT]' 7385 ;; 7386cygwin* | mingw* | pw32* | cegcc*) 7387 symcode='[ABCDGISTW]' 7388 ;; 7389hpux*) 7390 if test "$host_cpu" = ia64; then 7391 symcode='[ABCDEGRST]' 7392 fi 7393 ;; 7394irix* | nonstopux*) 7395 symcode='[BCDEGRST]' 7396 ;; 7397osf*) 7398 symcode='[BCDEGQRST]' 7399 ;; 7400solaris*) 7401 symcode='[BDRT]' 7402 ;; 7403sco3.2v5*) 7404 symcode='[DT]' 7405 ;; 7406sysv4.2uw2*) 7407 symcode='[DT]' 7408 ;; 7409sysv5* | sco5v6* | unixware* | OpenUNIX*) 7410 symcode='[ABDT]' 7411 ;; 7412sysv4) 7413 symcode='[DFNSTU]' 7414 ;; 7415esac 7416 7417# If we're using GNU nm, then use its standard symbol codes. 7418case `$NM -V 2>&1` in 7419*GNU* | *'with BFD'*) 7420 symcode='[ABCDGIRSTW]' ;; 7421esac 7422 7423# Transform an extracted symbol line into a proper C declaration. 7424# Some systems (esp. on ia64) link data and code symbols differently, 7425# so use this general approach. 7426lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7427 7428# Transform an extracted symbol line into symbol name and symbol address 7429lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 7430lt_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'" 7431 7432# Handle CRLF in mingw tool chain 7433opt_cr= 7434case $build_os in 7435mingw*) 7436 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7437 ;; 7438esac 7439 7440# Try without a prefix underscore, then with it. 7441for ac_symprfx in "" "_"; do 7442 7443 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7444 symxfrm="\\1 $ac_symprfx\\2 \\2" 7445 7446 # Write the raw and C identifiers. 7447 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7448 # Fake it for dumpbin and say T for any non-static function 7449 # and D for any global variable. 7450 # Also find C++ and __fastcall symbols from MSVC++, 7451 # which start with @ or ?. 7452 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7453" {last_section=section; section=\$ 3};"\ 7454" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7455" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7456" \$ 0!~/External *\|/{next};"\ 7457" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7458" {if(hide[section]) next};"\ 7459" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 7460" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 7461" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 7462" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 7463" ' prfx=^$ac_symprfx" 7464 else 7465 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7466 fi 7467 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7468 7469 # Check to see that the pipe works correctly. 7470 pipe_works=no 7471 7472 rm -f conftest* 7473 cat > conftest.$ac_ext <<_LT_EOF 7474#ifdef __cplusplus 7475extern "C" { 7476#endif 7477char nm_test_var; 7478void nm_test_func(void); 7479void nm_test_func(void){} 7480#ifdef __cplusplus 7481} 7482#endif 7483int main(){nm_test_var='a';nm_test_func();return(0);} 7484_LT_EOF 7485 7486 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7487 (eval $ac_compile) 2>&5 7488 ac_status=$? 7489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7490 test $ac_status = 0; }; then 7491 # Now try to grab the symbols. 7492 nlist=conftest.nm 7493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7494 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7495 ac_status=$? 7496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7497 test $ac_status = 0; } && test -s "$nlist"; then 7498 # Try sorting and uniquifying the output. 7499 if sort "$nlist" | uniq > "$nlist"T; then 7500 mv -f "$nlist"T "$nlist" 7501 else 7502 rm -f "$nlist"T 7503 fi 7504 7505 # Make sure that we snagged all the symbols we need. 7506 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7507 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7508 cat <<_LT_EOF > conftest.$ac_ext 7509/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7510#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 7511/* DATA imports from DLLs on WIN32 con't be const, because runtime 7512 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7513# define LT_DLSYM_CONST 7514#elif defined(__osf__) 7515/* This system does not cope well with relocations in const data. */ 7516# define LT_DLSYM_CONST 7517#else 7518# define LT_DLSYM_CONST const 7519#endif 7520 7521#ifdef __cplusplus 7522extern "C" { 7523#endif 7524 7525_LT_EOF 7526 # Now generate the symbol file. 7527 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7528 7529 cat <<_LT_EOF >> conftest.$ac_ext 7530 7531/* The mapping between symbol names and symbols. */ 7532LT_DLSYM_CONST struct { 7533 const char *name; 7534 void *address; 7535} 7536lt__PROGRAM__LTX_preloaded_symbols[] = 7537{ 7538 { "@PROGRAM@", (void *) 0 }, 7539_LT_EOF 7540 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7541 cat <<\_LT_EOF >> conftest.$ac_ext 7542 {0, (void *) 0} 7543}; 7544 7545/* This works around a problem in FreeBSD linker */ 7546#ifdef FREEBSD_WORKAROUND 7547static const void *lt_preloaded_setup() { 7548 return lt__PROGRAM__LTX_preloaded_symbols; 7549} 7550#endif 7551 7552#ifdef __cplusplus 7553} 7554#endif 7555_LT_EOF 7556 # Now try linking the two files. 7557 mv conftest.$ac_objext conftstm.$ac_objext 7558 lt_globsym_save_LIBS=$LIBS 7559 lt_globsym_save_CFLAGS=$CFLAGS 7560 LIBS="conftstm.$ac_objext" 7561 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7562 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7563 (eval $ac_link) 2>&5 7564 ac_status=$? 7565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7566 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7567 pipe_works=yes 7568 fi 7569 LIBS=$lt_globsym_save_LIBS 7570 CFLAGS=$lt_globsym_save_CFLAGS 7571 else 7572 echo "cannot find nm_test_func in $nlist" >&5 7573 fi 7574 else 7575 echo "cannot find nm_test_var in $nlist" >&5 7576 fi 7577 else 7578 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7579 fi 7580 else 7581 echo "$progname: failed program was:" >&5 7582 cat conftest.$ac_ext >&5 7583 fi 7584 rm -rf conftest* conftst* 7585 7586 # Do not use the global_symbol_pipe unless it works. 7587 if test "$pipe_works" = yes; then 7588 break 7589 else 7590 lt_cv_sys_global_symbol_pipe= 7591 fi 7592done 7593 7594fi 7595 7596if test -z "$lt_cv_sys_global_symbol_pipe"; then 7597 lt_cv_sys_global_symbol_to_cdecl= 7598fi 7599if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7601$as_echo "failed" >&6; } 7602else 7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7604$as_echo "ok" >&6; } 7605fi 7606 7607# Response file support. 7608if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7609 nm_file_list_spec='@' 7610elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7611 nm_file_list_spec='@' 7612fi 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7641$as_echo_n "checking for sysroot... " >&6; } 7642 7643# Check whether --with-sysroot was given. 7644if test "${with_sysroot+set}" = set; then : 7645 withval=$with_sysroot; 7646else 7647 with_sysroot=no 7648fi 7649 7650 7651lt_sysroot= 7652case ${with_sysroot} in #( 7653 yes) 7654 if test "$GCC" = yes; then 7655 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7656 fi 7657 ;; #( 7658 /*) 7659 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7660 ;; #( 7661 no|'') 7662 ;; #( 7663 *) 7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 7665$as_echo "${with_sysroot}" >&6; } 7666 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7667 ;; 7668esac 7669 7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7671$as_echo "${lt_sysroot:-no}" >&6; } 7672 7673 7674 7675 7676 7677# Check whether --enable-libtool-lock was given. 7678if test "${enable_libtool_lock+set}" = set; then : 7679 enableval=$enable_libtool_lock; 7680fi 7681 7682test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7683 7684# Some flags need to be propagated to the compiler or linker for good 7685# libtool support. 7686case $host in 7687ia64-*-hpux*) 7688 # Find out which ABI we are using. 7689 echo 'int i;' > conftest.$ac_ext 7690 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7691 (eval $ac_compile) 2>&5 7692 ac_status=$? 7693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7694 test $ac_status = 0; }; then 7695 case `/usr/bin/file conftest.$ac_objext` in 7696 *ELF-32*) 7697 HPUX_IA64_MODE="32" 7698 ;; 7699 *ELF-64*) 7700 HPUX_IA64_MODE="64" 7701 ;; 7702 esac 7703 fi 7704 rm -rf conftest* 7705 ;; 7706*-*-irix6*) 7707 # Find out which ABI we are using. 7708 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7710 (eval $ac_compile) 2>&5 7711 ac_status=$? 7712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7713 test $ac_status = 0; }; then 7714 if test "$lt_cv_prog_gnu_ld" = yes; then 7715 case `/usr/bin/file conftest.$ac_objext` in 7716 *32-bit*) 7717 LD="${LD-ld} -melf32bsmip" 7718 ;; 7719 *N32*) 7720 LD="${LD-ld} -melf32bmipn32" 7721 ;; 7722 *64-bit*) 7723 LD="${LD-ld} -melf64bmip" 7724 ;; 7725 esac 7726 else 7727 case `/usr/bin/file conftest.$ac_objext` in 7728 *32-bit*) 7729 LD="${LD-ld} -32" 7730 ;; 7731 *N32*) 7732 LD="${LD-ld} -n32" 7733 ;; 7734 *64-bit*) 7735 LD="${LD-ld} -64" 7736 ;; 7737 esac 7738 fi 7739 fi 7740 rm -rf conftest* 7741 ;; 7742 7743x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 7744s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7745 # Find out which ABI we are using. 7746 echo 'int i;' > conftest.$ac_ext 7747 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7748 (eval $ac_compile) 2>&5 7749 ac_status=$? 7750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7751 test $ac_status = 0; }; then 7752 case `/usr/bin/file conftest.o` in 7753 *32-bit*) 7754 case $host in 7755 x86_64-*kfreebsd*-gnu) 7756 LD="${LD-ld} -m elf_i386_fbsd" 7757 ;; 7758 x86_64-*linux*) 7759 LD="${LD-ld} -m elf_i386" 7760 ;; 7761 ppc64-*linux*|powerpc64-*linux*) 7762 LD="${LD-ld} -m elf32ppclinux" 7763 ;; 7764 s390x-*linux*) 7765 LD="${LD-ld} -m elf_s390" 7766 ;; 7767 sparc64-*linux*) 7768 LD="${LD-ld} -m elf32_sparc" 7769 ;; 7770 esac 7771 ;; 7772 *64-bit*) 7773 case $host in 7774 x86_64-*kfreebsd*-gnu) 7775 LD="${LD-ld} -m elf_x86_64_fbsd" 7776 ;; 7777 x86_64-*linux*) 7778 LD="${LD-ld} -m elf_x86_64" 7779 ;; 7780 ppc*-*linux*|powerpc*-*linux*) 7781 LD="${LD-ld} -m elf64ppc" 7782 ;; 7783 s390*-*linux*|s390*-*tpf*) 7784 LD="${LD-ld} -m elf64_s390" 7785 ;; 7786 sparc*-*linux*) 7787 LD="${LD-ld} -m elf64_sparc" 7788 ;; 7789 esac 7790 ;; 7791 esac 7792 fi 7793 rm -rf conftest* 7794 ;; 7795 7796*-*-sco3.2v5*) 7797 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7798 SAVE_CFLAGS="$CFLAGS" 7799 CFLAGS="$CFLAGS -belf" 7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7801$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7802if ${lt_cv_cc_needs_belf+:} false; then : 7803 $as_echo_n "(cached) " >&6 7804else 7805 ac_ext=c 7806ac_cpp='$CPP $CPPFLAGS' 7807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7809ac_compiler_gnu=$ac_cv_c_compiler_gnu 7810 7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7812/* end confdefs.h. */ 7813 7814int 7815main () 7816{ 7817 7818 ; 7819 return 0; 7820} 7821_ACEOF 7822if ac_fn_c_try_link "$LINENO"; then : 7823 lt_cv_cc_needs_belf=yes 7824else 7825 lt_cv_cc_needs_belf=no 7826fi 7827rm -f core conftest.err conftest.$ac_objext \ 7828 conftest$ac_exeext conftest.$ac_ext 7829 ac_ext=c 7830ac_cpp='$CPP $CPPFLAGS' 7831ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7832ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7833ac_compiler_gnu=$ac_cv_c_compiler_gnu 7834 7835fi 7836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7837$as_echo "$lt_cv_cc_needs_belf" >&6; } 7838 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7839 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7840 CFLAGS="$SAVE_CFLAGS" 7841 fi 7842 ;; 7843*-*solaris*) 7844 # Find out which ABI we are using. 7845 echo 'int i;' > conftest.$ac_ext 7846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7847 (eval $ac_compile) 2>&5 7848 ac_status=$? 7849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7850 test $ac_status = 0; }; then 7851 case `/usr/bin/file conftest.o` in 7852 *64-bit*) 7853 case $lt_cv_prog_gnu_ld in 7854 yes*) 7855 case $host in 7856 i?86-*-solaris*) 7857 LD="${LD-ld} -m elf_x86_64" 7858 ;; 7859 sparc*-*-solaris*) 7860 LD="${LD-ld} -m elf64_sparc" 7861 ;; 7862 esac 7863 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7864 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7865 LD="${LD-ld}_sol2" 7866 fi 7867 ;; 7868 *) 7869 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7870 LD="${LD-ld} -64" 7871 fi 7872 ;; 7873 esac 7874 ;; 7875 esac 7876 fi 7877 rm -rf conftest* 7878 ;; 7879esac 7880 7881need_locks="$enable_libtool_lock" 7882 7883if test -n "$ac_tool_prefix"; then 7884 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7885set dummy ${ac_tool_prefix}mt; ac_word=$2 7886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7887$as_echo_n "checking for $ac_word... " >&6; } 7888if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7889 $as_echo_n "(cached) " >&6 7890else 7891 if test -n "$MANIFEST_TOOL"; then 7892 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7893else 7894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7895for as_dir in $PATH 7896do 7897 IFS=$as_save_IFS 7898 test -z "$as_dir" && as_dir=. 7899 for ac_exec_ext in '' $ac_executable_extensions; do 7900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7901 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7903 break 2 7904 fi 7905done 7906 done 7907IFS=$as_save_IFS 7908 7909fi 7910fi 7911MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7912if test -n "$MANIFEST_TOOL"; then 7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7914$as_echo "$MANIFEST_TOOL" >&6; } 7915else 7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7917$as_echo "no" >&6; } 7918fi 7919 7920 7921fi 7922if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7923 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7924 # Extract the first word of "mt", so it can be a program name with args. 7925set dummy mt; ac_word=$2 7926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7927$as_echo_n "checking for $ac_word... " >&6; } 7928if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7929 $as_echo_n "(cached) " >&6 7930else 7931 if test -n "$ac_ct_MANIFEST_TOOL"; then 7932 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7933else 7934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7935for as_dir in $PATH 7936do 7937 IFS=$as_save_IFS 7938 test -z "$as_dir" && as_dir=. 7939 for ac_exec_ext in '' $ac_executable_extensions; do 7940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7941 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7943 break 2 7944 fi 7945done 7946 done 7947IFS=$as_save_IFS 7948 7949fi 7950fi 7951ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7952if test -n "$ac_ct_MANIFEST_TOOL"; then 7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7954$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7955else 7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7957$as_echo "no" >&6; } 7958fi 7959 7960 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7961 MANIFEST_TOOL=":" 7962 else 7963 case $cross_compiling:$ac_tool_warned in 7964yes:) 7965{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7966$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7967ac_tool_warned=yes ;; 7968esac 7969 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7970 fi 7971else 7972 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7973fi 7974 7975test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7977$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7978if ${lt_cv_path_mainfest_tool+:} false; then : 7979 $as_echo_n "(cached) " >&6 7980else 7981 lt_cv_path_mainfest_tool=no 7982 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7983 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7984 cat conftest.err >&5 7985 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7986 lt_cv_path_mainfest_tool=yes 7987 fi 7988 rm -f conftest* 7989fi 7990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7991$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7992if test "x$lt_cv_path_mainfest_tool" != xyes; then 7993 MANIFEST_TOOL=: 7994fi 7995 7996 7997 7998 7999 8000 8001 case $host_os in 8002 rhapsody* | darwin*) 8003 if test -n "$ac_tool_prefix"; then 8004 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8005set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8007$as_echo_n "checking for $ac_word... " >&6; } 8008if ${ac_cv_prog_DSYMUTIL+:} false; then : 8009 $as_echo_n "(cached) " >&6 8010else 8011 if test -n "$DSYMUTIL"; then 8012 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8013else 8014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8015for as_dir in $PATH 8016do 8017 IFS=$as_save_IFS 8018 test -z "$as_dir" && as_dir=. 8019 for ac_exec_ext in '' $ac_executable_extensions; do 8020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8021 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8023 break 2 8024 fi 8025done 8026 done 8027IFS=$as_save_IFS 8028 8029fi 8030fi 8031DSYMUTIL=$ac_cv_prog_DSYMUTIL 8032if test -n "$DSYMUTIL"; then 8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8034$as_echo "$DSYMUTIL" >&6; } 8035else 8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8037$as_echo "no" >&6; } 8038fi 8039 8040 8041fi 8042if test -z "$ac_cv_prog_DSYMUTIL"; then 8043 ac_ct_DSYMUTIL=$DSYMUTIL 8044 # Extract the first word of "dsymutil", so it can be a program name with args. 8045set dummy dsymutil; ac_word=$2 8046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8047$as_echo_n "checking for $ac_word... " >&6; } 8048if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8049 $as_echo_n "(cached) " >&6 8050else 8051 if test -n "$ac_ct_DSYMUTIL"; then 8052 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8053else 8054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8055for as_dir in $PATH 8056do 8057 IFS=$as_save_IFS 8058 test -z "$as_dir" && as_dir=. 8059 for ac_exec_ext in '' $ac_executable_extensions; do 8060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8061 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8063 break 2 8064 fi 8065done 8066 done 8067IFS=$as_save_IFS 8068 8069fi 8070fi 8071ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8072if test -n "$ac_ct_DSYMUTIL"; then 8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8074$as_echo "$ac_ct_DSYMUTIL" >&6; } 8075else 8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8077$as_echo "no" >&6; } 8078fi 8079 8080 if test "x$ac_ct_DSYMUTIL" = x; then 8081 DSYMUTIL=":" 8082 else 8083 case $cross_compiling:$ac_tool_warned in 8084yes:) 8085{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8086$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8087ac_tool_warned=yes ;; 8088esac 8089 DSYMUTIL=$ac_ct_DSYMUTIL 8090 fi 8091else 8092 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8093fi 8094 8095 if test -n "$ac_tool_prefix"; then 8096 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8097set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8099$as_echo_n "checking for $ac_word... " >&6; } 8100if ${ac_cv_prog_NMEDIT+:} false; then : 8101 $as_echo_n "(cached) " >&6 8102else 8103 if test -n "$NMEDIT"; then 8104 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8105else 8106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8107for as_dir in $PATH 8108do 8109 IFS=$as_save_IFS 8110 test -z "$as_dir" && as_dir=. 8111 for ac_exec_ext in '' $ac_executable_extensions; do 8112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8113 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8115 break 2 8116 fi 8117done 8118 done 8119IFS=$as_save_IFS 8120 8121fi 8122fi 8123NMEDIT=$ac_cv_prog_NMEDIT 8124if test -n "$NMEDIT"; then 8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8126$as_echo "$NMEDIT" >&6; } 8127else 8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8129$as_echo "no" >&6; } 8130fi 8131 8132 8133fi 8134if test -z "$ac_cv_prog_NMEDIT"; then 8135 ac_ct_NMEDIT=$NMEDIT 8136 # Extract the first word of "nmedit", so it can be a program name with args. 8137set dummy nmedit; ac_word=$2 8138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8139$as_echo_n "checking for $ac_word... " >&6; } 8140if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8141 $as_echo_n "(cached) " >&6 8142else 8143 if test -n "$ac_ct_NMEDIT"; then 8144 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8145else 8146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8147for as_dir in $PATH 8148do 8149 IFS=$as_save_IFS 8150 test -z "$as_dir" && as_dir=. 8151 for ac_exec_ext in '' $ac_executable_extensions; do 8152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8153 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8155 break 2 8156 fi 8157done 8158 done 8159IFS=$as_save_IFS 8160 8161fi 8162fi 8163ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8164if test -n "$ac_ct_NMEDIT"; then 8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8166$as_echo "$ac_ct_NMEDIT" >&6; } 8167else 8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8169$as_echo "no" >&6; } 8170fi 8171 8172 if test "x$ac_ct_NMEDIT" = x; then 8173 NMEDIT=":" 8174 else 8175 case $cross_compiling:$ac_tool_warned in 8176yes:) 8177{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8178$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8179ac_tool_warned=yes ;; 8180esac 8181 NMEDIT=$ac_ct_NMEDIT 8182 fi 8183else 8184 NMEDIT="$ac_cv_prog_NMEDIT" 8185fi 8186 8187 if test -n "$ac_tool_prefix"; then 8188 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8189set dummy ${ac_tool_prefix}lipo; ac_word=$2 8190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8191$as_echo_n "checking for $ac_word... " >&6; } 8192if ${ac_cv_prog_LIPO+:} false; then : 8193 $as_echo_n "(cached) " >&6 8194else 8195 if test -n "$LIPO"; then 8196 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8197else 8198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8199for as_dir in $PATH 8200do 8201 IFS=$as_save_IFS 8202 test -z "$as_dir" && as_dir=. 8203 for ac_exec_ext in '' $ac_executable_extensions; do 8204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8205 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8207 break 2 8208 fi 8209done 8210 done 8211IFS=$as_save_IFS 8212 8213fi 8214fi 8215LIPO=$ac_cv_prog_LIPO 8216if test -n "$LIPO"; then 8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8218$as_echo "$LIPO" >&6; } 8219else 8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8221$as_echo "no" >&6; } 8222fi 8223 8224 8225fi 8226if test -z "$ac_cv_prog_LIPO"; then 8227 ac_ct_LIPO=$LIPO 8228 # Extract the first word of "lipo", so it can be a program name with args. 8229set dummy lipo; ac_word=$2 8230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8231$as_echo_n "checking for $ac_word... " >&6; } 8232if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8233 $as_echo_n "(cached) " >&6 8234else 8235 if test -n "$ac_ct_LIPO"; then 8236 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8237else 8238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8239for as_dir in $PATH 8240do 8241 IFS=$as_save_IFS 8242 test -z "$as_dir" && as_dir=. 8243 for ac_exec_ext in '' $ac_executable_extensions; do 8244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8245 ac_cv_prog_ac_ct_LIPO="lipo" 8246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8247 break 2 8248 fi 8249done 8250 done 8251IFS=$as_save_IFS 8252 8253fi 8254fi 8255ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8256if test -n "$ac_ct_LIPO"; then 8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8258$as_echo "$ac_ct_LIPO" >&6; } 8259else 8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8261$as_echo "no" >&6; } 8262fi 8263 8264 if test "x$ac_ct_LIPO" = x; then 8265 LIPO=":" 8266 else 8267 case $cross_compiling:$ac_tool_warned in 8268yes:) 8269{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8270$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8271ac_tool_warned=yes ;; 8272esac 8273 LIPO=$ac_ct_LIPO 8274 fi 8275else 8276 LIPO="$ac_cv_prog_LIPO" 8277fi 8278 8279 if test -n "$ac_tool_prefix"; then 8280 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8281set dummy ${ac_tool_prefix}otool; ac_word=$2 8282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8283$as_echo_n "checking for $ac_word... " >&6; } 8284if ${ac_cv_prog_OTOOL+:} false; then : 8285 $as_echo_n "(cached) " >&6 8286else 8287 if test -n "$OTOOL"; then 8288 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8289else 8290as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8291for as_dir in $PATH 8292do 8293 IFS=$as_save_IFS 8294 test -z "$as_dir" && as_dir=. 8295 for ac_exec_ext in '' $ac_executable_extensions; do 8296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8297 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8299 break 2 8300 fi 8301done 8302 done 8303IFS=$as_save_IFS 8304 8305fi 8306fi 8307OTOOL=$ac_cv_prog_OTOOL 8308if test -n "$OTOOL"; then 8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8310$as_echo "$OTOOL" >&6; } 8311else 8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8313$as_echo "no" >&6; } 8314fi 8315 8316 8317fi 8318if test -z "$ac_cv_prog_OTOOL"; then 8319 ac_ct_OTOOL=$OTOOL 8320 # Extract the first word of "otool", so it can be a program name with args. 8321set dummy otool; ac_word=$2 8322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8323$as_echo_n "checking for $ac_word... " >&6; } 8324if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8325 $as_echo_n "(cached) " >&6 8326else 8327 if test -n "$ac_ct_OTOOL"; then 8328 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8329else 8330as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8331for as_dir in $PATH 8332do 8333 IFS=$as_save_IFS 8334 test -z "$as_dir" && as_dir=. 8335 for ac_exec_ext in '' $ac_executable_extensions; do 8336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8337 ac_cv_prog_ac_ct_OTOOL="otool" 8338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8339 break 2 8340 fi 8341done 8342 done 8343IFS=$as_save_IFS 8344 8345fi 8346fi 8347ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8348if test -n "$ac_ct_OTOOL"; then 8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8350$as_echo "$ac_ct_OTOOL" >&6; } 8351else 8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8353$as_echo "no" >&6; } 8354fi 8355 8356 if test "x$ac_ct_OTOOL" = x; then 8357 OTOOL=":" 8358 else 8359 case $cross_compiling:$ac_tool_warned in 8360yes:) 8361{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8362$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8363ac_tool_warned=yes ;; 8364esac 8365 OTOOL=$ac_ct_OTOOL 8366 fi 8367else 8368 OTOOL="$ac_cv_prog_OTOOL" 8369fi 8370 8371 if test -n "$ac_tool_prefix"; then 8372 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8373set dummy ${ac_tool_prefix}otool64; ac_word=$2 8374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8375$as_echo_n "checking for $ac_word... " >&6; } 8376if ${ac_cv_prog_OTOOL64+:} false; then : 8377 $as_echo_n "(cached) " >&6 8378else 8379 if test -n "$OTOOL64"; then 8380 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8381else 8382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8383for as_dir in $PATH 8384do 8385 IFS=$as_save_IFS 8386 test -z "$as_dir" && as_dir=. 8387 for ac_exec_ext in '' $ac_executable_extensions; do 8388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8389 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8391 break 2 8392 fi 8393done 8394 done 8395IFS=$as_save_IFS 8396 8397fi 8398fi 8399OTOOL64=$ac_cv_prog_OTOOL64 8400if test -n "$OTOOL64"; then 8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8402$as_echo "$OTOOL64" >&6; } 8403else 8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8405$as_echo "no" >&6; } 8406fi 8407 8408 8409fi 8410if test -z "$ac_cv_prog_OTOOL64"; then 8411 ac_ct_OTOOL64=$OTOOL64 8412 # Extract the first word of "otool64", so it can be a program name with args. 8413set dummy otool64; ac_word=$2 8414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8415$as_echo_n "checking for $ac_word... " >&6; } 8416if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8417 $as_echo_n "(cached) " >&6 8418else 8419 if test -n "$ac_ct_OTOOL64"; then 8420 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8421else 8422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8423for as_dir in $PATH 8424do 8425 IFS=$as_save_IFS 8426 test -z "$as_dir" && as_dir=. 8427 for ac_exec_ext in '' $ac_executable_extensions; do 8428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8429 ac_cv_prog_ac_ct_OTOOL64="otool64" 8430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8431 break 2 8432 fi 8433done 8434 done 8435IFS=$as_save_IFS 8436 8437fi 8438fi 8439ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8440if test -n "$ac_ct_OTOOL64"; then 8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8442$as_echo "$ac_ct_OTOOL64" >&6; } 8443else 8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8445$as_echo "no" >&6; } 8446fi 8447 8448 if test "x$ac_ct_OTOOL64" = x; then 8449 OTOOL64=":" 8450 else 8451 case $cross_compiling:$ac_tool_warned in 8452yes:) 8453{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8454$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8455ac_tool_warned=yes ;; 8456esac 8457 OTOOL64=$ac_ct_OTOOL64 8458 fi 8459else 8460 OTOOL64="$ac_cv_prog_OTOOL64" 8461fi 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8490$as_echo_n "checking for -single_module linker flag... " >&6; } 8491if ${lt_cv_apple_cc_single_mod+:} false; then : 8492 $as_echo_n "(cached) " >&6 8493else 8494 lt_cv_apple_cc_single_mod=no 8495 if test -z "${LT_MULTI_MODULE}"; then 8496 # By default we will add the -single_module flag. You can override 8497 # by either setting the environment variable LT_MULTI_MODULE 8498 # non-empty at configure time, or by adding -multi_module to the 8499 # link flags. 8500 rm -rf libconftest.dylib* 8501 echo "int foo(void){return 1;}" > conftest.c 8502 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8503-dynamiclib -Wl,-single_module conftest.c" >&5 8504 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8505 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8506 _lt_result=$? 8507 # If there is a non-empty error log, and "single_module" 8508 # appears in it, assume the flag caused a linker warning 8509 if test -s conftest.err && $GREP single_module conftest.err; then 8510 cat conftest.err >&5 8511 # Otherwise, if the output was created with a 0 exit code from 8512 # the compiler, it worked. 8513 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 8514 lt_cv_apple_cc_single_mod=yes 8515 else 8516 cat conftest.err >&5 8517 fi 8518 rm -rf libconftest.dylib* 8519 rm -f conftest.* 8520 fi 8521fi 8522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8523$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8524 8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8526$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8527if ${lt_cv_ld_exported_symbols_list+:} false; then : 8528 $as_echo_n "(cached) " >&6 8529else 8530 lt_cv_ld_exported_symbols_list=no 8531 save_LDFLAGS=$LDFLAGS 8532 echo "_main" > conftest.sym 8533 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8535/* end confdefs.h. */ 8536 8537int 8538main () 8539{ 8540 8541 ; 8542 return 0; 8543} 8544_ACEOF 8545if ac_fn_c_try_link "$LINENO"; then : 8546 lt_cv_ld_exported_symbols_list=yes 8547else 8548 lt_cv_ld_exported_symbols_list=no 8549fi 8550rm -f core conftest.err conftest.$ac_objext \ 8551 conftest$ac_exeext conftest.$ac_ext 8552 LDFLAGS="$save_LDFLAGS" 8553 8554fi 8555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8556$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8557 8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8559$as_echo_n "checking for -force_load linker flag... " >&6; } 8560if ${lt_cv_ld_force_load+:} false; then : 8561 $as_echo_n "(cached) " >&6 8562else 8563 lt_cv_ld_force_load=no 8564 cat > conftest.c << _LT_EOF 8565int forced_loaded() { return 2;} 8566_LT_EOF 8567 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8568 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8569 echo "$AR cru libconftest.a conftest.o" >&5 8570 $AR cru libconftest.a conftest.o 2>&5 8571 echo "$RANLIB libconftest.a" >&5 8572 $RANLIB libconftest.a 2>&5 8573 cat > conftest.c << _LT_EOF 8574int main() { return 0;} 8575_LT_EOF 8576 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8577 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8578 _lt_result=$? 8579 if test -s conftest.err && $GREP force_load conftest.err; then 8580 cat conftest.err >&5 8581 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 8582 lt_cv_ld_force_load=yes 8583 else 8584 cat conftest.err >&5 8585 fi 8586 rm -f conftest.err libconftest.a conftest conftest.c 8587 rm -rf conftest.dSYM 8588 8589fi 8590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8591$as_echo "$lt_cv_ld_force_load" >&6; } 8592 case $host_os in 8593 rhapsody* | darwin1.[012]) 8594 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8595 darwin1.*) 8596 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8597 darwin*) # darwin 5.x on 8598 # if running on 10.5 or later, the deployment target defaults 8599 # to the OS version, if on x86, and 10.4, the deployment 8600 # target defaults to 10.4. Don't you love it? 8601 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8602 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8603 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8604 10.[012]*) 8605 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8606 10.*) 8607 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8608 esac 8609 ;; 8610 esac 8611 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 8612 _lt_dar_single_mod='$single_module' 8613 fi 8614 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 8615 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 8616 else 8617 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 8618 fi 8619 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 8620 _lt_dsymutil='~$DSYMUTIL $lib || :' 8621 else 8622 _lt_dsymutil= 8623 fi 8624 ;; 8625 esac 8626 8627ac_ext=c 8628ac_cpp='$CPP $CPPFLAGS' 8629ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8630ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8631ac_compiler_gnu=$ac_cv_c_compiler_gnu 8632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8633$as_echo_n "checking how to run the C preprocessor... " >&6; } 8634# On Suns, sometimes $CPP names a directory. 8635if test -n "$CPP" && test -d "$CPP"; then 8636 CPP= 8637fi 8638if test -z "$CPP"; then 8639 if ${ac_cv_prog_CPP+:} false; then : 8640 $as_echo_n "(cached) " >&6 8641else 8642 # Double quotes because CPP needs to be expanded 8643 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 8644 do 8645 ac_preproc_ok=false 8646for ac_c_preproc_warn_flag in '' yes 8647do 8648 # Use a header file that comes with gcc, so configuring glibc 8649 # with a fresh cross-compiler works. 8650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8651 # <limits.h> exists even on freestanding compilers. 8652 # On the NeXT, cc -E runs the code through the compiler's parser, 8653 # not just through cpp. "Syntax error" is here to catch this case. 8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8655/* end confdefs.h. */ 8656#ifdef __STDC__ 8657# include <limits.h> 8658#else 8659# include <assert.h> 8660#endif 8661 Syntax error 8662_ACEOF 8663if ac_fn_c_try_cpp "$LINENO"; then : 8664 8665else 8666 # Broken: fails on valid input. 8667continue 8668fi 8669rm -f conftest.err conftest.i conftest.$ac_ext 8670 8671 # OK, works on sane cases. Now check whether nonexistent headers 8672 # can be detected and how. 8673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8674/* end confdefs.h. */ 8675#include <ac_nonexistent.h> 8676_ACEOF 8677if ac_fn_c_try_cpp "$LINENO"; then : 8678 # Broken: success on invalid input. 8679continue 8680else 8681 # Passes both tests. 8682ac_preproc_ok=: 8683break 8684fi 8685rm -f conftest.err conftest.i conftest.$ac_ext 8686 8687done 8688# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8689rm -f conftest.i conftest.err conftest.$ac_ext 8690if $ac_preproc_ok; then : 8691 break 8692fi 8693 8694 done 8695 ac_cv_prog_CPP=$CPP 8696 8697fi 8698 CPP=$ac_cv_prog_CPP 8699else 8700 ac_cv_prog_CPP=$CPP 8701fi 8702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8703$as_echo "$CPP" >&6; } 8704ac_preproc_ok=false 8705for ac_c_preproc_warn_flag in '' yes 8706do 8707 # Use a header file that comes with gcc, so configuring glibc 8708 # with a fresh cross-compiler works. 8709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8710 # <limits.h> exists even on freestanding compilers. 8711 # On the NeXT, cc -E runs the code through the compiler's parser, 8712 # not just through cpp. "Syntax error" is here to catch this case. 8713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8714/* end confdefs.h. */ 8715#ifdef __STDC__ 8716# include <limits.h> 8717#else 8718# include <assert.h> 8719#endif 8720 Syntax error 8721_ACEOF 8722if ac_fn_c_try_cpp "$LINENO"; then : 8723 8724else 8725 # Broken: fails on valid input. 8726continue 8727fi 8728rm -f conftest.err conftest.i conftest.$ac_ext 8729 8730 # OK, works on sane cases. Now check whether nonexistent headers 8731 # can be detected and how. 8732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8733/* end confdefs.h. */ 8734#include <ac_nonexistent.h> 8735_ACEOF 8736if ac_fn_c_try_cpp "$LINENO"; then : 8737 # Broken: success on invalid input. 8738continue 8739else 8740 # Passes both tests. 8741ac_preproc_ok=: 8742break 8743fi 8744rm -f conftest.err conftest.i conftest.$ac_ext 8745 8746done 8747# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8748rm -f conftest.i conftest.err conftest.$ac_ext 8749if $ac_preproc_ok; then : 8750 8751else 8752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8753$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8754as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8755See \`config.log' for more details" "$LINENO" 5; } 8756fi 8757 8758ac_ext=c 8759ac_cpp='$CPP $CPPFLAGS' 8760ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8761ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8762ac_compiler_gnu=$ac_cv_c_compiler_gnu 8763 8764 8765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8766$as_echo_n "checking for ANSI C header files... " >&6; } 8767if ${ac_cv_header_stdc+:} false; then : 8768 $as_echo_n "(cached) " >&6 8769else 8770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8771/* end confdefs.h. */ 8772#include <stdlib.h> 8773#include <stdarg.h> 8774#include <string.h> 8775#include <float.h> 8776 8777int 8778main () 8779{ 8780 8781 ; 8782 return 0; 8783} 8784_ACEOF 8785if ac_fn_c_try_compile "$LINENO"; then : 8786 ac_cv_header_stdc=yes 8787else 8788 ac_cv_header_stdc=no 8789fi 8790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8791 8792if test $ac_cv_header_stdc = yes; then 8793 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8795/* end confdefs.h. */ 8796#include <string.h> 8797 8798_ACEOF 8799if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8800 $EGREP "memchr" >/dev/null 2>&1; then : 8801 8802else 8803 ac_cv_header_stdc=no 8804fi 8805rm -f conftest* 8806 8807fi 8808 8809if test $ac_cv_header_stdc = yes; then 8810 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8812/* end confdefs.h. */ 8813#include <stdlib.h> 8814 8815_ACEOF 8816if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8817 $EGREP "free" >/dev/null 2>&1; then : 8818 8819else 8820 ac_cv_header_stdc=no 8821fi 8822rm -f conftest* 8823 8824fi 8825 8826if test $ac_cv_header_stdc = yes; then 8827 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8828 if test "$cross_compiling" = yes; then : 8829 : 8830else 8831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8832/* end confdefs.h. */ 8833#include <ctype.h> 8834#include <stdlib.h> 8835#if ((' ' & 0x0FF) == 0x020) 8836# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8837# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8838#else 8839# define ISLOWER(c) \ 8840 (('a' <= (c) && (c) <= 'i') \ 8841 || ('j' <= (c) && (c) <= 'r') \ 8842 || ('s' <= (c) && (c) <= 'z')) 8843# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8844#endif 8845 8846#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8847int 8848main () 8849{ 8850 int i; 8851 for (i = 0; i < 256; i++) 8852 if (XOR (islower (i), ISLOWER (i)) 8853 || toupper (i) != TOUPPER (i)) 8854 return 2; 8855 return 0; 8856} 8857_ACEOF 8858if ac_fn_c_try_run "$LINENO"; then : 8859 8860else 8861 ac_cv_header_stdc=no 8862fi 8863rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8864 conftest.$ac_objext conftest.beam conftest.$ac_ext 8865fi 8866 8867fi 8868fi 8869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8870$as_echo "$ac_cv_header_stdc" >&6; } 8871if test $ac_cv_header_stdc = yes; then 8872 8873$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8874 8875fi 8876 8877# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8878for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8879 inttypes.h stdint.h unistd.h 8880do : 8881 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8882ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8883" 8884if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8885 cat >>confdefs.h <<_ACEOF 8886#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8887_ACEOF 8888 8889fi 8890 8891done 8892 8893 8894for ac_header in dlfcn.h 8895do : 8896 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8897" 8898if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8899 cat >>confdefs.h <<_ACEOF 8900#define HAVE_DLFCN_H 1 8901_ACEOF 8902 8903fi 8904 8905done 8906 8907 8908 8909 8910 8911# Set options 8912# Check whether --enable-shared was given. 8913if test "${enable_shared+set}" = set; then : 8914 enableval=$enable_shared; p=${PACKAGE-default} 8915 case $enableval in 8916 yes) enable_shared=yes ;; 8917 no) enable_shared=no ;; 8918 *) 8919 enable_shared=no 8920 # Look at the argument we got. We use all the common list separators. 8921 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8922 for pkg in $enableval; do 8923 IFS="$lt_save_ifs" 8924 if test "X$pkg" = "X$p"; then 8925 enable_shared=yes 8926 fi 8927 done 8928 IFS="$lt_save_ifs" 8929 ;; 8930 esac 8931else 8932 enable_shared=no 8933fi 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 enable_dlopen=no 8945 8946 8947 enable_win32_dll=no 8948 8949 8950 8951 # Check whether --enable-static was given. 8952if test "${enable_static+set}" = set; then : 8953 enableval=$enable_static; p=${PACKAGE-default} 8954 case $enableval in 8955 yes) enable_static=yes ;; 8956 no) enable_static=no ;; 8957 *) 8958 enable_static=no 8959 # Look at the argument we got. We use all the common list separators. 8960 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8961 for pkg in $enableval; do 8962 IFS="$lt_save_ifs" 8963 if test "X$pkg" = "X$p"; then 8964 enable_static=yes 8965 fi 8966 done 8967 IFS="$lt_save_ifs" 8968 ;; 8969 esac 8970else 8971 enable_static=yes 8972fi 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983# Check whether --with-pic was given. 8984if test "${with_pic+set}" = set; then : 8985 withval=$with_pic; lt_p=${PACKAGE-default} 8986 case $withval in 8987 yes|no) pic_mode=$withval ;; 8988 *) 8989 pic_mode=default 8990 # Look at the argument we got. We use all the common list separators. 8991 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8992 for lt_pkg in $withval; do 8993 IFS="$lt_save_ifs" 8994 if test "X$lt_pkg" = "X$lt_p"; then 8995 pic_mode=yes 8996 fi 8997 done 8998 IFS="$lt_save_ifs" 8999 ;; 9000 esac 9001else 9002 pic_mode=default 9003fi 9004 9005 9006test -z "$pic_mode" && pic_mode=default 9007 9008 9009 9010 9011 9012 9013 9014 # Check whether --enable-fast-install was given. 9015if test "${enable_fast_install+set}" = set; then : 9016 enableval=$enable_fast_install; p=${PACKAGE-default} 9017 case $enableval in 9018 yes) enable_fast_install=yes ;; 9019 no) enable_fast_install=no ;; 9020 *) 9021 enable_fast_install=no 9022 # Look at the argument we got. We use all the common list separators. 9023 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9024 for pkg in $enableval; do 9025 IFS="$lt_save_ifs" 9026 if test "X$pkg" = "X$p"; then 9027 enable_fast_install=yes 9028 fi 9029 done 9030 IFS="$lt_save_ifs" 9031 ;; 9032 esac 9033else 9034 enable_fast_install=yes 9035fi 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047# This can be used to rebuild libtool when needed 9048LIBTOOL_DEPS="$ltmain" 9049 9050# Always use our own libtool. 9051LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082test -z "$LN_S" && LN_S="ln -s" 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097if test -n "${ZSH_VERSION+set}" ; then 9098 setopt NO_GLOB_SUBST 9099fi 9100 9101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9102$as_echo_n "checking for objdir... " >&6; } 9103if ${lt_cv_objdir+:} false; then : 9104 $as_echo_n "(cached) " >&6 9105else 9106 rm -f .libs 2>/dev/null 9107mkdir .libs 2>/dev/null 9108if test -d .libs; then 9109 lt_cv_objdir=.libs 9110else 9111 # MS-DOS does not allow filenames that begin with a dot. 9112 lt_cv_objdir=_libs 9113fi 9114rmdir .libs 2>/dev/null 9115fi 9116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9117$as_echo "$lt_cv_objdir" >&6; } 9118objdir=$lt_cv_objdir 9119 9120 9121 9122 9123 9124cat >>confdefs.h <<_ACEOF 9125#define LT_OBJDIR "$lt_cv_objdir/" 9126_ACEOF 9127 9128 9129 9130 9131case $host_os in 9132aix3*) 9133 # AIX sometimes has problems with the GCC collect2 program. For some 9134 # reason, if we set the COLLECT_NAMES environment variable, the problems 9135 # vanish in a puff of smoke. 9136 if test "X${COLLECT_NAMES+set}" != Xset; then 9137 COLLECT_NAMES= 9138 export COLLECT_NAMES 9139 fi 9140 ;; 9141esac 9142 9143# Global variables: 9144ofile=libtool 9145can_build_shared=yes 9146 9147# All known linkers require a `.a' archive for static linking (except MSVC, 9148# which needs '.lib'). 9149libext=a 9150 9151with_gnu_ld="$lt_cv_prog_gnu_ld" 9152 9153old_CC="$CC" 9154old_CFLAGS="$CFLAGS" 9155 9156# Set sane defaults for various variables 9157test -z "$CC" && CC=cc 9158test -z "$LTCC" && LTCC=$CC 9159test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9160test -z "$LD" && LD=ld 9161test -z "$ac_objext" && ac_objext=o 9162 9163for cc_temp in $compiler""; do 9164 case $cc_temp in 9165 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 9166 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 9167 \-*) ;; 9168 *) break;; 9169 esac 9170done 9171cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 9172 9173 9174# Only perform the check for file, if the check method requires it 9175test -z "$MAGIC_CMD" && MAGIC_CMD=file 9176case $deplibs_check_method in 9177file_magic*) 9178 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9180$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9181if ${lt_cv_path_MAGIC_CMD+:} false; then : 9182 $as_echo_n "(cached) " >&6 9183else 9184 case $MAGIC_CMD in 9185[\\/*] | ?:[\\/]*) 9186 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9187 ;; 9188*) 9189 lt_save_MAGIC_CMD="$MAGIC_CMD" 9190 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9191 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9192 for ac_dir in $ac_dummy; do 9193 IFS="$lt_save_ifs" 9194 test -z "$ac_dir" && ac_dir=. 9195 if test -f $ac_dir/${ac_tool_prefix}file; then 9196 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 9197 if test -n "$file_magic_test_file"; then 9198 case $deplibs_check_method in 9199 "file_magic "*) 9200 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9201 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9202 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9203 $EGREP "$file_magic_regex" > /dev/null; then 9204 : 9205 else 9206 cat <<_LT_EOF 1>&2 9207 9208*** Warning: the command libtool uses to detect shared libraries, 9209*** $file_magic_cmd, produces output that libtool cannot recognize. 9210*** The result is that libtool may fail to recognize shared libraries 9211*** as such. This will affect the creation of libtool libraries that 9212*** depend on shared libraries, but programs linked with such libtool 9213*** libraries will work regardless of this problem. Nevertheless, you 9214*** may want to report the problem to your system manager and/or to 9215*** bug-libtool@gnu.org 9216 9217_LT_EOF 9218 fi ;; 9219 esac 9220 fi 9221 break 9222 fi 9223 done 9224 IFS="$lt_save_ifs" 9225 MAGIC_CMD="$lt_save_MAGIC_CMD" 9226 ;; 9227esac 9228fi 9229 9230MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9231if test -n "$MAGIC_CMD"; then 9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9233$as_echo "$MAGIC_CMD" >&6; } 9234else 9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9236$as_echo "no" >&6; } 9237fi 9238 9239 9240 9241 9242 9243if test -z "$lt_cv_path_MAGIC_CMD"; then 9244 if test -n "$ac_tool_prefix"; then 9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9246$as_echo_n "checking for file... " >&6; } 9247if ${lt_cv_path_MAGIC_CMD+:} false; then : 9248 $as_echo_n "(cached) " >&6 9249else 9250 case $MAGIC_CMD in 9251[\\/*] | ?:[\\/]*) 9252 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9253 ;; 9254*) 9255 lt_save_MAGIC_CMD="$MAGIC_CMD" 9256 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9257 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9258 for ac_dir in $ac_dummy; do 9259 IFS="$lt_save_ifs" 9260 test -z "$ac_dir" && ac_dir=. 9261 if test -f $ac_dir/file; then 9262 lt_cv_path_MAGIC_CMD="$ac_dir/file" 9263 if test -n "$file_magic_test_file"; then 9264 case $deplibs_check_method in 9265 "file_magic "*) 9266 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9267 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9268 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9269 $EGREP "$file_magic_regex" > /dev/null; then 9270 : 9271 else 9272 cat <<_LT_EOF 1>&2 9273 9274*** Warning: the command libtool uses to detect shared libraries, 9275*** $file_magic_cmd, produces output that libtool cannot recognize. 9276*** The result is that libtool may fail to recognize shared libraries 9277*** as such. This will affect the creation of libtool libraries that 9278*** depend on shared libraries, but programs linked with such libtool 9279*** libraries will work regardless of this problem. Nevertheless, you 9280*** may want to report the problem to your system manager and/or to 9281*** bug-libtool@gnu.org 9282 9283_LT_EOF 9284 fi ;; 9285 esac 9286 fi 9287 break 9288 fi 9289 done 9290 IFS="$lt_save_ifs" 9291 MAGIC_CMD="$lt_save_MAGIC_CMD" 9292 ;; 9293esac 9294fi 9295 9296MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9297if test -n "$MAGIC_CMD"; then 9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9299$as_echo "$MAGIC_CMD" >&6; } 9300else 9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9302$as_echo "no" >&6; } 9303fi 9304 9305 9306 else 9307 MAGIC_CMD=: 9308 fi 9309fi 9310 9311 fi 9312 ;; 9313esac 9314 9315# Use C for the default configuration in the libtool script 9316 9317lt_save_CC="$CC" 9318ac_ext=c 9319ac_cpp='$CPP $CPPFLAGS' 9320ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9322ac_compiler_gnu=$ac_cv_c_compiler_gnu 9323 9324 9325# Source file extension for C test sources. 9326ac_ext=c 9327 9328# Object file extension for compiled C test sources. 9329objext=o 9330objext=$objext 9331 9332# Code to be used in simple compile tests 9333lt_simple_compile_test_code="int some_variable = 0;" 9334 9335# Code to be used in simple link tests 9336lt_simple_link_test_code='int main(){return(0);}' 9337 9338 9339 9340 9341 9342 9343 9344# If no C compiler was specified, use CC. 9345LTCC=${LTCC-"$CC"} 9346 9347# If no C compiler flags were specified, use CFLAGS. 9348LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9349 9350# Allow CC to be a program name with arguments. 9351compiler=$CC 9352 9353# Save the default compiler, since it gets overwritten when the other 9354# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9355compiler_DEFAULT=$CC 9356 9357# save warnings/boilerplate of simple test code 9358ac_outfile=conftest.$ac_objext 9359echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9360eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9361_lt_compiler_boilerplate=`cat conftest.err` 9362$RM conftest* 9363 9364ac_outfile=conftest.$ac_objext 9365echo "$lt_simple_link_test_code" >conftest.$ac_ext 9366eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9367_lt_linker_boilerplate=`cat conftest.err` 9368$RM -r conftest* 9369 9370 9371## CAVEAT EMPTOR: 9372## There is no encapsulation within the following macros, do not change 9373## the running order or otherwise move them around unless you know exactly 9374## what you are doing... 9375if test -n "$compiler"; then 9376 9377lt_prog_compiler_no_builtin_flag= 9378 9379if test "$GCC" = yes; then 9380 case $cc_basename in 9381 nvcc*) 9382 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9383 *) 9384 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9385 esac 9386 9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9388$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9389if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9390 $as_echo_n "(cached) " >&6 9391else 9392 lt_cv_prog_compiler_rtti_exceptions=no 9393 ac_outfile=conftest.$ac_objext 9394 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9395 lt_compiler_flag="-fno-rtti -fno-exceptions" 9396 # Insert the option either (1) after the last *FLAGS variable, or 9397 # (2) before a word containing "conftest.", or (3) at the end. 9398 # Note that $ac_compile itself does not contain backslashes and begins 9399 # with a dollar sign (not a hyphen), so the echo should work correctly. 9400 # The option is referenced via a variable to avoid confusing sed. 9401 lt_compile=`echo "$ac_compile" | $SED \ 9402 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9403 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9404 -e 's:$: $lt_compiler_flag:'` 9405 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9406 (eval "$lt_compile" 2>conftest.err) 9407 ac_status=$? 9408 cat conftest.err >&5 9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9410 if (exit $ac_status) && test -s "$ac_outfile"; then 9411 # The compiler can only warn and ignore the option if not recognized 9412 # So say no if there are warnings other than the usual output. 9413 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9414 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9415 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9416 lt_cv_prog_compiler_rtti_exceptions=yes 9417 fi 9418 fi 9419 $RM conftest* 9420 9421fi 9422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9423$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9424 9425if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 9426 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9427else 9428 : 9429fi 9430 9431fi 9432 9433 9434 9435 9436 9437 9438 lt_prog_compiler_wl= 9439lt_prog_compiler_pic= 9440lt_prog_compiler_static= 9441 9442 9443 if test "$GCC" = yes; then 9444 lt_prog_compiler_wl='-Wl,' 9445 lt_prog_compiler_static='-static' 9446 9447 case $host_os in 9448 aix*) 9449 # All AIX code is PIC. 9450 if test "$host_cpu" = ia64; then 9451 # AIX 5 now supports IA64 processor 9452 lt_prog_compiler_static='-Bstatic' 9453 fi 9454 ;; 9455 9456 amigaos*) 9457 case $host_cpu in 9458 powerpc) 9459 # see comment about AmigaOS4 .so support 9460 lt_prog_compiler_pic='-fPIC' 9461 ;; 9462 m68k) 9463 # FIXME: we need at least 68020 code to build shared libraries, but 9464 # adding the `-m68020' flag to GCC prevents building anything better, 9465 # like `-m68040'. 9466 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9467 ;; 9468 esac 9469 ;; 9470 9471 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9472 # PIC is the default for these OSes. 9473 ;; 9474 9475 mingw* | cygwin* | pw32* | os2* | cegcc*) 9476 # This hack is so that the source file can tell whether it is being 9477 # built for inclusion in a dll (and should export symbols for example). 9478 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9479 # (--disable-auto-import) libraries 9480 lt_prog_compiler_pic='-DDLL_EXPORT' 9481 ;; 9482 9483 darwin* | rhapsody*) 9484 # PIC is the default on this platform 9485 # Common symbols not allowed in MH_DYLIB files 9486 lt_prog_compiler_pic='-fno-common' 9487 ;; 9488 9489 haiku*) 9490 # PIC is the default for Haiku. 9491 # The "-static" flag exists, but is broken. 9492 lt_prog_compiler_static= 9493 ;; 9494 9495 hpux*) 9496 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9497 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9498 # sets the default TLS model and affects inlining. 9499 case $host_cpu in 9500 hppa*64*) 9501 # +Z the default 9502 ;; 9503 *) 9504 lt_prog_compiler_pic='-fPIC' 9505 ;; 9506 esac 9507 ;; 9508 9509 interix[3-9]*) 9510 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9511 # Instead, we relocate shared libraries at runtime. 9512 ;; 9513 9514 msdosdjgpp*) 9515 # Just because we use GCC doesn't mean we suddenly get shared libraries 9516 # on systems that don't support them. 9517 lt_prog_compiler_can_build_shared=no 9518 enable_shared=no 9519 ;; 9520 9521 *nto* | *qnx*) 9522 # QNX uses GNU C++, but need to define -shared option too, otherwise 9523 # it will coredump. 9524 lt_prog_compiler_pic='-fPIC -shared' 9525 ;; 9526 9527 sysv4*MP*) 9528 if test -d /usr/nec; then 9529 lt_prog_compiler_pic=-Kconform_pic 9530 fi 9531 ;; 9532 9533 *) 9534 lt_prog_compiler_pic='-fPIC' 9535 ;; 9536 esac 9537 9538 case $cc_basename in 9539 nvcc*) # Cuda Compiler Driver 2.2 9540 lt_prog_compiler_wl='-Xlinker ' 9541 if test -n "$lt_prog_compiler_pic"; then 9542 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9543 fi 9544 ;; 9545 esac 9546 else 9547 # PORTME Check for flag to pass linker flags through the system compiler. 9548 case $host_os in 9549 aix*) 9550 lt_prog_compiler_wl='-Wl,' 9551 if test "$host_cpu" = ia64; then 9552 # AIX 5 now supports IA64 processor 9553 lt_prog_compiler_static='-Bstatic' 9554 else 9555 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9556 fi 9557 ;; 9558 9559 mingw* | cygwin* | pw32* | os2* | cegcc*) 9560 # This hack is so that the source file can tell whether it is being 9561 # built for inclusion in a dll (and should export symbols for example). 9562 lt_prog_compiler_pic='-DDLL_EXPORT' 9563 ;; 9564 9565 hpux9* | hpux10* | hpux11*) 9566 lt_prog_compiler_wl='-Wl,' 9567 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9568 # not for PA HP-UX. 9569 case $host_cpu in 9570 hppa*64*|ia64*) 9571 # +Z the default 9572 ;; 9573 *) 9574 lt_prog_compiler_pic='+Z' 9575 ;; 9576 esac 9577 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9578 lt_prog_compiler_static='${wl}-a ${wl}archive' 9579 ;; 9580 9581 irix5* | irix6* | nonstopux*) 9582 lt_prog_compiler_wl='-Wl,' 9583 # PIC (with -KPIC) is the default. 9584 lt_prog_compiler_static='-non_shared' 9585 ;; 9586 9587 linux* | k*bsd*-gnu | kopensolaris*-gnu) 9588 case $cc_basename in 9589 # old Intel for x86_64 which still supported -KPIC. 9590 ecc*) 9591 lt_prog_compiler_wl='-Wl,' 9592 lt_prog_compiler_pic='-KPIC' 9593 lt_prog_compiler_static='-static' 9594 ;; 9595 # icc used to be incompatible with GCC. 9596 # ICC 10 doesn't accept -KPIC any more. 9597 icc* | ifort*) 9598 lt_prog_compiler_wl='-Wl,' 9599 lt_prog_compiler_pic='-fPIC' 9600 lt_prog_compiler_static='-static' 9601 ;; 9602 # Lahey Fortran 8.1. 9603 lf95*) 9604 lt_prog_compiler_wl='-Wl,' 9605 lt_prog_compiler_pic='--shared' 9606 lt_prog_compiler_static='--static' 9607 ;; 9608 nagfor*) 9609 # NAG Fortran compiler 9610 lt_prog_compiler_wl='-Wl,-Wl,,' 9611 lt_prog_compiler_pic='-PIC' 9612 lt_prog_compiler_static='-Bstatic' 9613 ;; 9614 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9615 # Portland Group compilers (*not* the Pentium gcc compiler, 9616 # which looks to be a dead project) 9617 lt_prog_compiler_wl='-Wl,' 9618 lt_prog_compiler_pic='-fpic' 9619 lt_prog_compiler_static='-Bstatic' 9620 ;; 9621 ccc*) 9622 lt_prog_compiler_wl='-Wl,' 9623 # All Alpha code is PIC. 9624 lt_prog_compiler_static='-non_shared' 9625 ;; 9626 xl* | bgxl* | bgf* | mpixl*) 9627 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9628 lt_prog_compiler_wl='-Wl,' 9629 lt_prog_compiler_pic='-qpic' 9630 lt_prog_compiler_static='-qstaticlink' 9631 ;; 9632 *) 9633 case `$CC -V 2>&1 | sed 5q` in 9634 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9635 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9636 lt_prog_compiler_pic='-KPIC' 9637 lt_prog_compiler_static='-Bstatic' 9638 lt_prog_compiler_wl='' 9639 ;; 9640 *Sun\ F* | *Sun*Fortran*) 9641 lt_prog_compiler_pic='-KPIC' 9642 lt_prog_compiler_static='-Bstatic' 9643 lt_prog_compiler_wl='-Qoption ld ' 9644 ;; 9645 *Sun\ C*) 9646 # Sun C 5.9 9647 lt_prog_compiler_pic='-KPIC' 9648 lt_prog_compiler_static='-Bstatic' 9649 lt_prog_compiler_wl='-Wl,' 9650 ;; 9651 *Intel*\ [CF]*Compiler*) 9652 lt_prog_compiler_wl='-Wl,' 9653 lt_prog_compiler_pic='-fPIC' 9654 lt_prog_compiler_static='-static' 9655 ;; 9656 *Portland\ Group*) 9657 lt_prog_compiler_wl='-Wl,' 9658 lt_prog_compiler_pic='-fpic' 9659 lt_prog_compiler_static='-Bstatic' 9660 ;; 9661 esac 9662 ;; 9663 esac 9664 ;; 9665 9666 newsos6) 9667 lt_prog_compiler_pic='-KPIC' 9668 lt_prog_compiler_static='-Bstatic' 9669 ;; 9670 9671 *nto* | *qnx*) 9672 # QNX uses GNU C++, but need to define -shared option too, otherwise 9673 # it will coredump. 9674 lt_prog_compiler_pic='-fPIC -shared' 9675 ;; 9676 9677 osf3* | osf4* | osf5*) 9678 lt_prog_compiler_wl='-Wl,' 9679 # All OSF/1 code is PIC. 9680 lt_prog_compiler_static='-non_shared' 9681 ;; 9682 9683 rdos*) 9684 lt_prog_compiler_static='-non_shared' 9685 ;; 9686 9687 solaris*) 9688 lt_prog_compiler_pic='-KPIC' 9689 lt_prog_compiler_static='-Bstatic' 9690 case $cc_basename in 9691 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9692 lt_prog_compiler_wl='-Qoption ld ';; 9693 *) 9694 lt_prog_compiler_wl='-Wl,';; 9695 esac 9696 ;; 9697 9698 sunos4*) 9699 lt_prog_compiler_wl='-Qoption ld ' 9700 lt_prog_compiler_pic='-PIC' 9701 lt_prog_compiler_static='-Bstatic' 9702 ;; 9703 9704 sysv4 | sysv4.2uw2* | sysv4.3*) 9705 lt_prog_compiler_wl='-Wl,' 9706 lt_prog_compiler_pic='-KPIC' 9707 lt_prog_compiler_static='-Bstatic' 9708 ;; 9709 9710 sysv4*MP*) 9711 if test -d /usr/nec ;then 9712 lt_prog_compiler_pic='-Kconform_pic' 9713 lt_prog_compiler_static='-Bstatic' 9714 fi 9715 ;; 9716 9717 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9718 lt_prog_compiler_wl='-Wl,' 9719 lt_prog_compiler_pic='-KPIC' 9720 lt_prog_compiler_static='-Bstatic' 9721 ;; 9722 9723 unicos*) 9724 lt_prog_compiler_wl='-Wl,' 9725 lt_prog_compiler_can_build_shared=no 9726 ;; 9727 9728 uts4*) 9729 lt_prog_compiler_pic='-pic' 9730 lt_prog_compiler_static='-Bstatic' 9731 ;; 9732 9733 *) 9734 lt_prog_compiler_can_build_shared=no 9735 ;; 9736 esac 9737 fi 9738 9739case $host_os in 9740 # For platforms which do not support PIC, -DPIC is meaningless: 9741 *djgpp*) 9742 lt_prog_compiler_pic= 9743 ;; 9744 *) 9745 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9746 ;; 9747esac 9748 9749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9750$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9751if ${lt_cv_prog_compiler_pic+:} false; then : 9752 $as_echo_n "(cached) " >&6 9753else 9754 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9755fi 9756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9757$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9758lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9759 9760# 9761# Check to make sure the PIC flag actually works. 9762# 9763if test -n "$lt_prog_compiler_pic"; then 9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9765$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9766if ${lt_cv_prog_compiler_pic_works+:} false; then : 9767 $as_echo_n "(cached) " >&6 9768else 9769 lt_cv_prog_compiler_pic_works=no 9770 ac_outfile=conftest.$ac_objext 9771 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9772 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9773 # Insert the option either (1) after the last *FLAGS variable, or 9774 # (2) before a word containing "conftest.", or (3) at the end. 9775 # Note that $ac_compile itself does not contain backslashes and begins 9776 # with a dollar sign (not a hyphen), so the echo should work correctly. 9777 # The option is referenced via a variable to avoid confusing sed. 9778 lt_compile=`echo "$ac_compile" | $SED \ 9779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9781 -e 's:$: $lt_compiler_flag:'` 9782 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9783 (eval "$lt_compile" 2>conftest.err) 9784 ac_status=$? 9785 cat conftest.err >&5 9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9787 if (exit $ac_status) && test -s "$ac_outfile"; then 9788 # The compiler can only warn and ignore the option if not recognized 9789 # So say no if there are warnings other than the usual output. 9790 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9791 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9792 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9793 lt_cv_prog_compiler_pic_works=yes 9794 fi 9795 fi 9796 $RM conftest* 9797 9798fi 9799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9800$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9801 9802if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9803 case $lt_prog_compiler_pic in 9804 "" | " "*) ;; 9805 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9806 esac 9807else 9808 lt_prog_compiler_pic= 9809 lt_prog_compiler_can_build_shared=no 9810fi 9811 9812fi 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824# 9825# Check to make sure the static flag actually works. 9826# 9827wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9829$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9830if ${lt_cv_prog_compiler_static_works+:} false; then : 9831 $as_echo_n "(cached) " >&6 9832else 9833 lt_cv_prog_compiler_static_works=no 9834 save_LDFLAGS="$LDFLAGS" 9835 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9836 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9837 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9838 # The linker can only warn and ignore the option if not recognized 9839 # So say no if there are warnings 9840 if test -s conftest.err; then 9841 # Append any errors to the config.log. 9842 cat conftest.err 1>&5 9843 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9844 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9845 if diff conftest.exp conftest.er2 >/dev/null; then 9846 lt_cv_prog_compiler_static_works=yes 9847 fi 9848 else 9849 lt_cv_prog_compiler_static_works=yes 9850 fi 9851 fi 9852 $RM -r conftest* 9853 LDFLAGS="$save_LDFLAGS" 9854 9855fi 9856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9857$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9858 9859if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9860 : 9861else 9862 lt_prog_compiler_static= 9863fi 9864 9865 9866 9867 9868 9869 9870 9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9872$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9873if ${lt_cv_prog_compiler_c_o+:} false; then : 9874 $as_echo_n "(cached) " >&6 9875else 9876 lt_cv_prog_compiler_c_o=no 9877 $RM -r conftest 2>/dev/null 9878 mkdir conftest 9879 cd conftest 9880 mkdir out 9881 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9882 9883 lt_compiler_flag="-o out/conftest2.$ac_objext" 9884 # Insert the option either (1) after the last *FLAGS variable, or 9885 # (2) before a word containing "conftest.", or (3) at the end. 9886 # Note that $ac_compile itself does not contain backslashes and begins 9887 # with a dollar sign (not a hyphen), so the echo should work correctly. 9888 lt_compile=`echo "$ac_compile" | $SED \ 9889 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9890 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9891 -e 's:$: $lt_compiler_flag:'` 9892 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9893 (eval "$lt_compile" 2>out/conftest.err) 9894 ac_status=$? 9895 cat out/conftest.err >&5 9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9897 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9898 then 9899 # The compiler can only warn and ignore the option if not recognized 9900 # So say no if there are warnings 9901 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9902 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9903 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9904 lt_cv_prog_compiler_c_o=yes 9905 fi 9906 fi 9907 chmod u+w . 2>&5 9908 $RM conftest* 9909 # SGI C++ compiler will create directory out/ii_files/ for 9910 # template instantiation 9911 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9912 $RM out/* && rmdir out 9913 cd .. 9914 $RM -r conftest 9915 $RM conftest* 9916 9917fi 9918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9919$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9920 9921 9922 9923 9924 9925 9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9927$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9928if ${lt_cv_prog_compiler_c_o+:} false; then : 9929 $as_echo_n "(cached) " >&6 9930else 9931 lt_cv_prog_compiler_c_o=no 9932 $RM -r conftest 2>/dev/null 9933 mkdir conftest 9934 cd conftest 9935 mkdir out 9936 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9937 9938 lt_compiler_flag="-o out/conftest2.$ac_objext" 9939 # Insert the option either (1) after the last *FLAGS variable, or 9940 # (2) before a word containing "conftest.", or (3) at the end. 9941 # Note that $ac_compile itself does not contain backslashes and begins 9942 # with a dollar sign (not a hyphen), so the echo should work correctly. 9943 lt_compile=`echo "$ac_compile" | $SED \ 9944 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9945 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9946 -e 's:$: $lt_compiler_flag:'` 9947 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9948 (eval "$lt_compile" 2>out/conftest.err) 9949 ac_status=$? 9950 cat out/conftest.err >&5 9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9952 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9953 then 9954 # The compiler can only warn and ignore the option if not recognized 9955 # So say no if there are warnings 9956 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9957 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9958 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9959 lt_cv_prog_compiler_c_o=yes 9960 fi 9961 fi 9962 chmod u+w . 2>&5 9963 $RM conftest* 9964 # SGI C++ compiler will create directory out/ii_files/ for 9965 # template instantiation 9966 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9967 $RM out/* && rmdir out 9968 cd .. 9969 $RM -r conftest 9970 $RM conftest* 9971 9972fi 9973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9974$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9975 9976 9977 9978 9979hard_links="nottested" 9980if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9981 # do not overwrite the value of need_locks provided by the user 9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9983$as_echo_n "checking if we can lock with hard links... " >&6; } 9984 hard_links=yes 9985 $RM conftest* 9986 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9987 touch conftest.a 9988 ln conftest.a conftest.b 2>&5 || hard_links=no 9989 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9991$as_echo "$hard_links" >&6; } 9992 if test "$hard_links" = no; then 9993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9994$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9995 need_locks=warn 9996 fi 9997else 9998 need_locks=no 9999fi 10000 10001 10002 10003 10004 10005 10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10007$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10008 10009 runpath_var= 10010 allow_undefined_flag= 10011 always_export_symbols=no 10012 archive_cmds= 10013 archive_expsym_cmds= 10014 compiler_needs_object=no 10015 enable_shared_with_static_runtimes=no 10016 export_dynamic_flag_spec= 10017 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10018 hardcode_automatic=no 10019 hardcode_direct=no 10020 hardcode_direct_absolute=no 10021 hardcode_libdir_flag_spec= 10022 hardcode_libdir_separator= 10023 hardcode_minus_L=no 10024 hardcode_shlibpath_var=unsupported 10025 inherit_rpath=no 10026 link_all_deplibs=unknown 10027 module_cmds= 10028 module_expsym_cmds= 10029 old_archive_from_new_cmds= 10030 old_archive_from_expsyms_cmds= 10031 thread_safe_flag_spec= 10032 whole_archive_flag_spec= 10033 # include_expsyms should be a list of space-separated symbols to be *always* 10034 # included in the symbol list 10035 include_expsyms= 10036 # exclude_expsyms can be an extended regexp of symbols to exclude 10037 # it will be wrapped by ` (' and `)$', so one must not match beginning or 10038 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 10039 # as well as any symbol that contains `d'. 10040 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10041 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10042 # platforms (ab)use it in PIC code, but their linkers get confused if 10043 # the symbol is explicitly referenced. Since portable code cannot 10044 # rely on this symbol name, it's probably fine to never include it in 10045 # preloaded symbol tables. 10046 # Exclude shared library initialization/finalization symbols. 10047 extract_expsyms_cmds= 10048 10049 case $host_os in 10050 cygwin* | mingw* | pw32* | cegcc*) 10051 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10052 # When not using gcc, we currently assume that we are using 10053 # Microsoft Visual C++. 10054 if test "$GCC" != yes; then 10055 with_gnu_ld=no 10056 fi 10057 ;; 10058 interix*) 10059 # we just hope/assume this is gcc and not c89 (= MSVC++) 10060 with_gnu_ld=yes 10061 ;; 10062 openbsd*) 10063 with_gnu_ld=no 10064 ;; 10065 esac 10066 10067 ld_shlibs=yes 10068 10069 # On some targets, GNU ld is compatible enough with the native linker 10070 # that we're better off using the native interface for both. 10071 lt_use_gnu_ld_interface=no 10072 if test "$with_gnu_ld" = yes; then 10073 case $host_os in 10074 aix*) 10075 # The AIX port of GNU ld has always aspired to compatibility 10076 # with the native linker. However, as the warning in the GNU ld 10077 # block says, versions before 2.19.5* couldn't really create working 10078 # shared libraries, regardless of the interface used. 10079 case `$LD -v 2>&1` in 10080 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10081 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10082 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10083 *) 10084 lt_use_gnu_ld_interface=yes 10085 ;; 10086 esac 10087 ;; 10088 *) 10089 lt_use_gnu_ld_interface=yes 10090 ;; 10091 esac 10092 fi 10093 10094 if test "$lt_use_gnu_ld_interface" = yes; then 10095 # If archive_cmds runs LD, not CC, wlarc should be empty 10096 wlarc='${wl}' 10097 10098 # Set some defaults for GNU ld with shared library support. These 10099 # are reset later if shared libraries are not supported. Putting them 10100 # here allows them to be overridden if necessary. 10101 runpath_var=LD_RUN_PATH 10102 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10103 export_dynamic_flag_spec='${wl}--export-dynamic' 10104 # ancient GNU ld didn't support --whole-archive et. al. 10105 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10106 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 10107 else 10108 whole_archive_flag_spec= 10109 fi 10110 supports_anon_versioning=no 10111 case `$LD -v 2>&1` in 10112 *GNU\ gold*) supports_anon_versioning=yes ;; 10113 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10114 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10115 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10116 *\ 2.11.*) ;; # other 2.11 versions 10117 *) supports_anon_versioning=yes ;; 10118 esac 10119 10120 # See if GNU ld supports shared libraries. 10121 case $host_os in 10122 aix[3-9]*) 10123 # On AIX/PPC, the GNU linker is very broken 10124 if test "$host_cpu" != ia64; then 10125 ld_shlibs=no 10126 cat <<_LT_EOF 1>&2 10127 10128*** Warning: the GNU linker, at least up to release 2.19, is reported 10129*** to be unable to reliably create shared libraries on AIX. 10130*** Therefore, libtool is disabling shared libraries support. If you 10131*** really care for shared libraries, you may want to install binutils 10132*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10133*** You will then need to restart the configuration process. 10134 10135_LT_EOF 10136 fi 10137 ;; 10138 10139 amigaos*) 10140 case $host_cpu in 10141 powerpc) 10142 # see comment about AmigaOS4 .so support 10143 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10144 archive_expsym_cmds='' 10145 ;; 10146 m68k) 10147 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)' 10148 hardcode_libdir_flag_spec='-L$libdir' 10149 hardcode_minus_L=yes 10150 ;; 10151 esac 10152 ;; 10153 10154 beos*) 10155 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10156 allow_undefined_flag=unsupported 10157 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10158 # support --undefined. This deserves some investigation. FIXME 10159 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10160 else 10161 ld_shlibs=no 10162 fi 10163 ;; 10164 10165 cygwin* | mingw* | pw32* | cegcc*) 10166 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10167 # as there is no search path for DLLs. 10168 hardcode_libdir_flag_spec='-L$libdir' 10169 export_dynamic_flag_spec='${wl}--export-all-symbols' 10170 allow_undefined_flag=unsupported 10171 always_export_symbols=no 10172 enable_shared_with_static_runtimes=yes 10173 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' 10174 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10175 10176 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10177 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10178 # If the export-symbols file already is a .def file (1st line 10179 # is EXPORTS), use it as is; otherwise, prepend... 10180 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10181 cp $export_symbols $output_objdir/$soname.def; 10182 else 10183 echo EXPORTS > $output_objdir/$soname.def; 10184 cat $export_symbols >> $output_objdir/$soname.def; 10185 fi~ 10186 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10187 else 10188 ld_shlibs=no 10189 fi 10190 ;; 10191 10192 haiku*) 10193 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10194 link_all_deplibs=yes 10195 ;; 10196 10197 interix[3-9]*) 10198 hardcode_direct=no 10199 hardcode_shlibpath_var=no 10200 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10201 export_dynamic_flag_spec='${wl}-E' 10202 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10203 # Instead, shared libraries are loaded at an image base (0x10000000 by 10204 # default) and relocated if they conflict, which is a slow very memory 10205 # consuming and fragmenting process. To avoid this, we pick a random, 10206 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10207 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10208 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10209 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' 10210 ;; 10211 10212 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10213 tmp_diet=no 10214 if test "$host_os" = linux-dietlibc; then 10215 case $cc_basename in 10216 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10217 esac 10218 fi 10219 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10220 && test "$tmp_diet" = no 10221 then 10222 tmp_addflag=' $pic_flag' 10223 tmp_sharedflag='-shared' 10224 case $cc_basename,$host_cpu in 10225 pgcc*) # Portland Group C compiler 10226 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' 10227 tmp_addflag=' $pic_flag' 10228 ;; 10229 pgf77* | pgf90* | pgf95* | pgfortran*) 10230 # Portland Group f77 and f90 compilers 10231 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' 10232 tmp_addflag=' $pic_flag -Mnomain' ;; 10233 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10234 tmp_addflag=' -i_dynamic' ;; 10235 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10236 tmp_addflag=' -i_dynamic -nofor_main' ;; 10237 ifc* | ifort*) # Intel Fortran compiler 10238 tmp_addflag=' -nofor_main' ;; 10239 lf95*) # Lahey Fortran 8.1 10240 whole_archive_flag_spec= 10241 tmp_sharedflag='--shared' ;; 10242 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10243 tmp_sharedflag='-qmkshrobj' 10244 tmp_addflag= ;; 10245 nvcc*) # Cuda Compiler Driver 2.2 10246 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' 10247 compiler_needs_object=yes 10248 ;; 10249 esac 10250 case `$CC -V 2>&1 | sed 5q` in 10251 *Sun\ C*) # Sun C 5.9 10252 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' 10253 compiler_needs_object=yes 10254 tmp_sharedflag='-G' ;; 10255 *Sun\ F*) # Sun Fortran 8.3 10256 tmp_sharedflag='-G' ;; 10257 esac 10258 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10259 10260 if test "x$supports_anon_versioning" = xyes; then 10261 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10262 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10263 echo "local: *; };" >> $output_objdir/$libname.ver~ 10264 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 10265 fi 10266 10267 case $cc_basename in 10268 xlf* | bgf* | bgxlf* | mpixlf*) 10269 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10270 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10271 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10272 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10273 if test "x$supports_anon_versioning" = xyes; then 10274 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10275 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10276 echo "local: *; };" >> $output_objdir/$libname.ver~ 10277 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10278 fi 10279 ;; 10280 esac 10281 else 10282 ld_shlibs=no 10283 fi 10284 ;; 10285 10286 netbsd*) 10287 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10288 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10289 wlarc= 10290 else 10291 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10292 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10293 fi 10294 ;; 10295 10296 solaris*) 10297 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10298 ld_shlibs=no 10299 cat <<_LT_EOF 1>&2 10300 10301*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10302*** create shared libraries on Solaris systems. Therefore, libtool 10303*** is disabling shared libraries support. We urge you to upgrade GNU 10304*** binutils to release 2.9.1 or newer. Another option is to modify 10305*** your PATH or compiler configuration so that the native linker is 10306*** used, and then restart. 10307 10308_LT_EOF 10309 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10310 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10311 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10312 else 10313 ld_shlibs=no 10314 fi 10315 ;; 10316 10317 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10318 case `$LD -v 2>&1` in 10319 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10320 ld_shlibs=no 10321 cat <<_LT_EOF 1>&2 10322 10323*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 10324*** reliably create shared libraries on SCO systems. Therefore, libtool 10325*** is disabling shared libraries support. We urge you to upgrade GNU 10326*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10327*** your PATH or compiler configuration so that the native linker is 10328*** used, and then restart. 10329 10330_LT_EOF 10331 ;; 10332 *) 10333 # For security reasons, it is highly recommended that you always 10334 # use absolute paths for naming shared libraries, and exclude the 10335 # DT_RUNPATH tag from executables and libraries. But doing so 10336 # requires that you compile everything twice, which is a pain. 10337 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10338 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10339 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10340 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10341 else 10342 ld_shlibs=no 10343 fi 10344 ;; 10345 esac 10346 ;; 10347 10348 sunos4*) 10349 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10350 wlarc= 10351 hardcode_direct=yes 10352 hardcode_shlibpath_var=no 10353 ;; 10354 10355 *) 10356 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10357 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10358 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10359 else 10360 ld_shlibs=no 10361 fi 10362 ;; 10363 esac 10364 10365 if test "$ld_shlibs" = no; then 10366 runpath_var= 10367 hardcode_libdir_flag_spec= 10368 export_dynamic_flag_spec= 10369 whole_archive_flag_spec= 10370 fi 10371 else 10372 # PORTME fill in a description of your system's linker (not GNU ld) 10373 case $host_os in 10374 aix3*) 10375 allow_undefined_flag=unsupported 10376 always_export_symbols=yes 10377 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' 10378 # Note: this linker hardcodes the directories in LIBPATH if there 10379 # are no directories specified by -L. 10380 hardcode_minus_L=yes 10381 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 10382 # Neither direct hardcoding nor static linking is supported with a 10383 # broken collect2. 10384 hardcode_direct=unsupported 10385 fi 10386 ;; 10387 10388 aix[4-9]*) 10389 if test "$host_cpu" = ia64; then 10390 # On IA64, the linker does run time linking by default, so we don't 10391 # have to do anything special. 10392 aix_use_runtimelinking=no 10393 exp_sym_flag='-Bexport' 10394 no_entry_flag="" 10395 else 10396 # If we're using GNU nm, then we don't want the "-C" option. 10397 # -C means demangle to AIX nm, but means don't demangle with GNU nm 10398 # Also, AIX nm treats weak defined symbols like other global 10399 # defined symbols, whereas GNU nm marks them as "W". 10400 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10401 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' 10402 else 10403 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' 10404 fi 10405 aix_use_runtimelinking=no 10406 10407 # Test if we are trying to use run time linking or normal 10408 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10409 # need to do runtime linking. 10410 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10411 for ld_flag in $LDFLAGS; do 10412 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 10413 aix_use_runtimelinking=yes 10414 break 10415 fi 10416 done 10417 ;; 10418 esac 10419 10420 exp_sym_flag='-bexport' 10421 no_entry_flag='-bnoentry' 10422 fi 10423 10424 # When large executables or shared objects are built, AIX ld can 10425 # have problems creating the table of contents. If linking a library 10426 # or program results in "error TOC overflow" add -mminimal-toc to 10427 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10428 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10429 10430 archive_cmds='' 10431 hardcode_direct=yes 10432 hardcode_direct_absolute=yes 10433 hardcode_libdir_separator=':' 10434 link_all_deplibs=yes 10435 file_list_spec='${wl}-f,' 10436 10437 if test "$GCC" = yes; then 10438 case $host_os in aix4.[012]|aix4.[012].*) 10439 # We only want to do this on AIX 4.2 and lower, the check 10440 # below for broken collect2 doesn't work under 4.3+ 10441 collect2name=`${CC} -print-prog-name=collect2` 10442 if test -f "$collect2name" && 10443 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10444 then 10445 # We have reworked collect2 10446 : 10447 else 10448 # We have old collect2 10449 hardcode_direct=unsupported 10450 # It fails to find uninstalled libraries when the uninstalled 10451 # path is not listed in the libpath. Setting hardcode_minus_L 10452 # to unsupported forces relinking 10453 hardcode_minus_L=yes 10454 hardcode_libdir_flag_spec='-L$libdir' 10455 hardcode_libdir_separator= 10456 fi 10457 ;; 10458 esac 10459 shared_flag='-shared' 10460 if test "$aix_use_runtimelinking" = yes; then 10461 shared_flag="$shared_flag "'${wl}-G' 10462 fi 10463 else 10464 # not using gcc 10465 if test "$host_cpu" = ia64; then 10466 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10467 # chokes on -Wl,-G. The following line is correct: 10468 shared_flag='-G' 10469 else 10470 if test "$aix_use_runtimelinking" = yes; then 10471 shared_flag='${wl}-G' 10472 else 10473 shared_flag='${wl}-bM:SRE' 10474 fi 10475 fi 10476 fi 10477 10478 export_dynamic_flag_spec='${wl}-bexpall' 10479 # It seems that -bexpall does not export symbols beginning with 10480 # underscore (_), so it is better to generate a list of symbols to export. 10481 always_export_symbols=yes 10482 if test "$aix_use_runtimelinking" = yes; then 10483 # Warning - without using the other runtime loading flags (-brtl), 10484 # -berok will link without error, but may produce a broken library. 10485 allow_undefined_flag='-berok' 10486 # Determine the default libpath from the value encoded in an 10487 # empty executable. 10488 if test "${lt_cv_aix_libpath+set}" = set; then 10489 aix_libpath=$lt_cv_aix_libpath 10490else 10491 if ${lt_cv_aix_libpath_+:} false; then : 10492 $as_echo_n "(cached) " >&6 10493else 10494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10495/* end confdefs.h. */ 10496 10497int 10498main () 10499{ 10500 10501 ; 10502 return 0; 10503} 10504_ACEOF 10505if ac_fn_c_try_link "$LINENO"; then : 10506 10507 lt_aix_libpath_sed=' 10508 /Import File Strings/,/^$/ { 10509 /^0/ { 10510 s/^0 *\([^ ]*\) *$/\1/ 10511 p 10512 } 10513 }' 10514 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10515 # Check for a 64-bit object if we didn't find anything. 10516 if test -z "$lt_cv_aix_libpath_"; then 10517 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10518 fi 10519fi 10520rm -f core conftest.err conftest.$ac_objext \ 10521 conftest$ac_exeext conftest.$ac_ext 10522 if test -z "$lt_cv_aix_libpath_"; then 10523 lt_cv_aix_libpath_="/usr/lib:/lib" 10524 fi 10525 10526fi 10527 10528 aix_libpath=$lt_cv_aix_libpath_ 10529fi 10530 10531 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10532 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" 10533 else 10534 if test "$host_cpu" = ia64; then 10535 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 10536 allow_undefined_flag="-z nodefs" 10537 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" 10538 else 10539 # Determine the default libpath from the value encoded in an 10540 # empty executable. 10541 if test "${lt_cv_aix_libpath+set}" = set; then 10542 aix_libpath=$lt_cv_aix_libpath 10543else 10544 if ${lt_cv_aix_libpath_+:} false; then : 10545 $as_echo_n "(cached) " >&6 10546else 10547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10548/* end confdefs.h. */ 10549 10550int 10551main () 10552{ 10553 10554 ; 10555 return 0; 10556} 10557_ACEOF 10558if ac_fn_c_try_link "$LINENO"; then : 10559 10560 lt_aix_libpath_sed=' 10561 /Import File Strings/,/^$/ { 10562 /^0/ { 10563 s/^0 *\([^ ]*\) *$/\1/ 10564 p 10565 } 10566 }' 10567 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10568 # Check for a 64-bit object if we didn't find anything. 10569 if test -z "$lt_cv_aix_libpath_"; then 10570 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10571 fi 10572fi 10573rm -f core conftest.err conftest.$ac_objext \ 10574 conftest$ac_exeext conftest.$ac_ext 10575 if test -z "$lt_cv_aix_libpath_"; then 10576 lt_cv_aix_libpath_="/usr/lib:/lib" 10577 fi 10578 10579fi 10580 10581 aix_libpath=$lt_cv_aix_libpath_ 10582fi 10583 10584 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10585 # Warning - without using the other run time loading flags, 10586 # -berok will link without error, but may produce a broken library. 10587 no_undefined_flag=' ${wl}-bernotok' 10588 allow_undefined_flag=' ${wl}-berok' 10589 if test "$with_gnu_ld" = yes; then 10590 # We only use this code for GNU lds that support --whole-archive. 10591 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 10592 else 10593 # Exported symbols can be pulled into shared objects from archives 10594 whole_archive_flag_spec='$convenience' 10595 fi 10596 archive_cmds_need_lc=yes 10597 # This is similar to how AIX traditionally builds its shared libraries. 10598 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' 10599 fi 10600 fi 10601 ;; 10602 10603 amigaos*) 10604 case $host_cpu in 10605 powerpc) 10606 # see comment about AmigaOS4 .so support 10607 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10608 archive_expsym_cmds='' 10609 ;; 10610 m68k) 10611 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)' 10612 hardcode_libdir_flag_spec='-L$libdir' 10613 hardcode_minus_L=yes 10614 ;; 10615 esac 10616 ;; 10617 10618 bsdi[45]*) 10619 export_dynamic_flag_spec=-rdynamic 10620 ;; 10621 10622 cygwin* | mingw* | pw32* | cegcc*) 10623 # When not using gcc, we currently assume that we are using 10624 # Microsoft Visual C++. 10625 # hardcode_libdir_flag_spec is actually meaningless, as there is 10626 # no search path for DLLs. 10627 case $cc_basename in 10628 cl*) 10629 # Native MSVC 10630 hardcode_libdir_flag_spec=' ' 10631 allow_undefined_flag=unsupported 10632 always_export_symbols=yes 10633 file_list_spec='@' 10634 # Tell ltmain to make .lib files, not .a files. 10635 libext=lib 10636 # Tell ltmain to make .dll files, not .so files. 10637 shrext_cmds=".dll" 10638 # FIXME: Setting linknames here is a bad hack. 10639 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 10640 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10641 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 10642 else 10643 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 10644 fi~ 10645 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10646 linknames=' 10647 # The linker will not automatically build a static lib if we build a DLL. 10648 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10649 enable_shared_with_static_runtimes=yes 10650 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10651 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10652 # Don't use ranlib 10653 old_postinstall_cmds='chmod 644 $oldlib' 10654 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10655 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10656 case $lt_outputfile in 10657 *.exe|*.EXE) ;; 10658 *) 10659 lt_outputfile="$lt_outputfile.exe" 10660 lt_tool_outputfile="$lt_tool_outputfile.exe" 10661 ;; 10662 esac~ 10663 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 10664 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10665 $RM "$lt_outputfile.manifest"; 10666 fi' 10667 ;; 10668 *) 10669 # Assume MSVC wrapper 10670 hardcode_libdir_flag_spec=' ' 10671 allow_undefined_flag=unsupported 10672 # Tell ltmain to make .lib files, not .a files. 10673 libext=lib 10674 # Tell ltmain to make .dll files, not .so files. 10675 shrext_cmds=".dll" 10676 # FIXME: Setting linknames here is a bad hack. 10677 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10678 # The linker will automatically build a .lib file if we build a DLL. 10679 old_archive_from_new_cmds='true' 10680 # FIXME: Should let the user specify the lib program. 10681 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10682 enable_shared_with_static_runtimes=yes 10683 ;; 10684 esac 10685 ;; 10686 10687 darwin* | rhapsody*) 10688 10689 10690 archive_cmds_need_lc=no 10691 hardcode_direct=no 10692 hardcode_automatic=yes 10693 hardcode_shlibpath_var=unsupported 10694 if test "$lt_cv_ld_force_load" = "yes"; then 10695 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\"`' 10696 10697 else 10698 whole_archive_flag_spec='' 10699 fi 10700 link_all_deplibs=yes 10701 allow_undefined_flag="$_lt_dar_allow_undefined" 10702 case $cc_basename in 10703 ifort*) _lt_dar_can_shared=yes ;; 10704 *) _lt_dar_can_shared=$GCC ;; 10705 esac 10706 if test "$_lt_dar_can_shared" = "yes"; then 10707 output_verbose_link_cmd=func_echo_all 10708 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 10709 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 10710 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}" 10711 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}" 10712 10713 else 10714 ld_shlibs=no 10715 fi 10716 10717 ;; 10718 10719 dgux*) 10720 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10721 hardcode_libdir_flag_spec='-L$libdir' 10722 hardcode_shlibpath_var=no 10723 ;; 10724 10725 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10726 # support. Future versions do this automatically, but an explicit c++rt0.o 10727 # does not break anything, and helps significantly (at the cost of a little 10728 # extra space). 10729 freebsd2.2*) 10730 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10731 hardcode_libdir_flag_spec='-R$libdir' 10732 hardcode_direct=yes 10733 hardcode_shlibpath_var=no 10734 ;; 10735 10736 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10737 freebsd2.*) 10738 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10739 hardcode_direct=yes 10740 hardcode_minus_L=yes 10741 hardcode_shlibpath_var=no 10742 ;; 10743 10744 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10745 freebsd* | dragonfly*) 10746 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10747 hardcode_libdir_flag_spec='-R$libdir' 10748 hardcode_direct=yes 10749 hardcode_shlibpath_var=no 10750 ;; 10751 10752 hpux9*) 10753 if test "$GCC" = yes; then 10754 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' 10755 else 10756 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' 10757 fi 10758 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10759 hardcode_libdir_separator=: 10760 hardcode_direct=yes 10761 10762 # hardcode_minus_L: Not really in the search PATH, 10763 # but as the default location of the library. 10764 hardcode_minus_L=yes 10765 export_dynamic_flag_spec='${wl}-E' 10766 ;; 10767 10768 hpux10*) 10769 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10770 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10771 else 10772 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10773 fi 10774 if test "$with_gnu_ld" = no; then 10775 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10776 hardcode_libdir_separator=: 10777 hardcode_direct=yes 10778 hardcode_direct_absolute=yes 10779 export_dynamic_flag_spec='${wl}-E' 10780 # hardcode_minus_L: Not really in the search PATH, 10781 # but as the default location of the library. 10782 hardcode_minus_L=yes 10783 fi 10784 ;; 10785 10786 hpux11*) 10787 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10788 case $host_cpu in 10789 hppa*64*) 10790 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10791 ;; 10792 ia64*) 10793 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10794 ;; 10795 *) 10796 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10797 ;; 10798 esac 10799 else 10800 case $host_cpu in 10801 hppa*64*) 10802 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10803 ;; 10804 ia64*) 10805 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10806 ;; 10807 *) 10808 10809 # Older versions of the 11.00 compiler do not understand -b yet 10810 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10812$as_echo_n "checking if $CC understands -b... " >&6; } 10813if ${lt_cv_prog_compiler__b+:} false; then : 10814 $as_echo_n "(cached) " >&6 10815else 10816 lt_cv_prog_compiler__b=no 10817 save_LDFLAGS="$LDFLAGS" 10818 LDFLAGS="$LDFLAGS -b" 10819 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10820 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10821 # The linker can only warn and ignore the option if not recognized 10822 # So say no if there are warnings 10823 if test -s conftest.err; then 10824 # Append any errors to the config.log. 10825 cat conftest.err 1>&5 10826 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10828 if diff conftest.exp conftest.er2 >/dev/null; then 10829 lt_cv_prog_compiler__b=yes 10830 fi 10831 else 10832 lt_cv_prog_compiler__b=yes 10833 fi 10834 fi 10835 $RM -r conftest* 10836 LDFLAGS="$save_LDFLAGS" 10837 10838fi 10839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10840$as_echo "$lt_cv_prog_compiler__b" >&6; } 10841 10842if test x"$lt_cv_prog_compiler__b" = xyes; then 10843 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10844else 10845 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10846fi 10847 10848 ;; 10849 esac 10850 fi 10851 if test "$with_gnu_ld" = no; then 10852 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10853 hardcode_libdir_separator=: 10854 10855 case $host_cpu in 10856 hppa*64*|ia64*) 10857 hardcode_direct=no 10858 hardcode_shlibpath_var=no 10859 ;; 10860 *) 10861 hardcode_direct=yes 10862 hardcode_direct_absolute=yes 10863 export_dynamic_flag_spec='${wl}-E' 10864 10865 # hardcode_minus_L: Not really in the search PATH, 10866 # but as the default location of the library. 10867 hardcode_minus_L=yes 10868 ;; 10869 esac 10870 fi 10871 ;; 10872 10873 irix5* | irix6* | nonstopux*) 10874 if test "$GCC" = yes; then 10875 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' 10876 # Try to use the -exported_symbol ld option, if it does not 10877 # work, assume that -exports_file does not work either and 10878 # implicitly export all symbols. 10879 # This should be the same for all languages, so no per-tag cache variable. 10880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10881$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10882if ${lt_cv_irix_exported_symbol+:} false; then : 10883 $as_echo_n "(cached) " >&6 10884else 10885 save_LDFLAGS="$LDFLAGS" 10886 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10888/* end confdefs.h. */ 10889int foo (void) { return 0; } 10890_ACEOF 10891if ac_fn_c_try_link "$LINENO"; then : 10892 lt_cv_irix_exported_symbol=yes 10893else 10894 lt_cv_irix_exported_symbol=no 10895fi 10896rm -f core conftest.err conftest.$ac_objext \ 10897 conftest$ac_exeext conftest.$ac_ext 10898 LDFLAGS="$save_LDFLAGS" 10899fi 10900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10901$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10902 if test "$lt_cv_irix_exported_symbol" = yes; then 10903 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' 10904 fi 10905 else 10906 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' 10907 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' 10908 fi 10909 archive_cmds_need_lc='no' 10910 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10911 hardcode_libdir_separator=: 10912 inherit_rpath=yes 10913 link_all_deplibs=yes 10914 ;; 10915 10916 netbsd*) 10917 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10918 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10919 else 10920 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10921 fi 10922 hardcode_libdir_flag_spec='-R$libdir' 10923 hardcode_direct=yes 10924 hardcode_shlibpath_var=no 10925 ;; 10926 10927 newsos6) 10928 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10929 hardcode_direct=yes 10930 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10931 hardcode_libdir_separator=: 10932 hardcode_shlibpath_var=no 10933 ;; 10934 10935 *nto* | *qnx*) 10936 ;; 10937 10938 openbsd*) 10939 if test -f /usr/libexec/ld.so; then 10940 hardcode_direct=yes 10941 hardcode_shlibpath_var=no 10942 hardcode_direct_absolute=yes 10943 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10944 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10945 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10946 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10947 export_dynamic_flag_spec='${wl}-E' 10948 else 10949 case $host_os in 10950 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10951 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10952 hardcode_libdir_flag_spec='-R$libdir' 10953 ;; 10954 *) 10955 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10956 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10957 ;; 10958 esac 10959 fi 10960 else 10961 ld_shlibs=no 10962 fi 10963 ;; 10964 10965 os2*) 10966 hardcode_libdir_flag_spec='-L$libdir' 10967 hardcode_minus_L=yes 10968 allow_undefined_flag=unsupported 10969 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' 10970 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10971 ;; 10972 10973 osf3*) 10974 if test "$GCC" = yes; then 10975 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10976 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' 10977 else 10978 allow_undefined_flag=' -expect_unresolved \*' 10979 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' 10980 fi 10981 archive_cmds_need_lc='no' 10982 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10983 hardcode_libdir_separator=: 10984 ;; 10985 10986 osf4* | osf5*) # as osf3* with the addition of -msym flag 10987 if test "$GCC" = yes; then 10988 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10989 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' 10990 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10991 else 10992 allow_undefined_flag=' -expect_unresolved \*' 10993 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' 10994 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~ 10995 $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' 10996 10997 # Both c and cxx compiler support -rpath directly 10998 hardcode_libdir_flag_spec='-rpath $libdir' 10999 fi 11000 archive_cmds_need_lc='no' 11001 hardcode_libdir_separator=: 11002 ;; 11003 11004 solaris*) 11005 no_undefined_flag=' -z defs' 11006 if test "$GCC" = yes; then 11007 wlarc='${wl}' 11008 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 11009 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11010 $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' 11011 else 11012 case `$CC -V 2>&1` in 11013 *"Compilers 5.0"*) 11014 wlarc='' 11015 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 11016 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11017 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11018 ;; 11019 *) 11020 wlarc='${wl}' 11021 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11022 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11023 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11024 ;; 11025 esac 11026 fi 11027 hardcode_libdir_flag_spec='-R$libdir' 11028 hardcode_shlibpath_var=no 11029 case $host_os in 11030 solaris2.[0-5] | solaris2.[0-5].*) ;; 11031 *) 11032 # The compiler driver will combine and reorder linker options, 11033 # but understands `-z linker_flag'. GCC discards it without `$wl', 11034 # but is careful enough not to reorder. 11035 # Supported since Solaris 2.6 (maybe 2.5.1?) 11036 if test "$GCC" = yes; then 11037 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 11038 else 11039 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11040 fi 11041 ;; 11042 esac 11043 link_all_deplibs=yes 11044 ;; 11045 11046 sunos4*) 11047 if test "x$host_vendor" = xsequent; then 11048 # Use $CC to link under sequent, because it throws in some extra .o 11049 # files that make .init and .fini sections work. 11050 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11051 else 11052 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11053 fi 11054 hardcode_libdir_flag_spec='-L$libdir' 11055 hardcode_direct=yes 11056 hardcode_minus_L=yes 11057 hardcode_shlibpath_var=no 11058 ;; 11059 11060 sysv4) 11061 case $host_vendor in 11062 sni) 11063 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11064 hardcode_direct=yes # is this really true??? 11065 ;; 11066 siemens) 11067 ## LD is ld it makes a PLAMLIB 11068 ## CC just makes a GrossModule. 11069 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11070 reload_cmds='$CC -r -o $output$reload_objs' 11071 hardcode_direct=no 11072 ;; 11073 motorola) 11074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11075 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11076 ;; 11077 esac 11078 runpath_var='LD_RUN_PATH' 11079 hardcode_shlibpath_var=no 11080 ;; 11081 11082 sysv4.3*) 11083 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11084 hardcode_shlibpath_var=no 11085 export_dynamic_flag_spec='-Bexport' 11086 ;; 11087 11088 sysv4*MP*) 11089 if test -d /usr/nec; then 11090 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11091 hardcode_shlibpath_var=no 11092 runpath_var=LD_RUN_PATH 11093 hardcode_runpath_var=yes 11094 ld_shlibs=yes 11095 fi 11096 ;; 11097 11098 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11099 no_undefined_flag='${wl}-z,text' 11100 archive_cmds_need_lc=no 11101 hardcode_shlibpath_var=no 11102 runpath_var='LD_RUN_PATH' 11103 11104 if test "$GCC" = yes; then 11105 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11106 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11107 else 11108 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11109 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11110 fi 11111 ;; 11112 11113 sysv5* | sco3.2v5* | sco5v6*) 11114 # Note: We can NOT use -z defs as we might desire, because we do not 11115 # link with -lc, and that would cause any symbols used from libc to 11116 # always be unresolved, which means just about no library would 11117 # ever link correctly. If we're not using GNU ld we use -z text 11118 # though, which does catch some bad symbols but isn't as heavy-handed 11119 # as -z defs. 11120 no_undefined_flag='${wl}-z,text' 11121 allow_undefined_flag='${wl}-z,nodefs' 11122 archive_cmds_need_lc=no 11123 hardcode_shlibpath_var=no 11124 hardcode_libdir_flag_spec='${wl}-R,$libdir' 11125 hardcode_libdir_separator=':' 11126 link_all_deplibs=yes 11127 export_dynamic_flag_spec='${wl}-Bexport' 11128 runpath_var='LD_RUN_PATH' 11129 11130 if test "$GCC" = yes; then 11131 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11132 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11133 else 11134 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11135 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11136 fi 11137 ;; 11138 11139 uts4*) 11140 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11141 hardcode_libdir_flag_spec='-L$libdir' 11142 hardcode_shlibpath_var=no 11143 ;; 11144 11145 *) 11146 ld_shlibs=no 11147 ;; 11148 esac 11149 11150 if test x$host_vendor = xsni; then 11151 case $host in 11152 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11153 export_dynamic_flag_spec='${wl}-Blargedynsym' 11154 ;; 11155 esac 11156 fi 11157 fi 11158 11159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11160$as_echo "$ld_shlibs" >&6; } 11161test "$ld_shlibs" = no && can_build_shared=no 11162 11163with_gnu_ld=$with_gnu_ld 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179# 11180# Do we need to explicitly link libc? 11181# 11182case "x$archive_cmds_need_lc" in 11183x|xyes) 11184 # Assume -lc should be added 11185 archive_cmds_need_lc=yes 11186 11187 if test "$enable_shared" = yes && test "$GCC" = yes; then 11188 case $archive_cmds in 11189 *'~'*) 11190 # FIXME: we may have to deal with multi-command sequences. 11191 ;; 11192 '$CC '*) 11193 # Test whether the compiler implicitly links with -lc since on some 11194 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11195 # to ld, don't add -lc before -lgcc. 11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11197$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11198if ${lt_cv_archive_cmds_need_lc+:} false; then : 11199 $as_echo_n "(cached) " >&6 11200else 11201 $RM conftest* 11202 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11203 11204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11205 (eval $ac_compile) 2>&5 11206 ac_status=$? 11207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11208 test $ac_status = 0; } 2>conftest.err; then 11209 soname=conftest 11210 lib=conftest 11211 libobjs=conftest.$ac_objext 11212 deplibs= 11213 wl=$lt_prog_compiler_wl 11214 pic_flag=$lt_prog_compiler_pic 11215 compiler_flags=-v 11216 linker_flags=-v 11217 verstring= 11218 output_objdir=. 11219 libname=conftest 11220 lt_save_allow_undefined_flag=$allow_undefined_flag 11221 allow_undefined_flag= 11222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11223 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11224 ac_status=$? 11225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11226 test $ac_status = 0; } 11227 then 11228 lt_cv_archive_cmds_need_lc=no 11229 else 11230 lt_cv_archive_cmds_need_lc=yes 11231 fi 11232 allow_undefined_flag=$lt_save_allow_undefined_flag 11233 else 11234 cat conftest.err 1>&5 11235 fi 11236 $RM conftest* 11237 11238fi 11239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11240$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11241 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11242 ;; 11243 esac 11244 fi 11245 ;; 11246esac 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11400$as_echo_n "checking dynamic linker characteristics... " >&6; } 11401 11402if test "$GCC" = yes; then 11403 case $host_os in 11404 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 11405 *) lt_awk_arg="/^libraries:/" ;; 11406 esac 11407 case $host_os in 11408 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 11409 *) lt_sed_strip_eq="s,=/,/,g" ;; 11410 esac 11411 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11412 case $lt_search_path_spec in 11413 *\;*) 11414 # if the path contains ";" then we assume it to be the separator 11415 # otherwise default to the standard path separator (i.e. ":") - it is 11416 # assumed that no part of a normal pathname contains ";" but that should 11417 # okay in the real world where ";" in dirpaths is itself problematic. 11418 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11419 ;; 11420 *) 11421 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11422 ;; 11423 esac 11424 # Ok, now we have the path, separated by spaces, we can step through it 11425 # and add multilib dir if necessary. 11426 lt_tmp_lt_search_path_spec= 11427 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11428 for lt_sys_path in $lt_search_path_spec; do 11429 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 11430 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 11431 else 11432 test -d "$lt_sys_path" && \ 11433 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11434 fi 11435 done 11436 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11437BEGIN {RS=" "; FS="/|\n";} { 11438 lt_foo=""; 11439 lt_count=0; 11440 for (lt_i = NF; lt_i > 0; lt_i--) { 11441 if ($lt_i != "" && $lt_i != ".") { 11442 if ($lt_i == "..") { 11443 lt_count++; 11444 } else { 11445 if (lt_count == 0) { 11446 lt_foo="/" $lt_i lt_foo; 11447 } else { 11448 lt_count--; 11449 } 11450 } 11451 } 11452 } 11453 if (lt_foo != "") { lt_freq[lt_foo]++; } 11454 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11455}'` 11456 # AWK program above erroneously prepends '/' to C:/dos/paths 11457 # for these hosts. 11458 case $host_os in 11459 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11460 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 11461 esac 11462 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11463else 11464 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11465fi 11466library_names_spec= 11467libname_spec='lib$name' 11468soname_spec= 11469shrext_cmds=".so" 11470postinstall_cmds= 11471postuninstall_cmds= 11472finish_cmds= 11473finish_eval= 11474shlibpath_var= 11475shlibpath_overrides_runpath=unknown 11476version_type=none 11477dynamic_linker="$host_os ld.so" 11478sys_lib_dlsearch_path_spec="/lib /usr/lib" 11479need_lib_prefix=unknown 11480hardcode_into_libs=no 11481 11482# when you set need_version to no, make sure it does not cause -set_version 11483# flags to be left without arguments 11484need_version=unknown 11485 11486case $host_os in 11487aix3*) 11488 version_type=linux # correct to gnu/linux during the next big refactor 11489 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 11490 shlibpath_var=LIBPATH 11491 11492 # AIX 3 has no versioning support, so we append a major version to the name. 11493 soname_spec='${libname}${release}${shared_ext}$major' 11494 ;; 11495 11496aix[4-9]*) 11497 version_type=linux # correct to gnu/linux during the next big refactor 11498 need_lib_prefix=no 11499 need_version=no 11500 hardcode_into_libs=yes 11501 if test "$host_cpu" = ia64; then 11502 # AIX 5 supports IA64 11503 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 11504 shlibpath_var=LD_LIBRARY_PATH 11505 else 11506 # With GCC up to 2.95.x, collect2 would create an import file 11507 # for dependence libraries. The import file would start with 11508 # the line `#! .'. This would cause the generated library to 11509 # depend on `.', always an invalid library. This was fixed in 11510 # development snapshots of GCC prior to 3.0. 11511 case $host_os in 11512 aix4 | aix4.[01] | aix4.[01].*) 11513 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11514 echo ' yes ' 11515 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 11516 : 11517 else 11518 can_build_shared=no 11519 fi 11520 ;; 11521 esac 11522 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 11523 # soname into executable. Probably we can add versioning support to 11524 # collect2, so additional links can be useful in future. 11525 if test "$aix_use_runtimelinking" = yes; then 11526 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11527 # instead of lib<name>.a to let people know that these are not 11528 # typical AIX shared libraries. 11529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11530 else 11531 # We preserve .a as extension for shared libraries through AIX4.2 11532 # and later when we are not doing run time linking. 11533 library_names_spec='${libname}${release}.a $libname.a' 11534 soname_spec='${libname}${release}${shared_ext}$major' 11535 fi 11536 shlibpath_var=LIBPATH 11537 fi 11538 ;; 11539 11540amigaos*) 11541 case $host_cpu in 11542 powerpc) 11543 # Since July 2007 AmigaOS4 officially supports .so libraries. 11544 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11546 ;; 11547 m68k) 11548 library_names_spec='$libname.ixlibrary $libname.a' 11549 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11550 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' 11551 ;; 11552 esac 11553 ;; 11554 11555beos*) 11556 library_names_spec='${libname}${shared_ext}' 11557 dynamic_linker="$host_os ld.so" 11558 shlibpath_var=LIBRARY_PATH 11559 ;; 11560 11561bsdi[45]*) 11562 version_type=linux # correct to gnu/linux during the next big refactor 11563 need_version=no 11564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11565 soname_spec='${libname}${release}${shared_ext}$major' 11566 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11567 shlibpath_var=LD_LIBRARY_PATH 11568 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11569 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11570 # the default ld.so.conf also contains /usr/contrib/lib and 11571 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11572 # libtool to hard-code these into programs 11573 ;; 11574 11575cygwin* | mingw* | pw32* | cegcc*) 11576 version_type=windows 11577 shrext_cmds=".dll" 11578 need_version=no 11579 need_lib_prefix=no 11580 11581 case $GCC,$cc_basename in 11582 yes,*) 11583 # gcc 11584 library_names_spec='$libname.dll.a' 11585 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11586 postinstall_cmds='base_file=`basename \${file}`~ 11587 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11588 dldir=$destdir/`dirname \$dlpath`~ 11589 test -d \$dldir || mkdir -p \$dldir~ 11590 $install_prog $dir/$dlname \$dldir/$dlname~ 11591 chmod a+x \$dldir/$dlname~ 11592 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11593 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11594 fi' 11595 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11596 dlpath=$dir/\$dldll~ 11597 $RM \$dlpath' 11598 shlibpath_overrides_runpath=yes 11599 11600 case $host_os in 11601 cygwin*) 11602 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11603 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11604 11605 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11606 ;; 11607 mingw* | cegcc*) 11608 # MinGW DLLs use traditional 'lib' prefix 11609 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11610 ;; 11611 pw32*) 11612 # pw32 DLLs use 'pw' prefix rather than 'lib' 11613 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11614 ;; 11615 esac 11616 dynamic_linker='Win32 ld.exe' 11617 ;; 11618 11619 *,cl*) 11620 # Native MSVC 11621 libname_spec='$name' 11622 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11623 library_names_spec='${libname}.dll.lib' 11624 11625 case $build_os in 11626 mingw*) 11627 sys_lib_search_path_spec= 11628 lt_save_ifs=$IFS 11629 IFS=';' 11630 for lt_path in $LIB 11631 do 11632 IFS=$lt_save_ifs 11633 # Let DOS variable expansion print the short 8.3 style file name. 11634 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11635 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11636 done 11637 IFS=$lt_save_ifs 11638 # Convert to MSYS style. 11639 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11640 ;; 11641 cygwin*) 11642 # Convert to unix form, then to dos form, then back to unix form 11643 # but this time dos style (no spaces!) so that the unix form looks 11644 # like /cygdrive/c/PROGRA~1:/cygdr... 11645 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11646 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11647 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11648 ;; 11649 *) 11650 sys_lib_search_path_spec="$LIB" 11651 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11652 # It is most probably a Windows format PATH. 11653 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11654 else 11655 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11656 fi 11657 # FIXME: find the short name or the path components, as spaces are 11658 # common. (e.g. "Program Files" -> "PROGRA~1") 11659 ;; 11660 esac 11661 11662 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11663 postinstall_cmds='base_file=`basename \${file}`~ 11664 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11665 dldir=$destdir/`dirname \$dlpath`~ 11666 test -d \$dldir || mkdir -p \$dldir~ 11667 $install_prog $dir/$dlname \$dldir/$dlname' 11668 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11669 dlpath=$dir/\$dldll~ 11670 $RM \$dlpath' 11671 shlibpath_overrides_runpath=yes 11672 dynamic_linker='Win32 link.exe' 11673 ;; 11674 11675 *) 11676 # Assume MSVC wrapper 11677 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 11678 dynamic_linker='Win32 ld.exe' 11679 ;; 11680 esac 11681 # FIXME: first we should search . and the directory the executable is in 11682 shlibpath_var=PATH 11683 ;; 11684 11685darwin* | rhapsody*) 11686 dynamic_linker="$host_os dyld" 11687 version_type=darwin 11688 need_lib_prefix=no 11689 need_version=no 11690 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11691 soname_spec='${libname}${release}${major}$shared_ext' 11692 shlibpath_overrides_runpath=yes 11693 shlibpath_var=DYLD_LIBRARY_PATH 11694 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11695 11696 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11697 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11698 ;; 11699 11700dgux*) 11701 version_type=linux # correct to gnu/linux during the next big refactor 11702 need_lib_prefix=no 11703 need_version=no 11704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 11705 soname_spec='${libname}${release}${shared_ext}$major' 11706 shlibpath_var=LD_LIBRARY_PATH 11707 ;; 11708 11709freebsd* | dragonfly*) 11710 # DragonFly does not have aout. When/if they implement a new 11711 # versioning mechanism, adjust this. 11712 if test -x /usr/bin/objformat; then 11713 objformat=`/usr/bin/objformat` 11714 else 11715 case $host_os in 11716 freebsd[23].*) objformat=aout ;; 11717 *) objformat=elf ;; 11718 esac 11719 fi 11720 version_type=freebsd-$objformat 11721 case $version_type in 11722 freebsd-elf*) 11723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11724 need_version=no 11725 need_lib_prefix=no 11726 ;; 11727 freebsd-*) 11728 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 11729 need_version=yes 11730 ;; 11731 esac 11732 shlibpath_var=LD_LIBRARY_PATH 11733 case $host_os in 11734 freebsd2.*) 11735 shlibpath_overrides_runpath=yes 11736 ;; 11737 freebsd3.[01]* | freebsdelf3.[01]*) 11738 shlibpath_overrides_runpath=yes 11739 hardcode_into_libs=yes 11740 ;; 11741 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11742 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11743 shlibpath_overrides_runpath=no 11744 hardcode_into_libs=yes 11745 ;; 11746 *) # from 4.6 on, and DragonFly 11747 shlibpath_overrides_runpath=yes 11748 hardcode_into_libs=yes 11749 ;; 11750 esac 11751 ;; 11752 11753gnu*) 11754 version_type=linux # correct to gnu/linux during the next big refactor 11755 need_lib_prefix=no 11756 need_version=no 11757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11758 soname_spec='${libname}${release}${shared_ext}$major' 11759 shlibpath_var=LD_LIBRARY_PATH 11760 shlibpath_overrides_runpath=no 11761 hardcode_into_libs=yes 11762 ;; 11763 11764haiku*) 11765 version_type=linux # correct to gnu/linux during the next big refactor 11766 need_lib_prefix=no 11767 need_version=no 11768 dynamic_linker="$host_os runtime_loader" 11769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11770 soname_spec='${libname}${release}${shared_ext}$major' 11771 shlibpath_var=LIBRARY_PATH 11772 shlibpath_overrides_runpath=yes 11773 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11774 hardcode_into_libs=yes 11775 ;; 11776 11777hpux9* | hpux10* | hpux11*) 11778 # Give a soname corresponding to the major version so that dld.sl refuses to 11779 # link against other versions. 11780 version_type=sunos 11781 need_lib_prefix=no 11782 need_version=no 11783 case $host_cpu in 11784 ia64*) 11785 shrext_cmds='.so' 11786 hardcode_into_libs=yes 11787 dynamic_linker="$host_os dld.so" 11788 shlibpath_var=LD_LIBRARY_PATH 11789 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11791 soname_spec='${libname}${release}${shared_ext}$major' 11792 if test "X$HPUX_IA64_MODE" = X32; then 11793 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11794 else 11795 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11796 fi 11797 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11798 ;; 11799 hppa*64*) 11800 shrext_cmds='.sl' 11801 hardcode_into_libs=yes 11802 dynamic_linker="$host_os dld.sl" 11803 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11804 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11806 soname_spec='${libname}${release}${shared_ext}$major' 11807 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11808 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11809 ;; 11810 *) 11811 shrext_cmds='.sl' 11812 dynamic_linker="$host_os dld.sl" 11813 shlibpath_var=SHLIB_PATH 11814 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11816 soname_spec='${libname}${release}${shared_ext}$major' 11817 ;; 11818 esac 11819 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11820 postinstall_cmds='chmod 555 $lib' 11821 # or fails outright, so override atomically: 11822 install_override_mode=555 11823 ;; 11824 11825interix[3-9]*) 11826 version_type=linux # correct to gnu/linux during the next big refactor 11827 need_lib_prefix=no 11828 need_version=no 11829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11830 soname_spec='${libname}${release}${shared_ext}$major' 11831 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11832 shlibpath_var=LD_LIBRARY_PATH 11833 shlibpath_overrides_runpath=no 11834 hardcode_into_libs=yes 11835 ;; 11836 11837irix5* | irix6* | nonstopux*) 11838 case $host_os in 11839 nonstopux*) version_type=nonstopux ;; 11840 *) 11841 if test "$lt_cv_prog_gnu_ld" = yes; then 11842 version_type=linux # correct to gnu/linux during the next big refactor 11843 else 11844 version_type=irix 11845 fi ;; 11846 esac 11847 need_lib_prefix=no 11848 need_version=no 11849 soname_spec='${libname}${release}${shared_ext}$major' 11850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11851 case $host_os in 11852 irix5* | nonstopux*) 11853 libsuff= shlibsuff= 11854 ;; 11855 *) 11856 case $LD in # libtool.m4 will add one of these switches to LD 11857 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11858 libsuff= shlibsuff= libmagic=32-bit;; 11859 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11860 libsuff=32 shlibsuff=N32 libmagic=N32;; 11861 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11862 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11863 *) libsuff= shlibsuff= libmagic=never-match;; 11864 esac 11865 ;; 11866 esac 11867 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11868 shlibpath_overrides_runpath=no 11869 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11870 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11871 hardcode_into_libs=yes 11872 ;; 11873 11874# No shared lib support for Linux oldld, aout, or coff. 11875linux*oldld* | linux*aout* | linux*coff*) 11876 dynamic_linker=no 11877 ;; 11878 11879# This must be glibc/ELF. 11880linux* | k*bsd*-gnu | kopensolaris*-gnu) 11881 version_type=linux # correct to gnu/linux during the next big refactor 11882 need_lib_prefix=no 11883 need_version=no 11884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11885 soname_spec='${libname}${release}${shared_ext}$major' 11886 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11887 shlibpath_var=LD_LIBRARY_PATH 11888 shlibpath_overrides_runpath=no 11889 11890 # Some binutils ld are patched to set DT_RUNPATH 11891 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11892 $as_echo_n "(cached) " >&6 11893else 11894 lt_cv_shlibpath_overrides_runpath=no 11895 save_LDFLAGS=$LDFLAGS 11896 save_libdir=$libdir 11897 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11898 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11900/* end confdefs.h. */ 11901 11902int 11903main () 11904{ 11905 11906 ; 11907 return 0; 11908} 11909_ACEOF 11910if ac_fn_c_try_link "$LINENO"; then : 11911 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11912 lt_cv_shlibpath_overrides_runpath=yes 11913fi 11914fi 11915rm -f core conftest.err conftest.$ac_objext \ 11916 conftest$ac_exeext conftest.$ac_ext 11917 LDFLAGS=$save_LDFLAGS 11918 libdir=$save_libdir 11919 11920fi 11921 11922 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11923 11924 # This implies no fast_install, which is unacceptable. 11925 # Some rework will be needed to allow for fast_install 11926 # before this can be enabled. 11927 hardcode_into_libs=yes 11928 11929 # Add ABI-specific directories to the system library path. 11930 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11931 11932 # Append ld.so.conf contents to the search path 11933 if test -f /etc/ld.so.conf; then 11934 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' ' '` 11935 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11936 11937 fi 11938 11939 # We used to test for /lib/ld.so.1 and disable shared libraries on 11940 # powerpc, because MkLinux only supported shared libraries with the 11941 # GNU dynamic linker. Since this was broken with cross compilers, 11942 # most powerpc-linux boxes support dynamic linking these days and 11943 # people can always --disable-shared, the test was removed, and we 11944 # assume the GNU/Linux dynamic linker is in use. 11945 dynamic_linker='GNU/Linux ld.so' 11946 ;; 11947 11948netbsd*) 11949 version_type=sunos 11950 need_lib_prefix=no 11951 need_version=no 11952 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11954 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11955 dynamic_linker='NetBSD (a.out) ld.so' 11956 else 11957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11958 soname_spec='${libname}${release}${shared_ext}$major' 11959 dynamic_linker='NetBSD ld.elf_so' 11960 fi 11961 shlibpath_var=LD_LIBRARY_PATH 11962 shlibpath_overrides_runpath=yes 11963 hardcode_into_libs=yes 11964 ;; 11965 11966newsos6) 11967 version_type=linux # correct to gnu/linux during the next big refactor 11968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11969 shlibpath_var=LD_LIBRARY_PATH 11970 shlibpath_overrides_runpath=yes 11971 ;; 11972 11973*nto* | *qnx*) 11974 version_type=qnx 11975 need_lib_prefix=no 11976 need_version=no 11977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11978 soname_spec='${libname}${release}${shared_ext}$major' 11979 shlibpath_var=LD_LIBRARY_PATH 11980 shlibpath_overrides_runpath=no 11981 hardcode_into_libs=yes 11982 dynamic_linker='ldqnx.so' 11983 ;; 11984 11985openbsd*) 11986 version_type=sunos 11987 sys_lib_dlsearch_path_spec="/usr/lib" 11988 need_lib_prefix=no 11989 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11990 case $host_os in 11991 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11992 *) need_version=no ;; 11993 esac 11994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11995 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11996 shlibpath_var=LD_LIBRARY_PATH 11997 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11998 case $host_os in 11999 openbsd2.[89] | openbsd2.[89].*) 12000 shlibpath_overrides_runpath=no 12001 ;; 12002 *) 12003 shlibpath_overrides_runpath=yes 12004 ;; 12005 esac 12006 else 12007 shlibpath_overrides_runpath=yes 12008 fi 12009 ;; 12010 12011os2*) 12012 libname_spec='$name' 12013 shrext_cmds=".dll" 12014 need_lib_prefix=no 12015 library_names_spec='$libname${shared_ext} $libname.a' 12016 dynamic_linker='OS/2 ld.exe' 12017 shlibpath_var=LIBPATH 12018 ;; 12019 12020osf3* | osf4* | osf5*) 12021 version_type=osf 12022 need_lib_prefix=no 12023 need_version=no 12024 soname_spec='${libname}${release}${shared_ext}$major' 12025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12026 shlibpath_var=LD_LIBRARY_PATH 12027 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12028 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 12029 ;; 12030 12031rdos*) 12032 dynamic_linker=no 12033 ;; 12034 12035solaris*) 12036 version_type=linux # correct to gnu/linux during the next big refactor 12037 need_lib_prefix=no 12038 need_version=no 12039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12040 soname_spec='${libname}${release}${shared_ext}$major' 12041 shlibpath_var=LD_LIBRARY_PATH 12042 shlibpath_overrides_runpath=yes 12043 hardcode_into_libs=yes 12044 # ldd complains unless libraries are executable 12045 postinstall_cmds='chmod +x $lib' 12046 ;; 12047 12048sunos4*) 12049 version_type=sunos 12050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12051 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12052 shlibpath_var=LD_LIBRARY_PATH 12053 shlibpath_overrides_runpath=yes 12054 if test "$with_gnu_ld" = yes; then 12055 need_lib_prefix=no 12056 fi 12057 need_version=yes 12058 ;; 12059 12060sysv4 | sysv4.3*) 12061 version_type=linux # correct to gnu/linux during the next big refactor 12062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12063 soname_spec='${libname}${release}${shared_ext}$major' 12064 shlibpath_var=LD_LIBRARY_PATH 12065 case $host_vendor in 12066 sni) 12067 shlibpath_overrides_runpath=no 12068 need_lib_prefix=no 12069 runpath_var=LD_RUN_PATH 12070 ;; 12071 siemens) 12072 need_lib_prefix=no 12073 ;; 12074 motorola) 12075 need_lib_prefix=no 12076 need_version=no 12077 shlibpath_overrides_runpath=no 12078 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12079 ;; 12080 esac 12081 ;; 12082 12083sysv4*MP*) 12084 if test -d /usr/nec ;then 12085 version_type=linux # correct to gnu/linux during the next big refactor 12086 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 12087 soname_spec='$libname${shared_ext}.$major' 12088 shlibpath_var=LD_LIBRARY_PATH 12089 fi 12090 ;; 12091 12092sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12093 version_type=freebsd-elf 12094 need_lib_prefix=no 12095 need_version=no 12096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 12097 soname_spec='${libname}${release}${shared_ext}$major' 12098 shlibpath_var=LD_LIBRARY_PATH 12099 shlibpath_overrides_runpath=yes 12100 hardcode_into_libs=yes 12101 if test "$with_gnu_ld" = yes; then 12102 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12103 else 12104 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12105 case $host_os in 12106 sco3.2v5*) 12107 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12108 ;; 12109 esac 12110 fi 12111 sys_lib_dlsearch_path_spec='/usr/lib' 12112 ;; 12113 12114tpf*) 12115 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12116 version_type=linux # correct to gnu/linux during the next big refactor 12117 need_lib_prefix=no 12118 need_version=no 12119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12120 shlibpath_var=LD_LIBRARY_PATH 12121 shlibpath_overrides_runpath=no 12122 hardcode_into_libs=yes 12123 ;; 12124 12125uts4*) 12126 version_type=linux # correct to gnu/linux during the next big refactor 12127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12128 soname_spec='${libname}${release}${shared_ext}$major' 12129 shlibpath_var=LD_LIBRARY_PATH 12130 ;; 12131 12132*) 12133 dynamic_linker=no 12134 ;; 12135esac 12136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12137$as_echo "$dynamic_linker" >&6; } 12138test "$dynamic_linker" = no && can_build_shared=no 12139 12140variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12141if test "$GCC" = yes; then 12142 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12143fi 12144 12145if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 12146 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 12147fi 12148if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 12149 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 12150fi 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12244$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12245hardcode_action= 12246if test -n "$hardcode_libdir_flag_spec" || 12247 test -n "$runpath_var" || 12248 test "X$hardcode_automatic" = "Xyes" ; then 12249 12250 # We can hardcode non-existent directories. 12251 if test "$hardcode_direct" != no && 12252 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12253 # have to relink, otherwise we might link with an installed library 12254 # when we should be linking with a yet-to-be-installed one 12255 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 12256 test "$hardcode_minus_L" != no; then 12257 # Linking always hardcodes the temporary library directory. 12258 hardcode_action=relink 12259 else 12260 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12261 hardcode_action=immediate 12262 fi 12263else 12264 # We cannot hardcode anything, or else we can only hardcode existing 12265 # directories. 12266 hardcode_action=unsupported 12267fi 12268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12269$as_echo "$hardcode_action" >&6; } 12270 12271if test "$hardcode_action" = relink || 12272 test "$inherit_rpath" = yes; then 12273 # Fast installation is not supported 12274 enable_fast_install=no 12275elif test "$shlibpath_overrides_runpath" = yes || 12276 test "$enable_shared" = no; then 12277 # Fast installation is not necessary 12278 enable_fast_install=needless 12279fi 12280 12281 12282 12283 12284 12285 12286 if test "x$enable_dlopen" != xyes; then 12287 enable_dlopen=unknown 12288 enable_dlopen_self=unknown 12289 enable_dlopen_self_static=unknown 12290else 12291 lt_cv_dlopen=no 12292 lt_cv_dlopen_libs= 12293 12294 case $host_os in 12295 beos*) 12296 lt_cv_dlopen="load_add_on" 12297 lt_cv_dlopen_libs= 12298 lt_cv_dlopen_self=yes 12299 ;; 12300 12301 mingw* | pw32* | cegcc*) 12302 lt_cv_dlopen="LoadLibrary" 12303 lt_cv_dlopen_libs= 12304 ;; 12305 12306 cygwin*) 12307 lt_cv_dlopen="dlopen" 12308 lt_cv_dlopen_libs= 12309 ;; 12310 12311 darwin*) 12312 # if libdl is installed we need to link against it 12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12314$as_echo_n "checking for dlopen in -ldl... " >&6; } 12315if ${ac_cv_lib_dl_dlopen+:} false; then : 12316 $as_echo_n "(cached) " >&6 12317else 12318 ac_check_lib_save_LIBS=$LIBS 12319LIBS="-ldl $LIBS" 12320cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12321/* end confdefs.h. */ 12322 12323/* Override any GCC internal prototype to avoid an error. 12324 Use char because int might match the return type of a GCC 12325 builtin and then its argument prototype would still apply. */ 12326#ifdef __cplusplus 12327extern "C" 12328#endif 12329char dlopen (); 12330int 12331main () 12332{ 12333return dlopen (); 12334 ; 12335 return 0; 12336} 12337_ACEOF 12338if ac_fn_c_try_link "$LINENO"; then : 12339 ac_cv_lib_dl_dlopen=yes 12340else 12341 ac_cv_lib_dl_dlopen=no 12342fi 12343rm -f core conftest.err conftest.$ac_objext \ 12344 conftest$ac_exeext conftest.$ac_ext 12345LIBS=$ac_check_lib_save_LIBS 12346fi 12347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12348$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12349if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12350 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12351else 12352 12353 lt_cv_dlopen="dyld" 12354 lt_cv_dlopen_libs= 12355 lt_cv_dlopen_self=yes 12356 12357fi 12358 12359 ;; 12360 12361 *) 12362 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12363if test "x$ac_cv_func_shl_load" = xyes; then : 12364 lt_cv_dlopen="shl_load" 12365else 12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12367$as_echo_n "checking for shl_load in -ldld... " >&6; } 12368if ${ac_cv_lib_dld_shl_load+:} false; then : 12369 $as_echo_n "(cached) " >&6 12370else 12371 ac_check_lib_save_LIBS=$LIBS 12372LIBS="-ldld $LIBS" 12373cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12374/* end confdefs.h. */ 12375 12376/* Override any GCC internal prototype to avoid an error. 12377 Use char because int might match the return type of a GCC 12378 builtin and then its argument prototype would still apply. */ 12379#ifdef __cplusplus 12380extern "C" 12381#endif 12382char shl_load (); 12383int 12384main () 12385{ 12386return shl_load (); 12387 ; 12388 return 0; 12389} 12390_ACEOF 12391if ac_fn_c_try_link "$LINENO"; then : 12392 ac_cv_lib_dld_shl_load=yes 12393else 12394 ac_cv_lib_dld_shl_load=no 12395fi 12396rm -f core conftest.err conftest.$ac_objext \ 12397 conftest$ac_exeext conftest.$ac_ext 12398LIBS=$ac_check_lib_save_LIBS 12399fi 12400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12401$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12402if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12403 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 12404else 12405 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12406if test "x$ac_cv_func_dlopen" = xyes; then : 12407 lt_cv_dlopen="dlopen" 12408else 12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12410$as_echo_n "checking for dlopen in -ldl... " >&6; } 12411if ${ac_cv_lib_dl_dlopen+:} false; then : 12412 $as_echo_n "(cached) " >&6 12413else 12414 ac_check_lib_save_LIBS=$LIBS 12415LIBS="-ldl $LIBS" 12416cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12417/* end confdefs.h. */ 12418 12419/* Override any GCC internal prototype to avoid an error. 12420 Use char because int might match the return type of a GCC 12421 builtin and then its argument prototype would still apply. */ 12422#ifdef __cplusplus 12423extern "C" 12424#endif 12425char dlopen (); 12426int 12427main () 12428{ 12429return dlopen (); 12430 ; 12431 return 0; 12432} 12433_ACEOF 12434if ac_fn_c_try_link "$LINENO"; then : 12435 ac_cv_lib_dl_dlopen=yes 12436else 12437 ac_cv_lib_dl_dlopen=no 12438fi 12439rm -f core conftest.err conftest.$ac_objext \ 12440 conftest$ac_exeext conftest.$ac_ext 12441LIBS=$ac_check_lib_save_LIBS 12442fi 12443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12444$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12445if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12446 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12447else 12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12449$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12450if ${ac_cv_lib_svld_dlopen+:} false; then : 12451 $as_echo_n "(cached) " >&6 12452else 12453 ac_check_lib_save_LIBS=$LIBS 12454LIBS="-lsvld $LIBS" 12455cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12456/* end confdefs.h. */ 12457 12458/* Override any GCC internal prototype to avoid an error. 12459 Use char because int might match the return type of a GCC 12460 builtin and then its argument prototype would still apply. */ 12461#ifdef __cplusplus 12462extern "C" 12463#endif 12464char dlopen (); 12465int 12466main () 12467{ 12468return dlopen (); 12469 ; 12470 return 0; 12471} 12472_ACEOF 12473if ac_fn_c_try_link "$LINENO"; then : 12474 ac_cv_lib_svld_dlopen=yes 12475else 12476 ac_cv_lib_svld_dlopen=no 12477fi 12478rm -f core conftest.err conftest.$ac_objext \ 12479 conftest$ac_exeext conftest.$ac_ext 12480LIBS=$ac_check_lib_save_LIBS 12481fi 12482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12483$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12484if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12485 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 12486else 12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12488$as_echo_n "checking for dld_link in -ldld... " >&6; } 12489if ${ac_cv_lib_dld_dld_link+:} false; then : 12490 $as_echo_n "(cached) " >&6 12491else 12492 ac_check_lib_save_LIBS=$LIBS 12493LIBS="-ldld $LIBS" 12494cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12495/* end confdefs.h. */ 12496 12497/* Override any GCC internal prototype to avoid an error. 12498 Use char because int might match the return type of a GCC 12499 builtin and then its argument prototype would still apply. */ 12500#ifdef __cplusplus 12501extern "C" 12502#endif 12503char dld_link (); 12504int 12505main () 12506{ 12507return dld_link (); 12508 ; 12509 return 0; 12510} 12511_ACEOF 12512if ac_fn_c_try_link "$LINENO"; then : 12513 ac_cv_lib_dld_dld_link=yes 12514else 12515 ac_cv_lib_dld_dld_link=no 12516fi 12517rm -f core conftest.err conftest.$ac_objext \ 12518 conftest$ac_exeext conftest.$ac_ext 12519LIBS=$ac_check_lib_save_LIBS 12520fi 12521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12522$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12523if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12524 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 12525fi 12526 12527 12528fi 12529 12530 12531fi 12532 12533 12534fi 12535 12536 12537fi 12538 12539 12540fi 12541 12542 ;; 12543 esac 12544 12545 if test "x$lt_cv_dlopen" != xno; then 12546 enable_dlopen=yes 12547 else 12548 enable_dlopen=no 12549 fi 12550 12551 case $lt_cv_dlopen in 12552 dlopen) 12553 save_CPPFLAGS="$CPPFLAGS" 12554 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12555 12556 save_LDFLAGS="$LDFLAGS" 12557 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12558 12559 save_LIBS="$LIBS" 12560 LIBS="$lt_cv_dlopen_libs $LIBS" 12561 12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12563$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12564if ${lt_cv_dlopen_self+:} false; then : 12565 $as_echo_n "(cached) " >&6 12566else 12567 if test "$cross_compiling" = yes; then : 12568 lt_cv_dlopen_self=cross 12569else 12570 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12571 lt_status=$lt_dlunknown 12572 cat > conftest.$ac_ext <<_LT_EOF 12573#line $LINENO "configure" 12574#include "confdefs.h" 12575 12576#if HAVE_DLFCN_H 12577#include <dlfcn.h> 12578#endif 12579 12580#include <stdio.h> 12581 12582#ifdef RTLD_GLOBAL 12583# define LT_DLGLOBAL RTLD_GLOBAL 12584#else 12585# ifdef DL_GLOBAL 12586# define LT_DLGLOBAL DL_GLOBAL 12587# else 12588# define LT_DLGLOBAL 0 12589# endif 12590#endif 12591 12592/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12593 find out it does not work in some platform. */ 12594#ifndef LT_DLLAZY_OR_NOW 12595# ifdef RTLD_LAZY 12596# define LT_DLLAZY_OR_NOW RTLD_LAZY 12597# else 12598# ifdef DL_LAZY 12599# define LT_DLLAZY_OR_NOW DL_LAZY 12600# else 12601# ifdef RTLD_NOW 12602# define LT_DLLAZY_OR_NOW RTLD_NOW 12603# else 12604# ifdef DL_NOW 12605# define LT_DLLAZY_OR_NOW DL_NOW 12606# else 12607# define LT_DLLAZY_OR_NOW 0 12608# endif 12609# endif 12610# endif 12611# endif 12612#endif 12613 12614/* When -fvisbility=hidden is used, assume the code has been annotated 12615 correspondingly for the symbols needed. */ 12616#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12617int fnord () __attribute__((visibility("default"))); 12618#endif 12619 12620int fnord () { return 42; } 12621int main () 12622{ 12623 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12624 int status = $lt_dlunknown; 12625 12626 if (self) 12627 { 12628 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12629 else 12630 { 12631 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12632 else puts (dlerror ()); 12633 } 12634 /* dlclose (self); */ 12635 } 12636 else 12637 puts (dlerror ()); 12638 12639 return status; 12640} 12641_LT_EOF 12642 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12643 (eval $ac_link) 2>&5 12644 ac_status=$? 12645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12646 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12647 (./conftest; exit; ) >&5 2>/dev/null 12648 lt_status=$? 12649 case x$lt_status in 12650 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12651 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12652 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12653 esac 12654 else : 12655 # compilation failed 12656 lt_cv_dlopen_self=no 12657 fi 12658fi 12659rm -fr conftest* 12660 12661 12662fi 12663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12664$as_echo "$lt_cv_dlopen_self" >&6; } 12665 12666 if test "x$lt_cv_dlopen_self" = xyes; then 12667 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12669$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12670if ${lt_cv_dlopen_self_static+:} false; then : 12671 $as_echo_n "(cached) " >&6 12672else 12673 if test "$cross_compiling" = yes; then : 12674 lt_cv_dlopen_self_static=cross 12675else 12676 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12677 lt_status=$lt_dlunknown 12678 cat > conftest.$ac_ext <<_LT_EOF 12679#line $LINENO "configure" 12680#include "confdefs.h" 12681 12682#if HAVE_DLFCN_H 12683#include <dlfcn.h> 12684#endif 12685 12686#include <stdio.h> 12687 12688#ifdef RTLD_GLOBAL 12689# define LT_DLGLOBAL RTLD_GLOBAL 12690#else 12691# ifdef DL_GLOBAL 12692# define LT_DLGLOBAL DL_GLOBAL 12693# else 12694# define LT_DLGLOBAL 0 12695# endif 12696#endif 12697 12698/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12699 find out it does not work in some platform. */ 12700#ifndef LT_DLLAZY_OR_NOW 12701# ifdef RTLD_LAZY 12702# define LT_DLLAZY_OR_NOW RTLD_LAZY 12703# else 12704# ifdef DL_LAZY 12705# define LT_DLLAZY_OR_NOW DL_LAZY 12706# else 12707# ifdef RTLD_NOW 12708# define LT_DLLAZY_OR_NOW RTLD_NOW 12709# else 12710# ifdef DL_NOW 12711# define LT_DLLAZY_OR_NOW DL_NOW 12712# else 12713# define LT_DLLAZY_OR_NOW 0 12714# endif 12715# endif 12716# endif 12717# endif 12718#endif 12719 12720/* When -fvisbility=hidden is used, assume the code has been annotated 12721 correspondingly for the symbols needed. */ 12722#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12723int fnord () __attribute__((visibility("default"))); 12724#endif 12725 12726int fnord () { return 42; } 12727int main () 12728{ 12729 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12730 int status = $lt_dlunknown; 12731 12732 if (self) 12733 { 12734 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12735 else 12736 { 12737 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12738 else puts (dlerror ()); 12739 } 12740 /* dlclose (self); */ 12741 } 12742 else 12743 puts (dlerror ()); 12744 12745 return status; 12746} 12747_LT_EOF 12748 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12749 (eval $ac_link) 2>&5 12750 ac_status=$? 12751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12752 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12753 (./conftest; exit; ) >&5 2>/dev/null 12754 lt_status=$? 12755 case x$lt_status in 12756 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12757 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12758 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12759 esac 12760 else : 12761 # compilation failed 12762 lt_cv_dlopen_self_static=no 12763 fi 12764fi 12765rm -fr conftest* 12766 12767 12768fi 12769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12770$as_echo "$lt_cv_dlopen_self_static" >&6; } 12771 fi 12772 12773 CPPFLAGS="$save_CPPFLAGS" 12774 LDFLAGS="$save_LDFLAGS" 12775 LIBS="$save_LIBS" 12776 ;; 12777 esac 12778 12779 case $lt_cv_dlopen_self in 12780 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12781 *) enable_dlopen_self=unknown ;; 12782 esac 12783 12784 case $lt_cv_dlopen_self_static in 12785 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12786 *) enable_dlopen_self_static=unknown ;; 12787 esac 12788fi 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806striplib= 12807old_striplib= 12808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12809$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12810if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12811 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12812 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12814$as_echo "yes" >&6; } 12815else 12816# FIXME - insert some real tests, host_os isn't really good enough 12817 case $host_os in 12818 darwin*) 12819 if test -n "$STRIP" ; then 12820 striplib="$STRIP -x" 12821 old_striplib="$STRIP -S" 12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12823$as_echo "yes" >&6; } 12824 else 12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12826$as_echo "no" >&6; } 12827 fi 12828 ;; 12829 *) 12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12831$as_echo "no" >&6; } 12832 ;; 12833 esac 12834fi 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 # Report which library types will actually be built 12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12849$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12851$as_echo "$can_build_shared" >&6; } 12852 12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12854$as_echo_n "checking whether to build shared libraries... " >&6; } 12855 test "$can_build_shared" = "no" && enable_shared=no 12856 12857 # On AIX, shared libraries and static libraries use the same namespace, and 12858 # are all built from PIC. 12859 case $host_os in 12860 aix3*) 12861 test "$enable_shared" = yes && enable_static=no 12862 if test -n "$RANLIB"; then 12863 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12864 postinstall_cmds='$RANLIB $lib' 12865 fi 12866 ;; 12867 12868 aix[4-9]*) 12869 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12870 test "$enable_shared" = yes && enable_static=no 12871 fi 12872 ;; 12873 esac 12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12875$as_echo "$enable_shared" >&6; } 12876 12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12878$as_echo_n "checking whether to build static libraries... " >&6; } 12879 # Make sure either enable_shared or enable_static is yes. 12880 test "$enable_shared" = yes || enable_static=yes 12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12882$as_echo "$enable_static" >&6; } 12883 12884 12885 12886 12887fi 12888ac_ext=c 12889ac_cpp='$CPP $CPPFLAGS' 12890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12892ac_compiler_gnu=$ac_cv_c_compiler_gnu 12893 12894CC="$lt_save_CC" 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 ac_config_commands="$ac_config_commands libtool" 12911 12912 12913 12914 12915# Only expand once: 12916 12917 12918 12919 12920 12921case "$(uname -s)" in 12922 Darwin) 12923 alias libtoolize="glibtoolize" 12924 12925 which libtool > /dev/null 2>&1 12926 if [ $? -ne 0 ] 12927 then 12928 which glibtool > /dev/null 2>&1 12929 if [ $? -eq 0 ] 12930 then 12931 alias libtool="glibtool" 12932 fi 12933 fi 12934 12935 echo 'brol' | sed 's/brol/truc/' > /dev/null 2>&1 12936 if [ $? -ne 0 ] 12937 then 12938 alias sed="gsed" 12939 fi 12940 12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin workaround" >&5 12942$as_echo "Darwin workaround" >&6; } 12943 12944 ;; 12945 *) 12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: nothing to do" >&5 12947$as_echo "nothing to do" >&6; } 12948 ;; 12949esac 12950 12951 12952 12953 12954 12955 12956 12957 12958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for printf in -lc" >&5 12959$as_echo_n "checking for printf in -lc... " >&6; } 12960if ${ac_cv_lib_c_printf+:} false; then : 12961 $as_echo_n "(cached) " >&6 12962else 12963 ac_check_lib_save_LIBS=$LIBS 12964LIBS="-lc $LIBS" 12965cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12966/* end confdefs.h. */ 12967 12968/* Override any GCC internal prototype to avoid an error. 12969 Use char because int might match the return type of a GCC 12970 builtin and then its argument prototype would still apply. */ 12971#ifdef __cplusplus 12972extern "C" 12973#endif 12974char printf (); 12975int 12976main () 12977{ 12978return printf (); 12979 ; 12980 return 0; 12981} 12982_ACEOF 12983if ac_fn_c_try_link "$LINENO"; then : 12984 ac_cv_lib_c_printf=yes 12985else 12986 ac_cv_lib_c_printf=no 12987fi 12988rm -f core conftest.err conftest.$ac_objext \ 12989 conftest$ac_exeext conftest.$ac_ext 12990LIBS=$ac_check_lib_save_LIBS 12991fi 12992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_printf" >&5 12993$as_echo "$ac_cv_lib_c_printf" >&6; } 12994if test "x$ac_cv_lib_c_printf" = xyes; then : 12995 cat >>confdefs.h <<_ACEOF 12996#define HAVE_LIBC 1 12997_ACEOF 12998 12999 LIBS="-lc $LIBS" 13000 13001fi 13002 13003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 13004$as_echo_n "checking for library containing pthread_create... " >&6; } 13005if ${ac_cv_search_pthread_create+:} false; then : 13006 $as_echo_n "(cached) " >&6 13007else 13008 ac_func_search_save_LIBS=$LIBS 13009cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13010/* end confdefs.h. */ 13011 13012/* Override any GCC internal prototype to avoid an error. 13013 Use char because int might match the return type of a GCC 13014 builtin and then its argument prototype would still apply. */ 13015#ifdef __cplusplus 13016extern "C" 13017#endif 13018char pthread_create (); 13019int 13020main () 13021{ 13022return pthread_create (); 13023 ; 13024 return 0; 13025} 13026_ACEOF 13027for ac_lib in '' pthread; do 13028 if test -z "$ac_lib"; then 13029 ac_res="none required" 13030 else 13031 ac_res=-l$ac_lib 13032 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13033 fi 13034 if ac_fn_c_try_link "$LINENO"; then : 13035 ac_cv_search_pthread_create=$ac_res 13036fi 13037rm -f core conftest.err conftest.$ac_objext \ 13038 conftest$ac_exeext 13039 if ${ac_cv_search_pthread_create+:} false; then : 13040 break 13041fi 13042done 13043if ${ac_cv_search_pthread_create+:} false; then : 13044 13045else 13046 ac_cv_search_pthread_create=no 13047fi 13048rm conftest.$ac_ext 13049LIBS=$ac_func_search_save_LIBS 13050fi 13051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 13052$as_echo "$ac_cv_search_pthread_create" >&6; } 13053ac_res=$ac_cv_search_pthread_create 13054if test "$ac_res" != no; then : 13055 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13056 13057else 13058 exit 1 13059fi 13060 13061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 13062$as_echo_n "checking for library containing clock_gettime... " >&6; } 13063if ${ac_cv_search_clock_gettime+:} false; then : 13064 $as_echo_n "(cached) " >&6 13065else 13066 ac_func_search_save_LIBS=$LIBS 13067cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13068/* end confdefs.h. */ 13069 13070/* Override any GCC internal prototype to avoid an error. 13071 Use char because int might match the return type of a GCC 13072 builtin and then its argument prototype would still apply. */ 13073#ifdef __cplusplus 13074extern "C" 13075#endif 13076char clock_gettime (); 13077int 13078main () 13079{ 13080return clock_gettime (); 13081 ; 13082 return 0; 13083} 13084_ACEOF 13085for ac_lib in '' rt; do 13086 if test -z "$ac_lib"; then 13087 ac_res="none required" 13088 else 13089 ac_res=-l$ac_lib 13090 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13091 fi 13092 if ac_fn_c_try_link "$LINENO"; then : 13093 ac_cv_search_clock_gettime=$ac_res 13094fi 13095rm -f core conftest.err conftest.$ac_objext \ 13096 conftest$ac_exeext 13097 if ${ac_cv_search_clock_gettime+:} false; then : 13098 break 13099fi 13100done 13101if ${ac_cv_search_clock_gettime+:} false; then : 13102 13103else 13104 ac_cv_search_clock_gettime=no 13105fi 13106rm conftest.$ac_ext 13107LIBS=$ac_func_search_save_LIBS 13108fi 13109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 13110$as_echo "$ac_cv_search_clock_gettime" >&6; } 13111ac_res=$ac_cv_search_clock_gettime 13112if test "$ac_res" != no; then : 13113 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13114 13115else 13116 exit 1 13117fi 13118 13119 13120 13121# Autoupdate added the next two lines to ensure that your configure 13122# script's behavior did not change. They are probably safe to remove. 13123# 13124# 13125 13126for ac_header in arpa/inet.h fcntl.h netinet/in.h stdlib.h string.h sys/time.h syslog.h unistd.h stdatomic.h 13127do : 13128 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13129ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13130if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13131 cat >>confdefs.h <<_ACEOF 13132#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13133_ACEOF 13134 13135fi 13136 13137done 13138 13139 13140# Check for Darwin or Linux 13141for ac_header in linux/limits.h sys/syslimits.h i386/limits.h ppc/limits.h 13142do : 13143 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13144ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13145if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13146 cat >>confdefs.h <<_ACEOF 13147#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13148_ACEOF 13149 13150fi 13151 13152done 13153 13154 13155# Check for Darwin or Linux 13156for ac_header in sys/types.h i386/types.h 13157do : 13158 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13159ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13160if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13161 cat >>confdefs.h <<_ACEOF 13162#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13163_ACEOF 13164 13165fi 13166 13167done 13168 13169 13170for ac_header in sys/socket.h 13171do : 13172 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 13173if test "x$ac_cv_header_sys_socket_h" = xyes; then : 13174 cat >>confdefs.h <<_ACEOF 13175#define HAVE_SYS_SOCKET_H 1 13176_ACEOF 13177 13178fi 13179 13180done 13181 13182 13183 13184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 13185$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 13186if ${ac_cv_c_const+:} false; then : 13187 $as_echo_n "(cached) " >&6 13188else 13189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13190/* end confdefs.h. */ 13191 13192int 13193main () 13194{ 13195 13196#ifndef __cplusplus 13197 /* Ultrix mips cc rejects this sort of thing. */ 13198 typedef int charset[2]; 13199 const charset cs = { 0, 0 }; 13200 /* SunOS 4.1.1 cc rejects this. */ 13201 char const *const *pcpcc; 13202 char **ppc; 13203 /* NEC SVR4.0.2 mips cc rejects this. */ 13204 struct point {int x, y;}; 13205 static struct point const zero = {0,0}; 13206 /* AIX XL C 1.02.0.0 rejects this. 13207 It does not let you subtract one const X* pointer from another in 13208 an arm of an if-expression whose if-part is not a constant 13209 expression */ 13210 const char *g = "string"; 13211 pcpcc = &g + (g ? g-g : 0); 13212 /* HPUX 7.0 cc rejects these. */ 13213 ++pcpcc; 13214 ppc = (char**) pcpcc; 13215 pcpcc = (char const *const *) ppc; 13216 { /* SCO 3.2v4 cc rejects this sort of thing. */ 13217 char tx; 13218 char *t = &tx; 13219 char const *s = 0 ? (char *) 0 : (char const *) 0; 13220 13221 *t++ = 0; 13222 if (s) return 0; 13223 } 13224 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 13225 int x[] = {25, 17}; 13226 const int *foo = &x[0]; 13227 ++foo; 13228 } 13229 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 13230 typedef const int *iptr; 13231 iptr p = 0; 13232 ++p; 13233 } 13234 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 13235 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 13236 struct s { int j; const int *ap[3]; } bx; 13237 struct s *b = &bx; b->j = 5; 13238 } 13239 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 13240 const int foo = 10; 13241 if (!foo) return 0; 13242 } 13243 return !cs[0] && !zero.x; 13244#endif 13245 13246 ; 13247 return 0; 13248} 13249_ACEOF 13250if ac_fn_c_try_compile "$LINENO"; then : 13251 ac_cv_c_const=yes 13252else 13253 ac_cv_c_const=no 13254fi 13255rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13256fi 13257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 13258$as_echo "$ac_cv_c_const" >&6; } 13259if test $ac_cv_c_const = no; then 13260 13261$as_echo "#define const /**/" >>confdefs.h 13262 13263fi 13264 13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 13266$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 13267if ${ac_cv_c_bigendian+:} false; then : 13268 $as_echo_n "(cached) " >&6 13269else 13270 ac_cv_c_bigendian=unknown 13271 # See if we're dealing with a universal compiler. 13272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13273/* end confdefs.h. */ 13274#ifndef __APPLE_CC__ 13275 not a universal capable compiler 13276 #endif 13277 typedef int dummy; 13278 13279_ACEOF 13280if ac_fn_c_try_compile "$LINENO"; then : 13281 13282 # Check for potential -arch flags. It is not universal unless 13283 # there are at least two -arch flags with different values. 13284 ac_arch= 13285 ac_prev= 13286 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 13287 if test -n "$ac_prev"; then 13288 case $ac_word in 13289 i?86 | x86_64 | ppc | ppc64) 13290 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 13291 ac_arch=$ac_word 13292 else 13293 ac_cv_c_bigendian=universal 13294 break 13295 fi 13296 ;; 13297 esac 13298 ac_prev= 13299 elif test "x$ac_word" = "x-arch"; then 13300 ac_prev=arch 13301 fi 13302 done 13303fi 13304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13305 if test $ac_cv_c_bigendian = unknown; then 13306 # See if sys/param.h defines the BYTE_ORDER macro. 13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13308/* end confdefs.h. */ 13309#include <sys/types.h> 13310 #include <sys/param.h> 13311 13312int 13313main () 13314{ 13315#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 13316 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 13317 && LITTLE_ENDIAN) 13318 bogus endian macros 13319 #endif 13320 13321 ; 13322 return 0; 13323} 13324_ACEOF 13325if ac_fn_c_try_compile "$LINENO"; then : 13326 # It does; now see whether it defined to BIG_ENDIAN or not. 13327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13328/* end confdefs.h. */ 13329#include <sys/types.h> 13330 #include <sys/param.h> 13331 13332int 13333main () 13334{ 13335#if BYTE_ORDER != BIG_ENDIAN 13336 not big endian 13337 #endif 13338 13339 ; 13340 return 0; 13341} 13342_ACEOF 13343if ac_fn_c_try_compile "$LINENO"; then : 13344 ac_cv_c_bigendian=yes 13345else 13346 ac_cv_c_bigendian=no 13347fi 13348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13349fi 13350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13351 fi 13352 if test $ac_cv_c_bigendian = unknown; then 13353 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 13354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13355/* end confdefs.h. */ 13356#include <limits.h> 13357 13358int 13359main () 13360{ 13361#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 13362 bogus endian macros 13363 #endif 13364 13365 ; 13366 return 0; 13367} 13368_ACEOF 13369if ac_fn_c_try_compile "$LINENO"; then : 13370 # It does; now see whether it defined to _BIG_ENDIAN or not. 13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13372/* end confdefs.h. */ 13373#include <limits.h> 13374 13375int 13376main () 13377{ 13378#ifndef _BIG_ENDIAN 13379 not big endian 13380 #endif 13381 13382 ; 13383 return 0; 13384} 13385_ACEOF 13386if ac_fn_c_try_compile "$LINENO"; then : 13387 ac_cv_c_bigendian=yes 13388else 13389 ac_cv_c_bigendian=no 13390fi 13391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13392fi 13393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13394 fi 13395 if test $ac_cv_c_bigendian = unknown; then 13396 # Compile a test program. 13397 if test "$cross_compiling" = yes; then : 13398 # Try to guess by grepping values from an object file. 13399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13400/* end confdefs.h. */ 13401short int ascii_mm[] = 13402 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 13403 short int ascii_ii[] = 13404 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 13405 int use_ascii (int i) { 13406 return ascii_mm[i] + ascii_ii[i]; 13407 } 13408 short int ebcdic_ii[] = 13409 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 13410 short int ebcdic_mm[] = 13411 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 13412 int use_ebcdic (int i) { 13413 return ebcdic_mm[i] + ebcdic_ii[i]; 13414 } 13415 extern int foo; 13416 13417int 13418main () 13419{ 13420return use_ascii (foo) == use_ebcdic (foo); 13421 ; 13422 return 0; 13423} 13424_ACEOF 13425if ac_fn_c_try_compile "$LINENO"; then : 13426 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 13427 ac_cv_c_bigendian=yes 13428 fi 13429 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 13430 if test "$ac_cv_c_bigendian" = unknown; then 13431 ac_cv_c_bigendian=no 13432 else 13433 # finding both strings is unlikely to happen, but who knows? 13434 ac_cv_c_bigendian=unknown 13435 fi 13436 fi 13437fi 13438rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13439else 13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13441/* end confdefs.h. */ 13442$ac_includes_default 13443int 13444main () 13445{ 13446 13447 /* Are we little or big endian? From Harbison&Steele. */ 13448 union 13449 { 13450 long int l; 13451 char c[sizeof (long int)]; 13452 } u; 13453 u.l = 1; 13454 return u.c[sizeof (long int) - 1] == 1; 13455 13456 ; 13457 return 0; 13458} 13459_ACEOF 13460if ac_fn_c_try_run "$LINENO"; then : 13461 ac_cv_c_bigendian=no 13462else 13463 ac_cv_c_bigendian=yes 13464fi 13465rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13466 conftest.$ac_objext conftest.beam conftest.$ac_ext 13467fi 13468 13469 fi 13470fi 13471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 13472$as_echo "$ac_cv_c_bigendian" >&6; } 13473 case $ac_cv_c_bigendian in #( 13474 yes) 13475 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 13476;; #( 13477 no) 13478 ;; #( 13479 universal) 13480 13481$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 13482 13483 ;; #( 13484 *) 13485 as_fn_error $? "unknown endianness 13486 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 13487 esac 13488 13489ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 13490if test "x$ac_cv_type_mode_t" = xyes; then : 13491 13492else 13493 13494cat >>confdefs.h <<_ACEOF 13495#define mode_t int 13496_ACEOF 13497 13498fi 13499 13500ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 13501if test "x$ac_cv_type_pid_t" = xyes; then : 13502 13503else 13504 13505cat >>confdefs.h <<_ACEOF 13506#define pid_t int 13507_ACEOF 13508 13509fi 13510 13511ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 13512if test "x$ac_cv_type_size_t" = xyes; then : 13513 13514else 13515 13516cat >>confdefs.h <<_ACEOF 13517#define size_t unsigned int 13518_ACEOF 13519 13520fi 13521 13522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 13523$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 13524if ${ac_cv_struct_tm+:} false; then : 13525 $as_echo_n "(cached) " >&6 13526else 13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13528/* end confdefs.h. */ 13529#include <sys/types.h> 13530#include <time.h> 13531 13532int 13533main () 13534{ 13535struct tm tm; 13536 int *p = &tm.tm_sec; 13537 return !p; 13538 ; 13539 return 0; 13540} 13541_ACEOF 13542if ac_fn_c_try_compile "$LINENO"; then : 13543 ac_cv_struct_tm=time.h 13544else 13545 ac_cv_struct_tm=sys/time.h 13546fi 13547rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13548fi 13549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 13550$as_echo "$ac_cv_struct_tm" >&6; } 13551if test $ac_cv_struct_tm = sys/time.h; then 13552 13553$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 13554 13555fi 13556 13557 13558 13559ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default" 13560if test "x$ac_cv_type_uint8_t" = xyes; then : 13561 13562cat >>confdefs.h <<_ACEOF 13563#define HAVE_UINT8_T 1 13564_ACEOF 13565 13566 13567fi 13568 13569ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default" 13570if test "x$ac_cv_type_int8_t" = xyes; then : 13571 13572cat >>confdefs.h <<_ACEOF 13573#define HAVE_INT8_T 1 13574_ACEOF 13575 13576 13577fi 13578 13579ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" 13580if test "x$ac_cv_type_uint16_t" = xyes; then : 13581 13582cat >>confdefs.h <<_ACEOF 13583#define HAVE_UINT16_T 1 13584_ACEOF 13585 13586 13587fi 13588 13589ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default" 13590if test "x$ac_cv_type_int16_t" = xyes; then : 13591 13592cat >>confdefs.h <<_ACEOF 13593#define HAVE_INT16_T 1 13594_ACEOF 13595 13596 13597fi 13598 13599ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" 13600if test "x$ac_cv_type_uint32_t" = xyes; then : 13601 13602cat >>confdefs.h <<_ACEOF 13603#define HAVE_UINT32_T 1 13604_ACEOF 13605 13606 13607fi 13608 13609ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" 13610if test "x$ac_cv_type_int32_t" = xyes; then : 13611 13612cat >>confdefs.h <<_ACEOF 13613#define HAVE_INT32_T 1 13614_ACEOF 13615 13616 13617fi 13618 13619ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" 13620if test "x$ac_cv_type_uint64_t" = xyes; then : 13621 13622cat >>confdefs.h <<_ACEOF 13623#define HAVE_UINT64_T 1 13624_ACEOF 13625 13626 13627fi 13628 13629ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" 13630if test "x$ac_cv_type_int64_t" = xyes; then : 13631 13632cat >>confdefs.h <<_ACEOF 13633#define HAVE_INT64_T 1 13634_ACEOF 13635 13636 13637fi 13638 13639ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default" 13640if test "x$ac_cv_type_long_long" = xyes; then : 13641 13642cat >>confdefs.h <<_ACEOF 13643#define HAVE_LONG_LONG 1 13644_ACEOF 13645 13646 13647fi 13648 13649ac_fn_c_check_type "$LINENO" "u_char" "ac_cv_type_u_char" "$ac_includes_default" 13650if test "x$ac_cv_type_u_char" = xyes; then : 13651 13652cat >>confdefs.h <<_ACEOF 13653#define HAVE_U_CHAR 1 13654_ACEOF 13655 13656 13657fi 13658 13659 13660ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default" 13661if test "x$ac_cv_type_uint8_t" = xyes; then : 13662 13663cat >>confdefs.h <<_ACEOF 13664#define HAVE_UINT8_T 1 13665_ACEOF 13666 13667 13668fi 13669 13670ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default" 13671if test "x$ac_cv_type_int8_t" = xyes; then : 13672 13673cat >>confdefs.h <<_ACEOF 13674#define HAVE_INT8_T 1 13675_ACEOF 13676 13677 13678fi 13679 13680ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" 13681if test "x$ac_cv_type_uint16_t" = xyes; then : 13682 13683cat >>confdefs.h <<_ACEOF 13684#define HAVE_UINT16_T 1 13685_ACEOF 13686 13687 13688fi 13689 13690ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default" 13691if test "x$ac_cv_type_int16_t" = xyes; then : 13692 13693cat >>confdefs.h <<_ACEOF 13694#define HAVE_INT16_T 1 13695_ACEOF 13696 13697 13698fi 13699 13700ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" 13701if test "x$ac_cv_type_uint32_t" = xyes; then : 13702 13703cat >>confdefs.h <<_ACEOF 13704#define HAVE_UINT32_T 1 13705_ACEOF 13706 13707 13708fi 13709 13710ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" 13711if test "x$ac_cv_type_int32_t" = xyes; then : 13712 13713cat >>confdefs.h <<_ACEOF 13714#define HAVE_INT32_T 1 13715_ACEOF 13716 13717 13718fi 13719 13720ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" 13721if test "x$ac_cv_type_uint64_t" = xyes; then : 13722 13723cat >>confdefs.h <<_ACEOF 13724#define HAVE_UINT64_T 1 13725_ACEOF 13726 13727 13728fi 13729 13730ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" 13731if test "x$ac_cv_type_int64_t" = xyes; then : 13732 13733cat >>confdefs.h <<_ACEOF 13734#define HAVE_INT64_T 1 13735_ACEOF 13736 13737 13738fi 13739 13740ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default" 13741if test "x$ac_cv_type_long_long" = xyes; then : 13742 13743cat >>confdefs.h <<_ACEOF 13744#define HAVE_LONG_LONG 1 13745_ACEOF 13746 13747 13748fi 13749 13750ac_fn_c_check_type "$LINENO" "u_char" "ac_cv_type_u_char" "$ac_includes_default" 13751if test "x$ac_cv_type_u_char" = xyes; then : 13752 13753cat >>confdefs.h <<_ACEOF 13754#define HAVE_U_CHAR 1 13755_ACEOF 13756 13757 13758fi 13759 13760 13761for ac_func in bzero memset select socket atexit clock_gettime dup2 fdatasync ftruncate getcwd gethostname getpagesize gettimeofday inet_ntoa localtime_r memchr memmove memset mkdir mkfifo munmap select socket strcasecmp strchr strdup strerror strncasecmp strrchr strtol timegm 13762do : 13763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13764ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13765if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13766 cat >>confdefs.h <<_ACEOF 13767#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13768_ACEOF 13769 13770fi 13771done 13772 13773for ac_header in sys/ioctl.h 13774do : 13775 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 13776if test "x$ac_cv_header_sys_ioctl_h" = xyes; then : 13777 cat >>confdefs.h <<_ACEOF 13778#define HAVE_SYS_IOCTL_H 1 13779_ACEOF 13780 13781fi 13782 13783done 13784 13785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 13786$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 13787if ${ac_cv_header_stdbool_h+:} false; then : 13788 $as_echo_n "(cached) " >&6 13789else 13790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13791/* end confdefs.h. */ 13792 13793 #include <stdbool.h> 13794 #ifndef bool 13795 "error: bool is not defined" 13796 #endif 13797 #ifndef false 13798 "error: false is not defined" 13799 #endif 13800 #if false 13801 "error: false is not 0" 13802 #endif 13803 #ifndef true 13804 "error: true is not defined" 13805 #endif 13806 #if true != 1 13807 "error: true is not 1" 13808 #endif 13809 #ifndef __bool_true_false_are_defined 13810 "error: __bool_true_false_are_defined is not defined" 13811 #endif 13812 13813 struct s { _Bool s: 1; _Bool t; } s; 13814 13815 char a[true == 1 ? 1 : -1]; 13816 char b[false == 0 ? 1 : -1]; 13817 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 13818 char d[(bool) 0.5 == true ? 1 : -1]; 13819 /* See body of main program for 'e'. */ 13820 char f[(_Bool) 0.0 == false ? 1 : -1]; 13821 char g[true]; 13822 char h[sizeof (_Bool)]; 13823 char i[sizeof s.t]; 13824 enum { j = false, k = true, l = false * true, m = true * 256 }; 13825 /* The following fails for 13826 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ 13827 _Bool n[m]; 13828 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 13829 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 13830 /* Catch a bug in an HP-UX C compiler. See 13831 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 13832 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 13833 */ 13834 _Bool q = true; 13835 _Bool *pq = &q; 13836 13837int 13838main () 13839{ 13840 13841 bool e = &s; 13842 *pq |= q; 13843 *pq |= ! q; 13844 /* Refer to every declared value, to avoid compiler optimizations. */ 13845 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 13846 + !m + !n + !o + !p + !q + !pq); 13847 13848 ; 13849 return 0; 13850} 13851_ACEOF 13852if ac_fn_c_try_compile "$LINENO"; then : 13853 ac_cv_header_stdbool_h=yes 13854else 13855 ac_cv_header_stdbool_h=no 13856fi 13857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13858fi 13859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 13860$as_echo "$ac_cv_header_stdbool_h" >&6; } 13861 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 13862if test "x$ac_cv_type__Bool" = xyes; then : 13863 13864cat >>confdefs.h <<_ACEOF 13865#define HAVE__BOOL 1 13866_ACEOF 13867 13868 13869fi 13870 13871 13872ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" 13873if test "x$ac_cv_type_ptrdiff_t" = xyes; then : 13874 13875cat >>confdefs.h <<_ACEOF 13876#define HAVE_PTRDIFF_T 1 13877_ACEOF 13878 13879 13880fi 13881 13882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 13883$as_echo_n "checking for inline... " >&6; } 13884if ${ac_cv_c_inline+:} false; then : 13885 $as_echo_n "(cached) " >&6 13886else 13887 ac_cv_c_inline=no 13888for ac_kw in inline __inline__ __inline; do 13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13890/* end confdefs.h. */ 13891#ifndef __cplusplus 13892typedef int foo_t; 13893static $ac_kw foo_t static_foo () {return 0; } 13894$ac_kw foo_t foo () {return 0; } 13895#endif 13896 13897_ACEOF 13898if ac_fn_c_try_compile "$LINENO"; then : 13899 ac_cv_c_inline=$ac_kw 13900fi 13901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13902 test "$ac_cv_c_inline" != no && break 13903done 13904 13905fi 13906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 13907$as_echo "$ac_cv_c_inline" >&6; } 13908 13909case $ac_cv_c_inline in 13910 inline | yes) ;; 13911 *) 13912 case $ac_cv_c_inline in 13913 no) ac_val=;; 13914 *) ac_val=$ac_cv_c_inline;; 13915 esac 13916 cat >>confdefs.h <<_ACEOF 13917#ifndef __cplusplus 13918#define inline $ac_val 13919#endif 13920_ACEOF 13921 ;; 13922esac 13923 13924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 13925$as_echo_n "checking for C/C++ restrict keyword... " >&6; } 13926if ${ac_cv_c_restrict+:} false; then : 13927 $as_echo_n "(cached) " >&6 13928else 13929 ac_cv_c_restrict=no 13930 # The order here caters to the fact that C++ does not require restrict. 13931 for ac_kw in __restrict __restrict__ _Restrict restrict; do 13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13933/* end confdefs.h. */ 13934typedef int * int_ptr; 13935 int foo (int_ptr $ac_kw ip) { 13936 return ip[0]; 13937 } 13938int 13939main () 13940{ 13941int s[1]; 13942 int * $ac_kw t = s; 13943 t[0] = 0; 13944 return foo(t) 13945 ; 13946 return 0; 13947} 13948_ACEOF 13949if ac_fn_c_try_compile "$LINENO"; then : 13950 ac_cv_c_restrict=$ac_kw 13951fi 13952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13953 test "$ac_cv_c_restrict" != no && break 13954 done 13955 13956fi 13957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 13958$as_echo "$ac_cv_c_restrict" >&6; } 13959 13960 case $ac_cv_c_restrict in 13961 restrict) ;; 13962 no) $as_echo "#define restrict /**/" >>confdefs.h 13963 ;; 13964 *) cat >>confdefs.h <<_ACEOF 13965#define restrict $ac_cv_c_restrict 13966_ACEOF 13967 ;; 13968 esac 13969 13970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 13971$as_echo_n "checking for uid_t in sys/types.h... " >&6; } 13972if ${ac_cv_type_uid_t+:} false; then : 13973 $as_echo_n "(cached) " >&6 13974else 13975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13976/* end confdefs.h. */ 13977#include <sys/types.h> 13978 13979_ACEOF 13980if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13981 $EGREP "uid_t" >/dev/null 2>&1; then : 13982 ac_cv_type_uid_t=yes 13983else 13984 ac_cv_type_uid_t=no 13985fi 13986rm -f conftest* 13987 13988fi 13989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 13990$as_echo "$ac_cv_type_uid_t" >&6; } 13991if test $ac_cv_type_uid_t = no; then 13992 13993$as_echo "#define uid_t int" >>confdefs.h 13994 13995 13996$as_echo "#define gid_t int" >>confdefs.h 13997 13998fi 13999 14000for ac_header in unistd.h 14001do : 14002 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 14003if test "x$ac_cv_header_unistd_h" = xyes; then : 14004 cat >>confdefs.h <<_ACEOF 14005#define HAVE_UNISTD_H 1 14006_ACEOF 14007 14008fi 14009 14010done 14011 14012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5 14013$as_echo_n "checking for working chown... " >&6; } 14014if ${ac_cv_func_chown_works+:} false; then : 14015 $as_echo_n "(cached) " >&6 14016else 14017 if test "$cross_compiling" = yes; then : 14018 ac_cv_func_chown_works=no 14019else 14020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14021/* end confdefs.h. */ 14022$ac_includes_default 14023#include <fcntl.h> 14024 14025int 14026main () 14027{ 14028 char *f = "conftest.chown"; 14029 struct stat before, after; 14030 14031 if (creat (f, 0600) < 0) 14032 return 1; 14033 if (stat (f, &before) < 0) 14034 return 1; 14035 if (chown (f, (uid_t) -1, (gid_t) -1) == -1) 14036 return 1; 14037 if (stat (f, &after) < 0) 14038 return 1; 14039 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid); 14040 14041 ; 14042 return 0; 14043} 14044_ACEOF 14045if ac_fn_c_try_run "$LINENO"; then : 14046 ac_cv_func_chown_works=yes 14047else 14048 ac_cv_func_chown_works=no 14049fi 14050rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14051 conftest.$ac_objext conftest.beam conftest.$ac_ext 14052fi 14053 14054rm -f conftest.chown 14055 14056fi 14057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5 14058$as_echo "$ac_cv_func_chown_works" >&6; } 14059if test $ac_cv_func_chown_works = yes; then 14060 14061$as_echo "#define HAVE_CHOWN 1" >>confdefs.h 14062 14063fi 14064 14065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 14066$as_echo_n "checking for error_at_line... " >&6; } 14067if ${ac_cv_lib_error_at_line+:} false; then : 14068 $as_echo_n "(cached) " >&6 14069else 14070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14071/* end confdefs.h. */ 14072#include <error.h> 14073int 14074main () 14075{ 14076error_at_line (0, 0, "", 0, "an error occurred"); 14077 ; 14078 return 0; 14079} 14080_ACEOF 14081if ac_fn_c_try_link "$LINENO"; then : 14082 ac_cv_lib_error_at_line=yes 14083else 14084 ac_cv_lib_error_at_line=no 14085fi 14086rm -f core conftest.err conftest.$ac_objext \ 14087 conftest$ac_exeext conftest.$ac_ext 14088fi 14089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 14090$as_echo "$ac_cv_lib_error_at_line" >&6; } 14091if test $ac_cv_lib_error_at_line = no; then 14092 case " $LIBOBJS " in 14093 *" error.$ac_objext "* ) ;; 14094 *) LIBOBJS="$LIBOBJS error.$ac_objext" 14095 ;; 14096esac 14097 14098fi 14099 14100for ac_header in vfork.h 14101do : 14102 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 14103if test "x$ac_cv_header_vfork_h" = xyes; then : 14104 cat >>confdefs.h <<_ACEOF 14105#define HAVE_VFORK_H 1 14106_ACEOF 14107 14108fi 14109 14110done 14111 14112for ac_func in fork vfork 14113do : 14114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14115ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14116if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 14117 cat >>confdefs.h <<_ACEOF 14118#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14119_ACEOF 14120 14121fi 14122done 14123 14124if test "x$ac_cv_func_fork" = xyes; then 14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 14126$as_echo_n "checking for working fork... " >&6; } 14127if ${ac_cv_func_fork_works+:} false; then : 14128 $as_echo_n "(cached) " >&6 14129else 14130 if test "$cross_compiling" = yes; then : 14131 ac_cv_func_fork_works=cross 14132else 14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14134/* end confdefs.h. */ 14135$ac_includes_default 14136int 14137main () 14138{ 14139 14140 /* By Ruediger Kuhlmann. */ 14141 return fork () < 0; 14142 14143 ; 14144 return 0; 14145} 14146_ACEOF 14147if ac_fn_c_try_run "$LINENO"; then : 14148 ac_cv_func_fork_works=yes 14149else 14150 ac_cv_func_fork_works=no 14151fi 14152rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14153 conftest.$ac_objext conftest.beam conftest.$ac_ext 14154fi 14155 14156fi 14157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 14158$as_echo "$ac_cv_func_fork_works" >&6; } 14159 14160else 14161 ac_cv_func_fork_works=$ac_cv_func_fork 14162fi 14163if test "x$ac_cv_func_fork_works" = xcross; then 14164 case $host in 14165 *-*-amigaos* | *-*-msdosdjgpp*) 14166 # Override, as these systems have only a dummy fork() stub 14167 ac_cv_func_fork_works=no 14168 ;; 14169 *) 14170 ac_cv_func_fork_works=yes 14171 ;; 14172 esac 14173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 14174$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 14175fi 14176ac_cv_func_vfork_works=$ac_cv_func_vfork 14177if test "x$ac_cv_func_vfork" = xyes; then 14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 14179$as_echo_n "checking for working vfork... " >&6; } 14180if ${ac_cv_func_vfork_works+:} false; then : 14181 $as_echo_n "(cached) " >&6 14182else 14183 if test "$cross_compiling" = yes; then : 14184 ac_cv_func_vfork_works=cross 14185else 14186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14187/* end confdefs.h. */ 14188/* Thanks to Paul Eggert for this test. */ 14189$ac_includes_default 14190#include <sys/wait.h> 14191#ifdef HAVE_VFORK_H 14192# include <vfork.h> 14193#endif 14194/* On some sparc systems, changes by the child to local and incoming 14195 argument registers are propagated back to the parent. The compiler 14196 is told about this with #include <vfork.h>, but some compilers 14197 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a 14198 static variable whose address is put into a register that is 14199 clobbered by the vfork. */ 14200static void 14201#ifdef __cplusplus 14202sparc_address_test (int arg) 14203# else 14204sparc_address_test (arg) int arg; 14205#endif 14206{ 14207 static pid_t child; 14208 if (!child) { 14209 child = vfork (); 14210 if (child < 0) { 14211 perror ("vfork"); 14212 _exit(2); 14213 } 14214 if (!child) { 14215 arg = getpid(); 14216 write(-1, "", 0); 14217 _exit (arg); 14218 } 14219 } 14220} 14221 14222int 14223main () 14224{ 14225 pid_t parent = getpid (); 14226 pid_t child; 14227 14228 sparc_address_test (0); 14229 14230 child = vfork (); 14231 14232 if (child == 0) { 14233 /* Here is another test for sparc vfork register problems. This 14234 test uses lots of local variables, at least as many local 14235 variables as main has allocated so far including compiler 14236 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 14237 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should 14238 reuse the register of parent for one of the local variables, 14239 since it will think that parent can't possibly be used any more 14240 in this routine. Assigning to the local variable will thus 14241 munge parent in the parent process. */ 14242 pid_t 14243 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), 14244 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); 14245 /* Convince the compiler that p..p7 are live; otherwise, it might 14246 use the same hardware register for all 8 local variables. */ 14247 if (p != p1 || p != p2 || p != p3 || p != p4 14248 || p != p5 || p != p6 || p != p7) 14249 _exit(1); 14250 14251 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent 14252 from child file descriptors. If the child closes a descriptor 14253 before it execs or exits, this munges the parent's descriptor 14254 as well. Test for this by closing stdout in the child. */ 14255 _exit(close(fileno(stdout)) != 0); 14256 } else { 14257 int status; 14258 struct stat st; 14259 14260 while (wait(&status) != child) 14261 ; 14262 return ( 14263 /* Was there some problem with vforking? */ 14264 child < 0 14265 14266 /* Did the child fail? (This shouldn't happen.) */ 14267 || status 14268 14269 /* Did the vfork/compiler bug occur? */ 14270 || parent != getpid() 14271 14272 /* Did the file descriptor bug occur? */ 14273 || fstat(fileno(stdout), &st) != 0 14274 ); 14275 } 14276} 14277_ACEOF 14278if ac_fn_c_try_run "$LINENO"; then : 14279 ac_cv_func_vfork_works=yes 14280else 14281 ac_cv_func_vfork_works=no 14282fi 14283rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14284 conftest.$ac_objext conftest.beam conftest.$ac_ext 14285fi 14286 14287fi 14288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 14289$as_echo "$ac_cv_func_vfork_works" >&6; } 14290 14291fi; 14292if test "x$ac_cv_func_fork_works" = xcross; then 14293 ac_cv_func_vfork_works=$ac_cv_func_vfork 14294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 14295$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 14296fi 14297 14298if test "x$ac_cv_func_vfork_works" = xyes; then 14299 14300$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h 14301 14302else 14303 14304$as_echo "#define vfork fork" >>confdefs.h 14305 14306fi 14307if test "x$ac_cv_func_fork_works" = xyes; then 14308 14309$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h 14310 14311fi 14312 14313for ac_header in stdlib.h 14314do : 14315 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 14316if test "x$ac_cv_header_stdlib_h" = xyes; then : 14317 cat >>confdefs.h <<_ACEOF 14318#define HAVE_STDLIB_H 1 14319_ACEOF 14320 14321fi 14322 14323done 14324 14325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 14326$as_echo_n "checking for GNU libc compatible malloc... " >&6; } 14327if ${ac_cv_func_malloc_0_nonnull+:} false; then : 14328 $as_echo_n "(cached) " >&6 14329else 14330 if test "$cross_compiling" = yes; then : 14331 ac_cv_func_malloc_0_nonnull=no 14332else 14333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14334/* end confdefs.h. */ 14335#if defined STDC_HEADERS || defined HAVE_STDLIB_H 14336# include <stdlib.h> 14337#else 14338char *malloc (); 14339#endif 14340 14341int 14342main () 14343{ 14344return ! malloc (0); 14345 ; 14346 return 0; 14347} 14348_ACEOF 14349if ac_fn_c_try_run "$LINENO"; then : 14350 ac_cv_func_malloc_0_nonnull=yes 14351else 14352 ac_cv_func_malloc_0_nonnull=no 14353fi 14354rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14355 conftest.$ac_objext conftest.beam conftest.$ac_ext 14356fi 14357 14358fi 14359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 14360$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } 14361if test $ac_cv_func_malloc_0_nonnull = yes; then : 14362 14363$as_echo "#define HAVE_MALLOC 1" >>confdefs.h 14364 14365else 14366 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h 14367 14368 case " $LIBOBJS " in 14369 *" malloc.$ac_objext "* ) ;; 14370 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 14371 ;; 14372esac 14373 14374 14375$as_echo "#define malloc rpl_malloc" >>confdefs.h 14376 14377fi 14378 14379 14380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 14381$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 14382if ${ac_cv_header_time+:} false; then : 14383 $as_echo_n "(cached) " >&6 14384else 14385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14386/* end confdefs.h. */ 14387#include <sys/types.h> 14388#include <sys/time.h> 14389#include <time.h> 14390 14391int 14392main () 14393{ 14394if ((struct tm *) 0) 14395return 0; 14396 ; 14397 return 0; 14398} 14399_ACEOF 14400if ac_fn_c_try_compile "$LINENO"; then : 14401 ac_cv_header_time=yes 14402else 14403 ac_cv_header_time=no 14404fi 14405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14406fi 14407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 14408$as_echo "$ac_cv_header_time" >&6; } 14409if test $ac_cv_header_time = yes; then 14410 14411$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 14412 14413fi 14414 14415 14416 14417 14418 for ac_header in $ac_header_list 14419do : 14420 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14421ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 14422" 14423if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 14424 cat >>confdefs.h <<_ACEOF 14425#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14426_ACEOF 14427 14428fi 14429 14430done 14431 14432 14433 14434 14435 14436 14437 14438 14439 for ac_func in $ac_func_list 14440do : 14441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14442ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14443if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 14444 cat >>confdefs.h <<_ACEOF 14445#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14446_ACEOF 14447 14448fi 14449done 14450 14451 14452 14453 14454 14455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 14456$as_echo_n "checking for working mktime... " >&6; } 14457if ${ac_cv_func_working_mktime+:} false; then : 14458 $as_echo_n "(cached) " >&6 14459else 14460 if test "$cross_compiling" = yes; then : 14461 ac_cv_func_working_mktime=no 14462else 14463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14464/* end confdefs.h. */ 14465/* Test program from Paul Eggert and Tony Leneis. */ 14466#ifdef TIME_WITH_SYS_TIME 14467# include <sys/time.h> 14468# include <time.h> 14469#else 14470# ifdef HAVE_SYS_TIME_H 14471# include <sys/time.h> 14472# else 14473# include <time.h> 14474# endif 14475#endif 14476 14477#include <limits.h> 14478#include <stdlib.h> 14479 14480#ifdef HAVE_UNISTD_H 14481# include <unistd.h> 14482#endif 14483 14484#ifndef HAVE_ALARM 14485# define alarm(X) /* empty */ 14486#endif 14487 14488/* Work around redefinition to rpl_putenv by other config tests. */ 14489#undef putenv 14490 14491static time_t time_t_max; 14492static time_t time_t_min; 14493 14494/* Values we'll use to set the TZ environment variable. */ 14495static const char *tz_strings[] = { 14496 (const char *) 0, "TZ=GMT0", "TZ=JST-9", 14497 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" 14498}; 14499#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) 14500 14501/* Return 0 if mktime fails to convert a date in the spring-forward gap. 14502 Based on a problem report from Andreas Jaeger. */ 14503static int 14504spring_forward_gap () 14505{ 14506 /* glibc (up to about 1998-10-07) failed this test. */ 14507 struct tm tm; 14508 14509 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 14510 instead of "TZ=America/Vancouver" in order to detect the bug even 14511 on systems that don't support the Olson extension, or don't have the 14512 full zoneinfo tables installed. */ 14513 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); 14514 14515 tm.tm_year = 98; 14516 tm.tm_mon = 3; 14517 tm.tm_mday = 5; 14518 tm.tm_hour = 2; 14519 tm.tm_min = 0; 14520 tm.tm_sec = 0; 14521 tm.tm_isdst = -1; 14522 return mktime (&tm) != (time_t) -1; 14523} 14524 14525static int 14526mktime_test1 (time_t now) 14527{ 14528 struct tm *lt; 14529 return ! (lt = localtime (&now)) || mktime (lt) == now; 14530} 14531 14532static int 14533mktime_test (time_t now) 14534{ 14535 return (mktime_test1 (now) 14536 && mktime_test1 ((time_t) (time_t_max - now)) 14537 && mktime_test1 ((time_t) (time_t_min + now))); 14538} 14539 14540static int 14541irix_6_4_bug () 14542{ 14543 /* Based on code from Ariel Faigon. */ 14544 struct tm tm; 14545 tm.tm_year = 96; 14546 tm.tm_mon = 3; 14547 tm.tm_mday = 0; 14548 tm.tm_hour = 0; 14549 tm.tm_min = 0; 14550 tm.tm_sec = 0; 14551 tm.tm_isdst = -1; 14552 mktime (&tm); 14553 return tm.tm_mon == 2 && tm.tm_mday == 31; 14554} 14555 14556static int 14557bigtime_test (int j) 14558{ 14559 struct tm tm; 14560 time_t now; 14561 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; 14562 now = mktime (&tm); 14563 if (now != (time_t) -1) 14564 { 14565 struct tm *lt = localtime (&now); 14566 if (! (lt 14567 && lt->tm_year == tm.tm_year 14568 && lt->tm_mon == tm.tm_mon 14569 && lt->tm_mday == tm.tm_mday 14570 && lt->tm_hour == tm.tm_hour 14571 && lt->tm_min == tm.tm_min 14572 && lt->tm_sec == tm.tm_sec 14573 && lt->tm_yday == tm.tm_yday 14574 && lt->tm_wday == tm.tm_wday 14575 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) 14576 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) 14577 return 0; 14578 } 14579 return 1; 14580} 14581 14582static int 14583year_2050_test () 14584{ 14585 /* The correct answer for 2050-02-01 00:00:00 in Pacific time, 14586 ignoring leap seconds. */ 14587 unsigned long int answer = 2527315200UL; 14588 14589 struct tm tm; 14590 time_t t; 14591 tm.tm_year = 2050 - 1900; 14592 tm.tm_mon = 2 - 1; 14593 tm.tm_mday = 1; 14594 tm.tm_hour = tm.tm_min = tm.tm_sec = 0; 14595 tm.tm_isdst = -1; 14596 14597 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 14598 instead of "TZ=America/Vancouver" in order to detect the bug even 14599 on systems that don't support the Olson extension, or don't have the 14600 full zoneinfo tables installed. */ 14601 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); 14602 14603 t = mktime (&tm); 14604 14605 /* Check that the result is either a failure, or close enough 14606 to the correct answer that we can assume the discrepancy is 14607 due to leap seconds. */ 14608 return (t == (time_t) -1 14609 || (0 < t && answer - 120 <= t && t <= answer + 120)); 14610} 14611 14612int 14613main () 14614{ 14615 time_t t, delta; 14616 int i, j; 14617 14618 /* This test makes some buggy mktime implementations loop. 14619 Give up after 60 seconds; a mktime slower than that 14620 isn't worth using anyway. */ 14621 alarm (60); 14622 14623 for (;;) 14624 { 14625 t = (time_t_max << 1) + 1; 14626 if (t <= time_t_max) 14627 break; 14628 time_t_max = t; 14629 } 14630 time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max; 14631 14632 delta = time_t_max / 997; /* a suitable prime number */ 14633 for (i = 0; i < N_STRINGS; i++) 14634 { 14635 if (tz_strings[i]) 14636 putenv ((char*) tz_strings[i]); 14637 14638 for (t = 0; t <= time_t_max - delta; t += delta) 14639 if (! mktime_test (t)) 14640 return 1; 14641 if (! (mktime_test ((time_t) 1) 14642 && mktime_test ((time_t) (60 * 60)) 14643 && mktime_test ((time_t) (60 * 60 * 24)))) 14644 return 1; 14645 14646 for (j = 1; ; j <<= 1) 14647 if (! bigtime_test (j)) 14648 return 1; 14649 else if (INT_MAX / 2 < j) 14650 break; 14651 if (! bigtime_test (INT_MAX)) 14652 return 1; 14653 } 14654 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); 14655} 14656_ACEOF 14657if ac_fn_c_try_run "$LINENO"; then : 14658 ac_cv_func_working_mktime=yes 14659else 14660 ac_cv_func_working_mktime=no 14661fi 14662rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14663 conftest.$ac_objext conftest.beam conftest.$ac_ext 14664fi 14665 14666fi 14667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5 14668$as_echo "$ac_cv_func_working_mktime" >&6; } 14669if test $ac_cv_func_working_mktime = no; then 14670 case " $LIBOBJS " in 14671 *" mktime.$ac_objext "* ) ;; 14672 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" 14673 ;; 14674esac 14675 14676fi 14677 14678 14679 14680 14681 14682 14683for ac_func in getpagesize 14684do : 14685 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 14686if test "x$ac_cv_func_getpagesize" = xyes; then : 14687 cat >>confdefs.h <<_ACEOF 14688#define HAVE_GETPAGESIZE 1 14689_ACEOF 14690 14691fi 14692done 14693 14694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 14695$as_echo_n "checking for working mmap... " >&6; } 14696if ${ac_cv_func_mmap_fixed_mapped+:} false; then : 14697 $as_echo_n "(cached) " >&6 14698else 14699 if test "$cross_compiling" = yes; then : 14700 ac_cv_func_mmap_fixed_mapped=no 14701else 14702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14703/* end confdefs.h. */ 14704$ac_includes_default 14705/* malloc might have been renamed as rpl_malloc. */ 14706#undef malloc 14707 14708/* Thanks to Mike Haertel and Jim Avera for this test. 14709 Here is a matrix of mmap possibilities: 14710 mmap private not fixed 14711 mmap private fixed at somewhere currently unmapped 14712 mmap private fixed at somewhere already mapped 14713 mmap shared not fixed 14714 mmap shared fixed at somewhere currently unmapped 14715 mmap shared fixed at somewhere already mapped 14716 For private mappings, we should verify that changes cannot be read() 14717 back from the file, nor mmap's back from the file at a different 14718 address. (There have been systems where private was not correctly 14719 implemented like the infamous i386 svr4.0, and systems where the 14720 VM page cache was not coherent with the file system buffer cache 14721 like early versions of FreeBSD and possibly contemporary NetBSD.) 14722 For shared mappings, we should conversely verify that changes get 14723 propagated back to all the places they're supposed to be. 14724 14725 Grep wants private fixed already mapped. 14726 The main things grep needs to know about mmap are: 14727 * does it exist and is it safe to write into the mmap'd area 14728 * how to use it (BSD variants) */ 14729 14730#include <fcntl.h> 14731#include <sys/mman.h> 14732 14733#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H 14734char *malloc (); 14735#endif 14736 14737/* This mess was copied from the GNU getpagesize.h. */ 14738#ifndef HAVE_GETPAGESIZE 14739# ifdef _SC_PAGESIZE 14740# define getpagesize() sysconf(_SC_PAGESIZE) 14741# else /* no _SC_PAGESIZE */ 14742# ifdef HAVE_SYS_PARAM_H 14743# include <sys/param.h> 14744# ifdef EXEC_PAGESIZE 14745# define getpagesize() EXEC_PAGESIZE 14746# else /* no EXEC_PAGESIZE */ 14747# ifdef NBPG 14748# define getpagesize() NBPG * CLSIZE 14749# ifndef CLSIZE 14750# define CLSIZE 1 14751# endif /* no CLSIZE */ 14752# else /* no NBPG */ 14753# ifdef NBPC 14754# define getpagesize() NBPC 14755# else /* no NBPC */ 14756# ifdef PAGESIZE 14757# define getpagesize() PAGESIZE 14758# endif /* PAGESIZE */ 14759# endif /* no NBPC */ 14760# endif /* no NBPG */ 14761# endif /* no EXEC_PAGESIZE */ 14762# else /* no HAVE_SYS_PARAM_H */ 14763# define getpagesize() 8192 /* punt totally */ 14764# endif /* no HAVE_SYS_PARAM_H */ 14765# endif /* no _SC_PAGESIZE */ 14766 14767#endif /* no HAVE_GETPAGESIZE */ 14768 14769int 14770main () 14771{ 14772 char *data, *data2, *data3; 14773 const char *cdata2; 14774 int i, pagesize; 14775 int fd, fd2; 14776 14777 pagesize = getpagesize (); 14778 14779 /* First, make a file with some known garbage in it. */ 14780 data = (char *) malloc (pagesize); 14781 if (!data) 14782 return 1; 14783 for (i = 0; i < pagesize; ++i) 14784 *(data + i) = rand (); 14785 umask (0); 14786 fd = creat ("conftest.mmap", 0600); 14787 if (fd < 0) 14788 return 2; 14789 if (write (fd, data, pagesize) != pagesize) 14790 return 3; 14791 close (fd); 14792 14793 /* Next, check that the tail of a page is zero-filled. File must have 14794 non-zero length, otherwise we risk SIGBUS for entire page. */ 14795 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); 14796 if (fd2 < 0) 14797 return 4; 14798 cdata2 = ""; 14799 if (write (fd2, cdata2, 1) != 1) 14800 return 5; 14801 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); 14802 if (data2 == MAP_FAILED) 14803 return 6; 14804 for (i = 0; i < pagesize; ++i) 14805 if (*(data2 + i)) 14806 return 7; 14807 close (fd2); 14808 if (munmap (data2, pagesize)) 14809 return 8; 14810 14811 /* Next, try to mmap the file at a fixed address which already has 14812 something else allocated at it. If we can, also make sure that 14813 we see the same garbage. */ 14814 fd = open ("conftest.mmap", O_RDWR); 14815 if (fd < 0) 14816 return 9; 14817 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 14818 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 14819 return 10; 14820 for (i = 0; i < pagesize; ++i) 14821 if (*(data + i) != *(data2 + i)) 14822 return 11; 14823 14824 /* Finally, make sure that changes to the mapped area do not 14825 percolate back to the file as seen by read(). (This is a bug on 14826 some variants of i386 svr4.0.) */ 14827 for (i = 0; i < pagesize; ++i) 14828 *(data2 + i) = *(data2 + i) + 1; 14829 data3 = (char *) malloc (pagesize); 14830 if (!data3) 14831 return 12; 14832 if (read (fd, data3, pagesize) != pagesize) 14833 return 13; 14834 for (i = 0; i < pagesize; ++i) 14835 if (*(data + i) != *(data3 + i)) 14836 return 14; 14837 close (fd); 14838 return 0; 14839} 14840_ACEOF 14841if ac_fn_c_try_run "$LINENO"; then : 14842 ac_cv_func_mmap_fixed_mapped=yes 14843else 14844 ac_cv_func_mmap_fixed_mapped=no 14845fi 14846rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14847 conftest.$ac_objext conftest.beam conftest.$ac_ext 14848fi 14849 14850fi 14851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 14852$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } 14853if test $ac_cv_func_mmap_fixed_mapped = yes; then 14854 14855$as_echo "#define HAVE_MMAP 1" >>confdefs.h 14856 14857fi 14858rm -f conftest.mmap conftest.txt 14859 14860for ac_header in stdlib.h 14861do : 14862 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 14863if test "x$ac_cv_header_stdlib_h" = xyes; then : 14864 cat >>confdefs.h <<_ACEOF 14865#define HAVE_STDLIB_H 1 14866_ACEOF 14867 14868fi 14869 14870done 14871 14872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 14873$as_echo_n "checking for GNU libc compatible realloc... " >&6; } 14874if ${ac_cv_func_realloc_0_nonnull+:} false; then : 14875 $as_echo_n "(cached) " >&6 14876else 14877 if test "$cross_compiling" = yes; then : 14878 ac_cv_func_realloc_0_nonnull=no 14879else 14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14881/* end confdefs.h. */ 14882#if defined STDC_HEADERS || defined HAVE_STDLIB_H 14883# include <stdlib.h> 14884#else 14885char *realloc (); 14886#endif 14887 14888int 14889main () 14890{ 14891return ! realloc (0, 0); 14892 ; 14893 return 0; 14894} 14895_ACEOF 14896if ac_fn_c_try_run "$LINENO"; then : 14897 ac_cv_func_realloc_0_nonnull=yes 14898else 14899 ac_cv_func_realloc_0_nonnull=no 14900fi 14901rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14902 conftest.$ac_objext conftest.beam conftest.$ac_ext 14903fi 14904 14905fi 14906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 14907$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } 14908if test $ac_cv_func_realloc_0_nonnull = yes; then : 14909 14910$as_echo "#define HAVE_REALLOC 1" >>confdefs.h 14911 14912else 14913 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h 14914 14915 case " $LIBOBJS " in 14916 *" realloc.$ac_objext "* ) ;; 14917 *) LIBOBJS="$LIBOBJS realloc.$ac_objext" 14918 ;; 14919esac 14920 14921 14922$as_echo "#define realloc rpl_realloc" >>confdefs.h 14923 14924fi 14925 14926 14927ac_ext=cpp 14928ac_cpp='$CXXCPP $CPPFLAGS' 14929ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14930ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14931ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14932if test -z "$CXX"; then 14933 if test -n "$CCC"; then 14934 CXX=$CCC 14935 else 14936 if test -n "$ac_tool_prefix"; then 14937 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 14938 do 14939 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 14940set dummy $ac_tool_prefix$ac_prog; ac_word=$2 14941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14942$as_echo_n "checking for $ac_word... " >&6; } 14943if ${ac_cv_prog_CXX+:} false; then : 14944 $as_echo_n "(cached) " >&6 14945else 14946 if test -n "$CXX"; then 14947 ac_cv_prog_CXX="$CXX" # Let the user override the test. 14948else 14949as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14950for as_dir in $PATH 14951do 14952 IFS=$as_save_IFS 14953 test -z "$as_dir" && as_dir=. 14954 for ac_exec_ext in '' $ac_executable_extensions; do 14955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14956 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 14957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14958 break 2 14959 fi 14960done 14961 done 14962IFS=$as_save_IFS 14963 14964fi 14965fi 14966CXX=$ac_cv_prog_CXX 14967if test -n "$CXX"; then 14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 14969$as_echo "$CXX" >&6; } 14970else 14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14972$as_echo "no" >&6; } 14973fi 14974 14975 14976 test -n "$CXX" && break 14977 done 14978fi 14979if test -z "$CXX"; then 14980 ac_ct_CXX=$CXX 14981 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 14982do 14983 # Extract the first word of "$ac_prog", so it can be a program name with args. 14984set dummy $ac_prog; ac_word=$2 14985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14986$as_echo_n "checking for $ac_word... " >&6; } 14987if ${ac_cv_prog_ac_ct_CXX+:} false; then : 14988 $as_echo_n "(cached) " >&6 14989else 14990 if test -n "$ac_ct_CXX"; then 14991 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 14992else 14993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14994for as_dir in $PATH 14995do 14996 IFS=$as_save_IFS 14997 test -z "$as_dir" && as_dir=. 14998 for ac_exec_ext in '' $ac_executable_extensions; do 14999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15000 ac_cv_prog_ac_ct_CXX="$ac_prog" 15001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15002 break 2 15003 fi 15004done 15005 done 15006IFS=$as_save_IFS 15007 15008fi 15009fi 15010ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 15011if test -n "$ac_ct_CXX"; then 15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 15013$as_echo "$ac_ct_CXX" >&6; } 15014else 15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15016$as_echo "no" >&6; } 15017fi 15018 15019 15020 test -n "$ac_ct_CXX" && break 15021done 15022 15023 if test "x$ac_ct_CXX" = x; then 15024 CXX="g++" 15025 else 15026 case $cross_compiling:$ac_tool_warned in 15027yes:) 15028{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15029$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15030ac_tool_warned=yes ;; 15031esac 15032 CXX=$ac_ct_CXX 15033 fi 15034fi 15035 15036 fi 15037fi 15038# Provide some information about the compiler. 15039$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 15040set X $ac_compile 15041ac_compiler=$2 15042for ac_option in --version -v -V -qversion; do 15043 { { ac_try="$ac_compiler $ac_option >&5" 15044case "(($ac_try" in 15045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15046 *) ac_try_echo=$ac_try;; 15047esac 15048eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15049$as_echo "$ac_try_echo"; } >&5 15050 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 15051 ac_status=$? 15052 if test -s conftest.err; then 15053 sed '10a\ 15054... rest of stderr output deleted ... 15055 10q' conftest.err >conftest.er1 15056 cat conftest.er1 >&5 15057 fi 15058 rm -f conftest.er1 conftest.err 15059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15060 test $ac_status = 0; } 15061done 15062 15063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 15064$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 15065if ${ac_cv_cxx_compiler_gnu+:} false; then : 15066 $as_echo_n "(cached) " >&6 15067else 15068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15069/* end confdefs.h. */ 15070 15071int 15072main () 15073{ 15074#ifndef __GNUC__ 15075 choke me 15076#endif 15077 15078 ; 15079 return 0; 15080} 15081_ACEOF 15082if ac_fn_cxx_try_compile "$LINENO"; then : 15083 ac_compiler_gnu=yes 15084else 15085 ac_compiler_gnu=no 15086fi 15087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15088ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 15089 15090fi 15091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 15092$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 15093if test $ac_compiler_gnu = yes; then 15094 GXX=yes 15095else 15096 GXX= 15097fi 15098ac_test_CXXFLAGS=${CXXFLAGS+set} 15099ac_save_CXXFLAGS=$CXXFLAGS 15100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 15101$as_echo_n "checking whether $CXX accepts -g... " >&6; } 15102if ${ac_cv_prog_cxx_g+:} false; then : 15103 $as_echo_n "(cached) " >&6 15104else 15105 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 15106 ac_cxx_werror_flag=yes 15107 ac_cv_prog_cxx_g=no 15108 CXXFLAGS="-g" 15109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15110/* end confdefs.h. */ 15111 15112int 15113main () 15114{ 15115 15116 ; 15117 return 0; 15118} 15119_ACEOF 15120if ac_fn_cxx_try_compile "$LINENO"; then : 15121 ac_cv_prog_cxx_g=yes 15122else 15123 CXXFLAGS="" 15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15125/* end confdefs.h. */ 15126 15127int 15128main () 15129{ 15130 15131 ; 15132 return 0; 15133} 15134_ACEOF 15135if ac_fn_cxx_try_compile "$LINENO"; then : 15136 15137else 15138 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 15139 CXXFLAGS="-g" 15140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15141/* end confdefs.h. */ 15142 15143int 15144main () 15145{ 15146 15147 ; 15148 return 0; 15149} 15150_ACEOF 15151if ac_fn_cxx_try_compile "$LINENO"; then : 15152 ac_cv_prog_cxx_g=yes 15153fi 15154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15155fi 15156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15157fi 15158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15159 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 15160fi 15161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 15162$as_echo "$ac_cv_prog_cxx_g" >&6; } 15163if test "$ac_test_CXXFLAGS" = set; then 15164 CXXFLAGS=$ac_save_CXXFLAGS 15165elif test $ac_cv_prog_cxx_g = yes; then 15166 if test "$GXX" = yes; then 15167 CXXFLAGS="-g -O2" 15168 else 15169 CXXFLAGS="-g" 15170 fi 15171else 15172 if test "$GXX" = yes; then 15173 CXXFLAGS="-O2" 15174 else 15175 CXXFLAGS= 15176 fi 15177fi 15178ac_ext=c 15179ac_cpp='$CPP $CPPFLAGS' 15180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15182ac_compiler_gnu=$ac_cv_c_compiler_gnu 15183 15184depcc="$CXX" am_compiler_list= 15185 15186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 15187$as_echo_n "checking dependency style of $depcc... " >&6; } 15188if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 15189 $as_echo_n "(cached) " >&6 15190else 15191 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 15192 # We make a subdir and do the tests there. Otherwise we can end up 15193 # making bogus files that we don't know about and never remove. For 15194 # instance it was reported that on HP-UX the gcc test will end up 15195 # making a dummy file named 'D' -- because '-MD' means "put the output 15196 # in D". 15197 rm -rf conftest.dir 15198 mkdir conftest.dir 15199 # Copy depcomp to subdir because otherwise we won't find it if we're 15200 # using a relative directory. 15201 cp "$am_depcomp" conftest.dir 15202 cd conftest.dir 15203 # We will build objects and dependencies in a subdirectory because 15204 # it helps to detect inapplicable dependency modes. For instance 15205 # both Tru64's cc and ICC support -MD to output dependencies as a 15206 # side effect of compilation, but ICC will put the dependencies in 15207 # the current directory while Tru64 will put them in the object 15208 # directory. 15209 mkdir sub 15210 15211 am_cv_CXX_dependencies_compiler_type=none 15212 if test "$am_compiler_list" = ""; then 15213 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 15214 fi 15215 am__universal=false 15216 case " $depcc " in #( 15217 *\ -arch\ *\ -arch\ *) am__universal=true ;; 15218 esac 15219 15220 for depmode in $am_compiler_list; do 15221 # Setup a source with many dependencies, because some compilers 15222 # like to wrap large dependency lists on column 80 (with \), and 15223 # we should not choose a depcomp mode which is confused by this. 15224 # 15225 # We need to recreate these files for each test, as the compiler may 15226 # overwrite some of them when testing with obscure command lines. 15227 # This happens at least with the AIX C compiler. 15228 : > sub/conftest.c 15229 for i in 1 2 3 4 5 6; do 15230 echo '#include "conftst'$i'.h"' >> sub/conftest.c 15231 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 15232 # Solaris 10 /bin/sh. 15233 echo '/* dummy */' > sub/conftst$i.h 15234 done 15235 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 15236 15237 # We check with '-c' and '-o' for the sake of the "dashmstdout" 15238 # mode. It turns out that the SunPro C++ compiler does not properly 15239 # handle '-M -o', and we need to detect this. Also, some Intel 15240 # versions had trouble with output in subdirs. 15241 am__obj=sub/conftest.${OBJEXT-o} 15242 am__minus_obj="-o $am__obj" 15243 case $depmode in 15244 gcc) 15245 # This depmode causes a compiler race in universal mode. 15246 test "$am__universal" = false || continue 15247 ;; 15248 nosideeffect) 15249 # After this tag, mechanisms are not by side-effect, so they'll 15250 # only be used when explicitly requested. 15251 if test "x$enable_dependency_tracking" = xyes; then 15252 continue 15253 else 15254 break 15255 fi 15256 ;; 15257 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 15258 # This compiler won't grok '-c -o', but also, the minuso test has 15259 # not run yet. These depmodes are late enough in the game, and 15260 # so weak that their functioning should not be impacted. 15261 am__obj=conftest.${OBJEXT-o} 15262 am__minus_obj= 15263 ;; 15264 none) break ;; 15265 esac 15266 if depmode=$depmode \ 15267 source=sub/conftest.c object=$am__obj \ 15268 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 15269 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 15270 >/dev/null 2>conftest.err && 15271 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 15272 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 15273 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 15274 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 15275 # icc doesn't choke on unknown options, it will just issue warnings 15276 # or remarks (even with -Werror). So we grep stderr for any message 15277 # that says an option was ignored or not supported. 15278 # When given -MP, icc 7.0 and 7.1 complain thusly: 15279 # icc: Command line warning: ignoring option '-M'; no argument required 15280 # The diagnosis changed in icc 8.0: 15281 # icc: Command line remark: option '-MP' not supported 15282 if (grep 'ignoring option' conftest.err || 15283 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 15284 am_cv_CXX_dependencies_compiler_type=$depmode 15285 break 15286 fi 15287 fi 15288 done 15289 15290 cd .. 15291 rm -rf conftest.dir 15292else 15293 am_cv_CXX_dependencies_compiler_type=none 15294fi 15295 15296fi 15297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 15298$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 15299CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 15300 15301 if 15302 test "x$enable_dependency_tracking" != xno \ 15303 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 15304 am__fastdepCXX_TRUE= 15305 am__fastdepCXX_FALSE='#' 15306else 15307 am__fastdepCXX_TRUE='#' 15308 am__fastdepCXX_FALSE= 15309fi 15310 15311 15312 15313 15314func_stripname_cnf () 15315{ 15316 case ${2} in 15317 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 15318 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 15319 esac 15320} # func_stripname_cnf 15321 15322 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 15323 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 15324 (test "X$CXX" != "Xg++"))) ; then 15325 ac_ext=cpp 15326ac_cpp='$CXXCPP $CPPFLAGS' 15327ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15328ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15329ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 15330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 15331$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 15332if test -z "$CXXCPP"; then 15333 if ${ac_cv_prog_CXXCPP+:} false; then : 15334 $as_echo_n "(cached) " >&6 15335else 15336 # Double quotes because CXXCPP needs to be expanded 15337 for CXXCPP in "$CXX -E" "/lib/cpp" 15338 do 15339 ac_preproc_ok=false 15340for ac_cxx_preproc_warn_flag in '' yes 15341do 15342 # Use a header file that comes with gcc, so configuring glibc 15343 # with a fresh cross-compiler works. 15344 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15345 # <limits.h> exists even on freestanding compilers. 15346 # On the NeXT, cc -E runs the code through the compiler's parser, 15347 # not just through cpp. "Syntax error" is here to catch this case. 15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15349/* end confdefs.h. */ 15350#ifdef __STDC__ 15351# include <limits.h> 15352#else 15353# include <assert.h> 15354#endif 15355 Syntax error 15356_ACEOF 15357if ac_fn_cxx_try_cpp "$LINENO"; then : 15358 15359else 15360 # Broken: fails on valid input. 15361continue 15362fi 15363rm -f conftest.err conftest.i conftest.$ac_ext 15364 15365 # OK, works on sane cases. Now check whether nonexistent headers 15366 # can be detected and how. 15367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15368/* end confdefs.h. */ 15369#include <ac_nonexistent.h> 15370_ACEOF 15371if ac_fn_cxx_try_cpp "$LINENO"; then : 15372 # Broken: success on invalid input. 15373continue 15374else 15375 # Passes both tests. 15376ac_preproc_ok=: 15377break 15378fi 15379rm -f conftest.err conftest.i conftest.$ac_ext 15380 15381done 15382# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 15383rm -f conftest.i conftest.err conftest.$ac_ext 15384if $ac_preproc_ok; then : 15385 break 15386fi 15387 15388 done 15389 ac_cv_prog_CXXCPP=$CXXCPP 15390 15391fi 15392 CXXCPP=$ac_cv_prog_CXXCPP 15393else 15394 ac_cv_prog_CXXCPP=$CXXCPP 15395fi 15396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 15397$as_echo "$CXXCPP" >&6; } 15398ac_preproc_ok=false 15399for ac_cxx_preproc_warn_flag in '' yes 15400do 15401 # Use a header file that comes with gcc, so configuring glibc 15402 # with a fresh cross-compiler works. 15403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15404 # <limits.h> exists even on freestanding compilers. 15405 # On the NeXT, cc -E runs the code through the compiler's parser, 15406 # not just through cpp. "Syntax error" is here to catch this case. 15407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15408/* end confdefs.h. */ 15409#ifdef __STDC__ 15410# include <limits.h> 15411#else 15412# include <assert.h> 15413#endif 15414 Syntax error 15415_ACEOF 15416if ac_fn_cxx_try_cpp "$LINENO"; then : 15417 15418else 15419 # Broken: fails on valid input. 15420continue 15421fi 15422rm -f conftest.err conftest.i conftest.$ac_ext 15423 15424 # OK, works on sane cases. Now check whether nonexistent headers 15425 # can be detected and how. 15426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15427/* end confdefs.h. */ 15428#include <ac_nonexistent.h> 15429_ACEOF 15430if ac_fn_cxx_try_cpp "$LINENO"; then : 15431 # Broken: success on invalid input. 15432continue 15433else 15434 # Passes both tests. 15435ac_preproc_ok=: 15436break 15437fi 15438rm -f conftest.err conftest.i conftest.$ac_ext 15439 15440done 15441# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 15442rm -f conftest.i conftest.err conftest.$ac_ext 15443if $ac_preproc_ok; then : 15444 15445else 15446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15447$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15448as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 15449See \`config.log' for more details" "$LINENO" 5; } 15450fi 15451 15452ac_ext=c 15453ac_cpp='$CPP $CPPFLAGS' 15454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15456ac_compiler_gnu=$ac_cv_c_compiler_gnu 15457 15458else 15459 _lt_caught_CXX_error=yes 15460fi 15461 15462ac_ext=cpp 15463ac_cpp='$CXXCPP $CPPFLAGS' 15464ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15465ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15466ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 15467 15468archive_cmds_need_lc_CXX=no 15469allow_undefined_flag_CXX= 15470always_export_symbols_CXX=no 15471archive_expsym_cmds_CXX= 15472compiler_needs_object_CXX=no 15473export_dynamic_flag_spec_CXX= 15474hardcode_direct_CXX=no 15475hardcode_direct_absolute_CXX=no 15476hardcode_libdir_flag_spec_CXX= 15477hardcode_libdir_separator_CXX= 15478hardcode_minus_L_CXX=no 15479hardcode_shlibpath_var_CXX=unsupported 15480hardcode_automatic_CXX=no 15481inherit_rpath_CXX=no 15482module_cmds_CXX= 15483module_expsym_cmds_CXX= 15484link_all_deplibs_CXX=unknown 15485old_archive_cmds_CXX=$old_archive_cmds 15486reload_flag_CXX=$reload_flag 15487reload_cmds_CXX=$reload_cmds 15488no_undefined_flag_CXX= 15489whole_archive_flag_spec_CXX= 15490enable_shared_with_static_runtimes_CXX=no 15491 15492# Source file extension for C++ test sources. 15493ac_ext=cpp 15494 15495# Object file extension for compiled C++ test sources. 15496objext=o 15497objext_CXX=$objext 15498 15499# No sense in running all these tests if we already determined that 15500# the CXX compiler isn't working. Some variables (like enable_shared) 15501# are currently assumed to apply to all compilers on this platform, 15502# and will be corrupted by setting them based on a non-working compiler. 15503if test "$_lt_caught_CXX_error" != yes; then 15504 # Code to be used in simple compile tests 15505 lt_simple_compile_test_code="int some_variable = 0;" 15506 15507 # Code to be used in simple link tests 15508 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 15509 15510 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 15511 15512 15513 15514 15515 15516 15517# If no C compiler was specified, use CC. 15518LTCC=${LTCC-"$CC"} 15519 15520# If no C compiler flags were specified, use CFLAGS. 15521LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 15522 15523# Allow CC to be a program name with arguments. 15524compiler=$CC 15525 15526 15527 # save warnings/boilerplate of simple test code 15528 ac_outfile=conftest.$ac_objext 15529echo "$lt_simple_compile_test_code" >conftest.$ac_ext 15530eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 15531_lt_compiler_boilerplate=`cat conftest.err` 15532$RM conftest* 15533 15534 ac_outfile=conftest.$ac_objext 15535echo "$lt_simple_link_test_code" >conftest.$ac_ext 15536eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 15537_lt_linker_boilerplate=`cat conftest.err` 15538$RM -r conftest* 15539 15540 15541 # Allow CC to be a program name with arguments. 15542 lt_save_CC=$CC 15543 lt_save_CFLAGS=$CFLAGS 15544 lt_save_LD=$LD 15545 lt_save_GCC=$GCC 15546 GCC=$GXX 15547 lt_save_with_gnu_ld=$with_gnu_ld 15548 lt_save_path_LD=$lt_cv_path_LD 15549 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 15550 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 15551 else 15552 $as_unset lt_cv_prog_gnu_ld 15553 fi 15554 if test -n "${lt_cv_path_LDCXX+set}"; then 15555 lt_cv_path_LD=$lt_cv_path_LDCXX 15556 else 15557 $as_unset lt_cv_path_LD 15558 fi 15559 test -z "${LDCXX+set}" || LD=$LDCXX 15560 CC=${CXX-"c++"} 15561 CFLAGS=$CXXFLAGS 15562 compiler=$CC 15563 compiler_CXX=$CC 15564 for cc_temp in $compiler""; do 15565 case $cc_temp in 15566 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 15567 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 15568 \-*) ;; 15569 *) break;; 15570 esac 15571done 15572cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 15573 15574 15575 if test -n "$compiler"; then 15576 # We don't want -fno-exception when compiling C++ code, so set the 15577 # no_builtin_flag separately 15578 if test "$GXX" = yes; then 15579 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 15580 else 15581 lt_prog_compiler_no_builtin_flag_CXX= 15582 fi 15583 15584 if test "$GXX" = yes; then 15585 # Set up default GNU C++ configuration 15586 15587 15588 15589# Check whether --with-gnu-ld was given. 15590if test "${with_gnu_ld+set}" = set; then : 15591 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 15592else 15593 with_gnu_ld=no 15594fi 15595 15596ac_prog=ld 15597if test "$GCC" = yes; then 15598 # Check if gcc -print-prog-name=ld gives a path. 15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 15600$as_echo_n "checking for ld used by $CC... " >&6; } 15601 case $host in 15602 *-*-mingw*) 15603 # gcc leaves a trailing carriage return which upsets mingw 15604 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 15605 *) 15606 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 15607 esac 15608 case $ac_prog in 15609 # Accept absolute paths. 15610 [\\/]* | ?:[\\/]*) 15611 re_direlt='/[^/][^/]*/\.\./' 15612 # Canonicalize the pathname of ld 15613 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 15614 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 15615 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 15616 done 15617 test -z "$LD" && LD="$ac_prog" 15618 ;; 15619 "") 15620 # If it fails, then pretend we aren't using GCC. 15621 ac_prog=ld 15622 ;; 15623 *) 15624 # If it is relative, then search for the first ld in PATH. 15625 with_gnu_ld=unknown 15626 ;; 15627 esac 15628elif test "$with_gnu_ld" = yes; then 15629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 15630$as_echo_n "checking for GNU ld... " >&6; } 15631else 15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 15633$as_echo_n "checking for non-GNU ld... " >&6; } 15634fi 15635if ${lt_cv_path_LD+:} false; then : 15636 $as_echo_n "(cached) " >&6 15637else 15638 if test -z "$LD"; then 15639 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 15640 for ac_dir in $PATH; do 15641 IFS="$lt_save_ifs" 15642 test -z "$ac_dir" && ac_dir=. 15643 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 15644 lt_cv_path_LD="$ac_dir/$ac_prog" 15645 # Check to see if the program is GNU ld. I'd rather use --version, 15646 # but apparently some variants of GNU ld only accept -v. 15647 # Break only if it was the GNU/non-GNU ld that we prefer. 15648 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 15649 *GNU* | *'with BFD'*) 15650 test "$with_gnu_ld" != no && break 15651 ;; 15652 *) 15653 test "$with_gnu_ld" != yes && break 15654 ;; 15655 esac 15656 fi 15657 done 15658 IFS="$lt_save_ifs" 15659else 15660 lt_cv_path_LD="$LD" # Let the user override the test with a path. 15661fi 15662fi 15663 15664LD="$lt_cv_path_LD" 15665if test -n "$LD"; then 15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 15667$as_echo "$LD" >&6; } 15668else 15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15670$as_echo "no" >&6; } 15671fi 15672test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 15673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 15674$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 15675if ${lt_cv_prog_gnu_ld+:} false; then : 15676 $as_echo_n "(cached) " >&6 15677else 15678 # I'd rather use --version here, but apparently some GNU lds only accept -v. 15679case `$LD -v 2>&1 </dev/null` in 15680*GNU* | *'with BFD'*) 15681 lt_cv_prog_gnu_ld=yes 15682 ;; 15683*) 15684 lt_cv_prog_gnu_ld=no 15685 ;; 15686esac 15687fi 15688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 15689$as_echo "$lt_cv_prog_gnu_ld" >&6; } 15690with_gnu_ld=$lt_cv_prog_gnu_ld 15691 15692 15693 15694 15695 15696 15697 15698 # Check if GNU C++ uses GNU ld as the underlying linker, since the 15699 # archiving commands below assume that GNU ld is being used. 15700 if test "$with_gnu_ld" = yes; then 15701 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 15702 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 15703 15704 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 15705 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 15706 15707 # If archive_cmds runs LD, not CC, wlarc should be empty 15708 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 15709 # investigate it a little bit more. (MM) 15710 wlarc='${wl}' 15711 15712 # ancient GNU ld didn't support --whole-archive et. al. 15713 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 15714 $GREP 'no-whole-archive' > /dev/null; then 15715 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 15716 else 15717 whole_archive_flag_spec_CXX= 15718 fi 15719 else 15720 with_gnu_ld=no 15721 wlarc= 15722 15723 # A generic and very simple default shared library creation 15724 # command for GNU C++ for the case where it uses the native 15725 # linker, instead of GNU ld. If possible, this setting should 15726 # overridden to take advantage of the native linker features on 15727 # the platform it is being used on. 15728 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 15729 fi 15730 15731 # Commands to make compiler produce verbose output that lists 15732 # what "hidden" libraries, object files and flags are used when 15733 # linking a shared library. 15734 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15735 15736 else 15737 GXX=no 15738 with_gnu_ld=no 15739 wlarc= 15740 fi 15741 15742 # PORTME: fill in a description of your system's C++ link characteristics 15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15744$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15745 ld_shlibs_CXX=yes 15746 case $host_os in 15747 aix3*) 15748 # FIXME: insert proper C++ library support 15749 ld_shlibs_CXX=no 15750 ;; 15751 aix[4-9]*) 15752 if test "$host_cpu" = ia64; then 15753 # On IA64, the linker does run time linking by default, so we don't 15754 # have to do anything special. 15755 aix_use_runtimelinking=no 15756 exp_sym_flag='-Bexport' 15757 no_entry_flag="" 15758 else 15759 aix_use_runtimelinking=no 15760 15761 # Test if we are trying to use run time linking or normal 15762 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 15763 # need to do runtime linking. 15764 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 15765 for ld_flag in $LDFLAGS; do 15766 case $ld_flag in 15767 *-brtl*) 15768 aix_use_runtimelinking=yes 15769 break 15770 ;; 15771 esac 15772 done 15773 ;; 15774 esac 15775 15776 exp_sym_flag='-bexport' 15777 no_entry_flag='-bnoentry' 15778 fi 15779 15780 # When large executables or shared objects are built, AIX ld can 15781 # have problems creating the table of contents. If linking a library 15782 # or program results in "error TOC overflow" add -mminimal-toc to 15783 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 15784 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 15785 15786 archive_cmds_CXX='' 15787 hardcode_direct_CXX=yes 15788 hardcode_direct_absolute_CXX=yes 15789 hardcode_libdir_separator_CXX=':' 15790 link_all_deplibs_CXX=yes 15791 file_list_spec_CXX='${wl}-f,' 15792 15793 if test "$GXX" = yes; then 15794 case $host_os in aix4.[012]|aix4.[012].*) 15795 # We only want to do this on AIX 4.2 and lower, the check 15796 # below for broken collect2 doesn't work under 4.3+ 15797 collect2name=`${CC} -print-prog-name=collect2` 15798 if test -f "$collect2name" && 15799 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 15800 then 15801 # We have reworked collect2 15802 : 15803 else 15804 # We have old collect2 15805 hardcode_direct_CXX=unsupported 15806 # It fails to find uninstalled libraries when the uninstalled 15807 # path is not listed in the libpath. Setting hardcode_minus_L 15808 # to unsupported forces relinking 15809 hardcode_minus_L_CXX=yes 15810 hardcode_libdir_flag_spec_CXX='-L$libdir' 15811 hardcode_libdir_separator_CXX= 15812 fi 15813 esac 15814 shared_flag='-shared' 15815 if test "$aix_use_runtimelinking" = yes; then 15816 shared_flag="$shared_flag "'${wl}-G' 15817 fi 15818 else 15819 # not using gcc 15820 if test "$host_cpu" = ia64; then 15821 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 15822 # chokes on -Wl,-G. The following line is correct: 15823 shared_flag='-G' 15824 else 15825 if test "$aix_use_runtimelinking" = yes; then 15826 shared_flag='${wl}-G' 15827 else 15828 shared_flag='${wl}-bM:SRE' 15829 fi 15830 fi 15831 fi 15832 15833 export_dynamic_flag_spec_CXX='${wl}-bexpall' 15834 # It seems that -bexpall does not export symbols beginning with 15835 # underscore (_), so it is better to generate a list of symbols to 15836 # export. 15837 always_export_symbols_CXX=yes 15838 if test "$aix_use_runtimelinking" = yes; then 15839 # Warning - without using the other runtime loading flags (-brtl), 15840 # -berok will link without error, but may produce a broken library. 15841 allow_undefined_flag_CXX='-berok' 15842 # Determine the default libpath from the value encoded in an empty 15843 # executable. 15844 if test "${lt_cv_aix_libpath+set}" = set; then 15845 aix_libpath=$lt_cv_aix_libpath 15846else 15847 if ${lt_cv_aix_libpath__CXX+:} false; then : 15848 $as_echo_n "(cached) " >&6 15849else 15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15851/* end confdefs.h. */ 15852 15853int 15854main () 15855{ 15856 15857 ; 15858 return 0; 15859} 15860_ACEOF 15861if ac_fn_cxx_try_link "$LINENO"; then : 15862 15863 lt_aix_libpath_sed=' 15864 /Import File Strings/,/^$/ { 15865 /^0/ { 15866 s/^0 *\([^ ]*\) *$/\1/ 15867 p 15868 } 15869 }' 15870 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15871 # Check for a 64-bit object if we didn't find anything. 15872 if test -z "$lt_cv_aix_libpath__CXX"; then 15873 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15874 fi 15875fi 15876rm -f core conftest.err conftest.$ac_objext \ 15877 conftest$ac_exeext conftest.$ac_ext 15878 if test -z "$lt_cv_aix_libpath__CXX"; then 15879 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 15880 fi 15881 15882fi 15883 15884 aix_libpath=$lt_cv_aix_libpath__CXX 15885fi 15886 15887 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 15888 15889 archive_expsym_cmds_CXX='$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" 15890 else 15891 if test "$host_cpu" = ia64; then 15892 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 15893 allow_undefined_flag_CXX="-z nodefs" 15894 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 15895 else 15896 # Determine the default libpath from the value encoded in an 15897 # empty executable. 15898 if test "${lt_cv_aix_libpath+set}" = set; then 15899 aix_libpath=$lt_cv_aix_libpath 15900else 15901 if ${lt_cv_aix_libpath__CXX+:} false; then : 15902 $as_echo_n "(cached) " >&6 15903else 15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15905/* end confdefs.h. */ 15906 15907int 15908main () 15909{ 15910 15911 ; 15912 return 0; 15913} 15914_ACEOF 15915if ac_fn_cxx_try_link "$LINENO"; then : 15916 15917 lt_aix_libpath_sed=' 15918 /Import File Strings/,/^$/ { 15919 /^0/ { 15920 s/^0 *\([^ ]*\) *$/\1/ 15921 p 15922 } 15923 }' 15924 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15925 # Check for a 64-bit object if we didn't find anything. 15926 if test -z "$lt_cv_aix_libpath__CXX"; then 15927 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15928 fi 15929fi 15930rm -f core conftest.err conftest.$ac_objext \ 15931 conftest$ac_exeext conftest.$ac_ext 15932 if test -z "$lt_cv_aix_libpath__CXX"; then 15933 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 15934 fi 15935 15936fi 15937 15938 aix_libpath=$lt_cv_aix_libpath__CXX 15939fi 15940 15941 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 15942 # Warning - without using the other run time loading flags, 15943 # -berok will link without error, but may produce a broken library. 15944 no_undefined_flag_CXX=' ${wl}-bernotok' 15945 allow_undefined_flag_CXX=' ${wl}-berok' 15946 if test "$with_gnu_ld" = yes; then 15947 # We only use this code for GNU lds that support --whole-archive. 15948 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 15949 else 15950 # Exported symbols can be pulled into shared objects from archives 15951 whole_archive_flag_spec_CXX='$convenience' 15952 fi 15953 archive_cmds_need_lc_CXX=yes 15954 # This is similar to how AIX traditionally builds its shared 15955 # libraries. 15956 archive_expsym_cmds_CXX="\$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' 15957 fi 15958 fi 15959 ;; 15960 15961 beos*) 15962 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 15963 allow_undefined_flag_CXX=unsupported 15964 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 15965 # support --undefined. This deserves some investigation. FIXME 15966 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 15967 else 15968 ld_shlibs_CXX=no 15969 fi 15970 ;; 15971 15972 chorus*) 15973 case $cc_basename in 15974 *) 15975 # FIXME: insert proper C++ library support 15976 ld_shlibs_CXX=no 15977 ;; 15978 esac 15979 ;; 15980 15981 cygwin* | mingw* | pw32* | cegcc*) 15982 case $GXX,$cc_basename in 15983 ,cl* | no,cl*) 15984 # Native MSVC 15985 # hardcode_libdir_flag_spec is actually meaningless, as there is 15986 # no search path for DLLs. 15987 hardcode_libdir_flag_spec_CXX=' ' 15988 allow_undefined_flag_CXX=unsupported 15989 always_export_symbols_CXX=yes 15990 file_list_spec_CXX='@' 15991 # Tell ltmain to make .lib files, not .a files. 15992 libext=lib 15993 # Tell ltmain to make .dll files, not .so files. 15994 shrext_cmds=".dll" 15995 # FIXME: Setting linknames here is a bad hack. 15996 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 15997 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 15998 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 15999 else 16000 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 16001 fi~ 16002 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 16003 linknames=' 16004 # The linker will not automatically build a static lib if we build a DLL. 16005 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 16006 enable_shared_with_static_runtimes_CXX=yes 16007 # Don't use ranlib 16008 old_postinstall_cmds_CXX='chmod 644 $oldlib' 16009 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 16010 lt_tool_outputfile="@TOOL_OUTPUT@"~ 16011 case $lt_outputfile in 16012 *.exe|*.EXE) ;; 16013 *) 16014 lt_outputfile="$lt_outputfile.exe" 16015 lt_tool_outputfile="$lt_tool_outputfile.exe" 16016 ;; 16017 esac~ 16018 func_to_tool_file "$lt_outputfile"~ 16019 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 16020 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 16021 $RM "$lt_outputfile.manifest"; 16022 fi' 16023 ;; 16024 *) 16025 # g++ 16026 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 16027 # as there is no search path for DLLs. 16028 hardcode_libdir_flag_spec_CXX='-L$libdir' 16029 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' 16030 allow_undefined_flag_CXX=unsupported 16031 always_export_symbols_CXX=no 16032 enable_shared_with_static_runtimes_CXX=yes 16033 16034 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 16035 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 16036 # If the export-symbols file already is a .def file (1st line 16037 # is EXPORTS), use it as is; otherwise, prepend... 16038 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 16039 cp $export_symbols $output_objdir/$soname.def; 16040 else 16041 echo EXPORTS > $output_objdir/$soname.def; 16042 cat $export_symbols >> $output_objdir/$soname.def; 16043 fi~ 16044 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 16045 else 16046 ld_shlibs_CXX=no 16047 fi 16048 ;; 16049 esac 16050 ;; 16051 darwin* | rhapsody*) 16052 16053 16054 archive_cmds_need_lc_CXX=no 16055 hardcode_direct_CXX=no 16056 hardcode_automatic_CXX=yes 16057 hardcode_shlibpath_var_CXX=unsupported 16058 if test "$lt_cv_ld_force_load" = "yes"; then 16059 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 16060 16061 else 16062 whole_archive_flag_spec_CXX='' 16063 fi 16064 link_all_deplibs_CXX=yes 16065 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 16066 case $cc_basename in 16067 ifort*) _lt_dar_can_shared=yes ;; 16068 *) _lt_dar_can_shared=$GCC ;; 16069 esac 16070 if test "$_lt_dar_can_shared" = "yes"; then 16071 output_verbose_link_cmd=func_echo_all 16072 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 16073 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 16074 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 16075 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 16076 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 16077 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 16078 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 16079 fi 16080 16081 else 16082 ld_shlibs_CXX=no 16083 fi 16084 16085 ;; 16086 16087 dgux*) 16088 case $cc_basename in 16089 ec++*) 16090 # FIXME: insert proper C++ library support 16091 ld_shlibs_CXX=no 16092 ;; 16093 ghcx*) 16094 # Green Hills C++ Compiler 16095 # FIXME: insert proper C++ library support 16096 ld_shlibs_CXX=no 16097 ;; 16098 *) 16099 # FIXME: insert proper C++ library support 16100 ld_shlibs_CXX=no 16101 ;; 16102 esac 16103 ;; 16104 16105 freebsd2.*) 16106 # C++ shared libraries reported to be fairly broken before 16107 # switch to ELF 16108 ld_shlibs_CXX=no 16109 ;; 16110 16111 freebsd-elf*) 16112 archive_cmds_need_lc_CXX=no 16113 ;; 16114 16115 freebsd* | dragonfly*) 16116 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 16117 # conventions 16118 ld_shlibs_CXX=yes 16119 ;; 16120 16121 gnu*) 16122 ;; 16123 16124 haiku*) 16125 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 16126 link_all_deplibs_CXX=yes 16127 ;; 16128 16129 hpux9*) 16130 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 16131 hardcode_libdir_separator_CXX=: 16132 export_dynamic_flag_spec_CXX='${wl}-E' 16133 hardcode_direct_CXX=yes 16134 hardcode_minus_L_CXX=yes # Not in the search PATH, 16135 # but as the default 16136 # location of the library. 16137 16138 case $cc_basename in 16139 CC*) 16140 # FIXME: insert proper C++ library support 16141 ld_shlibs_CXX=no 16142 ;; 16143 aCC*) 16144 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 16145 # Commands to make compiler produce verbose output that lists 16146 # what "hidden" libraries, object files and flags are used when 16147 # linking a shared library. 16148 # 16149 # There doesn't appear to be a way to prevent this compiler from 16150 # explicitly linking system object files so we need to strip them 16151 # from the output so that they don't get included in the library 16152 # dependencies. 16153 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 16154 ;; 16155 *) 16156 if test "$GXX" = yes; then 16157 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 16158 else 16159 # FIXME: insert proper C++ library support 16160 ld_shlibs_CXX=no 16161 fi 16162 ;; 16163 esac 16164 ;; 16165 16166 hpux10*|hpux11*) 16167 if test $with_gnu_ld = no; then 16168 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 16169 hardcode_libdir_separator_CXX=: 16170 16171 case $host_cpu in 16172 hppa*64*|ia64*) 16173 ;; 16174 *) 16175 export_dynamic_flag_spec_CXX='${wl}-E' 16176 ;; 16177 esac 16178 fi 16179 case $host_cpu in 16180 hppa*64*|ia64*) 16181 hardcode_direct_CXX=no 16182 hardcode_shlibpath_var_CXX=no 16183 ;; 16184 *) 16185 hardcode_direct_CXX=yes 16186 hardcode_direct_absolute_CXX=yes 16187 hardcode_minus_L_CXX=yes # Not in the search PATH, 16188 # but as the default 16189 # location of the library. 16190 ;; 16191 esac 16192 16193 case $cc_basename in 16194 CC*) 16195 # FIXME: insert proper C++ library support 16196 ld_shlibs_CXX=no 16197 ;; 16198 aCC*) 16199 case $host_cpu in 16200 hppa*64*) 16201 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 16202 ;; 16203 ia64*) 16204 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 16205 ;; 16206 *) 16207 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 16208 ;; 16209 esac 16210 # Commands to make compiler produce verbose output that lists 16211 # what "hidden" libraries, object files and flags are used when 16212 # linking a shared library. 16213 # 16214 # There doesn't appear to be a way to prevent this compiler from 16215 # explicitly linking system object files so we need to strip them 16216 # from the output so that they don't get included in the library 16217 # dependencies. 16218 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 16219 ;; 16220 *) 16221 if test "$GXX" = yes; then 16222 if test $with_gnu_ld = no; then 16223 case $host_cpu in 16224 hppa*64*) 16225 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 16226 ;; 16227 ia64*) 16228 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 16229 ;; 16230 *) 16231 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 16232 ;; 16233 esac 16234 fi 16235 else 16236 # FIXME: insert proper C++ library support 16237 ld_shlibs_CXX=no 16238 fi 16239 ;; 16240 esac 16241 ;; 16242 16243 interix[3-9]*) 16244 hardcode_direct_CXX=no 16245 hardcode_shlibpath_var_CXX=no 16246 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 16247 export_dynamic_flag_spec_CXX='${wl}-E' 16248 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 16249 # Instead, shared libraries are loaded at an image base (0x10000000 by 16250 # default) and relocated if they conflict, which is a slow very memory 16251 # consuming and fragmenting process. To avoid this, we pick a random, 16252 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 16253 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 16254 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 16255 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 16256 ;; 16257 irix5* | irix6*) 16258 case $cc_basename in 16259 CC*) 16260 # SGI C++ 16261 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 16262 16263 # Archives containing C++ object files must be created using 16264 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 16265 # necessary to make sure instantiated templates are included 16266 # in the archive. 16267 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 16268 ;; 16269 *) 16270 if test "$GXX" = yes; then 16271 if test "$with_gnu_ld" = no; then 16272 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 16273 else 16274 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' 16275 fi 16276 fi 16277 link_all_deplibs_CXX=yes 16278 ;; 16279 esac 16280 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 16281 hardcode_libdir_separator_CXX=: 16282 inherit_rpath_CXX=yes 16283 ;; 16284 16285 linux* | k*bsd*-gnu | kopensolaris*-gnu) 16286 case $cc_basename in 16287 KCC*) 16288 # Kuck and Associates, Inc. (KAI) C++ Compiler 16289 16290 # KCC will only create a shared library if the output file 16291 # ends with ".so" (or ".sl" for HP-UX), so rename the library 16292 # to its proper name (with version) after linking. 16293 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 16294 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' 16295 # Commands to make compiler produce verbose output that lists 16296 # what "hidden" libraries, object files and flags are used when 16297 # linking a shared library. 16298 # 16299 # There doesn't appear to be a way to prevent this compiler from 16300 # explicitly linking system object files so we need to strip them 16301 # from the output so that they don't get included in the library 16302 # dependencies. 16303 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 16304 16305 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 16306 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 16307 16308 # Archives containing C++ object files must be created using 16309 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 16310 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 16311 ;; 16312 icpc* | ecpc* ) 16313 # Intel C++ 16314 with_gnu_ld=yes 16315 # version 8.0 and above of icpc choke on multiply defined symbols 16316 # if we add $predep_objects and $postdep_objects, however 7.1 and 16317 # earlier do not add the objects themselves. 16318 case `$CC -V 2>&1` in 16319 *"Version 7."*) 16320 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 16321 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 16322 ;; 16323 *) # Version 8.0 or newer 16324 tmp_idyn= 16325 case $host_cpu in 16326 ia64*) tmp_idyn=' -i_dynamic';; 16327 esac 16328 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 16329 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 16330 ;; 16331 esac 16332 archive_cmds_need_lc_CXX=no 16333 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 16334 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 16335 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 16336 ;; 16337 pgCC* | pgcpp*) 16338 # Portland Group C++ compiler 16339 case `$CC -V` in 16340 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 16341 prelink_cmds_CXX='tpldir=Template.dir~ 16342 rm -rf $tpldir~ 16343 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 16344 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 16345 old_archive_cmds_CXX='tpldir=Template.dir~ 16346 rm -rf $tpldir~ 16347 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 16348 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 16349 $RANLIB $oldlib' 16350 archive_cmds_CXX='tpldir=Template.dir~ 16351 rm -rf $tpldir~ 16352 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 16353 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 16354 archive_expsym_cmds_CXX='tpldir=Template.dir~ 16355 rm -rf $tpldir~ 16356 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 16357 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 16358 ;; 16359 *) # Version 6 and above use weak symbols 16360 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 16361 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 16362 ;; 16363 esac 16364 16365 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 16366 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 16367 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 16368 ;; 16369 cxx*) 16370 # Compaq C++ 16371 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 16372 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 16373 16374 runpath_var=LD_RUN_PATH 16375 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 16376 hardcode_libdir_separator_CXX=: 16377 16378 # Commands to make compiler produce verbose output that lists 16379 # what "hidden" libraries, object files and flags are used when 16380 # linking a shared library. 16381 # 16382 # There doesn't appear to be a way to prevent this compiler from 16383 # explicitly linking system object files so we need to strip them 16384 # from the output so that they don't get included in the library 16385 # dependencies. 16386 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 16387 ;; 16388 xl* | mpixl* | bgxl*) 16389 # IBM XL 8.0 on PPC, with GNU ld 16390 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 16391 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 16392 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 16393 if test "x$supports_anon_versioning" = xyes; then 16394 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 16395 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 16396 echo "local: *; };" >> $output_objdir/$libname.ver~ 16397 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 16398 fi 16399 ;; 16400 *) 16401 case `$CC -V 2>&1 | sed 5q` in 16402 *Sun\ C*) 16403 # Sun C++ 5.9 16404 no_undefined_flag_CXX=' -zdefs' 16405 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 16406 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 16407 hardcode_libdir_flag_spec_CXX='-R$libdir' 16408 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 16409 compiler_needs_object_CXX=yes 16410 16411 # Not sure whether something based on 16412 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 16413 # would be better. 16414 output_verbose_link_cmd='func_echo_all' 16415 16416 # Archives containing C++ object files must be created using 16417 # "CC -xar", where "CC" is the Sun C++ compiler. This is 16418 # necessary to make sure instantiated templates are included 16419 # in the archive. 16420 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 16421 ;; 16422 esac 16423 ;; 16424 esac 16425 ;; 16426 16427 lynxos*) 16428 # FIXME: insert proper C++ library support 16429 ld_shlibs_CXX=no 16430 ;; 16431 16432 m88k*) 16433 # FIXME: insert proper C++ library support 16434 ld_shlibs_CXX=no 16435 ;; 16436 16437 mvs*) 16438 case $cc_basename in 16439 cxx*) 16440 # FIXME: insert proper C++ library support 16441 ld_shlibs_CXX=no 16442 ;; 16443 *) 16444 # FIXME: insert proper C++ library support 16445 ld_shlibs_CXX=no 16446 ;; 16447 esac 16448 ;; 16449 16450 netbsd*) 16451 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16452 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 16453 wlarc= 16454 hardcode_libdir_flag_spec_CXX='-R$libdir' 16455 hardcode_direct_CXX=yes 16456 hardcode_shlibpath_var_CXX=no 16457 fi 16458 # Workaround some broken pre-1.5 toolchains 16459 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 16460 ;; 16461 16462 *nto* | *qnx*) 16463 ld_shlibs_CXX=yes 16464 ;; 16465 16466 openbsd2*) 16467 # C++ shared libraries are fairly broken 16468 ld_shlibs_CXX=no 16469 ;; 16470 16471 openbsd*) 16472 if test -f /usr/libexec/ld.so; then 16473 hardcode_direct_CXX=yes 16474 hardcode_shlibpath_var_CXX=no 16475 hardcode_direct_absolute_CXX=yes 16476 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 16477 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 16478 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 16479 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 16480 export_dynamic_flag_spec_CXX='${wl}-E' 16481 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 16482 fi 16483 output_verbose_link_cmd=func_echo_all 16484 else 16485 ld_shlibs_CXX=no 16486 fi 16487 ;; 16488 16489 osf3* | osf4* | osf5*) 16490 case $cc_basename in 16491 KCC*) 16492 # Kuck and Associates, Inc. (KAI) C++ Compiler 16493 16494 # KCC will only create a shared library if the output file 16495 # ends with ".so" (or ".sl" for HP-UX), so rename the library 16496 # to its proper name (with version) after linking. 16497 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 16498 16499 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 16500 hardcode_libdir_separator_CXX=: 16501 16502 # Archives containing C++ object files must be created using 16503 # the KAI C++ compiler. 16504 case $host in 16505 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 16506 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 16507 esac 16508 ;; 16509 RCC*) 16510 # Rational C++ 2.4.1 16511 # FIXME: insert proper C++ library support 16512 ld_shlibs_CXX=no 16513 ;; 16514 cxx*) 16515 case $host in 16516 osf3*) 16517 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 16518 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 16519 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 16520 ;; 16521 *) 16522 allow_undefined_flag_CXX=' -expect_unresolved \*' 16523 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 16524 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 16525 echo "-hidden">> $lib.exp~ 16526 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ 16527 $RM $lib.exp' 16528 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 16529 ;; 16530 esac 16531 16532 hardcode_libdir_separator_CXX=: 16533 16534 # Commands to make compiler produce verbose output that lists 16535 # what "hidden" libraries, object files and flags are used when 16536 # linking a shared library. 16537 # 16538 # There doesn't appear to be a way to prevent this compiler from 16539 # explicitly linking system object files so we need to strip them 16540 # from the output so that they don't get included in the library 16541 # dependencies. 16542 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 16543 ;; 16544 *) 16545 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 16546 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 16547 case $host in 16548 osf3*) 16549 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 16550 ;; 16551 *) 16552 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 16553 ;; 16554 esac 16555 16556 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 16557 hardcode_libdir_separator_CXX=: 16558 16559 # Commands to make compiler produce verbose output that lists 16560 # what "hidden" libraries, object files and flags are used when 16561 # linking a shared library. 16562 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16563 16564 else 16565 # FIXME: insert proper C++ library support 16566 ld_shlibs_CXX=no 16567 fi 16568 ;; 16569 esac 16570 ;; 16571 16572 psos*) 16573 # FIXME: insert proper C++ library support 16574 ld_shlibs_CXX=no 16575 ;; 16576 16577 sunos4*) 16578 case $cc_basename in 16579 CC*) 16580 # Sun C++ 4.x 16581 # FIXME: insert proper C++ library support 16582 ld_shlibs_CXX=no 16583 ;; 16584 lcc*) 16585 # Lucid 16586 # FIXME: insert proper C++ library support 16587 ld_shlibs_CXX=no 16588 ;; 16589 *) 16590 # FIXME: insert proper C++ library support 16591 ld_shlibs_CXX=no 16592 ;; 16593 esac 16594 ;; 16595 16596 solaris*) 16597 case $cc_basename in 16598 CC* | sunCC*) 16599 # Sun C++ 4.2, 5.x and Centerline C++ 16600 archive_cmds_need_lc_CXX=yes 16601 no_undefined_flag_CXX=' -zdefs' 16602 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 16603 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 16604 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 16605 16606 hardcode_libdir_flag_spec_CXX='-R$libdir' 16607 hardcode_shlibpath_var_CXX=no 16608 case $host_os in 16609 solaris2.[0-5] | solaris2.[0-5].*) ;; 16610 *) 16611 # The compiler driver will combine and reorder linker options, 16612 # but understands `-z linker_flag'. 16613 # Supported since Solaris 2.6 (maybe 2.5.1?) 16614 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 16615 ;; 16616 esac 16617 link_all_deplibs_CXX=yes 16618 16619 output_verbose_link_cmd='func_echo_all' 16620 16621 # Archives containing C++ object files must be created using 16622 # "CC -xar", where "CC" is the Sun C++ compiler. This is 16623 # necessary to make sure instantiated templates are included 16624 # in the archive. 16625 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 16626 ;; 16627 gcx*) 16628 # Green Hills C++ Compiler 16629 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 16630 16631 # The C++ compiler must be used to create the archive. 16632 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 16633 ;; 16634 *) 16635 # GNU C++ compiler with Solaris linker 16636 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 16637 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 16638 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 16639 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 16640 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 16641 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 16642 16643 # Commands to make compiler produce verbose output that lists 16644 # what "hidden" libraries, object files and flags are used when 16645 # linking a shared library. 16646 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16647 else 16648 # g++ 2.7 appears to require `-G' NOT `-shared' on this 16649 # platform. 16650 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 16651 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 16652 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 16653 16654 # Commands to make compiler produce verbose output that lists 16655 # what "hidden" libraries, object files and flags are used when 16656 # linking a shared library. 16657 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16658 fi 16659 16660 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 16661 case $host_os in 16662 solaris2.[0-5] | solaris2.[0-5].*) ;; 16663 *) 16664 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 16665 ;; 16666 esac 16667 fi 16668 ;; 16669 esac 16670 ;; 16671 16672 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 16673 no_undefined_flag_CXX='${wl}-z,text' 16674 archive_cmds_need_lc_CXX=no 16675 hardcode_shlibpath_var_CXX=no 16676 runpath_var='LD_RUN_PATH' 16677 16678 case $cc_basename in 16679 CC*) 16680 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16681 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16682 ;; 16683 *) 16684 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16685 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16686 ;; 16687 esac 16688 ;; 16689 16690 sysv5* | sco3.2v5* | sco5v6*) 16691 # Note: We can NOT use -z defs as we might desire, because we do not 16692 # link with -lc, and that would cause any symbols used from libc to 16693 # always be unresolved, which means just about no library would 16694 # ever link correctly. If we're not using GNU ld we use -z text 16695 # though, which does catch some bad symbols but isn't as heavy-handed 16696 # as -z defs. 16697 no_undefined_flag_CXX='${wl}-z,text' 16698 allow_undefined_flag_CXX='${wl}-z,nodefs' 16699 archive_cmds_need_lc_CXX=no 16700 hardcode_shlibpath_var_CXX=no 16701 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 16702 hardcode_libdir_separator_CXX=':' 16703 link_all_deplibs_CXX=yes 16704 export_dynamic_flag_spec_CXX='${wl}-Bexport' 16705 runpath_var='LD_RUN_PATH' 16706 16707 case $cc_basename in 16708 CC*) 16709 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16710 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16711 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 16712 '"$old_archive_cmds_CXX" 16713 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 16714 '"$reload_cmds_CXX" 16715 ;; 16716 *) 16717 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16718 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16719 ;; 16720 esac 16721 ;; 16722 16723 tandem*) 16724 case $cc_basename in 16725 NCC*) 16726 # NonStop-UX NCC 3.20 16727 # FIXME: insert proper C++ library support 16728 ld_shlibs_CXX=no 16729 ;; 16730 *) 16731 # FIXME: insert proper C++ library support 16732 ld_shlibs_CXX=no 16733 ;; 16734 esac 16735 ;; 16736 16737 vxworks*) 16738 # FIXME: insert proper C++ library support 16739 ld_shlibs_CXX=no 16740 ;; 16741 16742 *) 16743 # FIXME: insert proper C++ library support 16744 ld_shlibs_CXX=no 16745 ;; 16746 esac 16747 16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 16749$as_echo "$ld_shlibs_CXX" >&6; } 16750 test "$ld_shlibs_CXX" = no && can_build_shared=no 16751 16752 GCC_CXX="$GXX" 16753 LD_CXX="$LD" 16754 16755 ## CAVEAT EMPTOR: 16756 ## There is no encapsulation within the following macros, do not change 16757 ## the running order or otherwise move them around unless you know exactly 16758 ## what you are doing... 16759 # Dependencies to place before and after the object being linked: 16760predep_objects_CXX= 16761postdep_objects_CXX= 16762predeps_CXX= 16763postdeps_CXX= 16764compiler_lib_search_path_CXX= 16765 16766cat > conftest.$ac_ext <<_LT_EOF 16767class Foo 16768{ 16769public: 16770 Foo (void) { a = 0; } 16771private: 16772 int a; 16773}; 16774_LT_EOF 16775 16776 16777_lt_libdeps_save_CFLAGS=$CFLAGS 16778case "$CC $CFLAGS " in #( 16779*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 16780*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 16781*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 16782esac 16783 16784if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 16785 (eval $ac_compile) 2>&5 16786 ac_status=$? 16787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16788 test $ac_status = 0; }; then 16789 # Parse the compiler output and extract the necessary 16790 # objects, libraries and library flags. 16791 16792 # Sentinel used to keep track of whether or not we are before 16793 # the conftest object file. 16794 pre_test_object_deps_done=no 16795 16796 for p in `eval "$output_verbose_link_cmd"`; do 16797 case ${prev}${p} in 16798 16799 -L* | -R* | -l*) 16800 # Some compilers place space between "-{L,R}" and the path. 16801 # Remove the space. 16802 if test $p = "-L" || 16803 test $p = "-R"; then 16804 prev=$p 16805 continue 16806 fi 16807 16808 # Expand the sysroot to ease extracting the directories later. 16809 if test -z "$prev"; then 16810 case $p in 16811 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 16812 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 16813 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 16814 esac 16815 fi 16816 case $p in 16817 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 16818 esac 16819 if test "$pre_test_object_deps_done" = no; then 16820 case ${prev} in 16821 -L | -R) 16822 # Internal compiler library paths should come after those 16823 # provided the user. The postdeps already come after the 16824 # user supplied libs so there is no need to process them. 16825 if test -z "$compiler_lib_search_path_CXX"; then 16826 compiler_lib_search_path_CXX="${prev}${p}" 16827 else 16828 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 16829 fi 16830 ;; 16831 # The "-l" case would never come before the object being 16832 # linked, so don't bother handling this case. 16833 esac 16834 else 16835 if test -z "$postdeps_CXX"; then 16836 postdeps_CXX="${prev}${p}" 16837 else 16838 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 16839 fi 16840 fi 16841 prev= 16842 ;; 16843 16844 *.lto.$objext) ;; # Ignore GCC LTO objects 16845 *.$objext) 16846 # This assumes that the test object file only shows up 16847 # once in the compiler output. 16848 if test "$p" = "conftest.$objext"; then 16849 pre_test_object_deps_done=yes 16850 continue 16851 fi 16852 16853 if test "$pre_test_object_deps_done" = no; then 16854 if test -z "$predep_objects_CXX"; then 16855 predep_objects_CXX="$p" 16856 else 16857 predep_objects_CXX="$predep_objects_CXX $p" 16858 fi 16859 else 16860 if test -z "$postdep_objects_CXX"; then 16861 postdep_objects_CXX="$p" 16862 else 16863 postdep_objects_CXX="$postdep_objects_CXX $p" 16864 fi 16865 fi 16866 ;; 16867 16868 *) ;; # Ignore the rest. 16869 16870 esac 16871 done 16872 16873 # Clean up. 16874 rm -f a.out a.exe 16875else 16876 echo "libtool.m4: error: problem compiling CXX test program" 16877fi 16878 16879$RM -f confest.$objext 16880CFLAGS=$_lt_libdeps_save_CFLAGS 16881 16882# PORTME: override above test on systems where it is broken 16883case $host_os in 16884interix[3-9]*) 16885 # Interix 3.5 installs completely hosed .la files for C++, so rather than 16886 # hack all around it, let's just trust "g++" to DTRT. 16887 predep_objects_CXX= 16888 postdep_objects_CXX= 16889 postdeps_CXX= 16890 ;; 16891 16892linux*) 16893 case `$CC -V 2>&1 | sed 5q` in 16894 *Sun\ C*) 16895 # Sun C++ 5.9 16896 16897 # The more standards-conforming stlport4 library is 16898 # incompatible with the Cstd library. Avoid specifying 16899 # it if it's in CXXFLAGS. Ignore libCrun as 16900 # -library=stlport4 depends on it. 16901 case " $CXX $CXXFLAGS " in 16902 *" -library=stlport4 "*) 16903 solaris_use_stlport4=yes 16904 ;; 16905 esac 16906 16907 if test "$solaris_use_stlport4" != yes; then 16908 postdeps_CXX='-library=Cstd -library=Crun' 16909 fi 16910 ;; 16911 esac 16912 ;; 16913 16914solaris*) 16915 case $cc_basename in 16916 CC* | sunCC*) 16917 # The more standards-conforming stlport4 library is 16918 # incompatible with the Cstd library. Avoid specifying 16919 # it if it's in CXXFLAGS. Ignore libCrun as 16920 # -library=stlport4 depends on it. 16921 case " $CXX $CXXFLAGS " in 16922 *" -library=stlport4 "*) 16923 solaris_use_stlport4=yes 16924 ;; 16925 esac 16926 16927 # Adding this requires a known-good setup of shared libraries for 16928 # Sun compiler versions before 5.6, else PIC objects from an old 16929 # archive will be linked into the output, leading to subtle bugs. 16930 if test "$solaris_use_stlport4" != yes; then 16931 postdeps_CXX='-library=Cstd -library=Crun' 16932 fi 16933 ;; 16934 esac 16935 ;; 16936esac 16937 16938 16939case " $postdeps_CXX " in 16940*" -lc "*) archive_cmds_need_lc_CXX=no ;; 16941esac 16942 compiler_lib_search_dirs_CXX= 16943if test -n "${compiler_lib_search_path_CXX}"; then 16944 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 16945fi 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 lt_prog_compiler_wl_CXX= 16978lt_prog_compiler_pic_CXX= 16979lt_prog_compiler_static_CXX= 16980 16981 16982 # C++ specific cases for pic, static, wl, etc. 16983 if test "$GXX" = yes; then 16984 lt_prog_compiler_wl_CXX='-Wl,' 16985 lt_prog_compiler_static_CXX='-static' 16986 16987 case $host_os in 16988 aix*) 16989 # All AIX code is PIC. 16990 if test "$host_cpu" = ia64; then 16991 # AIX 5 now supports IA64 processor 16992 lt_prog_compiler_static_CXX='-Bstatic' 16993 fi 16994 ;; 16995 16996 amigaos*) 16997 case $host_cpu in 16998 powerpc) 16999 # see comment about AmigaOS4 .so support 17000 lt_prog_compiler_pic_CXX='-fPIC' 17001 ;; 17002 m68k) 17003 # FIXME: we need at least 68020 code to build shared libraries, but 17004 # adding the `-m68020' flag to GCC prevents building anything better, 17005 # like `-m68040'. 17006 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 17007 ;; 17008 esac 17009 ;; 17010 17011 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 17012 # PIC is the default for these OSes. 17013 ;; 17014 mingw* | cygwin* | os2* | pw32* | cegcc*) 17015 # This hack is so that the source file can tell whether it is being 17016 # built for inclusion in a dll (and should export symbols for example). 17017 # Although the cygwin gcc ignores -fPIC, still need this for old-style 17018 # (--disable-auto-import) libraries 17019 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 17020 ;; 17021 darwin* | rhapsody*) 17022 # PIC is the default on this platform 17023 # Common symbols not allowed in MH_DYLIB files 17024 lt_prog_compiler_pic_CXX='-fno-common' 17025 ;; 17026 *djgpp*) 17027 # DJGPP does not support shared libraries at all 17028 lt_prog_compiler_pic_CXX= 17029 ;; 17030 haiku*) 17031 # PIC is the default for Haiku. 17032 # The "-static" flag exists, but is broken. 17033 lt_prog_compiler_static_CXX= 17034 ;; 17035 interix[3-9]*) 17036 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 17037 # Instead, we relocate shared libraries at runtime. 17038 ;; 17039 sysv4*MP*) 17040 if test -d /usr/nec; then 17041 lt_prog_compiler_pic_CXX=-Kconform_pic 17042 fi 17043 ;; 17044 hpux*) 17045 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 17046 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 17047 # sets the default TLS model and affects inlining. 17048 case $host_cpu in 17049 hppa*64*) 17050 ;; 17051 *) 17052 lt_prog_compiler_pic_CXX='-fPIC' 17053 ;; 17054 esac 17055 ;; 17056 *qnx* | *nto*) 17057 # QNX uses GNU C++, but need to define -shared option too, otherwise 17058 # it will coredump. 17059 lt_prog_compiler_pic_CXX='-fPIC -shared' 17060 ;; 17061 *) 17062 lt_prog_compiler_pic_CXX='-fPIC' 17063 ;; 17064 esac 17065 else 17066 case $host_os in 17067 aix[4-9]*) 17068 # All AIX code is PIC. 17069 if test "$host_cpu" = ia64; then 17070 # AIX 5 now supports IA64 processor 17071 lt_prog_compiler_static_CXX='-Bstatic' 17072 else 17073 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 17074 fi 17075 ;; 17076 chorus*) 17077 case $cc_basename in 17078 cxch68*) 17079 # Green Hills C++ Compiler 17080 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 17081 ;; 17082 esac 17083 ;; 17084 mingw* | cygwin* | os2* | pw32* | cegcc*) 17085 # This hack is so that the source file can tell whether it is being 17086 # built for inclusion in a dll (and should export symbols for example). 17087 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 17088 ;; 17089 dgux*) 17090 case $cc_basename in 17091 ec++*) 17092 lt_prog_compiler_pic_CXX='-KPIC' 17093 ;; 17094 ghcx*) 17095 # Green Hills C++ Compiler 17096 lt_prog_compiler_pic_CXX='-pic' 17097 ;; 17098 *) 17099 ;; 17100 esac 17101 ;; 17102 freebsd* | dragonfly*) 17103 # FreeBSD uses GNU C++ 17104 ;; 17105 hpux9* | hpux10* | hpux11*) 17106 case $cc_basename in 17107 CC*) 17108 lt_prog_compiler_wl_CXX='-Wl,' 17109 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 17110 if test "$host_cpu" != ia64; then 17111 lt_prog_compiler_pic_CXX='+Z' 17112 fi 17113 ;; 17114 aCC*) 17115 lt_prog_compiler_wl_CXX='-Wl,' 17116 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 17117 case $host_cpu in 17118 hppa*64*|ia64*) 17119 # +Z the default 17120 ;; 17121 *) 17122 lt_prog_compiler_pic_CXX='+Z' 17123 ;; 17124 esac 17125 ;; 17126 *) 17127 ;; 17128 esac 17129 ;; 17130 interix*) 17131 # This is c89, which is MS Visual C++ (no shared libs) 17132 # Anyone wants to do a port? 17133 ;; 17134 irix5* | irix6* | nonstopux*) 17135 case $cc_basename in 17136 CC*) 17137 lt_prog_compiler_wl_CXX='-Wl,' 17138 lt_prog_compiler_static_CXX='-non_shared' 17139 # CC pic flag -KPIC is the default. 17140 ;; 17141 *) 17142 ;; 17143 esac 17144 ;; 17145 linux* | k*bsd*-gnu | kopensolaris*-gnu) 17146 case $cc_basename in 17147 KCC*) 17148 # KAI C++ Compiler 17149 lt_prog_compiler_wl_CXX='--backend -Wl,' 17150 lt_prog_compiler_pic_CXX='-fPIC' 17151 ;; 17152 ecpc* ) 17153 # old Intel C++ for x86_64 which still supported -KPIC. 17154 lt_prog_compiler_wl_CXX='-Wl,' 17155 lt_prog_compiler_pic_CXX='-KPIC' 17156 lt_prog_compiler_static_CXX='-static' 17157 ;; 17158 icpc* ) 17159 # Intel C++, used to be incompatible with GCC. 17160 # ICC 10 doesn't accept -KPIC any more. 17161 lt_prog_compiler_wl_CXX='-Wl,' 17162 lt_prog_compiler_pic_CXX='-fPIC' 17163 lt_prog_compiler_static_CXX='-static' 17164 ;; 17165 pgCC* | pgcpp*) 17166 # Portland Group C++ compiler 17167 lt_prog_compiler_wl_CXX='-Wl,' 17168 lt_prog_compiler_pic_CXX='-fpic' 17169 lt_prog_compiler_static_CXX='-Bstatic' 17170 ;; 17171 cxx*) 17172 # Compaq C++ 17173 # Make sure the PIC flag is empty. It appears that all Alpha 17174 # Linux and Compaq Tru64 Unix objects are PIC. 17175 lt_prog_compiler_pic_CXX= 17176 lt_prog_compiler_static_CXX='-non_shared' 17177 ;; 17178 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 17179 # IBM XL 8.0, 9.0 on PPC and BlueGene 17180 lt_prog_compiler_wl_CXX='-Wl,' 17181 lt_prog_compiler_pic_CXX='-qpic' 17182 lt_prog_compiler_static_CXX='-qstaticlink' 17183 ;; 17184 *) 17185 case `$CC -V 2>&1 | sed 5q` in 17186 *Sun\ C*) 17187 # Sun C++ 5.9 17188 lt_prog_compiler_pic_CXX='-KPIC' 17189 lt_prog_compiler_static_CXX='-Bstatic' 17190 lt_prog_compiler_wl_CXX='-Qoption ld ' 17191 ;; 17192 esac 17193 ;; 17194 esac 17195 ;; 17196 lynxos*) 17197 ;; 17198 m88k*) 17199 ;; 17200 mvs*) 17201 case $cc_basename in 17202 cxx*) 17203 lt_prog_compiler_pic_CXX='-W c,exportall' 17204 ;; 17205 *) 17206 ;; 17207 esac 17208 ;; 17209 netbsd*) 17210 ;; 17211 *qnx* | *nto*) 17212 # QNX uses GNU C++, but need to define -shared option too, otherwise 17213 # it will coredump. 17214 lt_prog_compiler_pic_CXX='-fPIC -shared' 17215 ;; 17216 osf3* | osf4* | osf5*) 17217 case $cc_basename in 17218 KCC*) 17219 lt_prog_compiler_wl_CXX='--backend -Wl,' 17220 ;; 17221 RCC*) 17222 # Rational C++ 2.4.1 17223 lt_prog_compiler_pic_CXX='-pic' 17224 ;; 17225 cxx*) 17226 # Digital/Compaq C++ 17227 lt_prog_compiler_wl_CXX='-Wl,' 17228 # Make sure the PIC flag is empty. It appears that all Alpha 17229 # Linux and Compaq Tru64 Unix objects are PIC. 17230 lt_prog_compiler_pic_CXX= 17231 lt_prog_compiler_static_CXX='-non_shared' 17232 ;; 17233 *) 17234 ;; 17235 esac 17236 ;; 17237 psos*) 17238 ;; 17239 solaris*) 17240 case $cc_basename in 17241 CC* | sunCC*) 17242 # Sun C++ 4.2, 5.x and Centerline C++ 17243 lt_prog_compiler_pic_CXX='-KPIC' 17244 lt_prog_compiler_static_CXX='-Bstatic' 17245 lt_prog_compiler_wl_CXX='-Qoption ld ' 17246 ;; 17247 gcx*) 17248 # Green Hills C++ Compiler 17249 lt_prog_compiler_pic_CXX='-PIC' 17250 ;; 17251 *) 17252 ;; 17253 esac 17254 ;; 17255 sunos4*) 17256 case $cc_basename in 17257 CC*) 17258 # Sun C++ 4.x 17259 lt_prog_compiler_pic_CXX='-pic' 17260 lt_prog_compiler_static_CXX='-Bstatic' 17261 ;; 17262 lcc*) 17263 # Lucid 17264 lt_prog_compiler_pic_CXX='-pic' 17265 ;; 17266 *) 17267 ;; 17268 esac 17269 ;; 17270 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 17271 case $cc_basename in 17272 CC*) 17273 lt_prog_compiler_wl_CXX='-Wl,' 17274 lt_prog_compiler_pic_CXX='-KPIC' 17275 lt_prog_compiler_static_CXX='-Bstatic' 17276 ;; 17277 esac 17278 ;; 17279 tandem*) 17280 case $cc_basename in 17281 NCC*) 17282 # NonStop-UX NCC 3.20 17283 lt_prog_compiler_pic_CXX='-KPIC' 17284 ;; 17285 *) 17286 ;; 17287 esac 17288 ;; 17289 vxworks*) 17290 ;; 17291 *) 17292 lt_prog_compiler_can_build_shared_CXX=no 17293 ;; 17294 esac 17295 fi 17296 17297case $host_os in 17298 # For platforms which do not support PIC, -DPIC is meaningless: 17299 *djgpp*) 17300 lt_prog_compiler_pic_CXX= 17301 ;; 17302 *) 17303 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 17304 ;; 17305esac 17306 17307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 17308$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 17309if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 17310 $as_echo_n "(cached) " >&6 17311else 17312 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 17313fi 17314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 17315$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 17316lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 17317 17318# 17319# Check to make sure the PIC flag actually works. 17320# 17321if test -n "$lt_prog_compiler_pic_CXX"; then 17322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 17323$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 17324if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 17325 $as_echo_n "(cached) " >&6 17326else 17327 lt_cv_prog_compiler_pic_works_CXX=no 17328 ac_outfile=conftest.$ac_objext 17329 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 17330 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 17331 # Insert the option either (1) after the last *FLAGS variable, or 17332 # (2) before a word containing "conftest.", or (3) at the end. 17333 # Note that $ac_compile itself does not contain backslashes and begins 17334 # with a dollar sign (not a hyphen), so the echo should work correctly. 17335 # The option is referenced via a variable to avoid confusing sed. 17336 lt_compile=`echo "$ac_compile" | $SED \ 17337 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17338 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17339 -e 's:$: $lt_compiler_flag:'` 17340 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 17341 (eval "$lt_compile" 2>conftest.err) 17342 ac_status=$? 17343 cat conftest.err >&5 17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17345 if (exit $ac_status) && test -s "$ac_outfile"; then 17346 # The compiler can only warn and ignore the option if not recognized 17347 # So say no if there are warnings other than the usual output. 17348 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 17349 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 17350 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 17351 lt_cv_prog_compiler_pic_works_CXX=yes 17352 fi 17353 fi 17354 $RM conftest* 17355 17356fi 17357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 17358$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 17359 17360if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 17361 case $lt_prog_compiler_pic_CXX in 17362 "" | " "*) ;; 17363 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 17364 esac 17365else 17366 lt_prog_compiler_pic_CXX= 17367 lt_prog_compiler_can_build_shared_CXX=no 17368fi 17369 17370fi 17371 17372 17373 17374 17375 17376# 17377# Check to make sure the static flag actually works. 17378# 17379wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 17380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 17381$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 17382if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 17383 $as_echo_n "(cached) " >&6 17384else 17385 lt_cv_prog_compiler_static_works_CXX=no 17386 save_LDFLAGS="$LDFLAGS" 17387 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 17388 echo "$lt_simple_link_test_code" > conftest.$ac_ext 17389 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 17390 # The linker can only warn and ignore the option if not recognized 17391 # So say no if there are warnings 17392 if test -s conftest.err; then 17393 # Append any errors to the config.log. 17394 cat conftest.err 1>&5 17395 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 17396 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 17397 if diff conftest.exp conftest.er2 >/dev/null; then 17398 lt_cv_prog_compiler_static_works_CXX=yes 17399 fi 17400 else 17401 lt_cv_prog_compiler_static_works_CXX=yes 17402 fi 17403 fi 17404 $RM -r conftest* 17405 LDFLAGS="$save_LDFLAGS" 17406 17407fi 17408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 17409$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 17410 17411if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 17412 : 17413else 17414 lt_prog_compiler_static_CXX= 17415fi 17416 17417 17418 17419 17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 17421$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 17422if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 17423 $as_echo_n "(cached) " >&6 17424else 17425 lt_cv_prog_compiler_c_o_CXX=no 17426 $RM -r conftest 2>/dev/null 17427 mkdir conftest 17428 cd conftest 17429 mkdir out 17430 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 17431 17432 lt_compiler_flag="-o out/conftest2.$ac_objext" 17433 # Insert the option either (1) after the last *FLAGS variable, or 17434 # (2) before a word containing "conftest.", or (3) at the end. 17435 # Note that $ac_compile itself does not contain backslashes and begins 17436 # with a dollar sign (not a hyphen), so the echo should work correctly. 17437 lt_compile=`echo "$ac_compile" | $SED \ 17438 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17439 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17440 -e 's:$: $lt_compiler_flag:'` 17441 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 17442 (eval "$lt_compile" 2>out/conftest.err) 17443 ac_status=$? 17444 cat out/conftest.err >&5 17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17446 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17447 then 17448 # The compiler can only warn and ignore the option if not recognized 17449 # So say no if there are warnings 17450 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 17451 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 17452 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 17453 lt_cv_prog_compiler_c_o_CXX=yes 17454 fi 17455 fi 17456 chmod u+w . 2>&5 17457 $RM conftest* 17458 # SGI C++ compiler will create directory out/ii_files/ for 17459 # template instantiation 17460 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 17461 $RM out/* && rmdir out 17462 cd .. 17463 $RM -r conftest 17464 $RM conftest* 17465 17466fi 17467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 17468$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 17469 17470 17471 17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 17473$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 17474if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 17475 $as_echo_n "(cached) " >&6 17476else 17477 lt_cv_prog_compiler_c_o_CXX=no 17478 $RM -r conftest 2>/dev/null 17479 mkdir conftest 17480 cd conftest 17481 mkdir out 17482 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 17483 17484 lt_compiler_flag="-o out/conftest2.$ac_objext" 17485 # Insert the option either (1) after the last *FLAGS variable, or 17486 # (2) before a word containing "conftest.", or (3) at the end. 17487 # Note that $ac_compile itself does not contain backslashes and begins 17488 # with a dollar sign (not a hyphen), so the echo should work correctly. 17489 lt_compile=`echo "$ac_compile" | $SED \ 17490 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17491 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17492 -e 's:$: $lt_compiler_flag:'` 17493 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 17494 (eval "$lt_compile" 2>out/conftest.err) 17495 ac_status=$? 17496 cat out/conftest.err >&5 17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17498 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17499 then 17500 # The compiler can only warn and ignore the option if not recognized 17501 # So say no if there are warnings 17502 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 17503 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 17504 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 17505 lt_cv_prog_compiler_c_o_CXX=yes 17506 fi 17507 fi 17508 chmod u+w . 2>&5 17509 $RM conftest* 17510 # SGI C++ compiler will create directory out/ii_files/ for 17511 # template instantiation 17512 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 17513 $RM out/* && rmdir out 17514 cd .. 17515 $RM -r conftest 17516 $RM conftest* 17517 17518fi 17519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 17520$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 17521 17522 17523 17524 17525hard_links="nottested" 17526if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 17527 # do not overwrite the value of need_locks provided by the user 17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 17529$as_echo_n "checking if we can lock with hard links... " >&6; } 17530 hard_links=yes 17531 $RM conftest* 17532 ln conftest.a conftest.b 2>/dev/null && hard_links=no 17533 touch conftest.a 17534 ln conftest.a conftest.b 2>&5 || hard_links=no 17535 ln conftest.a conftest.b 2>/dev/null && hard_links=no 17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 17537$as_echo "$hard_links" >&6; } 17538 if test "$hard_links" = no; then 17539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 17540$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 17541 need_locks=warn 17542 fi 17543else 17544 need_locks=no 17545fi 17546 17547 17548 17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 17550$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 17551 17552 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 17553 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 17554 case $host_os in 17555 aix[4-9]*) 17556 # If we're using GNU nm, then we don't want the "-C" option. 17557 # -C means demangle to AIX nm, but means don't demangle with GNU nm 17558 # Also, AIX nm treats weak defined symbols like other global defined 17559 # symbols, whereas GNU nm marks them as "W". 17560 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 17561 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 17562 else 17563 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 17564 fi 17565 ;; 17566 pw32*) 17567 export_symbols_cmds_CXX="$ltdll_cmds" 17568 ;; 17569 cygwin* | mingw* | cegcc*) 17570 case $cc_basename in 17571 cl*) 17572 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 17573 ;; 17574 *) 17575 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 17576 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 17577 ;; 17578 esac 17579 ;; 17580 *) 17581 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 17582 ;; 17583 esac 17584 17585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 17586$as_echo "$ld_shlibs_CXX" >&6; } 17587test "$ld_shlibs_CXX" = no && can_build_shared=no 17588 17589with_gnu_ld_CXX=$with_gnu_ld 17590 17591 17592 17593 17594 17595 17596# 17597# Do we need to explicitly link libc? 17598# 17599case "x$archive_cmds_need_lc_CXX" in 17600x|xyes) 17601 # Assume -lc should be added 17602 archive_cmds_need_lc_CXX=yes 17603 17604 if test "$enable_shared" = yes && test "$GCC" = yes; then 17605 case $archive_cmds_CXX in 17606 *'~'*) 17607 # FIXME: we may have to deal with multi-command sequences. 17608 ;; 17609 '$CC '*) 17610 # Test whether the compiler implicitly links with -lc since on some 17611 # systems, -lgcc has to come before -lc. If gcc already passes -lc 17612 # to ld, don't add -lc before -lgcc. 17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 17614$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 17615if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 17616 $as_echo_n "(cached) " >&6 17617else 17618 $RM conftest* 17619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 17620 17621 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 17622 (eval $ac_compile) 2>&5 17623 ac_status=$? 17624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17625 test $ac_status = 0; } 2>conftest.err; then 17626 soname=conftest 17627 lib=conftest 17628 libobjs=conftest.$ac_objext 17629 deplibs= 17630 wl=$lt_prog_compiler_wl_CXX 17631 pic_flag=$lt_prog_compiler_pic_CXX 17632 compiler_flags=-v 17633 linker_flags=-v 17634 verstring= 17635 output_objdir=. 17636 libname=conftest 17637 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 17638 allow_undefined_flag_CXX= 17639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 17640 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 17641 ac_status=$? 17642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17643 test $ac_status = 0; } 17644 then 17645 lt_cv_archive_cmds_need_lc_CXX=no 17646 else 17647 lt_cv_archive_cmds_need_lc_CXX=yes 17648 fi 17649 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 17650 else 17651 cat conftest.err 1>&5 17652 fi 17653 $RM conftest* 17654 17655fi 17656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 17657$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 17658 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 17659 ;; 17660 esac 17661 fi 17662 ;; 17663esac 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 17727$as_echo_n "checking dynamic linker characteristics... " >&6; } 17728 17729library_names_spec= 17730libname_spec='lib$name' 17731soname_spec= 17732shrext_cmds=".so" 17733postinstall_cmds= 17734postuninstall_cmds= 17735finish_cmds= 17736finish_eval= 17737shlibpath_var= 17738shlibpath_overrides_runpath=unknown 17739version_type=none 17740dynamic_linker="$host_os ld.so" 17741sys_lib_dlsearch_path_spec="/lib /usr/lib" 17742need_lib_prefix=unknown 17743hardcode_into_libs=no 17744 17745# when you set need_version to no, make sure it does not cause -set_version 17746# flags to be left without arguments 17747need_version=unknown 17748 17749case $host_os in 17750aix3*) 17751 version_type=linux # correct to gnu/linux during the next big refactor 17752 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 17753 shlibpath_var=LIBPATH 17754 17755 # AIX 3 has no versioning support, so we append a major version to the name. 17756 soname_spec='${libname}${release}${shared_ext}$major' 17757 ;; 17758 17759aix[4-9]*) 17760 version_type=linux # correct to gnu/linux during the next big refactor 17761 need_lib_prefix=no 17762 need_version=no 17763 hardcode_into_libs=yes 17764 if test "$host_cpu" = ia64; then 17765 # AIX 5 supports IA64 17766 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 17767 shlibpath_var=LD_LIBRARY_PATH 17768 else 17769 # With GCC up to 2.95.x, collect2 would create an import file 17770 # for dependence libraries. The import file would start with 17771 # the line `#! .'. This would cause the generated library to 17772 # depend on `.', always an invalid library. This was fixed in 17773 # development snapshots of GCC prior to 3.0. 17774 case $host_os in 17775 aix4 | aix4.[01] | aix4.[01].*) 17776 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 17777 echo ' yes ' 17778 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 17779 : 17780 else 17781 can_build_shared=no 17782 fi 17783 ;; 17784 esac 17785 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 17786 # soname into executable. Probably we can add versioning support to 17787 # collect2, so additional links can be useful in future. 17788 if test "$aix_use_runtimelinking" = yes; then 17789 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 17790 # instead of lib<name>.a to let people know that these are not 17791 # typical AIX shared libraries. 17792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 17793 else 17794 # We preserve .a as extension for shared libraries through AIX4.2 17795 # and later when we are not doing run time linking. 17796 library_names_spec='${libname}${release}.a $libname.a' 17797 soname_spec='${libname}${release}${shared_ext}$major' 17798 fi 17799 shlibpath_var=LIBPATH 17800 fi 17801 ;; 17802 17803amigaos*) 17804 case $host_cpu in 17805 powerpc) 17806 # Since July 2007 AmigaOS4 officially supports .so libraries. 17807 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 17808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 17809 ;; 17810 m68k) 17811 library_names_spec='$libname.ixlibrary $libname.a' 17812 # Create ${libname}_ixlibrary.a entries in /sys/libs. 17813 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' 17814 ;; 17815 esac 17816 ;; 17817 17818beos*) 17819 library_names_spec='${libname}${shared_ext}' 17820 dynamic_linker="$host_os ld.so" 17821 shlibpath_var=LIBRARY_PATH 17822 ;; 17823 17824bsdi[45]*) 17825 version_type=linux # correct to gnu/linux during the next big refactor 17826 need_version=no 17827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 17828 soname_spec='${libname}${release}${shared_ext}$major' 17829 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 17830 shlibpath_var=LD_LIBRARY_PATH 17831 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 17832 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 17833 # the default ld.so.conf also contains /usr/contrib/lib and 17834 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 17835 # libtool to hard-code these into programs 17836 ;; 17837 17838cygwin* | mingw* | pw32* | cegcc*) 17839 version_type=windows 17840 shrext_cmds=".dll" 17841 need_version=no 17842 need_lib_prefix=no 17843 17844 case $GCC,$cc_basename in 17845 yes,*) 17846 # gcc 17847 library_names_spec='$libname.dll.a' 17848 # DLL is installed to $(libdir)/../bin by postinstall_cmds 17849 postinstall_cmds='base_file=`basename \${file}`~ 17850 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 17851 dldir=$destdir/`dirname \$dlpath`~ 17852 test -d \$dldir || mkdir -p \$dldir~ 17853 $install_prog $dir/$dlname \$dldir/$dlname~ 17854 chmod a+x \$dldir/$dlname~ 17855 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 17856 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 17857 fi' 17858 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 17859 dlpath=$dir/\$dldll~ 17860 $RM \$dlpath' 17861 shlibpath_overrides_runpath=yes 17862 17863 case $host_os in 17864 cygwin*) 17865 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 17866 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 17867 17868 ;; 17869 mingw* | cegcc*) 17870 # MinGW DLLs use traditional 'lib' prefix 17871 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 17872 ;; 17873 pw32*) 17874 # pw32 DLLs use 'pw' prefix rather than 'lib' 17875 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 17876 ;; 17877 esac 17878 dynamic_linker='Win32 ld.exe' 17879 ;; 17880 17881 *,cl*) 17882 # Native MSVC 17883 libname_spec='$name' 17884 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 17885 library_names_spec='${libname}.dll.lib' 17886 17887 case $build_os in 17888 mingw*) 17889 sys_lib_search_path_spec= 17890 lt_save_ifs=$IFS 17891 IFS=';' 17892 for lt_path in $LIB 17893 do 17894 IFS=$lt_save_ifs 17895 # Let DOS variable expansion print the short 8.3 style file name. 17896 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 17897 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 17898 done 17899 IFS=$lt_save_ifs 17900 # Convert to MSYS style. 17901 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 17902 ;; 17903 cygwin*) 17904 # Convert to unix form, then to dos form, then back to unix form 17905 # but this time dos style (no spaces!) so that the unix form looks 17906 # like /cygdrive/c/PROGRA~1:/cygdr... 17907 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 17908 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 17909 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 17910 ;; 17911 *) 17912 sys_lib_search_path_spec="$LIB" 17913 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 17914 # It is most probably a Windows format PATH. 17915 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 17916 else 17917 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 17918 fi 17919 # FIXME: find the short name or the path components, as spaces are 17920 # common. (e.g. "Program Files" -> "PROGRA~1") 17921 ;; 17922 esac 17923 17924 # DLL is installed to $(libdir)/../bin by postinstall_cmds 17925 postinstall_cmds='base_file=`basename \${file}`~ 17926 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 17927 dldir=$destdir/`dirname \$dlpath`~ 17928 test -d \$dldir || mkdir -p \$dldir~ 17929 $install_prog $dir/$dlname \$dldir/$dlname' 17930 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 17931 dlpath=$dir/\$dldll~ 17932 $RM \$dlpath' 17933 shlibpath_overrides_runpath=yes 17934 dynamic_linker='Win32 link.exe' 17935 ;; 17936 17937 *) 17938 # Assume MSVC wrapper 17939 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 17940 dynamic_linker='Win32 ld.exe' 17941 ;; 17942 esac 17943 # FIXME: first we should search . and the directory the executable is in 17944 shlibpath_var=PATH 17945 ;; 17946 17947darwin* | rhapsody*) 17948 dynamic_linker="$host_os dyld" 17949 version_type=darwin 17950 need_lib_prefix=no 17951 need_version=no 17952 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 17953 soname_spec='${libname}${release}${major}$shared_ext' 17954 shlibpath_overrides_runpath=yes 17955 shlibpath_var=DYLD_LIBRARY_PATH 17956 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 17957 17958 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 17959 ;; 17960 17961dgux*) 17962 version_type=linux # correct to gnu/linux during the next big refactor 17963 need_lib_prefix=no 17964 need_version=no 17965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 17966 soname_spec='${libname}${release}${shared_ext}$major' 17967 shlibpath_var=LD_LIBRARY_PATH 17968 ;; 17969 17970freebsd* | dragonfly*) 17971 # DragonFly does not have aout. When/if they implement a new 17972 # versioning mechanism, adjust this. 17973 if test -x /usr/bin/objformat; then 17974 objformat=`/usr/bin/objformat` 17975 else 17976 case $host_os in 17977 freebsd[23].*) objformat=aout ;; 17978 *) objformat=elf ;; 17979 esac 17980 fi 17981 version_type=freebsd-$objformat 17982 case $version_type in 17983 freebsd-elf*) 17984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 17985 need_version=no 17986 need_lib_prefix=no 17987 ;; 17988 freebsd-*) 17989 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 17990 need_version=yes 17991 ;; 17992 esac 17993 shlibpath_var=LD_LIBRARY_PATH 17994 case $host_os in 17995 freebsd2.*) 17996 shlibpath_overrides_runpath=yes 17997 ;; 17998 freebsd3.[01]* | freebsdelf3.[01]*) 17999 shlibpath_overrides_runpath=yes 18000 hardcode_into_libs=yes 18001 ;; 18002 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 18003 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 18004 shlibpath_overrides_runpath=no 18005 hardcode_into_libs=yes 18006 ;; 18007 *) # from 4.6 on, and DragonFly 18008 shlibpath_overrides_runpath=yes 18009 hardcode_into_libs=yes 18010 ;; 18011 esac 18012 ;; 18013 18014gnu*) 18015 version_type=linux # correct to gnu/linux during the next big refactor 18016 need_lib_prefix=no 18017 need_version=no 18018 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 18019 soname_spec='${libname}${release}${shared_ext}$major' 18020 shlibpath_var=LD_LIBRARY_PATH 18021 shlibpath_overrides_runpath=no 18022 hardcode_into_libs=yes 18023 ;; 18024 18025haiku*) 18026 version_type=linux # correct to gnu/linux during the next big refactor 18027 need_lib_prefix=no 18028 need_version=no 18029 dynamic_linker="$host_os runtime_loader" 18030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 18031 soname_spec='${libname}${release}${shared_ext}$major' 18032 shlibpath_var=LIBRARY_PATH 18033 shlibpath_overrides_runpath=yes 18034 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 18035 hardcode_into_libs=yes 18036 ;; 18037 18038hpux9* | hpux10* | hpux11*) 18039 # Give a soname corresponding to the major version so that dld.sl refuses to 18040 # link against other versions. 18041 version_type=sunos 18042 need_lib_prefix=no 18043 need_version=no 18044 case $host_cpu in 18045 ia64*) 18046 shrext_cmds='.so' 18047 hardcode_into_libs=yes 18048 dynamic_linker="$host_os dld.so" 18049 shlibpath_var=LD_LIBRARY_PATH 18050 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 18051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18052 soname_spec='${libname}${release}${shared_ext}$major' 18053 if test "X$HPUX_IA64_MODE" = X32; then 18054 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 18055 else 18056 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 18057 fi 18058 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 18059 ;; 18060 hppa*64*) 18061 shrext_cmds='.sl' 18062 hardcode_into_libs=yes 18063 dynamic_linker="$host_os dld.sl" 18064 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 18065 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 18066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18067 soname_spec='${libname}${release}${shared_ext}$major' 18068 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 18069 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 18070 ;; 18071 *) 18072 shrext_cmds='.sl' 18073 dynamic_linker="$host_os dld.sl" 18074 shlibpath_var=SHLIB_PATH 18075 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 18076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18077 soname_spec='${libname}${release}${shared_ext}$major' 18078 ;; 18079 esac 18080 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 18081 postinstall_cmds='chmod 555 $lib' 18082 # or fails outright, so override atomically: 18083 install_override_mode=555 18084 ;; 18085 18086interix[3-9]*) 18087 version_type=linux # correct to gnu/linux during the next big refactor 18088 need_lib_prefix=no 18089 need_version=no 18090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 18091 soname_spec='${libname}${release}${shared_ext}$major' 18092 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 18093 shlibpath_var=LD_LIBRARY_PATH 18094 shlibpath_overrides_runpath=no 18095 hardcode_into_libs=yes 18096 ;; 18097 18098irix5* | irix6* | nonstopux*) 18099 case $host_os in 18100 nonstopux*) version_type=nonstopux ;; 18101 *) 18102 if test "$lt_cv_prog_gnu_ld" = yes; then 18103 version_type=linux # correct to gnu/linux during the next big refactor 18104 else 18105 version_type=irix 18106 fi ;; 18107 esac 18108 need_lib_prefix=no 18109 need_version=no 18110 soname_spec='${libname}${release}${shared_ext}$major' 18111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 18112 case $host_os in 18113 irix5* | nonstopux*) 18114 libsuff= shlibsuff= 18115 ;; 18116 *) 18117 case $LD in # libtool.m4 will add one of these switches to LD 18118 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 18119 libsuff= shlibsuff= libmagic=32-bit;; 18120 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 18121 libsuff=32 shlibsuff=N32 libmagic=N32;; 18122 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 18123 libsuff=64 shlibsuff=64 libmagic=64-bit;; 18124 *) libsuff= shlibsuff= libmagic=never-match;; 18125 esac 18126 ;; 18127 esac 18128 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 18129 shlibpath_overrides_runpath=no 18130 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 18131 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 18132 hardcode_into_libs=yes 18133 ;; 18134 18135# No shared lib support for Linux oldld, aout, or coff. 18136linux*oldld* | linux*aout* | linux*coff*) 18137 dynamic_linker=no 18138 ;; 18139 18140# This must be glibc/ELF. 18141linux* | k*bsd*-gnu | kopensolaris*-gnu) 18142 version_type=linux # correct to gnu/linux during the next big refactor 18143 need_lib_prefix=no 18144 need_version=no 18145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18146 soname_spec='${libname}${release}${shared_ext}$major' 18147 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 18148 shlibpath_var=LD_LIBRARY_PATH 18149 shlibpath_overrides_runpath=no 18150 18151 # Some binutils ld are patched to set DT_RUNPATH 18152 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 18153 $as_echo_n "(cached) " >&6 18154else 18155 lt_cv_shlibpath_overrides_runpath=no 18156 save_LDFLAGS=$LDFLAGS 18157 save_libdir=$libdir 18158 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 18159 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 18160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18161/* end confdefs.h. */ 18162 18163int 18164main () 18165{ 18166 18167 ; 18168 return 0; 18169} 18170_ACEOF 18171if ac_fn_cxx_try_link "$LINENO"; then : 18172 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 18173 lt_cv_shlibpath_overrides_runpath=yes 18174fi 18175fi 18176rm -f core conftest.err conftest.$ac_objext \ 18177 conftest$ac_exeext conftest.$ac_ext 18178 LDFLAGS=$save_LDFLAGS 18179 libdir=$save_libdir 18180 18181fi 18182 18183 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 18184 18185 # This implies no fast_install, which is unacceptable. 18186 # Some rework will be needed to allow for fast_install 18187 # before this can be enabled. 18188 hardcode_into_libs=yes 18189 18190 # Add ABI-specific directories to the system library path. 18191 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 18192 18193 # Append ld.so.conf contents to the search path 18194 if test -f /etc/ld.so.conf; then 18195 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' ' '` 18196 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 18197 18198 fi 18199 18200 # We used to test for /lib/ld.so.1 and disable shared libraries on 18201 # powerpc, because MkLinux only supported shared libraries with the 18202 # GNU dynamic linker. Since this was broken with cross compilers, 18203 # most powerpc-linux boxes support dynamic linking these days and 18204 # people can always --disable-shared, the test was removed, and we 18205 # assume the GNU/Linux dynamic linker is in use. 18206 dynamic_linker='GNU/Linux ld.so' 18207 ;; 18208 18209netbsd*) 18210 version_type=sunos 18211 need_lib_prefix=no 18212 need_version=no 18213 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 18214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 18215 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 18216 dynamic_linker='NetBSD (a.out) ld.so' 18217 else 18218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 18219 soname_spec='${libname}${release}${shared_ext}$major' 18220 dynamic_linker='NetBSD ld.elf_so' 18221 fi 18222 shlibpath_var=LD_LIBRARY_PATH 18223 shlibpath_overrides_runpath=yes 18224 hardcode_into_libs=yes 18225 ;; 18226 18227newsos6) 18228 version_type=linux # correct to gnu/linux during the next big refactor 18229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18230 shlibpath_var=LD_LIBRARY_PATH 18231 shlibpath_overrides_runpath=yes 18232 ;; 18233 18234*nto* | *qnx*) 18235 version_type=qnx 18236 need_lib_prefix=no 18237 need_version=no 18238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18239 soname_spec='${libname}${release}${shared_ext}$major' 18240 shlibpath_var=LD_LIBRARY_PATH 18241 shlibpath_overrides_runpath=no 18242 hardcode_into_libs=yes 18243 dynamic_linker='ldqnx.so' 18244 ;; 18245 18246openbsd*) 18247 version_type=sunos 18248 sys_lib_dlsearch_path_spec="/usr/lib" 18249 need_lib_prefix=no 18250 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 18251 case $host_os in 18252 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 18253 *) need_version=no ;; 18254 esac 18255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 18256 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 18257 shlibpath_var=LD_LIBRARY_PATH 18258 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 18259 case $host_os in 18260 openbsd2.[89] | openbsd2.[89].*) 18261 shlibpath_overrides_runpath=no 18262 ;; 18263 *) 18264 shlibpath_overrides_runpath=yes 18265 ;; 18266 esac 18267 else 18268 shlibpath_overrides_runpath=yes 18269 fi 18270 ;; 18271 18272os2*) 18273 libname_spec='$name' 18274 shrext_cmds=".dll" 18275 need_lib_prefix=no 18276 library_names_spec='$libname${shared_ext} $libname.a' 18277 dynamic_linker='OS/2 ld.exe' 18278 shlibpath_var=LIBPATH 18279 ;; 18280 18281osf3* | osf4* | osf5*) 18282 version_type=osf 18283 need_lib_prefix=no 18284 need_version=no 18285 soname_spec='${libname}${release}${shared_ext}$major' 18286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18287 shlibpath_var=LD_LIBRARY_PATH 18288 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 18289 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 18290 ;; 18291 18292rdos*) 18293 dynamic_linker=no 18294 ;; 18295 18296solaris*) 18297 version_type=linux # correct to gnu/linux during the next big refactor 18298 need_lib_prefix=no 18299 need_version=no 18300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18301 soname_spec='${libname}${release}${shared_ext}$major' 18302 shlibpath_var=LD_LIBRARY_PATH 18303 shlibpath_overrides_runpath=yes 18304 hardcode_into_libs=yes 18305 # ldd complains unless libraries are executable 18306 postinstall_cmds='chmod +x $lib' 18307 ;; 18308 18309sunos4*) 18310 version_type=sunos 18311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 18312 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 18313 shlibpath_var=LD_LIBRARY_PATH 18314 shlibpath_overrides_runpath=yes 18315 if test "$with_gnu_ld" = yes; then 18316 need_lib_prefix=no 18317 fi 18318 need_version=yes 18319 ;; 18320 18321sysv4 | sysv4.3*) 18322 version_type=linux # correct to gnu/linux during the next big refactor 18323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18324 soname_spec='${libname}${release}${shared_ext}$major' 18325 shlibpath_var=LD_LIBRARY_PATH 18326 case $host_vendor in 18327 sni) 18328 shlibpath_overrides_runpath=no 18329 need_lib_prefix=no 18330 runpath_var=LD_RUN_PATH 18331 ;; 18332 siemens) 18333 need_lib_prefix=no 18334 ;; 18335 motorola) 18336 need_lib_prefix=no 18337 need_version=no 18338 shlibpath_overrides_runpath=no 18339 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 18340 ;; 18341 esac 18342 ;; 18343 18344sysv4*MP*) 18345 if test -d /usr/nec ;then 18346 version_type=linux # correct to gnu/linux during the next big refactor 18347 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 18348 soname_spec='$libname${shared_ext}.$major' 18349 shlibpath_var=LD_LIBRARY_PATH 18350 fi 18351 ;; 18352 18353sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 18354 version_type=freebsd-elf 18355 need_lib_prefix=no 18356 need_version=no 18357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 18358 soname_spec='${libname}${release}${shared_ext}$major' 18359 shlibpath_var=LD_LIBRARY_PATH 18360 shlibpath_overrides_runpath=yes 18361 hardcode_into_libs=yes 18362 if test "$with_gnu_ld" = yes; then 18363 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 18364 else 18365 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 18366 case $host_os in 18367 sco3.2v5*) 18368 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 18369 ;; 18370 esac 18371 fi 18372 sys_lib_dlsearch_path_spec='/usr/lib' 18373 ;; 18374 18375tpf*) 18376 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 18377 version_type=linux # correct to gnu/linux during the next big refactor 18378 need_lib_prefix=no 18379 need_version=no 18380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18381 shlibpath_var=LD_LIBRARY_PATH 18382 shlibpath_overrides_runpath=no 18383 hardcode_into_libs=yes 18384 ;; 18385 18386uts4*) 18387 version_type=linux # correct to gnu/linux during the next big refactor 18388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18389 soname_spec='${libname}${release}${shared_ext}$major' 18390 shlibpath_var=LD_LIBRARY_PATH 18391 ;; 18392 18393*) 18394 dynamic_linker=no 18395 ;; 18396esac 18397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 18398$as_echo "$dynamic_linker" >&6; } 18399test "$dynamic_linker" = no && can_build_shared=no 18400 18401variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 18402if test "$GCC" = yes; then 18403 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 18404fi 18405 18406if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 18407 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 18408fi 18409if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 18410 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 18411fi 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 18451$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 18452hardcode_action_CXX= 18453if test -n "$hardcode_libdir_flag_spec_CXX" || 18454 test -n "$runpath_var_CXX" || 18455 test "X$hardcode_automatic_CXX" = "Xyes" ; then 18456 18457 # We can hardcode non-existent directories. 18458 if test "$hardcode_direct_CXX" != no && 18459 # If the only mechanism to avoid hardcoding is shlibpath_var, we 18460 # have to relink, otherwise we might link with an installed library 18461 # when we should be linking with a yet-to-be-installed one 18462 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 18463 test "$hardcode_minus_L_CXX" != no; then 18464 # Linking always hardcodes the temporary library directory. 18465 hardcode_action_CXX=relink 18466 else 18467 # We can link without hardcoding, and we can hardcode nonexisting dirs. 18468 hardcode_action_CXX=immediate 18469 fi 18470else 18471 # We cannot hardcode anything, or else we can only hardcode existing 18472 # directories. 18473 hardcode_action_CXX=unsupported 18474fi 18475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 18476$as_echo "$hardcode_action_CXX" >&6; } 18477 18478if test "$hardcode_action_CXX" = relink || 18479 test "$inherit_rpath_CXX" = yes; then 18480 # Fast installation is not supported 18481 enable_fast_install=no 18482elif test "$shlibpath_overrides_runpath" = yes || 18483 test "$enable_shared" = no; then 18484 # Fast installation is not necessary 18485 enable_fast_install=needless 18486fi 18487 18488 18489 18490 18491 18492 18493 18494 fi # test -n "$compiler" 18495 18496 CC=$lt_save_CC 18497 CFLAGS=$lt_save_CFLAGS 18498 LDCXX=$LD 18499 LD=$lt_save_LD 18500 GCC=$lt_save_GCC 18501 with_gnu_ld=$lt_save_with_gnu_ld 18502 lt_cv_path_LDCXX=$lt_cv_path_LD 18503 lt_cv_path_LD=$lt_save_path_LD 18504 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 18505 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 18506fi # test "$_lt_caught_CXX_error" != yes 18507 18508ac_ext=c 18509ac_cpp='$CPP $CPPFLAGS' 18510ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18511ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18512ac_compiler_gnu=$ac_cv_c_compiler_gnu 18513 18514 18515ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> 18516#include <$ac_cv_struct_tm> 18517 18518" 18519if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then : 18520 18521cat >>confdefs.h <<_ACEOF 18522#define HAVE_STRUCT_TM_TM_ZONE 1 18523_ACEOF 18524 18525 18526fi 18527 18528if test "$ac_cv_member_struct_tm_tm_zone" = yes; then 18529 18530$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h 18531 18532else 18533 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 18534" 18535if test "x$ac_cv_have_decl_tzname" = xyes; then : 18536 ac_have_decl=1 18537else 18538 ac_have_decl=0 18539fi 18540 18541cat >>confdefs.h <<_ACEOF 18542#define HAVE_DECL_TZNAME $ac_have_decl 18543_ACEOF 18544 18545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 18546$as_echo_n "checking for tzname... " >&6; } 18547if ${ac_cv_var_tzname+:} false; then : 18548 $as_echo_n "(cached) " >&6 18549else 18550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18551/* end confdefs.h. */ 18552#include <time.h> 18553#if !HAVE_DECL_TZNAME 18554extern char *tzname[]; 18555#endif 18556 18557int 18558main () 18559{ 18560return tzname[0][0]; 18561 ; 18562 return 0; 18563} 18564_ACEOF 18565if ac_fn_c_try_link "$LINENO"; then : 18566 ac_cv_var_tzname=yes 18567else 18568 ac_cv_var_tzname=no 18569fi 18570rm -f core conftest.err conftest.$ac_objext \ 18571 conftest$ac_exeext conftest.$ac_ext 18572fi 18573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 18574$as_echo "$ac_cv_var_tzname" >&6; } 18575 if test $ac_cv_var_tzname = yes; then 18576 18577$as_echo "#define HAVE_TZNAME 1" >>confdefs.h 18578 18579 fi 18580fi 18581 18582ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" 18583case $ac_cv_c_int16_t in #( 18584 no|yes) ;; #( 18585 *) 18586 18587cat >>confdefs.h <<_ACEOF 18588#define int16_t $ac_cv_c_int16_t 18589_ACEOF 18590;; 18591esac 18592 18593ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" 18594case $ac_cv_c_int32_t in #( 18595 no|yes) ;; #( 18596 *) 18597 18598cat >>confdefs.h <<_ACEOF 18599#define int32_t $ac_cv_c_int32_t 18600_ACEOF 18601;; 18602esac 18603 18604ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" 18605case $ac_cv_c_int64_t in #( 18606 no|yes) ;; #( 18607 *) 18608 18609cat >>confdefs.h <<_ACEOF 18610#define int64_t $ac_cv_c_int64_t 18611_ACEOF 18612;; 18613esac 18614 18615ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t" 18616case $ac_cv_c_int8_t in #( 18617 no|yes) ;; #( 18618 *) 18619 18620cat >>confdefs.h <<_ACEOF 18621#define int8_t $ac_cv_c_int8_t 18622_ACEOF 18623;; 18624esac 18625 18626ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 18627if test "x$ac_cv_type_off_t" = xyes; then : 18628 18629else 18630 18631cat >>confdefs.h <<_ACEOF 18632#define off_t long int 18633_ACEOF 18634 18635fi 18636 18637ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" 18638if test "x$ac_cv_type_ssize_t" = xyes; then : 18639 18640else 18641 18642cat >>confdefs.h <<_ACEOF 18643#define ssize_t int 18644_ACEOF 18645 18646fi 18647 18648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 18649$as_echo_n "checking for uid_t in sys/types.h... " >&6; } 18650if ${ac_cv_type_uid_t+:} false; then : 18651 $as_echo_n "(cached) " >&6 18652else 18653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18654/* end confdefs.h. */ 18655#include <sys/types.h> 18656 18657_ACEOF 18658if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18659 $EGREP "uid_t" >/dev/null 2>&1; then : 18660 ac_cv_type_uid_t=yes 18661else 18662 ac_cv_type_uid_t=no 18663fi 18664rm -f conftest* 18665 18666fi 18667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 18668$as_echo "$ac_cv_type_uid_t" >&6; } 18669if test $ac_cv_type_uid_t = no; then 18670 18671$as_echo "#define uid_t int" >>confdefs.h 18672 18673 18674$as_echo "#define gid_t int" >>confdefs.h 18675 18676fi 18677 18678ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" 18679case $ac_cv_c_uint16_t in #( 18680 no|yes) ;; #( 18681 *) 18682 18683 18684cat >>confdefs.h <<_ACEOF 18685#define uint16_t $ac_cv_c_uint16_t 18686_ACEOF 18687;; 18688 esac 18689 18690ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" 18691case $ac_cv_c_uint32_t in #( 18692 no|yes) ;; #( 18693 *) 18694 18695$as_echo "#define _UINT32_T 1" >>confdefs.h 18696 18697 18698cat >>confdefs.h <<_ACEOF 18699#define uint32_t $ac_cv_c_uint32_t 18700_ACEOF 18701;; 18702 esac 18703 18704ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" 18705case $ac_cv_c_uint64_t in #( 18706 no|yes) ;; #( 18707 *) 18708 18709$as_echo "#define _UINT64_T 1" >>confdefs.h 18710 18711 18712cat >>confdefs.h <<_ACEOF 18713#define uint64_t $ac_cv_c_uint64_t 18714_ACEOF 18715;; 18716 esac 18717 18718ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" 18719case $ac_cv_c_uint8_t in #( 18720 no|yes) ;; #( 18721 *) 18722 18723$as_echo "#define _UINT8_T 1" >>confdefs.h 18724 18725 18726cat >>confdefs.h <<_ACEOF 18727#define uint8_t $ac_cv_c_uint8_t 18728_ACEOF 18729;; 18730 esac 18731 18732 18733for ac_header in sys/select.h sys/socket.h 18734do : 18735 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18736ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 18737if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 18738 cat >>confdefs.h <<_ACEOF 18739#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18740_ACEOF 18741 18742fi 18743 18744done 18745 18746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5 18747$as_echo_n "checking types of arguments for select... " >&6; } 18748if ${ac_cv_func_select_args+:} false; then : 18749 $as_echo_n "(cached) " >&6 18750else 18751 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do 18752 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do 18753 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do 18754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18755/* end confdefs.h. */ 18756$ac_includes_default 18757#ifdef HAVE_SYS_SELECT_H 18758# include <sys/select.h> 18759#endif 18760#ifdef HAVE_SYS_SOCKET_H 18761# include <sys/socket.h> 18762#endif 18763 18764int 18765main () 18766{ 18767extern int select ($ac_arg1, 18768 $ac_arg234, $ac_arg234, $ac_arg234, 18769 $ac_arg5); 18770 ; 18771 return 0; 18772} 18773_ACEOF 18774if ac_fn_c_try_compile "$LINENO"; then : 18775 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 18776fi 18777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18778 done 18779 done 18780done 18781# Provide a safe default value. 18782: "${ac_cv_func_select_args=int,int *,struct timeval *}" 18783 18784fi 18785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5 18786$as_echo "$ac_cv_func_select_args" >&6; } 18787ac_save_IFS=$IFS; IFS=',' 18788set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` 18789IFS=$ac_save_IFS 18790shift 18791 18792cat >>confdefs.h <<_ACEOF 18793#define SELECT_TYPE_ARG1 $1 18794_ACEOF 18795 18796 18797cat >>confdefs.h <<_ACEOF 18798#define SELECT_TYPE_ARG234 ($2) 18799_ACEOF 18800 18801 18802cat >>confdefs.h <<_ACEOF 18803#define SELECT_TYPE_ARG5 ($3) 18804_ACEOF 18805 18806rm -f conftest* 18807 18808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 18809$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } 18810if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then : 18811 $as_echo_n "(cached) " >&6 18812else 18813 rm -f conftest.sym conftest.file 18814echo >conftest.file 18815if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then 18816 if test "$cross_compiling" = yes; then : 18817 ac_cv_func_lstat_dereferences_slashed_symlink=no 18818else 18819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18820/* end confdefs.h. */ 18821$ac_includes_default 18822int 18823main () 18824{ 18825struct stat sbuf; 18826 /* Linux will dereference the symlink and fail, as required by POSIX. 18827 That is better in the sense that it means we will not 18828 have to compile and use the lstat wrapper. */ 18829 return lstat ("conftest.sym/", &sbuf) == 0; 18830 ; 18831 return 0; 18832} 18833_ACEOF 18834if ac_fn_c_try_run "$LINENO"; then : 18835 ac_cv_func_lstat_dereferences_slashed_symlink=yes 18836else 18837 ac_cv_func_lstat_dereferences_slashed_symlink=no 18838fi 18839rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18840 conftest.$ac_objext conftest.beam conftest.$ac_ext 18841fi 18842 18843else 18844 # If the `ln -s' command failed, then we probably don't even 18845 # have an lstat function. 18846 ac_cv_func_lstat_dereferences_slashed_symlink=no 18847fi 18848rm -f conftest.sym conftest.file 18849 18850fi 18851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 18852$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } 18853 18854test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && 18855 18856cat >>confdefs.h <<_ACEOF 18857#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 18858_ACEOF 18859 18860 18861if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then 18862 case " $LIBOBJS " in 18863 *" lstat.$ac_objext "* ) ;; 18864 *) LIBOBJS="$LIBOBJS lstat.$ac_objext" 18865 ;; 18866esac 18867 18868fi 18869 18870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5 18871$as_echo_n "checking whether stat accepts an empty string... " >&6; } 18872if ${ac_cv_func_stat_empty_string_bug+:} false; then : 18873 $as_echo_n "(cached) " >&6 18874else 18875 if test "$cross_compiling" = yes; then : 18876 ac_cv_func_stat_empty_string_bug=yes 18877else 18878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18879/* end confdefs.h. */ 18880$ac_includes_default 18881int 18882main () 18883{ 18884struct stat sbuf; 18885 return stat ("", &sbuf) == 0; 18886 ; 18887 return 0; 18888} 18889_ACEOF 18890if ac_fn_c_try_run "$LINENO"; then : 18891 ac_cv_func_stat_empty_string_bug=no 18892else 18893 ac_cv_func_stat_empty_string_bug=yes 18894fi 18895rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18896 conftest.$ac_objext conftest.beam conftest.$ac_ext 18897fi 18898 18899fi 18900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5 18901$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; } 18902if test $ac_cv_func_stat_empty_string_bug = yes; then 18903 case " $LIBOBJS " in 18904 *" stat.$ac_objext "* ) ;; 18905 *) LIBOBJS="$LIBOBJS stat.$ac_objext" 18906 ;; 18907esac 18908 18909 18910cat >>confdefs.h <<_ACEOF 18911#define HAVE_STAT_EMPTY_STRING_BUG 1 18912_ACEOF 18913 18914fi 18915 18916 18917# Check whether --enable-largefile was given. 18918if test "${enable_largefile+set}" = set; then : 18919 enableval=$enable_largefile; 18920fi 18921 18922if test "$enable_largefile" != no; then 18923 18924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 18925$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 18926if ${ac_cv_sys_largefile_CC+:} false; then : 18927 $as_echo_n "(cached) " >&6 18928else 18929 ac_cv_sys_largefile_CC=no 18930 if test "$GCC" != yes; then 18931 ac_save_CC=$CC 18932 while :; do 18933 # IRIX 6.2 and later do not support large files by default, 18934 # so use the C compiler's -n32 option if that helps. 18935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18936/* end confdefs.h. */ 18937#include <sys/types.h> 18938 /* Check that off_t can represent 2**63 - 1 correctly. 18939 We can't simply define LARGE_OFF_T to be 9223372036854775807, 18940 since some C++ compilers masquerading as C compilers 18941 incorrectly reject 9223372036854775807. */ 18942#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 18943 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 18944 && LARGE_OFF_T % 2147483647 == 1) 18945 ? 1 : -1]; 18946int 18947main () 18948{ 18949 18950 ; 18951 return 0; 18952} 18953_ACEOF 18954 if ac_fn_c_try_compile "$LINENO"; then : 18955 break 18956fi 18957rm -f core conftest.err conftest.$ac_objext 18958 CC="$CC -n32" 18959 if ac_fn_c_try_compile "$LINENO"; then : 18960 ac_cv_sys_largefile_CC=' -n32'; break 18961fi 18962rm -f core conftest.err conftest.$ac_objext 18963 break 18964 done 18965 CC=$ac_save_CC 18966 rm -f conftest.$ac_ext 18967 fi 18968fi 18969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 18970$as_echo "$ac_cv_sys_largefile_CC" >&6; } 18971 if test "$ac_cv_sys_largefile_CC" != no; then 18972 CC=$CC$ac_cv_sys_largefile_CC 18973 fi 18974 18975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 18976$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 18977if ${ac_cv_sys_file_offset_bits+:} false; then : 18978 $as_echo_n "(cached) " >&6 18979else 18980 while :; do 18981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18982/* end confdefs.h. */ 18983#include <sys/types.h> 18984 /* Check that off_t can represent 2**63 - 1 correctly. 18985 We can't simply define LARGE_OFF_T to be 9223372036854775807, 18986 since some C++ compilers masquerading as C compilers 18987 incorrectly reject 9223372036854775807. */ 18988#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 18989 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 18990 && LARGE_OFF_T % 2147483647 == 1) 18991 ? 1 : -1]; 18992int 18993main () 18994{ 18995 18996 ; 18997 return 0; 18998} 18999_ACEOF 19000if ac_fn_c_try_compile "$LINENO"; then : 19001 ac_cv_sys_file_offset_bits=no; break 19002fi 19003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19005/* end confdefs.h. */ 19006#define _FILE_OFFSET_BITS 64 19007#include <sys/types.h> 19008 /* Check that off_t can represent 2**63 - 1 correctly. 19009 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19010 since some C++ compilers masquerading as C compilers 19011 incorrectly reject 9223372036854775807. */ 19012#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19013 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19014 && LARGE_OFF_T % 2147483647 == 1) 19015 ? 1 : -1]; 19016int 19017main () 19018{ 19019 19020 ; 19021 return 0; 19022} 19023_ACEOF 19024if ac_fn_c_try_compile "$LINENO"; then : 19025 ac_cv_sys_file_offset_bits=64; break 19026fi 19027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19028 ac_cv_sys_file_offset_bits=unknown 19029 break 19030done 19031fi 19032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 19033$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 19034case $ac_cv_sys_file_offset_bits in #( 19035 no | unknown) ;; 19036 *) 19037cat >>confdefs.h <<_ACEOF 19038#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 19039_ACEOF 19040;; 19041esac 19042rm -rf conftest* 19043 if test $ac_cv_sys_file_offset_bits = unknown; then 19044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 19045$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 19046if ${ac_cv_sys_large_files+:} false; then : 19047 $as_echo_n "(cached) " >&6 19048else 19049 while :; do 19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19051/* end confdefs.h. */ 19052#include <sys/types.h> 19053 /* Check that off_t can represent 2**63 - 1 correctly. 19054 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19055 since some C++ compilers masquerading as C compilers 19056 incorrectly reject 9223372036854775807. */ 19057#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19058 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19059 && LARGE_OFF_T % 2147483647 == 1) 19060 ? 1 : -1]; 19061int 19062main () 19063{ 19064 19065 ; 19066 return 0; 19067} 19068_ACEOF 19069if ac_fn_c_try_compile "$LINENO"; then : 19070 ac_cv_sys_large_files=no; break 19071fi 19072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19074/* end confdefs.h. */ 19075#define _LARGE_FILES 1 19076#include <sys/types.h> 19077 /* Check that off_t can represent 2**63 - 1 correctly. 19078 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19079 since some C++ compilers masquerading as C compilers 19080 incorrectly reject 9223372036854775807. */ 19081#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19083 && LARGE_OFF_T % 2147483647 == 1) 19084 ? 1 : -1]; 19085int 19086main () 19087{ 19088 19089 ; 19090 return 0; 19091} 19092_ACEOF 19093if ac_fn_c_try_compile "$LINENO"; then : 19094 ac_cv_sys_large_files=1; break 19095fi 19096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19097 ac_cv_sys_large_files=unknown 19098 break 19099done 19100fi 19101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 19102$as_echo "$ac_cv_sys_large_files" >&6; } 19103case $ac_cv_sys_large_files in #( 19104 no | unknown) ;; 19105 *) 19106cat >>confdefs.h <<_ACEOF 19107#define _LARGE_FILES $ac_cv_sys_large_files 19108_ACEOF 19109;; 19110esac 19111rm -rf conftest* 19112 fi 19113 19114 19115fi 19116 19117 19118 19119 19120 19121 19122if [ $ac_os_workaround_done -eq 0 ] 19123then 19124 19125ac_os_workaround_done=1 19126 19127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what kind of OS this is" >&5 19128$as_echo_n "checking what kind of OS this is... " >&6; } 19129 19130is_darwin_os=0 19131is_bsd_family=0 19132is_solaris_family=0 19133is_linux_family=0 19134 19135case "$(uname -s)" in 19136 Darwin) 19137 is_darwin_os=1 19138 is_bsd_family=1 19139 osx_version_major=$(uname -r|sed 's/\..*//') 19140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OSX $osx_version_major" >&5 19141$as_echo "OSX $osx_version_major" >&6; } 19142 CFLAGS="$CFLAGS -D__APPLE_USE_RFC_3542=1" 19143 ;; 19144 FreeBSD|DragonFly) 19145 is_bsd_family=1 19146 19147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: BSD" >&5 19148$as_echo "BSD" >&6; } 19149 ;; 19150 Linux) 19151 is_linux_family=1 19152 19153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5 19154$as_echo "Linux" >&6; } 19155 ;; 19156 SunOS) 19157 is_solaris_family=1 19158 19159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SunOS" >&5 19160$as_echo "SunOS" >&6; } 19161 ;; 19162 *) 19163 19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not specifically supported" >&5 19165$as_echo "not specifically supported" >&6; } 19166 ;; 19167esac 19168 19169if [ "$is_darwin_os" = "" ] 19170then 19171 echo "OS detection failed to give relevant results" 19172 exit 1; 19173fi 19174 19175if [ $is_darwin_os -ne 0 ] 19176then 19177 19178cat >>confdefs.h <<_ACEOF 19179#define IS_DARWIN_OS 1 19180_ACEOF 19181 19182 is_darwin_os_txt="yes" 19183 if [ $osx_version_major -ge 14 ] 19184 then 19185 osx_version_major_ge14="yes" 19186 else 19187 osx_version_major_ge14="no" 19188 fi 19189else 19190 19191cat >>confdefs.h <<_ACEOF 19192#define IS_DARWIN_OS 0 19193_ACEOF 19194 19195 is_darwin_os_txt="no" 19196 osx_version_major_ge14="no" 19197fi 19198 19199 if test "y$isdarwin_os_txt" == "yyes"; then 19200 IS_DARWIN_OS_TRUE= 19201 IS_DARWIN_OS_FALSE='#' 19202else 19203 IS_DARWIN_OS_TRUE='#' 19204 IS_DARWIN_OS_FALSE= 19205fi 19206 19207 if test "y$osx_version_major_ge14" == "yyes"; then 19208 IS_DARWIN_GE14_TRUE= 19209 IS_DARWIN_GE14_FALSE='#' 19210else 19211 IS_DARWIN_GE14_TRUE='#' 19212 IS_DARWIN_GE14_FALSE= 19213fi 19214 19215 19216 19217 19218if [ $is_bsd_family -ne 0 ] 19219then 19220 is_bsd_family_txt="yes" 19221 19222cat >>confdefs.h <<_ACEOF 19223#define IS_BSD_FAMILY 1 19224_ACEOF 19225 19226else 19227 is_bsd_family_txt="no" 19228 19229cat >>confdefs.h <<_ACEOF 19230#define IS_BSD_FAMILY 0 19231_ACEOF 19232 19233fi 19234 if test "y$is_bsd_family_txt" == "yyes"; then 19235 IS_BSD_FAMILY_TRUE= 19236 IS_BSD_FAMILY_FALSE='#' 19237else 19238 IS_BSD_FAMILY_TRUE='#' 19239 IS_BSD_FAMILY_FALSE= 19240fi 19241 19242 19243 19244 19245if [ $is_linux_family -ne 0 ] 19246then 19247 is_linux_family_txt="yes" 19248 19249cat >>confdefs.h <<_ACEOF 19250#define IS_LINUX_FAMILY 1 19251_ACEOF 19252 19253else 19254 is_linux_family_txt="no" 19255 19256cat >>confdefs.h <<_ACEOF 19257#define IS_LINUX_FAMILY 0 19258_ACEOF 19259 19260fi 19261 if test "y$is_linux_family_txt" == "yyes"; then 19262 IS_LINUX_FAMILY_TRUE= 19263 IS_LINUX_FAMILY_FALSE='#' 19264else 19265 IS_LINUX_FAMILY_TRUE='#' 19266 IS_LINUX_FAMILY_FALSE= 19267fi 19268 19269 19270 19271 19272if [ $is_solaris_family -ne 0 ] 19273then 19274 is_solaris_family_txt="yes" 19275 19276cat >>confdefs.h <<_ACEOF 19277#define IS_SOLARIS_FAMILY 1 19278_ACEOF 19279 19280else 19281 is_solaris_family_txt="no" 19282 19283cat >>confdefs.h <<_ACEOF 19284#define IS_SOLARIS_FAMILY 0 19285_ACEOF 19286 19287fi 19288 if test "y$is_solaris_family_txt" == "yyes"; then 19289 IS_SOLARIS_FAMILY_TRUE= 19290 IS_SOLARIS_FAMILY_FALSE='#' 19291else 19292 IS_SOLARIS_FAMILY_TRUE='#' 19293 IS_SOLARIS_FAMILY_FALSE= 19294fi 19295 19296 19297 19298 19299fi 19300 19301 19302 19303 19304 19305 19306cat >>confdefs.h <<_ACEOF 19307#define DEFAULT_ASSUMED_CPU_COUNT 2 19308_ACEOF 19309 19310 19311cpu_intel_compatible=1 19312 19313 19314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the CPU options" >&5 19315$as_echo_n "checking for the CPU options... " >&6; } 19316cpu_unknown=1 19317has_cpu_niagara=0 19318has_cpu_amdintel=0 19319 19320CFLAGS3264= 19321case "$(uname -i 2>/dev/null)" in 19322 SUNW,SPARC-Enterprise-T1000) 19323 19324cat >>confdefs.h <<_ACEOF 19325#define HAS_CPU_NIAGARA 1 19326_ACEOF 19327 19328 has_cpu_niagara=1 19329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: UtrasparcT1" >&5 19330$as_echo "UtrasparcT1" >&6; } 19331 CFLAGS3264=-m64 19332 cpu_unknown=0 19333 cpu_intel_compatible=0 19334 ;; 19335 *) 19336 ;; 19337esac 19338 19339 19340if test "x$host_cpu" = xx86_64; then : 19341 19342 19343cat >>confdefs.h <<_ACEOF 19344#define HAS_CPU_AMDINTEL 1 19345_ACEOF 19346 19347 if true; then 19348 HAS_CPU_AMDINTEL_TRUE= 19349 HAS_CPU_AMDINTEL_FALSE='#' 19350else 19351 HAS_CPU_AMDINTEL_TRUE='#' 19352 HAS_CPU_AMDINTEL_FALSE= 19353fi 19354 19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: AMD/Intel ($host)" >&5 19356$as_echo "AMD/Intel ($host)" >&6; } 19357 if test "x$host" = "xx86_64-linux-gnux32"; then : 19358 19359else 19360 CFLAGS3264=-m64 19361fi 19362 CPU_UNKNOWN=0 19363 cpu_intel_compatible=1 19364 19365fi 19366 19367case "${cpu_unknown}" in 19368 1) 19369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5 19370$as_echo "generic" >&6; } 19371 ;; 19372 0) 19373 ;; 19374esac 19375 19376 if test $has_cpu_niagara -eq 1; then 19377 HAS_CPU_NIAGARA_TRUE= 19378 HAS_CPU_NIAGARA_FALSE='#' 19379else 19380 HAS_CPU_NIAGARA_TRUE='#' 19381 HAS_CPU_NIAGARA_FALSE= 19382fi 19383 19384 if test $has_cpu_amdintel -eq 1; then 19385 HAS_CPU_AMDINTEL_TRUE= 19386 HAS_CPU_AMDINTEL_FALSE='#' 19387else 19388 HAS_CPU_AMDINTEL_TRUE='#' 19389 HAS_CPU_AMDINTEL_FALSE= 19390fi 19391 19392 19393if [ "$is_solaris_family" = "" ] 19394then 19395 echo "OS must be detected first" 19396 exit 1 19397fi 19398 19399if [ $is_solaris_family -eq 1 ] 19400then 19401 echo "Solaris ..." 19402 19403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if either force 32 or 64 bits is enabled" >&5 19404$as_echo_n "checking if either force 32 or 64 bits is enabled... " >&6; } 19405 if [ ! "$enable_force32bits" = "yes" ] 19406 then 19407 if [ ! "$enable_force64bits" = "yes" ] 19408 then 19409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, forcing 64 bits" >&5 19410$as_echo "no, forcing 64 bits" >&6; } 19411 enable_force64bits="yes" 19412 else 19413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19414$as_echo "yes" >&6; } 19415 fi 19416 else 19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19418$as_echo "yes" >&6; } 19419 fi 19420else 19421 echo "Not Solaris ..." 19422fi 19423 19424echo "Force ..." 19425 19426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if force 32 bits is enabled" >&5 19427$as_echo_n "checking if force 32 bits is enabled... " >&6; } 19428# Check whether --enable-force32bits was given. 19429if test "${enable_force32bits+set}" = set; then : 19430 enableval=$enable_force32bits; enable_force32bits=yes 19431else 19432 enable_force32bits=no 19433fi 19434 19435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_force32bits" >&5 19436$as_echo "$enable_force32bits" >&6; } 19437case "$enable_force32bits" in 19438 yes) 19439 CFLAGS3264=-m32 19440 ;; 19441 *) 19442 ;; 19443esac 19444 19445 if test "y$enable_force32bits" == "yyes"; then 19446 FORCE32BITS_TRUE= 19447 FORCE32BITS_FALSE='#' 19448else 19449 FORCE32BITS_TRUE='#' 19450 FORCE32BITS_FALSE= 19451fi 19452 19453 19454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if force 64 bits is enabled" >&5 19455$as_echo_n "checking if force 64 bits is enabled... " >&6; } 19456# Check whether --enable-force64bits was given. 19457if test "${enable_force64bits+set}" = set; then : 19458 enableval=$enable_force64bits; enable_force64bits=yes 19459else 19460 enable_force64bits=no 19461fi 19462 19463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_force64bits" >&5 19464$as_echo "$enable_force64bits" >&6; } 19465case "$enable_force64bits" in 19466 yes) 19467 CFLAGS3264=-m64 19468 19469 if [ "$enable_force32" = "yes" ] 19470 then 19471 echo "cannot do both --enable-force32bits and --enable-force64bits at the same time" 19472 exit 1 19473 fi 19474 19475 ;; 19476 *) 19477 ;; 19478esac 19479 if test "y$enable_force64bits" = "yyes"; then 19480 FORCE64BITS_TRUE= 19481 FORCE64BITS_FALSE='#' 19482else 19483 FORCE64BITS_TRUE='#' 19484 FORCE64BITS_FALSE= 19485fi 19486 19487 19488 19489 19490cat /etc/redhat-version > /dev/null 2>&1 19491if [ $? -eq 0 ] 19492then 19493 is_redhat_family=1 19494else 19495 is_redhat_family=0 19496fi 19497 19498EURID_CFLAGS= 19499 19500VERSION_OPT=--version 19501$CC --version > /dev/null 2>&1 19502if [ $? -ne 0 ] 19503then 19504 $CC -V > /dev/null 2>&1 19505 if [ $? -ne 0 ] 19506 then 19507 CCVER___='0.0' 19508 CCNAME='unknown' 19509 VERSION_OPT='' 19510 else 19511 VERSION_OPT='-V' 19512 fi 19513fi 19514 19515if [ ! "$VERSION_OPT" = "" ] 19516then 19517 19518 19519CCVER___=$($CC $VERSION_OPT 2>&1|head -1|sed 's/[^0-9.]*\([0-9.]*\).*/\1/') 19520if [ "$CCVER___" = "" ] 19521then 19522 CCVER___='0.0' 19523fi 19524 19525CCNAME=$($CC $VERSION_OPT 2>&1|head -1|sed -e 's/.*clang.*/clang/' -e 's/.*gcc.*/gcc/' -e 's/.*icc.*/icc/' -e 's/.*Sun C.*/Sun C/'|tr A-Z a-z) 19526if [ "$CCNAME" = "" ] 19527then 19528 CCNAME='unknown' 19529fi 19530 19531else 19532 19533CCVER___='0.0' 19534CCNAME='unknown' 19535 19536fi # version opt 19537 19538CCMAJOR=$(echo $CCVER___ | sed 's/\./ /g' | awk '{ print $1}') 19539CCMINOR=$(echo $CCVER___ | sed 's/\./ /g' | awk '{ print $2}') 19540 19541 19542if [ "$CCMAJOR" = "" ] 19543then 19544 CCMAJOR=0 19545fi 19546 19547if [ "$CCMINOR" = "" ] 19548then 19549 CCMINOR=0 19550fi 19551 19552uses_icc=0 19553uses_gcc=0 19554uses_clang=0 19555uses_sunc=0 19556uses_unknown=0 19557 19558if [ "$CCNAME" = "gcc" ] 19559then 19560 CCOPTIMISATIONFLAGS=-O3 19561 19562 if [ $CCMAJOR -lt 4 ] 19563 then 19564 CCOPTIMISATIONFLAGS=-O0 19565 19566 echo "WARNING: GCC < 4.0 has optimisations issues with YADIFA." 19567 sleep 1 19568 19569 elif [ $CCMAJOR -eq 4 ] 19570 then 19571 if [ $CCMINOR -lt 6 ] 19572 then 19573 CCOPTIMISATIONFLAGS=-O0 19574 19575 echo "WARNING: GCC before 4.6 have optimisation issues with YADIFA." 19576 sleep 1 19577 19578 elif [ $CCMINOR -eq 6 ] 19579 then 19580 CCOPTIMISATIONFLAGS=-O2 19581 else 19582 # hopefully after 4.6 the issue is fixed ... 19583 CCOPTIMISATIONFLAGS=-O3 19584 fi 19585 fi 19586 19587 uses_gcc=1 19588 19589elif [ "$CCNAME" = "icc" ] 19590then 19591 echo "ICC" 19592 19593 CCOPTIMISATIONFLAGS=-O3 19594 19595 uses_icc=1 19596 19597 AR=xiar 19598 19599elif [ "$CCNAME" = "clang" ] 19600then 19601 echo "CLANG" 19602 19603 CCOPTIMISATIONFLAGS=-O3 19604 19605 uses_clang=1 19606 19607elif [ "$CCNAME" = "Sun C" ] 19608then 19609 echo "Sun C" 19610 19611 CCOPTIMISATIONFLAGS=-xO5 19612 19613 uses_sunc=1 19614else 19615 echo "unsupported compiler" 19616 19617 CCNAME=$CC 19618 19619 CCOPTIMISATIONFLAGS=-O2 19620 19621 uses_unknown=1 19622fi 19623 19624 if test $uses_icc -eq 1; then 19625 USES_ICC_TRUE= 19626 USES_ICC_FALSE='#' 19627else 19628 USES_ICC_TRUE='#' 19629 USES_ICC_FALSE= 19630fi 19631 19632 if test $uses_gcc -eq 1; then 19633 USES_GCC_TRUE= 19634 USES_GCC_FALSE='#' 19635else 19636 USES_GCC_TRUE='#' 19637 USES_GCC_FALSE= 19638fi 19639 19640 if test $uses_clang -eq 1; then 19641 USES_CLANG_TRUE= 19642 USES_CLANG_FALSE='#' 19643else 19644 USES_CLANG_TRUE='#' 19645 USES_CLANG_FALSE= 19646fi 19647 19648 if test $uses_sunc -eq 1; then 19649 USES_SUNC_TRUE= 19650 USES_SUNC_FALSE='#' 19651else 19652 USES_SUNC_TRUE='#' 19653 USES_SUNC_FALSE= 19654fi 19655 19656 if test $uses_unknown -eq 1; then 19657 USES_UNKNOWN_TRUE= 19658 USES_UNKNOWN_FALSE='#' 19659else 19660 USES_UNKNOWN_TRUE='#' 19661 USES_UNKNOWN_FALSE= 19662fi 19663 19664 19665# 19666# We've been told RedHat does not like -O3 at all, so ... 19667# 19668 19669if [ $is_redhat_family -ne 0 ] 19670then 19671 if [ "$CCOPTIMISATIONFLAGS " eq "-O3" ] 19672 then 19673 CCOPTIMISATIONFLAGS=-O2 19674 fi 19675fi 19676 19677echo "detected compiler is $CCNAME $CCMAJOR $CCMINOR" 19678 19679CCOPTIMISATIONFLAGS=$CCOPTIMISATIONFLAGS 19680 19681 19682if [ $cpu_intel_compatible -eq 0 ] 19683then 19684 if [ $icc_enabled -ne 0 ] 19685 then 19686 echo "ERROR: cannot enable ICC with CPU other than x86 or amd64" 19687 exit 1 19688 fi 19689fi 19690 19691 19692# 19693# AC_COMPILER_SUPPORTS -mtune=native 19694# 19695# CHECKING 19696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mtune=native" >&5 19697$as_echo_n "checking if compiler supports -mtune=native... " >&6; } 19698if [ "$CC" = "" ] 19699then 19700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 19701$as_echo "\"compiler not set yet, fix this\"" >&6; } 19702 exit 1 19703fi 19704cat > test-gcc-TUNE_NATIVE.c <<_ACEOF 19705#include "confdefs.h" 19706#if HAVE_STDLIB_H 19707#include<stdlib.h> 19708#endif 19709int main(int argc,char** argv) 19710{ 19711 (void)argc; 19712 (void)argv; 19713 puts("Hello World!"); 19714 return 0; 19715} 19716_ACEOF 19717$CC -mtune=native test-gcc-TUNE_NATIVE.c -o test-gcc-TUNE_NATIVE > /dev/null 2>&1 19718if [ $? -ne 0 ] 19719then 19720 has_cc_TUNE_NATIVE="no" 19721 if false; then 19722 HAS_CC_TUNE_NATIVE_TRUE= 19723 HAS_CC_TUNE_NATIVE_FALSE='#' 19724else 19725 HAS_CC_TUNE_NATIVE_TRUE='#' 19726 HAS_CC_TUNE_NATIVE_FALSE= 19727fi 19728 19729 19730cat >>confdefs.h <<_ACEOF 19731#define HAS_CC_TUNE_NATIVE 0 19732_ACEOF 19733 19734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19735$as_echo "no" >&6; } 19736else 19737 has_cc_TUNE_NATIVE="yes" 19738 if true; then 19739 HAS_CC_TUNE_NATIVE_TRUE= 19740 HAS_CC_TUNE_NATIVE_FALSE='#' 19741else 19742 HAS_CC_TUNE_NATIVE_TRUE='#' 19743 HAS_CC_TUNE_NATIVE_FALSE= 19744fi 19745 19746 19747cat >>confdefs.h <<_ACEOF 19748#define HAS_CC_TUNE_NATIVE 1 19749_ACEOF 19750 19751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19752$as_echo "yes" >&6; } 19753fi 19754# CONDITIONAL 19755 if test "y$has_cc_TUNE_NATIVE" == "yyes"; then 19756 HAS_CC_TUNE_NATIVE_TRUE= 19757 HAS_CC_TUNE_NATIVE_FALSE='#' 19758else 19759 HAS_CC_TUNE_NATIVE_TRUE='#' 19760 HAS_CC_TUNE_NATIVE_FALSE= 19761fi 19762 19763# SUBST 19764 19765rm -rf test-gcc-TUNE_NATIVE* 19766 19767 19768# 19769# AC_COMPILER_SUPPORTS -fno-ident 19770# 19771# CHECKING 19772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -fno-ident" >&5 19773$as_echo_n "checking if compiler supports -fno-ident... " >&6; } 19774if [ "$CC" = "" ] 19775then 19776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 19777$as_echo "\"compiler not set yet, fix this\"" >&6; } 19778 exit 1 19779fi 19780cat > test-gcc-NO_IDENT.c <<_ACEOF 19781#include "confdefs.h" 19782#if HAVE_STDLIB_H 19783#include<stdlib.h> 19784#endif 19785int main(int argc,char** argv) 19786{ 19787 (void)argc; 19788 (void)argv; 19789 puts("Hello World!"); 19790 return 0; 19791} 19792_ACEOF 19793$CC -fno-ident test-gcc-NO_IDENT.c -o test-gcc-NO_IDENT > /dev/null 2>&1 19794if [ $? -ne 0 ] 19795then 19796 has_cc_NO_IDENT="no" 19797 if false; then 19798 HAS_CC_NO_IDENT_TRUE= 19799 HAS_CC_NO_IDENT_FALSE='#' 19800else 19801 HAS_CC_NO_IDENT_TRUE='#' 19802 HAS_CC_NO_IDENT_FALSE= 19803fi 19804 19805 19806cat >>confdefs.h <<_ACEOF 19807#define HAS_CC_NO_IDENT 0 19808_ACEOF 19809 19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19811$as_echo "no" >&6; } 19812else 19813 has_cc_NO_IDENT="yes" 19814 if true; then 19815 HAS_CC_NO_IDENT_TRUE= 19816 HAS_CC_NO_IDENT_FALSE='#' 19817else 19818 HAS_CC_NO_IDENT_TRUE='#' 19819 HAS_CC_NO_IDENT_FALSE= 19820fi 19821 19822 19823cat >>confdefs.h <<_ACEOF 19824#define HAS_CC_NO_IDENT 1 19825_ACEOF 19826 19827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19828$as_echo "yes" >&6; } 19829fi 19830# CONDITIONAL 19831 if test "y$has_cc_NO_IDENT" == "yyes"; then 19832 HAS_CC_NO_IDENT_TRUE= 19833 HAS_CC_NO_IDENT_FALSE='#' 19834else 19835 HAS_CC_NO_IDENT_TRUE='#' 19836 HAS_CC_NO_IDENT_FALSE= 19837fi 19838 19839# SUBST 19840 19841rm -rf test-gcc-NO_IDENT* 19842 19843 19844# 19845# AC_COMPILER_SUPPORTS -ansi 19846# 19847# CHECKING 19848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -ansi" >&5 19849$as_echo_n "checking if compiler supports -ansi... " >&6; } 19850if [ "$CC" = "" ] 19851then 19852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 19853$as_echo "\"compiler not set yet, fix this\"" >&6; } 19854 exit 1 19855fi 19856cat > test-gcc-ANSI.c <<_ACEOF 19857#include "confdefs.h" 19858#if HAVE_STDLIB_H 19859#include<stdlib.h> 19860#endif 19861int main(int argc,char** argv) 19862{ 19863 (void)argc; 19864 (void)argv; 19865 puts("Hello World!"); 19866 return 0; 19867} 19868_ACEOF 19869$CC -ansi test-gcc-ANSI.c -o test-gcc-ANSI > /dev/null 2>&1 19870if [ $? -ne 0 ] 19871then 19872 has_cc_ANSI="no" 19873 if false; then 19874 HAS_CC_ANSI_TRUE= 19875 HAS_CC_ANSI_FALSE='#' 19876else 19877 HAS_CC_ANSI_TRUE='#' 19878 HAS_CC_ANSI_FALSE= 19879fi 19880 19881 19882cat >>confdefs.h <<_ACEOF 19883#define HAS_CC_ANSI 0 19884_ACEOF 19885 19886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19887$as_echo "no" >&6; } 19888else 19889 has_cc_ANSI="yes" 19890 if true; then 19891 HAS_CC_ANSI_TRUE= 19892 HAS_CC_ANSI_FALSE='#' 19893else 19894 HAS_CC_ANSI_TRUE='#' 19895 HAS_CC_ANSI_FALSE= 19896fi 19897 19898 19899cat >>confdefs.h <<_ACEOF 19900#define HAS_CC_ANSI 1 19901_ACEOF 19902 19903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19904$as_echo "yes" >&6; } 19905fi 19906# CONDITIONAL 19907 if test "y$has_cc_ANSI" == "yyes"; then 19908 HAS_CC_ANSI_TRUE= 19909 HAS_CC_ANSI_FALSE='#' 19910else 19911 HAS_CC_ANSI_TRUE='#' 19912 HAS_CC_ANSI_FALSE= 19913fi 19914 19915# SUBST 19916 19917rm -rf test-gcc-ANSI* 19918 19919 19920# 19921# AC_COMPILER_SUPPORTS -ansi-alias 19922# 19923# CHECKING 19924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -ansi-alias" >&5 19925$as_echo_n "checking if compiler supports -ansi-alias... " >&6; } 19926if [ "$CC" = "" ] 19927then 19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 19929$as_echo "\"compiler not set yet, fix this\"" >&6; } 19930 exit 1 19931fi 19932cat > test-gcc-ANSI_ALIAS.c <<_ACEOF 19933#include "confdefs.h" 19934#if HAVE_STDLIB_H 19935#include<stdlib.h> 19936#endif 19937int main(int argc,char** argv) 19938{ 19939 (void)argc; 19940 (void)argv; 19941 puts("Hello World!"); 19942 return 0; 19943} 19944_ACEOF 19945$CC -ansi-alias test-gcc-ANSI_ALIAS.c -o test-gcc-ANSI_ALIAS > /dev/null 2>&1 19946if [ $? -ne 0 ] 19947then 19948 has_cc_ANSI_ALIAS="no" 19949 if false; then 19950 HAS_CC_ANSI_ALIAS_TRUE= 19951 HAS_CC_ANSI_ALIAS_FALSE='#' 19952else 19953 HAS_CC_ANSI_ALIAS_TRUE='#' 19954 HAS_CC_ANSI_ALIAS_FALSE= 19955fi 19956 19957 19958cat >>confdefs.h <<_ACEOF 19959#define HAS_CC_ANSI_ALIAS 0 19960_ACEOF 19961 19962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19963$as_echo "no" >&6; } 19964else 19965 has_cc_ANSI_ALIAS="yes" 19966 if true; then 19967 HAS_CC_ANSI_ALIAS_TRUE= 19968 HAS_CC_ANSI_ALIAS_FALSE='#' 19969else 19970 HAS_CC_ANSI_ALIAS_TRUE='#' 19971 HAS_CC_ANSI_ALIAS_FALSE= 19972fi 19973 19974 19975cat >>confdefs.h <<_ACEOF 19976#define HAS_CC_ANSI_ALIAS 1 19977_ACEOF 19978 19979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19980$as_echo "yes" >&6; } 19981fi 19982# CONDITIONAL 19983 if test "y$has_cc_ANSI_ALIAS" == "yyes"; then 19984 HAS_CC_ANSI_ALIAS_TRUE= 19985 HAS_CC_ANSI_ALIAS_FALSE='#' 19986else 19987 HAS_CC_ANSI_ALIAS_TRUE='#' 19988 HAS_CC_ANSI_ALIAS_FALSE= 19989fi 19990 19991# SUBST 19992 19993rm -rf test-gcc-ANSI_ALIAS* 19994 19995 19996# 19997# AC_COMPILER_SUPPORTS -pedantic 19998# 19999# CHECKING 20000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -pedantic" >&5 20001$as_echo_n "checking if compiler supports -pedantic... " >&6; } 20002if [ "$CC" = "" ] 20003then 20004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20005$as_echo "\"compiler not set yet, fix this\"" >&6; } 20006 exit 1 20007fi 20008cat > test-gcc-PEDANTIC.c <<_ACEOF 20009#include "confdefs.h" 20010#if HAVE_STDLIB_H 20011#include<stdlib.h> 20012#endif 20013int main(int argc,char** argv) 20014{ 20015 (void)argc; 20016 (void)argv; 20017 puts("Hello World!"); 20018 return 0; 20019} 20020_ACEOF 20021$CC -pedantic test-gcc-PEDANTIC.c -o test-gcc-PEDANTIC > /dev/null 2>&1 20022if [ $? -ne 0 ] 20023then 20024 has_cc_PEDANTIC="no" 20025 if false; then 20026 HAS_CC_PEDANTIC_TRUE= 20027 HAS_CC_PEDANTIC_FALSE='#' 20028else 20029 HAS_CC_PEDANTIC_TRUE='#' 20030 HAS_CC_PEDANTIC_FALSE= 20031fi 20032 20033 20034cat >>confdefs.h <<_ACEOF 20035#define HAS_CC_PEDANTIC 0 20036_ACEOF 20037 20038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20039$as_echo "no" >&6; } 20040else 20041 has_cc_PEDANTIC="yes" 20042 if true; then 20043 HAS_CC_PEDANTIC_TRUE= 20044 HAS_CC_PEDANTIC_FALSE='#' 20045else 20046 HAS_CC_PEDANTIC_TRUE='#' 20047 HAS_CC_PEDANTIC_FALSE= 20048fi 20049 20050 20051cat >>confdefs.h <<_ACEOF 20052#define HAS_CC_PEDANTIC 1 20053_ACEOF 20054 20055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20056$as_echo "yes" >&6; } 20057fi 20058# CONDITIONAL 20059 if test "y$has_cc_PEDANTIC" == "yyes"; then 20060 HAS_CC_PEDANTIC_TRUE= 20061 HAS_CC_PEDANTIC_FALSE='#' 20062else 20063 HAS_CC_PEDANTIC_TRUE='#' 20064 HAS_CC_PEDANTIC_FALSE= 20065fi 20066 20067# SUBST 20068 20069rm -rf test-gcc-PEDANTIC* 20070 20071 20072# 20073# AC_COMPILER_SUPPORTS -std=gnu11 20074# 20075# CHECKING 20076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -std=gnu11" >&5 20077$as_echo_n "checking if compiler supports -std=gnu11... " >&6; } 20078if [ "$CC" = "" ] 20079then 20080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20081$as_echo "\"compiler not set yet, fix this\"" >&6; } 20082 exit 1 20083fi 20084cat > test-gcc-STD_GNU11.c <<_ACEOF 20085#include "confdefs.h" 20086#if HAVE_STDLIB_H 20087#include<stdlib.h> 20088#endif 20089int main(int argc,char** argv) 20090{ 20091 (void)argc; 20092 (void)argv; 20093 puts("Hello World!"); 20094 return 0; 20095} 20096_ACEOF 20097$CC -std=gnu11 test-gcc-STD_GNU11.c -o test-gcc-STD_GNU11 > /dev/null 2>&1 20098if [ $? -ne 0 ] 20099then 20100 has_cc_STD_GNU11="no" 20101 if false; then 20102 HAS_CC_STD_GNU11_TRUE= 20103 HAS_CC_STD_GNU11_FALSE='#' 20104else 20105 HAS_CC_STD_GNU11_TRUE='#' 20106 HAS_CC_STD_GNU11_FALSE= 20107fi 20108 20109 20110cat >>confdefs.h <<_ACEOF 20111#define HAS_CC_STD_GNU11 0 20112_ACEOF 20113 20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20115$as_echo "no" >&6; } 20116else 20117 has_cc_STD_GNU11="yes" 20118 if true; then 20119 HAS_CC_STD_GNU11_TRUE= 20120 HAS_CC_STD_GNU11_FALSE='#' 20121else 20122 HAS_CC_STD_GNU11_TRUE='#' 20123 HAS_CC_STD_GNU11_FALSE= 20124fi 20125 20126 20127cat >>confdefs.h <<_ACEOF 20128#define HAS_CC_STD_GNU11 1 20129_ACEOF 20130 20131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20132$as_echo "yes" >&6; } 20133fi 20134# CONDITIONAL 20135 if test "y$has_cc_STD_GNU11" == "yyes"; then 20136 HAS_CC_STD_GNU11_TRUE= 20137 HAS_CC_STD_GNU11_FALSE='#' 20138else 20139 HAS_CC_STD_GNU11_TRUE='#' 20140 HAS_CC_STD_GNU11_FALSE= 20141fi 20142 20143# SUBST 20144 20145rm -rf test-gcc-STD_GNU11* 20146 20147 20148# 20149# AC_COMPILER_SUPPORTS -std=c11 20150# 20151# CHECKING 20152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -std=c11" >&5 20153$as_echo_n "checking if compiler supports -std=c11... " >&6; } 20154if [ "$CC" = "" ] 20155then 20156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20157$as_echo "\"compiler not set yet, fix this\"" >&6; } 20158 exit 1 20159fi 20160cat > test-gcc-STD_C11.c <<_ACEOF 20161#include "confdefs.h" 20162#if HAVE_STDLIB_H 20163#include<stdlib.h> 20164#endif 20165int main(int argc,char** argv) 20166{ 20167 (void)argc; 20168 (void)argv; 20169 puts("Hello World!"); 20170 return 0; 20171} 20172_ACEOF 20173$CC -std=c11 test-gcc-STD_C11.c -o test-gcc-STD_C11 > /dev/null 2>&1 20174if [ $? -ne 0 ] 20175then 20176 has_cc_STD_C11="no" 20177 if false; then 20178 HAS_CC_STD_C11_TRUE= 20179 HAS_CC_STD_C11_FALSE='#' 20180else 20181 HAS_CC_STD_C11_TRUE='#' 20182 HAS_CC_STD_C11_FALSE= 20183fi 20184 20185 20186cat >>confdefs.h <<_ACEOF 20187#define HAS_CC_STD_C11 0 20188_ACEOF 20189 20190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20191$as_echo "no" >&6; } 20192else 20193 has_cc_STD_C11="yes" 20194 if true; then 20195 HAS_CC_STD_C11_TRUE= 20196 HAS_CC_STD_C11_FALSE='#' 20197else 20198 HAS_CC_STD_C11_TRUE='#' 20199 HAS_CC_STD_C11_FALSE= 20200fi 20201 20202 20203cat >>confdefs.h <<_ACEOF 20204#define HAS_CC_STD_C11 1 20205_ACEOF 20206 20207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20208$as_echo "yes" >&6; } 20209fi 20210# CONDITIONAL 20211 if test "y$has_cc_STD_C11" == "yyes"; then 20212 HAS_CC_STD_C11_TRUE= 20213 HAS_CC_STD_C11_FALSE='#' 20214else 20215 HAS_CC_STD_C11_TRUE='#' 20216 HAS_CC_STD_C11_FALSE= 20217fi 20218 20219# SUBST 20220 20221rm -rf test-gcc-STD_C11* 20222 20223 20224# 20225# AC_COMPILER_SUPPORTS -std=gnu99 20226# 20227# CHECKING 20228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -std=gnu99" >&5 20229$as_echo_n "checking if compiler supports -std=gnu99... " >&6; } 20230if [ "$CC" = "" ] 20231then 20232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20233$as_echo "\"compiler not set yet, fix this\"" >&6; } 20234 exit 1 20235fi 20236cat > test-gcc-STD_GNU99.c <<_ACEOF 20237#include "confdefs.h" 20238#if HAVE_STDLIB_H 20239#include<stdlib.h> 20240#endif 20241int main(int argc,char** argv) 20242{ 20243 (void)argc; 20244 (void)argv; 20245 puts("Hello World!"); 20246 return 0; 20247} 20248_ACEOF 20249$CC -std=gnu99 test-gcc-STD_GNU99.c -o test-gcc-STD_GNU99 > /dev/null 2>&1 20250if [ $? -ne 0 ] 20251then 20252 has_cc_STD_GNU99="no" 20253 if false; then 20254 HAS_CC_STD_GNU99_TRUE= 20255 HAS_CC_STD_GNU99_FALSE='#' 20256else 20257 HAS_CC_STD_GNU99_TRUE='#' 20258 HAS_CC_STD_GNU99_FALSE= 20259fi 20260 20261 20262cat >>confdefs.h <<_ACEOF 20263#define HAS_CC_STD_GNU99 0 20264_ACEOF 20265 20266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20267$as_echo "no" >&6; } 20268else 20269 has_cc_STD_GNU99="yes" 20270 if true; then 20271 HAS_CC_STD_GNU99_TRUE= 20272 HAS_CC_STD_GNU99_FALSE='#' 20273else 20274 HAS_CC_STD_GNU99_TRUE='#' 20275 HAS_CC_STD_GNU99_FALSE= 20276fi 20277 20278 20279cat >>confdefs.h <<_ACEOF 20280#define HAS_CC_STD_GNU99 1 20281_ACEOF 20282 20283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20284$as_echo "yes" >&6; } 20285fi 20286# CONDITIONAL 20287 if test "y$has_cc_STD_GNU99" == "yyes"; then 20288 HAS_CC_STD_GNU99_TRUE= 20289 HAS_CC_STD_GNU99_FALSE='#' 20290else 20291 HAS_CC_STD_GNU99_TRUE='#' 20292 HAS_CC_STD_GNU99_FALSE= 20293fi 20294 20295# SUBST 20296 20297rm -rf test-gcc-STD_GNU99* 20298 20299 20300# 20301# AC_COMPILER_SUPPORTS -std=c99 20302# 20303# CHECKING 20304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -std=c99" >&5 20305$as_echo_n "checking if compiler supports -std=c99... " >&6; } 20306if [ "$CC" = "" ] 20307then 20308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20309$as_echo "\"compiler not set yet, fix this\"" >&6; } 20310 exit 1 20311fi 20312cat > test-gcc-STD_C99.c <<_ACEOF 20313#include "confdefs.h" 20314#if HAVE_STDLIB_H 20315#include<stdlib.h> 20316#endif 20317int main(int argc,char** argv) 20318{ 20319 (void)argc; 20320 (void)argv; 20321 puts("Hello World!"); 20322 return 0; 20323} 20324_ACEOF 20325$CC -std=c99 test-gcc-STD_C99.c -o test-gcc-STD_C99 > /dev/null 2>&1 20326if [ $? -ne 0 ] 20327then 20328 has_cc_STD_C99="no" 20329 if false; then 20330 HAS_CC_STD_C99_TRUE= 20331 HAS_CC_STD_C99_FALSE='#' 20332else 20333 HAS_CC_STD_C99_TRUE='#' 20334 HAS_CC_STD_C99_FALSE= 20335fi 20336 20337 20338cat >>confdefs.h <<_ACEOF 20339#define HAS_CC_STD_C99 0 20340_ACEOF 20341 20342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20343$as_echo "no" >&6; } 20344else 20345 has_cc_STD_C99="yes" 20346 if true; then 20347 HAS_CC_STD_C99_TRUE= 20348 HAS_CC_STD_C99_FALSE='#' 20349else 20350 HAS_CC_STD_C99_TRUE='#' 20351 HAS_CC_STD_C99_FALSE= 20352fi 20353 20354 20355cat >>confdefs.h <<_ACEOF 20356#define HAS_CC_STD_C99 1 20357_ACEOF 20358 20359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20360$as_echo "yes" >&6; } 20361fi 20362# CONDITIONAL 20363 if test "y$has_cc_STD_C99" == "yyes"; then 20364 HAS_CC_STD_C99_TRUE= 20365 HAS_CC_STD_C99_FALSE='#' 20366else 20367 HAS_CC_STD_C99_TRUE='#' 20368 HAS_CC_STD_C99_FALSE= 20369fi 20370 20371# SUBST 20372 20373rm -rf test-gcc-STD_C99* 20374 20375 20376# 20377# AC_COMPILER_SUPPORTS -xc99 20378# 20379# CHECKING 20380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -xc99" >&5 20381$as_echo_n "checking if compiler supports -xc99... " >&6; } 20382if [ "$CC" = "" ] 20383then 20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20385$as_echo "\"compiler not set yet, fix this\"" >&6; } 20386 exit 1 20387fi 20388cat > test-gcc-XC99.c <<_ACEOF 20389#include "confdefs.h" 20390#if HAVE_STDLIB_H 20391#include<stdlib.h> 20392#endif 20393int main(int argc,char** argv) 20394{ 20395 (void)argc; 20396 (void)argv; 20397 puts("Hello World!"); 20398 return 0; 20399} 20400_ACEOF 20401$CC -xc99 test-gcc-XC99.c -o test-gcc-XC99 > /dev/null 2>&1 20402if [ $? -ne 0 ] 20403then 20404 has_cc_XC99="no" 20405 if false; then 20406 HAS_CC_XC99_TRUE= 20407 HAS_CC_XC99_FALSE='#' 20408else 20409 HAS_CC_XC99_TRUE='#' 20410 HAS_CC_XC99_FALSE= 20411fi 20412 20413 20414cat >>confdefs.h <<_ACEOF 20415#define HAS_CC_XC99 0 20416_ACEOF 20417 20418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20419$as_echo "no" >&6; } 20420else 20421 has_cc_XC99="yes" 20422 if true; then 20423 HAS_CC_XC99_TRUE= 20424 HAS_CC_XC99_FALSE='#' 20425else 20426 HAS_CC_XC99_TRUE='#' 20427 HAS_CC_XC99_FALSE= 20428fi 20429 20430 20431cat >>confdefs.h <<_ACEOF 20432#define HAS_CC_XC99 1 20433_ACEOF 20434 20435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20436$as_echo "yes" >&6; } 20437fi 20438# CONDITIONAL 20439 if test "y$has_cc_XC99" == "yyes"; then 20440 HAS_CC_XC99_TRUE= 20441 HAS_CC_XC99_FALSE='#' 20442else 20443 HAS_CC_XC99_TRUE='#' 20444 HAS_CC_XC99_FALSE= 20445fi 20446 20447# SUBST 20448 20449rm -rf test-gcc-XC99* 20450 20451 20452# 20453# AC_COMPILER_SUPPORTS -m32 20454# 20455# CHECKING 20456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -m32" >&5 20457$as_echo_n "checking if compiler supports -m32... " >&6; } 20458if [ "$CC" = "" ] 20459then 20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20461$as_echo "\"compiler not set yet, fix this\"" >&6; } 20462 exit 1 20463fi 20464cat > test-gcc-M32.c <<_ACEOF 20465#include "confdefs.h" 20466#if HAVE_STDLIB_H 20467#include<stdlib.h> 20468#endif 20469int main(int argc,char** argv) 20470{ 20471 (void)argc; 20472 (void)argv; 20473 puts("Hello World!"); 20474 return 0; 20475} 20476_ACEOF 20477$CC -m32 test-gcc-M32.c -o test-gcc-M32 > /dev/null 2>&1 20478if [ $? -ne 0 ] 20479then 20480 has_cc_M32="no" 20481 if false; then 20482 HAS_CC_M32_TRUE= 20483 HAS_CC_M32_FALSE='#' 20484else 20485 HAS_CC_M32_TRUE='#' 20486 HAS_CC_M32_FALSE= 20487fi 20488 20489 20490cat >>confdefs.h <<_ACEOF 20491#define HAS_CC_M32 0 20492_ACEOF 20493 20494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20495$as_echo "no" >&6; } 20496else 20497 has_cc_M32="yes" 20498 if true; then 20499 HAS_CC_M32_TRUE= 20500 HAS_CC_M32_FALSE='#' 20501else 20502 HAS_CC_M32_TRUE='#' 20503 HAS_CC_M32_FALSE= 20504fi 20505 20506 20507cat >>confdefs.h <<_ACEOF 20508#define HAS_CC_M32 1 20509_ACEOF 20510 20511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20512$as_echo "yes" >&6; } 20513fi 20514# CONDITIONAL 20515 if test "y$has_cc_M32" == "yyes"; then 20516 HAS_CC_M32_TRUE= 20517 HAS_CC_M32_FALSE='#' 20518else 20519 HAS_CC_M32_TRUE='#' 20520 HAS_CC_M32_FALSE= 20521fi 20522 20523# SUBST 20524 20525rm -rf test-gcc-M32* 20526 20527 20528# 20529# AC_COMPILER_SUPPORTS -m64 20530# 20531# CHECKING 20532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -m64" >&5 20533$as_echo_n "checking if compiler supports -m64... " >&6; } 20534if [ "$CC" = "" ] 20535then 20536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20537$as_echo "\"compiler not set yet, fix this\"" >&6; } 20538 exit 1 20539fi 20540cat > test-gcc-M64.c <<_ACEOF 20541#include "confdefs.h" 20542#if HAVE_STDLIB_H 20543#include<stdlib.h> 20544#endif 20545int main(int argc,char** argv) 20546{ 20547 (void)argc; 20548 (void)argv; 20549 puts("Hello World!"); 20550 return 0; 20551} 20552_ACEOF 20553$CC -m64 test-gcc-M64.c -o test-gcc-M64 > /dev/null 2>&1 20554if [ $? -ne 0 ] 20555then 20556 has_cc_M64="no" 20557 if false; then 20558 HAS_CC_M64_TRUE= 20559 HAS_CC_M64_FALSE='#' 20560else 20561 HAS_CC_M64_TRUE='#' 20562 HAS_CC_M64_FALSE= 20563fi 20564 20565 20566cat >>confdefs.h <<_ACEOF 20567#define HAS_CC_M64 0 20568_ACEOF 20569 20570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20571$as_echo "no" >&6; } 20572else 20573 has_cc_M64="yes" 20574 if true; then 20575 HAS_CC_M64_TRUE= 20576 HAS_CC_M64_FALSE='#' 20577else 20578 HAS_CC_M64_TRUE='#' 20579 HAS_CC_M64_FALSE= 20580fi 20581 20582 20583cat >>confdefs.h <<_ACEOF 20584#define HAS_CC_M64 1 20585_ACEOF 20586 20587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20588$as_echo "yes" >&6; } 20589fi 20590# CONDITIONAL 20591 if test "y$has_cc_M64" == "yyes"; then 20592 HAS_CC_M64_TRUE= 20593 HAS_CC_M64_FALSE='#' 20594else 20595 HAS_CC_M64_TRUE='#' 20596 HAS_CC_M64_FALSE= 20597fi 20598 20599# SUBST 20600 20601rm -rf test-gcc-M64* 20602 20603 20604# 20605# AC_COMPILER_SUPPORTS -Wall 20606# 20607# CHECKING 20608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Wall" >&5 20609$as_echo_n "checking if compiler supports -Wall... " >&6; } 20610if [ "$CC" = "" ] 20611then 20612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20613$as_echo "\"compiler not set yet, fix this\"" >&6; } 20614 exit 1 20615fi 20616cat > test-gcc-WALL.c <<_ACEOF 20617#include "confdefs.h" 20618#if HAVE_STDLIB_H 20619#include<stdlib.h> 20620#endif 20621int main(int argc,char** argv) 20622{ 20623 (void)argc; 20624 (void)argv; 20625 puts("Hello World!"); 20626 return 0; 20627} 20628_ACEOF 20629$CC -Wall test-gcc-WALL.c -o test-gcc-WALL > /dev/null 2>&1 20630if [ $? -ne 0 ] 20631then 20632 has_cc_WALL="no" 20633 if false; then 20634 HAS_CC_WALL_TRUE= 20635 HAS_CC_WALL_FALSE='#' 20636else 20637 HAS_CC_WALL_TRUE='#' 20638 HAS_CC_WALL_FALSE= 20639fi 20640 20641 20642cat >>confdefs.h <<_ACEOF 20643#define HAS_CC_WALL 0 20644_ACEOF 20645 20646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20647$as_echo "no" >&6; } 20648else 20649 has_cc_WALL="yes" 20650 if true; then 20651 HAS_CC_WALL_TRUE= 20652 HAS_CC_WALL_FALSE='#' 20653else 20654 HAS_CC_WALL_TRUE='#' 20655 HAS_CC_WALL_FALSE= 20656fi 20657 20658 20659cat >>confdefs.h <<_ACEOF 20660#define HAS_CC_WALL 1 20661_ACEOF 20662 20663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20664$as_echo "yes" >&6; } 20665fi 20666# CONDITIONAL 20667 if test "y$has_cc_WALL" == "yyes"; then 20668 HAS_CC_WALL_TRUE= 20669 HAS_CC_WALL_FALSE='#' 20670else 20671 HAS_CC_WALL_TRUE='#' 20672 HAS_CC_WALL_FALSE= 20673fi 20674 20675# SUBST 20676 20677rm -rf test-gcc-WALL* 20678 20679 20680# 20681# AC_COMPILER_SUPPORTS -g 20682# 20683# CHECKING 20684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -g" >&5 20685$as_echo_n "checking if compiler supports -g... " >&6; } 20686if [ "$CC" = "" ] 20687then 20688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20689$as_echo "\"compiler not set yet, fix this\"" >&6; } 20690 exit 1 20691fi 20692cat > test-gcc-G.c <<_ACEOF 20693#include "confdefs.h" 20694#if HAVE_STDLIB_H 20695#include<stdlib.h> 20696#endif 20697int main(int argc,char** argv) 20698{ 20699 (void)argc; 20700 (void)argv; 20701 puts("Hello World!"); 20702 return 0; 20703} 20704_ACEOF 20705$CC -g test-gcc-G.c -o test-gcc-G > /dev/null 2>&1 20706if [ $? -ne 0 ] 20707then 20708 has_cc_G="no" 20709 if false; then 20710 HAS_CC_G_TRUE= 20711 HAS_CC_G_FALSE='#' 20712else 20713 HAS_CC_G_TRUE='#' 20714 HAS_CC_G_FALSE= 20715fi 20716 20717 20718cat >>confdefs.h <<_ACEOF 20719#define HAS_CC_G 0 20720_ACEOF 20721 20722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20723$as_echo "no" >&6; } 20724else 20725 has_cc_G="yes" 20726 if true; then 20727 HAS_CC_G_TRUE= 20728 HAS_CC_G_FALSE='#' 20729else 20730 HAS_CC_G_TRUE='#' 20731 HAS_CC_G_FALSE= 20732fi 20733 20734 20735cat >>confdefs.h <<_ACEOF 20736#define HAS_CC_G 1 20737_ACEOF 20738 20739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20740$as_echo "yes" >&6; } 20741fi 20742# CONDITIONAL 20743 if test "y$has_cc_G" == "yyes"; then 20744 HAS_CC_G_TRUE= 20745 HAS_CC_G_FALSE='#' 20746else 20747 HAS_CC_G_TRUE='#' 20748 HAS_CC_G_FALSE= 20749fi 20750 20751# SUBST 20752 20753rm -rf test-gcc-G* 20754 20755 20756# 20757# AC_COMPILER_SUPPORTS -g3 20758# 20759# CHECKING 20760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -g3" >&5 20761$as_echo_n "checking if compiler supports -g3... " >&6; } 20762if [ "$CC" = "" ] 20763then 20764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20765$as_echo "\"compiler not set yet, fix this\"" >&6; } 20766 exit 1 20767fi 20768cat > test-gcc-G3.c <<_ACEOF 20769#include "confdefs.h" 20770#if HAVE_STDLIB_H 20771#include<stdlib.h> 20772#endif 20773int main(int argc,char** argv) 20774{ 20775 (void)argc; 20776 (void)argv; 20777 puts("Hello World!"); 20778 return 0; 20779} 20780_ACEOF 20781$CC -g3 test-gcc-G3.c -o test-gcc-G3 > /dev/null 2>&1 20782if [ $? -ne 0 ] 20783then 20784 has_cc_G3="no" 20785 if false; then 20786 HAS_CC_G3_TRUE= 20787 HAS_CC_G3_FALSE='#' 20788else 20789 HAS_CC_G3_TRUE='#' 20790 HAS_CC_G3_FALSE= 20791fi 20792 20793 20794cat >>confdefs.h <<_ACEOF 20795#define HAS_CC_G3 0 20796_ACEOF 20797 20798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20799$as_echo "no" >&6; } 20800else 20801 has_cc_G3="yes" 20802 if true; then 20803 HAS_CC_G3_TRUE= 20804 HAS_CC_G3_FALSE='#' 20805else 20806 HAS_CC_G3_TRUE='#' 20807 HAS_CC_G3_FALSE= 20808fi 20809 20810 20811cat >>confdefs.h <<_ACEOF 20812#define HAS_CC_G3 1 20813_ACEOF 20814 20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20816$as_echo "yes" >&6; } 20817fi 20818# CONDITIONAL 20819 if test "y$has_cc_G3" == "yyes"; then 20820 HAS_CC_G3_TRUE= 20821 HAS_CC_G3_FALSE='#' 20822else 20823 HAS_CC_G3_TRUE='#' 20824 HAS_CC_G3_FALSE= 20825fi 20826 20827# SUBST 20828 20829rm -rf test-gcc-G3* 20830 20831 20832# 20833# AC_COMPILER_SUPPORTS -gdwarf-2 20834# 20835# CHECKING 20836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -gdwarf-2" >&5 20837$as_echo_n "checking if compiler supports -gdwarf-2... " >&6; } 20838if [ "$CC" = "" ] 20839then 20840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20841$as_echo "\"compiler not set yet, fix this\"" >&6; } 20842 exit 1 20843fi 20844cat > test-gcc-DWARF2.c <<_ACEOF 20845#include "confdefs.h" 20846#if HAVE_STDLIB_H 20847#include<stdlib.h> 20848#endif 20849int main(int argc,char** argv) 20850{ 20851 (void)argc; 20852 (void)argv; 20853 puts("Hello World!"); 20854 return 0; 20855} 20856_ACEOF 20857$CC -gdwarf-2 test-gcc-DWARF2.c -o test-gcc-DWARF2 > /dev/null 2>&1 20858if [ $? -ne 0 ] 20859then 20860 has_cc_DWARF2="no" 20861 if false; then 20862 HAS_CC_DWARF2_TRUE= 20863 HAS_CC_DWARF2_FALSE='#' 20864else 20865 HAS_CC_DWARF2_TRUE='#' 20866 HAS_CC_DWARF2_FALSE= 20867fi 20868 20869 20870cat >>confdefs.h <<_ACEOF 20871#define HAS_CC_DWARF2 0 20872_ACEOF 20873 20874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20875$as_echo "no" >&6; } 20876else 20877 has_cc_DWARF2="yes" 20878 if true; then 20879 HAS_CC_DWARF2_TRUE= 20880 HAS_CC_DWARF2_FALSE='#' 20881else 20882 HAS_CC_DWARF2_TRUE='#' 20883 HAS_CC_DWARF2_FALSE= 20884fi 20885 20886 20887cat >>confdefs.h <<_ACEOF 20888#define HAS_CC_DWARF2 1 20889_ACEOF 20890 20891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20892$as_echo "yes" >&6; } 20893fi 20894# CONDITIONAL 20895 if test "y$has_cc_DWARF2" == "yyes"; then 20896 HAS_CC_DWARF2_TRUE= 20897 HAS_CC_DWARF2_FALSE='#' 20898else 20899 HAS_CC_DWARF2_TRUE='#' 20900 HAS_CC_DWARF2_FALSE= 20901fi 20902 20903# SUBST 20904 20905rm -rf test-gcc-DWARF2* 20906 20907 20908# 20909# AC_COMPILER_SUPPORTS -gdwarf-3 20910# 20911# CHECKING 20912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -gdwarf-3" >&5 20913$as_echo_n "checking if compiler supports -gdwarf-3... " >&6; } 20914if [ "$CC" = "" ] 20915then 20916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20917$as_echo "\"compiler not set yet, fix this\"" >&6; } 20918 exit 1 20919fi 20920cat > test-gcc-DWARF3.c <<_ACEOF 20921#include "confdefs.h" 20922#if HAVE_STDLIB_H 20923#include<stdlib.h> 20924#endif 20925int main(int argc,char** argv) 20926{ 20927 (void)argc; 20928 (void)argv; 20929 puts("Hello World!"); 20930 return 0; 20931} 20932_ACEOF 20933$CC -gdwarf-3 test-gcc-DWARF3.c -o test-gcc-DWARF3 > /dev/null 2>&1 20934if [ $? -ne 0 ] 20935then 20936 has_cc_DWARF3="no" 20937 if false; then 20938 HAS_CC_DWARF3_TRUE= 20939 HAS_CC_DWARF3_FALSE='#' 20940else 20941 HAS_CC_DWARF3_TRUE='#' 20942 HAS_CC_DWARF3_FALSE= 20943fi 20944 20945 20946cat >>confdefs.h <<_ACEOF 20947#define HAS_CC_DWARF3 0 20948_ACEOF 20949 20950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20951$as_echo "no" >&6; } 20952else 20953 has_cc_DWARF3="yes" 20954 if true; then 20955 HAS_CC_DWARF3_TRUE= 20956 HAS_CC_DWARF3_FALSE='#' 20957else 20958 HAS_CC_DWARF3_TRUE='#' 20959 HAS_CC_DWARF3_FALSE= 20960fi 20961 20962 20963cat >>confdefs.h <<_ACEOF 20964#define HAS_CC_DWARF3 1 20965_ACEOF 20966 20967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20968$as_echo "yes" >&6; } 20969fi 20970# CONDITIONAL 20971 if test "y$has_cc_DWARF3" == "yyes"; then 20972 HAS_CC_DWARF3_TRUE= 20973 HAS_CC_DWARF3_FALSE='#' 20974else 20975 HAS_CC_DWARF3_TRUE='#' 20976 HAS_CC_DWARF3_FALSE= 20977fi 20978 20979# SUBST 20980 20981rm -rf test-gcc-DWARF3* 20982 20983 20984# 20985# AC_COMPILER_SUPPORTS -gdwarf-4 20986# 20987# CHECKING 20988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -gdwarf-4" >&5 20989$as_echo_n "checking if compiler supports -gdwarf-4... " >&6; } 20990if [ "$CC" = "" ] 20991then 20992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 20993$as_echo "\"compiler not set yet, fix this\"" >&6; } 20994 exit 1 20995fi 20996cat > test-gcc-DWARF4.c <<_ACEOF 20997#include "confdefs.h" 20998#if HAVE_STDLIB_H 20999#include<stdlib.h> 21000#endif 21001int main(int argc,char** argv) 21002{ 21003 (void)argc; 21004 (void)argv; 21005 puts("Hello World!"); 21006 return 0; 21007} 21008_ACEOF 21009$CC -gdwarf-4 test-gcc-DWARF4.c -o test-gcc-DWARF4 > /dev/null 2>&1 21010if [ $? -ne 0 ] 21011then 21012 has_cc_DWARF4="no" 21013 if false; then 21014 HAS_CC_DWARF4_TRUE= 21015 HAS_CC_DWARF4_FALSE='#' 21016else 21017 HAS_CC_DWARF4_TRUE='#' 21018 HAS_CC_DWARF4_FALSE= 21019fi 21020 21021 21022cat >>confdefs.h <<_ACEOF 21023#define HAS_CC_DWARF4 0 21024_ACEOF 21025 21026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21027$as_echo "no" >&6; } 21028else 21029 has_cc_DWARF4="yes" 21030 if true; then 21031 HAS_CC_DWARF4_TRUE= 21032 HAS_CC_DWARF4_FALSE='#' 21033else 21034 HAS_CC_DWARF4_TRUE='#' 21035 HAS_CC_DWARF4_FALSE= 21036fi 21037 21038 21039cat >>confdefs.h <<_ACEOF 21040#define HAS_CC_DWARF4 1 21041_ACEOF 21042 21043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21044$as_echo "yes" >&6; } 21045fi 21046# CONDITIONAL 21047 if test "y$has_cc_DWARF4" == "yyes"; then 21048 HAS_CC_DWARF4_TRUE= 21049 HAS_CC_DWARF4_FALSE='#' 21050else 21051 HAS_CC_DWARF4_TRUE='#' 21052 HAS_CC_DWARF4_FALSE= 21053fi 21054 21055# SUBST 21056 21057rm -rf test-gcc-DWARF4* 21058 21059 21060# 21061# AC_COMPILER_SUPPORTS -fstack-protector --param=ssp-buffer-size=4 21062# 21063# CHECKING 21064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -fstack-protector --param=ssp-buffer-size=4" >&5 21065$as_echo_n "checking if compiler supports -fstack-protector --param=ssp-buffer-size=4... " >&6; } 21066if [ "$CC" = "" ] 21067then 21068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 21069$as_echo "\"compiler not set yet, fix this\"" >&6; } 21070 exit 1 21071fi 21072cat > test-gcc-STACK_PROTECTOR.c <<_ACEOF 21073#include "confdefs.h" 21074#if HAVE_STDLIB_H 21075#include<stdlib.h> 21076#endif 21077int main(int argc,char** argv) 21078{ 21079 (void)argc; 21080 (void)argv; 21081 puts("Hello World!"); 21082 return 0; 21083} 21084_ACEOF 21085$CC -fstack-protector --param=ssp-buffer-size=4 test-gcc-STACK_PROTECTOR.c -o test-gcc-STACK_PROTECTOR > /dev/null 2>&1 21086if [ $? -ne 0 ] 21087then 21088 has_cc_STACK_PROTECTOR="no" 21089 if false; then 21090 HAS_CC_STACK_PROTECTOR_TRUE= 21091 HAS_CC_STACK_PROTECTOR_FALSE='#' 21092else 21093 HAS_CC_STACK_PROTECTOR_TRUE='#' 21094 HAS_CC_STACK_PROTECTOR_FALSE= 21095fi 21096 21097 21098cat >>confdefs.h <<_ACEOF 21099#define HAS_CC_STACK_PROTECTOR 0 21100_ACEOF 21101 21102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21103$as_echo "no" >&6; } 21104else 21105 has_cc_STACK_PROTECTOR="yes" 21106 if true; then 21107 HAS_CC_STACK_PROTECTOR_TRUE= 21108 HAS_CC_STACK_PROTECTOR_FALSE='#' 21109else 21110 HAS_CC_STACK_PROTECTOR_TRUE='#' 21111 HAS_CC_STACK_PROTECTOR_FALSE= 21112fi 21113 21114 21115cat >>confdefs.h <<_ACEOF 21116#define HAS_CC_STACK_PROTECTOR 1 21117_ACEOF 21118 21119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21120$as_echo "yes" >&6; } 21121fi 21122# CONDITIONAL 21123 if test "y$has_cc_STACK_PROTECTOR" == "yyes"; then 21124 HAS_CC_STACK_PROTECTOR_TRUE= 21125 HAS_CC_STACK_PROTECTOR_FALSE='#' 21126else 21127 HAS_CC_STACK_PROTECTOR_TRUE='#' 21128 HAS_CC_STACK_PROTECTOR_FALSE= 21129fi 21130 21131# SUBST 21132 21133rm -rf test-gcc-STACK_PROTECTOR* 21134 21135 21136# 21137# AC_COMPILER_SUPPORTS -fexceptions 21138# 21139# CHECKING 21140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -fexceptions" >&5 21141$as_echo_n "checking if compiler supports -fexceptions... " >&6; } 21142if [ "$CC" = "" ] 21143then 21144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 21145$as_echo "\"compiler not set yet, fix this\"" >&6; } 21146 exit 1 21147fi 21148cat > test-gcc-EXCEPTIONS.c <<_ACEOF 21149#include "confdefs.h" 21150#if HAVE_STDLIB_H 21151#include<stdlib.h> 21152#endif 21153int main(int argc,char** argv) 21154{ 21155 (void)argc; 21156 (void)argv; 21157 puts("Hello World!"); 21158 return 0; 21159} 21160_ACEOF 21161$CC -fexceptions test-gcc-EXCEPTIONS.c -o test-gcc-EXCEPTIONS > /dev/null 2>&1 21162if [ $? -ne 0 ] 21163then 21164 has_cc_EXCEPTIONS="no" 21165 if false; then 21166 HAS_CC_EXCEPTIONS_TRUE= 21167 HAS_CC_EXCEPTIONS_FALSE='#' 21168else 21169 HAS_CC_EXCEPTIONS_TRUE='#' 21170 HAS_CC_EXCEPTIONS_FALSE= 21171fi 21172 21173 21174cat >>confdefs.h <<_ACEOF 21175#define HAS_CC_EXCEPTIONS 0 21176_ACEOF 21177 21178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21179$as_echo "no" >&6; } 21180else 21181 has_cc_EXCEPTIONS="yes" 21182 if true; then 21183 HAS_CC_EXCEPTIONS_TRUE= 21184 HAS_CC_EXCEPTIONS_FALSE='#' 21185else 21186 HAS_CC_EXCEPTIONS_TRUE='#' 21187 HAS_CC_EXCEPTIONS_FALSE= 21188fi 21189 21190 21191cat >>confdefs.h <<_ACEOF 21192#define HAS_CC_EXCEPTIONS 1 21193_ACEOF 21194 21195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21196$as_echo "yes" >&6; } 21197fi 21198# CONDITIONAL 21199 if test "y$has_cc_EXCEPTIONS" == "yyes"; then 21200 HAS_CC_EXCEPTIONS_TRUE= 21201 HAS_CC_EXCEPTIONS_FALSE='#' 21202else 21203 HAS_CC_EXCEPTIONS_TRUE='#' 21204 HAS_CC_EXCEPTIONS_FALSE= 21205fi 21206 21207# SUBST 21208 21209rm -rf test-gcc-EXCEPTIONS* 21210 21211 21212# 21213# AC_COMPILER_SUPPORTS -Werror=missing-field-initializers 21214# 21215# CHECKING 21216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=missing-field-initializers" >&5 21217$as_echo_n "checking if compiler supports -Werror=missing-field-initializers... " >&6; } 21218if [ "$CC" = "" ] 21219then 21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 21221$as_echo "\"compiler not set yet, fix this\"" >&6; } 21222 exit 1 21223fi 21224cat > test-gcc-MISSING_FIELD_INITIALIZERS.c <<_ACEOF 21225#include "confdefs.h" 21226#if HAVE_STDLIB_H 21227#include<stdlib.h> 21228#endif 21229int main(int argc,char** argv) 21230{ 21231 (void)argc; 21232 (void)argv; 21233 puts("Hello World!"); 21234 return 0; 21235} 21236_ACEOF 21237$CC -Werror=missing-field-initializers test-gcc-MISSING_FIELD_INITIALIZERS.c -o test-gcc-MISSING_FIELD_INITIALIZERS > /dev/null 2>&1 21238if [ $? -ne 0 ] 21239then 21240 has_cc_MISSING_FIELD_INITIALIZERS="no" 21241 if false; then 21242 HAS_CC_MISSING_FIELD_INITIALIZERS_TRUE= 21243 HAS_CC_MISSING_FIELD_INITIALIZERS_FALSE='#' 21244else 21245 HAS_CC_MISSING_FIELD_INITIALIZERS_TRUE='#' 21246 HAS_CC_MISSING_FIELD_INITIALIZERS_FALSE= 21247fi 21248 21249 21250cat >>confdefs.h <<_ACEOF 21251#define HAS_CC_MISSING_FIELD_INITIALIZERS 0 21252_ACEOF 21253 21254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21255$as_echo "no" >&6; } 21256else 21257 has_cc_MISSING_FIELD_INITIALIZERS="yes" 21258 if true; then 21259 HAS_CC_MISSING_FIELD_INITIALIZERS_TRUE= 21260 HAS_CC_MISSING_FIELD_INITIALIZERS_FALSE='#' 21261else 21262 HAS_CC_MISSING_FIELD_INITIALIZERS_TRUE='#' 21263 HAS_CC_MISSING_FIELD_INITIALIZERS_FALSE= 21264fi 21265 21266 21267cat >>confdefs.h <<_ACEOF 21268#define HAS_CC_MISSING_FIELD_INITIALIZERS 1 21269_ACEOF 21270 21271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21272$as_echo "yes" >&6; } 21273fi 21274# CONDITIONAL 21275 if test "y$has_cc_MISSING_FIELD_INITIALIZERS" == "yyes"; then 21276 HAS_CC_MISSING_FIELD_INITIALIZERS_TRUE= 21277 HAS_CC_MISSING_FIELD_INITIALIZERS_FALSE='#' 21278else 21279 HAS_CC_MISSING_FIELD_INITIALIZERS_TRUE='#' 21280 HAS_CC_MISSING_FIELD_INITIALIZERS_FALSE= 21281fi 21282 21283# SUBST 21284 21285rm -rf test-gcc-MISSING_FIELD_INITIALIZERS* 21286 21287 21288# 21289# AC_COMPILER_SUPPORTS -fsanitize=address 21290# 21291# CHECKING 21292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -fsanitize=address" >&5 21293$as_echo_n "checking if compiler supports -fsanitize=address... " >&6; } 21294if [ "$CC" = "" ] 21295then 21296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 21297$as_echo "\"compiler not set yet, fix this\"" >&6; } 21298 exit 1 21299fi 21300cat > test-gcc-SANITIZE_ADDRESS.c <<_ACEOF 21301#include "confdefs.h" 21302#if HAVE_STDLIB_H 21303#include<stdlib.h> 21304#endif 21305int main(int argc,char** argv) 21306{ 21307 (void)argc; 21308 (void)argv; 21309 puts("Hello World!"); 21310 return 0; 21311} 21312_ACEOF 21313$CC -fsanitize=address test-gcc-SANITIZE_ADDRESS.c -o test-gcc-SANITIZE_ADDRESS > /dev/null 2>&1 21314if [ $? -ne 0 ] 21315then 21316 has_cc_SANITIZE_ADDRESS="no" 21317 if false; then 21318 HAS_CC_SANITIZE_ADDRESS_TRUE= 21319 HAS_CC_SANITIZE_ADDRESS_FALSE='#' 21320else 21321 HAS_CC_SANITIZE_ADDRESS_TRUE='#' 21322 HAS_CC_SANITIZE_ADDRESS_FALSE= 21323fi 21324 21325 21326cat >>confdefs.h <<_ACEOF 21327#define HAS_CC_SANITIZE_ADDRESS 0 21328_ACEOF 21329 21330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21331$as_echo "no" >&6; } 21332else 21333 has_cc_SANITIZE_ADDRESS="yes" 21334 if true; then 21335 HAS_CC_SANITIZE_ADDRESS_TRUE= 21336 HAS_CC_SANITIZE_ADDRESS_FALSE='#' 21337else 21338 HAS_CC_SANITIZE_ADDRESS_TRUE='#' 21339 HAS_CC_SANITIZE_ADDRESS_FALSE= 21340fi 21341 21342 21343cat >>confdefs.h <<_ACEOF 21344#define HAS_CC_SANITIZE_ADDRESS 1 21345_ACEOF 21346 21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21348$as_echo "yes" >&6; } 21349fi 21350# CONDITIONAL 21351 if test "y$has_cc_SANITIZE_ADDRESS" == "yyes"; then 21352 HAS_CC_SANITIZE_ADDRESS_TRUE= 21353 HAS_CC_SANITIZE_ADDRESS_FALSE='#' 21354else 21355 HAS_CC_SANITIZE_ADDRESS_TRUE='#' 21356 HAS_CC_SANITIZE_ADDRESS_FALSE= 21357fi 21358 21359# SUBST 21360 21361rm -rf test-gcc-SANITIZE_ADDRESS* 21362 21363 21364# 21365# AC_COMPILER_SUPPORTS -fno-omit-frame-pointer 21366# 21367# CHECKING 21368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -fno-omit-frame-pointer" >&5 21369$as_echo_n "checking if compiler supports -fno-omit-frame-pointer... " >&6; } 21370if [ "$CC" = "" ] 21371then 21372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 21373$as_echo "\"compiler not set yet, fix this\"" >&6; } 21374 exit 1 21375fi 21376cat > test-gcc-NO_OMIT_FRAME_POINTER.c <<_ACEOF 21377#include "confdefs.h" 21378#if HAVE_STDLIB_H 21379#include<stdlib.h> 21380#endif 21381int main(int argc,char** argv) 21382{ 21383 (void)argc; 21384 (void)argv; 21385 puts("Hello World!"); 21386 return 0; 21387} 21388_ACEOF 21389$CC -fno-omit-frame-pointer test-gcc-NO_OMIT_FRAME_POINTER.c -o test-gcc-NO_OMIT_FRAME_POINTER > /dev/null 2>&1 21390if [ $? -ne 0 ] 21391then 21392 has_cc_NO_OMIT_FRAME_POINTER="no" 21393 if false; then 21394 HAS_CC_NO_OMIT_FRAME_POINTER_TRUE= 21395 HAS_CC_NO_OMIT_FRAME_POINTER_FALSE='#' 21396else 21397 HAS_CC_NO_OMIT_FRAME_POINTER_TRUE='#' 21398 HAS_CC_NO_OMIT_FRAME_POINTER_FALSE= 21399fi 21400 21401 21402cat >>confdefs.h <<_ACEOF 21403#define HAS_CC_NO_OMIT_FRAME_POINTER 0 21404_ACEOF 21405 21406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21407$as_echo "no" >&6; } 21408else 21409 has_cc_NO_OMIT_FRAME_POINTER="yes" 21410 if true; then 21411 HAS_CC_NO_OMIT_FRAME_POINTER_TRUE= 21412 HAS_CC_NO_OMIT_FRAME_POINTER_FALSE='#' 21413else 21414 HAS_CC_NO_OMIT_FRAME_POINTER_TRUE='#' 21415 HAS_CC_NO_OMIT_FRAME_POINTER_FALSE= 21416fi 21417 21418 21419cat >>confdefs.h <<_ACEOF 21420#define HAS_CC_NO_OMIT_FRAME_POINTER 1 21421_ACEOF 21422 21423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21424$as_echo "yes" >&6; } 21425fi 21426# CONDITIONAL 21427 if test "y$has_cc_NO_OMIT_FRAME_POINTER" == "yyes"; then 21428 HAS_CC_NO_OMIT_FRAME_POINTER_TRUE= 21429 HAS_CC_NO_OMIT_FRAME_POINTER_FALSE='#' 21430else 21431 HAS_CC_NO_OMIT_FRAME_POINTER_TRUE='#' 21432 HAS_CC_NO_OMIT_FRAME_POINTER_FALSE= 21433fi 21434 21435# SUBST 21436 21437rm -rf test-gcc-NO_OMIT_FRAME_POINTER* 21438 21439 21440# 21441# AC_COMPILER_SUPPORTS -faddress-sanitizer 21442# 21443# CHECKING 21444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -faddress-sanitizer" >&5 21445$as_echo_n "checking if compiler supports -faddress-sanitizer... " >&6; } 21446if [ "$CC" = "" ] 21447then 21448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 21449$as_echo "\"compiler not set yet, fix this\"" >&6; } 21450 exit 1 21451fi 21452cat > test-gcc-ADDRESS_SANITIZER_CHECK.c <<_ACEOF 21453#include "confdefs.h" 21454#if HAVE_STDLIB_H 21455#include<stdlib.h> 21456#endif 21457int main(int argc,char** argv) 21458{ 21459 (void)argc; 21460 (void)argv; 21461 puts("Hello World!"); 21462 return 0; 21463} 21464_ACEOF 21465$CC -faddress-sanitizer test-gcc-ADDRESS_SANITIZER_CHECK.c -o test-gcc-ADDRESS_SANITIZER_CHECK > /dev/null 2>&1 21466if [ $? -ne 0 ] 21467then 21468 has_cc_ADDRESS_SANITIZER_CHECK="no" 21469 if false; then 21470 HAS_CC_ADDRESS_SANITIZER_CHECK_TRUE= 21471 HAS_CC_ADDRESS_SANITIZER_CHECK_FALSE='#' 21472else 21473 HAS_CC_ADDRESS_SANITIZER_CHECK_TRUE='#' 21474 HAS_CC_ADDRESS_SANITIZER_CHECK_FALSE= 21475fi 21476 21477 21478cat >>confdefs.h <<_ACEOF 21479#define HAS_CC_ADDRESS_SANITIZER_CHECK 0 21480_ACEOF 21481 21482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21483$as_echo "no" >&6; } 21484else 21485 has_cc_ADDRESS_SANITIZER_CHECK="yes" 21486 if true; then 21487 HAS_CC_ADDRESS_SANITIZER_CHECK_TRUE= 21488 HAS_CC_ADDRESS_SANITIZER_CHECK_FALSE='#' 21489else 21490 HAS_CC_ADDRESS_SANITIZER_CHECK_TRUE='#' 21491 HAS_CC_ADDRESS_SANITIZER_CHECK_FALSE= 21492fi 21493 21494 21495cat >>confdefs.h <<_ACEOF 21496#define HAS_CC_ADDRESS_SANITIZER_CHECK 1 21497_ACEOF 21498 21499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21500$as_echo "yes" >&6; } 21501fi 21502# CONDITIONAL 21503 if test "y$has_cc_ADDRESS_SANITIZER_CHECK" == "yyes"; then 21504 HAS_CC_ADDRESS_SANITIZER_CHECK_TRUE= 21505 HAS_CC_ADDRESS_SANITIZER_CHECK_FALSE='#' 21506else 21507 HAS_CC_ADDRESS_SANITIZER_CHECK_TRUE='#' 21508 HAS_CC_ADDRESS_SANITIZER_CHECK_FALSE= 21509fi 21510 21511# SUBST 21512 21513rm -rf test-gcc-ADDRESS_SANITIZER_CHECK* 21514 21515 21516# 21517# AC_COMPILER_SUPPORTS -fcatch_undefined_behavior 21518# 21519# CHECKING 21520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -fcatch_undefined_behavior" >&5 21521$as_echo_n "checking if compiler supports -fcatch_undefined_behavior... " >&6; } 21522if [ "$CC" = "" ] 21523then 21524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 21525$as_echo "\"compiler not set yet, fix this\"" >&6; } 21526 exit 1 21527fi 21528cat > test-gcc-CATCH_UNDEFINED_BEHAVIOR.c <<_ACEOF 21529#include "confdefs.h" 21530#if HAVE_STDLIB_H 21531#include<stdlib.h> 21532#endif 21533int main(int argc,char** argv) 21534{ 21535 (void)argc; 21536 (void)argv; 21537 puts("Hello World!"); 21538 return 0; 21539} 21540_ACEOF 21541$CC -fcatch_undefined_behavior test-gcc-CATCH_UNDEFINED_BEHAVIOR.c -o test-gcc-CATCH_UNDEFINED_BEHAVIOR > /dev/null 2>&1 21542if [ $? -ne 0 ] 21543then 21544 has_cc_CATCH_UNDEFINED_BEHAVIOR="no" 21545 if false; then 21546 HAS_CC_CATCH_UNDEFINED_BEHAVIOR_TRUE= 21547 HAS_CC_CATCH_UNDEFINED_BEHAVIOR_FALSE='#' 21548else 21549 HAS_CC_CATCH_UNDEFINED_BEHAVIOR_TRUE='#' 21550 HAS_CC_CATCH_UNDEFINED_BEHAVIOR_FALSE= 21551fi 21552 21553 21554cat >>confdefs.h <<_ACEOF 21555#define HAS_CC_CATCH_UNDEFINED_BEHAVIOR 0 21556_ACEOF 21557 21558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21559$as_echo "no" >&6; } 21560else 21561 has_cc_CATCH_UNDEFINED_BEHAVIOR="yes" 21562 if true; then 21563 HAS_CC_CATCH_UNDEFINED_BEHAVIOR_TRUE= 21564 HAS_CC_CATCH_UNDEFINED_BEHAVIOR_FALSE='#' 21565else 21566 HAS_CC_CATCH_UNDEFINED_BEHAVIOR_TRUE='#' 21567 HAS_CC_CATCH_UNDEFINED_BEHAVIOR_FALSE= 21568fi 21569 21570 21571cat >>confdefs.h <<_ACEOF 21572#define HAS_CC_CATCH_UNDEFINED_BEHAVIOR 1 21573_ACEOF 21574 21575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21576$as_echo "yes" >&6; } 21577fi 21578# CONDITIONAL 21579 if test "y$has_cc_CATCH_UNDEFINED_BEHAVIOR" == "yyes"; then 21580 HAS_CC_CATCH_UNDEFINED_BEHAVIOR_TRUE= 21581 HAS_CC_CATCH_UNDEFINED_BEHAVIOR_FALSE='#' 21582else 21583 HAS_CC_CATCH_UNDEFINED_BEHAVIOR_TRUE='#' 21584 HAS_CC_CATCH_UNDEFINED_BEHAVIOR_FALSE= 21585fi 21586 21587# SUBST 21588 21589rm -rf test-gcc-CATCH_UNDEFINED_BEHAVIOR* 21590 21591 21592# 21593# AC_COMPILER_SUPPORTS -rdynamic 21594# 21595# CHECKING 21596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -rdynamic" >&5 21597$as_echo_n "checking if compiler supports -rdynamic... " >&6; } 21598if [ "$CC" = "" ] 21599then 21600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 21601$as_echo "\"compiler not set yet, fix this\"" >&6; } 21602 exit 1 21603fi 21604cat > test-gcc-RDYNAMIC.c <<_ACEOF 21605#include "confdefs.h" 21606#if HAVE_STDLIB_H 21607#include<stdlib.h> 21608#endif 21609int main(int argc,char** argv) 21610{ 21611 (void)argc; 21612 (void)argv; 21613 puts("Hello World!"); 21614 return 0; 21615} 21616_ACEOF 21617$CC -rdynamic test-gcc-RDYNAMIC.c -o test-gcc-RDYNAMIC > /dev/null 2>&1 21618if [ $? -ne 0 ] 21619then 21620 has_cc_RDYNAMIC="no" 21621 if false; then 21622 HAS_CC_RDYNAMIC_TRUE= 21623 HAS_CC_RDYNAMIC_FALSE='#' 21624else 21625 HAS_CC_RDYNAMIC_TRUE='#' 21626 HAS_CC_RDYNAMIC_FALSE= 21627fi 21628 21629 21630cat >>confdefs.h <<_ACEOF 21631#define HAS_CC_RDYNAMIC 0 21632_ACEOF 21633 21634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21635$as_echo "no" >&6; } 21636else 21637 has_cc_RDYNAMIC="yes" 21638 if true; then 21639 HAS_CC_RDYNAMIC_TRUE= 21640 HAS_CC_RDYNAMIC_FALSE='#' 21641else 21642 HAS_CC_RDYNAMIC_TRUE='#' 21643 HAS_CC_RDYNAMIC_FALSE= 21644fi 21645 21646 21647cat >>confdefs.h <<_ACEOF 21648#define HAS_CC_RDYNAMIC 1 21649_ACEOF 21650 21651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21652$as_echo "yes" >&6; } 21653fi 21654# CONDITIONAL 21655 if test "y$has_cc_RDYNAMIC" == "yyes"; then 21656 HAS_CC_RDYNAMIC_TRUE= 21657 HAS_CC_RDYNAMIC_FALSE='#' 21658else 21659 HAS_CC_RDYNAMIC_TRUE='#' 21660 HAS_CC_RDYNAMIC_FALSE= 21661fi 21662 21663# SUBST 21664 21665rm -rf test-gcc-RDYNAMIC* 21666 21667 21668for ac_header in arpa/inet.h 21669do : 21670 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 21671if test "x$ac_cv_header_arpa_inet_h" = xyes; then : 21672 cat >>confdefs.h <<_ACEOF 21673#define HAVE_ARPA_INET_H 1 21674_ACEOF 21675 21676fi 21677 21678done 21679 21680for ac_header in asm/unistd.h 21681do : 21682 ac_fn_c_check_header_mongrel "$LINENO" "asm/unistd.h" "ac_cv_header_asm_unistd_h" "$ac_includes_default" 21683if test "x$ac_cv_header_asm_unistd_h" = xyes; then : 21684 cat >>confdefs.h <<_ACEOF 21685#define HAVE_ASM_UNISTD_H 1 21686_ACEOF 21687 21688fi 21689 21690done 21691 21692for ac_header in assert.h 21693do : 21694 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 21695if test "x$ac_cv_header_assert_h" = xyes; then : 21696 cat >>confdefs.h <<_ACEOF 21697#define HAVE_ASSERT_H 1 21698_ACEOF 21699 21700fi 21701 21702done 21703 21704for ac_header in bfd.h 21705do : 21706 ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default" 21707if test "x$ac_cv_header_bfd_h" = xyes; then : 21708 cat >>confdefs.h <<_ACEOF 21709#define HAVE_BFD_H 1 21710_ACEOF 21711 21712fi 21713 21714done 21715 21716for ac_header in byteswap.h 21717do : 21718 ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default" 21719if test "x$ac_cv_header_byteswap_h" = xyes; then : 21720 cat >>confdefs.h <<_ACEOF 21721#define HAVE_BYTESWAP_H 1 21722_ACEOF 21723 21724fi 21725 21726done 21727 21728for ac_header in cpuid.h 21729do : 21730 ac_fn_c_check_header_mongrel "$LINENO" "cpuid.h" "ac_cv_header_cpuid_h" "$ac_includes_default" 21731if test "x$ac_cv_header_cpuid_h" = xyes; then : 21732 cat >>confdefs.h <<_ACEOF 21733#define HAVE_CPUID_H 1 21734_ACEOF 21735 21736fi 21737 21738done 21739 21740for ac_header in ctype.h 21741do : 21742 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 21743if test "x$ac_cv_header_ctype_h" = xyes; then : 21744 cat >>confdefs.h <<_ACEOF 21745#define HAVE_CTYPE_H 1 21746_ACEOF 21747 21748fi 21749 21750done 21751 21752for ac_header in dirent.h 21753do : 21754 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default" 21755if test "x$ac_cv_header_dirent_h" = xyes; then : 21756 cat >>confdefs.h <<_ACEOF 21757#define HAVE_DIRENT_H 1 21758_ACEOF 21759 21760fi 21761 21762done 21763 21764for ac_header in dlfcn.h 21765do : 21766 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 21767if test "x$ac_cv_header_dlfcn_h" = xyes; then : 21768 cat >>confdefs.h <<_ACEOF 21769#define HAVE_DLFCN_H 1 21770_ACEOF 21771 21772fi 21773 21774done 21775 21776for ac_header in endian.h 21777do : 21778 ac_fn_c_check_header_mongrel "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default" 21779if test "x$ac_cv_header_endian_h" = xyes; then : 21780 cat >>confdefs.h <<_ACEOF 21781#define HAVE_ENDIAN_H 1 21782_ACEOF 21783 21784fi 21785 21786done 21787 21788for ac_header in errno.h 21789do : 21790 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 21791if test "x$ac_cv_header_errno_h" = xyes; then : 21792 cat >>confdefs.h <<_ACEOF 21793#define HAVE_ERRNO_H 1 21794_ACEOF 21795 21796fi 21797 21798done 21799 21800for ac_header in execinfo.h 21801do : 21802 ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" 21803if test "x$ac_cv_header_execinfo_h" = xyes; then : 21804 cat >>confdefs.h <<_ACEOF 21805#define HAVE_EXECINFO_H 1 21806_ACEOF 21807 21808fi 21809 21810done 21811 21812for ac_header in fcntl.h 21813do : 21814 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 21815if test "x$ac_cv_header_fcntl_h" = xyes; then : 21816 cat >>confdefs.h <<_ACEOF 21817#define HAVE_FCNTL_H 1 21818_ACEOF 21819 21820fi 21821 21822done 21823 21824for ac_header in getopt.h 21825do : 21826 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 21827if test "x$ac_cv_header_getopt_h" = xyes; then : 21828 cat >>confdefs.h <<_ACEOF 21829#define HAVE_GETOPT_H 1 21830_ACEOF 21831 21832fi 21833 21834done 21835 21836for ac_header in grp.h 21837do : 21838 ac_fn_c_check_header_mongrel "$LINENO" "grp.h" "ac_cv_header_grp_h" "$ac_includes_default" 21839if test "x$ac_cv_header_grp_h" = xyes; then : 21840 cat >>confdefs.h <<_ACEOF 21841#define HAVE_GRP_H 1 21842_ACEOF 21843 21844fi 21845 21846done 21847 21848for ac_header in limits.h 21849do : 21850 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 21851if test "x$ac_cv_header_limits_h" = xyes; then : 21852 cat >>confdefs.h <<_ACEOF 21853#define HAVE_LIMITS_H 1 21854_ACEOF 21855 21856fi 21857 21858done 21859 21860for ac_header in linux/limits.h 21861do : 21862 ac_fn_c_check_header_mongrel "$LINENO" "linux/limits.h" "ac_cv_header_linux_limits_h" "$ac_includes_default" 21863if test "x$ac_cv_header_linux_limits_h" = xyes; then : 21864 cat >>confdefs.h <<_ACEOF 21865#define HAVE_LINUX_LIMITS_H 1 21866_ACEOF 21867 21868fi 21869 21870done 21871 21872for ac_header in mach/clock.h 21873do : 21874 ac_fn_c_check_header_mongrel "$LINENO" "mach/clock.h" "ac_cv_header_mach_clock_h" "$ac_includes_default" 21875if test "x$ac_cv_header_mach_clock_h" = xyes; then : 21876 cat >>confdefs.h <<_ACEOF 21877#define HAVE_MACH_CLOCK_H 1 21878_ACEOF 21879 21880fi 21881 21882done 21883 21884for ac_header in machine/endian.h 21885do : 21886 ac_fn_c_check_header_mongrel "$LINENO" "machine/endian.h" "ac_cv_header_machine_endian_h" "$ac_includes_default" 21887if test "x$ac_cv_header_machine_endian_h" = xyes; then : 21888 cat >>confdefs.h <<_ACEOF 21889#define HAVE_MACHINE_ENDIAN_H 1 21890_ACEOF 21891 21892fi 21893 21894done 21895 21896for ac_header in mach/mach.h 21897do : 21898 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" 21899if test "x$ac_cv_header_mach_mach_h" = xyes; then : 21900 cat >>confdefs.h <<_ACEOF 21901#define HAVE_MACH_MACH_H 1 21902_ACEOF 21903 21904fi 21905 21906done 21907 21908for ac_header in malloc.h 21909do : 21910 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 21911if test "x$ac_cv_header_malloc_h" = xyes; then : 21912 cat >>confdefs.h <<_ACEOF 21913#define HAVE_MALLOC_H 1 21914_ACEOF 21915 21916fi 21917 21918done 21919 21920for ac_header in netdb.h 21921do : 21922 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 21923if test "x$ac_cv_header_netdb_h" = xyes; then : 21924 cat >>confdefs.h <<_ACEOF 21925#define HAVE_NETDB_H 1 21926_ACEOF 21927 21928fi 21929 21930done 21931 21932for ac_header in net/ethernet.h 21933do : 21934 ac_fn_c_check_header_mongrel "$LINENO" "net/ethernet.h" "ac_cv_header_net_ethernet_h" "$ac_includes_default" 21935if test "x$ac_cv_header_net_ethernet_h" = xyes; then : 21936 cat >>confdefs.h <<_ACEOF 21937#define HAVE_NET_ETHERNET_H 1 21938_ACEOF 21939 21940fi 21941 21942done 21943 21944for ac_header in netinet/in.h 21945do : 21946 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 21947if test "x$ac_cv_header_netinet_in_h" = xyes; then : 21948 cat >>confdefs.h <<_ACEOF 21949#define HAVE_NETINET_IN_H 1 21950_ACEOF 21951 21952fi 21953 21954done 21955 21956for ac_header in netinet6/in6.h 21957do : 21958 ac_fn_c_check_header_mongrel "$LINENO" "netinet6/in6.h" "ac_cv_header_netinet6_in6_h" "$ac_includes_default" 21959if test "x$ac_cv_header_netinet6_in6_h" = xyes; then : 21960 cat >>confdefs.h <<_ACEOF 21961#define HAVE_NETINET6_IN6_H 1 21962_ACEOF 21963 21964fi 21965 21966done 21967 21968for ac_header in netinet/tcp.h 21969do : 21970 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 21971if test "x$ac_cv_header_netinet_tcp_h" = xyes; then : 21972 cat >>confdefs.h <<_ACEOF 21973#define HAVE_NETINET_TCP_H 1 21974_ACEOF 21975 21976fi 21977 21978done 21979 21980for ac_header in pcap/pcap.h 21981do : 21982 ac_fn_c_check_header_mongrel "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default" 21983if test "x$ac_cv_header_pcap_pcap_h" = xyes; then : 21984 cat >>confdefs.h <<_ACEOF 21985#define HAVE_PCAP_PCAP_H 1 21986_ACEOF 21987 21988fi 21989 21990done 21991 21992for ac_header in poll.h 21993do : 21994 ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" 21995if test "x$ac_cv_header_poll_h" = xyes; then : 21996 cat >>confdefs.h <<_ACEOF 21997#define HAVE_POLL_H 1 21998_ACEOF 21999 22000fi 22001 22002done 22003 22004for ac_header in pthread.h 22005do : 22006 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 22007if test "x$ac_cv_header_pthread_h" = xyes; then : 22008 cat >>confdefs.h <<_ACEOF 22009#define HAVE_PTHREAD_H 1 22010_ACEOF 22011 22012fi 22013 22014done 22015 22016for ac_header in pwd.h 22017do : 22018 ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default" 22019if test "x$ac_cv_header_pwd_h" = xyes; then : 22020 cat >>confdefs.h <<_ACEOF 22021#define HAVE_PWD_H 1 22022_ACEOF 22023 22024fi 22025 22026done 22027 22028for ac_header in sched.h 22029do : 22030 ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default" 22031if test "x$ac_cv_header_sched_h" = xyes; then : 22032 cat >>confdefs.h <<_ACEOF 22033#define HAVE_SCHED_H 1 22034_ACEOF 22035 22036fi 22037 22038done 22039 22040for ac_header in signal.h 22041do : 22042 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default" 22043if test "x$ac_cv_header_signal_h" = xyes; then : 22044 cat >>confdefs.h <<_ACEOF 22045#define HAVE_SIGNAL_H 1 22046_ACEOF 22047 22048fi 22049 22050done 22051 22052for ac_header in stdarg.h 22053do : 22054 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 22055if test "x$ac_cv_header_stdarg_h" = xyes; then : 22056 cat >>confdefs.h <<_ACEOF 22057#define HAVE_STDARG_H 1 22058_ACEOF 22059 22060fi 22061 22062done 22063 22064for ac_header in stdatomic.h 22065do : 22066 ac_fn_c_check_header_mongrel "$LINENO" "stdatomic.h" "ac_cv_header_stdatomic_h" "$ac_includes_default" 22067if test "x$ac_cv_header_stdatomic_h" = xyes; then : 22068 cat >>confdefs.h <<_ACEOF 22069#define HAVE_STDATOMIC_H 1 22070_ACEOF 22071 22072fi 22073 22074done 22075 22076for ac_header in stdbool.h 22077do : 22078 ac_fn_c_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default" 22079if test "x$ac_cv_header_stdbool_h" = xyes; then : 22080 cat >>confdefs.h <<_ACEOF 22081#define HAVE_STDBOOL_H 1 22082_ACEOF 22083 22084fi 22085 22086done 22087 22088for ac_header in stddef.h 22089do : 22090 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 22091if test "x$ac_cv_header_stddef_h" = xyes; then : 22092 cat >>confdefs.h <<_ACEOF 22093#define HAVE_STDDEF_H 1 22094_ACEOF 22095 22096fi 22097 22098done 22099 22100for ac_header in stdint.h 22101do : 22102 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 22103if test "x$ac_cv_header_stdint_h" = xyes; then : 22104 cat >>confdefs.h <<_ACEOF 22105#define HAVE_STDINT_H 1 22106_ACEOF 22107 22108fi 22109 22110done 22111 22112for ac_header in stdio.h 22113do : 22114 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 22115if test "x$ac_cv_header_stdio_h" = xyes; then : 22116 cat >>confdefs.h <<_ACEOF 22117#define HAVE_STDIO_H 1 22118_ACEOF 22119 22120fi 22121 22122done 22123 22124for ac_header in stdlib.h 22125do : 22126 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 22127if test "x$ac_cv_header_stdlib_h" = xyes; then : 22128 cat >>confdefs.h <<_ACEOF 22129#define HAVE_STDLIB_H 1 22130_ACEOF 22131 22132fi 22133 22134done 22135 22136for ac_header in string.h 22137do : 22138 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 22139if test "x$ac_cv_header_string_h" = xyes; then : 22140 cat >>confdefs.h <<_ACEOF 22141#define HAVE_STRING_H 1 22142_ACEOF 22143 22144fi 22145 22146done 22147 22148for ac_header in strings.h 22149do : 22150 ac_fn_c_check_header_mongrel "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default" 22151if test "x$ac_cv_header_strings_h" = xyes; then : 22152 cat >>confdefs.h <<_ACEOF 22153#define HAVE_STRINGS_H 1 22154_ACEOF 22155 22156fi 22157 22158done 22159 22160for ac_header in sys/byteorder.h 22161do : 22162 ac_fn_c_check_header_mongrel "$LINENO" "sys/byteorder.h" "ac_cv_header_sys_byteorder_h" "$ac_includes_default" 22163if test "x$ac_cv_header_sys_byteorder_h" = xyes; then : 22164 cat >>confdefs.h <<_ACEOF 22165#define HAVE_SYS_BYTEORDER_H 1 22166_ACEOF 22167 22168fi 22169 22170done 22171 22172for ac_header in sys/cpuset.h 22173do : 22174 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpuset.h" "ac_cv_header_sys_cpuset_h" "$ac_includes_default" 22175if test "x$ac_cv_header_sys_cpuset_h" = xyes; then : 22176 cat >>confdefs.h <<_ACEOF 22177#define HAVE_SYS_CPUSET_H 1 22178_ACEOF 22179 22180fi 22181 22182done 22183 22184for ac_header in sys/endian.h 22185do : 22186 ac_fn_c_check_header_mongrel "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default" 22187if test "x$ac_cv_header_sys_endian_h" = xyes; then : 22188 cat >>confdefs.h <<_ACEOF 22189#define HAVE_SYS_ENDIAN_H 1 22190_ACEOF 22191 22192fi 22193 22194done 22195 22196for ac_header in sys/file.h 22197do : 22198 ac_fn_c_check_header_mongrel "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default" 22199if test "x$ac_cv_header_sys_file_h" = xyes; then : 22200 cat >>confdefs.h <<_ACEOF 22201#define HAVE_SYS_FILE_H 1 22202_ACEOF 22203 22204fi 22205 22206done 22207 22208for ac_header in sys/ipc.h 22209do : 22210 ac_fn_c_check_header_mongrel "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default" 22211if test "x$ac_cv_header_sys_ipc_h" = xyes; then : 22212 cat >>confdefs.h <<_ACEOF 22213#define HAVE_SYS_IPC_H 1 22214_ACEOF 22215 22216fi 22217 22218done 22219 22220for ac_header in syslog.h 22221do : 22222 ac_fn_c_check_header_mongrel "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default" 22223if test "x$ac_cv_header_syslog_h" = xyes; then : 22224 cat >>confdefs.h <<_ACEOF 22225#define HAVE_SYSLOG_H 1 22226_ACEOF 22227 22228fi 22229 22230done 22231 22232for ac_header in sys/mman.h 22233do : 22234 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" 22235if test "x$ac_cv_header_sys_mman_h" = xyes; then : 22236 cat >>confdefs.h <<_ACEOF 22237#define HAVE_SYS_MMAN_H 1 22238_ACEOF 22239 22240fi 22241 22242done 22243 22244for ac_header in sys/msg.h 22245do : 22246 ac_fn_c_check_header_mongrel "$LINENO" "sys/msg.h" "ac_cv_header_sys_msg_h" "$ac_includes_default" 22247if test "x$ac_cv_header_sys_msg_h" = xyes; then : 22248 cat >>confdefs.h <<_ACEOF 22249#define HAVE_SYS_MSG_H 1 22250_ACEOF 22251 22252fi 22253 22254done 22255 22256for ac_header in sys/param.h 22257do : 22258 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" 22259if test "x$ac_cv_header_sys_param_h" = xyes; then : 22260 cat >>confdefs.h <<_ACEOF 22261#define HAVE_SYS_PARAM_H 1 22262_ACEOF 22263 22264fi 22265 22266done 22267 22268for ac_header in sys/prctl.h 22269do : 22270 ac_fn_c_check_header_mongrel "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default" 22271if test "x$ac_cv_header_sys_prctl_h" = xyes; then : 22272 cat >>confdefs.h <<_ACEOF 22273#define HAVE_SYS_PRCTL_H 1 22274_ACEOF 22275 22276fi 22277 22278done 22279 22280for ac_header in sys/resource.h 22281do : 22282 ac_fn_c_check_header_mongrel "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default" 22283if test "x$ac_cv_header_sys_resource_h" = xyes; then : 22284 cat >>confdefs.h <<_ACEOF 22285#define HAVE_SYS_RESOURCE_H 1 22286_ACEOF 22287 22288fi 22289 22290done 22291 22292for ac_header in sys/socket.h 22293do : 22294 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 22295if test "x$ac_cv_header_sys_socket_h" = xyes; then : 22296 cat >>confdefs.h <<_ACEOF 22297#define HAVE_SYS_SOCKET_H 1 22298_ACEOF 22299 22300fi 22301 22302done 22303 22304for ac_header in sys/stat.h 22305do : 22306 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" 22307if test "x$ac_cv_header_sys_stat_h" = xyes; then : 22308 cat >>confdefs.h <<_ACEOF 22309#define HAVE_SYS_STAT_H 1 22310_ACEOF 22311 22312fi 22313 22314done 22315 22316for ac_header in sys/syslimits.h 22317do : 22318 ac_fn_c_check_header_mongrel "$LINENO" "sys/syslimits.h" "ac_cv_header_sys_syslimits_h" "$ac_includes_default" 22319if test "x$ac_cv_header_sys_syslimits_h" = xyes; then : 22320 cat >>confdefs.h <<_ACEOF 22321#define HAVE_SYS_SYSLIMITS_H 1 22322_ACEOF 22323 22324fi 22325 22326done 22327 22328for ac_header in sys/time.h 22329do : 22330 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 22331if test "x$ac_cv_header_sys_time_h" = xyes; then : 22332 cat >>confdefs.h <<_ACEOF 22333#define HAVE_SYS_TIME_H 1 22334_ACEOF 22335 22336fi 22337 22338done 22339 22340for ac_header in sys/types.h 22341do : 22342 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 22343if test "x$ac_cv_header_sys_types_h" = xyes; then : 22344 cat >>confdefs.h <<_ACEOF 22345#define HAVE_SYS_TYPES_H 1 22346_ACEOF 22347 22348fi 22349 22350done 22351 22352for ac_header in sys/un.h 22353do : 22354 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" 22355if test "x$ac_cv_header_sys_un_h" = xyes; then : 22356 cat >>confdefs.h <<_ACEOF 22357#define HAVE_SYS_UN_H 1 22358_ACEOF 22359 22360fi 22361 22362done 22363 22364for ac_header in sys/wait.h 22365do : 22366 ac_fn_c_check_header_mongrel "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default" 22367if test "x$ac_cv_header_sys_wait_h" = xyes; then : 22368 cat >>confdefs.h <<_ACEOF 22369#define HAVE_SYS_WAIT_H 1 22370_ACEOF 22371 22372fi 22373 22374done 22375 22376for ac_header in tcl.h 22377do : 22378 ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default" 22379if test "x$ac_cv_header_tcl_h" = xyes; then : 22380 cat >>confdefs.h <<_ACEOF 22381#define HAVE_TCL_H 1 22382_ACEOF 22383 22384fi 22385 22386done 22387 22388for ac_header in time.h 22389do : 22390 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 22391if test "x$ac_cv_header_time_h" = xyes; then : 22392 cat >>confdefs.h <<_ACEOF 22393#define HAVE_TIME_H 1 22394_ACEOF 22395 22396fi 22397 22398done 22399 22400for ac_header in ucontext.h 22401do : 22402 ac_fn_c_check_header_mongrel "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "$ac_includes_default" 22403if test "x$ac_cv_header_ucontext_h" = xyes; then : 22404 cat >>confdefs.h <<_ACEOF 22405#define HAVE_UCONTEXT_H 1 22406_ACEOF 22407 22408fi 22409 22410done 22411 22412for ac_header in unistd.h 22413do : 22414 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 22415if test "x$ac_cv_header_unistd_h" = xyes; then : 22416 cat >>confdefs.h <<_ACEOF 22417#define HAVE_UNISTD_H 1 22418_ACEOF 22419 22420fi 22421 22422done 22423 22424for ac_header in stdnoreturn.h 22425do : 22426 ac_fn_c_check_header_mongrel "$LINENO" "stdnoreturn.h" "ac_cv_header_stdnoreturn_h" "$ac_includes_default" 22427if test "x$ac_cv_header_stdnoreturn_h" = xyes; then : 22428 cat >>confdefs.h <<_ACEOF 22429#define HAVE_STDNORETURN_H 1 22430_ACEOF 22431 22432fi 22433 22434done 22435 22436 22437 22438 22439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if memory accesses must be size-aligned" >&5 22440$as_echo_n "checking if memory accesses must be size-aligned... " >&6; } 22441cat > memalign_issues_test.c <<_ACEOF 22442#include "confdefs.h" 22443#if HAVE_STDLIB_H 22444#include<stdlib.h> 22445#endif 22446 22447int main(int argc, char** argv) 22448{ 22449 char* p = (char*)malloc(8); 22450 p++; 22451 int* intp= (int*)p; 22452 *intp=1; 22453 return 0; 22454} 22455_ACEOF 22456${CC} ${CFLAGS} memalign_issues_test.c -o memalign_issues_test > /dev/null 2>&1 22457./memalign_issues_test > /dev/null 2>&1 22458if [ $? -ne 0 ]; then 22459 has_memalign_issues=1 22460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22461$as_echo "yes" >&6; } 22462else 22463 has_memalign_issues=0 22464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22465$as_echo "no" >&6; } 22466fi 22467rm -f memalign_issues_test memalign_issues_test.c 22468# CONDITIONAL 22469 if test $has_memalign_issues -eq 1; then 22470 HAS_MEMALIGN_ISSUES_TRUE= 22471 HAS_MEMALIGN_ISSUES_FALSE='#' 22472else 22473 HAS_MEMALIGN_ISSUES_TRUE='#' 22474 HAS_MEMALIGN_ISSUES_FALSE= 22475fi 22476 22477# SUBST 22478 22479 22480cat >>confdefs.h <<_ACEOF 22481#define HAS_MEMALIGN_ISSUES $has_memalign_issues 22482_ACEOF 22483 22484 22485 22486 22487 22488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports __sync builtins" >&5 22489$as_echo_n "checking if the compiler supports __sync builtins... " >&6; } 22490cat > sync_builtin_test.c <<_ACEOF 22491typedef int atomic_flag; 22492 22493static int atomic_flag_test_and_set(atomic_flag* v) 22494{ 22495 atomic_flag old = __sync_fetch_and_or(v, (atomic_flag)1); 22496 return old; 22497} 22498 22499static void atomic_flag_clear(atomic_flag* v) 22500{ 22501 __sync_fetch_and_and(v, (atomic_flag)0); 22502} 22503 22504int main() 22505{ 22506 atomic_flag f; 22507 atomic_flag old = atomic_flag_test_and_set(&f); 22508 atomic_flag_clear(&f); 22509 return 0; 22510} 22511 22512_ACEOF 22513${CC} ${CFLAGS} sync_builtin_test.c -o sync_builtin_test > /dev/null 2>&1 22514./sync_builtin_test > /dev/null 2>&1 22515if [ $? -eq 0 ]; then 22516 has_sync_builtins=1 22517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22518$as_echo "yes" >&6; } 22519else 22520 has_sync_builtins=0 22521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22522$as_echo "no" >&6; } 22523fi 22524rm -f sync_builtin_test sync_builtin_test.c 22525# CONDITIONAL 22526 if test $has_sync_builtins -eq 1; then 22527 HAS_SYNC_BUILTINS_TRUE= 22528 HAS_SYNC_BUILTINS_FALSE='#' 22529else 22530 HAS_SYNC_BUILTINS_TRUE='#' 22531 HAS_SYNC_BUILTINS_FALSE= 22532fi 22533 22534# SUBST 22535 22536 22537cat >>confdefs.h <<_ACEOF 22538#define HAS_SYNC_BUILTINS $has_sync_builtins 22539_ACEOF 22540 22541 22542 22543 22544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgroups" >&5 22545$as_echo_n "checking for setgroups... " >&6; } 22546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgroups in -lc" >&5 22547$as_echo_n "checking for setgroups in -lc... " >&6; } 22548if ${ac_cv_lib_c_setgroups+:} false; then : 22549 $as_echo_n "(cached) " >&6 22550else 22551 ac_check_lib_save_LIBS=$LIBS 22552LIBS="-lc $LIBS" 22553cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22554/* end confdefs.h. */ 22555 22556/* Override any GCC internal prototype to avoid an error. 22557 Use char because int might match the return type of a GCC 22558 builtin and then its argument prototype would still apply. */ 22559#ifdef __cplusplus 22560extern "C" 22561#endif 22562char setgroups (); 22563int 22564main () 22565{ 22566return setgroups (); 22567 ; 22568 return 0; 22569} 22570_ACEOF 22571if ac_fn_c_try_link "$LINENO"; then : 22572 ac_cv_lib_c_setgroups=yes 22573else 22574 ac_cv_lib_c_setgroups=no 22575fi 22576rm -f core conftest.err conftest.$ac_objext \ 22577 conftest$ac_exeext conftest.$ac_ext 22578LIBS=$ac_check_lib_save_LIBS 22579fi 22580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setgroups" >&5 22581$as_echo "$ac_cv_lib_c_setgroups" >&6; } 22582if test "x$ac_cv_lib_c_setgroups" = xyes; then : 22583 22584 22585cat >>confdefs.h <<_ACEOF 22586#define HAS_SETGROUPS 1 22587_ACEOF 22588 22589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22590$as_echo "yes" >&6; } 22591 22592else 22593 22594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22595$as_echo "no" >&6; } 22596 22597 22598fi 22599 22600 22601 22602# 22603# AC_ENDIANNESS 22604# 22605# CHECKING 22606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking endianness: " >&5 22607$as_echo_n "checking endianness: ... " >&6; } 22608if [ "$CC" = "" ] 22609then 22610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"compiler not set yet, fix this\"" >&5 22611$as_echo "\"compiler not set yet, fix this\"" >&6; } 22612 exit 1 22613fi 22614cat > test-gcc-endian.c <<_ACEOF 22615#include "confdefs.h" 22616#if HAVE_STDLIB_H 22617#include<stdlib.h> 22618#endif 22619#if HAVE_STDIO_H 22620#include <stdio.h> 22621#endif 22622#if defined __FreeBSD__ || defined __DragonFly__ 22623#if HAVE_SYS_ENDIAN_H 22624#include <sys/endian.h> 22625#endif 22626#elif defined __APPLE__ 22627#if HAVE_MACHINE_ENDIAN_H 22628#include <machine/endian.h> 22629#endif 22630#elif defined __sun 22631#if HAVE_SYS_BYTEORDER_H 22632#include <sys/byteorder.h> 22633#endif 22634#else 22635#if HAVE_ENDIAN_H 22636#include <endian.h> 22637#endif 22638#if HAVE_BYTESWAP_H 22639#include <byteswap.h> 22640#endif 22641#endif 22642static int magic = 0x00525545; 22643int main(int argc,char** argv) 22644{ 22645 (void)argc; 22646 (void)argv; 22647 int pp = -1; 22648 int c = -1; 22649 22650#if defined _BIG_ENDIAN 22651 pp = 2; 22652#elif defined _LITTLE_ENDIAN 22653 pp = 1; 22654#endif 22655 22656#ifdef __BYTE_ORDER 22657#if __BYTE_ORDER == __LITTLE_ENDIAN 22658 pp = 1; 22659#elif __BYTE_ORDER == __BIG_ENDIAN 22660 pp = 2; 22661#endif 22662// printf("__BYTE_ORDER=%x\n", __BYTE_ORDER); 22663#endif 22664 22665#ifdef _BYTE_ORDER 22666#if _BYTE_ORDER == _LITTLE_ENDIAN 22667 pp = 1; 22668#elif _BYTE_ORDER == _BIG_ENDIAN 22669 pp = 2; 22670#endif 22671 printf("_BYTE_ORDER=%x\n", _BYTE_ORDER); 22672#endif 22673 22674#ifdef BYTE_ORDER 22675#if BYTE_ORDER == LITTLE_ENDIAN 22676 pp = 1; 22677#elif BYTE_ORDER == BIG_ENDIAN 22678 pp = 2; 22679#endif 22680// printf("BYTE_ORDER=%x\n", BYTE_ORDER); 22681#endif 22682# 22683#ifdef WORDS_BIGENDIAN 22684 22685// printf("WORDS_BIGENDIAN=%x\n", WORDS_BIGENDIAN); 22686 22687 if(pp == 1) // could be -1 or 2 22688 { 22689 pp = -2; 22690 } 22691 else 22692 { 22693 pp = 2; 22694 } 22695#endif 22696 22697 char *p = (char*)&magic; 22698 if(*p == '\0') 22699 { 22700 c = 2; 22701 } 22702 else if(*p == 'E') 22703 { 22704 c = 1; 22705 } 22706 22707 if((pp < 0) || (c < 0)) 22708 { 22709 printf("*** WARNING *** preprocessor says %i, real test says %i *** WARNING ***\n", pp, c); 22710 } 22711 22712 if(c == pp) 22713 { 22714 return c; 22715 } 22716 else 22717 { 22718 return -1; 22719 } 22720} 22721_ACEOF 22722$CC test-gcc-endian.c -o test-gcc-endian > /dev/null 2>&1 22723if [ $? -ne 0 ] 22724then 22725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"failed to compile test\"" >&5 22726$as_echo "\"failed to compile test\"" >&6; } 22727 exit 1 22728fi 22729./test-gcc-endian 22730if [ $? -eq 1 ] 22731then 22732 cpu_endian="little" 22733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: little" >&5 22734$as_echo "little" >&6; } 22735else 22736 cpu_endian="big" 22737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: big" >&5 22738$as_echo "big" >&6; } 22739fi 22740# CONDITIONAL 22741 if test "$cpu_endian" == "little"; then 22742 HAS_LITTLE_ENDIAN_TRUE= 22743 HAS_LITTLE_ENDIAN_FALSE='#' 22744else 22745 HAS_LITTLE_ENDIAN_TRUE='#' 22746 HAS_LITTLE_ENDIAN_FALSE= 22747fi 22748 22749 if test "$cpu_endian" == "big"; then 22750 HAS_BIG_ENDIAN_TRUE= 22751 HAS_BIG_ENDIAN_FALSE='#' 22752else 22753 HAS_BIG_ENDIAN_TRUE='#' 22754 HAS_BIG_ENDIAN_FALSE= 22755fi 22756 22757# SUBST 22758 22759 22760rm -f test-gcc-endian.c* test-gcc-endian 22761 22762 22763 22764 22765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_spin_init" >&5 22766$as_echo_n "checking for pthread_spin_init... " >&6; } 22767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_spin_init" >&5 22768$as_echo_n "checking for library containing pthread_spin_init... " >&6; } 22769if ${ac_cv_search_pthread_spin_init+:} false; then : 22770 $as_echo_n "(cached) " >&6 22771else 22772 ac_func_search_save_LIBS=$LIBS 22773cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22774/* end confdefs.h. */ 22775 22776/* Override any GCC internal prototype to avoid an error. 22777 Use char because int might match the return type of a GCC 22778 builtin and then its argument prototype would still apply. */ 22779#ifdef __cplusplus 22780extern "C" 22781#endif 22782char pthread_spin_init (); 22783int 22784main () 22785{ 22786return pthread_spin_init (); 22787 ; 22788 return 0; 22789} 22790_ACEOF 22791for ac_lib in '' pthread; do 22792 if test -z "$ac_lib"; then 22793 ac_res="none required" 22794 else 22795 ac_res=-l$ac_lib 22796 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 22797 fi 22798 if ac_fn_c_try_link "$LINENO"; then : 22799 ac_cv_search_pthread_spin_init=$ac_res 22800fi 22801rm -f core conftest.err conftest.$ac_objext \ 22802 conftest$ac_exeext 22803 if ${ac_cv_search_pthread_spin_init+:} false; then : 22804 break 22805fi 22806done 22807if ${ac_cv_search_pthread_spin_init+:} false; then : 22808 22809else 22810 ac_cv_search_pthread_spin_init=no 22811fi 22812rm conftest.$ac_ext 22813LIBS=$ac_func_search_save_LIBS 22814fi 22815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_spin_init" >&5 22816$as_echo "$ac_cv_search_pthread_spin_init" >&6; } 22817ac_res=$ac_cv_search_pthread_spin_init 22818if test "$ac_res" != no; then : 22819 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 22820 22821cat >>confdefs.h <<_ACEOF 22822#define HAS_PTHREAD_SPINLOCK 1 22823_ACEOF 22824 echo yes 22825else 22826 echo no 22827fi 22828 22829 22830 22831 22832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np" >&5 22833$as_echo_n "checking for pthread_setname_np... " >&6; } 22834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_setname_np" >&5 22835$as_echo_n "checking for library containing pthread_setname_np... " >&6; } 22836if ${ac_cv_search_pthread_setname_np+:} false; then : 22837 $as_echo_n "(cached) " >&6 22838else 22839 ac_func_search_save_LIBS=$LIBS 22840cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22841/* end confdefs.h. */ 22842 22843/* Override any GCC internal prototype to avoid an error. 22844 Use char because int might match the return type of a GCC 22845 builtin and then its argument prototype would still apply. */ 22846#ifdef __cplusplus 22847extern "C" 22848#endif 22849char pthread_setname_np (); 22850int 22851main () 22852{ 22853return pthread_setname_np (); 22854 ; 22855 return 0; 22856} 22857_ACEOF 22858for ac_lib in '' pthread; do 22859 if test -z "$ac_lib"; then 22860 ac_res="none required" 22861 else 22862 ac_res=-l$ac_lib 22863 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 22864 fi 22865 if ac_fn_c_try_link "$LINENO"; then : 22866 ac_cv_search_pthread_setname_np=$ac_res 22867fi 22868rm -f core conftest.err conftest.$ac_objext \ 22869 conftest$ac_exeext 22870 if ${ac_cv_search_pthread_setname_np+:} false; then : 22871 break 22872fi 22873done 22874if ${ac_cv_search_pthread_setname_np+:} false; then : 22875 22876else 22877 ac_cv_search_pthread_setname_np=no 22878fi 22879rm conftest.$ac_ext 22880LIBS=$ac_func_search_save_LIBS 22881fi 22882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_setname_np" >&5 22883$as_echo "$ac_cv_search_pthread_setname_np" >&6; } 22884ac_res=$ac_cv_search_pthread_setname_np 22885if test "$ac_res" != no; then : 22886 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 22887 22888cat >>confdefs.h <<_ACEOF 22889#define HAS_PTHREAD_SETNAME_NP 1 22890_ACEOF 22891 echo yes 22892else 22893 echo no 22894fi 22895 22896 22897 22898 22899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setaffinity_np" >&5 22900$as_echo_n "checking for pthread_setaffinity_np... " >&6; } 22901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_setaffinity_np" >&5 22902$as_echo_n "checking for library containing pthread_setaffinity_np... " >&6; } 22903if ${ac_cv_search_pthread_setaffinity_np+:} false; then : 22904 $as_echo_n "(cached) " >&6 22905else 22906 ac_func_search_save_LIBS=$LIBS 22907cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22908/* end confdefs.h. */ 22909 22910/* Override any GCC internal prototype to avoid an error. 22911 Use char because int might match the return type of a GCC 22912 builtin and then its argument prototype would still apply. */ 22913#ifdef __cplusplus 22914extern "C" 22915#endif 22916char pthread_setaffinity_np (); 22917int 22918main () 22919{ 22920return pthread_setaffinity_np (); 22921 ; 22922 return 0; 22923} 22924_ACEOF 22925for ac_lib in '' pthread; do 22926 if test -z "$ac_lib"; then 22927 ac_res="none required" 22928 else 22929 ac_res=-l$ac_lib 22930 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 22931 fi 22932 if ac_fn_c_try_link "$LINENO"; then : 22933 ac_cv_search_pthread_setaffinity_np=$ac_res 22934fi 22935rm -f core conftest.err conftest.$ac_objext \ 22936 conftest$ac_exeext 22937 if ${ac_cv_search_pthread_setaffinity_np+:} false; then : 22938 break 22939fi 22940done 22941if ${ac_cv_search_pthread_setaffinity_np+:} false; then : 22942 22943else 22944 ac_cv_search_pthread_setaffinity_np=no 22945fi 22946rm conftest.$ac_ext 22947LIBS=$ac_func_search_save_LIBS 22948fi 22949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_setaffinity_np" >&5 22950$as_echo "$ac_cv_search_pthread_setaffinity_np" >&6; } 22951ac_res=$ac_cv_search_pthread_setaffinity_np 22952if test "$ac_res" != no; then : 22953 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 22954 22955cat >>confdefs.h <<_ACEOF 22956#define HAS_PTHREAD_SETAFFINITY_NP 1 22957_ACEOF 22958 echo yes 22959else 22960 echo no 22961fi 22962 22963 22964 22965 22966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettid" >&5 22967$as_echo_n "checking for gettid... " >&6; } 22968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettid" >&5 22969$as_echo_n "checking for library containing gettid... " >&6; } 22970if ${ac_cv_search_gettid+:} false; then : 22971 $as_echo_n "(cached) " >&6 22972else 22973 ac_func_search_save_LIBS=$LIBS 22974cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22975/* end confdefs.h. */ 22976 22977/* Override any GCC internal prototype to avoid an error. 22978 Use char because int might match the return type of a GCC 22979 builtin and then its argument prototype would still apply. */ 22980#ifdef __cplusplus 22981extern "C" 22982#endif 22983char gettid (); 22984int 22985main () 22986{ 22987return gettid (); 22988 ; 22989 return 0; 22990} 22991_ACEOF 22992for ac_lib in '' ; do 22993 if test -z "$ac_lib"; then 22994 ac_res="none required" 22995 else 22996 ac_res=-l$ac_lib 22997 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 22998 fi 22999 if ac_fn_c_try_link "$LINENO"; then : 23000 ac_cv_search_gettid=$ac_res 23001fi 23002rm -f core conftest.err conftest.$ac_objext \ 23003 conftest$ac_exeext 23004 if ${ac_cv_search_gettid+:} false; then : 23005 break 23006fi 23007done 23008if ${ac_cv_search_gettid+:} false; then : 23009 23010else 23011 ac_cv_search_gettid=no 23012fi 23013rm conftest.$ac_ext 23014LIBS=$ac_func_search_save_LIBS 23015fi 23016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettid" >&5 23017$as_echo "$ac_cv_search_gettid" >&6; } 23018ac_res=$ac_cv_search_gettid 23019if test "$ac_res" != no; then : 23020 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 23021 23022cat >>confdefs.h <<_ACEOF 23023#define HAVE_GETTID 1 23024_ACEOF 23025 echo yes 23026else 23027 echo no 23028fi 23029 23030 23031 23032 23033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timegm" >&5 23034$as_echo_n "checking for timegm... " >&6; } 23035 23036 23037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23038/* end confdefs.h. */ 23039#include<time.h> 23040int 23041main () 23042{ 23043struct tm t; timegm(&t); 23044 ; 23045 return 0; 23046} 23047_ACEOF 23048if ac_fn_c_try_link "$LINENO"; then : 23049 23050fi 23051rm -f core conftest.err conftest.$ac_objext \ 23052 conftest$ac_exeext conftest.$ac_ext 23053 23054 23055 23056 23057 23058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mremap" >&5 23059$as_echo_n "checking for mremap... " >&6; } 23060 23061 23062cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23063/* end confdefs.h. */ 23064#define _GNU_SOURCE 23065 #include<sys/mman.h> 23066int 23067main () 23068{ 23069mremap(0,0,0,0); 23070 ; 23071 return 0; 23072} 23073_ACEOF 23074if ac_fn_c_try_link "$LINENO"; then : 23075 23076fi 23077rm -f core conftest.err conftest.$ac_objext \ 23078 conftest$ac_exeext conftest.$ac_ext 23079 23080 23081 23082 23083echo "mmsg results:" 23084echo "have_sendmmsg='$have_sendmmsg'" 23085echo "have_recvmmsg='$have_recvmmsg'" 23086echo "-------" 23087 23088ac_fn_c_check_func "$LINENO" "sendmmsg" "ac_cv_func_sendmmsg" 23089if test "x$ac_cv_func_sendmmsg" = xyes; then : 23090 23091 have_sendmmsg=true 23092 23093cat >>confdefs.h <<_ACEOF 23094#define HAVE_SENDMMSG 1 23095_ACEOF 23096 23097 23098else 23099 23100 have_sendmmsg=false 23101 23102cat >>confdefs.h <<_ACEOF 23103#define HAVE_SENDMMSG 0 23104_ACEOF 23105 23106 23107fi 23108 23109ac_fn_c_check_func "$LINENO" "recvmmsg" "ac_cv_func_recvmmsg" 23110if test "x$ac_cv_func_recvmmsg" = xyes; then : 23111 23112 have_recvmmsg=true 23113 23114cat >>confdefs.h <<_ACEOF 23115#define HAVE_RECVMMSG 1 23116_ACEOF 23117 23118 23119else 23120 23121 have_recvmmsg=false 23122 23123cat >>confdefs.h <<_ACEOF 23124#define HAVE_RECVMMSG 0 23125_ACEOF 23126 23127 23128fi 23129 23130 23131 23132 if test x$have_sendmmsg = xtrue; then 23133 HAVE_SENDMMSG_TRUE= 23134 HAVE_SENDMMSG_FALSE='#' 23135else 23136 HAVE_SENDMMSG_TRUE='#' 23137 HAVE_SENDMMSG_FALSE= 23138fi 23139 23140 if test x$have_recvmmsg = xtrue; then 23141 HAVE_RECVMMSG_TRUE= 23142 HAVE_RECVMMSG_FALSE='#' 23143else 23144 HAVE_RECVMMSG_TRUE='#' 23145 HAVE_RECVMMSG_FALSE= 23146fi 23147 23148 23149 23150 23151 23152 requires_ssl=1 23153 23154 23155 SSLDEPS="" 23156 echo "Finding the SSL dependencies" 23157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing deflate" >&5 23158$as_echo_n "checking for library containing deflate... " >&6; } 23159if ${ac_cv_search_deflate+:} false; then : 23160 $as_echo_n "(cached) " >&6 23161else 23162 ac_func_search_save_LIBS=$LIBS 23163cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23164/* end confdefs.h. */ 23165 23166/* Override any GCC internal prototype to avoid an error. 23167 Use char because int might match the return type of a GCC 23168 builtin and then its argument prototype would still apply. */ 23169#ifdef __cplusplus 23170extern "C" 23171#endif 23172char deflate (); 23173int 23174main () 23175{ 23176return deflate (); 23177 ; 23178 return 0; 23179} 23180_ACEOF 23181for ac_lib in '' z; do 23182 if test -z "$ac_lib"; then 23183 ac_res="none required" 23184 else 23185 ac_res=-l$ac_lib 23186 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 23187 fi 23188 if ac_fn_c_try_link "$LINENO"; then : 23189 ac_cv_search_deflate=$ac_res 23190fi 23191rm -f core conftest.err conftest.$ac_objext \ 23192 conftest$ac_exeext 23193 if ${ac_cv_search_deflate+:} false; then : 23194 break 23195fi 23196done 23197if ${ac_cv_search_deflate+:} false; then : 23198 23199else 23200 ac_cv_search_deflate=no 23201fi 23202rm conftest.$ac_ext 23203LIBS=$ac_func_search_save_LIBS 23204fi 23205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_deflate" >&5 23206$as_echo "$ac_cv_search_deflate" >&6; } 23207ac_res=$ac_cv_search_deflate 23208if test "$ac_res" != no; then : 23209 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 23210 23211fi 23212 23213 23214 echo "SSLDEPS=${SSLDEPS}" 23215 23216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SSL is available" >&5 23217$as_echo_n "checking if SSL is available... " >&6; } 23218 23219 ac_check_lib_ssl=0 23220 23221 23222# Check whether --with-openssl_lib was given. 23223if test "${with_openssl_lib+set}" = set; then : 23224 withval=$with_openssl_lib; 23225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23226$as_echo "yes" >&6; } 23227 LDFLAGS="-L$with_openssl_lib $SSLDEPS $LDFLAGS" 23228 echo "LDFLAGS=${LDFLAGS}" 23229 ac_check_lib_ssl=1 23230 23231fi 23232 23233 23234 23235# Check whether --with-openssl_include was given. 23236if test "${with_openssl_include+set}" = set; then : 23237 withval=$with_openssl_include; 23238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23239$as_echo "yes" >&6; } 23240 CFLAGS="-I$with_openssl_include $CFLAGS $CFLAGS3264" 23241 echo "CFLAGS=${LDFLAGS}" 23242 ac_check_lib_ssl=1 23243 23244fi 23245 23246 23247 23248 23249# Check whether --with-openssl was given. 23250if test "${with_openssl+set}" = set; then : 23251 withval=$with_openssl; 23252 echo "yes" 23253 23254 OPENSSL="${withval}" 23255 CFLAGS="-I$with_openssl/include $CFLAGS $CFLAGS3264" 23256 LDFLAGS="-L$with_openssl/lib $SSLDEPS $LDFLAGS" 23257 echo "CFLAGS=$CFLAGS" 23258 echo "LDFLAGS=$LDFLAGS" 23259 ac_check_lib_ssl=1 23260 23261else 23262 23263 echo "no" 23264 CFLAGS="$CFLAGS $CFLAGS3264" 23265 LDFLAGS="$SSLDEPS $LDFLAGS" 23266 echo "CFLAGS=${CFLAGS}" 23267 echo "LDFLAGS=${LDFLAGS}" 23268 ac_check_lib_ssl=1 23269 23270fi 23271 23272 23273 if [ $ac_check_lib_ssl -eq 1 ] 23274 then 23275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_new" >&5 23276$as_echo_n "checking for library containing RSA_new... " >&6; } 23277if ${ac_cv_search_RSA_new+:} false; then : 23278 $as_echo_n "(cached) " >&6 23279else 23280 ac_func_search_save_LIBS=$LIBS 23281cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23282/* end confdefs.h. */ 23283 23284/* Override any GCC internal prototype to avoid an error. 23285 Use char because int might match the return type of a GCC 23286 builtin and then its argument prototype would still apply. */ 23287#ifdef __cplusplus 23288extern "C" 23289#endif 23290char RSA_new (); 23291int 23292main () 23293{ 23294return RSA_new (); 23295 ; 23296 return 0; 23297} 23298_ACEOF 23299for ac_lib in '' crypto; do 23300 if test -z "$ac_lib"; then 23301 ac_res="none required" 23302 else 23303 ac_res=-l$ac_lib 23304 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 23305 fi 23306 if ac_fn_c_try_link "$LINENO"; then : 23307 ac_cv_search_RSA_new=$ac_res 23308fi 23309rm -f core conftest.err conftest.$ac_objext \ 23310 conftest$ac_exeext 23311 if ${ac_cv_search_RSA_new+:} false; then : 23312 break 23313fi 23314done 23315if ${ac_cv_search_RSA_new+:} false; then : 23316 23317else 23318 ac_cv_search_RSA_new=no 23319fi 23320rm conftest.$ac_ext 23321LIBS=$ac_func_search_save_LIBS 23322fi 23323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_new" >&5 23324$as_echo "$ac_cv_search_RSA_new" >&6; } 23325ac_res=$ac_cv_search_RSA_new 23326if test "$ac_res" != no; then : 23327 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 23328 23329else 23330 exit 1 23331fi 23332 23333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5 23334$as_echo_n "checking for library containing SSL_library_init... " >&6; } 23335if ${ac_cv_search_SSL_library_init+:} false; then : 23336 $as_echo_n "(cached) " >&6 23337else 23338 ac_func_search_save_LIBS=$LIBS 23339cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23340/* end confdefs.h. */ 23341 23342/* Override any GCC internal prototype to avoid an error. 23343 Use char because int might match the return type of a GCC 23344 builtin and then its argument prototype would still apply. */ 23345#ifdef __cplusplus 23346extern "C" 23347#endif 23348char SSL_library_init (); 23349int 23350main () 23351{ 23352return SSL_library_init (); 23353 ; 23354 return 0; 23355} 23356_ACEOF 23357for ac_lib in '' ssl; do 23358 if test -z "$ac_lib"; then 23359 ac_res="none required" 23360 else 23361 ac_res=-l$ac_lib 23362 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 23363 fi 23364 if ac_fn_c_try_link "$LINENO"; then : 23365 ac_cv_search_SSL_library_init=$ac_res 23366fi 23367rm -f core conftest.err conftest.$ac_objext \ 23368 conftest$ac_exeext 23369 if ${ac_cv_search_SSL_library_init+:} false; then : 23370 break 23371fi 23372done 23373if ${ac_cv_search_SSL_library_init+:} false; then : 23374 23375else 23376 ac_cv_search_SSL_library_init=no 23377fi 23378rm conftest.$ac_ext 23379LIBS=$ac_func_search_save_LIBS 23380fi 23381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5 23382$as_echo "$ac_cv_search_SSL_library_init" >&6; } 23383ac_res=$ac_cv_search_SSL_library_init 23384if test "$ac_res" != no; then : 23385 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 23386 23387else 23388 23389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5 23390$as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; } 23391if ${ac_cv_search_OPENSSL_init_ssl+:} false; then : 23392 $as_echo_n "(cached) " >&6 23393else 23394 ac_func_search_save_LIBS=$LIBS 23395cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23396/* end confdefs.h. */ 23397 23398/* Override any GCC internal prototype to avoid an error. 23399 Use char because int might match the return type of a GCC 23400 builtin and then its argument prototype would still apply. */ 23401#ifdef __cplusplus 23402extern "C" 23403#endif 23404char OPENSSL_init_ssl (); 23405int 23406main () 23407{ 23408return OPENSSL_init_ssl (); 23409 ; 23410 return 0; 23411} 23412_ACEOF 23413for ac_lib in '' ssl; do 23414 if test -z "$ac_lib"; then 23415 ac_res="none required" 23416 else 23417 ac_res=-l$ac_lib 23418 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 23419 fi 23420 if ac_fn_c_try_link "$LINENO"; then : 23421 ac_cv_search_OPENSSL_init_ssl=$ac_res 23422fi 23423rm -f core conftest.err conftest.$ac_objext \ 23424 conftest$ac_exeext 23425 if ${ac_cv_search_OPENSSL_init_ssl+:} false; then : 23426 break 23427fi 23428done 23429if ${ac_cv_search_OPENSSL_init_ssl+:} false; then : 23430 23431else 23432 ac_cv_search_OPENSSL_init_ssl=no 23433fi 23434rm conftest.$ac_ext 23435LIBS=$ac_func_search_save_LIBS 23436fi 23437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5 23438$as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; } 23439ac_res=$ac_cv_search_OPENSSL_init_ssl 23440if test "$ac_res" != no; then : 23441 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 23442 23443else 23444 exit 1 23445fi 23446 23447 23448fi 23449 23450 ac_fn_c_check_func "$LINENO" "EVP_PKEY_new_raw_public_key" "ac_cv_func_EVP_PKEY_new_raw_public_key" 23451if test "x$ac_cv_func_EVP_PKEY_new_raw_public_key" = xyes; then : 23452 HAS_EVP_PKEY_NEW_RAW_PUBLIC_KEY 23453fi 23454 23455 23456 23457cat >>confdefs.h <<_ACEOF 23458#define HAS_OPENSSL 1 23459_ACEOF 23460 23461 else 23462 23463cat >>confdefs.h <<_ACEOF 23464#define HAS_OPENSSL 0 23465_ACEOF 23466 23467 fi 23468 23469 23470 23471 23472 23473 23474 23475 23476# 23477# AC_HAS_DISABLE rrl 23478# 23479# CHECKING 23480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RRL_SUPPORT has been disabled" >&5 23481$as_echo_n "checking if RRL_SUPPORT has been disabled... " >&6; } 23482# ARG ENABLE 23483# Check whether --enable-rrl was given. 23484if test "${enable_rrl+set}" = set; then : 23485 enableval=$enable_rrl; 23486fi 23487 23488# MSG RESULT 23489# CASE 23490case "y$enable_rrl" in 23491 yyes|y) 23492# DEFINE Y 23493 23494cat >>confdefs.h <<_ACEOF 23495#define HAS_RRL_SUPPORT 1 23496_ACEOF 23497 23498# CONDITIONAL Y 23499 enable_rrl=yes 23500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23501$as_echo "no" >&6; } 23502# IF YES 23503 23504# ENDIF 23505 ;; 23506 yno|*) 23507# DEFINE N 23508 23509cat >>confdefs.h <<_ACEOF 23510#define HAS_RRL_SUPPORT 0 23511_ACEOF 23512 23513# CONDITIONAL N 23514 enable_rrl=no 23515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23516$as_echo "yes" >&6; } 23517# IF NO 23518 23519# ENDIF 23520 ;; 23521esac 23522# CONDITIONAL 23523 if test y$enable_rrl != yno; then 23524 HAS_RRL_SUPPORT_TRUE= 23525 HAS_RRL_SUPPORT_FALSE='#' 23526else 23527 HAS_RRL_SUPPORT_TRUE='#' 23528 HAS_RRL_SUPPORT_FALSE= 23529fi 23530 23531# SUBST 23532 23533# AC_HAS_DISABLE rrl DONE 23534 23535 23536 23537 23538 23539 23540 23541# 23542# AC_HAS_DISABLE master 23543# 23544# CHECKING 23545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if MASTER_SUPPORT has been disabled" >&5 23546$as_echo_n "checking if MASTER_SUPPORT has been disabled... " >&6; } 23547# ARG ENABLE 23548# Check whether --enable-master was given. 23549if test "${enable_master+set}" = set; then : 23550 enableval=$enable_master; 23551fi 23552 23553# MSG RESULT 23554# CASE 23555case "y$enable_master" in 23556 yyes|y) 23557# DEFINE Y 23558 23559cat >>confdefs.h <<_ACEOF 23560#define HAS_MASTER_SUPPORT 1 23561_ACEOF 23562 23563# CONDITIONAL Y 23564 enable_master=yes 23565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23566$as_echo "no" >&6; } 23567# IF YES 23568 23569 requires_ssl=1 23570 23571 23572# ENDIF 23573 ;; 23574 yno|*) 23575# DEFINE N 23576 23577cat >>confdefs.h <<_ACEOF 23578#define HAS_MASTER_SUPPORT 0 23579_ACEOF 23580 23581# CONDITIONAL N 23582 enable_master=no 23583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23584$as_echo "yes" >&6; } 23585# IF NO 23586 enable_dynupdate='no' 23587 enable_rrsig_management='no' 23588# ENDIF 23589 ;; 23590esac 23591# CONDITIONAL 23592 if test y$enable_master != yno; then 23593 HAS_MASTER_SUPPORT_TRUE= 23594 HAS_MASTER_SUPPORT_FALSE='#' 23595else 23596 HAS_MASTER_SUPPORT_TRUE='#' 23597 HAS_MASTER_SUPPORT_FALSE= 23598fi 23599 23600# SUBST 23601 23602# AC_HAS_DISABLE master DONE 23603 23604 23605 23606 23607# 23608# AC_HAS_DISABLE ctrl 23609# 23610# CHECKING 23611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if CTRL has been disabled" >&5 23612$as_echo_n "checking if CTRL has been disabled... " >&6; } 23613# ARG ENABLE 23614# Check whether --enable-ctrl was given. 23615if test "${enable_ctrl+set}" = set; then : 23616 enableval=$enable_ctrl; 23617fi 23618 23619# MSG RESULT 23620# CASE 23621case "y$enable_ctrl" in 23622 yyes|y) 23623# DEFINE Y 23624 23625cat >>confdefs.h <<_ACEOF 23626#define HAS_CTRL 1 23627_ACEOF 23628 23629# CONDITIONAL Y 23630 enable_ctrl=yes 23631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23632$as_echo "no" >&6; } 23633# IF YES 23634 23635# ENDIF 23636 ;; 23637 yno|*) 23638# DEFINE N 23639 23640cat >>confdefs.h <<_ACEOF 23641#define HAS_CTRL 0 23642_ACEOF 23643 23644# CONDITIONAL N 23645 enable_ctrl=no 23646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23647$as_echo "yes" >&6; } 23648# IF NO 23649 23650# ENDIF 23651 ;; 23652esac 23653# CONDITIONAL 23654 if test y$enable_ctrl != yno; then 23655 HAS_CTRL_TRUE= 23656 HAS_CTRL_FALSE='#' 23657else 23658 HAS_CTRL_TRUE='#' 23659 HAS_CTRL_FALSE= 23660fi 23661 23662# SUBST 23663 23664# AC_HAS_DISABLE ctrl DONE 23665 23666 23667 if xno = xyes; then 23668 HAS_ZONESIGN_TRUE= 23669 HAS_ZONESIGN_FALSE='#' 23670else 23671 HAS_ZONESIGN_TRUE='#' 23672 HAS_ZONESIGN_FALSE= 23673fi 23674 23675 23676 23677 23678# 23679# AC_HAS_ENABLE keygen 23680# 23681# CHECKING 23682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if KEYGEN has been enabled" >&5 23683$as_echo_n "checking if KEYGEN has been enabled... " >&6; } 23684# ARG ENABLE 23685# Check whether --enable-keygen was given. 23686if test "${enable_keygen+set}" = set; then : 23687 enableval=$enable_keygen; 23688fi 23689 23690# CASE 23691case "y$enable_keygen" in 23692 yyes) 23693# DEFINE Y 23694 23695cat >>confdefs.h <<_ACEOF 23696#define HAS_KEYGEN 1 23697_ACEOF 23698 23699# CONDITIONAL Y 23700 enable_keygen="yes" 23701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23702$as_echo "yes" >&6; } 23703# IF YES 23704 23705# ENDIF 23706 ;; 23707 yno|y|*) 23708# DEFINE N 23709 23710cat >>confdefs.h <<_ACEOF 23711#define HAS_KEYGEN 0 23712_ACEOF 23713 23714# CONDITIONAL N 23715 enable_keygen="no" 23716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23717$as_echo "no" >&6; } 23718# IF NO 23719 23720# ENDIF 23721 ;; 23722esac 23723# CONDITIONAL 23724 if test y$enable_keygen = yyes; then 23725 HAS_KEYGEN_TRUE= 23726 HAS_KEYGEN_FALSE='#' 23727else 23728 HAS_KEYGEN_TRUE='#' 23729 HAS_KEYGEN_FALSE= 23730fi 23731 23732# SUBST 23733 23734# AC_HAS_ENABLE keygen DONE 23735 23736 23737 23738 23739# 23740# AC_HAS_DISABLE nsid 23741# 23742# CHECKING 23743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if NSID_SUPPORT has been disabled" >&5 23744$as_echo_n "checking if NSID_SUPPORT has been disabled... " >&6; } 23745# ARG ENABLE 23746# Check whether --enable-nsid was given. 23747if test "${enable_nsid+set}" = set; then : 23748 enableval=$enable_nsid; 23749fi 23750 23751# MSG RESULT 23752# CASE 23753case "y$enable_nsid" in 23754 yyes|y) 23755# DEFINE Y 23756 23757cat >>confdefs.h <<_ACEOF 23758#define HAS_NSID_SUPPORT 1 23759_ACEOF 23760 23761# CONDITIONAL Y 23762 enable_nsid=yes 23763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23764$as_echo "no" >&6; } 23765# IF YES 23766 23767# ENDIF 23768 ;; 23769 yno|*) 23770# DEFINE N 23771 23772cat >>confdefs.h <<_ACEOF 23773#define HAS_NSID_SUPPORT 0 23774_ACEOF 23775 23776# CONDITIONAL N 23777 enable_nsid=no 23778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23779$as_echo "yes" >&6; } 23780# IF NO 23781 23782# ENDIF 23783 ;; 23784esac 23785# CONDITIONAL 23786 if test y$enable_nsid != yno; then 23787 HAS_NSID_SUPPORT_TRUE= 23788 HAS_NSID_SUPPORT_FALSE='#' 23789else 23790 HAS_NSID_SUPPORT_TRUE='#' 23791 HAS_NSID_SUPPORT_FALSE= 23792fi 23793 23794# SUBST 23795 23796# AC_HAS_DISABLE nsid DONE 23797 23798 23799 23800 23801# 23802# AC_FORCE_ENABLE acl 23803# 23804enable_acl=yes 23805 23806cat >>confdefs.h <<_ACEOF 23807#define HAS_ACL_SUPPORT 1 23808_ACEOF 23809 23810 if test y$enable_acl = yyes; then 23811 HAS_ACL_SUPPORT_TRUE= 23812 HAS_ACL_SUPPORT_FALSE='#' 23813else 23814 HAS_ACL_SUPPORT_TRUE='#' 23815 HAS_ACL_SUPPORT_FALSE= 23816fi 23817 23818 23819# AC_FORCE_ENABLE acl DONE 23820 23821 23822 requires_ssl=1 23823 23824 23825 23826 23827# 23828# AC_FORCE_ENABLE tsig 23829# 23830enable_tsig=yes 23831 23832cat >>confdefs.h <<_ACEOF 23833#define HAS_TSIG_SUPPORT 1 23834_ACEOF 23835 23836 if test y$enable_tsig = yyes; then 23837 HAS_TSIG_SUPPORT_TRUE= 23838 HAS_TSIG_SUPPORT_FALSE='#' 23839else 23840 HAS_TSIG_SUPPORT_TRUE='#' 23841 HAS_TSIG_SUPPORT_FALSE= 23842fi 23843 23844 23845# AC_FORCE_ENABLE tsig DONE 23846 23847 23848 requires_ssl=1 23849 23850 23851 23852 23853# 23854# AC_HAS_DISABLE dynupdate 23855# 23856# CHECKING 23857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DYNUPDATE_SUPPORT has been disabled" >&5 23858$as_echo_n "checking if DYNUPDATE_SUPPORT has been disabled... " >&6; } 23859# ARG ENABLE 23860# Check whether --enable-dynupdate was given. 23861if test "${enable_dynupdate+set}" = set; then : 23862 enableval=$enable_dynupdate; 23863fi 23864 23865# MSG RESULT 23866# CASE 23867case "y$enable_dynupdate" in 23868 yyes|y) 23869# DEFINE Y 23870 23871cat >>confdefs.h <<_ACEOF 23872#define HAS_DYNUPDATE_SUPPORT 1 23873_ACEOF 23874 23875# CONDITIONAL Y 23876 enable_dynupdate=yes 23877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23878$as_echo "no" >&6; } 23879# IF YES 23880 23881# ENDIF 23882 ;; 23883 yno|*) 23884# DEFINE N 23885 23886cat >>confdefs.h <<_ACEOF 23887#define HAS_DYNUPDATE_SUPPORT 0 23888_ACEOF 23889 23890# CONDITIONAL N 23891 enable_dynupdate=no 23892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23893$as_echo "yes" >&6; } 23894# IF NO 23895 23896# ENDIF 23897 ;; 23898esac 23899# CONDITIONAL 23900 if test y$enable_dynupdate != yno; then 23901 HAS_DYNUPDATE_SUPPORT_TRUE= 23902 HAS_DYNUPDATE_SUPPORT_FALSE='#' 23903else 23904 HAS_DYNUPDATE_SUPPORT_TRUE='#' 23905 HAS_DYNUPDATE_SUPPORT_FALSE= 23906fi 23907 23908# SUBST 23909 23910# AC_HAS_DISABLE dynupdate DONE 23911 23912 23913 23914 23915# 23916# AC_HAS_DISABLE rrsig_management 23917# 23918# CHECKING 23919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RRSIG_MANAGEMENT_SUPPORT has been disabled" >&5 23920$as_echo_n "checking if RRSIG_MANAGEMENT_SUPPORT has been disabled... " >&6; } 23921# ARG ENABLE 23922# Check whether --enable-rrsig_management was given. 23923if test "${enable_rrsig_management+set}" = set; then : 23924 enableval=$enable_rrsig_management; 23925fi 23926 23927# MSG RESULT 23928# CASE 23929case "y$enable_rrsig_management" in 23930 yyes|y) 23931# DEFINE Y 23932 23933cat >>confdefs.h <<_ACEOF 23934#define HAS_RRSIG_MANAGEMENT_SUPPORT 1 23935_ACEOF 23936 23937# CONDITIONAL Y 23938 enable_rrsig_management=yes 23939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23940$as_echo "no" >&6; } 23941# IF YES 23942 23943 requires_ssl=1 23944 23945 23946# ENDIF 23947 ;; 23948 yno|*) 23949# DEFINE N 23950 23951cat >>confdefs.h <<_ACEOF 23952#define HAS_RRSIG_MANAGEMENT_SUPPORT 0 23953_ACEOF 23954 23955# CONDITIONAL N 23956 enable_rrsig_management=no 23957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23958$as_echo "yes" >&6; } 23959# IF NO 23960 23961# ENDIF 23962 ;; 23963esac 23964# CONDITIONAL 23965 if test y$enable_rrsig_management != yno; then 23966 HAS_RRSIG_MANAGEMENT_SUPPORT_TRUE= 23967 HAS_RRSIG_MANAGEMENT_SUPPORT_FALSE='#' 23968else 23969 HAS_RRSIG_MANAGEMENT_SUPPORT_TRUE='#' 23970 HAS_RRSIG_MANAGEMENT_SUPPORT_FALSE= 23971fi 23972 23973# SUBST 23974 23975# AC_HAS_DISABLE rrsig_management DONE 23976 23977 23978 if true; then 23979 HAS_DNSSEC_SUPPORT_TRUE= 23980 HAS_DNSSEC_SUPPORT_FALSE='#' 23981else 23982 HAS_DNSSEC_SUPPORT_TRUE='#' 23983 HAS_DNSSEC_SUPPORT_FALSE= 23984fi 23985 23986 23987cat >>confdefs.h <<_ACEOF 23988#define HAS_DNSSEC_SUPPORT 1 23989_ACEOF 23990 23991 23992 23993 requires_ssl=1 23994 23995 23996 if true; then 23997 HAS_NSEC_SUPPORT_TRUE= 23998 HAS_NSEC_SUPPORT_FALSE='#' 23999else 24000 HAS_NSEC_SUPPORT_TRUE='#' 24001 HAS_NSEC_SUPPORT_FALSE= 24002fi 24003 24004 24005cat >>confdefs.h <<_ACEOF 24006#define HAS_NSEC_SUPPORT 1 24007_ACEOF 24008 24009 24010 24011 if true; then 24012 HAS_NSEC3_SUPPORT_TRUE= 24013 HAS_NSEC3_SUPPORT_FALSE='#' 24014else 24015 HAS_NSEC3_SUPPORT_TRUE='#' 24016 HAS_NSEC3_SUPPORT_FALSE= 24017fi 24018 24019 24020cat >>confdefs.h <<_ACEOF 24021#define HAS_NSEC3_SUPPORT 1 24022_ACEOF 24023 24024 24025 24026 24027 24028# 24029# AC_HAS_DISABLE zalloc 24030# 24031# CHECKING 24032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ZALLOC_SUPPORT has been disabled" >&5 24033$as_echo_n "checking if ZALLOC_SUPPORT has been disabled... " >&6; } 24034# ARG ENABLE 24035# Check whether --enable-zalloc was given. 24036if test "${enable_zalloc+set}" = set; then : 24037 enableval=$enable_zalloc; 24038fi 24039 24040# MSG RESULT 24041# CASE 24042case "y$enable_zalloc" in 24043 yyes|y) 24044# DEFINE Y 24045 24046cat >>confdefs.h <<_ACEOF 24047#define HAS_ZALLOC_SUPPORT 1 24048_ACEOF 24049 24050# CONDITIONAL Y 24051 enable_zalloc=yes 24052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24053$as_echo "no" >&6; } 24054# IF YES 24055 24056# ENDIF 24057 ;; 24058 yno|*) 24059# DEFINE N 24060 24061cat >>confdefs.h <<_ACEOF 24062#define HAS_ZALLOC_SUPPORT 0 24063_ACEOF 24064 24065# CONDITIONAL N 24066 enable_zalloc=no 24067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24068$as_echo "yes" >&6; } 24069# IF NO 24070 24071# ENDIF 24072 ;; 24073esac 24074# CONDITIONAL 24075 if test y$enable_zalloc != yno; then 24076 HAS_ZALLOC_SUPPORT_TRUE= 24077 HAS_ZALLOC_SUPPORT_FALSE='#' 24078else 24079 HAS_ZALLOC_SUPPORT_TRUE='#' 24080 HAS_ZALLOC_SUPPORT_FALSE= 24081fi 24082 24083# SUBST 24084 24085# AC_HAS_DISABLE zalloc DONE 24086 24087 24088 24089 24090# 24091# AC_HAS_ENABLE zalloc_statistics 24092# 24093# CHECKING 24094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ZALLOC_STATISTICS_SUPPORT has been enabled" >&5 24095$as_echo_n "checking if ZALLOC_STATISTICS_SUPPORT has been enabled... " >&6; } 24096# ARG ENABLE 24097# Check whether --enable-zalloc_statistics was given. 24098if test "${enable_zalloc_statistics+set}" = set; then : 24099 enableval=$enable_zalloc_statistics; 24100fi 24101 24102# CASE 24103case "y$enable_zalloc_statistics" in 24104 yyes) 24105# DEFINE Y 24106 24107cat >>confdefs.h <<_ACEOF 24108#define HAS_ZALLOC_STATISTICS_SUPPORT 1 24109_ACEOF 24110 24111# CONDITIONAL Y 24112 enable_zalloc_statistics="yes" 24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24114$as_echo "yes" >&6; } 24115# IF YES 24116 24117# ENDIF 24118 ;; 24119 yno|y|*) 24120# DEFINE N 24121 24122cat >>confdefs.h <<_ACEOF 24123#define HAS_ZALLOC_STATISTICS_SUPPORT 0 24124_ACEOF 24125 24126# CONDITIONAL N 24127 enable_zalloc_statistics="no" 24128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24129$as_echo "no" >&6; } 24130# IF NO 24131 24132# ENDIF 24133 ;; 24134esac 24135# CONDITIONAL 24136 if test y$enable_zalloc_statistics = yyes; then 24137 HAS_ZALLOC_STATISTICS_SUPPORT_TRUE= 24138 HAS_ZALLOC_STATISTICS_SUPPORT_FALSE='#' 24139else 24140 HAS_ZALLOC_STATISTICS_SUPPORT_TRUE='#' 24141 HAS_ZALLOC_STATISTICS_SUPPORT_FALSE= 24142fi 24143 24144# SUBST 24145 24146# AC_HAS_ENABLE zalloc_statistics DONE 24147 24148 24149 24150 24151# 24152# AC_HAS_ENABLE zalloc_debug 24153# 24154# CHECKING 24155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ZALLOC_DEBUG_SUPPORT has been enabled" >&5 24156$as_echo_n "checking if ZALLOC_DEBUG_SUPPORT has been enabled... " >&6; } 24157# ARG ENABLE 24158# Check whether --enable-zalloc_debug was given. 24159if test "${enable_zalloc_debug+set}" = set; then : 24160 enableval=$enable_zalloc_debug; 24161fi 24162 24163# CASE 24164case "y$enable_zalloc_debug" in 24165 yyes) 24166# DEFINE Y 24167 24168cat >>confdefs.h <<_ACEOF 24169#define HAS_ZALLOC_DEBUG_SUPPORT 1 24170_ACEOF 24171 24172# CONDITIONAL Y 24173 enable_zalloc_debug="yes" 24174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24175$as_echo "yes" >&6; } 24176# IF YES 24177 24178# ENDIF 24179 ;; 24180 yno|y|*) 24181# DEFINE N 24182 24183cat >>confdefs.h <<_ACEOF 24184#define HAS_ZALLOC_DEBUG_SUPPORT 0 24185_ACEOF 24186 24187# CONDITIONAL N 24188 enable_zalloc_debug="no" 24189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24190$as_echo "no" >&6; } 24191# IF NO 24192 24193# ENDIF 24194 ;; 24195esac 24196# CONDITIONAL 24197 if test y$enable_zalloc_debug = yyes; then 24198 HAS_ZALLOC_DEBUG_SUPPORT_TRUE= 24199 HAS_ZALLOC_DEBUG_SUPPORT_FALSE='#' 24200else 24201 HAS_ZALLOC_DEBUG_SUPPORT_TRUE='#' 24202 HAS_ZALLOC_DEBUG_SUPPORT_FALSE= 24203fi 24204 24205# SUBST 24206 24207# AC_HAS_ENABLE zalloc_debug DONE 24208 24209 24210 24211 24212# 24213# AC_HAS_ENABLE malloc_debug 24214# 24215# CHECKING 24216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if MALLOC_DEBUG_SUPPORT has been enabled" >&5 24217$as_echo_n "checking if MALLOC_DEBUG_SUPPORT has been enabled... " >&6; } 24218# ARG ENABLE 24219# Check whether --enable-malloc_debug was given. 24220if test "${enable_malloc_debug+set}" = set; then : 24221 enableval=$enable_malloc_debug; 24222fi 24223 24224# CASE 24225case "y$enable_malloc_debug" in 24226 yyes) 24227# DEFINE Y 24228 24229cat >>confdefs.h <<_ACEOF 24230#define HAS_MALLOC_DEBUG_SUPPORT 1 24231_ACEOF 24232 24233# CONDITIONAL Y 24234 enable_malloc_debug="yes" 24235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24236$as_echo "yes" >&6; } 24237# IF YES 24238 24239# ENDIF 24240 ;; 24241 yno|y|*) 24242# DEFINE N 24243 24244cat >>confdefs.h <<_ACEOF 24245#define HAS_MALLOC_DEBUG_SUPPORT 0 24246_ACEOF 24247 24248# CONDITIONAL N 24249 enable_malloc_debug="no" 24250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24251$as_echo "no" >&6; } 24252# IF NO 24253 24254# ENDIF 24255 ;; 24256esac 24257# CONDITIONAL 24258 if test y$enable_malloc_debug = yyes; then 24259 HAS_MALLOC_DEBUG_SUPPORT_TRUE= 24260 HAS_MALLOC_DEBUG_SUPPORT_FALSE='#' 24261else 24262 HAS_MALLOC_DEBUG_SUPPORT_TRUE='#' 24263 HAS_MALLOC_DEBUG_SUPPORT_FALSE= 24264fi 24265 24266# SUBST 24267 24268# AC_HAS_ENABLE malloc_debug DONE 24269 24270 24271 24272 24273# 24274# AC_HAS_ENABLE libc_malloc_debug 24275# 24276# CHECKING 24277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LIBC_MALLOC_DEBUG_SUPPORT has been enabled" >&5 24278$as_echo_n "checking if LIBC_MALLOC_DEBUG_SUPPORT has been enabled... " >&6; } 24279# ARG ENABLE 24280# Check whether --enable-libc_malloc_debug was given. 24281if test "${enable_libc_malloc_debug+set}" = set; then : 24282 enableval=$enable_libc_malloc_debug; 24283fi 24284 24285# CASE 24286case "y$enable_libc_malloc_debug" in 24287 yyes) 24288# DEFINE Y 24289 24290cat >>confdefs.h <<_ACEOF 24291#define HAS_LIBC_MALLOC_DEBUG_SUPPORT 1 24292_ACEOF 24293 24294# CONDITIONAL Y 24295 enable_libc_malloc_debug="yes" 24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24297$as_echo "yes" >&6; } 24298# IF YES 24299 24300# ENDIF 24301 ;; 24302 yno|y|*) 24303# DEFINE N 24304 24305cat >>confdefs.h <<_ACEOF 24306#define HAS_LIBC_MALLOC_DEBUG_SUPPORT 0 24307_ACEOF 24308 24309# CONDITIONAL N 24310 enable_libc_malloc_debug="no" 24311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24312$as_echo "no" >&6; } 24313# IF NO 24314 24315# ENDIF 24316 ;; 24317esac 24318# CONDITIONAL 24319 if test y$enable_libc_malloc_debug = yyes; then 24320 HAS_LIBC_MALLOC_DEBUG_SUPPORT_TRUE= 24321 HAS_LIBC_MALLOC_DEBUG_SUPPORT_FALSE='#' 24322else 24323 HAS_LIBC_MALLOC_DEBUG_SUPPORT_TRUE='#' 24324 HAS_LIBC_MALLOC_DEBUG_SUPPORT_FALSE= 24325fi 24326 24327# SUBST 24328 24329# AC_HAS_ENABLE libc_malloc_debug DONE 24330 24331 24332 24333 24334# 24335# AC_HAS_ENABLE bfd_debug 24336# 24337# CHECKING 24338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if BFD_DEBUG_SUPPORT has been enabled" >&5 24339$as_echo_n "checking if BFD_DEBUG_SUPPORT has been enabled... " >&6; } 24340# ARG ENABLE 24341# Check whether --enable-bfd_debug was given. 24342if test "${enable_bfd_debug+set}" = set; then : 24343 enableval=$enable_bfd_debug; 24344fi 24345 24346# CASE 24347case "y$enable_bfd_debug" in 24348 yyes) 24349# DEFINE Y 24350 24351cat >>confdefs.h <<_ACEOF 24352#define HAS_BFD_DEBUG_SUPPORT 1 24353_ACEOF 24354 24355# CONDITIONAL Y 24356 enable_bfd_debug="yes" 24357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24358$as_echo "yes" >&6; } 24359# IF YES 24360 24361# ENDIF 24362 ;; 24363 yno|y|*) 24364# DEFINE N 24365 24366cat >>confdefs.h <<_ACEOF 24367#define HAS_BFD_DEBUG_SUPPORT 0 24368_ACEOF 24369 24370# CONDITIONAL N 24371 enable_bfd_debug="no" 24372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24373$as_echo "no" >&6; } 24374# IF NO 24375 24376# ENDIF 24377 ;; 24378esac 24379# CONDITIONAL 24380 if test y$enable_bfd_debug = yyes; then 24381 HAS_BFD_DEBUG_SUPPORT_TRUE= 24382 HAS_BFD_DEBUG_SUPPORT_FALSE='#' 24383else 24384 HAS_BFD_DEBUG_SUPPORT_TRUE='#' 24385 HAS_BFD_DEBUG_SUPPORT_FALSE= 24386fi 24387 24388# SUBST 24389 24390# AC_HAS_ENABLE bfd_debug DONE 24391 24392 24393case "$enable_bfd_debug" in 24394 yes) 24395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlinfo" >&5 24396$as_echo_n "checking for library containing dlinfo... " >&6; } 24397if ${ac_cv_search_dlinfo+:} false; then : 24398 $as_echo_n "(cached) " >&6 24399else 24400 ac_func_search_save_LIBS=$LIBS 24401cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24402/* end confdefs.h. */ 24403 24404/* Override any GCC internal prototype to avoid an error. 24405 Use char because int might match the return type of a GCC 24406 builtin and then its argument prototype would still apply. */ 24407#ifdef __cplusplus 24408extern "C" 24409#endif 24410char dlinfo (); 24411int 24412main () 24413{ 24414return dlinfo (); 24415 ; 24416 return 0; 24417} 24418_ACEOF 24419for ac_lib in '' dl; do 24420 if test -z "$ac_lib"; then 24421 ac_res="none required" 24422 else 24423 ac_res=-l$ac_lib 24424 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 24425 fi 24426 if ac_fn_c_try_link "$LINENO"; then : 24427 ac_cv_search_dlinfo=$ac_res 24428fi 24429rm -f core conftest.err conftest.$ac_objext \ 24430 conftest$ac_exeext 24431 if ${ac_cv_search_dlinfo+:} false; then : 24432 break 24433fi 24434done 24435if ${ac_cv_search_dlinfo+:} false; then : 24436 24437else 24438 ac_cv_search_dlinfo=no 24439fi 24440rm conftest.$ac_ext 24441LIBS=$ac_func_search_save_LIBS 24442fi 24443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlinfo" >&5 24444$as_echo "$ac_cv_search_dlinfo" >&6; } 24445ac_res=$ac_cv_search_dlinfo 24446if test "$ac_res" != no; then : 24447 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 24448 24449else 24450 echo no dl 24451fi 24452 24453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sha1_init_ctx" >&5 24454$as_echo_n "checking for library containing sha1_init_ctx... " >&6; } 24455if ${ac_cv_search_sha1_init_ctx+:} false; then : 24456 $as_echo_n "(cached) " >&6 24457else 24458 ac_func_search_save_LIBS=$LIBS 24459cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24460/* end confdefs.h. */ 24461 24462/* Override any GCC internal prototype to avoid an error. 24463 Use char because int might match the return type of a GCC 24464 builtin and then its argument prototype would still apply. */ 24465#ifdef __cplusplus 24466extern "C" 24467#endif 24468char sha1_init_ctx (); 24469int 24470main () 24471{ 24472return sha1_init_ctx (); 24473 ; 24474 return 0; 24475} 24476_ACEOF 24477for ac_lib in '' iberty; do 24478 if test -z "$ac_lib"; then 24479 ac_res="none required" 24480 else 24481 ac_res=-l$ac_lib 24482 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 24483 fi 24484 if ac_fn_c_try_link "$LINENO"; then : 24485 ac_cv_search_sha1_init_ctx=$ac_res 24486fi 24487rm -f core conftest.err conftest.$ac_objext \ 24488 conftest$ac_exeext 24489 if ${ac_cv_search_sha1_init_ctx+:} false; then : 24490 break 24491fi 24492done 24493if ${ac_cv_search_sha1_init_ctx+:} false; then : 24494 24495else 24496 ac_cv_search_sha1_init_ctx=no 24497fi 24498rm conftest.$ac_ext 24499LIBS=$ac_func_search_save_LIBS 24500fi 24501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sha1_init_ctx" >&5 24502$as_echo "$ac_cv_search_sha1_init_ctx" >&6; } 24503ac_res=$ac_cv_search_sha1_init_ctx 24504if test "$ac_res" != no; then : 24505 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 24506 24507else 24508 echo iberty 24509fi 24510 24511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bfd_init" >&5 24512$as_echo_n "checking for library containing bfd_init... " >&6; } 24513if ${ac_cv_search_bfd_init+:} false; then : 24514 $as_echo_n "(cached) " >&6 24515else 24516 ac_func_search_save_LIBS=$LIBS 24517cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24518/* end confdefs.h. */ 24519 24520/* Override any GCC internal prototype to avoid an error. 24521 Use char because int might match the return type of a GCC 24522 builtin and then its argument prototype would still apply. */ 24523#ifdef __cplusplus 24524extern "C" 24525#endif 24526char bfd_init (); 24527int 24528main () 24529{ 24530return bfd_init (); 24531 ; 24532 return 0; 24533} 24534_ACEOF 24535for ac_lib in '' bfd; do 24536 if test -z "$ac_lib"; then 24537 ac_res="none required" 24538 else 24539 ac_res=-l$ac_lib 24540 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 24541 fi 24542 if ac_fn_c_try_link "$LINENO"; then : 24543 ac_cv_search_bfd_init=$ac_res 24544fi 24545rm -f core conftest.err conftest.$ac_objext \ 24546 conftest$ac_exeext 24547 if ${ac_cv_search_bfd_init+:} false; then : 24548 break 24549fi 24550done 24551if ${ac_cv_search_bfd_init+:} false; then : 24552 24553else 24554 ac_cv_search_bfd_init=no 24555fi 24556rm conftest.$ac_ext 24557LIBS=$ac_func_search_save_LIBS 24558fi 24559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bfd_init" >&5 24560$as_echo "$ac_cv_search_bfd_init" >&6; } 24561ac_res=$ac_cv_search_bfd_init 24562if test "$ac_res" != no; then : 24563 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 24564 24565else 24566 echo no bfd;exit 1 24567fi 24568 24569 ;; 24570 no|*) 24571 ;; 24572esac 24573 24574 24575 24576# 24577# AC_HAS_ENABLE mutex_debug 24578# 24579# CHECKING 24580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if MUTEX_DEBUG_SUPPORT has been enabled" >&5 24581$as_echo_n "checking if MUTEX_DEBUG_SUPPORT has been enabled... " >&6; } 24582# ARG ENABLE 24583# Check whether --enable-mutex_debug was given. 24584if test "${enable_mutex_debug+set}" = set; then : 24585 enableval=$enable_mutex_debug; 24586fi 24587 24588# CASE 24589case "y$enable_mutex_debug" in 24590 yyes) 24591# DEFINE Y 24592 24593cat >>confdefs.h <<_ACEOF 24594#define HAS_MUTEX_DEBUG_SUPPORT 1 24595_ACEOF 24596 24597# CONDITIONAL Y 24598 enable_mutex_debug="yes" 24599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24600$as_echo "yes" >&6; } 24601# IF YES 24602 24603# ENDIF 24604 ;; 24605 yno|y|*) 24606# DEFINE N 24607 24608cat >>confdefs.h <<_ACEOF 24609#define HAS_MUTEX_DEBUG_SUPPORT 0 24610_ACEOF 24611 24612# CONDITIONAL N 24613 enable_mutex_debug="no" 24614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24615$as_echo "no" >&6; } 24616# IF NO 24617 24618# ENDIF 24619 ;; 24620esac 24621# CONDITIONAL 24622 if test y$enable_mutex_debug = yyes; then 24623 HAS_MUTEX_DEBUG_SUPPORT_TRUE= 24624 HAS_MUTEX_DEBUG_SUPPORT_FALSE='#' 24625else 24626 HAS_MUTEX_DEBUG_SUPPORT_TRUE='#' 24627 HAS_MUTEX_DEBUG_SUPPORT_FALSE= 24628fi 24629 24630# SUBST 24631 24632# AC_HAS_ENABLE mutex_debug DONE 24633 24634 24635 24636# 24637# AC_HAS_ENABLE lock_debug 24638# 24639# CHECKING 24640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LOCK_DEBUG_SUPPORT has been enabled" >&5 24641$as_echo_n "checking if LOCK_DEBUG_SUPPORT has been enabled... " >&6; } 24642# ARG ENABLE 24643# Check whether --enable-lock_debug was given. 24644if test "${enable_lock_debug+set}" = set; then : 24645 enableval=$enable_lock_debug; 24646fi 24647 24648# CASE 24649case "y$enable_lock_debug" in 24650 yyes) 24651# DEFINE Y 24652 24653cat >>confdefs.h <<_ACEOF 24654#define HAS_LOCK_DEBUG_SUPPORT 1 24655_ACEOF 24656 24657# CONDITIONAL Y 24658 enable_lock_debug="yes" 24659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24660$as_echo "yes" >&6; } 24661# IF YES 24662 24663# ENDIF 24664 ;; 24665 yno|y|*) 24666# DEFINE N 24667 24668cat >>confdefs.h <<_ACEOF 24669#define HAS_LOCK_DEBUG_SUPPORT 0 24670_ACEOF 24671 24672# CONDITIONAL N 24673 enable_lock_debug="no" 24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24675$as_echo "no" >&6; } 24676# IF NO 24677 24678# ENDIF 24679 ;; 24680esac 24681# CONDITIONAL 24682 if test y$enable_lock_debug = yyes; then 24683 HAS_LOCK_DEBUG_SUPPORT_TRUE= 24684 HAS_LOCK_DEBUG_SUPPORT_FALSE='#' 24685else 24686 HAS_LOCK_DEBUG_SUPPORT_TRUE='#' 24687 HAS_LOCK_DEBUG_SUPPORT_FALSE= 24688fi 24689 24690# SUBST 24691 24692# AC_HAS_ENABLE lock_debug DONE 24693 24694 24695 24696 24697 24698# 24699# AC_HAS_ENABLE track_zones_debug 24700# 24701# CHECKING 24702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if TRACK_ZONES_DEBUG_SUPPORT has been enabled" >&5 24703$as_echo_n "checking if TRACK_ZONES_DEBUG_SUPPORT has been enabled... " >&6; } 24704# ARG ENABLE 24705# Check whether --enable-track_zones_debug was given. 24706if test "${enable_track_zones_debug+set}" = set; then : 24707 enableval=$enable_track_zones_debug; 24708fi 24709 24710# CASE 24711case "y$enable_track_zones_debug" in 24712 yyes) 24713# DEFINE Y 24714 24715cat >>confdefs.h <<_ACEOF 24716#define HAS_TRACK_ZONES_DEBUG_SUPPORT 1 24717_ACEOF 24718 24719# CONDITIONAL Y 24720 enable_track_zones_debug="yes" 24721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24722$as_echo "yes" >&6; } 24723# IF YES 24724 24725# ENDIF 24726 ;; 24727 yno|y|*) 24728# DEFINE N 24729 24730cat >>confdefs.h <<_ACEOF 24731#define HAS_TRACK_ZONES_DEBUG_SUPPORT 0 24732_ACEOF 24733 24734# CONDITIONAL N 24735 enable_track_zones_debug="no" 24736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24737$as_echo "no" >&6; } 24738# IF NO 24739 24740# ENDIF 24741 ;; 24742esac 24743# CONDITIONAL 24744 if test y$enable_track_zones_debug = yyes; then 24745 HAS_TRACK_ZONES_DEBUG_SUPPORT_TRUE= 24746 HAS_TRACK_ZONES_DEBUG_SUPPORT_FALSE='#' 24747else 24748 HAS_TRACK_ZONES_DEBUG_SUPPORT_TRUE='#' 24749 HAS_TRACK_ZONES_DEBUG_SUPPORT_FALSE= 24750fi 24751 24752# SUBST 24753 24754# AC_HAS_ENABLE track_zones_debug DONE 24755 24756 24757 24758 24759# 24760# AC_HAS_ENABLE log_thread_id 24761# 24762# CHECKING 24763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LOG_THREAD_ID has been enabled" >&5 24764$as_echo_n "checking if LOG_THREAD_ID has been enabled... " >&6; } 24765# ARG ENABLE 24766# Check whether --enable-log_thread_id was given. 24767if test "${enable_log_thread_id+set}" = set; then : 24768 enableval=$enable_log_thread_id; 24769fi 24770 24771# CASE 24772case "y$enable_log_thread_id" in 24773 yyes) 24774# DEFINE Y 24775 24776cat >>confdefs.h <<_ACEOF 24777#define HAS_LOG_THREAD_ID 1 24778_ACEOF 24779 24780# CONDITIONAL Y 24781 enable_log_thread_id="yes" 24782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24783$as_echo "yes" >&6; } 24784# IF YES 24785 24786# ENDIF 24787 ;; 24788 yno|y|*) 24789# DEFINE N 24790 24791cat >>confdefs.h <<_ACEOF 24792#define HAS_LOG_THREAD_ID 0 24793_ACEOF 24794 24795# CONDITIONAL N 24796 enable_log_thread_id="no" 24797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24798$as_echo "no" >&6; } 24799# IF NO 24800 24801# ENDIF 24802 ;; 24803esac 24804# CONDITIONAL 24805 if test y$enable_log_thread_id = yyes; then 24806 HAS_LOG_THREAD_ID_TRUE= 24807 HAS_LOG_THREAD_ID_FALSE='#' 24808else 24809 HAS_LOG_THREAD_ID_TRUE='#' 24810 HAS_LOG_THREAD_ID_FALSE= 24811fi 24812 24813# SUBST 24814 24815# AC_HAS_ENABLE log_thread_id DONE 24816 24817 24818 24819 24820# 24821# AC_HAS_DISABLE log_thread_tag 24822# 24823# CHECKING 24824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LOG_THREAD_TAG has been disabled" >&5 24825$as_echo_n "checking if LOG_THREAD_TAG has been disabled... " >&6; } 24826# ARG ENABLE 24827# Check whether --enable-log_thread_tag was given. 24828if test "${enable_log_thread_tag+set}" = set; then : 24829 enableval=$enable_log_thread_tag; 24830fi 24831 24832# MSG RESULT 24833# CASE 24834case "y$enable_log_thread_tag" in 24835 yyes|y) 24836# DEFINE Y 24837 24838cat >>confdefs.h <<_ACEOF 24839#define HAS_LOG_THREAD_TAG 1 24840_ACEOF 24841 24842# CONDITIONAL Y 24843 enable_log_thread_tag=yes 24844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24845$as_echo "no" >&6; } 24846# IF YES 24847 24848# ENDIF 24849 ;; 24850 yno|*) 24851# DEFINE N 24852 24853cat >>confdefs.h <<_ACEOF 24854#define HAS_LOG_THREAD_TAG 0 24855_ACEOF 24856 24857# CONDITIONAL N 24858 enable_log_thread_tag=no 24859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24860$as_echo "yes" >&6; } 24861# IF NO 24862 24863# ENDIF 24864 ;; 24865esac 24866# CONDITIONAL 24867 if test y$enable_log_thread_tag != yno; then 24868 HAS_LOG_THREAD_TAG_TRUE= 24869 HAS_LOG_THREAD_TAG_FALSE='#' 24870else 24871 HAS_LOG_THREAD_TAG_TRUE='#' 24872 HAS_LOG_THREAD_TAG_FALSE= 24873fi 24874 24875# SUBST 24876 24877# AC_HAS_DISABLE log_thread_tag DONE 24878 24879 24880 24881 24882# 24883# AC_HAS_DISABLE log_pid 24884# 24885# CHECKING 24886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LOG_PID has been disabled" >&5 24887$as_echo_n "checking if LOG_PID has been disabled... " >&6; } 24888# ARG ENABLE 24889# Check whether --enable-log_pid was given. 24890if test "${enable_log_pid+set}" = set; then : 24891 enableval=$enable_log_pid; 24892fi 24893 24894# MSG RESULT 24895# CASE 24896case "y$enable_log_pid" in 24897 yyes|y) 24898# DEFINE Y 24899 24900cat >>confdefs.h <<_ACEOF 24901#define HAS_LOG_PID 1 24902_ACEOF 24903 24904# CONDITIONAL Y 24905 enable_log_pid=yes 24906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24907$as_echo "no" >&6; } 24908# IF YES 24909 24910# ENDIF 24911 ;; 24912 yno|*) 24913# DEFINE N 24914 24915cat >>confdefs.h <<_ACEOF 24916#define HAS_LOG_PID 0 24917_ACEOF 24918 24919# CONDITIONAL N 24920 enable_log_pid=no 24921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24922$as_echo "yes" >&6; } 24923# IF NO 24924 24925# ENDIF 24926 ;; 24927esac 24928# CONDITIONAL 24929 if test y$enable_log_pid != yno; then 24930 HAS_LOG_PID_TRUE= 24931 HAS_LOG_PID_FALSE='#' 24932else 24933 HAS_LOG_PID_TRUE='#' 24934 HAS_LOG_PID_FALSE= 24935fi 24936 24937# SUBST 24938 24939# AC_HAS_DISABLE log_pid DONE 24940 24941 24942 24943 24944# 24945# AC_HAS_ENABLE full_ascii7 24946# 24947# CHECKING 24948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if FULL_ASCII7 has been enabled" >&5 24949$as_echo_n "checking if FULL_ASCII7 has been enabled... " >&6; } 24950# ARG ENABLE 24951# Check whether --enable-full_ascii7 was given. 24952if test "${enable_full_ascii7+set}" = set; then : 24953 enableval=$enable_full_ascii7; 24954fi 24955 24956# CASE 24957case "y$enable_full_ascii7" in 24958 yyes) 24959# DEFINE Y 24960 24961cat >>confdefs.h <<_ACEOF 24962#define HAS_FULL_ASCII7 1 24963_ACEOF 24964 24965# CONDITIONAL Y 24966 enable_full_ascii7="yes" 24967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24968$as_echo "yes" >&6; } 24969# IF YES 24970 24971# ENDIF 24972 ;; 24973 yno|y|*) 24974# DEFINE N 24975 24976cat >>confdefs.h <<_ACEOF 24977#define HAS_FULL_ASCII7 0 24978_ACEOF 24979 24980# CONDITIONAL N 24981 enable_full_ascii7="no" 24982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24983$as_echo "no" >&6; } 24984# IF NO 24985 24986# ENDIF 24987 ;; 24988esac 24989# CONDITIONAL 24990 if test y$enable_full_ascii7 = yyes; then 24991 HAS_FULL_ASCII7_TRUE= 24992 HAS_FULL_ASCII7_FALSE='#' 24993else 24994 HAS_FULL_ASCII7_TRUE='#' 24995 HAS_FULL_ASCII7_FALSE= 24996fi 24997 24998# SUBST 24999 25000# AC_HAS_ENABLE full_ascii7 DONE 25001 25002 25003 25004# 25005# AC_HAS_DISABLE ecdsa 25006# 25007# CHECKING 25008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ECDSA_SUPPORT has been disabled" >&5 25009$as_echo_n "checking if ECDSA_SUPPORT has been disabled... " >&6; } 25010# ARG ENABLE 25011# Check whether --enable-ecdsa was given. 25012if test "${enable_ecdsa+set}" = set; then : 25013 enableval=$enable_ecdsa; 25014fi 25015 25016# MSG RESULT 25017# CASE 25018case "y$enable_ecdsa" in 25019 yyes|y) 25020# DEFINE Y 25021 25022cat >>confdefs.h <<_ACEOF 25023#define HAS_ECDSA_SUPPORT 1 25024_ACEOF 25025 25026# CONDITIONAL Y 25027 enable_ecdsa=yes 25028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25029$as_echo "no" >&6; } 25030# IF YES 25031 25032# ENDIF 25033 ;; 25034 yno|*) 25035# DEFINE N 25036 25037cat >>confdefs.h <<_ACEOF 25038#define HAS_ECDSA_SUPPORT 0 25039_ACEOF 25040 25041# CONDITIONAL N 25042 enable_ecdsa=no 25043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25044$as_echo "yes" >&6; } 25045# IF NO 25046 25047# ENDIF 25048 ;; 25049esac 25050# CONDITIONAL 25051 if test y$enable_ecdsa != yno; then 25052 HAS_ECDSA_SUPPORT_TRUE= 25053 HAS_ECDSA_SUPPORT_FALSE='#' 25054else 25055 HAS_ECDSA_SUPPORT_TRUE='#' 25056 HAS_ECDSA_SUPPORT_FALSE= 25057fi 25058 25059# SUBST 25060 25061# AC_HAS_DISABLE ecdsa DONE 25062 25063 25064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if EDDSA has been disabled" >&5 25065$as_echo_n "checking if EDDSA has been disabled... " >&6; } 25066# Check whether --enable-EDDSA was given. 25067if test "${enable_EDDSA+set}" = set; then : 25068 enableval=$enable_EDDSA; Disable EDDSA 25069fi 25070 25071case "y$enable_eddsa" in 25072 yyes|y) 25073 if test "x$ac_cv_func_EVP_PKEY_new_raw_public_key" == xyes; then 25074 25075cat >>confdefs.h <<_ACEOF 25076#define HAS_EDDSA_SUPPORT 1 25077_ACEOF 25078 25079 enable_eddsa=yes 25080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25081$as_echo "no" >&6; } 25082 else 25083 25084cat >>confdefs.h <<_ACEOF 25085#define HAS_EDDSA_SUPPORT 0 25086_ACEOF 25087 25088 enable_eddsa=no 25089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25090$as_echo "yes" >&6; } 25091 fi 25092 ;; 25093 yno|*) 25094 25095cat >>confdefs.h <<_ACEOF 25096#define HAS_EDDSA_SUPPORT 0 25097_ACEOF 25098 25099 enable_eddsa=no 25100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25101$as_echo "yes" >&6; } 25102 ;; 25103esac 25104 if test y$enable_eddsa != yno; then 25105 HAS_EDDSA_TRUE= 25106 HAS_EDDSA_FALSE='#' 25107else 25108 HAS_EDDSA_TRUE='#' 25109 HAS_EDDSA_FALSE= 25110fi 25111 25112 25113 25114 25115 25116# 25117# AC_HAS_ENABLE systemd_resolved_avoidance 25118# 25119# CHECKING 25120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SYSTEMD_RESOLVED_AVOIDANCE has been enabled" >&5 25121$as_echo_n "checking if SYSTEMD_RESOLVED_AVOIDANCE has been enabled... " >&6; } 25122# ARG ENABLE 25123# Check whether --enable-systemd_resolved_avoidance was given. 25124if test "${enable_systemd_resolved_avoidance+set}" = set; then : 25125 enableval=$enable_systemd_resolved_avoidance; 25126fi 25127 25128# CASE 25129case "y$enable_systemd_resolved_avoidance" in 25130 yyes) 25131# DEFINE Y 25132 25133cat >>confdefs.h <<_ACEOF 25134#define HAS_SYSTEMD_RESOLVED_AVOIDANCE 1 25135_ACEOF 25136 25137# CONDITIONAL Y 25138 enable_systemd_resolved_avoidance="yes" 25139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25140$as_echo "yes" >&6; } 25141# IF YES 25142 25143# ENDIF 25144 ;; 25145 yno|y|*) 25146# DEFINE N 25147 25148cat >>confdefs.h <<_ACEOF 25149#define HAS_SYSTEMD_RESOLVED_AVOIDANCE 0 25150_ACEOF 25151 25152# CONDITIONAL N 25153 enable_systemd_resolved_avoidance="no" 25154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25155$as_echo "no" >&6; } 25156# IF NO 25157 25158# ENDIF 25159 ;; 25160esac 25161# CONDITIONAL 25162 if test y$enable_systemd_resolved_avoidance = yyes; then 25163 HAS_SYSTEMD_RESOLVED_AVOIDANCE_TRUE= 25164 HAS_SYSTEMD_RESOLVED_AVOIDANCE_FALSE='#' 25165else 25166 HAS_SYSTEMD_RESOLVED_AVOIDANCE_TRUE='#' 25167 HAS_SYSTEMD_RESOLVED_AVOIDANCE_FALSE= 25168fi 25169 25170# SUBST 25171 25172# AC_HAS_ENABLE systemd_resolved_avoidance DONE 25173 25174 25175 25176 25177# 25178# AC_HAS_ENABLE non_aa_axfr_support 25179# 25180# CHECKING 25181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if NON_AA_AXFR_SUPPORT has been enabled" >&5 25182$as_echo_n "checking if NON_AA_AXFR_SUPPORT has been enabled... " >&6; } 25183# ARG ENABLE 25184# Check whether --enable-non_aa_axfr_support was given. 25185if test "${enable_non_aa_axfr_support+set}" = set; then : 25186 enableval=$enable_non_aa_axfr_support; 25187fi 25188 25189# CASE 25190case "y$enable_non_aa_axfr_support" in 25191 yyes) 25192# DEFINE Y 25193 25194cat >>confdefs.h <<_ACEOF 25195#define HAS_NON_AA_AXFR_SUPPORT 1 25196_ACEOF 25197 25198# CONDITIONAL Y 25199 enable_non_aa_axfr_support="yes" 25200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25201$as_echo "yes" >&6; } 25202# IF YES 25203 25204# ENDIF 25205 ;; 25206 yno|y|*) 25207# DEFINE N 25208 25209cat >>confdefs.h <<_ACEOF 25210#define HAS_NON_AA_AXFR_SUPPORT 0 25211_ACEOF 25212 25213# CONDITIONAL N 25214 enable_non_aa_axfr_support="no" 25215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25216$as_echo "no" >&6; } 25217# IF NO 25218 25219# ENDIF 25220 ;; 25221esac 25222# CONDITIONAL 25223 if test y$enable_non_aa_axfr_support = yyes; then 25224 HAS_NON_AA_AXFR_SUPPORT_TRUE= 25225 HAS_NON_AA_AXFR_SUPPORT_FALSE='#' 25226else 25227 HAS_NON_AA_AXFR_SUPPORT_TRUE='#' 25228 HAS_NON_AA_AXFR_SUPPORT_FALSE= 25229fi 25230 25231# SUBST 25232 25233# AC_HAS_ENABLE non_aa_axfr_support DONE 25234 25235 25236 25237 25238 25239 25240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if has strdup" >&5 25241$as_echo_n "checking if has strdup... " >&6; } 25242 if false; then 25243 HAS_STRDUP_TRUE= 25244 HAS_STRDUP_FALSE='#' 25245else 25246 HAS_STRDUP_TRUE='#' 25247 HAS_STRDUP_FALSE= 25248fi 25249 25250 25251cat > strdup_test.c <<_ACEOF 25252#include<stdlib.h> 25253#include<string.h> 25254 25255int main(int argc, char** argv) 25256{ 25257 char* p = strdup("test"); 25258 return 0; 25259} 25260_ACEOF 25261${CC} ${CFLAGS} strdup_test.c -o strdup_test 25262if [ $? -eq 0 ]; then 25263 has_strdup=1; 25264 echo "yes" 25265else 25266 echo "no" 25267fi 25268rm -f strdup_test strdup_test.c 25269 if test $has_strdup = yes; then 25270 HAS_STRDUP_TRUE= 25271 HAS_STRDUP_FALSE='#' 25272else 25273 HAS_STRDUP_TRUE='#' 25274 HAS_STRDUP_FALSE= 25275fi 25276 25277 25278 25279 25280# 25281# AC_HAS_ENABLE event_dynamic_module 25282# 25283# CHECKING 25284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if EVENT_DYNAMIC_MODULE has been enabled" >&5 25285$as_echo_n "checking if EVENT_DYNAMIC_MODULE has been enabled... " >&6; } 25286# ARG ENABLE 25287# Check whether --enable-event_dynamic_module was given. 25288if test "${enable_event_dynamic_module+set}" = set; then : 25289 enableval=$enable_event_dynamic_module; 25290fi 25291 25292# CASE 25293case "y$enable_event_dynamic_module" in 25294 yyes) 25295# DEFINE Y 25296 25297cat >>confdefs.h <<_ACEOF 25298#define HAS_EVENT_DYNAMIC_MODULE 1 25299_ACEOF 25300 25301# CONDITIONAL Y 25302 enable_event_dynamic_module="yes" 25303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25304$as_echo "yes" >&6; } 25305# IF YES 25306 25307# ENDIF 25308 ;; 25309 yno|y|*) 25310# DEFINE N 25311 25312cat >>confdefs.h <<_ACEOF 25313#define HAS_EVENT_DYNAMIC_MODULE 0 25314_ACEOF 25315 25316# CONDITIONAL N 25317 enable_event_dynamic_module="no" 25318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25319$as_echo "no" >&6; } 25320# IF NO 25321 25322# ENDIF 25323 ;; 25324esac 25325# CONDITIONAL 25326 if test y$enable_event_dynamic_module = yyes; then 25327 HAS_EVENT_DYNAMIC_MODULE_TRUE= 25328 HAS_EVENT_DYNAMIC_MODULE_FALSE='#' 25329else 25330 HAS_EVENT_DYNAMIC_MODULE_TRUE='#' 25331 HAS_EVENT_DYNAMIC_MODULE_FALSE= 25332fi 25333 25334# SUBST 25335 25336# AC_HAS_ENABLE event_dynamic_module DONE 25337 25338 25339 25340 25341# 25342# AC_HAS_WITH logdir 25343# 25344# CHECKING 25345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if logdir has been given" >&5 25346$as_echo_n "checking if logdir has been given... " >&6; } 25347# ARG WITH 25348 25349# Check whether --with-logdir was given. 25350if test "${with_logdir+set}" = set; then : 25351 withval=$with_logdir; 25352# DEFINE Y 25353 25354cat >>confdefs.h <<_ACEOF 25355#define HAS_LOGDIR 1 25356_ACEOF 25357 25358# CONDITIONAL Y 25359 25360cat >>confdefs.h <<_ACEOF 25361#define HAS_WITH_LOGDIR "$with_logdir" // $withval 25362_ACEOF 25363 25364 with_logdir="yes" 25365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25366$as_echo "yes" >&6; } 25367# IF YES 25368 logdir="$withval" 25369with_logdir="$logdir" 25370 25371# ENDIF 25372 25373 25374else 25375 25376# DEFINE N 25377 25378cat >>confdefs.h <<_ACEOF 25379#define HAS_LOGDIR 0 25380_ACEOF 25381 25382# CONDITIONAL N 25383 with_logdir="no" 25384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25385$as_echo "no" >&6; } 25386# IF NO 25387 logdir=${localstatedir}/log/yadifa 25388with_logdir="$logdir" 25389 25390# ENDIF 25391 25392fi 25393 25394# CONDITIONAL 25395 if test "y$with_logdir" == "yyes"; then 25396 HAS_LOGDIR_TRUE= 25397 HAS_LOGDIR_FALSE='#' 25398else 25399 HAS_LOGDIR_TRUE='#' 25400 HAS_LOGDIR_FALSE= 25401fi 25402 25403# SUBST 25404 25405# AC_HAS_WITH logdir DONE 25406 25407 25408 25409 25410echo "LOGDIR=$logdir" 25411 25412 25413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr has a sa_len field" >&5 25414$as_echo_n "checking if sockaddr has a sa_len field... " >&6; } 25415cat > sockaddr_sa_len.c <<_ACEOF 25416#include "confdefs.h" 25417#if HAVE_STDLIB_H 25418#include<stdlib.h> 25419#endif 25420#if HAVE_SYS_TYPES_H 25421#include<sys/types.h> 25422#endif 25423#if HAVE_SYS_SOCKET_H 25424#include<sys/socket.h> 25425#endif 25426#if HAVE_NETINET_IN_H 25427#include<netinet/in.h> 25428#endif 25429#if HAVE_NETINET6_IN6_H 25430#include<netinet6/in6.h> 25431#endif 25432int main(int argc, char** argv) 25433{ 25434 struct sockaddr sa; 25435 sa.sa_len = 4; 25436} 25437_ACEOF 25438has_sockaddr_sa_len=0 25439${CC} ${CFLAGS} sockaddr_sa_len.c > /dev/null 2>&1 25440if [ $? -eq 0 ]; then 25441 has_sockaddr_sa_len=1; 25442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25443$as_echo "yes" >&6; } 25444else 25445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25446$as_echo "no" >&6; } 25447fi 25448rm -f sockaddr_sa_len.c sockaddr_sa_len 25449 if test $has_sockaddr_sa_len = yes; then 25450 HAS_SOCKADDR_SA_LEN_TRUE= 25451 HAS_SOCKADDR_SA_LEN_FALSE='#' 25452else 25453 HAS_SOCKADDR_SA_LEN_TRUE='#' 25454 HAS_SOCKADDR_SA_LEN_FALSE= 25455fi 25456 25457 25458cat >>confdefs.h <<_ACEOF 25459#define HAS_SOCKADDR_SA_LEN $has_sockaddr_sa_len 25460_ACEOF 25461 25462 25463 25464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has a sin_len field" >&5 25465$as_echo_n "checking if sockaddr_in has a sin_len field... " >&6; } 25466cat > sockaddr_in_sin_len.c <<_ACEOF 25467#include "confdefs.h" 25468#if HAVE_STDLIB_H 25469#include<stdlib.h> 25470#endif 25471#if HAVE_SYS_TYPES_H 25472#include<sys/types.h> 25473#endif 25474#if HAVE_SYS_SOCKET_H 25475#include<sys/socket.h> 25476#endif 25477#if HAVE_NETINET_IN_H 25478#include<netinet/in.h> 25479#endif 25480#if HAVE_NETINET6_IN6_H 25481#include<netinet6/in6.h> 25482#endif 25483int main(int argc, char** argv) 25484{ 25485 struct sockaddr_in sa; 25486 sa.sin_len = sizeof(struct sockaddr_in); 25487} 25488_ACEOF 25489has_sockaddr_in_sin_len=0 25490${CC} ${CFLAGS} sockaddr_in_sin_len.c > /dev/null 2>&1 25491if [ $? -eq 0 ]; then 25492 has_sockaddr_in_sin_len=1; 25493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25494$as_echo "yes" >&6; } 25495else 25496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25497$as_echo "no" >&6; } 25498fi 25499rm -f sockaddr_in_sin_len.c sockaddr_in_sin_len 25500 if test $has_sockaddr_in_sin_len = yes; then 25501 HAS_SOCKADDR_IN_SIN_LEN_TRUE= 25502 HAS_SOCKADDR_IN_SIN_LEN_FALSE='#' 25503else 25504 HAS_SOCKADDR_IN_SIN_LEN_TRUE='#' 25505 HAS_SOCKADDR_IN_SIN_LEN_FALSE= 25506fi 25507 25508 25509cat >>confdefs.h <<_ACEOF 25510#define HAS_SOCKADDR_IN_SIN_LEN $has_sockaddr_in_sin_len 25511_ACEOF 25512 25513 25514 25515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in6 has a sin6_len field" >&5 25516$as_echo_n "checking if sockaddr_in6 has a sin6_len field... " >&6; } 25517cat > sockaddr_in6_sin6_len.c <<_ACEOF 25518#include "confdefs.h" 25519#if HAVE_STDLIB_H 25520#include<stdlib.h> 25521#endif 25522#if HAVE_SYS_TYPES_H 25523#include<sys/types.h> 25524#endif 25525#if HAVE_SYS_SOCKET_H 25526#include<sys/socket.h> 25527#endif 25528#if HAVE_NETINET_IN_H 25529#include<netinet/in.h> 25530#endif 25531#if HAVE_NETINET6_IN6_H 25532#include<netinet6/in6.h> 25533#endif 25534int main(int argc, char** argv) 25535{ 25536 struct sockaddr_in6 sa; 25537 sa.sin6_len = sizeof(struct sockaddr_in6); 25538} 25539_ACEOF 25540has_sockaddr_in6_sin6_len=0 25541${CC} ${CFLAGS} sockaddr_in6_sin6_len.c > /dev/null 2>&1 25542if [ $? -eq 0 ]; then 25543 has_sockaddr_in6_sin6_len=1; 25544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25545$as_echo "yes" >&6; } 25546else 25547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25548$as_echo "no" >&6; } 25549fi 25550rm -f sockaddr_in6_sin6_len.c sockaddr_in6_sin6_len 25551 if test $has_sockaddr_in6_sin6_len = yes; then 25552 HAS_SOCKADDR_IN6_SIN6_LEN_TRUE= 25553 HAS_SOCKADDR_IN6_SIN6_LEN_FALSE='#' 25554else 25555 HAS_SOCKADDR_IN6_SIN6_LEN_TRUE='#' 25556 HAS_SOCKADDR_IN6_SIN6_LEN_FALSE= 25557fi 25558 25559 25560cat >>confdefs.h <<_ACEOF 25561#define HAS_SOCKADDR_IN6_SIN6_LEN $has_sockaddr_in6_sin6_len 25562_ACEOF 25563 25564 25565 25566 25567 25568 25569LDDYN="-Wl,-Bdynamic" 25570LDSTAT="-Wl,-Bstatic" 25571 25572echo -n "checking if -Bstatic & -Bdynamic are supported ... " 25573$CC -Wl,-Bstatic 2>&1|grep Bstatic > /dev/null 25574if [ $? -eq 0 ] 25575then 25576 echo "not supported" 25577 LDDYN="" 25578 LDSTAT="" 25579else 25580 echo "supported" 25581fi 25582 25583LIBS="$LDDYN $LIBS" 25584 25585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 25586$as_echo_n "checking for library containing gethostbyname... " >&6; } 25587if ${ac_cv_search_gethostbyname+:} false; then : 25588 $as_echo_n "(cached) " >&6 25589else 25590 ac_func_search_save_LIBS=$LIBS 25591cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25592/* end confdefs.h. */ 25593 25594/* Override any GCC internal prototype to avoid an error. 25595 Use char because int might match the return type of a GCC 25596 builtin and then its argument prototype would still apply. */ 25597#ifdef __cplusplus 25598extern "C" 25599#endif 25600char gethostbyname (); 25601int 25602main () 25603{ 25604return gethostbyname (); 25605 ; 25606 return 0; 25607} 25608_ACEOF 25609for ac_lib in '' nsl; do 25610 if test -z "$ac_lib"; then 25611 ac_res="none required" 25612 else 25613 ac_res=-l$ac_lib 25614 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 25615 fi 25616 if ac_fn_c_try_link "$LINENO"; then : 25617 ac_cv_search_gethostbyname=$ac_res 25618fi 25619rm -f core conftest.err conftest.$ac_objext \ 25620 conftest$ac_exeext 25621 if ${ac_cv_search_gethostbyname+:} false; then : 25622 break 25623fi 25624done 25625if ${ac_cv_search_gethostbyname+:} false; then : 25626 25627else 25628 ac_cv_search_gethostbyname=no 25629fi 25630rm conftest.$ac_ext 25631LIBS=$ac_func_search_save_LIBS 25632fi 25633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 25634$as_echo "$ac_cv_search_gethostbyname" >&6; } 25635ac_res=$ac_cv_search_gethostbyname 25636if test "$ac_res" != no; then : 25637 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 25638 25639else 25640 exit 1 25641fi 25642 25643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 25644$as_echo_n "checking for library containing socket... " >&6; } 25645if ${ac_cv_search_socket+:} false; then : 25646 $as_echo_n "(cached) " >&6 25647else 25648 ac_func_search_save_LIBS=$LIBS 25649cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25650/* end confdefs.h. */ 25651 25652/* Override any GCC internal prototype to avoid an error. 25653 Use char because int might match the return type of a GCC 25654 builtin and then its argument prototype would still apply. */ 25655#ifdef __cplusplus 25656extern "C" 25657#endif 25658char socket (); 25659int 25660main () 25661{ 25662return socket (); 25663 ; 25664 return 0; 25665} 25666_ACEOF 25667for ac_lib in '' socket; do 25668 if test -z "$ac_lib"; then 25669 ac_res="none required" 25670 else 25671 ac_res=-l$ac_lib 25672 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 25673 fi 25674 if ac_fn_c_try_link "$LINENO"; then : 25675 ac_cv_search_socket=$ac_res 25676fi 25677rm -f core conftest.err conftest.$ac_objext \ 25678 conftest$ac_exeext 25679 if ${ac_cv_search_socket+:} false; then : 25680 break 25681fi 25682done 25683if ${ac_cv_search_socket+:} false; then : 25684 25685else 25686 ac_cv_search_socket=no 25687fi 25688rm conftest.$ac_ext 25689LIBS=$ac_func_search_save_LIBS 25690fi 25691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 25692$as_echo "$ac_cv_search_socket" >&6; } 25693ac_res=$ac_cv_search_socket 25694if test "$ac_res" != no; then : 25695 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 25696 25697else 25698 exit 1 25699fi 25700 25701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 25702$as_echo_n "checking for library containing dlopen... " >&6; } 25703if ${ac_cv_search_dlopen+:} false; then : 25704 $as_echo_n "(cached) " >&6 25705else 25706 ac_func_search_save_LIBS=$LIBS 25707cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25708/* end confdefs.h. */ 25709 25710/* Override any GCC internal prototype to avoid an error. 25711 Use char because int might match the return type of a GCC 25712 builtin and then its argument prototype would still apply. */ 25713#ifdef __cplusplus 25714extern "C" 25715#endif 25716char dlopen (); 25717int 25718main () 25719{ 25720return dlopen (); 25721 ; 25722 return 0; 25723} 25724_ACEOF 25725for ac_lib in '' dl; do 25726 if test -z "$ac_lib"; then 25727 ac_res="none required" 25728 else 25729 ac_res=-l$ac_lib 25730 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 25731 fi 25732 if ac_fn_c_try_link "$LINENO"; then : 25733 ac_cv_search_dlopen=$ac_res 25734fi 25735rm -f core conftest.err conftest.$ac_objext \ 25736 conftest$ac_exeext 25737 if ${ac_cv_search_dlopen+:} false; then : 25738 break 25739fi 25740done 25741if ${ac_cv_search_dlopen+:} false; then : 25742 25743else 25744 ac_cv_search_dlopen=no 25745fi 25746rm conftest.$ac_ext 25747LIBS=$ac_func_search_save_LIBS 25748fi 25749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 25750$as_echo "$ac_cv_search_dlopen" >&6; } 25751ac_res=$ac_cv_search_dlopen 25752if test "$ac_res" != no; then : 25753 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 25754 25755else 25756 exit 1 25757fi 25758 25759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_self" >&5 25760$as_echo_n "checking for library containing pthread_self... " >&6; } 25761if ${ac_cv_search_pthread_self+:} false; then : 25762 $as_echo_n "(cached) " >&6 25763else 25764 ac_func_search_save_LIBS=$LIBS 25765cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25766/* end confdefs.h. */ 25767 25768/* Override any GCC internal prototype to avoid an error. 25769 Use char because int might match the return type of a GCC 25770 builtin and then its argument prototype would still apply. */ 25771#ifdef __cplusplus 25772extern "C" 25773#endif 25774char pthread_self (); 25775int 25776main () 25777{ 25778return pthread_self (); 25779 ; 25780 return 0; 25781} 25782_ACEOF 25783for ac_lib in '' pthread; do 25784 if test -z "$ac_lib"; then 25785 ac_res="none required" 25786 else 25787 ac_res=-l$ac_lib 25788 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 25789 fi 25790 if ac_fn_c_try_link "$LINENO"; then : 25791 ac_cv_search_pthread_self=$ac_res 25792fi 25793rm -f core conftest.err conftest.$ac_objext \ 25794 conftest$ac_exeext 25795 if ${ac_cv_search_pthread_self+:} false; then : 25796 break 25797fi 25798done 25799if ${ac_cv_search_pthread_self+:} false; then : 25800 25801else 25802 ac_cv_search_pthread_self=no 25803fi 25804rm conftest.$ac_ext 25805LIBS=$ac_func_search_save_LIBS 25806fi 25807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_self" >&5 25808$as_echo "$ac_cv_search_pthread_self" >&6; } 25809ac_res=$ac_cv_search_pthread_self 25810if test "$ac_res" != no; then : 25811 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 25812 25813else 25814 exit 1 25815fi 25816 25817 25818if [ $requires_tcl -eq 1 ] 25819then 25820 echo "TCL is required by this setup ..." 25821 25822 if [ "$tcl_version" = "" ] 25823 then 25824 echo "tcl_version empty, expected something like 'tcl8.x'" 25825 exit 1 25826 fi 25827 25828 CFLAGS="$CFLAGS -DWITHTCLINCLUDED" 25829 if [ ! "${tcl_includedir}" = "/usr/include" ] && [ ! "${tcl_includedir}" = "" ] 25830 then 25831 CFLAGS="$CFLAGS -I${tcl_includedir}" 25832 fi 25833 25834 if [ ! "${tcl_libdir}" = "/usr/lib" ] && [ ! "${tcl_libdir}" = "/lib" ] && [ ! "${tcl_libdir}" = "" ] 25835 then 25836 LDFLAGS="-L${tcl_libdir} $LDFLAGS" 25837 fi 25838 25839 echo "searching for library '$tcl_version' in the system" 25840 25841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Main" >&5 25842$as_echo_n "checking for library containing Tcl_Main... " >&6; } 25843if ${ac_cv_search_Tcl_Main+:} false; then : 25844 $as_echo_n "(cached) " >&6 25845else 25846 ac_func_search_save_LIBS=$LIBS 25847cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25848/* end confdefs.h. */ 25849 25850/* Override any GCC internal prototype to avoid an error. 25851 Use char because int might match the return type of a GCC 25852 builtin and then its argument prototype would still apply. */ 25853#ifdef __cplusplus 25854extern "C" 25855#endif 25856char Tcl_Main (); 25857int 25858main () 25859{ 25860return Tcl_Main (); 25861 ; 25862 return 0; 25863} 25864_ACEOF 25865for ac_lib in '' ${tcl_version}; do 25866 if test -z "$ac_lib"; then 25867 ac_res="none required" 25868 else 25869 ac_res=-l$ac_lib 25870 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 25871 fi 25872 if ac_fn_c_try_link "$LINENO"; then : 25873 ac_cv_search_Tcl_Main=$ac_res 25874fi 25875rm -f core conftest.err conftest.$ac_objext \ 25876 conftest$ac_exeext 25877 if ${ac_cv_search_Tcl_Main+:} false; then : 25878 break 25879fi 25880done 25881if ${ac_cv_search_Tcl_Main+:} false; then : 25882 25883else 25884 ac_cv_search_Tcl_Main=no 25885fi 25886rm conftest.$ac_ext 25887LIBS=$ac_func_search_save_LIBS 25888fi 25889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Main" >&5 25890$as_echo "$ac_cv_search_Tcl_Main" >&6; } 25891ac_res=$ac_cv_search_Tcl_Main 25892if test "$ac_res" != no; then : 25893 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 25894 25895else 25896 echo "could not find ${tcl_version} :: tcl_includedir=${tcl_includedir} :: tcl_libdir=${tcl_libdir}"; exit 1 25897fi 25898 25899fi 25900 25901 25902if [ $requires_ssl -eq 1 ] 25903then 25904 echo "SSL is required by this setup ..." 25905 25906 25907 SSLDEPS="" 25908 echo "Finding the SSL dependencies" 25909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing deflate" >&5 25910$as_echo_n "checking for library containing deflate... " >&6; } 25911if ${ac_cv_search_deflate+:} false; then : 25912 $as_echo_n "(cached) " >&6 25913else 25914 ac_func_search_save_LIBS=$LIBS 25915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25916/* end confdefs.h. */ 25917 25918/* Override any GCC internal prototype to avoid an error. 25919 Use char because int might match the return type of a GCC 25920 builtin and then its argument prototype would still apply. */ 25921#ifdef __cplusplus 25922extern "C" 25923#endif 25924char deflate (); 25925int 25926main () 25927{ 25928return deflate (); 25929 ; 25930 return 0; 25931} 25932_ACEOF 25933for ac_lib in '' z; do 25934 if test -z "$ac_lib"; then 25935 ac_res="none required" 25936 else 25937 ac_res=-l$ac_lib 25938 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 25939 fi 25940 if ac_fn_c_try_link "$LINENO"; then : 25941 ac_cv_search_deflate=$ac_res 25942fi 25943rm -f core conftest.err conftest.$ac_objext \ 25944 conftest$ac_exeext 25945 if ${ac_cv_search_deflate+:} false; then : 25946 break 25947fi 25948done 25949if ${ac_cv_search_deflate+:} false; then : 25950 25951else 25952 ac_cv_search_deflate=no 25953fi 25954rm conftest.$ac_ext 25955LIBS=$ac_func_search_save_LIBS 25956fi 25957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_deflate" >&5 25958$as_echo "$ac_cv_search_deflate" >&6; } 25959ac_res=$ac_cv_search_deflate 25960if test "$ac_res" != no; then : 25961 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 25962 25963fi 25964 25965 25966 echo "SSLDEPS=${SSLDEPS}" 25967 25968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SSL is available" >&5 25969$as_echo_n "checking if SSL is available... " >&6; } 25970 25971 ac_check_lib_ssl=0 25972 25973 25974# Check whether --with-openssl_lib was given. 25975if test "${with_openssl_lib+set}" = set; then : 25976 withval=$with_openssl_lib; 25977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25978$as_echo "yes" >&6; } 25979 LDFLAGS="-L$with_openssl_lib $SSLDEPS $LDFLAGS" 25980 echo "LDFLAGS=${LDFLAGS}" 25981 ac_check_lib_ssl=1 25982 25983fi 25984 25985 25986 25987# Check whether --with-openssl_include was given. 25988if test "${with_openssl_include+set}" = set; then : 25989 withval=$with_openssl_include; 25990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25991$as_echo "yes" >&6; } 25992 CFLAGS="-I$with_openssl_include $CFLAGS $CFLAGS3264" 25993 echo "CFLAGS=${LDFLAGS}" 25994 ac_check_lib_ssl=1 25995 25996fi 25997 25998 25999 26000 26001# Check whether --with-openssl was given. 26002if test "${with_openssl+set}" = set; then : 26003 withval=$with_openssl; 26004 echo "yes" 26005 26006 OPENSSL="${withval}" 26007 CFLAGS="-I$with_openssl/include $CFLAGS $CFLAGS3264" 26008 LDFLAGS="-L$with_openssl/lib $SSLDEPS $LDFLAGS" 26009 echo "CFLAGS=$CFLAGS" 26010 echo "LDFLAGS=$LDFLAGS" 26011 ac_check_lib_ssl=1 26012 26013else 26014 26015 echo "no" 26016 CFLAGS="$CFLAGS $CFLAGS3264" 26017 LDFLAGS="$SSLDEPS $LDFLAGS" 26018 echo "CFLAGS=${CFLAGS}" 26019 echo "LDFLAGS=${LDFLAGS}" 26020 ac_check_lib_ssl=1 26021 26022fi 26023 26024 26025 if [ $ac_check_lib_ssl -eq 1 ] 26026 then 26027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_new" >&5 26028$as_echo_n "checking for library containing RSA_new... " >&6; } 26029if ${ac_cv_search_RSA_new+:} false; then : 26030 $as_echo_n "(cached) " >&6 26031else 26032 ac_func_search_save_LIBS=$LIBS 26033cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26034/* end confdefs.h. */ 26035 26036/* Override any GCC internal prototype to avoid an error. 26037 Use char because int might match the return type of a GCC 26038 builtin and then its argument prototype would still apply. */ 26039#ifdef __cplusplus 26040extern "C" 26041#endif 26042char RSA_new (); 26043int 26044main () 26045{ 26046return RSA_new (); 26047 ; 26048 return 0; 26049} 26050_ACEOF 26051for ac_lib in '' crypto; do 26052 if test -z "$ac_lib"; then 26053 ac_res="none required" 26054 else 26055 ac_res=-l$ac_lib 26056 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 26057 fi 26058 if ac_fn_c_try_link "$LINENO"; then : 26059 ac_cv_search_RSA_new=$ac_res 26060fi 26061rm -f core conftest.err conftest.$ac_objext \ 26062 conftest$ac_exeext 26063 if ${ac_cv_search_RSA_new+:} false; then : 26064 break 26065fi 26066done 26067if ${ac_cv_search_RSA_new+:} false; then : 26068 26069else 26070 ac_cv_search_RSA_new=no 26071fi 26072rm conftest.$ac_ext 26073LIBS=$ac_func_search_save_LIBS 26074fi 26075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_new" >&5 26076$as_echo "$ac_cv_search_RSA_new" >&6; } 26077ac_res=$ac_cv_search_RSA_new 26078if test "$ac_res" != no; then : 26079 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 26080 26081else 26082 exit 1 26083fi 26084 26085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5 26086$as_echo_n "checking for library containing SSL_library_init... " >&6; } 26087if ${ac_cv_search_SSL_library_init+:} false; then : 26088 $as_echo_n "(cached) " >&6 26089else 26090 ac_func_search_save_LIBS=$LIBS 26091cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26092/* end confdefs.h. */ 26093 26094/* Override any GCC internal prototype to avoid an error. 26095 Use char because int might match the return type of a GCC 26096 builtin and then its argument prototype would still apply. */ 26097#ifdef __cplusplus 26098extern "C" 26099#endif 26100char SSL_library_init (); 26101int 26102main () 26103{ 26104return SSL_library_init (); 26105 ; 26106 return 0; 26107} 26108_ACEOF 26109for ac_lib in '' ssl; do 26110 if test -z "$ac_lib"; then 26111 ac_res="none required" 26112 else 26113 ac_res=-l$ac_lib 26114 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 26115 fi 26116 if ac_fn_c_try_link "$LINENO"; then : 26117 ac_cv_search_SSL_library_init=$ac_res 26118fi 26119rm -f core conftest.err conftest.$ac_objext \ 26120 conftest$ac_exeext 26121 if ${ac_cv_search_SSL_library_init+:} false; then : 26122 break 26123fi 26124done 26125if ${ac_cv_search_SSL_library_init+:} false; then : 26126 26127else 26128 ac_cv_search_SSL_library_init=no 26129fi 26130rm conftest.$ac_ext 26131LIBS=$ac_func_search_save_LIBS 26132fi 26133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5 26134$as_echo "$ac_cv_search_SSL_library_init" >&6; } 26135ac_res=$ac_cv_search_SSL_library_init 26136if test "$ac_res" != no; then : 26137 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 26138 26139else 26140 26141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5 26142$as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; } 26143if ${ac_cv_search_OPENSSL_init_ssl+:} false; then : 26144 $as_echo_n "(cached) " >&6 26145else 26146 ac_func_search_save_LIBS=$LIBS 26147cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26148/* end confdefs.h. */ 26149 26150/* Override any GCC internal prototype to avoid an error. 26151 Use char because int might match the return type of a GCC 26152 builtin and then its argument prototype would still apply. */ 26153#ifdef __cplusplus 26154extern "C" 26155#endif 26156char OPENSSL_init_ssl (); 26157int 26158main () 26159{ 26160return OPENSSL_init_ssl (); 26161 ; 26162 return 0; 26163} 26164_ACEOF 26165for ac_lib in '' ssl; do 26166 if test -z "$ac_lib"; then 26167 ac_res="none required" 26168 else 26169 ac_res=-l$ac_lib 26170 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 26171 fi 26172 if ac_fn_c_try_link "$LINENO"; then : 26173 ac_cv_search_OPENSSL_init_ssl=$ac_res 26174fi 26175rm -f core conftest.err conftest.$ac_objext \ 26176 conftest$ac_exeext 26177 if ${ac_cv_search_OPENSSL_init_ssl+:} false; then : 26178 break 26179fi 26180done 26181if ${ac_cv_search_OPENSSL_init_ssl+:} false; then : 26182 26183else 26184 ac_cv_search_OPENSSL_init_ssl=no 26185fi 26186rm conftest.$ac_ext 26187LIBS=$ac_func_search_save_LIBS 26188fi 26189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5 26190$as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; } 26191ac_res=$ac_cv_search_OPENSSL_init_ssl 26192if test "$ac_res" != no; then : 26193 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 26194 26195else 26196 exit 1 26197fi 26198 26199 26200fi 26201 26202 ac_fn_c_check_func "$LINENO" "EVP_PKEY_new_raw_public_key" "ac_cv_func_EVP_PKEY_new_raw_public_key" 26203if test "x$ac_cv_func_EVP_PKEY_new_raw_public_key" = xyes; then : 26204 HAS_EVP_PKEY_NEW_RAW_PUBLIC_KEY 26205fi 26206 26207 26208 26209cat >>confdefs.h <<_ACEOF 26210#define HAS_OPENSSL 1 26211_ACEOF 26212 26213 else 26214 26215cat >>confdefs.h <<_ACEOF 26216#define HAS_OPENSSL 0 26217_ACEOF 26218 26219 fi 26220 26221 26222 26223 26224else 26225 echo "SSL is not required by this setup" 26226fi 26227 26228 26229if [ $requires_dnscore -eq 1 ] 26230then 26231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 26232$as_echo_n "checking for library containing clock_gettime... " >&6; } 26233if ${ac_cv_search_clock_gettime+:} false; then : 26234 $as_echo_n "(cached) " >&6 26235else 26236 ac_func_search_save_LIBS=$LIBS 26237cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26238/* end confdefs.h. */ 26239 26240/* Override any GCC internal prototype to avoid an error. 26241 Use char because int might match the return type of a GCC 26242 builtin and then its argument prototype would still apply. */ 26243#ifdef __cplusplus 26244extern "C" 26245#endif 26246char clock_gettime (); 26247int 26248main () 26249{ 26250return clock_gettime (); 26251 ; 26252 return 0; 26253} 26254_ACEOF 26255for ac_lib in '' rt; do 26256 if test -z "$ac_lib"; then 26257 ac_res="none required" 26258 else 26259 ac_res=-l$ac_lib 26260 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 26261 fi 26262 if ac_fn_c_try_link "$LINENO"; then : 26263 ac_cv_search_clock_gettime=$ac_res 26264fi 26265rm -f core conftest.err conftest.$ac_objext \ 26266 conftest$ac_exeext 26267 if ${ac_cv_search_clock_gettime+:} false; then : 26268 break 26269fi 26270done 26271if ${ac_cv_search_clock_gettime+:} false; then : 26272 26273else 26274 ac_cv_search_clock_gettime=no 26275fi 26276rm conftest.$ac_ext 26277LIBS=$ac_func_search_save_LIBS 26278fi 26279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 26280$as_echo "$ac_cv_search_clock_gettime" >&6; } 26281ac_res=$ac_cv_search_clock_gettime 26282if test "$ac_res" != no; then : 26283 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 26284 26285fi 26286 26287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the DNS Core library" >&5 26288$as_echo_n "checking for the DNS Core library... " >&6; } 26289 26290 if [ ! -d ${srcdir}/../../lib/dnscore ] 26291 then 26292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnscore_init in -ldnscore" >&5 26293$as_echo_n "checking for dnscore_init in -ldnscore... " >&6; } 26294if ${ac_cv_lib_dnscore_dnscore_init+:} false; then : 26295 $as_echo_n "(cached) " >&6 26296else 26297 ac_check_lib_save_LIBS=$LIBS 26298LIBS="-ldnscore $LDSTAT -ldnscore $LDDYN -lssl $LIBS" 26299cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26300/* end confdefs.h. */ 26301 26302/* Override any GCC internal prototype to avoid an error. 26303 Use char because int might match the return type of a GCC 26304 builtin and then its argument prototype would still apply. */ 26305#ifdef __cplusplus 26306extern "C" 26307#endif 26308char dnscore_init (); 26309int 26310main () 26311{ 26312return dnscore_init (); 26313 ; 26314 return 0; 26315} 26316_ACEOF 26317if ac_fn_c_try_link "$LINENO"; then : 26318 ac_cv_lib_dnscore_dnscore_init=yes 26319else 26320 ac_cv_lib_dnscore_dnscore_init=no 26321fi 26322rm -f core conftest.err conftest.$ac_objext \ 26323 conftest$ac_exeext conftest.$ac_ext 26324LIBS=$ac_check_lib_save_LIBS 26325fi 26326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnscore_dnscore_init" >&5 26327$as_echo "$ac_cv_lib_dnscore_dnscore_init" >&6; } 26328if test "x$ac_cv_lib_dnscore_dnscore_init" = xyes; then : 26329 cat >>confdefs.h <<_ACEOF 26330#define HAVE_LIBDNSCORE 1 26331_ACEOF 26332 26333 LIBS="-ldnscore $LIBS" 26334 26335else 26336 exit 26337fi 26338 26339 else 26340 CFLAGS="-I${srcdir}/../../lib/dnscore/include $CFLAGS" 26341 LDFLAGS="-L../../lib/dnscore/.libs $LDFLAGS" 26342 LDFLAGS="$LDFLAGS $LDSTAT -ldnscore $LDDYN" 26343 fi 26344 26345 26346fi 26347 26348 26349if [ $requires_dnsdb -eq 1 ] 26350then 26351 26352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the DNS Database library" >&5 26353$as_echo_n "checking for the DNS Database library... " >&6; } 26354 26355 if [ ! -d ${srcdir}/../../lib/dnsdb ] 26356 then 26357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zdb_init in -ldnsdb" >&5 26358$as_echo_n "checking for zdb_init in -ldnsdb... " >&6; } 26359if ${ac_cv_lib_dnsdb_zdb_init+:} false; then : 26360 $as_echo_n "(cached) " >&6 26361else 26362 ac_check_lib_save_LIBS=$LIBS 26363LIBS="-ldnsdb $LDSTAT -ldnscore $LDDYN -lssl $LIBS" 26364cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26365/* end confdefs.h. */ 26366 26367/* Override any GCC internal prototype to avoid an error. 26368 Use char because int might match the return type of a GCC 26369 builtin and then its argument prototype would still apply. */ 26370#ifdef __cplusplus 26371extern "C" 26372#endif 26373char zdb_init (); 26374int 26375main () 26376{ 26377return zdb_init (); 26378 ; 26379 return 0; 26380} 26381_ACEOF 26382if ac_fn_c_try_link "$LINENO"; then : 26383 ac_cv_lib_dnsdb_zdb_init=yes 26384else 26385 ac_cv_lib_dnsdb_zdb_init=no 26386fi 26387rm -f core conftest.err conftest.$ac_objext \ 26388 conftest$ac_exeext conftest.$ac_ext 26389LIBS=$ac_check_lib_save_LIBS 26390fi 26391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnsdb_zdb_init" >&5 26392$as_echo "$ac_cv_lib_dnsdb_zdb_init" >&6; } 26393if test "x$ac_cv_lib_dnsdb_zdb_init" = xyes; then : 26394 cat >>confdefs.h <<_ACEOF 26395#define HAVE_LIBDNSDB 1 26396_ACEOF 26397 26398 LIBS="-ldnsdb $LIBS" 26399 26400else 26401 exit 26402fi 26403 26404 else 26405 echo "embedded" 26406 26407 CFLAGS="-I${srcdir}/../../lib/dnsdb/include $CFLAGS" 26408 LDFLAGS="-L../../lib/dnsdb/.libs $LDFLAGS" 26409 26410 LDFLAGS="$LDFLAGS $LDSTAT -ldnsdb $LDDYN" 26411 fi 26412 26413 26414fi 26415 26416 26417if [ $requires_dnslg -eq 1 ] 26418then 26419 26420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the DNS Looking Glass library" >&5 26421$as_echo_n "checking for the DNS Looking Glass library... " >&6; } 26422 26423 if [ ! -d ${srcdir}/../../lib/dnslg ] 26424 then 26425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnslg_init in -ldnslg" >&5 26426$as_echo_n "checking for dnslg_init in -ldnslg... " >&6; } 26427if ${ac_cv_lib_dnslg_dnslg_init+:} false; then : 26428 $as_echo_n "(cached) " >&6 26429else 26430 ac_check_lib_save_LIBS=$LIBS 26431LIBS="-ldnslg $LDSTAT -ldnscore $LDDYN $LIBS" 26432cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26433/* end confdefs.h. */ 26434 26435/* Override any GCC internal prototype to avoid an error. 26436 Use char because int might match the return type of a GCC 26437 builtin and then its argument prototype would still apply. */ 26438#ifdef __cplusplus 26439extern "C" 26440#endif 26441char dnslg_init (); 26442int 26443main () 26444{ 26445return dnslg_init (); 26446 ; 26447 return 0; 26448} 26449_ACEOF 26450if ac_fn_c_try_link "$LINENO"; then : 26451 ac_cv_lib_dnslg_dnslg_init=yes 26452else 26453 ac_cv_lib_dnslg_dnslg_init=no 26454fi 26455rm -f core conftest.err conftest.$ac_objext \ 26456 conftest$ac_exeext conftest.$ac_ext 26457LIBS=$ac_check_lib_save_LIBS 26458fi 26459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnslg_dnslg_init" >&5 26460$as_echo "$ac_cv_lib_dnslg_dnslg_init" >&6; } 26461if test "x$ac_cv_lib_dnslg_dnslg_init" = xyes; then : 26462 cat >>confdefs.h <<_ACEOF 26463#define HAVE_LIBDNSLG 1 26464_ACEOF 26465 26466 LIBS="-ldnslg $LIBS" 26467 26468else 26469 exit 26470fi 26471 26472 else 26473 CFLAGS="-I${srcdir}/../../lib/dnslg/include $CFLAGS" 26474 LDFLAGS="-L../../lib/dnslg/.libs $LDFLAGS" 26475 26476 LDFLAGS="$LDFLAGS $LDSTAT -ldnslg $LDDYN" 26477 fi 26478 26479 26480fi 26481 26482LDFLAGS="$LDFLAGS $LDDYN" 26483LIBS="$LDDYN $LIBS" 26484 26485 26486 26487 26488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LTO has been enabled" >&5 26489$as_echo_n "checking if LTO has been enabled... " >&6; } 26490# Check whether --enable-lto was given. 26491if test "${enable_lto+set}" = set; then : 26492 enableval=$enable_lto; enable_lto=yes 26493else 26494 enable_lto=no 26495fi 26496 26497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_lto" >&5 26498$as_echo "$enable_lto" >&6; } 26499case "$enable_lto" in 26500 yes) 26501 26502 type -p gold 26503 26504 if [ $? -ne 0 ] 26505 then 26506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: WARNING: 'gold' not found" >&5 26507$as_echo "WARNING: 'gold' not found" >&6; } 26508 sleep 1 26509 fi 26510 26511 if [ ! "$LD" = "" ] 26512 then 26513 $LD -v |grep -i gold > /dev/null 2>&1 26514 26515 if [ $? -ne 0 ] 26516 then 26517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: WARNING: LTO enabled but LD ($LD) is not gold" >&5 26518$as_echo "WARNING: LTO enabled but LD ($LD) is not gold" >&6; } 26519 sleep 1 26520 fi 26521 else 26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: LD not defined" >&5 26523$as_echo "LD not defined" >&6; } 26524 fi 26525 26526 ;; 26527 no|*) 26528 ;; 26529esac 26530 26531 if test "x$enable_lto" == "yyes"; then 26532 HAS_LTO_SUPPORT_TRUE= 26533 HAS_LTO_SUPPORT_FALSE='#' 26534else 26535 HAS_LTO_SUPPORT_TRUE='#' 26536 HAS_LTO_SUPPORT_FALSE= 26537fi 26538 26539 26540 26541 26542 26543 26544 26545 26546# 26547# AC_HAS_DISABLE rrl 26548# 26549# CHECKING 26550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RRL_SUPPORT has been disabled" >&5 26551$as_echo_n "checking if RRL_SUPPORT has been disabled... " >&6; } 26552# ARG ENABLE 26553# Check whether --enable-rrl was given. 26554if test "${enable_rrl+set}" = set; then : 26555 enableval=$enable_rrl; 26556fi 26557 26558# MSG RESULT 26559# CASE 26560case "y$enable_rrl" in 26561 yyes|y) 26562# DEFINE Y 26563 26564cat >>confdefs.h <<_ACEOF 26565#define HAS_RRL_SUPPORT 1 26566_ACEOF 26567 26568# CONDITIONAL Y 26569 enable_rrl=yes 26570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26571$as_echo "no" >&6; } 26572# IF YES 26573 26574# ENDIF 26575 ;; 26576 yno|*) 26577# DEFINE N 26578 26579cat >>confdefs.h <<_ACEOF 26580#define HAS_RRL_SUPPORT 0 26581_ACEOF 26582 26583# CONDITIONAL N 26584 enable_rrl=no 26585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26586$as_echo "yes" >&6; } 26587# IF NO 26588 26589# ENDIF 26590 ;; 26591esac 26592# CONDITIONAL 26593 if test y$enable_rrl != yno; then 26594 HAS_RRL_SUPPORT_TRUE= 26595 HAS_RRL_SUPPORT_FALSE='#' 26596else 26597 HAS_RRL_SUPPORT_TRUE='#' 26598 HAS_RRL_SUPPORT_FALSE= 26599fi 26600 26601# SUBST 26602 26603# AC_HAS_DISABLE rrl DONE 26604 26605 26606 26607 26608 26609 26610 26611# 26612# AC_HAS_DISABLE master 26613# 26614# CHECKING 26615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if MASTER_SUPPORT has been disabled" >&5 26616$as_echo_n "checking if MASTER_SUPPORT has been disabled... " >&6; } 26617# ARG ENABLE 26618# Check whether --enable-master was given. 26619if test "${enable_master+set}" = set; then : 26620 enableval=$enable_master; 26621fi 26622 26623# MSG RESULT 26624# CASE 26625case "y$enable_master" in 26626 yyes|y) 26627# DEFINE Y 26628 26629cat >>confdefs.h <<_ACEOF 26630#define HAS_MASTER_SUPPORT 1 26631_ACEOF 26632 26633# CONDITIONAL Y 26634 enable_master=yes 26635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26636$as_echo "no" >&6; } 26637# IF YES 26638 26639 requires_ssl=1 26640 26641 26642# ENDIF 26643 ;; 26644 yno|*) 26645# DEFINE N 26646 26647cat >>confdefs.h <<_ACEOF 26648#define HAS_MASTER_SUPPORT 0 26649_ACEOF 26650 26651# CONDITIONAL N 26652 enable_master=no 26653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26654$as_echo "yes" >&6; } 26655# IF NO 26656 enable_dynupdate='no' 26657 enable_rrsig_management='no' 26658# ENDIF 26659 ;; 26660esac 26661# CONDITIONAL 26662 if test y$enable_master != yno; then 26663 HAS_MASTER_SUPPORT_TRUE= 26664 HAS_MASTER_SUPPORT_FALSE='#' 26665else 26666 HAS_MASTER_SUPPORT_TRUE='#' 26667 HAS_MASTER_SUPPORT_FALSE= 26668fi 26669 26670# SUBST 26671 26672# AC_HAS_DISABLE master DONE 26673 26674 26675 26676 26677# 26678# AC_HAS_DISABLE ctrl 26679# 26680# CHECKING 26681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if CTRL has been disabled" >&5 26682$as_echo_n "checking if CTRL has been disabled... " >&6; } 26683# ARG ENABLE 26684# Check whether --enable-ctrl was given. 26685if test "${enable_ctrl+set}" = set; then : 26686 enableval=$enable_ctrl; 26687fi 26688 26689# MSG RESULT 26690# CASE 26691case "y$enable_ctrl" in 26692 yyes|y) 26693# DEFINE Y 26694 26695cat >>confdefs.h <<_ACEOF 26696#define HAS_CTRL 1 26697_ACEOF 26698 26699# CONDITIONAL Y 26700 enable_ctrl=yes 26701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26702$as_echo "no" >&6; } 26703# IF YES 26704 26705# ENDIF 26706 ;; 26707 yno|*) 26708# DEFINE N 26709 26710cat >>confdefs.h <<_ACEOF 26711#define HAS_CTRL 0 26712_ACEOF 26713 26714# CONDITIONAL N 26715 enable_ctrl=no 26716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26717$as_echo "yes" >&6; } 26718# IF NO 26719 26720# ENDIF 26721 ;; 26722esac 26723# CONDITIONAL 26724 if test y$enable_ctrl != yno; then 26725 HAS_CTRL_TRUE= 26726 HAS_CTRL_FALSE='#' 26727else 26728 HAS_CTRL_TRUE='#' 26729 HAS_CTRL_FALSE= 26730fi 26731 26732# SUBST 26733 26734# AC_HAS_DISABLE ctrl DONE 26735 26736 26737 if xno = xyes; then 26738 HAS_ZONESIGN_TRUE= 26739 HAS_ZONESIGN_FALSE='#' 26740else 26741 HAS_ZONESIGN_TRUE='#' 26742 HAS_ZONESIGN_FALSE= 26743fi 26744 26745 26746 26747 26748# 26749# AC_HAS_ENABLE keygen 26750# 26751# CHECKING 26752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if KEYGEN has been enabled" >&5 26753$as_echo_n "checking if KEYGEN has been enabled... " >&6; } 26754# ARG ENABLE 26755# Check whether --enable-keygen was given. 26756if test "${enable_keygen+set}" = set; then : 26757 enableval=$enable_keygen; 26758fi 26759 26760# CASE 26761case "y$enable_keygen" in 26762 yyes) 26763# DEFINE Y 26764 26765cat >>confdefs.h <<_ACEOF 26766#define HAS_KEYGEN 1 26767_ACEOF 26768 26769# CONDITIONAL Y 26770 enable_keygen="yes" 26771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26772$as_echo "yes" >&6; } 26773# IF YES 26774 26775# ENDIF 26776 ;; 26777 yno|y|*) 26778# DEFINE N 26779 26780cat >>confdefs.h <<_ACEOF 26781#define HAS_KEYGEN 0 26782_ACEOF 26783 26784# CONDITIONAL N 26785 enable_keygen="no" 26786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26787$as_echo "no" >&6; } 26788# IF NO 26789 26790# ENDIF 26791 ;; 26792esac 26793# CONDITIONAL 26794 if test y$enable_keygen = yyes; then 26795 HAS_KEYGEN_TRUE= 26796 HAS_KEYGEN_FALSE='#' 26797else 26798 HAS_KEYGEN_TRUE='#' 26799 HAS_KEYGEN_FALSE= 26800fi 26801 26802# SUBST 26803 26804# AC_HAS_ENABLE keygen DONE 26805 26806 26807 26808 26809# 26810# AC_HAS_DISABLE nsid 26811# 26812# CHECKING 26813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if NSID_SUPPORT has been disabled" >&5 26814$as_echo_n "checking if NSID_SUPPORT has been disabled... " >&6; } 26815# ARG ENABLE 26816# Check whether --enable-nsid was given. 26817if test "${enable_nsid+set}" = set; then : 26818 enableval=$enable_nsid; 26819fi 26820 26821# MSG RESULT 26822# CASE 26823case "y$enable_nsid" in 26824 yyes|y) 26825# DEFINE Y 26826 26827cat >>confdefs.h <<_ACEOF 26828#define HAS_NSID_SUPPORT 1 26829_ACEOF 26830 26831# CONDITIONAL Y 26832 enable_nsid=yes 26833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26834$as_echo "no" >&6; } 26835# IF YES 26836 26837# ENDIF 26838 ;; 26839 yno|*) 26840# DEFINE N 26841 26842cat >>confdefs.h <<_ACEOF 26843#define HAS_NSID_SUPPORT 0 26844_ACEOF 26845 26846# CONDITIONAL N 26847 enable_nsid=no 26848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26849$as_echo "yes" >&6; } 26850# IF NO 26851 26852# ENDIF 26853 ;; 26854esac 26855# CONDITIONAL 26856 if test y$enable_nsid != yno; then 26857 HAS_NSID_SUPPORT_TRUE= 26858 HAS_NSID_SUPPORT_FALSE='#' 26859else 26860 HAS_NSID_SUPPORT_TRUE='#' 26861 HAS_NSID_SUPPORT_FALSE= 26862fi 26863 26864# SUBST 26865 26866# AC_HAS_DISABLE nsid DONE 26867 26868 26869 26870 26871# 26872# AC_FORCE_ENABLE acl 26873# 26874enable_acl=yes 26875 26876cat >>confdefs.h <<_ACEOF 26877#define HAS_ACL_SUPPORT 1 26878_ACEOF 26879 26880 if test y$enable_acl = yyes; then 26881 HAS_ACL_SUPPORT_TRUE= 26882 HAS_ACL_SUPPORT_FALSE='#' 26883else 26884 HAS_ACL_SUPPORT_TRUE='#' 26885 HAS_ACL_SUPPORT_FALSE= 26886fi 26887 26888 26889# AC_FORCE_ENABLE acl DONE 26890 26891 26892 requires_ssl=1 26893 26894 26895 26896 26897# 26898# AC_FORCE_ENABLE tsig 26899# 26900enable_tsig=yes 26901 26902cat >>confdefs.h <<_ACEOF 26903#define HAS_TSIG_SUPPORT 1 26904_ACEOF 26905 26906 if test y$enable_tsig = yyes; then 26907 HAS_TSIG_SUPPORT_TRUE= 26908 HAS_TSIG_SUPPORT_FALSE='#' 26909else 26910 HAS_TSIG_SUPPORT_TRUE='#' 26911 HAS_TSIG_SUPPORT_FALSE= 26912fi 26913 26914 26915# AC_FORCE_ENABLE tsig DONE 26916 26917 26918 requires_ssl=1 26919 26920 26921 26922 26923# 26924# AC_HAS_DISABLE dynupdate 26925# 26926# CHECKING 26927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DYNUPDATE_SUPPORT has been disabled" >&5 26928$as_echo_n "checking if DYNUPDATE_SUPPORT has been disabled... " >&6; } 26929# ARG ENABLE 26930# Check whether --enable-dynupdate was given. 26931if test "${enable_dynupdate+set}" = set; then : 26932 enableval=$enable_dynupdate; 26933fi 26934 26935# MSG RESULT 26936# CASE 26937case "y$enable_dynupdate" in 26938 yyes|y) 26939# DEFINE Y 26940 26941cat >>confdefs.h <<_ACEOF 26942#define HAS_DYNUPDATE_SUPPORT 1 26943_ACEOF 26944 26945# CONDITIONAL Y 26946 enable_dynupdate=yes 26947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26948$as_echo "no" >&6; } 26949# IF YES 26950 26951# ENDIF 26952 ;; 26953 yno|*) 26954# DEFINE N 26955 26956cat >>confdefs.h <<_ACEOF 26957#define HAS_DYNUPDATE_SUPPORT 0 26958_ACEOF 26959 26960# CONDITIONAL N 26961 enable_dynupdate=no 26962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26963$as_echo "yes" >&6; } 26964# IF NO 26965 26966# ENDIF 26967 ;; 26968esac 26969# CONDITIONAL 26970 if test y$enable_dynupdate != yno; then 26971 HAS_DYNUPDATE_SUPPORT_TRUE= 26972 HAS_DYNUPDATE_SUPPORT_FALSE='#' 26973else 26974 HAS_DYNUPDATE_SUPPORT_TRUE='#' 26975 HAS_DYNUPDATE_SUPPORT_FALSE= 26976fi 26977 26978# SUBST 26979 26980# AC_HAS_DISABLE dynupdate DONE 26981 26982 26983 26984 26985# 26986# AC_HAS_DISABLE rrsig_management 26987# 26988# CHECKING 26989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RRSIG_MANAGEMENT_SUPPORT has been disabled" >&5 26990$as_echo_n "checking if RRSIG_MANAGEMENT_SUPPORT has been disabled... " >&6; } 26991# ARG ENABLE 26992# Check whether --enable-rrsig_management was given. 26993if test "${enable_rrsig_management+set}" = set; then : 26994 enableval=$enable_rrsig_management; 26995fi 26996 26997# MSG RESULT 26998# CASE 26999case "y$enable_rrsig_management" in 27000 yyes|y) 27001# DEFINE Y 27002 27003cat >>confdefs.h <<_ACEOF 27004#define HAS_RRSIG_MANAGEMENT_SUPPORT 1 27005_ACEOF 27006 27007# CONDITIONAL Y 27008 enable_rrsig_management=yes 27009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27010$as_echo "no" >&6; } 27011# IF YES 27012 27013 requires_ssl=1 27014 27015 27016# ENDIF 27017 ;; 27018 yno|*) 27019# DEFINE N 27020 27021cat >>confdefs.h <<_ACEOF 27022#define HAS_RRSIG_MANAGEMENT_SUPPORT 0 27023_ACEOF 27024 27025# CONDITIONAL N 27026 enable_rrsig_management=no 27027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27028$as_echo "yes" >&6; } 27029# IF NO 27030 27031# ENDIF 27032 ;; 27033esac 27034# CONDITIONAL 27035 if test y$enable_rrsig_management != yno; then 27036 HAS_RRSIG_MANAGEMENT_SUPPORT_TRUE= 27037 HAS_RRSIG_MANAGEMENT_SUPPORT_FALSE='#' 27038else 27039 HAS_RRSIG_MANAGEMENT_SUPPORT_TRUE='#' 27040 HAS_RRSIG_MANAGEMENT_SUPPORT_FALSE= 27041fi 27042 27043# SUBST 27044 27045# AC_HAS_DISABLE rrsig_management DONE 27046 27047 27048 if true; then 27049 HAS_DNSSEC_SUPPORT_TRUE= 27050 HAS_DNSSEC_SUPPORT_FALSE='#' 27051else 27052 HAS_DNSSEC_SUPPORT_TRUE='#' 27053 HAS_DNSSEC_SUPPORT_FALSE= 27054fi 27055 27056 27057cat >>confdefs.h <<_ACEOF 27058#define HAS_DNSSEC_SUPPORT 1 27059_ACEOF 27060 27061 27062 27063 requires_ssl=1 27064 27065 27066 if true; then 27067 HAS_NSEC_SUPPORT_TRUE= 27068 HAS_NSEC_SUPPORT_FALSE='#' 27069else 27070 HAS_NSEC_SUPPORT_TRUE='#' 27071 HAS_NSEC_SUPPORT_FALSE= 27072fi 27073 27074 27075cat >>confdefs.h <<_ACEOF 27076#define HAS_NSEC_SUPPORT 1 27077_ACEOF 27078 27079 27080 27081 if true; then 27082 HAS_NSEC3_SUPPORT_TRUE= 27083 HAS_NSEC3_SUPPORT_FALSE='#' 27084else 27085 HAS_NSEC3_SUPPORT_TRUE='#' 27086 HAS_NSEC3_SUPPORT_FALSE= 27087fi 27088 27089 27090cat >>confdefs.h <<_ACEOF 27091#define HAS_NSEC3_SUPPORT 1 27092_ACEOF 27093 27094 27095 27096 27097 27098# 27099# AC_HAS_DISABLE zalloc 27100# 27101# CHECKING 27102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ZALLOC_SUPPORT has been disabled" >&5 27103$as_echo_n "checking if ZALLOC_SUPPORT has been disabled... " >&6; } 27104# ARG ENABLE 27105# Check whether --enable-zalloc was given. 27106if test "${enable_zalloc+set}" = set; then : 27107 enableval=$enable_zalloc; 27108fi 27109 27110# MSG RESULT 27111# CASE 27112case "y$enable_zalloc" in 27113 yyes|y) 27114# DEFINE Y 27115 27116cat >>confdefs.h <<_ACEOF 27117#define HAS_ZALLOC_SUPPORT 1 27118_ACEOF 27119 27120# CONDITIONAL Y 27121 enable_zalloc=yes 27122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27123$as_echo "no" >&6; } 27124# IF YES 27125 27126# ENDIF 27127 ;; 27128 yno|*) 27129# DEFINE N 27130 27131cat >>confdefs.h <<_ACEOF 27132#define HAS_ZALLOC_SUPPORT 0 27133_ACEOF 27134 27135# CONDITIONAL N 27136 enable_zalloc=no 27137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27138$as_echo "yes" >&6; } 27139# IF NO 27140 27141# ENDIF 27142 ;; 27143esac 27144# CONDITIONAL 27145 if test y$enable_zalloc != yno; then 27146 HAS_ZALLOC_SUPPORT_TRUE= 27147 HAS_ZALLOC_SUPPORT_FALSE='#' 27148else 27149 HAS_ZALLOC_SUPPORT_TRUE='#' 27150 HAS_ZALLOC_SUPPORT_FALSE= 27151fi 27152 27153# SUBST 27154 27155# AC_HAS_DISABLE zalloc DONE 27156 27157 27158 27159 27160# 27161# AC_HAS_ENABLE zalloc_statistics 27162# 27163# CHECKING 27164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ZALLOC_STATISTICS_SUPPORT has been enabled" >&5 27165$as_echo_n "checking if ZALLOC_STATISTICS_SUPPORT has been enabled... " >&6; } 27166# ARG ENABLE 27167# Check whether --enable-zalloc_statistics was given. 27168if test "${enable_zalloc_statistics+set}" = set; then : 27169 enableval=$enable_zalloc_statistics; 27170fi 27171 27172# CASE 27173case "y$enable_zalloc_statistics" in 27174 yyes) 27175# DEFINE Y 27176 27177cat >>confdefs.h <<_ACEOF 27178#define HAS_ZALLOC_STATISTICS_SUPPORT 1 27179_ACEOF 27180 27181# CONDITIONAL Y 27182 enable_zalloc_statistics="yes" 27183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27184$as_echo "yes" >&6; } 27185# IF YES 27186 27187# ENDIF 27188 ;; 27189 yno|y|*) 27190# DEFINE N 27191 27192cat >>confdefs.h <<_ACEOF 27193#define HAS_ZALLOC_STATISTICS_SUPPORT 0 27194_ACEOF 27195 27196# CONDITIONAL N 27197 enable_zalloc_statistics="no" 27198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27199$as_echo "no" >&6; } 27200# IF NO 27201 27202# ENDIF 27203 ;; 27204esac 27205# CONDITIONAL 27206 if test y$enable_zalloc_statistics = yyes; then 27207 HAS_ZALLOC_STATISTICS_SUPPORT_TRUE= 27208 HAS_ZALLOC_STATISTICS_SUPPORT_FALSE='#' 27209else 27210 HAS_ZALLOC_STATISTICS_SUPPORT_TRUE='#' 27211 HAS_ZALLOC_STATISTICS_SUPPORT_FALSE= 27212fi 27213 27214# SUBST 27215 27216# AC_HAS_ENABLE zalloc_statistics DONE 27217 27218 27219 27220 27221# 27222# AC_HAS_ENABLE zalloc_debug 27223# 27224# CHECKING 27225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ZALLOC_DEBUG_SUPPORT has been enabled" >&5 27226$as_echo_n "checking if ZALLOC_DEBUG_SUPPORT has been enabled... " >&6; } 27227# ARG ENABLE 27228# Check whether --enable-zalloc_debug was given. 27229if test "${enable_zalloc_debug+set}" = set; then : 27230 enableval=$enable_zalloc_debug; 27231fi 27232 27233# CASE 27234case "y$enable_zalloc_debug" in 27235 yyes) 27236# DEFINE Y 27237 27238cat >>confdefs.h <<_ACEOF 27239#define HAS_ZALLOC_DEBUG_SUPPORT 1 27240_ACEOF 27241 27242# CONDITIONAL Y 27243 enable_zalloc_debug="yes" 27244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27245$as_echo "yes" >&6; } 27246# IF YES 27247 27248# ENDIF 27249 ;; 27250 yno|y|*) 27251# DEFINE N 27252 27253cat >>confdefs.h <<_ACEOF 27254#define HAS_ZALLOC_DEBUG_SUPPORT 0 27255_ACEOF 27256 27257# CONDITIONAL N 27258 enable_zalloc_debug="no" 27259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27260$as_echo "no" >&6; } 27261# IF NO 27262 27263# ENDIF 27264 ;; 27265esac 27266# CONDITIONAL 27267 if test y$enable_zalloc_debug = yyes; then 27268 HAS_ZALLOC_DEBUG_SUPPORT_TRUE= 27269 HAS_ZALLOC_DEBUG_SUPPORT_FALSE='#' 27270else 27271 HAS_ZALLOC_DEBUG_SUPPORT_TRUE='#' 27272 HAS_ZALLOC_DEBUG_SUPPORT_FALSE= 27273fi 27274 27275# SUBST 27276 27277# AC_HAS_ENABLE zalloc_debug DONE 27278 27279 27280 27281 27282# 27283# AC_HAS_ENABLE malloc_debug 27284# 27285# CHECKING 27286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if MALLOC_DEBUG_SUPPORT has been enabled" >&5 27287$as_echo_n "checking if MALLOC_DEBUG_SUPPORT has been enabled... " >&6; } 27288# ARG ENABLE 27289# Check whether --enable-malloc_debug was given. 27290if test "${enable_malloc_debug+set}" = set; then : 27291 enableval=$enable_malloc_debug; 27292fi 27293 27294# CASE 27295case "y$enable_malloc_debug" in 27296 yyes) 27297# DEFINE Y 27298 27299cat >>confdefs.h <<_ACEOF 27300#define HAS_MALLOC_DEBUG_SUPPORT 1 27301_ACEOF 27302 27303# CONDITIONAL Y 27304 enable_malloc_debug="yes" 27305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27306$as_echo "yes" >&6; } 27307# IF YES 27308 27309# ENDIF 27310 ;; 27311 yno|y|*) 27312# DEFINE N 27313 27314cat >>confdefs.h <<_ACEOF 27315#define HAS_MALLOC_DEBUG_SUPPORT 0 27316_ACEOF 27317 27318# CONDITIONAL N 27319 enable_malloc_debug="no" 27320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27321$as_echo "no" >&6; } 27322# IF NO 27323 27324# ENDIF 27325 ;; 27326esac 27327# CONDITIONAL 27328 if test y$enable_malloc_debug = yyes; then 27329 HAS_MALLOC_DEBUG_SUPPORT_TRUE= 27330 HAS_MALLOC_DEBUG_SUPPORT_FALSE='#' 27331else 27332 HAS_MALLOC_DEBUG_SUPPORT_TRUE='#' 27333 HAS_MALLOC_DEBUG_SUPPORT_FALSE= 27334fi 27335 27336# SUBST 27337 27338# AC_HAS_ENABLE malloc_debug DONE 27339 27340 27341 27342 27343# 27344# AC_HAS_ENABLE libc_malloc_debug 27345# 27346# CHECKING 27347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LIBC_MALLOC_DEBUG_SUPPORT has been enabled" >&5 27348$as_echo_n "checking if LIBC_MALLOC_DEBUG_SUPPORT has been enabled... " >&6; } 27349# ARG ENABLE 27350# Check whether --enable-libc_malloc_debug was given. 27351if test "${enable_libc_malloc_debug+set}" = set; then : 27352 enableval=$enable_libc_malloc_debug; 27353fi 27354 27355# CASE 27356case "y$enable_libc_malloc_debug" in 27357 yyes) 27358# DEFINE Y 27359 27360cat >>confdefs.h <<_ACEOF 27361#define HAS_LIBC_MALLOC_DEBUG_SUPPORT 1 27362_ACEOF 27363 27364# CONDITIONAL Y 27365 enable_libc_malloc_debug="yes" 27366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27367$as_echo "yes" >&6; } 27368# IF YES 27369 27370# ENDIF 27371 ;; 27372 yno|y|*) 27373# DEFINE N 27374 27375cat >>confdefs.h <<_ACEOF 27376#define HAS_LIBC_MALLOC_DEBUG_SUPPORT 0 27377_ACEOF 27378 27379# CONDITIONAL N 27380 enable_libc_malloc_debug="no" 27381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27382$as_echo "no" >&6; } 27383# IF NO 27384 27385# ENDIF 27386 ;; 27387esac 27388# CONDITIONAL 27389 if test y$enable_libc_malloc_debug = yyes; then 27390 HAS_LIBC_MALLOC_DEBUG_SUPPORT_TRUE= 27391 HAS_LIBC_MALLOC_DEBUG_SUPPORT_FALSE='#' 27392else 27393 HAS_LIBC_MALLOC_DEBUG_SUPPORT_TRUE='#' 27394 HAS_LIBC_MALLOC_DEBUG_SUPPORT_FALSE= 27395fi 27396 27397# SUBST 27398 27399# AC_HAS_ENABLE libc_malloc_debug DONE 27400 27401 27402 27403 27404# 27405# AC_HAS_ENABLE bfd_debug 27406# 27407# CHECKING 27408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if BFD_DEBUG_SUPPORT has been enabled" >&5 27409$as_echo_n "checking if BFD_DEBUG_SUPPORT has been enabled... " >&6; } 27410# ARG ENABLE 27411# Check whether --enable-bfd_debug was given. 27412if test "${enable_bfd_debug+set}" = set; then : 27413 enableval=$enable_bfd_debug; 27414fi 27415 27416# CASE 27417case "y$enable_bfd_debug" in 27418 yyes) 27419# DEFINE Y 27420 27421cat >>confdefs.h <<_ACEOF 27422#define HAS_BFD_DEBUG_SUPPORT 1 27423_ACEOF 27424 27425# CONDITIONAL Y 27426 enable_bfd_debug="yes" 27427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27428$as_echo "yes" >&6; } 27429# IF YES 27430 27431# ENDIF 27432 ;; 27433 yno|y|*) 27434# DEFINE N 27435 27436cat >>confdefs.h <<_ACEOF 27437#define HAS_BFD_DEBUG_SUPPORT 0 27438_ACEOF 27439 27440# CONDITIONAL N 27441 enable_bfd_debug="no" 27442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27443$as_echo "no" >&6; } 27444# IF NO 27445 27446# ENDIF 27447 ;; 27448esac 27449# CONDITIONAL 27450 if test y$enable_bfd_debug = yyes; then 27451 HAS_BFD_DEBUG_SUPPORT_TRUE= 27452 HAS_BFD_DEBUG_SUPPORT_FALSE='#' 27453else 27454 HAS_BFD_DEBUG_SUPPORT_TRUE='#' 27455 HAS_BFD_DEBUG_SUPPORT_FALSE= 27456fi 27457 27458# SUBST 27459 27460# AC_HAS_ENABLE bfd_debug DONE 27461 27462 27463case "$enable_bfd_debug" in 27464 yes) 27465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlinfo" >&5 27466$as_echo_n "checking for library containing dlinfo... " >&6; } 27467if ${ac_cv_search_dlinfo+:} false; then : 27468 $as_echo_n "(cached) " >&6 27469else 27470 ac_func_search_save_LIBS=$LIBS 27471cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27472/* end confdefs.h. */ 27473 27474/* Override any GCC internal prototype to avoid an error. 27475 Use char because int might match the return type of a GCC 27476 builtin and then its argument prototype would still apply. */ 27477#ifdef __cplusplus 27478extern "C" 27479#endif 27480char dlinfo (); 27481int 27482main () 27483{ 27484return dlinfo (); 27485 ; 27486 return 0; 27487} 27488_ACEOF 27489for ac_lib in '' dl; do 27490 if test -z "$ac_lib"; then 27491 ac_res="none required" 27492 else 27493 ac_res=-l$ac_lib 27494 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 27495 fi 27496 if ac_fn_c_try_link "$LINENO"; then : 27497 ac_cv_search_dlinfo=$ac_res 27498fi 27499rm -f core conftest.err conftest.$ac_objext \ 27500 conftest$ac_exeext 27501 if ${ac_cv_search_dlinfo+:} false; then : 27502 break 27503fi 27504done 27505if ${ac_cv_search_dlinfo+:} false; then : 27506 27507else 27508 ac_cv_search_dlinfo=no 27509fi 27510rm conftest.$ac_ext 27511LIBS=$ac_func_search_save_LIBS 27512fi 27513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlinfo" >&5 27514$as_echo "$ac_cv_search_dlinfo" >&6; } 27515ac_res=$ac_cv_search_dlinfo 27516if test "$ac_res" != no; then : 27517 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 27518 27519else 27520 echo no dl 27521fi 27522 27523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sha1_init_ctx" >&5 27524$as_echo_n "checking for library containing sha1_init_ctx... " >&6; } 27525if ${ac_cv_search_sha1_init_ctx+:} false; then : 27526 $as_echo_n "(cached) " >&6 27527else 27528 ac_func_search_save_LIBS=$LIBS 27529cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27530/* end confdefs.h. */ 27531 27532/* Override any GCC internal prototype to avoid an error. 27533 Use char because int might match the return type of a GCC 27534 builtin and then its argument prototype would still apply. */ 27535#ifdef __cplusplus 27536extern "C" 27537#endif 27538char sha1_init_ctx (); 27539int 27540main () 27541{ 27542return sha1_init_ctx (); 27543 ; 27544 return 0; 27545} 27546_ACEOF 27547for ac_lib in '' iberty; do 27548 if test -z "$ac_lib"; then 27549 ac_res="none required" 27550 else 27551 ac_res=-l$ac_lib 27552 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 27553 fi 27554 if ac_fn_c_try_link "$LINENO"; then : 27555 ac_cv_search_sha1_init_ctx=$ac_res 27556fi 27557rm -f core conftest.err conftest.$ac_objext \ 27558 conftest$ac_exeext 27559 if ${ac_cv_search_sha1_init_ctx+:} false; then : 27560 break 27561fi 27562done 27563if ${ac_cv_search_sha1_init_ctx+:} false; then : 27564 27565else 27566 ac_cv_search_sha1_init_ctx=no 27567fi 27568rm conftest.$ac_ext 27569LIBS=$ac_func_search_save_LIBS 27570fi 27571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sha1_init_ctx" >&5 27572$as_echo "$ac_cv_search_sha1_init_ctx" >&6; } 27573ac_res=$ac_cv_search_sha1_init_ctx 27574if test "$ac_res" != no; then : 27575 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 27576 27577else 27578 echo iberty 27579fi 27580 27581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bfd_init" >&5 27582$as_echo_n "checking for library containing bfd_init... " >&6; } 27583if ${ac_cv_search_bfd_init+:} false; then : 27584 $as_echo_n "(cached) " >&6 27585else 27586 ac_func_search_save_LIBS=$LIBS 27587cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27588/* end confdefs.h. */ 27589 27590/* Override any GCC internal prototype to avoid an error. 27591 Use char because int might match the return type of a GCC 27592 builtin and then its argument prototype would still apply. */ 27593#ifdef __cplusplus 27594extern "C" 27595#endif 27596char bfd_init (); 27597int 27598main () 27599{ 27600return bfd_init (); 27601 ; 27602 return 0; 27603} 27604_ACEOF 27605for ac_lib in '' bfd; do 27606 if test -z "$ac_lib"; then 27607 ac_res="none required" 27608 else 27609 ac_res=-l$ac_lib 27610 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 27611 fi 27612 if ac_fn_c_try_link "$LINENO"; then : 27613 ac_cv_search_bfd_init=$ac_res 27614fi 27615rm -f core conftest.err conftest.$ac_objext \ 27616 conftest$ac_exeext 27617 if ${ac_cv_search_bfd_init+:} false; then : 27618 break 27619fi 27620done 27621if ${ac_cv_search_bfd_init+:} false; then : 27622 27623else 27624 ac_cv_search_bfd_init=no 27625fi 27626rm conftest.$ac_ext 27627LIBS=$ac_func_search_save_LIBS 27628fi 27629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bfd_init" >&5 27630$as_echo "$ac_cv_search_bfd_init" >&6; } 27631ac_res=$ac_cv_search_bfd_init 27632if test "$ac_res" != no; then : 27633 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 27634 27635else 27636 echo no bfd;exit 1 27637fi 27638 27639 ;; 27640 no|*) 27641 ;; 27642esac 27643 27644 27645 27646# 27647# AC_HAS_ENABLE mutex_debug 27648# 27649# CHECKING 27650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if MUTEX_DEBUG_SUPPORT has been enabled" >&5 27651$as_echo_n "checking if MUTEX_DEBUG_SUPPORT has been enabled... " >&6; } 27652# ARG ENABLE 27653# Check whether --enable-mutex_debug was given. 27654if test "${enable_mutex_debug+set}" = set; then : 27655 enableval=$enable_mutex_debug; 27656fi 27657 27658# CASE 27659case "y$enable_mutex_debug" in 27660 yyes) 27661# DEFINE Y 27662 27663cat >>confdefs.h <<_ACEOF 27664#define HAS_MUTEX_DEBUG_SUPPORT 1 27665_ACEOF 27666 27667# CONDITIONAL Y 27668 enable_mutex_debug="yes" 27669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27670$as_echo "yes" >&6; } 27671# IF YES 27672 27673# ENDIF 27674 ;; 27675 yno|y|*) 27676# DEFINE N 27677 27678cat >>confdefs.h <<_ACEOF 27679#define HAS_MUTEX_DEBUG_SUPPORT 0 27680_ACEOF 27681 27682# CONDITIONAL N 27683 enable_mutex_debug="no" 27684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27685$as_echo "no" >&6; } 27686# IF NO 27687 27688# ENDIF 27689 ;; 27690esac 27691# CONDITIONAL 27692 if test y$enable_mutex_debug = yyes; then 27693 HAS_MUTEX_DEBUG_SUPPORT_TRUE= 27694 HAS_MUTEX_DEBUG_SUPPORT_FALSE='#' 27695else 27696 HAS_MUTEX_DEBUG_SUPPORT_TRUE='#' 27697 HAS_MUTEX_DEBUG_SUPPORT_FALSE= 27698fi 27699 27700# SUBST 27701 27702# AC_HAS_ENABLE mutex_debug DONE 27703 27704 27705 27706# 27707# AC_HAS_ENABLE lock_debug 27708# 27709# CHECKING 27710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LOCK_DEBUG_SUPPORT has been enabled" >&5 27711$as_echo_n "checking if LOCK_DEBUG_SUPPORT has been enabled... " >&6; } 27712# ARG ENABLE 27713# Check whether --enable-lock_debug was given. 27714if test "${enable_lock_debug+set}" = set; then : 27715 enableval=$enable_lock_debug; 27716fi 27717 27718# CASE 27719case "y$enable_lock_debug" in 27720 yyes) 27721# DEFINE Y 27722 27723cat >>confdefs.h <<_ACEOF 27724#define HAS_LOCK_DEBUG_SUPPORT 1 27725_ACEOF 27726 27727# CONDITIONAL Y 27728 enable_lock_debug="yes" 27729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27730$as_echo "yes" >&6; } 27731# IF YES 27732 27733# ENDIF 27734 ;; 27735 yno|y|*) 27736# DEFINE N 27737 27738cat >>confdefs.h <<_ACEOF 27739#define HAS_LOCK_DEBUG_SUPPORT 0 27740_ACEOF 27741 27742# CONDITIONAL N 27743 enable_lock_debug="no" 27744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27745$as_echo "no" >&6; } 27746# IF NO 27747 27748# ENDIF 27749 ;; 27750esac 27751# CONDITIONAL 27752 if test y$enable_lock_debug = yyes; then 27753 HAS_LOCK_DEBUG_SUPPORT_TRUE= 27754 HAS_LOCK_DEBUG_SUPPORT_FALSE='#' 27755else 27756 HAS_LOCK_DEBUG_SUPPORT_TRUE='#' 27757 HAS_LOCK_DEBUG_SUPPORT_FALSE= 27758fi 27759 27760# SUBST 27761 27762# AC_HAS_ENABLE lock_debug DONE 27763 27764 27765 27766 27767 27768# 27769# AC_HAS_ENABLE track_zones_debug 27770# 27771# CHECKING 27772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if TRACK_ZONES_DEBUG_SUPPORT has been enabled" >&5 27773$as_echo_n "checking if TRACK_ZONES_DEBUG_SUPPORT has been enabled... " >&6; } 27774# ARG ENABLE 27775# Check whether --enable-track_zones_debug was given. 27776if test "${enable_track_zones_debug+set}" = set; then : 27777 enableval=$enable_track_zones_debug; 27778fi 27779 27780# CASE 27781case "y$enable_track_zones_debug" in 27782 yyes) 27783# DEFINE Y 27784 27785cat >>confdefs.h <<_ACEOF 27786#define HAS_TRACK_ZONES_DEBUG_SUPPORT 1 27787_ACEOF 27788 27789# CONDITIONAL Y 27790 enable_track_zones_debug="yes" 27791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27792$as_echo "yes" >&6; } 27793# IF YES 27794 27795# ENDIF 27796 ;; 27797 yno|y|*) 27798# DEFINE N 27799 27800cat >>confdefs.h <<_ACEOF 27801#define HAS_TRACK_ZONES_DEBUG_SUPPORT 0 27802_ACEOF 27803 27804# CONDITIONAL N 27805 enable_track_zones_debug="no" 27806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27807$as_echo "no" >&6; } 27808# IF NO 27809 27810# ENDIF 27811 ;; 27812esac 27813# CONDITIONAL 27814 if test y$enable_track_zones_debug = yyes; then 27815 HAS_TRACK_ZONES_DEBUG_SUPPORT_TRUE= 27816 HAS_TRACK_ZONES_DEBUG_SUPPORT_FALSE='#' 27817else 27818 HAS_TRACK_ZONES_DEBUG_SUPPORT_TRUE='#' 27819 HAS_TRACK_ZONES_DEBUG_SUPPORT_FALSE= 27820fi 27821 27822# SUBST 27823 27824# AC_HAS_ENABLE track_zones_debug DONE 27825 27826 27827 27828 27829# 27830# AC_HAS_ENABLE log_thread_id 27831# 27832# CHECKING 27833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LOG_THREAD_ID has been enabled" >&5 27834$as_echo_n "checking if LOG_THREAD_ID has been enabled... " >&6; } 27835# ARG ENABLE 27836# Check whether --enable-log_thread_id was given. 27837if test "${enable_log_thread_id+set}" = set; then : 27838 enableval=$enable_log_thread_id; 27839fi 27840 27841# CASE 27842case "y$enable_log_thread_id" in 27843 yyes) 27844# DEFINE Y 27845 27846cat >>confdefs.h <<_ACEOF 27847#define HAS_LOG_THREAD_ID 1 27848_ACEOF 27849 27850# CONDITIONAL Y 27851 enable_log_thread_id="yes" 27852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27853$as_echo "yes" >&6; } 27854# IF YES 27855 27856# ENDIF 27857 ;; 27858 yno|y|*) 27859# DEFINE N 27860 27861cat >>confdefs.h <<_ACEOF 27862#define HAS_LOG_THREAD_ID 0 27863_ACEOF 27864 27865# CONDITIONAL N 27866 enable_log_thread_id="no" 27867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27868$as_echo "no" >&6; } 27869# IF NO 27870 27871# ENDIF 27872 ;; 27873esac 27874# CONDITIONAL 27875 if test y$enable_log_thread_id = yyes; then 27876 HAS_LOG_THREAD_ID_TRUE= 27877 HAS_LOG_THREAD_ID_FALSE='#' 27878else 27879 HAS_LOG_THREAD_ID_TRUE='#' 27880 HAS_LOG_THREAD_ID_FALSE= 27881fi 27882 27883# SUBST 27884 27885# AC_HAS_ENABLE log_thread_id DONE 27886 27887 27888 27889 27890# 27891# AC_HAS_DISABLE log_thread_tag 27892# 27893# CHECKING 27894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LOG_THREAD_TAG has been disabled" >&5 27895$as_echo_n "checking if LOG_THREAD_TAG has been disabled... " >&6; } 27896# ARG ENABLE 27897# Check whether --enable-log_thread_tag was given. 27898if test "${enable_log_thread_tag+set}" = set; then : 27899 enableval=$enable_log_thread_tag; 27900fi 27901 27902# MSG RESULT 27903# CASE 27904case "y$enable_log_thread_tag" in 27905 yyes|y) 27906# DEFINE Y 27907 27908cat >>confdefs.h <<_ACEOF 27909#define HAS_LOG_THREAD_TAG 1 27910_ACEOF 27911 27912# CONDITIONAL Y 27913 enable_log_thread_tag=yes 27914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27915$as_echo "no" >&6; } 27916# IF YES 27917 27918# ENDIF 27919 ;; 27920 yno|*) 27921# DEFINE N 27922 27923cat >>confdefs.h <<_ACEOF 27924#define HAS_LOG_THREAD_TAG 0 27925_ACEOF 27926 27927# CONDITIONAL N 27928 enable_log_thread_tag=no 27929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27930$as_echo "yes" >&6; } 27931# IF NO 27932 27933# ENDIF 27934 ;; 27935esac 27936# CONDITIONAL 27937 if test y$enable_log_thread_tag != yno; then 27938 HAS_LOG_THREAD_TAG_TRUE= 27939 HAS_LOG_THREAD_TAG_FALSE='#' 27940else 27941 HAS_LOG_THREAD_TAG_TRUE='#' 27942 HAS_LOG_THREAD_TAG_FALSE= 27943fi 27944 27945# SUBST 27946 27947# AC_HAS_DISABLE log_thread_tag DONE 27948 27949 27950 27951 27952# 27953# AC_HAS_DISABLE log_pid 27954# 27955# CHECKING 27956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LOG_PID has been disabled" >&5 27957$as_echo_n "checking if LOG_PID has been disabled... " >&6; } 27958# ARG ENABLE 27959# Check whether --enable-log_pid was given. 27960if test "${enable_log_pid+set}" = set; then : 27961 enableval=$enable_log_pid; 27962fi 27963 27964# MSG RESULT 27965# CASE 27966case "y$enable_log_pid" in 27967 yyes|y) 27968# DEFINE Y 27969 27970cat >>confdefs.h <<_ACEOF 27971#define HAS_LOG_PID 1 27972_ACEOF 27973 27974# CONDITIONAL Y 27975 enable_log_pid=yes 27976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27977$as_echo "no" >&6; } 27978# IF YES 27979 27980# ENDIF 27981 ;; 27982 yno|*) 27983# DEFINE N 27984 27985cat >>confdefs.h <<_ACEOF 27986#define HAS_LOG_PID 0 27987_ACEOF 27988 27989# CONDITIONAL N 27990 enable_log_pid=no 27991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27992$as_echo "yes" >&6; } 27993# IF NO 27994 27995# ENDIF 27996 ;; 27997esac 27998# CONDITIONAL 27999 if test y$enable_log_pid != yno; then 28000 HAS_LOG_PID_TRUE= 28001 HAS_LOG_PID_FALSE='#' 28002else 28003 HAS_LOG_PID_TRUE='#' 28004 HAS_LOG_PID_FALSE= 28005fi 28006 28007# SUBST 28008 28009# AC_HAS_DISABLE log_pid DONE 28010 28011 28012 28013 28014# 28015# AC_HAS_ENABLE full_ascii7 28016# 28017# CHECKING 28018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if FULL_ASCII7 has been enabled" >&5 28019$as_echo_n "checking if FULL_ASCII7 has been enabled... " >&6; } 28020# ARG ENABLE 28021# Check whether --enable-full_ascii7 was given. 28022if test "${enable_full_ascii7+set}" = set; then : 28023 enableval=$enable_full_ascii7; 28024fi 28025 28026# CASE 28027case "y$enable_full_ascii7" in 28028 yyes) 28029# DEFINE Y 28030 28031cat >>confdefs.h <<_ACEOF 28032#define HAS_FULL_ASCII7 1 28033_ACEOF 28034 28035# CONDITIONAL Y 28036 enable_full_ascii7="yes" 28037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28038$as_echo "yes" >&6; } 28039# IF YES 28040 28041# ENDIF 28042 ;; 28043 yno|y|*) 28044# DEFINE N 28045 28046cat >>confdefs.h <<_ACEOF 28047#define HAS_FULL_ASCII7 0 28048_ACEOF 28049 28050# CONDITIONAL N 28051 enable_full_ascii7="no" 28052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28053$as_echo "no" >&6; } 28054# IF NO 28055 28056# ENDIF 28057 ;; 28058esac 28059# CONDITIONAL 28060 if test y$enable_full_ascii7 = yyes; then 28061 HAS_FULL_ASCII7_TRUE= 28062 HAS_FULL_ASCII7_FALSE='#' 28063else 28064 HAS_FULL_ASCII7_TRUE='#' 28065 HAS_FULL_ASCII7_FALSE= 28066fi 28067 28068# SUBST 28069 28070# AC_HAS_ENABLE full_ascii7 DONE 28071 28072 28073 28074# 28075# AC_HAS_DISABLE ecdsa 28076# 28077# CHECKING 28078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ECDSA_SUPPORT has been disabled" >&5 28079$as_echo_n "checking if ECDSA_SUPPORT has been disabled... " >&6; } 28080# ARG ENABLE 28081# Check whether --enable-ecdsa was given. 28082if test "${enable_ecdsa+set}" = set; then : 28083 enableval=$enable_ecdsa; 28084fi 28085 28086# MSG RESULT 28087# CASE 28088case "y$enable_ecdsa" in 28089 yyes|y) 28090# DEFINE Y 28091 28092cat >>confdefs.h <<_ACEOF 28093#define HAS_ECDSA_SUPPORT 1 28094_ACEOF 28095 28096# CONDITIONAL Y 28097 enable_ecdsa=yes 28098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28099$as_echo "no" >&6; } 28100# IF YES 28101 28102# ENDIF 28103 ;; 28104 yno|*) 28105# DEFINE N 28106 28107cat >>confdefs.h <<_ACEOF 28108#define HAS_ECDSA_SUPPORT 0 28109_ACEOF 28110 28111# CONDITIONAL N 28112 enable_ecdsa=no 28113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28114$as_echo "yes" >&6; } 28115# IF NO 28116 28117# ENDIF 28118 ;; 28119esac 28120# CONDITIONAL 28121 if test y$enable_ecdsa != yno; then 28122 HAS_ECDSA_SUPPORT_TRUE= 28123 HAS_ECDSA_SUPPORT_FALSE='#' 28124else 28125 HAS_ECDSA_SUPPORT_TRUE='#' 28126 HAS_ECDSA_SUPPORT_FALSE= 28127fi 28128 28129# SUBST 28130 28131# AC_HAS_DISABLE ecdsa DONE 28132 28133 28134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if EDDSA has been disabled" >&5 28135$as_echo_n "checking if EDDSA has been disabled... " >&6; } 28136# Check whether --enable-EDDSA was given. 28137if test "${enable_EDDSA+set}" = set; then : 28138 enableval=$enable_EDDSA; Disable EDDSA 28139fi 28140 28141case "y$enable_eddsa" in 28142 yyes|y) 28143 if test "x$ac_cv_func_EVP_PKEY_new_raw_public_key" == xyes; then 28144 28145cat >>confdefs.h <<_ACEOF 28146#define HAS_EDDSA_SUPPORT 1 28147_ACEOF 28148 28149 enable_eddsa=yes 28150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28151$as_echo "no" >&6; } 28152 else 28153 28154cat >>confdefs.h <<_ACEOF 28155#define HAS_EDDSA_SUPPORT 0 28156_ACEOF 28157 28158 enable_eddsa=no 28159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28160$as_echo "yes" >&6; } 28161 fi 28162 ;; 28163 yno|*) 28164 28165cat >>confdefs.h <<_ACEOF 28166#define HAS_EDDSA_SUPPORT 0 28167_ACEOF 28168 28169 enable_eddsa=no 28170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28171$as_echo "yes" >&6; } 28172 ;; 28173esac 28174 if test y$enable_eddsa != yno; then 28175 HAS_EDDSA_TRUE= 28176 HAS_EDDSA_FALSE='#' 28177else 28178 HAS_EDDSA_TRUE='#' 28179 HAS_EDDSA_FALSE= 28180fi 28181 28182 28183 28184 28185 28186# 28187# AC_HAS_ENABLE systemd_resolved_avoidance 28188# 28189# CHECKING 28190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SYSTEMD_RESOLVED_AVOIDANCE has been enabled" >&5 28191$as_echo_n "checking if SYSTEMD_RESOLVED_AVOIDANCE has been enabled... " >&6; } 28192# ARG ENABLE 28193# Check whether --enable-systemd_resolved_avoidance was given. 28194if test "${enable_systemd_resolved_avoidance+set}" = set; then : 28195 enableval=$enable_systemd_resolved_avoidance; 28196fi 28197 28198# CASE 28199case "y$enable_systemd_resolved_avoidance" in 28200 yyes) 28201# DEFINE Y 28202 28203cat >>confdefs.h <<_ACEOF 28204#define HAS_SYSTEMD_RESOLVED_AVOIDANCE 1 28205_ACEOF 28206 28207# CONDITIONAL Y 28208 enable_systemd_resolved_avoidance="yes" 28209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28210$as_echo "yes" >&6; } 28211# IF YES 28212 28213# ENDIF 28214 ;; 28215 yno|y|*) 28216# DEFINE N 28217 28218cat >>confdefs.h <<_ACEOF 28219#define HAS_SYSTEMD_RESOLVED_AVOIDANCE 0 28220_ACEOF 28221 28222# CONDITIONAL N 28223 enable_systemd_resolved_avoidance="no" 28224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28225$as_echo "no" >&6; } 28226# IF NO 28227 28228# ENDIF 28229 ;; 28230esac 28231# CONDITIONAL 28232 if test y$enable_systemd_resolved_avoidance = yyes; then 28233 HAS_SYSTEMD_RESOLVED_AVOIDANCE_TRUE= 28234 HAS_SYSTEMD_RESOLVED_AVOIDANCE_FALSE='#' 28235else 28236 HAS_SYSTEMD_RESOLVED_AVOIDANCE_TRUE='#' 28237 HAS_SYSTEMD_RESOLVED_AVOIDANCE_FALSE= 28238fi 28239 28240# SUBST 28241 28242# AC_HAS_ENABLE systemd_resolved_avoidance DONE 28243 28244 28245 28246 28247# 28248# AC_HAS_ENABLE non_aa_axfr_support 28249# 28250# CHECKING 28251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if NON_AA_AXFR_SUPPORT has been enabled" >&5 28252$as_echo_n "checking if NON_AA_AXFR_SUPPORT has been enabled... " >&6; } 28253# ARG ENABLE 28254# Check whether --enable-non_aa_axfr_support was given. 28255if test "${enable_non_aa_axfr_support+set}" = set; then : 28256 enableval=$enable_non_aa_axfr_support; 28257fi 28258 28259# CASE 28260case "y$enable_non_aa_axfr_support" in 28261 yyes) 28262# DEFINE Y 28263 28264cat >>confdefs.h <<_ACEOF 28265#define HAS_NON_AA_AXFR_SUPPORT 1 28266_ACEOF 28267 28268# CONDITIONAL Y 28269 enable_non_aa_axfr_support="yes" 28270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28271$as_echo "yes" >&6; } 28272# IF YES 28273 28274# ENDIF 28275 ;; 28276 yno|y|*) 28277# DEFINE N 28278 28279cat >>confdefs.h <<_ACEOF 28280#define HAS_NON_AA_AXFR_SUPPORT 0 28281_ACEOF 28282 28283# CONDITIONAL N 28284 enable_non_aa_axfr_support="no" 28285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28286$as_echo "no" >&6; } 28287# IF NO 28288 28289# ENDIF 28290 ;; 28291esac 28292# CONDITIONAL 28293 if test y$enable_non_aa_axfr_support = yyes; then 28294 HAS_NON_AA_AXFR_SUPPORT_TRUE= 28295 HAS_NON_AA_AXFR_SUPPORT_FALSE='#' 28296else 28297 HAS_NON_AA_AXFR_SUPPORT_TRUE='#' 28298 HAS_NON_AA_AXFR_SUPPORT_FALSE= 28299fi 28300 28301# SUBST 28302 28303# AC_HAS_ENABLE non_aa_axfr_support DONE 28304 28305 28306 28307 28308 28309 28310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if has strdup" >&5 28311$as_echo_n "checking if has strdup... " >&6; } 28312 if false; then 28313 HAS_STRDUP_TRUE= 28314 HAS_STRDUP_FALSE='#' 28315else 28316 HAS_STRDUP_TRUE='#' 28317 HAS_STRDUP_FALSE= 28318fi 28319 28320 28321cat > strdup_test.c <<_ACEOF 28322#include<stdlib.h> 28323#include<string.h> 28324 28325int main(int argc, char** argv) 28326{ 28327 char* p = strdup("test"); 28328 return 0; 28329} 28330_ACEOF 28331${CC} ${CFLAGS} strdup_test.c -o strdup_test 28332if [ $? -eq 0 ]; then 28333 has_strdup=1; 28334 echo "yes" 28335else 28336 echo "no" 28337fi 28338rm -f strdup_test strdup_test.c 28339 if test $has_strdup = yes; then 28340 HAS_STRDUP_TRUE= 28341 HAS_STRDUP_FALSE='#' 28342else 28343 HAS_STRDUP_TRUE='#' 28344 HAS_STRDUP_FALSE= 28345fi 28346 28347 28348 28349 28350# 28351# AC_HAS_ENABLE event_dynamic_module 28352# 28353# CHECKING 28354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if EVENT_DYNAMIC_MODULE has been enabled" >&5 28355$as_echo_n "checking if EVENT_DYNAMIC_MODULE has been enabled... " >&6; } 28356# ARG ENABLE 28357# Check whether --enable-event_dynamic_module was given. 28358if test "${enable_event_dynamic_module+set}" = set; then : 28359 enableval=$enable_event_dynamic_module; 28360fi 28361 28362# CASE 28363case "y$enable_event_dynamic_module" in 28364 yyes) 28365# DEFINE Y 28366 28367cat >>confdefs.h <<_ACEOF 28368#define HAS_EVENT_DYNAMIC_MODULE 1 28369_ACEOF 28370 28371# CONDITIONAL Y 28372 enable_event_dynamic_module="yes" 28373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28374$as_echo "yes" >&6; } 28375# IF YES 28376 28377# ENDIF 28378 ;; 28379 yno|y|*) 28380# DEFINE N 28381 28382cat >>confdefs.h <<_ACEOF 28383#define HAS_EVENT_DYNAMIC_MODULE 0 28384_ACEOF 28385 28386# CONDITIONAL N 28387 enable_event_dynamic_module="no" 28388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28389$as_echo "no" >&6; } 28390# IF NO 28391 28392# ENDIF 28393 ;; 28394esac 28395# CONDITIONAL 28396 if test y$enable_event_dynamic_module = yyes; then 28397 HAS_EVENT_DYNAMIC_MODULE_TRUE= 28398 HAS_EVENT_DYNAMIC_MODULE_FALSE='#' 28399else 28400 HAS_EVENT_DYNAMIC_MODULE_TRUE='#' 28401 HAS_EVENT_DYNAMIC_MODULE_FALSE= 28402fi 28403 28404# SUBST 28405 28406# AC_HAS_ENABLE event_dynamic_module DONE 28407 28408 28409 28410 28411# 28412# AC_HAS_WITH logdir 28413# 28414# CHECKING 28415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if logdir has been given" >&5 28416$as_echo_n "checking if logdir has been given... " >&6; } 28417# ARG WITH 28418 28419# Check whether --with-logdir was given. 28420if test "${with_logdir+set}" = set; then : 28421 withval=$with_logdir; 28422# DEFINE Y 28423 28424cat >>confdefs.h <<_ACEOF 28425#define HAS_LOGDIR 1 28426_ACEOF 28427 28428# CONDITIONAL Y 28429 28430cat >>confdefs.h <<_ACEOF 28431#define HAS_WITH_LOGDIR "$with_logdir" // $withval 28432_ACEOF 28433 28434 with_logdir="yes" 28435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28436$as_echo "yes" >&6; } 28437# IF YES 28438 logdir="$withval" 28439with_logdir="$logdir" 28440 28441# ENDIF 28442 28443 28444else 28445 28446# DEFINE N 28447 28448cat >>confdefs.h <<_ACEOF 28449#define HAS_LOGDIR 0 28450_ACEOF 28451 28452# CONDITIONAL N 28453 with_logdir="no" 28454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28455$as_echo "no" >&6; } 28456# IF NO 28457 logdir=${localstatedir}/log/yadifa 28458with_logdir="$logdir" 28459 28460# ENDIF 28461 28462fi 28463 28464# CONDITIONAL 28465 if test "y$with_logdir" == "yyes"; then 28466 HAS_LOGDIR_TRUE= 28467 HAS_LOGDIR_FALSE='#' 28468else 28469 HAS_LOGDIR_TRUE='#' 28470 HAS_LOGDIR_FALSE= 28471fi 28472 28473# SUBST 28474 28475# AC_HAS_WITH logdir DONE 28476 28477 28478 28479 28480echo "LOGDIR=$logdir" 28481 28482 28483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr has a sa_len field" >&5 28484$as_echo_n "checking if sockaddr has a sa_len field... " >&6; } 28485cat > sockaddr_sa_len.c <<_ACEOF 28486#include "confdefs.h" 28487#if HAVE_STDLIB_H 28488#include<stdlib.h> 28489#endif 28490#if HAVE_SYS_TYPES_H 28491#include<sys/types.h> 28492#endif 28493#if HAVE_SYS_SOCKET_H 28494#include<sys/socket.h> 28495#endif 28496#if HAVE_NETINET_IN_H 28497#include<netinet/in.h> 28498#endif 28499#if HAVE_NETINET6_IN6_H 28500#include<netinet6/in6.h> 28501#endif 28502int main(int argc, char** argv) 28503{ 28504 struct sockaddr sa; 28505 sa.sa_len = 4; 28506} 28507_ACEOF 28508has_sockaddr_sa_len=0 28509${CC} ${CFLAGS} sockaddr_sa_len.c > /dev/null 2>&1 28510if [ $? -eq 0 ]; then 28511 has_sockaddr_sa_len=1; 28512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28513$as_echo "yes" >&6; } 28514else 28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28516$as_echo "no" >&6; } 28517fi 28518rm -f sockaddr_sa_len.c sockaddr_sa_len 28519 if test $has_sockaddr_sa_len = yes; then 28520 HAS_SOCKADDR_SA_LEN_TRUE= 28521 HAS_SOCKADDR_SA_LEN_FALSE='#' 28522else 28523 HAS_SOCKADDR_SA_LEN_TRUE='#' 28524 HAS_SOCKADDR_SA_LEN_FALSE= 28525fi 28526 28527 28528cat >>confdefs.h <<_ACEOF 28529#define HAS_SOCKADDR_SA_LEN $has_sockaddr_sa_len 28530_ACEOF 28531 28532 28533 28534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has a sin_len field" >&5 28535$as_echo_n "checking if sockaddr_in has a sin_len field... " >&6; } 28536cat > sockaddr_in_sin_len.c <<_ACEOF 28537#include "confdefs.h" 28538#if HAVE_STDLIB_H 28539#include<stdlib.h> 28540#endif 28541#if HAVE_SYS_TYPES_H 28542#include<sys/types.h> 28543#endif 28544#if HAVE_SYS_SOCKET_H 28545#include<sys/socket.h> 28546#endif 28547#if HAVE_NETINET_IN_H 28548#include<netinet/in.h> 28549#endif 28550#if HAVE_NETINET6_IN6_H 28551#include<netinet6/in6.h> 28552#endif 28553int main(int argc, char** argv) 28554{ 28555 struct sockaddr_in sa; 28556 sa.sin_len = sizeof(struct sockaddr_in); 28557} 28558_ACEOF 28559has_sockaddr_in_sin_len=0 28560${CC} ${CFLAGS} sockaddr_in_sin_len.c > /dev/null 2>&1 28561if [ $? -eq 0 ]; then 28562 has_sockaddr_in_sin_len=1; 28563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28564$as_echo "yes" >&6; } 28565else 28566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28567$as_echo "no" >&6; } 28568fi 28569rm -f sockaddr_in_sin_len.c sockaddr_in_sin_len 28570 if test $has_sockaddr_in_sin_len = yes; then 28571 HAS_SOCKADDR_IN_SIN_LEN_TRUE= 28572 HAS_SOCKADDR_IN_SIN_LEN_FALSE='#' 28573else 28574 HAS_SOCKADDR_IN_SIN_LEN_TRUE='#' 28575 HAS_SOCKADDR_IN_SIN_LEN_FALSE= 28576fi 28577 28578 28579cat >>confdefs.h <<_ACEOF 28580#define HAS_SOCKADDR_IN_SIN_LEN $has_sockaddr_in_sin_len 28581_ACEOF 28582 28583 28584 28585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in6 has a sin6_len field" >&5 28586$as_echo_n "checking if sockaddr_in6 has a sin6_len field... " >&6; } 28587cat > sockaddr_in6_sin6_len.c <<_ACEOF 28588#include "confdefs.h" 28589#if HAVE_STDLIB_H 28590#include<stdlib.h> 28591#endif 28592#if HAVE_SYS_TYPES_H 28593#include<sys/types.h> 28594#endif 28595#if HAVE_SYS_SOCKET_H 28596#include<sys/socket.h> 28597#endif 28598#if HAVE_NETINET_IN_H 28599#include<netinet/in.h> 28600#endif 28601#if HAVE_NETINET6_IN6_H 28602#include<netinet6/in6.h> 28603#endif 28604int main(int argc, char** argv) 28605{ 28606 struct sockaddr_in6 sa; 28607 sa.sin6_len = sizeof(struct sockaddr_in6); 28608} 28609_ACEOF 28610has_sockaddr_in6_sin6_len=0 28611${CC} ${CFLAGS} sockaddr_in6_sin6_len.c > /dev/null 2>&1 28612if [ $? -eq 0 ]; then 28613 has_sockaddr_in6_sin6_len=1; 28614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28615$as_echo "yes" >&6; } 28616else 28617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28618$as_echo "no" >&6; } 28619fi 28620rm -f sockaddr_in6_sin6_len.c sockaddr_in6_sin6_len 28621 if test $has_sockaddr_in6_sin6_len = yes; then 28622 HAS_SOCKADDR_IN6_SIN6_LEN_TRUE= 28623 HAS_SOCKADDR_IN6_SIN6_LEN_FALSE='#' 28624else 28625 HAS_SOCKADDR_IN6_SIN6_LEN_TRUE='#' 28626 HAS_SOCKADDR_IN6_SIN6_LEN_FALSE= 28627fi 28628 28629 28630cat >>confdefs.h <<_ACEOF 28631#define HAS_SOCKADDR_IN6_SIN6_LEN $has_sockaddr_in6_sin6_len 28632_ACEOF 28633 28634 28635 28636 28637 28638 28639 28640cat <<EOF 28641 CC : $CC 28642 CPP : $CPP 28643 LD : $LD 28644 AR : $AR 28645 28646 CFLAGS : $CFLAGS 28647 CPPFLAGS : $CPPFLAGS 28648 LDFLAGS : $LDFLAGS 28649 28650 MEMALIGN ISSUES : $has_memalign_issues 28651 32/64 : $CFLAGS3264 28652 LTO : $enable_lto 28653 LOG : $logdir 28654EOF 28655 28656 28657ac_config_files="$ac_config_files Makefile etc/Makefile doc/Makefile var/Makefile lib/dnscore/Makefile lib/dnsdb/Makefile lib/dnslg/Makefile sbin/yadifad/Makefile" 28658 28659 28660 28661# 28662# AC_HAS_WITHOUT tests 28663# 28664# CHECKING 28665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if tests has to be build" >&5 28666$as_echo_n "checking if tests has to be build... " >&6; } 28667# ARG WITH 28668 28669# Check whether --with-tests was given. 28670if test "${with_tests+set}" = set; then : 28671 withval=$with_tests; 28672fi 28673 28674 28675# MSG RESULT 28676case "y$with_tests" in 28677 yyes|y) 28678# DEFINE Y 28679 28680cat >>confdefs.h <<_ACEOF 28681#define HAS_TESTS 1 28682_ACEOF 28683 28684# CONDITIONAL Y 28685 with_tests=yes 28686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28687$as_echo "yes" >&6; } 28688# IF YES 28689 28690ac_config_files="$ac_config_files test/circular-file-test/Makefile test/cjf-scan/Makefile test/cmdline-test/Makefile test/collection-test/Makefile test/daemonised-logger-test/Makefile test/dnskey-test/Makefile test/dnsname-test/Makefile test/dnssec-test/Makefile test/dnsserver-test/Makefile test/dsfromkey-test/Makefile test/filepool-test/Makefile test/file-test/Makefile test/freebsd12-test/Makefile test/ipc-test/Makefile test/journal-fusion/Makefile test/journal-from-ixfr/Makefile test/journal-speed-test/Makefile test/keygen-test/Makefile test/limiter-test/Makefile test/logger-test/Makefile test/message-test/Makefile test/mutex-test/Makefile test/notify-test/Makefile test/network-interfaces-forall-test/Makefile test/nsec3-answer/Makefile test/nsec3-hash/Makefile test/openssl111a-ecdsa-test/Makefile test/openssl111a-eddsa-test/Makefile test/parser-test/Makefile test/protocol-test/Makefile test/query-hammer-test/Makefile test/rrsig-test/Makefile test/shared-circular-buffer-test/Makefile test/shared-heap-test/Makefile test/simple-http-server-test/Makefile test/skeleton/Makefile test/stream-test/Makefile test/threaded-queue/Makefile test/update-test/Makefile test/xfr/Makefile test/zone-save-test/Makefile" 28691 28692 28693# ENDIF 28694 ;; 28695 28696 yno|*) 28697# DEFINE N 28698 28699cat >>confdefs.h <<_ACEOF 28700#define HAS_TESTS 0 28701_ACEOF 28702 28703# CONDITIONAL N 28704 with_tests=no 28705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28706$as_echo "no" >&6; } 28707# IF NO 28708 28709# ENDIF 28710 ;; 28711esac 28712 28713 if test "y$with_tests" != "yno"; then 28714 HAS_TESTS_TRUE= 28715 HAS_TESTS_FALSE='#' 28716else 28717 HAS_TESTS_TRUE='#' 28718 HAS_TESTS_FALSE= 28719fi 28720 28721# Used to check the test was correct (it is) 28722#AM_CONDITIONAL([TEST_HAS_TESTS], [echo test "y$with_[tests]" != "yno" > /tmp/test_has_TESTS.txt]) 28723# SUBST 28724 28725# AC_HAS_WITHOUT tests DONE 28726 28727 28728ac_config_files="$ac_config_files bin/yadifa/Makefile" 28729 28730 28731ac_config_files="$ac_config_files sbin/yakeyrolld/Makefile" 28732 28733 28734 28735# 28736# AC_HAS_WITHOUT tools 28737# 28738# CHECKING 28739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if tools has to be build" >&5 28740$as_echo_n "checking if tools has to be build... " >&6; } 28741# ARG WITH 28742 28743# Check whether --with-tools was given. 28744if test "${with_tools+set}" = set; then : 28745 withval=$with_tools; 28746fi 28747 28748 28749# MSG RESULT 28750case "y$with_tools" in 28751 yyes|y) 28752# DEFINE Y 28753 28754cat >>confdefs.h <<_ACEOF 28755#define HAS_TOOLS 1 28756_ACEOF 28757 28758# CONDITIONAL Y 28759 with_tools=yes 28760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28761$as_echo "yes" >&6; } 28762# IF YES 28763 28764# ENDIF 28765 ;; 28766 28767 yno|*) 28768# DEFINE N 28769 28770cat >>confdefs.h <<_ACEOF 28771#define HAS_TOOLS 0 28772_ACEOF 28773 28774# CONDITIONAL N 28775 with_tools=no 28776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28777$as_echo "no" >&6; } 28778# IF NO 28779 28780# ENDIF 28781 ;; 28782esac 28783 28784 if test "y$with_tools" != "yno"; then 28785 HAS_TOOLS_TRUE= 28786 HAS_TOOLS_FALSE='#' 28787else 28788 HAS_TOOLS_TRUE='#' 28789 HAS_TOOLS_FALSE= 28790fi 28791 28792# Used to check the test was correct (it is) 28793#AM_CONDITIONAL([TEST_HAS_TOOLS], [echo test "y$with_[tools]" != "yno" > /tmp/test_has_TOOLS.txt]) 28794# SUBST 28795 28796# AC_HAS_WITHOUT tools DONE 28797 28798 28799cat >confcache <<\_ACEOF 28800# This file is a shell script that caches the results of configure 28801# tests run on this system so they can be shared between configure 28802# scripts and configure runs, see configure's option --config-cache. 28803# It is not useful on other systems. If it contains results you don't 28804# want to keep, you may remove or edit it. 28805# 28806# config.status only pays attention to the cache file if you give it 28807# the --recheck option to rerun configure. 28808# 28809# `ac_cv_env_foo' variables (set or unset) will be overridden when 28810# loading this file, other *unset* `ac_cv_foo' will be assigned the 28811# following values. 28812 28813_ACEOF 28814 28815# The following way of writing the cache mishandles newlines in values, 28816# but we know of no workaround that is simple, portable, and efficient. 28817# So, we kill variables containing newlines. 28818# Ultrix sh set writes to stderr and can't be redirected directly, 28819# and sets the high bit in the cache file unless we assign to the vars. 28820( 28821 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 28822 eval ac_val=\$$ac_var 28823 case $ac_val in #( 28824 *${as_nl}*) 28825 case $ac_var in #( 28826 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 28827$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 28828 esac 28829 case $ac_var in #( 28830 _ | IFS | as_nl) ;; #( 28831 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 28832 *) { eval $ac_var=; unset $ac_var;} ;; 28833 esac ;; 28834 esac 28835 done 28836 28837 (set) 2>&1 | 28838 case $as_nl`(ac_space=' '; set) 2>&1` in #( 28839 *${as_nl}ac_space=\ *) 28840 # `set' does not quote correctly, so add quotes: double-quote 28841 # substitution turns \\\\ into \\, and sed turns \\ into \. 28842 sed -n \ 28843 "s/'/'\\\\''/g; 28844 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 28845 ;; #( 28846 *) 28847 # `set' quotes correctly as required by POSIX, so do not add quotes. 28848 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 28849 ;; 28850 esac | 28851 sort 28852) | 28853 sed ' 28854 /^ac_cv_env_/b end 28855 t clear 28856 :clear 28857 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 28858 t end 28859 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 28860 :end' >>confcache 28861if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 28862 if test -w "$cache_file"; then 28863 if test "x$cache_file" != "x/dev/null"; then 28864 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 28865$as_echo "$as_me: updating cache $cache_file" >&6;} 28866 if test ! -f "$cache_file" || test -h "$cache_file"; then 28867 cat confcache >"$cache_file" 28868 else 28869 case $cache_file in #( 28870 */* | ?:*) 28871 mv -f confcache "$cache_file"$$ && 28872 mv -f "$cache_file"$$ "$cache_file" ;; #( 28873 *) 28874 mv -f confcache "$cache_file" ;; 28875 esac 28876 fi 28877 fi 28878 else 28879 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 28880$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 28881 fi 28882fi 28883rm -f confcache 28884 28885test "x$prefix" = xNONE && prefix=$ac_default_prefix 28886# Let make expand exec_prefix. 28887test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 28888 28889DEFS=-DHAVE_CONFIG_H -D__FreeBSD__=9 28890 28891ac_libobjs= 28892ac_ltlibobjs= 28893U= 28894for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 28895 # 1. Remove the extension, and $U if already installed. 28896 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 28897 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 28898 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 28899 # will be set to the directory where LIBOBJS objects are built. 28900 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 28901 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 28902done 28903LIBOBJS=$ac_libobjs 28904 28905LTLIBOBJS=$ac_ltlibobjs 28906 28907 28908if test -z "${HAS_BUILD_TIMESTAMP_TRUE}" && test -z "${HAS_BUILD_TIMESTAMP_FALSE}"; then 28909 as_fn_error $? "conditional \"HAS_BUILD_TIMESTAMP\" was never defined. 28910Usually this means the macro was only invoked conditionally." "$LINENO" 5 28911fi 28912if test -z "${HAS_CLOSE_EX_REF_TRUE}" && test -z "${HAS_CLOSE_EX_REF_FALSE}"; then 28913 as_fn_error $? "conditional \"HAS_CLOSE_EX_REF\" was never defined. 28914Usually this means the macro was only invoked conditionally." "$LINENO" 5 28915fi 28916if test -z "${HAS_YADIFA_TRUE}" && test -z "${HAS_YADIFA_FALSE}"; then 28917 as_fn_error $? "conditional \"HAS_YADIFA\" was never defined. 28918Usually this means the macro was only invoked conditionally." "$LINENO" 5 28919fi 28920if test -z "${HAS_DNSSEC_TOOLS_TRUE}" && test -z "${HAS_DNSSEC_TOOLS_FALSE}"; then 28921 as_fn_error $? "conditional \"HAS_DNSSEC_TOOLS\" was never defined. 28922Usually this means the macro was only invoked conditionally." "$LINENO" 5 28923fi 28924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 28925$as_echo_n "checking that generated files are newer than configure... " >&6; } 28926 if test -n "$am_sleep_pid"; then 28927 # Hide warnings about reused PIDs. 28928 wait $am_sleep_pid 2>/dev/null 28929 fi 28930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 28931$as_echo "done" >&6; } 28932 if test -n "$EXEEXT"; then 28933 am__EXEEXT_TRUE= 28934 am__EXEEXT_FALSE='#' 28935else 28936 am__EXEEXT_TRUE='#' 28937 am__EXEEXT_FALSE= 28938fi 28939 28940if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 28941 as_fn_error $? "conditional \"AMDEP\" was never defined. 28942Usually this means the macro was only invoked conditionally." "$LINENO" 5 28943fi 28944if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 28945 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 28946Usually this means the macro was only invoked conditionally." "$LINENO" 5 28947fi 28948 28949if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 28950 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 28951Usually this means the macro was only invoked conditionally." "$LINENO" 5 28952fi 28953if test -z "${IS_DARWIN_OS_TRUE}" && test -z "${IS_DARWIN_OS_FALSE}"; then 28954 as_fn_error $? "conditional \"IS_DARWIN_OS\" was never defined. 28955Usually this means the macro was only invoked conditionally." "$LINENO" 5 28956fi 28957if test -z "${IS_DARWIN_GE14_TRUE}" && test -z "${IS_DARWIN_GE14_FALSE}"; then 28958 as_fn_error $? "conditional \"IS_DARWIN_GE14\" was never defined. 28959Usually this means the macro was only invoked conditionally." "$LINENO" 5 28960fi 28961if test -z "${IS_BSD_FAMILY_TRUE}" && test -z "${IS_BSD_FAMILY_FALSE}"; then 28962 as_fn_error $? "conditional \"IS_BSD_FAMILY\" was never defined. 28963Usually this means the macro was only invoked conditionally." "$LINENO" 5 28964fi 28965if test -z "${IS_LINUX_FAMILY_TRUE}" && test -z "${IS_LINUX_FAMILY_FALSE}"; then 28966 as_fn_error $? "conditional \"IS_LINUX_FAMILY\" was never defined. 28967Usually this means the macro was only invoked conditionally." "$LINENO" 5 28968fi 28969if test -z "${IS_SOLARIS_FAMILY_TRUE}" && test -z "${IS_SOLARIS_FAMILY_FALSE}"; then 28970 as_fn_error $? "conditional \"IS_SOLARIS_FAMILY\" was never defined. 28971Usually this means the macro was only invoked conditionally." "$LINENO" 5 28972fi 28973if test -z "${HAS_CPU_AMDINTEL_TRUE}" && test -z "${HAS_CPU_AMDINTEL_FALSE}"; then 28974 as_fn_error $? "conditional \"HAS_CPU_AMDINTEL\" was never defined. 28975Usually this means the macro was only invoked conditionally." "$LINENO" 5 28976fi 28977if test -z "${HAS_CPU_NIAGARA_TRUE}" && test -z "${HAS_CPU_NIAGARA_FALSE}"; then 28978 as_fn_error $? "conditional \"HAS_CPU_NIAGARA\" was never defined. 28979Usually this means the macro was only invoked conditionally." "$LINENO" 5 28980fi 28981if test -z "${HAS_CPU_AMDINTEL_TRUE}" && test -z "${HAS_CPU_AMDINTEL_FALSE}"; then 28982 as_fn_error $? "conditional \"HAS_CPU_AMDINTEL\" was never defined. 28983Usually this means the macro was only invoked conditionally." "$LINENO" 5 28984fi 28985if test -z "${FORCE32BITS_TRUE}" && test -z "${FORCE32BITS_FALSE}"; then 28986 as_fn_error $? "conditional \"FORCE32BITS\" was never defined. 28987Usually this means the macro was only invoked conditionally." "$LINENO" 5 28988fi 28989if test -z "${FORCE64BITS_TRUE}" && test -z "${FORCE64BITS_FALSE}"; then 28990 as_fn_error $? "conditional \"FORCE64BITS\" was never defined. 28991Usually this means the macro was only invoked conditionally." "$LINENO" 5 28992fi 28993if test -z "${USES_ICC_TRUE}" && test -z "${USES_ICC_FALSE}"; then 28994 as_fn_error $? "conditional \"USES_ICC\" was never defined. 28995Usually this means the macro was only invoked conditionally." "$LINENO" 5 28996fi 28997if test -z "${USES_GCC_TRUE}" && test -z "${USES_GCC_FALSE}"; then 28998 as_fn_error $? "conditional \"USES_GCC\" was never defined. 28999Usually this means the macro was only invoked conditionally." "$LINENO" 5 29000fi 29001if test -z "${USES_CLANG_TRUE}" && test -z "${USES_CLANG_FALSE}"; then 29002 as_fn_error $? "conditional \"USES_CLANG\" was never defined. 29003Usually this means the macro was only invoked conditionally." "$LINENO" 5 29004fi 29005if test -z "${USES_SUNC_TRUE}" && test -z "${USES_SUNC_FALSE}"; then 29006 as_fn_error $? "conditional \"USES_SUNC\" was never defined. 29007Usually this means the macro was only invoked conditionally." "$LINENO" 5 29008fi 29009if test -z "${USES_UNKNOWN_TRUE}" && test -z "${USES_UNKNOWN_FALSE}"; then 29010 as_fn_error $? "conditional \"USES_UNKNOWN\" was never defined. 29011Usually this means the macro was only invoked conditionally." "$LINENO" 5 29012fi 29013if test -z "${HAS_CC_TUNE_NATIVE_TRUE}" && test -z "${HAS_CC_TUNE_NATIVE_FALSE}"; then 29014 as_fn_error $? "conditional \"HAS_CC_TUNE_NATIVE\" was never defined. 29015Usually this means the macro was only invoked conditionally." "$LINENO" 5 29016fi 29017if test -z "${HAS_CC_TUNE_NATIVE_TRUE}" && test -z "${HAS_CC_TUNE_NATIVE_FALSE}"; then 29018 as_fn_error $? "conditional \"HAS_CC_TUNE_NATIVE\" was never defined. 29019Usually this means the macro was only invoked conditionally." "$LINENO" 5 29020fi 29021if test -z "${HAS_CC_TUNE_NATIVE_TRUE}" && test -z "${HAS_CC_TUNE_NATIVE_FALSE}"; then 29022 as_fn_error $? "conditional \"HAS_CC_TUNE_NATIVE\" was never defined. 29023Usually this means the macro was only invoked conditionally." "$LINENO" 5 29024fi 29025if test -z "${HAS_CC_NO_IDENT_TRUE}" && test -z "${HAS_CC_NO_IDENT_FALSE}"; then 29026 as_fn_error $? "conditional \"HAS_CC_NO_IDENT\" was never defined. 29027Usually this means the macro was only invoked conditionally." "$LINENO" 5 29028fi 29029if test -z "${HAS_CC_NO_IDENT_TRUE}" && test -z "${HAS_CC_NO_IDENT_FALSE}"; then 29030 as_fn_error $? "conditional \"HAS_CC_NO_IDENT\" was never defined. 29031Usually this means the macro was only invoked conditionally." "$LINENO" 5 29032fi 29033if test -z "${HAS_CC_NO_IDENT_TRUE}" && test -z "${HAS_CC_NO_IDENT_FALSE}"; then 29034 as_fn_error $? "conditional \"HAS_CC_NO_IDENT\" was never defined. 29035Usually this means the macro was only invoked conditionally." "$LINENO" 5 29036fi 29037if test -z "${HAS_CC_ANSI_TRUE}" && test -z "${HAS_CC_ANSI_FALSE}"; then 29038 as_fn_error $? "conditional \"HAS_CC_ANSI\" was never defined. 29039Usually this means the macro was only invoked conditionally." "$LINENO" 5 29040fi 29041if test -z "${HAS_CC_ANSI_TRUE}" && test -z "${HAS_CC_ANSI_FALSE}"; then 29042 as_fn_error $? "conditional \"HAS_CC_ANSI\" was never defined. 29043Usually this means the macro was only invoked conditionally." "$LINENO" 5 29044fi 29045if test -z "${HAS_CC_ANSI_TRUE}" && test -z "${HAS_CC_ANSI_FALSE}"; then 29046 as_fn_error $? "conditional \"HAS_CC_ANSI\" was never defined. 29047Usually this means the macro was only invoked conditionally." "$LINENO" 5 29048fi 29049if test -z "${HAS_CC_ANSI_ALIAS_TRUE}" && test -z "${HAS_CC_ANSI_ALIAS_FALSE}"; then 29050 as_fn_error $? "conditional \"HAS_CC_ANSI_ALIAS\" was never defined. 29051Usually this means the macro was only invoked conditionally." "$LINENO" 5 29052fi 29053if test -z "${HAS_CC_ANSI_ALIAS_TRUE}" && test -z "${HAS_CC_ANSI_ALIAS_FALSE}"; then 29054 as_fn_error $? "conditional \"HAS_CC_ANSI_ALIAS\" was never defined. 29055Usually this means the macro was only invoked conditionally." "$LINENO" 5 29056fi 29057if test -z "${HAS_CC_ANSI_ALIAS_TRUE}" && test -z "${HAS_CC_ANSI_ALIAS_FALSE}"; then 29058 as_fn_error $? "conditional \"HAS_CC_ANSI_ALIAS\" was never defined. 29059Usually this means the macro was only invoked conditionally." "$LINENO" 5 29060fi 29061if test -z "${HAS_CC_PEDANTIC_TRUE}" && test -z "${HAS_CC_PEDANTIC_FALSE}"; then 29062 as_fn_error $? "conditional \"HAS_CC_PEDANTIC\" was never defined. 29063Usually this means the macro was only invoked conditionally." "$LINENO" 5 29064fi 29065if test -z "${HAS_CC_PEDANTIC_TRUE}" && test -z "${HAS_CC_PEDANTIC_FALSE}"; then 29066 as_fn_error $? "conditional \"HAS_CC_PEDANTIC\" was never defined. 29067Usually this means the macro was only invoked conditionally." "$LINENO" 5 29068fi 29069if test -z "${HAS_CC_PEDANTIC_TRUE}" && test -z "${HAS_CC_PEDANTIC_FALSE}"; then 29070 as_fn_error $? "conditional \"HAS_CC_PEDANTIC\" was never defined. 29071Usually this means the macro was only invoked conditionally." "$LINENO" 5 29072fi 29073if test -z "${HAS_CC_STD_GNU11_TRUE}" && test -z "${HAS_CC_STD_GNU11_FALSE}"; then 29074 as_fn_error $? "conditional \"HAS_CC_STD_GNU11\" was never defined. 29075Usually this means the macro was only invoked conditionally." "$LINENO" 5 29076fi 29077if test -z "${HAS_CC_STD_GNU11_TRUE}" && test -z "${HAS_CC_STD_GNU11_FALSE}"; then 29078 as_fn_error $? "conditional \"HAS_CC_STD_GNU11\" was never defined. 29079Usually this means the macro was only invoked conditionally." "$LINENO" 5 29080fi 29081if test -z "${HAS_CC_STD_GNU11_TRUE}" && test -z "${HAS_CC_STD_GNU11_FALSE}"; then 29082 as_fn_error $? "conditional \"HAS_CC_STD_GNU11\" was never defined. 29083Usually this means the macro was only invoked conditionally." "$LINENO" 5 29084fi 29085if test -z "${HAS_CC_STD_C11_TRUE}" && test -z "${HAS_CC_STD_C11_FALSE}"; then 29086 as_fn_error $? "conditional \"HAS_CC_STD_C11\" was never defined. 29087Usually this means the macro was only invoked conditionally." "$LINENO" 5 29088fi 29089if test -z "${HAS_CC_STD_C11_TRUE}" && test -z "${HAS_CC_STD_C11_FALSE}"; then 29090 as_fn_error $? "conditional \"HAS_CC_STD_C11\" was never defined. 29091Usually this means the macro was only invoked conditionally." "$LINENO" 5 29092fi 29093if test -z "${HAS_CC_STD_C11_TRUE}" && test -z "${HAS_CC_STD_C11_FALSE}"; then 29094 as_fn_error $? "conditional \"HAS_CC_STD_C11\" was never defined. 29095Usually this means the macro was only invoked conditionally." "$LINENO" 5 29096fi 29097if test -z "${HAS_CC_STD_GNU99_TRUE}" && test -z "${HAS_CC_STD_GNU99_FALSE}"; then 29098 as_fn_error $? "conditional \"HAS_CC_STD_GNU99\" was never defined. 29099Usually this means the macro was only invoked conditionally." "$LINENO" 5 29100fi 29101if test -z "${HAS_CC_STD_GNU99_TRUE}" && test -z "${HAS_CC_STD_GNU99_FALSE}"; then 29102 as_fn_error $? "conditional \"HAS_CC_STD_GNU99\" was never defined. 29103Usually this means the macro was only invoked conditionally." "$LINENO" 5 29104fi 29105if test -z "${HAS_CC_STD_GNU99_TRUE}" && test -z "${HAS_CC_STD_GNU99_FALSE}"; then 29106 as_fn_error $? "conditional \"HAS_CC_STD_GNU99\" was never defined. 29107Usually this means the macro was only invoked conditionally." "$LINENO" 5 29108fi 29109if test -z "${HAS_CC_STD_C99_TRUE}" && test -z "${HAS_CC_STD_C99_FALSE}"; then 29110 as_fn_error $? "conditional \"HAS_CC_STD_C99\" was never defined. 29111Usually this means the macro was only invoked conditionally." "$LINENO" 5 29112fi 29113if test -z "${HAS_CC_STD_C99_TRUE}" && test -z "${HAS_CC_STD_C99_FALSE}"; then 29114 as_fn_error $? "conditional \"HAS_CC_STD_C99\" was never defined. 29115Usually this means the macro was only invoked conditionally." "$LINENO" 5 29116fi 29117if test -z "${HAS_CC_STD_C99_TRUE}" && test -z "${HAS_CC_STD_C99_FALSE}"; then 29118 as_fn_error $? "conditional \"HAS_CC_STD_C99\" was never defined. 29119Usually this means the macro was only invoked conditionally." "$LINENO" 5 29120fi 29121if test -z "${HAS_CC_XC99_TRUE}" && test -z "${HAS_CC_XC99_FALSE}"; then 29122 as_fn_error $? "conditional \"HAS_CC_XC99\" was never defined. 29123Usually this means the macro was only invoked conditionally." "$LINENO" 5 29124fi 29125if test -z "${HAS_CC_XC99_TRUE}" && test -z "${HAS_CC_XC99_FALSE}"; then 29126 as_fn_error $? "conditional \"HAS_CC_XC99\" was never defined. 29127Usually this means the macro was only invoked conditionally." "$LINENO" 5 29128fi 29129if test -z "${HAS_CC_XC99_TRUE}" && test -z "${HAS_CC_XC99_FALSE}"; then 29130 as_fn_error $? "conditional \"HAS_CC_XC99\" was never defined. 29131Usually this means the macro was only invoked conditionally." "$LINENO" 5 29132fi 29133if test -z "${HAS_CC_M32_TRUE}" && test -z "${HAS_CC_M32_FALSE}"; then 29134 as_fn_error $? "conditional \"HAS_CC_M32\" was never defined. 29135Usually this means the macro was only invoked conditionally." "$LINENO" 5 29136fi 29137if test -z "${HAS_CC_M32_TRUE}" && test -z "${HAS_CC_M32_FALSE}"; then 29138 as_fn_error $? "conditional \"HAS_CC_M32\" was never defined. 29139Usually this means the macro was only invoked conditionally." "$LINENO" 5 29140fi 29141if test -z "${HAS_CC_M32_TRUE}" && test -z "${HAS_CC_M32_FALSE}"; then 29142 as_fn_error $? "conditional \"HAS_CC_M32\" was never defined. 29143Usually this means the macro was only invoked conditionally." "$LINENO" 5 29144fi 29145if test -z "${HAS_CC_M64_TRUE}" && test -z "${HAS_CC_M64_FALSE}"; then 29146 as_fn_error $? "conditional \"HAS_CC_M64\" was never defined. 29147Usually this means the macro was only invoked conditionally." "$LINENO" 5 29148fi 29149if test -z "${HAS_CC_M64_TRUE}" && test -z "${HAS_CC_M64_FALSE}"; then 29150 as_fn_error $? "conditional \"HAS_CC_M64\" was never defined. 29151Usually this means the macro was only invoked conditionally." "$LINENO" 5 29152fi 29153if test -z "${HAS_CC_M64_TRUE}" && test -z "${HAS_CC_M64_FALSE}"; then 29154 as_fn_error $? "conditional \"HAS_CC_M64\" was never defined. 29155Usually this means the macro was only invoked conditionally." "$LINENO" 5 29156fi 29157if test -z "${HAS_CC_WALL_TRUE}" && test -z "${HAS_CC_WALL_FALSE}"; then 29158 as_fn_error $? "conditional \"HAS_CC_WALL\" was never defined. 29159Usually this means the macro was only invoked conditionally." "$LINENO" 5 29160fi 29161if test -z "${HAS_CC_WALL_TRUE}" && test -z "${HAS_CC_WALL_FALSE}"; then 29162 as_fn_error $? "conditional \"HAS_CC_WALL\" was never defined. 29163Usually this means the macro was only invoked conditionally." "$LINENO" 5 29164fi 29165if test -z "${HAS_CC_WALL_TRUE}" && test -z "${HAS_CC_WALL_FALSE}"; then 29166 as_fn_error $? "conditional \"HAS_CC_WALL\" was never defined. 29167Usually this means the macro was only invoked conditionally." "$LINENO" 5 29168fi 29169if test -z "${HAS_CC_G_TRUE}" && test -z "${HAS_CC_G_FALSE}"; then 29170 as_fn_error $? "conditional \"HAS_CC_G\" was never defined. 29171Usually this means the macro was only invoked conditionally." "$LINENO" 5 29172fi 29173if test -z "${HAS_CC_G_TRUE}" && test -z "${HAS_CC_G_FALSE}"; then 29174 as_fn_error $? "conditional \"HAS_CC_G\" was never defined. 29175Usually this means the macro was only invoked conditionally." "$LINENO" 5 29176fi 29177if test -z "${HAS_CC_G_TRUE}" && test -z "${HAS_CC_G_FALSE}"; then 29178 as_fn_error $? "conditional \"HAS_CC_G\" was never defined. 29179Usually this means the macro was only invoked conditionally." "$LINENO" 5 29180fi 29181if test -z "${HAS_CC_G3_TRUE}" && test -z "${HAS_CC_G3_FALSE}"; then 29182 as_fn_error $? "conditional \"HAS_CC_G3\" was never defined. 29183Usually this means the macro was only invoked conditionally." "$LINENO" 5 29184fi 29185if test -z "${HAS_CC_G3_TRUE}" && test -z "${HAS_CC_G3_FALSE}"; then 29186 as_fn_error $? "conditional \"HAS_CC_G3\" was never defined. 29187Usually this means the macro was only invoked conditionally." "$LINENO" 5 29188fi 29189if test -z "${HAS_CC_G3_TRUE}" && test -z "${HAS_CC_G3_FALSE}"; then 29190 as_fn_error $? "conditional \"HAS_CC_G3\" was never defined. 29191Usually this means the macro was only invoked conditionally." "$LINENO" 5 29192fi 29193if test -z "${HAS_CC_DWARF2_TRUE}" && test -z "${HAS_CC_DWARF2_FALSE}"; then 29194 as_fn_error $? "conditional \"HAS_CC_DWARF2\" was never defined. 29195Usually this means the macro was only invoked conditionally." "$LINENO" 5 29196fi 29197if test -z "${HAS_CC_DWARF2_TRUE}" && test -z "${HAS_CC_DWARF2_FALSE}"; then 29198 as_fn_error $? "conditional \"HAS_CC_DWARF2\" was never defined. 29199Usually this means the macro was only invoked conditionally." "$LINENO" 5 29200fi 29201if test -z "${HAS_CC_DWARF2_TRUE}" && test -z "${HAS_CC_DWARF2_FALSE}"; then 29202 as_fn_error $? "conditional \"HAS_CC_DWARF2\" was never defined. 29203Usually this means the macro was only invoked conditionally." "$LINENO" 5 29204fi 29205if test -z "${HAS_CC_DWARF3_TRUE}" && test -z "${HAS_CC_DWARF3_FALSE}"; then 29206 as_fn_error $? "conditional \"HAS_CC_DWARF3\" was never defined. 29207Usually this means the macro was only invoked conditionally." "$LINENO" 5 29208fi 29209if test -z "${HAS_CC_DWARF3_TRUE}" && test -z "${HAS_CC_DWARF3_FALSE}"; then 29210 as_fn_error $? "conditional \"HAS_CC_DWARF3\" was never defined. 29211Usually this means the macro was only invoked conditionally." "$LINENO" 5 29212fi 29213if test -z "${HAS_CC_DWARF3_TRUE}" && test -z "${HAS_CC_DWARF3_FALSE}"; then 29214 as_fn_error $? "conditional \"HAS_CC_DWARF3\" was never defined. 29215Usually this means the macro was only invoked conditionally." "$LINENO" 5 29216fi 29217if test -z "${HAS_CC_DWARF4_TRUE}" && test -z "${HAS_CC_DWARF4_FALSE}"; then 29218 as_fn_error $? "conditional \"HAS_CC_DWARF4\" was never defined. 29219Usually this means the macro was only invoked conditionally." "$LINENO" 5 29220fi 29221if test -z "${HAS_CC_DWARF4_TRUE}" && test -z "${HAS_CC_DWARF4_FALSE}"; then 29222 as_fn_error $? "conditional \"HAS_CC_DWARF4\" was never defined. 29223Usually this means the macro was only invoked conditionally." "$LINENO" 5 29224fi 29225if test -z "${HAS_CC_DWARF4_TRUE}" && test -z "${HAS_CC_DWARF4_FALSE}"; then 29226 as_fn_error $? "conditional \"HAS_CC_DWARF4\" was never defined. 29227Usually this means the macro was only invoked conditionally." "$LINENO" 5 29228fi 29229if test -z "${HAS_CC_STACK_PROTECTOR_TRUE}" && test -z "${HAS_CC_STACK_PROTECTOR_FALSE}"; then 29230 as_fn_error $? "conditional \"HAS_CC_STACK_PROTECTOR\" was never defined. 29231Usually this means the macro was only invoked conditionally." "$LINENO" 5 29232fi 29233if test -z "${HAS_CC_STACK_PROTECTOR_TRUE}" && test -z "${HAS_CC_STACK_PROTECTOR_FALSE}"; then 29234 as_fn_error $? "conditional \"HAS_CC_STACK_PROTECTOR\" was never defined. 29235Usually this means the macro was only invoked conditionally." "$LINENO" 5 29236fi 29237if test -z "${HAS_CC_STACK_PROTECTOR_TRUE}" && test -z "${HAS_CC_STACK_PROTECTOR_FALSE}"; then 29238 as_fn_error $? "conditional \"HAS_CC_STACK_PROTECTOR\" was never defined. 29239Usually this means the macro was only invoked conditionally." "$LINENO" 5 29240fi 29241if test -z "${HAS_CC_EXCEPTIONS_TRUE}" && test -z "${HAS_CC_EXCEPTIONS_FALSE}"; then 29242 as_fn_error $? "conditional \"HAS_CC_EXCEPTIONS\" was never defined. 29243Usually this means the macro was only invoked conditionally." "$LINENO" 5 29244fi 29245if test -z "${HAS_CC_EXCEPTIONS_TRUE}" && test -z "${HAS_CC_EXCEPTIONS_FALSE}"; then 29246 as_fn_error $? "conditional \"HAS_CC_EXCEPTIONS\" was never defined. 29247Usually this means the macro was only invoked conditionally." "$LINENO" 5 29248fi 29249if test -z "${HAS_CC_EXCEPTIONS_TRUE}" && test -z "${HAS_CC_EXCEPTIONS_FALSE}"; then 29250 as_fn_error $? "conditional \"HAS_CC_EXCEPTIONS\" was never defined. 29251Usually this means the macro was only invoked conditionally." "$LINENO" 5 29252fi 29253if test -z "${HAS_CC_MISSING_FIELD_INITIALIZERS_TRUE}" && test -z "${HAS_CC_MISSING_FIELD_INITIALIZERS_FALSE}"; then 29254 as_fn_error $? "conditional \"HAS_CC_MISSING_FIELD_INITIALIZERS\" was never defined. 29255Usually this means the macro was only invoked conditionally." "$LINENO" 5 29256fi 29257if test -z "${HAS_CC_MISSING_FIELD_INITIALIZERS_TRUE}" && test -z "${HAS_CC_MISSING_FIELD_INITIALIZERS_FALSE}"; then 29258 as_fn_error $? "conditional \"HAS_CC_MISSING_FIELD_INITIALIZERS\" was never defined. 29259Usually this means the macro was only invoked conditionally." "$LINENO" 5 29260fi 29261if test -z "${HAS_CC_MISSING_FIELD_INITIALIZERS_TRUE}" && test -z "${HAS_CC_MISSING_FIELD_INITIALIZERS_FALSE}"; then 29262 as_fn_error $? "conditional \"HAS_CC_MISSING_FIELD_INITIALIZERS\" was never defined. 29263Usually this means the macro was only invoked conditionally." "$LINENO" 5 29264fi 29265if test -z "${HAS_CC_SANITIZE_ADDRESS_TRUE}" && test -z "${HAS_CC_SANITIZE_ADDRESS_FALSE}"; then 29266 as_fn_error $? "conditional \"HAS_CC_SANITIZE_ADDRESS\" was never defined. 29267Usually this means the macro was only invoked conditionally." "$LINENO" 5 29268fi 29269if test -z "${HAS_CC_SANITIZE_ADDRESS_TRUE}" && test -z "${HAS_CC_SANITIZE_ADDRESS_FALSE}"; then 29270 as_fn_error $? "conditional \"HAS_CC_SANITIZE_ADDRESS\" was never defined. 29271Usually this means the macro was only invoked conditionally." "$LINENO" 5 29272fi 29273if test -z "${HAS_CC_SANITIZE_ADDRESS_TRUE}" && test -z "${HAS_CC_SANITIZE_ADDRESS_FALSE}"; then 29274 as_fn_error $? "conditional \"HAS_CC_SANITIZE_ADDRESS\" was never defined. 29275Usually this means the macro was only invoked conditionally." "$LINENO" 5 29276fi 29277if test -z "${HAS_CC_NO_OMIT_FRAME_POINTER_TRUE}" && test -z "${HAS_CC_NO_OMIT_FRAME_POINTER_FALSE}"; then 29278 as_fn_error $? "conditional \"HAS_CC_NO_OMIT_FRAME_POINTER\" was never defined. 29279Usually this means the macro was only invoked conditionally." "$LINENO" 5 29280fi 29281if test -z "${HAS_CC_NO_OMIT_FRAME_POINTER_TRUE}" && test -z "${HAS_CC_NO_OMIT_FRAME_POINTER_FALSE}"; then 29282 as_fn_error $? "conditional \"HAS_CC_NO_OMIT_FRAME_POINTER\" was never defined. 29283Usually this means the macro was only invoked conditionally." "$LINENO" 5 29284fi 29285if test -z "${HAS_CC_NO_OMIT_FRAME_POINTER_TRUE}" && test -z "${HAS_CC_NO_OMIT_FRAME_POINTER_FALSE}"; then 29286 as_fn_error $? "conditional \"HAS_CC_NO_OMIT_FRAME_POINTER\" was never defined. 29287Usually this means the macro was only invoked conditionally." "$LINENO" 5 29288fi 29289if test -z "${HAS_CC_ADDRESS_SANITIZER_CHECK_TRUE}" && test -z "${HAS_CC_ADDRESS_SANITIZER_CHECK_FALSE}"; then 29290 as_fn_error $? "conditional \"HAS_CC_ADDRESS_SANITIZER_CHECK\" was never defined. 29291Usually this means the macro was only invoked conditionally." "$LINENO" 5 29292fi 29293if test -z "${HAS_CC_ADDRESS_SANITIZER_CHECK_TRUE}" && test -z "${HAS_CC_ADDRESS_SANITIZER_CHECK_FALSE}"; then 29294 as_fn_error $? "conditional \"HAS_CC_ADDRESS_SANITIZER_CHECK\" was never defined. 29295Usually this means the macro was only invoked conditionally." "$LINENO" 5 29296fi 29297if test -z "${HAS_CC_ADDRESS_SANITIZER_CHECK_TRUE}" && test -z "${HAS_CC_ADDRESS_SANITIZER_CHECK_FALSE}"; then 29298 as_fn_error $? "conditional \"HAS_CC_ADDRESS_SANITIZER_CHECK\" was never defined. 29299Usually this means the macro was only invoked conditionally." "$LINENO" 5 29300fi 29301if test -z "${HAS_CC_CATCH_UNDEFINED_BEHAVIOR_TRUE}" && test -z "${HAS_CC_CATCH_UNDEFINED_BEHAVIOR_FALSE}"; then 29302 as_fn_error $? "conditional \"HAS_CC_CATCH_UNDEFINED_BEHAVIOR\" was never defined. 29303Usually this means the macro was only invoked conditionally." "$LINENO" 5 29304fi 29305if test -z "${HAS_CC_CATCH_UNDEFINED_BEHAVIOR_TRUE}" && test -z "${HAS_CC_CATCH_UNDEFINED_BEHAVIOR_FALSE}"; then 29306 as_fn_error $? "conditional \"HAS_CC_CATCH_UNDEFINED_BEHAVIOR\" was never defined. 29307Usually this means the macro was only invoked conditionally." "$LINENO" 5 29308fi 29309if test -z "${HAS_CC_CATCH_UNDEFINED_BEHAVIOR_TRUE}" && test -z "${HAS_CC_CATCH_UNDEFINED_BEHAVIOR_FALSE}"; then 29310 as_fn_error $? "conditional \"HAS_CC_CATCH_UNDEFINED_BEHAVIOR\" was never defined. 29311Usually this means the macro was only invoked conditionally." "$LINENO" 5 29312fi 29313if test -z "${HAS_CC_RDYNAMIC_TRUE}" && test -z "${HAS_CC_RDYNAMIC_FALSE}"; then 29314 as_fn_error $? "conditional \"HAS_CC_RDYNAMIC\" was never defined. 29315Usually this means the macro was only invoked conditionally." "$LINENO" 5 29316fi 29317if test -z "${HAS_CC_RDYNAMIC_TRUE}" && test -z "${HAS_CC_RDYNAMIC_FALSE}"; then 29318 as_fn_error $? "conditional \"HAS_CC_RDYNAMIC\" was never defined. 29319Usually this means the macro was only invoked conditionally." "$LINENO" 5 29320fi 29321if test -z "${HAS_CC_RDYNAMIC_TRUE}" && test -z "${HAS_CC_RDYNAMIC_FALSE}"; then 29322 as_fn_error $? "conditional \"HAS_CC_RDYNAMIC\" was never defined. 29323Usually this means the macro was only invoked conditionally." "$LINENO" 5 29324fi 29325if test -z "${HAS_MEMALIGN_ISSUES_TRUE}" && test -z "${HAS_MEMALIGN_ISSUES_FALSE}"; then 29326 as_fn_error $? "conditional \"HAS_MEMALIGN_ISSUES\" was never defined. 29327Usually this means the macro was only invoked conditionally." "$LINENO" 5 29328fi 29329if test -z "${HAS_SYNC_BUILTINS_TRUE}" && test -z "${HAS_SYNC_BUILTINS_FALSE}"; then 29330 as_fn_error $? "conditional \"HAS_SYNC_BUILTINS\" was never defined. 29331Usually this means the macro was only invoked conditionally." "$LINENO" 5 29332fi 29333if test -z "${HAS_LITTLE_ENDIAN_TRUE}" && test -z "${HAS_LITTLE_ENDIAN_FALSE}"; then 29334 as_fn_error $? "conditional \"HAS_LITTLE_ENDIAN\" was never defined. 29335Usually this means the macro was only invoked conditionally." "$LINENO" 5 29336fi 29337if test -z "${HAS_BIG_ENDIAN_TRUE}" && test -z "${HAS_BIG_ENDIAN_FALSE}"; then 29338 as_fn_error $? "conditional \"HAS_BIG_ENDIAN\" was never defined. 29339Usually this means the macro was only invoked conditionally." "$LINENO" 5 29340fi 29341if test -z "${HAVE_SENDMMSG_TRUE}" && test -z "${HAVE_SENDMMSG_FALSE}"; then 29342 as_fn_error $? "conditional \"HAVE_SENDMMSG\" was never defined. 29343Usually this means the macro was only invoked conditionally." "$LINENO" 5 29344fi 29345if test -z "${HAVE_RECVMMSG_TRUE}" && test -z "${HAVE_RECVMMSG_FALSE}"; then 29346 as_fn_error $? "conditional \"HAVE_RECVMMSG\" was never defined. 29347Usually this means the macro was only invoked conditionally." "$LINENO" 5 29348fi 29349if test -z "${HAS_RRL_SUPPORT_TRUE}" && test -z "${HAS_RRL_SUPPORT_FALSE}"; then 29350 as_fn_error $? "conditional \"HAS_RRL_SUPPORT\" was never defined. 29351Usually this means the macro was only invoked conditionally." "$LINENO" 5 29352fi 29353if test -z "${HAS_MASTER_SUPPORT_TRUE}" && test -z "${HAS_MASTER_SUPPORT_FALSE}"; then 29354 as_fn_error $? "conditional \"HAS_MASTER_SUPPORT\" was never defined. 29355Usually this means the macro was only invoked conditionally." "$LINENO" 5 29356fi 29357if test -z "${HAS_CTRL_TRUE}" && test -z "${HAS_CTRL_FALSE}"; then 29358 as_fn_error $? "conditional \"HAS_CTRL\" was never defined. 29359Usually this means the macro was only invoked conditionally." "$LINENO" 5 29360fi 29361if test -z "${HAS_ZONESIGN_TRUE}" && test -z "${HAS_ZONESIGN_FALSE}"; then 29362 as_fn_error $? "conditional \"HAS_ZONESIGN\" was never defined. 29363Usually this means the macro was only invoked conditionally." "$LINENO" 5 29364fi 29365if test -z "${HAS_KEYGEN_TRUE}" && test -z "${HAS_KEYGEN_FALSE}"; then 29366 as_fn_error $? "conditional \"HAS_KEYGEN\" was never defined. 29367Usually this means the macro was only invoked conditionally." "$LINENO" 5 29368fi 29369if test -z "${HAS_NSID_SUPPORT_TRUE}" && test -z "${HAS_NSID_SUPPORT_FALSE}"; then 29370 as_fn_error $? "conditional \"HAS_NSID_SUPPORT\" was never defined. 29371Usually this means the macro was only invoked conditionally." "$LINENO" 5 29372fi 29373if test -z "${HAS_ACL_SUPPORT_TRUE}" && test -z "${HAS_ACL_SUPPORT_FALSE}"; then 29374 as_fn_error $? "conditional \"HAS_ACL_SUPPORT\" was never defined. 29375Usually this means the macro was only invoked conditionally." "$LINENO" 5 29376fi 29377if test -z "${HAS_TSIG_SUPPORT_TRUE}" && test -z "${HAS_TSIG_SUPPORT_FALSE}"; then 29378 as_fn_error $? "conditional \"HAS_TSIG_SUPPORT\" was never defined. 29379Usually this means the macro was only invoked conditionally." "$LINENO" 5 29380fi 29381if test -z "${HAS_DYNUPDATE_SUPPORT_TRUE}" && test -z "${HAS_DYNUPDATE_SUPPORT_FALSE}"; then 29382 as_fn_error $? "conditional \"HAS_DYNUPDATE_SUPPORT\" was never defined. 29383Usually this means the macro was only invoked conditionally." "$LINENO" 5 29384fi 29385if test -z "${HAS_RRSIG_MANAGEMENT_SUPPORT_TRUE}" && test -z "${HAS_RRSIG_MANAGEMENT_SUPPORT_FALSE}"; then 29386 as_fn_error $? "conditional \"HAS_RRSIG_MANAGEMENT_SUPPORT\" was never defined. 29387Usually this means the macro was only invoked conditionally." "$LINENO" 5 29388fi 29389if test -z "${HAS_DNSSEC_SUPPORT_TRUE}" && test -z "${HAS_DNSSEC_SUPPORT_FALSE}"; then 29390 as_fn_error $? "conditional \"HAS_DNSSEC_SUPPORT\" was never defined. 29391Usually this means the macro was only invoked conditionally." "$LINENO" 5 29392fi 29393if test -z "${HAS_NSEC_SUPPORT_TRUE}" && test -z "${HAS_NSEC_SUPPORT_FALSE}"; then 29394 as_fn_error $? "conditional \"HAS_NSEC_SUPPORT\" was never defined. 29395Usually this means the macro was only invoked conditionally." "$LINENO" 5 29396fi 29397if test -z "${HAS_NSEC3_SUPPORT_TRUE}" && test -z "${HAS_NSEC3_SUPPORT_FALSE}"; then 29398 as_fn_error $? "conditional \"HAS_NSEC3_SUPPORT\" was never defined. 29399Usually this means the macro was only invoked conditionally." "$LINENO" 5 29400fi 29401if test -z "${HAS_ZALLOC_SUPPORT_TRUE}" && test -z "${HAS_ZALLOC_SUPPORT_FALSE}"; then 29402 as_fn_error $? "conditional \"HAS_ZALLOC_SUPPORT\" was never defined. 29403Usually this means the macro was only invoked conditionally." "$LINENO" 5 29404fi 29405if test -z "${HAS_ZALLOC_STATISTICS_SUPPORT_TRUE}" && test -z "${HAS_ZALLOC_STATISTICS_SUPPORT_FALSE}"; then 29406 as_fn_error $? "conditional \"HAS_ZALLOC_STATISTICS_SUPPORT\" was never defined. 29407Usually this means the macro was only invoked conditionally." "$LINENO" 5 29408fi 29409if test -z "${HAS_ZALLOC_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_ZALLOC_DEBUG_SUPPORT_FALSE}"; then 29410 as_fn_error $? "conditional \"HAS_ZALLOC_DEBUG_SUPPORT\" was never defined. 29411Usually this means the macro was only invoked conditionally." "$LINENO" 5 29412fi 29413if test -z "${HAS_MALLOC_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_MALLOC_DEBUG_SUPPORT_FALSE}"; then 29414 as_fn_error $? "conditional \"HAS_MALLOC_DEBUG_SUPPORT\" was never defined. 29415Usually this means the macro was only invoked conditionally." "$LINENO" 5 29416fi 29417if test -z "${HAS_LIBC_MALLOC_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_LIBC_MALLOC_DEBUG_SUPPORT_FALSE}"; then 29418 as_fn_error $? "conditional \"HAS_LIBC_MALLOC_DEBUG_SUPPORT\" was never defined. 29419Usually this means the macro was only invoked conditionally." "$LINENO" 5 29420fi 29421if test -z "${HAS_BFD_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_BFD_DEBUG_SUPPORT_FALSE}"; then 29422 as_fn_error $? "conditional \"HAS_BFD_DEBUG_SUPPORT\" was never defined. 29423Usually this means the macro was only invoked conditionally." "$LINENO" 5 29424fi 29425if test -z "${HAS_MUTEX_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_MUTEX_DEBUG_SUPPORT_FALSE}"; then 29426 as_fn_error $? "conditional \"HAS_MUTEX_DEBUG_SUPPORT\" was never defined. 29427Usually this means the macro was only invoked conditionally." "$LINENO" 5 29428fi 29429if test -z "${HAS_LOCK_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_LOCK_DEBUG_SUPPORT_FALSE}"; then 29430 as_fn_error $? "conditional \"HAS_LOCK_DEBUG_SUPPORT\" was never defined. 29431Usually this means the macro was only invoked conditionally." "$LINENO" 5 29432fi 29433if test -z "${HAS_TRACK_ZONES_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_TRACK_ZONES_DEBUG_SUPPORT_FALSE}"; then 29434 as_fn_error $? "conditional \"HAS_TRACK_ZONES_DEBUG_SUPPORT\" was never defined. 29435Usually this means the macro was only invoked conditionally." "$LINENO" 5 29436fi 29437if test -z "${HAS_LOG_THREAD_ID_TRUE}" && test -z "${HAS_LOG_THREAD_ID_FALSE}"; then 29438 as_fn_error $? "conditional \"HAS_LOG_THREAD_ID\" was never defined. 29439Usually this means the macro was only invoked conditionally." "$LINENO" 5 29440fi 29441if test -z "${HAS_LOG_THREAD_TAG_TRUE}" && test -z "${HAS_LOG_THREAD_TAG_FALSE}"; then 29442 as_fn_error $? "conditional \"HAS_LOG_THREAD_TAG\" was never defined. 29443Usually this means the macro was only invoked conditionally." "$LINENO" 5 29444fi 29445if test -z "${HAS_LOG_PID_TRUE}" && test -z "${HAS_LOG_PID_FALSE}"; then 29446 as_fn_error $? "conditional \"HAS_LOG_PID\" was never defined. 29447Usually this means the macro was only invoked conditionally." "$LINENO" 5 29448fi 29449if test -z "${HAS_FULL_ASCII7_TRUE}" && test -z "${HAS_FULL_ASCII7_FALSE}"; then 29450 as_fn_error $? "conditional \"HAS_FULL_ASCII7\" was never defined. 29451Usually this means the macro was only invoked conditionally." "$LINENO" 5 29452fi 29453if test -z "${HAS_ECDSA_SUPPORT_TRUE}" && test -z "${HAS_ECDSA_SUPPORT_FALSE}"; then 29454 as_fn_error $? "conditional \"HAS_ECDSA_SUPPORT\" was never defined. 29455Usually this means the macro was only invoked conditionally." "$LINENO" 5 29456fi 29457if test -z "${HAS_EDDSA_TRUE}" && test -z "${HAS_EDDSA_FALSE}"; then 29458 as_fn_error $? "conditional \"HAS_EDDSA\" was never defined. 29459Usually this means the macro was only invoked conditionally." "$LINENO" 5 29460fi 29461if test -z "${HAS_SYSTEMD_RESOLVED_AVOIDANCE_TRUE}" && test -z "${HAS_SYSTEMD_RESOLVED_AVOIDANCE_FALSE}"; then 29462 as_fn_error $? "conditional \"HAS_SYSTEMD_RESOLVED_AVOIDANCE\" was never defined. 29463Usually this means the macro was only invoked conditionally." "$LINENO" 5 29464fi 29465if test -z "${HAS_NON_AA_AXFR_SUPPORT_TRUE}" && test -z "${HAS_NON_AA_AXFR_SUPPORT_FALSE}"; then 29466 as_fn_error $? "conditional \"HAS_NON_AA_AXFR_SUPPORT\" was never defined. 29467Usually this means the macro was only invoked conditionally." "$LINENO" 5 29468fi 29469if test -z "${HAS_STRDUP_TRUE}" && test -z "${HAS_STRDUP_FALSE}"; then 29470 as_fn_error $? "conditional \"HAS_STRDUP\" was never defined. 29471Usually this means the macro was only invoked conditionally." "$LINENO" 5 29472fi 29473if test -z "${HAS_STRDUP_TRUE}" && test -z "${HAS_STRDUP_FALSE}"; then 29474 as_fn_error $? "conditional \"HAS_STRDUP\" was never defined. 29475Usually this means the macro was only invoked conditionally." "$LINENO" 5 29476fi 29477if test -z "${HAS_EVENT_DYNAMIC_MODULE_TRUE}" && test -z "${HAS_EVENT_DYNAMIC_MODULE_FALSE}"; then 29478 as_fn_error $? "conditional \"HAS_EVENT_DYNAMIC_MODULE\" was never defined. 29479Usually this means the macro was only invoked conditionally." "$LINENO" 5 29480fi 29481if test -z "${HAS_LOGDIR_TRUE}" && test -z "${HAS_LOGDIR_FALSE}"; then 29482 as_fn_error $? "conditional \"HAS_LOGDIR\" was never defined. 29483Usually this means the macro was only invoked conditionally." "$LINENO" 5 29484fi 29485if test -z "${HAS_SOCKADDR_SA_LEN_TRUE}" && test -z "${HAS_SOCKADDR_SA_LEN_FALSE}"; then 29486 as_fn_error $? "conditional \"HAS_SOCKADDR_SA_LEN\" was never defined. 29487Usually this means the macro was only invoked conditionally." "$LINENO" 5 29488fi 29489if test -z "${HAS_SOCKADDR_IN_SIN_LEN_TRUE}" && test -z "${HAS_SOCKADDR_IN_SIN_LEN_FALSE}"; then 29490 as_fn_error $? "conditional \"HAS_SOCKADDR_IN_SIN_LEN\" was never defined. 29491Usually this means the macro was only invoked conditionally." "$LINENO" 5 29492fi 29493if test -z "${HAS_SOCKADDR_IN6_SIN6_LEN_TRUE}" && test -z "${HAS_SOCKADDR_IN6_SIN6_LEN_FALSE}"; then 29494 as_fn_error $? "conditional \"HAS_SOCKADDR_IN6_SIN6_LEN\" was never defined. 29495Usually this means the macro was only invoked conditionally." "$LINENO" 5 29496fi 29497if test -z "${HAS_LTO_SUPPORT_TRUE}" && test -z "${HAS_LTO_SUPPORT_FALSE}"; then 29498 as_fn_error $? "conditional \"HAS_LTO_SUPPORT\" was never defined. 29499Usually this means the macro was only invoked conditionally." "$LINENO" 5 29500fi 29501if test -z "${HAS_RRL_SUPPORT_TRUE}" && test -z "${HAS_RRL_SUPPORT_FALSE}"; then 29502 as_fn_error $? "conditional \"HAS_RRL_SUPPORT\" was never defined. 29503Usually this means the macro was only invoked conditionally." "$LINENO" 5 29504fi 29505if test -z "${HAS_MASTER_SUPPORT_TRUE}" && test -z "${HAS_MASTER_SUPPORT_FALSE}"; then 29506 as_fn_error $? "conditional \"HAS_MASTER_SUPPORT\" was never defined. 29507Usually this means the macro was only invoked conditionally." "$LINENO" 5 29508fi 29509if test -z "${HAS_CTRL_TRUE}" && test -z "${HAS_CTRL_FALSE}"; then 29510 as_fn_error $? "conditional \"HAS_CTRL\" was never defined. 29511Usually this means the macro was only invoked conditionally." "$LINENO" 5 29512fi 29513if test -z "${HAS_ZONESIGN_TRUE}" && test -z "${HAS_ZONESIGN_FALSE}"; then 29514 as_fn_error $? "conditional \"HAS_ZONESIGN\" was never defined. 29515Usually this means the macro was only invoked conditionally." "$LINENO" 5 29516fi 29517if test -z "${HAS_KEYGEN_TRUE}" && test -z "${HAS_KEYGEN_FALSE}"; then 29518 as_fn_error $? "conditional \"HAS_KEYGEN\" was never defined. 29519Usually this means the macro was only invoked conditionally." "$LINENO" 5 29520fi 29521if test -z "${HAS_NSID_SUPPORT_TRUE}" && test -z "${HAS_NSID_SUPPORT_FALSE}"; then 29522 as_fn_error $? "conditional \"HAS_NSID_SUPPORT\" was never defined. 29523Usually this means the macro was only invoked conditionally." "$LINENO" 5 29524fi 29525if test -z "${HAS_ACL_SUPPORT_TRUE}" && test -z "${HAS_ACL_SUPPORT_FALSE}"; then 29526 as_fn_error $? "conditional \"HAS_ACL_SUPPORT\" was never defined. 29527Usually this means the macro was only invoked conditionally." "$LINENO" 5 29528fi 29529if test -z "${HAS_TSIG_SUPPORT_TRUE}" && test -z "${HAS_TSIG_SUPPORT_FALSE}"; then 29530 as_fn_error $? "conditional \"HAS_TSIG_SUPPORT\" was never defined. 29531Usually this means the macro was only invoked conditionally." "$LINENO" 5 29532fi 29533if test -z "${HAS_DYNUPDATE_SUPPORT_TRUE}" && test -z "${HAS_DYNUPDATE_SUPPORT_FALSE}"; then 29534 as_fn_error $? "conditional \"HAS_DYNUPDATE_SUPPORT\" was never defined. 29535Usually this means the macro was only invoked conditionally." "$LINENO" 5 29536fi 29537if test -z "${HAS_RRSIG_MANAGEMENT_SUPPORT_TRUE}" && test -z "${HAS_RRSIG_MANAGEMENT_SUPPORT_FALSE}"; then 29538 as_fn_error $? "conditional \"HAS_RRSIG_MANAGEMENT_SUPPORT\" was never defined. 29539Usually this means the macro was only invoked conditionally." "$LINENO" 5 29540fi 29541if test -z "${HAS_DNSSEC_SUPPORT_TRUE}" && test -z "${HAS_DNSSEC_SUPPORT_FALSE}"; then 29542 as_fn_error $? "conditional \"HAS_DNSSEC_SUPPORT\" was never defined. 29543Usually this means the macro was only invoked conditionally." "$LINENO" 5 29544fi 29545if test -z "${HAS_NSEC_SUPPORT_TRUE}" && test -z "${HAS_NSEC_SUPPORT_FALSE}"; then 29546 as_fn_error $? "conditional \"HAS_NSEC_SUPPORT\" was never defined. 29547Usually this means the macro was only invoked conditionally." "$LINENO" 5 29548fi 29549if test -z "${HAS_NSEC3_SUPPORT_TRUE}" && test -z "${HAS_NSEC3_SUPPORT_FALSE}"; then 29550 as_fn_error $? "conditional \"HAS_NSEC3_SUPPORT\" was never defined. 29551Usually this means the macro was only invoked conditionally." "$LINENO" 5 29552fi 29553if test -z "${HAS_ZALLOC_SUPPORT_TRUE}" && test -z "${HAS_ZALLOC_SUPPORT_FALSE}"; then 29554 as_fn_error $? "conditional \"HAS_ZALLOC_SUPPORT\" was never defined. 29555Usually this means the macro was only invoked conditionally." "$LINENO" 5 29556fi 29557if test -z "${HAS_ZALLOC_STATISTICS_SUPPORT_TRUE}" && test -z "${HAS_ZALLOC_STATISTICS_SUPPORT_FALSE}"; then 29558 as_fn_error $? "conditional \"HAS_ZALLOC_STATISTICS_SUPPORT\" was never defined. 29559Usually this means the macro was only invoked conditionally." "$LINENO" 5 29560fi 29561if test -z "${HAS_ZALLOC_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_ZALLOC_DEBUG_SUPPORT_FALSE}"; then 29562 as_fn_error $? "conditional \"HAS_ZALLOC_DEBUG_SUPPORT\" was never defined. 29563Usually this means the macro was only invoked conditionally." "$LINENO" 5 29564fi 29565if test -z "${HAS_MALLOC_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_MALLOC_DEBUG_SUPPORT_FALSE}"; then 29566 as_fn_error $? "conditional \"HAS_MALLOC_DEBUG_SUPPORT\" was never defined. 29567Usually this means the macro was only invoked conditionally." "$LINENO" 5 29568fi 29569if test -z "${HAS_LIBC_MALLOC_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_LIBC_MALLOC_DEBUG_SUPPORT_FALSE}"; then 29570 as_fn_error $? "conditional \"HAS_LIBC_MALLOC_DEBUG_SUPPORT\" was never defined. 29571Usually this means the macro was only invoked conditionally." "$LINENO" 5 29572fi 29573if test -z "${HAS_BFD_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_BFD_DEBUG_SUPPORT_FALSE}"; then 29574 as_fn_error $? "conditional \"HAS_BFD_DEBUG_SUPPORT\" was never defined. 29575Usually this means the macro was only invoked conditionally." "$LINENO" 5 29576fi 29577if test -z "${HAS_MUTEX_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_MUTEX_DEBUG_SUPPORT_FALSE}"; then 29578 as_fn_error $? "conditional \"HAS_MUTEX_DEBUG_SUPPORT\" was never defined. 29579Usually this means the macro was only invoked conditionally." "$LINENO" 5 29580fi 29581if test -z "${HAS_LOCK_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_LOCK_DEBUG_SUPPORT_FALSE}"; then 29582 as_fn_error $? "conditional \"HAS_LOCK_DEBUG_SUPPORT\" was never defined. 29583Usually this means the macro was only invoked conditionally." "$LINENO" 5 29584fi 29585if test -z "${HAS_TRACK_ZONES_DEBUG_SUPPORT_TRUE}" && test -z "${HAS_TRACK_ZONES_DEBUG_SUPPORT_FALSE}"; then 29586 as_fn_error $? "conditional \"HAS_TRACK_ZONES_DEBUG_SUPPORT\" was never defined. 29587Usually this means the macro was only invoked conditionally." "$LINENO" 5 29588fi 29589if test -z "${HAS_LOG_THREAD_ID_TRUE}" && test -z "${HAS_LOG_THREAD_ID_FALSE}"; then 29590 as_fn_error $? "conditional \"HAS_LOG_THREAD_ID\" was never defined. 29591Usually this means the macro was only invoked conditionally." "$LINENO" 5 29592fi 29593if test -z "${HAS_LOG_THREAD_TAG_TRUE}" && test -z "${HAS_LOG_THREAD_TAG_FALSE}"; then 29594 as_fn_error $? "conditional \"HAS_LOG_THREAD_TAG\" was never defined. 29595Usually this means the macro was only invoked conditionally." "$LINENO" 5 29596fi 29597if test -z "${HAS_LOG_PID_TRUE}" && test -z "${HAS_LOG_PID_FALSE}"; then 29598 as_fn_error $? "conditional \"HAS_LOG_PID\" was never defined. 29599Usually this means the macro was only invoked conditionally." "$LINENO" 5 29600fi 29601if test -z "${HAS_FULL_ASCII7_TRUE}" && test -z "${HAS_FULL_ASCII7_FALSE}"; then 29602 as_fn_error $? "conditional \"HAS_FULL_ASCII7\" was never defined. 29603Usually this means the macro was only invoked conditionally." "$LINENO" 5 29604fi 29605if test -z "${HAS_ECDSA_SUPPORT_TRUE}" && test -z "${HAS_ECDSA_SUPPORT_FALSE}"; then 29606 as_fn_error $? "conditional \"HAS_ECDSA_SUPPORT\" was never defined. 29607Usually this means the macro was only invoked conditionally." "$LINENO" 5 29608fi 29609if test -z "${HAS_EDDSA_TRUE}" && test -z "${HAS_EDDSA_FALSE}"; then 29610 as_fn_error $? "conditional \"HAS_EDDSA\" was never defined. 29611Usually this means the macro was only invoked conditionally." "$LINENO" 5 29612fi 29613if test -z "${HAS_SYSTEMD_RESOLVED_AVOIDANCE_TRUE}" && test -z "${HAS_SYSTEMD_RESOLVED_AVOIDANCE_FALSE}"; then 29614 as_fn_error $? "conditional \"HAS_SYSTEMD_RESOLVED_AVOIDANCE\" was never defined. 29615Usually this means the macro was only invoked conditionally." "$LINENO" 5 29616fi 29617if test -z "${HAS_NON_AA_AXFR_SUPPORT_TRUE}" && test -z "${HAS_NON_AA_AXFR_SUPPORT_FALSE}"; then 29618 as_fn_error $? "conditional \"HAS_NON_AA_AXFR_SUPPORT\" was never defined. 29619Usually this means the macro was only invoked conditionally." "$LINENO" 5 29620fi 29621if test -z "${HAS_STRDUP_TRUE}" && test -z "${HAS_STRDUP_FALSE}"; then 29622 as_fn_error $? "conditional \"HAS_STRDUP\" was never defined. 29623Usually this means the macro was only invoked conditionally." "$LINENO" 5 29624fi 29625if test -z "${HAS_STRDUP_TRUE}" && test -z "${HAS_STRDUP_FALSE}"; then 29626 as_fn_error $? "conditional \"HAS_STRDUP\" was never defined. 29627Usually this means the macro was only invoked conditionally." "$LINENO" 5 29628fi 29629if test -z "${HAS_EVENT_DYNAMIC_MODULE_TRUE}" && test -z "${HAS_EVENT_DYNAMIC_MODULE_FALSE}"; then 29630 as_fn_error $? "conditional \"HAS_EVENT_DYNAMIC_MODULE\" was never defined. 29631Usually this means the macro was only invoked conditionally." "$LINENO" 5 29632fi 29633if test -z "${HAS_LOGDIR_TRUE}" && test -z "${HAS_LOGDIR_FALSE}"; then 29634 as_fn_error $? "conditional \"HAS_LOGDIR\" was never defined. 29635Usually this means the macro was only invoked conditionally." "$LINENO" 5 29636fi 29637if test -z "${HAS_SOCKADDR_SA_LEN_TRUE}" && test -z "${HAS_SOCKADDR_SA_LEN_FALSE}"; then 29638 as_fn_error $? "conditional \"HAS_SOCKADDR_SA_LEN\" was never defined. 29639Usually this means the macro was only invoked conditionally." "$LINENO" 5 29640fi 29641if test -z "${HAS_SOCKADDR_IN_SIN_LEN_TRUE}" && test -z "${HAS_SOCKADDR_IN_SIN_LEN_FALSE}"; then 29642 as_fn_error $? "conditional \"HAS_SOCKADDR_IN_SIN_LEN\" was never defined. 29643Usually this means the macro was only invoked conditionally." "$LINENO" 5 29644fi 29645if test -z "${HAS_SOCKADDR_IN6_SIN6_LEN_TRUE}" && test -z "${HAS_SOCKADDR_IN6_SIN6_LEN_FALSE}"; then 29646 as_fn_error $? "conditional \"HAS_SOCKADDR_IN6_SIN6_LEN\" was never defined. 29647Usually this means the macro was only invoked conditionally." "$LINENO" 5 29648fi 29649if test -z "${HAS_TESTS_TRUE}" && test -z "${HAS_TESTS_FALSE}"; then 29650 as_fn_error $? "conditional \"HAS_TESTS\" was never defined. 29651Usually this means the macro was only invoked conditionally." "$LINENO" 5 29652fi 29653if test -z "${HAS_TOOLS_TRUE}" && test -z "${HAS_TOOLS_FALSE}"; then 29654 as_fn_error $? "conditional \"HAS_TOOLS\" was never defined. 29655Usually this means the macro was only invoked conditionally." "$LINENO" 5 29656fi 29657 29658: "${CONFIG_STATUS=./config.status}" 29659ac_write_fail=0 29660ac_clean_files_save=$ac_clean_files 29661ac_clean_files="$ac_clean_files $CONFIG_STATUS" 29662{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 29663$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 29664as_write_fail=0 29665cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 29666#! $SHELL 29667# Generated by $as_me. 29668# Run this file to recreate the current configuration. 29669# Compiler output produced by configure, useful for debugging 29670# configure, is in config.log if it exists. 29671 29672debug=false 29673ac_cs_recheck=false 29674ac_cs_silent=false 29675 29676SHELL=\${CONFIG_SHELL-$SHELL} 29677export SHELL 29678_ASEOF 29679cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 29680## -------------------- ## 29681## M4sh Initialization. ## 29682## -------------------- ## 29683 29684# Be more Bourne compatible 29685DUALCASE=1; export DUALCASE # for MKS sh 29686if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 29687 emulate sh 29688 NULLCMD=: 29689 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 29690 # is contrary to our usage. Disable this feature. 29691 alias -g '${1+"$@"}'='"$@"' 29692 setopt NO_GLOB_SUBST 29693else 29694 case `(set -o) 2>/dev/null` in #( 29695 *posix*) : 29696 set -o posix ;; #( 29697 *) : 29698 ;; 29699esac 29700fi 29701 29702 29703as_nl=' 29704' 29705export as_nl 29706# Printing a long string crashes Solaris 7 /usr/bin/printf. 29707as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 29708as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 29709as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 29710# Prefer a ksh shell builtin over an external printf program on Solaris, 29711# but without wasting forks for bash or zsh. 29712if test -z "$BASH_VERSION$ZSH_VERSION" \ 29713 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 29714 as_echo='print -r --' 29715 as_echo_n='print -rn --' 29716elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 29717 as_echo='printf %s\n' 29718 as_echo_n='printf %s' 29719else 29720 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 29721 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 29722 as_echo_n='/usr/ucb/echo -n' 29723 else 29724 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 29725 as_echo_n_body='eval 29726 arg=$1; 29727 case $arg in #( 29728 *"$as_nl"*) 29729 expr "X$arg" : "X\\(.*\\)$as_nl"; 29730 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 29731 esac; 29732 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 29733 ' 29734 export as_echo_n_body 29735 as_echo_n='sh -c $as_echo_n_body as_echo' 29736 fi 29737 export as_echo_body 29738 as_echo='sh -c $as_echo_body as_echo' 29739fi 29740 29741# The user is always right. 29742if test "${PATH_SEPARATOR+set}" != set; then 29743 PATH_SEPARATOR=: 29744 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 29745 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 29746 PATH_SEPARATOR=';' 29747 } 29748fi 29749 29750 29751# IFS 29752# We need space, tab and new line, in precisely that order. Quoting is 29753# there to prevent editors from complaining about space-tab. 29754# (If _AS_PATH_WALK were called with IFS unset, it would disable word 29755# splitting by setting IFS to empty value.) 29756IFS=" "" $as_nl" 29757 29758# Find who we are. Look in the path if we contain no directory separator. 29759as_myself= 29760case $0 in #(( 29761 *[\\/]* ) as_myself=$0 ;; 29762 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 29763for as_dir in $PATH 29764do 29765 IFS=$as_save_IFS 29766 test -z "$as_dir" && as_dir=. 29767 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 29768 done 29769IFS=$as_save_IFS 29770 29771 ;; 29772esac 29773# We did not find ourselves, most probably we were run as `sh COMMAND' 29774# in which case we are not to be found in the path. 29775if test "x$as_myself" = x; then 29776 as_myself=$0 29777fi 29778if test ! -f "$as_myself"; then 29779 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 29780 exit 1 29781fi 29782 29783# Unset variables that we do not need and which cause bugs (e.g. in 29784# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 29785# suppresses any "Segmentation fault" message there. '((' could 29786# trigger a bug in pdksh 5.2.14. 29787for as_var in BASH_ENV ENV MAIL MAILPATH 29788do eval test x\${$as_var+set} = xset \ 29789 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 29790done 29791PS1='$ ' 29792PS2='> ' 29793PS4='+ ' 29794 29795# NLS nuisances. 29796LC_ALL=C 29797export LC_ALL 29798LANGUAGE=C 29799export LANGUAGE 29800 29801# CDPATH. 29802(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 29803 29804 29805# as_fn_error STATUS ERROR [LINENO LOG_FD] 29806# ---------------------------------------- 29807# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 29808# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 29809# script with STATUS, using 1 if that was 0. 29810as_fn_error () 29811{ 29812 as_status=$1; test $as_status -eq 0 && as_status=1 29813 if test "$4"; then 29814 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 29815 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 29816 fi 29817 $as_echo "$as_me: error: $2" >&2 29818 as_fn_exit $as_status 29819} # as_fn_error 29820 29821 29822# as_fn_set_status STATUS 29823# ----------------------- 29824# Set $? to STATUS, without forking. 29825as_fn_set_status () 29826{ 29827 return $1 29828} # as_fn_set_status 29829 29830# as_fn_exit STATUS 29831# ----------------- 29832# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 29833as_fn_exit () 29834{ 29835 set +e 29836 as_fn_set_status $1 29837 exit $1 29838} # as_fn_exit 29839 29840# as_fn_unset VAR 29841# --------------- 29842# Portably unset VAR. 29843as_fn_unset () 29844{ 29845 { eval $1=; unset $1;} 29846} 29847as_unset=as_fn_unset 29848# as_fn_append VAR VALUE 29849# ---------------------- 29850# Append the text in VALUE to the end of the definition contained in VAR. Take 29851# advantage of any shell optimizations that allow amortized linear growth over 29852# repeated appends, instead of the typical quadratic growth present in naive 29853# implementations. 29854if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 29855 eval 'as_fn_append () 29856 { 29857 eval $1+=\$2 29858 }' 29859else 29860 as_fn_append () 29861 { 29862 eval $1=\$$1\$2 29863 } 29864fi # as_fn_append 29865 29866# as_fn_arith ARG... 29867# ------------------ 29868# Perform arithmetic evaluation on the ARGs, and store the result in the 29869# global $as_val. Take advantage of shells that can avoid forks. The arguments 29870# must be portable across $(()) and expr. 29871if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 29872 eval 'as_fn_arith () 29873 { 29874 as_val=$(( $* )) 29875 }' 29876else 29877 as_fn_arith () 29878 { 29879 as_val=`expr "$@" || test $? -eq 1` 29880 } 29881fi # as_fn_arith 29882 29883 29884if expr a : '\(a\)' >/dev/null 2>&1 && 29885 test "X`expr 00001 : '.*\(...\)'`" = X001; then 29886 as_expr=expr 29887else 29888 as_expr=false 29889fi 29890 29891if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 29892 as_basename=basename 29893else 29894 as_basename=false 29895fi 29896 29897if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 29898 as_dirname=dirname 29899else 29900 as_dirname=false 29901fi 29902 29903as_me=`$as_basename -- "$0" || 29904$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 29905 X"$0" : 'X\(//\)$' \| \ 29906 X"$0" : 'X\(/\)' \| . 2>/dev/null || 29907$as_echo X/"$0" | 29908 sed '/^.*\/\([^/][^/]*\)\/*$/{ 29909 s//\1/ 29910 q 29911 } 29912 /^X\/\(\/\/\)$/{ 29913 s//\1/ 29914 q 29915 } 29916 /^X\/\(\/\).*/{ 29917 s//\1/ 29918 q 29919 } 29920 s/.*/./; q'` 29921 29922# Avoid depending upon Character Ranges. 29923as_cr_letters='abcdefghijklmnopqrstuvwxyz' 29924as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 29925as_cr_Letters=$as_cr_letters$as_cr_LETTERS 29926as_cr_digits='0123456789' 29927as_cr_alnum=$as_cr_Letters$as_cr_digits 29928 29929ECHO_C= ECHO_N= ECHO_T= 29930case `echo -n x` in #((((( 29931-n*) 29932 case `echo 'xy\c'` in 29933 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 29934 xy) ECHO_C='\c';; 29935 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 29936 ECHO_T=' ';; 29937 esac;; 29938*) 29939 ECHO_N='-n';; 29940esac 29941 29942rm -f conf$$ conf$$.exe conf$$.file 29943if test -d conf$$.dir; then 29944 rm -f conf$$.dir/conf$$.file 29945else 29946 rm -f conf$$.dir 29947 mkdir conf$$.dir 2>/dev/null 29948fi 29949if (echo >conf$$.file) 2>/dev/null; then 29950 if ln -s conf$$.file conf$$ 2>/dev/null; then 29951 as_ln_s='ln -s' 29952 # ... but there are two gotchas: 29953 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 29954 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 29955 # In both cases, we have to default to `cp -pR'. 29956 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 29957 as_ln_s='cp -pR' 29958 elif ln conf$$.file conf$$ 2>/dev/null; then 29959 as_ln_s=ln 29960 else 29961 as_ln_s='cp -pR' 29962 fi 29963else 29964 as_ln_s='cp -pR' 29965fi 29966rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 29967rmdir conf$$.dir 2>/dev/null 29968 29969 29970# as_fn_mkdir_p 29971# ------------- 29972# Create "$as_dir" as a directory, including parents if necessary. 29973as_fn_mkdir_p () 29974{ 29975 29976 case $as_dir in #( 29977 -*) as_dir=./$as_dir;; 29978 esac 29979 test -d "$as_dir" || eval $as_mkdir_p || { 29980 as_dirs= 29981 while :; do 29982 case $as_dir in #( 29983 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 29984 *) as_qdir=$as_dir;; 29985 esac 29986 as_dirs="'$as_qdir' $as_dirs" 29987 as_dir=`$as_dirname -- "$as_dir" || 29988$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 29989 X"$as_dir" : 'X\(//\)[^/]' \| \ 29990 X"$as_dir" : 'X\(//\)$' \| \ 29991 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 29992$as_echo X"$as_dir" | 29993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 29994 s//\1/ 29995 q 29996 } 29997 /^X\(\/\/\)[^/].*/{ 29998 s//\1/ 29999 q 30000 } 30001 /^X\(\/\/\)$/{ 30002 s//\1/ 30003 q 30004 } 30005 /^X\(\/\).*/{ 30006 s//\1/ 30007 q 30008 } 30009 s/.*/./; q'` 30010 test -d "$as_dir" && break 30011 done 30012 test -z "$as_dirs" || eval "mkdir $as_dirs" 30013 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 30014 30015 30016} # as_fn_mkdir_p 30017if mkdir -p . 2>/dev/null; then 30018 as_mkdir_p='mkdir -p "$as_dir"' 30019else 30020 test -d ./-p && rmdir ./-p 30021 as_mkdir_p=false 30022fi 30023 30024 30025# as_fn_executable_p FILE 30026# ----------------------- 30027# Test if FILE is an executable regular file. 30028as_fn_executable_p () 30029{ 30030 test -f "$1" && test -x "$1" 30031} # as_fn_executable_p 30032as_test_x='test -x' 30033as_executable_p=as_fn_executable_p 30034 30035# Sed expression to map a string onto a valid CPP name. 30036as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 30037 30038# Sed expression to map a string onto a valid variable name. 30039as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 30040 30041 30042exec 6>&1 30043## ----------------------------------- ## 30044## Main body of $CONFIG_STATUS script. ## 30045## ----------------------------------- ## 30046_ASEOF 30047test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 30048 30049cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30050# Save the log message, to keep $0 and so on meaningful, and to 30051# report actual input values of CONFIG_FILES etc. instead of their 30052# values after options handling. 30053ac_log=" 30054This file was extended by yadifa $as_me 2.5.3-10333, which was 30055generated by GNU Autoconf 2.69. Invocation command line was 30056 30057 CONFIG_FILES = $CONFIG_FILES 30058 CONFIG_HEADERS = $CONFIG_HEADERS 30059 CONFIG_LINKS = $CONFIG_LINKS 30060 CONFIG_COMMANDS = $CONFIG_COMMANDS 30061 $ $0 $@ 30062 30063on `(hostname || uname -n) 2>/dev/null | sed 1q` 30064" 30065 30066_ACEOF 30067 30068case $ac_config_files in *" 30069"*) set x $ac_config_files; shift; ac_config_files=$*;; 30070esac 30071 30072case $ac_config_headers in *" 30073"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 30074esac 30075 30076 30077cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30078# Files that config.status was made for. 30079config_files="$ac_config_files" 30080config_headers="$ac_config_headers" 30081config_commands="$ac_config_commands" 30082 30083_ACEOF 30084 30085cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30086ac_cs_usage="\ 30087\`$as_me' instantiates files and other configuration actions 30088from templates according to the current configuration. Unless the files 30089and actions are specified as TAGs, all are instantiated by default. 30090 30091Usage: $0 [OPTION]... [TAG]... 30092 30093 -h, --help print this help, then exit 30094 -V, --version print version number and configuration settings, then exit 30095 --config print configuration, then exit 30096 -q, --quiet, --silent 30097 do not print progress messages 30098 -d, --debug don't remove temporary files 30099 --recheck update $as_me by reconfiguring in the same conditions 30100 --file=FILE[:TEMPLATE] 30101 instantiate the configuration file FILE 30102 --header=FILE[:TEMPLATE] 30103 instantiate the configuration header FILE 30104 30105Configuration files: 30106$config_files 30107 30108Configuration headers: 30109$config_headers 30110 30111Configuration commands: 30112$config_commands 30113 30114Report bugs to <info@yadifa.eu>." 30115 30116_ACEOF 30117cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30118ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 30119ac_cs_version="\\ 30120yadifa config.status 2.5.3-10333 30121configured by $0, generated by GNU Autoconf 2.69, 30122 with options \\"\$ac_cs_config\\" 30123 30124Copyright (C) 2012 Free Software Foundation, Inc. 30125This config.status script is free software; the Free Software Foundation 30126gives unlimited permission to copy, distribute and modify it." 30127 30128ac_pwd='$ac_pwd' 30129srcdir='$srcdir' 30130INSTALL='$INSTALL' 30131MKDIR_P='$MKDIR_P' 30132AWK='$AWK' 30133test -n "\$AWK" || AWK=awk 30134_ACEOF 30135 30136cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30137# The default lists apply if the user does not specify any file. 30138ac_need_defaults=: 30139while test $# != 0 30140do 30141 case $1 in 30142 --*=?*) 30143 ac_option=`expr "X$1" : 'X\([^=]*\)='` 30144 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 30145 ac_shift=: 30146 ;; 30147 --*=) 30148 ac_option=`expr "X$1" : 'X\([^=]*\)='` 30149 ac_optarg= 30150 ac_shift=: 30151 ;; 30152 *) 30153 ac_option=$1 30154 ac_optarg=$2 30155 ac_shift=shift 30156 ;; 30157 esac 30158 30159 case $ac_option in 30160 # Handling of the options. 30161 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 30162 ac_cs_recheck=: ;; 30163 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 30164 $as_echo "$ac_cs_version"; exit ;; 30165 --config | --confi | --conf | --con | --co | --c ) 30166 $as_echo "$ac_cs_config"; exit ;; 30167 --debug | --debu | --deb | --de | --d | -d ) 30168 debug=: ;; 30169 --file | --fil | --fi | --f ) 30170 $ac_shift 30171 case $ac_optarg in 30172 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 30173 '') as_fn_error $? "missing file argument" ;; 30174 esac 30175 as_fn_append CONFIG_FILES " '$ac_optarg'" 30176 ac_need_defaults=false;; 30177 --header | --heade | --head | --hea ) 30178 $ac_shift 30179 case $ac_optarg in 30180 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 30181 esac 30182 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 30183 ac_need_defaults=false;; 30184 --he | --h) 30185 # Conflict between --help and --header 30186 as_fn_error $? "ambiguous option: \`$1' 30187Try \`$0 --help' for more information.";; 30188 --help | --hel | -h ) 30189 $as_echo "$ac_cs_usage"; exit ;; 30190 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 30191 | -silent | --silent | --silen | --sile | --sil | --si | --s) 30192 ac_cs_silent=: ;; 30193 30194 # This is an error. 30195 -*) as_fn_error $? "unrecognized option: \`$1' 30196Try \`$0 --help' for more information." ;; 30197 30198 *) as_fn_append ac_config_targets " $1" 30199 ac_need_defaults=false ;; 30200 30201 esac 30202 shift 30203done 30204 30205ac_configure_extra_args= 30206 30207if $ac_cs_silent; then 30208 exec 6>/dev/null 30209 ac_configure_extra_args="$ac_configure_extra_args --silent" 30210fi 30211 30212_ACEOF 30213cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30214if \$ac_cs_recheck; then 30215 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 30216 shift 30217 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 30218 CONFIG_SHELL='$SHELL' 30219 export CONFIG_SHELL 30220 exec "\$@" 30221fi 30222 30223_ACEOF 30224cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30225exec 5>>config.log 30226{ 30227 echo 30228 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 30229## Running $as_me. ## 30230_ASBOX 30231 $as_echo "$ac_log" 30232} >&5 30233 30234_ACEOF 30235cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30236# 30237# INIT-COMMANDS 30238# 30239AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 30240 30241 30242# The HP-UX ksh and POSIX shell print the target directory to stdout 30243# if CDPATH is set. 30244(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 30245 30246sed_quote_subst='$sed_quote_subst' 30247double_quote_subst='$double_quote_subst' 30248delay_variable_subst='$delay_variable_subst' 30249macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 30250macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 30251enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 30252enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 30253pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 30254enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 30255SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 30256ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 30257PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 30258host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 30259host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 30260host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 30261build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 30262build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 30263build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 30264SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 30265Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 30266GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 30267EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 30268FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 30269LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 30270NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 30271LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 30272max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 30273ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 30274exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 30275lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 30276lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 30277lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 30278lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 30279lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 30280reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 30281reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 30282OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 30283deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 30284file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 30285file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 30286want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 30287DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 30288sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 30289AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 30290AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 30291archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 30292STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 30293RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 30294old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 30295old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 30296old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 30297lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 30298CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 30299CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 30300compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 30301GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 30302lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 30303lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 30304lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 30305lt_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"`' 30306nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 30307lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 30308objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 30309MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 30310lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 30311lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 30312lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 30313lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 30314lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 30315need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 30316MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 30317DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 30318NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 30319LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 30320OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 30321OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 30322libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 30323shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 30324extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 30325archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 30326enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 30327export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 30328whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 30329compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 30330old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 30331old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 30332archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 30333archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 30334module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 30335module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 30336with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 30337allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 30338no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 30339hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 30340hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 30341hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 30342hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 30343hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 30344hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 30345hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 30346inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 30347link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 30348always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 30349export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 30350exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 30351include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 30352prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 30353postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 30354file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 30355variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 30356need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 30357need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 30358version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 30359runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 30360shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 30361shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 30362libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 30363library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 30364soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 30365install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 30366postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 30367postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 30368finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 30369finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 30370hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 30371sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 30372sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 30373hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 30374enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 30375enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 30376enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 30377old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 30378striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 30379compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 30380predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 30381postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 30382predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 30383postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 30384compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 30385LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 30386reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 30387reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 30388old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 30389compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 30390GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 30391lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 30392lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 30393lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 30394lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 30395lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 30396archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 30397enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 30398export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 30399whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 30400compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 30401old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 30402old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 30403archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 30404archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 30405module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 30406module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 30407with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 30408allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 30409no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 30410hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 30411hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 30412hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 30413hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 30414hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 30415hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 30416hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 30417inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 30418link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 30419always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 30420export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 30421exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 30422include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 30423prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 30424postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 30425file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 30426hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 30427compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 30428predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 30429postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 30430predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 30431postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 30432compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 30433 30434LTCC='$LTCC' 30435LTCFLAGS='$LTCFLAGS' 30436compiler='$compiler_DEFAULT' 30437 30438# A function that is used when there is no print builtin or printf. 30439func_fallback_echo () 30440{ 30441 eval 'cat <<_LTECHO_EOF 30442\$1 30443_LTECHO_EOF' 30444} 30445 30446# Quote evaled strings. 30447for var in SHELL \ 30448ECHO \ 30449PATH_SEPARATOR \ 30450SED \ 30451GREP \ 30452EGREP \ 30453FGREP \ 30454LD \ 30455NM \ 30456LN_S \ 30457lt_SP2NL \ 30458lt_NL2SP \ 30459reload_flag \ 30460OBJDUMP \ 30461deplibs_check_method \ 30462file_magic_cmd \ 30463file_magic_glob \ 30464want_nocaseglob \ 30465DLLTOOL \ 30466sharedlib_from_linklib_cmd \ 30467AR \ 30468AR_FLAGS \ 30469archiver_list_spec \ 30470STRIP \ 30471RANLIB \ 30472CC \ 30473CFLAGS \ 30474compiler \ 30475lt_cv_sys_global_symbol_pipe \ 30476lt_cv_sys_global_symbol_to_cdecl \ 30477lt_cv_sys_global_symbol_to_c_name_address \ 30478lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 30479nm_file_list_spec \ 30480lt_prog_compiler_no_builtin_flag \ 30481lt_prog_compiler_pic \ 30482lt_prog_compiler_wl \ 30483lt_prog_compiler_static \ 30484lt_cv_prog_compiler_c_o \ 30485need_locks \ 30486MANIFEST_TOOL \ 30487DSYMUTIL \ 30488NMEDIT \ 30489LIPO \ 30490OTOOL \ 30491OTOOL64 \ 30492shrext_cmds \ 30493export_dynamic_flag_spec \ 30494whole_archive_flag_spec \ 30495compiler_needs_object \ 30496with_gnu_ld \ 30497allow_undefined_flag \ 30498no_undefined_flag \ 30499hardcode_libdir_flag_spec \ 30500hardcode_libdir_separator \ 30501exclude_expsyms \ 30502include_expsyms \ 30503file_list_spec \ 30504variables_saved_for_relink \ 30505libname_spec \ 30506library_names_spec \ 30507soname_spec \ 30508install_override_mode \ 30509finish_eval \ 30510old_striplib \ 30511striplib \ 30512compiler_lib_search_dirs \ 30513predep_objects \ 30514postdep_objects \ 30515predeps \ 30516postdeps \ 30517compiler_lib_search_path \ 30518LD_CXX \ 30519reload_flag_CXX \ 30520compiler_CXX \ 30521lt_prog_compiler_no_builtin_flag_CXX \ 30522lt_prog_compiler_pic_CXX \ 30523lt_prog_compiler_wl_CXX \ 30524lt_prog_compiler_static_CXX \ 30525lt_cv_prog_compiler_c_o_CXX \ 30526export_dynamic_flag_spec_CXX \ 30527whole_archive_flag_spec_CXX \ 30528compiler_needs_object_CXX \ 30529with_gnu_ld_CXX \ 30530allow_undefined_flag_CXX \ 30531no_undefined_flag_CXX \ 30532hardcode_libdir_flag_spec_CXX \ 30533hardcode_libdir_separator_CXX \ 30534exclude_expsyms_CXX \ 30535include_expsyms_CXX \ 30536file_list_spec_CXX \ 30537compiler_lib_search_dirs_CXX \ 30538predep_objects_CXX \ 30539postdep_objects_CXX \ 30540predeps_CXX \ 30541postdeps_CXX \ 30542compiler_lib_search_path_CXX; do 30543 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 30544 *[\\\\\\\`\\"\\\$]*) 30545 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 30546 ;; 30547 *) 30548 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 30549 ;; 30550 esac 30551done 30552 30553# Double-quote double-evaled strings. 30554for var in reload_cmds \ 30555old_postinstall_cmds \ 30556old_postuninstall_cmds \ 30557old_archive_cmds \ 30558extract_expsyms_cmds \ 30559old_archive_from_new_cmds \ 30560old_archive_from_expsyms_cmds \ 30561archive_cmds \ 30562archive_expsym_cmds \ 30563module_cmds \ 30564module_expsym_cmds \ 30565export_symbols_cmds \ 30566prelink_cmds \ 30567postlink_cmds \ 30568postinstall_cmds \ 30569postuninstall_cmds \ 30570finish_cmds \ 30571sys_lib_search_path_spec \ 30572sys_lib_dlsearch_path_spec \ 30573reload_cmds_CXX \ 30574old_archive_cmds_CXX \ 30575old_archive_from_new_cmds_CXX \ 30576old_archive_from_expsyms_cmds_CXX \ 30577archive_cmds_CXX \ 30578archive_expsym_cmds_CXX \ 30579module_cmds_CXX \ 30580module_expsym_cmds_CXX \ 30581export_symbols_cmds_CXX \ 30582prelink_cmds_CXX \ 30583postlink_cmds_CXX; do 30584 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 30585 *[\\\\\\\`\\"\\\$]*) 30586 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 30587 ;; 30588 *) 30589 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 30590 ;; 30591 esac 30592done 30593 30594ac_aux_dir='$ac_aux_dir' 30595xsi_shell='$xsi_shell' 30596lt_shell_append='$lt_shell_append' 30597 30598# See if we are running on zsh, and set the options which allow our 30599# commands through without removal of \ escapes INIT. 30600if test -n "\${ZSH_VERSION+set}" ; then 30601 setopt NO_GLOB_SUBST 30602fi 30603 30604 30605 PACKAGE='$PACKAGE' 30606 VERSION='$VERSION' 30607 TIMESTAMP='$TIMESTAMP' 30608 RM='$RM' 30609 ofile='$ofile' 30610 30611 30612 30613 30614 30615 30616_ACEOF 30617 30618cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30619 30620# Handling of arguments. 30621for ac_config_target in $ac_config_targets 30622do 30623 case $ac_config_target in 30624 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 30625 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 30626 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 30627 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 30628 "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; 30629 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 30630 "var/Makefile") CONFIG_FILES="$CONFIG_FILES var/Makefile" ;; 30631 "lib/dnscore/Makefile") CONFIG_FILES="$CONFIG_FILES lib/dnscore/Makefile" ;; 30632 "lib/dnsdb/Makefile") CONFIG_FILES="$CONFIG_FILES lib/dnsdb/Makefile" ;; 30633 "lib/dnslg/Makefile") CONFIG_FILES="$CONFIG_FILES lib/dnslg/Makefile" ;; 30634 "sbin/yadifad/Makefile") CONFIG_FILES="$CONFIG_FILES sbin/yadifad/Makefile" ;; 30635 "test/circular-file-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/circular-file-test/Makefile" ;; 30636 "test/cjf-scan/Makefile") CONFIG_FILES="$CONFIG_FILES test/cjf-scan/Makefile" ;; 30637 "test/cmdline-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/cmdline-test/Makefile" ;; 30638 "test/collection-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/collection-test/Makefile" ;; 30639 "test/daemonised-logger-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemonised-logger-test/Makefile" ;; 30640 "test/dnskey-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/dnskey-test/Makefile" ;; 30641 "test/dnsname-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/dnsname-test/Makefile" ;; 30642 "test/dnssec-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/dnssec-test/Makefile" ;; 30643 "test/dnsserver-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/dnsserver-test/Makefile" ;; 30644 "test/dsfromkey-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/dsfromkey-test/Makefile" ;; 30645 "test/filepool-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/filepool-test/Makefile" ;; 30646 "test/file-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/file-test/Makefile" ;; 30647 "test/freebsd12-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/freebsd12-test/Makefile" ;; 30648 "test/ipc-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/ipc-test/Makefile" ;; 30649 "test/journal-fusion/Makefile") CONFIG_FILES="$CONFIG_FILES test/journal-fusion/Makefile" ;; 30650 "test/journal-from-ixfr/Makefile") CONFIG_FILES="$CONFIG_FILES test/journal-from-ixfr/Makefile" ;; 30651 "test/journal-speed-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/journal-speed-test/Makefile" ;; 30652 "test/keygen-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/keygen-test/Makefile" ;; 30653 "test/limiter-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/limiter-test/Makefile" ;; 30654 "test/logger-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/logger-test/Makefile" ;; 30655 "test/message-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/message-test/Makefile" ;; 30656 "test/mutex-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/mutex-test/Makefile" ;; 30657 "test/notify-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/notify-test/Makefile" ;; 30658 "test/network-interfaces-forall-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/network-interfaces-forall-test/Makefile" ;; 30659 "test/nsec3-answer/Makefile") CONFIG_FILES="$CONFIG_FILES test/nsec3-answer/Makefile" ;; 30660 "test/nsec3-hash/Makefile") CONFIG_FILES="$CONFIG_FILES test/nsec3-hash/Makefile" ;; 30661 "test/openssl111a-ecdsa-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/openssl111a-ecdsa-test/Makefile" ;; 30662 "test/openssl111a-eddsa-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/openssl111a-eddsa-test/Makefile" ;; 30663 "test/parser-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/parser-test/Makefile" ;; 30664 "test/protocol-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/protocol-test/Makefile" ;; 30665 "test/query-hammer-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/query-hammer-test/Makefile" ;; 30666 "test/rrsig-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/rrsig-test/Makefile" ;; 30667 "test/shared-circular-buffer-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/shared-circular-buffer-test/Makefile" ;; 30668 "test/shared-heap-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/shared-heap-test/Makefile" ;; 30669 "test/simple-http-server-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/simple-http-server-test/Makefile" ;; 30670 "test/skeleton/Makefile") CONFIG_FILES="$CONFIG_FILES test/skeleton/Makefile" ;; 30671 "test/stream-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/stream-test/Makefile" ;; 30672 "test/threaded-queue/Makefile") CONFIG_FILES="$CONFIG_FILES test/threaded-queue/Makefile" ;; 30673 "test/update-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/update-test/Makefile" ;; 30674 "test/xfr/Makefile") CONFIG_FILES="$CONFIG_FILES test/xfr/Makefile" ;; 30675 "test/zone-save-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/zone-save-test/Makefile" ;; 30676 "bin/yadifa/Makefile") CONFIG_FILES="$CONFIG_FILES bin/yadifa/Makefile" ;; 30677 "sbin/yakeyrolld/Makefile") CONFIG_FILES="$CONFIG_FILES sbin/yakeyrolld/Makefile" ;; 30678 30679 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 30680 esac 30681done 30682 30683 30684# If the user did not use the arguments to specify the items to instantiate, 30685# then the envvar interface is used. Set only those that are not. 30686# We use the long form for the default assignment because of an extremely 30687# bizarre bug on SunOS 4.1.3. 30688if $ac_need_defaults; then 30689 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 30690 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 30691 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 30692fi 30693 30694# Have a temporary directory for convenience. Make it in the build tree 30695# simply because there is no reason against having it here, and in addition, 30696# creating and moving files from /tmp can sometimes cause problems. 30697# Hook for its removal unless debugging. 30698# Note that there is a small window in which the directory will not be cleaned: 30699# after its creation but before its name has been assigned to `$tmp'. 30700$debug || 30701{ 30702 tmp= ac_tmp= 30703 trap 'exit_status=$? 30704 : "${ac_tmp:=$tmp}" 30705 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 30706' 0 30707 trap 'as_fn_exit 1' 1 2 13 15 30708} 30709# Create a (secure) tmp directory for tmp files. 30710 30711{ 30712 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 30713 test -d "$tmp" 30714} || 30715{ 30716 tmp=./conf$$-$RANDOM 30717 (umask 077 && mkdir "$tmp") 30718} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 30719ac_tmp=$tmp 30720 30721# Set up the scripts for CONFIG_FILES section. 30722# No need to generate them if there are no CONFIG_FILES. 30723# This happens for instance with `./config.status config.h'. 30724if test -n "$CONFIG_FILES"; then 30725 30726 30727ac_cr=`echo X | tr X '\015'` 30728# On cygwin, bash can eat \r inside `` if the user requested igncr. 30729# But we know of no other shell where ac_cr would be empty at this 30730# point, so we can use a bashism as a fallback. 30731if test "x$ac_cr" = x; then 30732 eval ac_cr=\$\'\\r\' 30733fi 30734ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 30735if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 30736 ac_cs_awk_cr='\\r' 30737else 30738 ac_cs_awk_cr=$ac_cr 30739fi 30740 30741echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 30742_ACEOF 30743 30744 30745{ 30746 echo "cat >conf$$subs.awk <<_ACEOF" && 30747 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 30748 echo "_ACEOF" 30749} >conf$$subs.sh || 30750 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 30751ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 30752ac_delim='%!_!# ' 30753for ac_last_try in false false false false false :; do 30754 . ./conf$$subs.sh || 30755 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 30756 30757 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 30758 if test $ac_delim_n = $ac_delim_num; then 30759 break 30760 elif $ac_last_try; then 30761 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 30762 else 30763 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 30764 fi 30765done 30766rm -f conf$$subs.sh 30767 30768cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30769cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 30770_ACEOF 30771sed -n ' 30772h 30773s/^/S["/; s/!.*/"]=/ 30774p 30775g 30776s/^[^!]*!// 30777:repl 30778t repl 30779s/'"$ac_delim"'$// 30780t delim 30781:nl 30782h 30783s/\(.\{148\}\)..*/\1/ 30784t more1 30785s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 30786p 30787n 30788b repl 30789:more1 30790s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 30791p 30792g 30793s/.\{148\}// 30794t nl 30795:delim 30796h 30797s/\(.\{148\}\)..*/\1/ 30798t more2 30799s/["\\]/\\&/g; s/^/"/; s/$/"/ 30800p 30801b 30802:more2 30803s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 30804p 30805g 30806s/.\{148\}// 30807t delim 30808' <conf$$subs.awk | sed ' 30809/^[^""]/{ 30810 N 30811 s/\n// 30812} 30813' >>$CONFIG_STATUS || ac_write_fail=1 30814rm -f conf$$subs.awk 30815cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30816_ACAWK 30817cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 30818 for (key in S) S_is_set[key] = 1 30819 FS = "" 30820 30821} 30822{ 30823 line = $ 0 30824 nfields = split(line, field, "@") 30825 substed = 0 30826 len = length(field[1]) 30827 for (i = 2; i < nfields; i++) { 30828 key = field[i] 30829 keylen = length(key) 30830 if (S_is_set[key]) { 30831 value = S[key] 30832 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 30833 len += length(value) + length(field[++i]) 30834 substed = 1 30835 } else 30836 len += 1 + keylen 30837 } 30838 30839 print line 30840} 30841 30842_ACAWK 30843_ACEOF 30844cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30845if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 30846 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 30847else 30848 cat 30849fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 30850 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 30851_ACEOF 30852 30853# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 30854# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 30855# trailing colons and then remove the whole line if VPATH becomes empty 30856# (actually we leave an empty line to preserve line numbers). 30857if test "x$srcdir" = x.; then 30858 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 30859h 30860s/// 30861s/^/:/ 30862s/[ ]*$/:/ 30863s/:\$(srcdir):/:/g 30864s/:\${srcdir}:/:/g 30865s/:@srcdir@:/:/g 30866s/^:*// 30867s/:*$// 30868x 30869s/\(=[ ]*\).*/\1/ 30870G 30871s/\n// 30872s/^[^=]*=[ ]*$// 30873}' 30874fi 30875 30876cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30877fi # test -n "$CONFIG_FILES" 30878 30879# Set up the scripts for CONFIG_HEADERS section. 30880# No need to generate them if there are no CONFIG_HEADERS. 30881# This happens for instance with `./config.status Makefile'. 30882if test -n "$CONFIG_HEADERS"; then 30883cat >"$ac_tmp/defines.awk" <<\_ACAWK || 30884BEGIN { 30885_ACEOF 30886 30887# Transform confdefs.h into an awk script `defines.awk', embedded as 30888# here-document in config.status, that substitutes the proper values into 30889# config.h.in to produce config.h. 30890 30891# Create a delimiter string that does not exist in confdefs.h, to ease 30892# handling of long lines. 30893ac_delim='%!_!# ' 30894for ac_last_try in false false :; do 30895 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 30896 if test -z "$ac_tt"; then 30897 break 30898 elif $ac_last_try; then 30899 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 30900 else 30901 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 30902 fi 30903done 30904 30905# For the awk script, D is an array of macro values keyed by name, 30906# likewise P contains macro parameters if any. Preserve backslash 30907# newline sequences. 30908 30909ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 30910sed -n ' 30911s/.\{148\}/&'"$ac_delim"'/g 30912t rset 30913:rset 30914s/^[ ]*#[ ]*define[ ][ ]*/ / 30915t def 30916d 30917:def 30918s/\\$// 30919t bsnl 30920s/["\\]/\\&/g 30921s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 30922D["\1"]=" \3"/p 30923s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 30924d 30925:bsnl 30926s/["\\]/\\&/g 30927s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 30928D["\1"]=" \3\\\\\\n"\\/p 30929t cont 30930s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 30931t cont 30932d 30933:cont 30934n 30935s/.\{148\}/&'"$ac_delim"'/g 30936t clear 30937:clear 30938s/\\$// 30939t bsnlc 30940s/["\\]/\\&/g; s/^/"/; s/$/"/p 30941d 30942:bsnlc 30943s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 30944b cont 30945' <confdefs.h | sed ' 30946s/'"$ac_delim"'/"\\\ 30947"/g' >>$CONFIG_STATUS || ac_write_fail=1 30948 30949cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30950 for (key in D) D_is_set[key] = 1 30951 FS = "" 30952} 30953/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 30954 line = \$ 0 30955 split(line, arg, " ") 30956 if (arg[1] == "#") { 30957 defundef = arg[2] 30958 mac1 = arg[3] 30959 } else { 30960 defundef = substr(arg[1], 2) 30961 mac1 = arg[2] 30962 } 30963 split(mac1, mac2, "(") #) 30964 macro = mac2[1] 30965 prefix = substr(line, 1, index(line, defundef) - 1) 30966 if (D_is_set[macro]) { 30967 # Preserve the white space surrounding the "#". 30968 print prefix "define", macro P[macro] D[macro] 30969 next 30970 } else { 30971 # Replace #undef with comments. This is necessary, for example, 30972 # in the case of _POSIX_SOURCE, which is predefined and required 30973 # on some systems where configure will not decide to define it. 30974 if (defundef == "undef") { 30975 print "/*", prefix defundef, macro, "*/" 30976 next 30977 } 30978 } 30979} 30980{ print } 30981_ACAWK 30982_ACEOF 30983cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30984 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 30985fi # test -n "$CONFIG_HEADERS" 30986 30987 30988eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 30989shift 30990for ac_tag 30991do 30992 case $ac_tag in 30993 :[FHLC]) ac_mode=$ac_tag; continue;; 30994 esac 30995 case $ac_mode$ac_tag in 30996 :[FHL]*:*);; 30997 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 30998 :[FH]-) ac_tag=-:-;; 30999 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 31000 esac 31001 ac_save_IFS=$IFS 31002 IFS=: 31003 set x $ac_tag 31004 IFS=$ac_save_IFS 31005 shift 31006 ac_file=$1 31007 shift 31008 31009 case $ac_mode in 31010 :L) ac_source=$1;; 31011 :[FH]) 31012 ac_file_inputs= 31013 for ac_f 31014 do 31015 case $ac_f in 31016 -) ac_f="$ac_tmp/stdin";; 31017 *) # Look for the file first in the build tree, then in the source tree 31018 # (if the path is not absolute). The absolute path cannot be DOS-style, 31019 # because $ac_f cannot contain `:'. 31020 test -f "$ac_f" || 31021 case $ac_f in 31022 [\\/$]*) false;; 31023 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 31024 esac || 31025 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 31026 esac 31027 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 31028 as_fn_append ac_file_inputs " '$ac_f'" 31029 done 31030 31031 # Let's still pretend it is `configure' which instantiates (i.e., don't 31032 # use $as_me), people would be surprised to read: 31033 # /* config.h. Generated by config.status. */ 31034 configure_input='Generated from '` 31035 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 31036 `' by configure.' 31037 if test x"$ac_file" != x-; then 31038 configure_input="$ac_file. $configure_input" 31039 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 31040$as_echo "$as_me: creating $ac_file" >&6;} 31041 fi 31042 # Neutralize special characters interpreted by sed in replacement strings. 31043 case $configure_input in #( 31044 *\&* | *\|* | *\\* ) 31045 ac_sed_conf_input=`$as_echo "$configure_input" | 31046 sed 's/[\\\\&|]/\\\\&/g'`;; #( 31047 *) ac_sed_conf_input=$configure_input;; 31048 esac 31049 31050 case $ac_tag in 31051 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 31052 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 31053 esac 31054 ;; 31055 esac 31056 31057 ac_dir=`$as_dirname -- "$ac_file" || 31058$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 31059 X"$ac_file" : 'X\(//\)[^/]' \| \ 31060 X"$ac_file" : 'X\(//\)$' \| \ 31061 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 31062$as_echo X"$ac_file" | 31063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31064 s//\1/ 31065 q 31066 } 31067 /^X\(\/\/\)[^/].*/{ 31068 s//\1/ 31069 q 31070 } 31071 /^X\(\/\/\)$/{ 31072 s//\1/ 31073 q 31074 } 31075 /^X\(\/\).*/{ 31076 s//\1/ 31077 q 31078 } 31079 s/.*/./; q'` 31080 as_dir="$ac_dir"; as_fn_mkdir_p 31081 ac_builddir=. 31082 31083case "$ac_dir" in 31084.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 31085*) 31086 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 31087 # A ".." for each directory in $ac_dir_suffix. 31088 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 31089 case $ac_top_builddir_sub in 31090 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 31091 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 31092 esac ;; 31093esac 31094ac_abs_top_builddir=$ac_pwd 31095ac_abs_builddir=$ac_pwd$ac_dir_suffix 31096# for backward compatibility: 31097ac_top_builddir=$ac_top_build_prefix 31098 31099case $srcdir in 31100 .) # We are building in place. 31101 ac_srcdir=. 31102 ac_top_srcdir=$ac_top_builddir_sub 31103 ac_abs_top_srcdir=$ac_pwd ;; 31104 [\\/]* | ?:[\\/]* ) # Absolute name. 31105 ac_srcdir=$srcdir$ac_dir_suffix; 31106 ac_top_srcdir=$srcdir 31107 ac_abs_top_srcdir=$srcdir ;; 31108 *) # Relative name. 31109 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 31110 ac_top_srcdir=$ac_top_build_prefix$srcdir 31111 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 31112esac 31113ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 31114 31115 31116 case $ac_mode in 31117 :F) 31118 # 31119 # CONFIG_FILE 31120 # 31121 31122 case $INSTALL in 31123 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 31124 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 31125 esac 31126 ac_MKDIR_P=$MKDIR_P 31127 case $MKDIR_P in 31128 [\\/$]* | ?:[\\/]* ) ;; 31129 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 31130 esac 31131_ACEOF 31132 31133cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 31134# If the template does not know about datarootdir, expand it. 31135# FIXME: This hack should be removed a few years after 2.60. 31136ac_datarootdir_hack=; ac_datarootdir_seen= 31137ac_sed_dataroot=' 31138/datarootdir/ { 31139 p 31140 q 31141} 31142/@datadir@/p 31143/@docdir@/p 31144/@infodir@/p 31145/@localedir@/p 31146/@mandir@/p' 31147case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 31148*datarootdir*) ac_datarootdir_seen=yes;; 31149*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 31150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 31151$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 31152_ACEOF 31153cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 31154 ac_datarootdir_hack=' 31155 s&@datadir@&$datadir&g 31156 s&@docdir@&$docdir&g 31157 s&@infodir@&$infodir&g 31158 s&@localedir@&$localedir&g 31159 s&@mandir@&$mandir&g 31160 s&\\\${datarootdir}&$datarootdir&g' ;; 31161esac 31162_ACEOF 31163 31164# Neutralize VPATH when `$srcdir' = `.'. 31165# Shell code in configure.ac might set extrasub. 31166# FIXME: do we really want to maintain this feature? 31167cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 31168ac_sed_extra="$ac_vpsub 31169$extrasub 31170_ACEOF 31171cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 31172:t 31173/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 31174s|@configure_input@|$ac_sed_conf_input|;t t 31175s&@top_builddir@&$ac_top_builddir_sub&;t t 31176s&@top_build_prefix@&$ac_top_build_prefix&;t t 31177s&@srcdir@&$ac_srcdir&;t t 31178s&@abs_srcdir@&$ac_abs_srcdir&;t t 31179s&@top_srcdir@&$ac_top_srcdir&;t t 31180s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 31181s&@builddir@&$ac_builddir&;t t 31182s&@abs_builddir@&$ac_abs_builddir&;t t 31183s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 31184s&@INSTALL@&$ac_INSTALL&;t t 31185s&@MKDIR_P@&$ac_MKDIR_P&;t t 31186$ac_datarootdir_hack 31187" 31188eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 31189 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 31190 31191test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 31192 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 31193 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 31194 "$ac_tmp/out"`; test -z "$ac_out"; } && 31195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 31196which seems to be undefined. Please make sure it is defined" >&5 31197$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 31198which seems to be undefined. Please make sure it is defined" >&2;} 31199 31200 rm -f "$ac_tmp/stdin" 31201 case $ac_file in 31202 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 31203 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 31204 esac \ 31205 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 31206 ;; 31207 :H) 31208 # 31209 # CONFIG_HEADER 31210 # 31211 if test x"$ac_file" != x-; then 31212 { 31213 $as_echo "/* $configure_input */" \ 31214 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 31215 } >"$ac_tmp/config.h" \ 31216 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 31217 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 31218 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 31219$as_echo "$as_me: $ac_file is unchanged" >&6;} 31220 else 31221 rm -f "$ac_file" 31222 mv "$ac_tmp/config.h" "$ac_file" \ 31223 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 31224 fi 31225 else 31226 $as_echo "/* $configure_input */" \ 31227 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 31228 || as_fn_error $? "could not create -" "$LINENO" 5 31229 fi 31230# Compute "$ac_file"'s index in $config_headers. 31231_am_arg="$ac_file" 31232_am_stamp_count=1 31233for _am_header in $config_headers :; do 31234 case $_am_header in 31235 $_am_arg | $_am_arg:* ) 31236 break ;; 31237 * ) 31238 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 31239 esac 31240done 31241echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 31242$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 31243 X"$_am_arg" : 'X\(//\)[^/]' \| \ 31244 X"$_am_arg" : 'X\(//\)$' \| \ 31245 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 31246$as_echo X"$_am_arg" | 31247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31248 s//\1/ 31249 q 31250 } 31251 /^X\(\/\/\)[^/].*/{ 31252 s//\1/ 31253 q 31254 } 31255 /^X\(\/\/\)$/{ 31256 s//\1/ 31257 q 31258 } 31259 /^X\(\/\).*/{ 31260 s//\1/ 31261 q 31262 } 31263 s/.*/./; q'`/stamp-h$_am_stamp_count 31264 ;; 31265 31266 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 31267$as_echo "$as_me: executing $ac_file commands" >&6;} 31268 ;; 31269 esac 31270 31271 31272 case $ac_file$ac_mode in 31273 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 31274 # Older Autoconf quotes --file arguments for eval, but not when files 31275 # are listed without --file. Let's play safe and only enable the eval 31276 # if we detect the quoting. 31277 case $CONFIG_FILES in 31278 *\'*) eval set x "$CONFIG_FILES" ;; 31279 *) set x $CONFIG_FILES ;; 31280 esac 31281 shift 31282 for mf 31283 do 31284 # Strip MF so we end up with the name of the file. 31285 mf=`echo "$mf" | sed -e 's/:.*$//'` 31286 # Check whether this is an Automake generated Makefile or not. 31287 # We used to match only the files named 'Makefile.in', but 31288 # some people rename them; so instead we look at the file content. 31289 # Grep'ing the first line is not enough: some people post-process 31290 # each Makefile.in and add a new line on top of each file to say so. 31291 # Grep'ing the whole file is not good either: AIX grep has a line 31292 # limit of 2048, but all sed's we know have understand at least 4000. 31293 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 31294 dirpart=`$as_dirname -- "$mf" || 31295$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 31296 X"$mf" : 'X\(//\)[^/]' \| \ 31297 X"$mf" : 'X\(//\)$' \| \ 31298 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 31299$as_echo X"$mf" | 31300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31301 s//\1/ 31302 q 31303 } 31304 /^X\(\/\/\)[^/].*/{ 31305 s//\1/ 31306 q 31307 } 31308 /^X\(\/\/\)$/{ 31309 s//\1/ 31310 q 31311 } 31312 /^X\(\/\).*/{ 31313 s//\1/ 31314 q 31315 } 31316 s/.*/./; q'` 31317 else 31318 continue 31319 fi 31320 # Extract the definition of DEPDIR, am__include, and am__quote 31321 # from the Makefile without running 'make'. 31322 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 31323 test -z "$DEPDIR" && continue 31324 am__include=`sed -n 's/^am__include = //p' < "$mf"` 31325 test -z "$am__include" && continue 31326 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 31327 # Find all dependency output files, they are included files with 31328 # $(DEPDIR) in their names. We invoke sed twice because it is the 31329 # simplest approach to changing $(DEPDIR) to its actual value in the 31330 # expansion. 31331 for file in `sed -n " 31332 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 31333 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 31334 # Make sure the directory exists. 31335 test -f "$dirpart/$file" && continue 31336 fdir=`$as_dirname -- "$file" || 31337$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 31338 X"$file" : 'X\(//\)[^/]' \| \ 31339 X"$file" : 'X\(//\)$' \| \ 31340 X"$file" : 'X\(/\)' \| . 2>/dev/null || 31341$as_echo X"$file" | 31342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31343 s//\1/ 31344 q 31345 } 31346 /^X\(\/\/\)[^/].*/{ 31347 s//\1/ 31348 q 31349 } 31350 /^X\(\/\/\)$/{ 31351 s//\1/ 31352 q 31353 } 31354 /^X\(\/\).*/{ 31355 s//\1/ 31356 q 31357 } 31358 s/.*/./; q'` 31359 as_dir=$dirpart/$fdir; as_fn_mkdir_p 31360 # echo "creating $dirpart/$file" 31361 echo '# dummy' > "$dirpart/$file" 31362 done 31363 done 31364} 31365 ;; 31366 "libtool":C) 31367 31368 # See if we are running on zsh, and set the options which allow our 31369 # commands through without removal of \ escapes. 31370 if test -n "${ZSH_VERSION+set}" ; then 31371 setopt NO_GLOB_SUBST 31372 fi 31373 31374 cfgfile="${ofile}T" 31375 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 31376 $RM "$cfgfile" 31377 31378 cat <<_LT_EOF >> "$cfgfile" 31379#! $SHELL 31380 31381# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 31382# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 31383# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 31384# NOTE: Changes made to this file will be lost: look at ltmain.sh. 31385# 31386# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 31387# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 31388# Foundation, Inc. 31389# Written by Gordon Matzigkeit, 1996 31390# 31391# This file is part of GNU Libtool. 31392# 31393# GNU Libtool is free software; you can redistribute it and/or 31394# modify it under the terms of the GNU General Public License as 31395# published by the Free Software Foundation; either version 2 of 31396# the License, or (at your option) any later version. 31397# 31398# As a special exception to the GNU General Public License, 31399# if you distribute this file as part of a program or library that 31400# is built using GNU Libtool, you may include this file under the 31401# same distribution terms that you use for the rest of that program. 31402# 31403# GNU Libtool is distributed in the hope that it will be useful, 31404# but WITHOUT ANY WARRANTY; without even the implied warranty of 31405# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 31406# GNU General Public License for more details. 31407# 31408# You should have received a copy of the GNU General Public License 31409# along with GNU Libtool; see the file COPYING. If not, a copy 31410# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 31411# obtained by writing to the Free Software Foundation, Inc., 31412# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 31413 31414 31415# The names of the tagged configurations supported by this script. 31416available_tags="CXX " 31417 31418# ### BEGIN LIBTOOL CONFIG 31419 31420# Which release of libtool.m4 was used? 31421macro_version=$macro_version 31422macro_revision=$macro_revision 31423 31424# Whether or not to build shared libraries. 31425build_libtool_libs=$enable_shared 31426 31427# Whether or not to build static libraries. 31428build_old_libs=$enable_static 31429 31430# What type of objects to build. 31431pic_mode=$pic_mode 31432 31433# Whether or not to optimize for fast installation. 31434fast_install=$enable_fast_install 31435 31436# Shell to use when invoking shell scripts. 31437SHELL=$lt_SHELL 31438 31439# An echo program that protects backslashes. 31440ECHO=$lt_ECHO 31441 31442# The PATH separator for the build system. 31443PATH_SEPARATOR=$lt_PATH_SEPARATOR 31444 31445# The host system. 31446host_alias=$host_alias 31447host=$host 31448host_os=$host_os 31449 31450# The build system. 31451build_alias=$build_alias 31452build=$build 31453build_os=$build_os 31454 31455# A sed program that does not truncate output. 31456SED=$lt_SED 31457 31458# Sed that helps us avoid accidentally triggering echo(1) options like -n. 31459Xsed="\$SED -e 1s/^X//" 31460 31461# A grep program that handles long lines. 31462GREP=$lt_GREP 31463 31464# An ERE matcher. 31465EGREP=$lt_EGREP 31466 31467# A literal string matcher. 31468FGREP=$lt_FGREP 31469 31470# A BSD- or MS-compatible name lister. 31471NM=$lt_NM 31472 31473# Whether we need soft or hard links. 31474LN_S=$lt_LN_S 31475 31476# What is the maximum length of a command? 31477max_cmd_len=$max_cmd_len 31478 31479# Object file suffix (normally "o"). 31480objext=$ac_objext 31481 31482# Executable file suffix (normally ""). 31483exeext=$exeext 31484 31485# whether the shell understands "unset". 31486lt_unset=$lt_unset 31487 31488# turn spaces into newlines. 31489SP2NL=$lt_lt_SP2NL 31490 31491# turn newlines into spaces. 31492NL2SP=$lt_lt_NL2SP 31493 31494# convert \$build file names to \$host format. 31495to_host_file_cmd=$lt_cv_to_host_file_cmd 31496 31497# convert \$build files to toolchain format. 31498to_tool_file_cmd=$lt_cv_to_tool_file_cmd 31499 31500# An object symbol dumper. 31501OBJDUMP=$lt_OBJDUMP 31502 31503# Method to check whether dependent libraries are shared objects. 31504deplibs_check_method=$lt_deplibs_check_method 31505 31506# Command to use when deplibs_check_method = "file_magic". 31507file_magic_cmd=$lt_file_magic_cmd 31508 31509# How to find potential files when deplibs_check_method = "file_magic". 31510file_magic_glob=$lt_file_magic_glob 31511 31512# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 31513want_nocaseglob=$lt_want_nocaseglob 31514 31515# DLL creation program. 31516DLLTOOL=$lt_DLLTOOL 31517 31518# Command to associate shared and link libraries. 31519sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 31520 31521# The archiver. 31522AR=$lt_AR 31523 31524# Flags to create an archive. 31525AR_FLAGS=$lt_AR_FLAGS 31526 31527# How to feed a file listing to the archiver. 31528archiver_list_spec=$lt_archiver_list_spec 31529 31530# A symbol stripping program. 31531STRIP=$lt_STRIP 31532 31533# Commands used to install an old-style archive. 31534RANLIB=$lt_RANLIB 31535old_postinstall_cmds=$lt_old_postinstall_cmds 31536old_postuninstall_cmds=$lt_old_postuninstall_cmds 31537 31538# Whether to use a lock for old archive extraction. 31539lock_old_archive_extraction=$lock_old_archive_extraction 31540 31541# A C compiler. 31542LTCC=$lt_CC 31543 31544# LTCC compiler flags. 31545LTCFLAGS=$lt_CFLAGS 31546 31547# Take the output of nm and produce a listing of raw symbols and C names. 31548global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 31549 31550# Transform the output of nm in a proper C declaration. 31551global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 31552 31553# Transform the output of nm in a C name address pair. 31554global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 31555 31556# Transform the output of nm in a C name address pair when lib prefix is needed. 31557global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 31558 31559# Specify filename containing input files for \$NM. 31560nm_file_list_spec=$lt_nm_file_list_spec 31561 31562# The root where to search for dependent libraries,and in which our libraries should be installed. 31563lt_sysroot=$lt_sysroot 31564 31565# The name of the directory that contains temporary libtool files. 31566objdir=$objdir 31567 31568# Used to examine libraries when file_magic_cmd begins with "file". 31569MAGIC_CMD=$MAGIC_CMD 31570 31571# Must we lock files when doing compilation? 31572need_locks=$lt_need_locks 31573 31574# Manifest tool. 31575MANIFEST_TOOL=$lt_MANIFEST_TOOL 31576 31577# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 31578DSYMUTIL=$lt_DSYMUTIL 31579 31580# Tool to change global to local symbols on Mac OS X. 31581NMEDIT=$lt_NMEDIT 31582 31583# Tool to manipulate fat objects and archives on Mac OS X. 31584LIPO=$lt_LIPO 31585 31586# ldd/readelf like tool for Mach-O binaries on Mac OS X. 31587OTOOL=$lt_OTOOL 31588 31589# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 31590OTOOL64=$lt_OTOOL64 31591 31592# Old archive suffix (normally "a"). 31593libext=$libext 31594 31595# Shared library suffix (normally ".so"). 31596shrext_cmds=$lt_shrext_cmds 31597 31598# The commands to extract the exported symbol list from a shared archive. 31599extract_expsyms_cmds=$lt_extract_expsyms_cmds 31600 31601# Variables whose values should be saved in libtool wrapper scripts and 31602# restored at link time. 31603variables_saved_for_relink=$lt_variables_saved_for_relink 31604 31605# Do we need the "lib" prefix for modules? 31606need_lib_prefix=$need_lib_prefix 31607 31608# Do we need a version for libraries? 31609need_version=$need_version 31610 31611# Library versioning type. 31612version_type=$version_type 31613 31614# Shared library runtime path variable. 31615runpath_var=$runpath_var 31616 31617# Shared library path variable. 31618shlibpath_var=$shlibpath_var 31619 31620# Is shlibpath searched before the hard-coded library search path? 31621shlibpath_overrides_runpath=$shlibpath_overrides_runpath 31622 31623# Format of library name prefix. 31624libname_spec=$lt_libname_spec 31625 31626# List of archive names. First name is the real one, the rest are links. 31627# The last name is the one that the linker finds with -lNAME 31628library_names_spec=$lt_library_names_spec 31629 31630# The coded name of the library, if different from the real name. 31631soname_spec=$lt_soname_spec 31632 31633# Permission mode override for installation of shared libraries. 31634install_override_mode=$lt_install_override_mode 31635 31636# Command to use after installation of a shared archive. 31637postinstall_cmds=$lt_postinstall_cmds 31638 31639# Command to use after uninstallation of a shared archive. 31640postuninstall_cmds=$lt_postuninstall_cmds 31641 31642# Commands used to finish a libtool library installation in a directory. 31643finish_cmds=$lt_finish_cmds 31644 31645# As "finish_cmds", except a single script fragment to be evaled but 31646# not shown. 31647finish_eval=$lt_finish_eval 31648 31649# Whether we should hardcode library paths into libraries. 31650hardcode_into_libs=$hardcode_into_libs 31651 31652# Compile-time system search path for libraries. 31653sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 31654 31655# Run-time system search path for libraries. 31656sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 31657 31658# Whether dlopen is supported. 31659dlopen_support=$enable_dlopen 31660 31661# Whether dlopen of programs is supported. 31662dlopen_self=$enable_dlopen_self 31663 31664# Whether dlopen of statically linked programs is supported. 31665dlopen_self_static=$enable_dlopen_self_static 31666 31667# Commands to strip libraries. 31668old_striplib=$lt_old_striplib 31669striplib=$lt_striplib 31670 31671 31672# The linker used to build libraries. 31673LD=$lt_LD 31674 31675# How to create reloadable object files. 31676reload_flag=$lt_reload_flag 31677reload_cmds=$lt_reload_cmds 31678 31679# Commands used to build an old-style archive. 31680old_archive_cmds=$lt_old_archive_cmds 31681 31682# A language specific compiler. 31683CC=$lt_compiler 31684 31685# Is the compiler the GNU compiler? 31686with_gcc=$GCC 31687 31688# Compiler flag to turn off builtin functions. 31689no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 31690 31691# Additional compiler flags for building library objects. 31692pic_flag=$lt_lt_prog_compiler_pic 31693 31694# How to pass a linker flag through the compiler. 31695wl=$lt_lt_prog_compiler_wl 31696 31697# Compiler flag to prevent dynamic linking. 31698link_static_flag=$lt_lt_prog_compiler_static 31699 31700# Does compiler simultaneously support -c and -o options? 31701compiler_c_o=$lt_lt_cv_prog_compiler_c_o 31702 31703# Whether or not to add -lc for building shared libraries. 31704build_libtool_need_lc=$archive_cmds_need_lc 31705 31706# Whether or not to disallow shared libs when runtime libs are static. 31707allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 31708 31709# Compiler flag to allow reflexive dlopens. 31710export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 31711 31712# Compiler flag to generate shared objects directly from archives. 31713whole_archive_flag_spec=$lt_whole_archive_flag_spec 31714 31715# Whether the compiler copes with passing no objects directly. 31716compiler_needs_object=$lt_compiler_needs_object 31717 31718# Create an old-style archive from a shared archive. 31719old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 31720 31721# Create a temporary old-style archive to link instead of a shared archive. 31722old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 31723 31724# Commands used to build a shared archive. 31725archive_cmds=$lt_archive_cmds 31726archive_expsym_cmds=$lt_archive_expsym_cmds 31727 31728# Commands used to build a loadable module if different from building 31729# a shared archive. 31730module_cmds=$lt_module_cmds 31731module_expsym_cmds=$lt_module_expsym_cmds 31732 31733# Whether we are building with GNU ld or not. 31734with_gnu_ld=$lt_with_gnu_ld 31735 31736# Flag that allows shared libraries with undefined symbols to be built. 31737allow_undefined_flag=$lt_allow_undefined_flag 31738 31739# Flag that enforces no undefined symbols. 31740no_undefined_flag=$lt_no_undefined_flag 31741 31742# Flag to hardcode \$libdir into a binary during linking. 31743# This must work even if \$libdir does not exist 31744hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 31745 31746# Whether we need a single "-rpath" flag with a separated argument. 31747hardcode_libdir_separator=$lt_hardcode_libdir_separator 31748 31749# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 31750# DIR into the resulting binary. 31751hardcode_direct=$hardcode_direct 31752 31753# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 31754# DIR into the resulting binary and the resulting library dependency is 31755# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 31756# library is relocated. 31757hardcode_direct_absolute=$hardcode_direct_absolute 31758 31759# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 31760# into the resulting binary. 31761hardcode_minus_L=$hardcode_minus_L 31762 31763# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 31764# into the resulting binary. 31765hardcode_shlibpath_var=$hardcode_shlibpath_var 31766 31767# Set to "yes" if building a shared library automatically hardcodes DIR 31768# into the library and all subsequent libraries and executables linked 31769# against it. 31770hardcode_automatic=$hardcode_automatic 31771 31772# Set to yes if linker adds runtime paths of dependent libraries 31773# to runtime path list. 31774inherit_rpath=$inherit_rpath 31775 31776# Whether libtool must link a program against all its dependency libraries. 31777link_all_deplibs=$link_all_deplibs 31778 31779# Set to "yes" if exported symbols are required. 31780always_export_symbols=$always_export_symbols 31781 31782# The commands to list exported symbols. 31783export_symbols_cmds=$lt_export_symbols_cmds 31784 31785# Symbols that should not be listed in the preloaded symbols. 31786exclude_expsyms=$lt_exclude_expsyms 31787 31788# Symbols that must always be exported. 31789include_expsyms=$lt_include_expsyms 31790 31791# Commands necessary for linking programs (against libraries) with templates. 31792prelink_cmds=$lt_prelink_cmds 31793 31794# Commands necessary for finishing linking programs. 31795postlink_cmds=$lt_postlink_cmds 31796 31797# Specify filename containing input files. 31798file_list_spec=$lt_file_list_spec 31799 31800# How to hardcode a shared library path into an executable. 31801hardcode_action=$hardcode_action 31802 31803# The directories searched by this compiler when creating a shared library. 31804compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 31805 31806# Dependencies to place before and after the objects being linked to 31807# create a shared library. 31808predep_objects=$lt_predep_objects 31809postdep_objects=$lt_postdep_objects 31810predeps=$lt_predeps 31811postdeps=$lt_postdeps 31812 31813# The library search path used internally by the compiler when linking 31814# a shared library. 31815compiler_lib_search_path=$lt_compiler_lib_search_path 31816 31817# ### END LIBTOOL CONFIG 31818 31819_LT_EOF 31820 31821 case $host_os in 31822 aix3*) 31823 cat <<\_LT_EOF >> "$cfgfile" 31824# AIX sometimes has problems with the GCC collect2 program. For some 31825# reason, if we set the COLLECT_NAMES environment variable, the problems 31826# vanish in a puff of smoke. 31827if test "X${COLLECT_NAMES+set}" != Xset; then 31828 COLLECT_NAMES= 31829 export COLLECT_NAMES 31830fi 31831_LT_EOF 31832 ;; 31833 esac 31834 31835 31836ltmain="$ac_aux_dir/ltmain.sh" 31837 31838 31839 # We use sed instead of cat because bash on DJGPP gets confused if 31840 # if finds mixed CR/LF and LF-only lines. Since sed operates in 31841 # text mode, it properly converts lines to CR/LF. This bash problem 31842 # is reportedly fixed, but why not run on old versions too? 31843 sed '$q' "$ltmain" >> "$cfgfile" \ 31844 || (rm -f "$cfgfile"; exit 1) 31845 31846 if test x"$xsi_shell" = xyes; then 31847 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 31848func_dirname ()\ 31849{\ 31850\ case ${1} in\ 31851\ */*) func_dirname_result="${1%/*}${2}" ;;\ 31852\ * ) func_dirname_result="${3}" ;;\ 31853\ esac\ 31854} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 31855 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31856 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31857test 0 -eq $? || _lt_function_replace_fail=: 31858 31859 31860 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 31861func_basename ()\ 31862{\ 31863\ func_basename_result="${1##*/}"\ 31864} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 31865 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31866 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31867test 0 -eq $? || _lt_function_replace_fail=: 31868 31869 31870 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 31871func_dirname_and_basename ()\ 31872{\ 31873\ case ${1} in\ 31874\ */*) func_dirname_result="${1%/*}${2}" ;;\ 31875\ * ) func_dirname_result="${3}" ;;\ 31876\ esac\ 31877\ func_basename_result="${1##*/}"\ 31878} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 31879 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31880 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31881test 0 -eq $? || _lt_function_replace_fail=: 31882 31883 31884 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 31885func_stripname ()\ 31886{\ 31887\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 31888\ # positional parameters, so assign one to ordinary parameter first.\ 31889\ func_stripname_result=${3}\ 31890\ func_stripname_result=${func_stripname_result#"${1}"}\ 31891\ func_stripname_result=${func_stripname_result%"${2}"}\ 31892} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 31893 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31894 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31895test 0 -eq $? || _lt_function_replace_fail=: 31896 31897 31898 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 31899func_split_long_opt ()\ 31900{\ 31901\ func_split_long_opt_name=${1%%=*}\ 31902\ func_split_long_opt_arg=${1#*=}\ 31903} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 31904 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31905 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31906test 0 -eq $? || _lt_function_replace_fail=: 31907 31908 31909 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 31910func_split_short_opt ()\ 31911{\ 31912\ func_split_short_opt_arg=${1#??}\ 31913\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 31914} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 31915 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31916 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31917test 0 -eq $? || _lt_function_replace_fail=: 31918 31919 31920 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 31921func_lo2o ()\ 31922{\ 31923\ case ${1} in\ 31924\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 31925\ *) func_lo2o_result=${1} ;;\ 31926\ esac\ 31927} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 31928 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31929 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31930test 0 -eq $? || _lt_function_replace_fail=: 31931 31932 31933 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 31934func_xform ()\ 31935{\ 31936 func_xform_result=${1%.*}.lo\ 31937} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 31938 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31939 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31940test 0 -eq $? || _lt_function_replace_fail=: 31941 31942 31943 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 31944func_arith ()\ 31945{\ 31946 func_arith_result=$(( $* ))\ 31947} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 31948 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31949 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31950test 0 -eq $? || _lt_function_replace_fail=: 31951 31952 31953 sed -e '/^func_len ()$/,/^} # func_len /c\ 31954func_len ()\ 31955{\ 31956 func_len_result=${#1}\ 31957} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 31958 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31959 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31960test 0 -eq $? || _lt_function_replace_fail=: 31961 31962fi 31963 31964if test x"$lt_shell_append" = xyes; then 31965 sed -e '/^func_append ()$/,/^} # func_append /c\ 31966func_append ()\ 31967{\ 31968 eval "${1}+=\\${2}"\ 31969} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 31970 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31971 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31972test 0 -eq $? || _lt_function_replace_fail=: 31973 31974 31975 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 31976func_append_quoted ()\ 31977{\ 31978\ func_quote_for_eval "${2}"\ 31979\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 31980} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 31981 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31982 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31983test 0 -eq $? || _lt_function_replace_fail=: 31984 31985 31986 # Save a `func_append' function call where possible by direct use of '+=' 31987 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 31988 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31989 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31990 test 0 -eq $? || _lt_function_replace_fail=: 31991else 31992 # Save a `func_append' function call even when '+=' is not available 31993 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 31994 && mv -f "$cfgfile.tmp" "$cfgfile" \ 31995 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 31996 test 0 -eq $? || _lt_function_replace_fail=: 31997fi 31998 31999if test x"$_lt_function_replace_fail" = x":"; then 32000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 32001$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 32002fi 32003 32004 32005 mv -f "$cfgfile" "$ofile" || 32006 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 32007 chmod +x "$ofile" 32008 32009 32010 cat <<_LT_EOF >> "$ofile" 32011 32012# ### BEGIN LIBTOOL TAG CONFIG: CXX 32013 32014# The linker used to build libraries. 32015LD=$lt_LD_CXX 32016 32017# How to create reloadable object files. 32018reload_flag=$lt_reload_flag_CXX 32019reload_cmds=$lt_reload_cmds_CXX 32020 32021# Commands used to build an old-style archive. 32022old_archive_cmds=$lt_old_archive_cmds_CXX 32023 32024# A language specific compiler. 32025CC=$lt_compiler_CXX 32026 32027# Is the compiler the GNU compiler? 32028with_gcc=$GCC_CXX 32029 32030# Compiler flag to turn off builtin functions. 32031no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 32032 32033# Additional compiler flags for building library objects. 32034pic_flag=$lt_lt_prog_compiler_pic_CXX 32035 32036# How to pass a linker flag through the compiler. 32037wl=$lt_lt_prog_compiler_wl_CXX 32038 32039# Compiler flag to prevent dynamic linking. 32040link_static_flag=$lt_lt_prog_compiler_static_CXX 32041 32042# Does compiler simultaneously support -c and -o options? 32043compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 32044 32045# Whether or not to add -lc for building shared libraries. 32046build_libtool_need_lc=$archive_cmds_need_lc_CXX 32047 32048# Whether or not to disallow shared libs when runtime libs are static. 32049allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 32050 32051# Compiler flag to allow reflexive dlopens. 32052export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 32053 32054# Compiler flag to generate shared objects directly from archives. 32055whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 32056 32057# Whether the compiler copes with passing no objects directly. 32058compiler_needs_object=$lt_compiler_needs_object_CXX 32059 32060# Create an old-style archive from a shared archive. 32061old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 32062 32063# Create a temporary old-style archive to link instead of a shared archive. 32064old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 32065 32066# Commands used to build a shared archive. 32067archive_cmds=$lt_archive_cmds_CXX 32068archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 32069 32070# Commands used to build a loadable module if different from building 32071# a shared archive. 32072module_cmds=$lt_module_cmds_CXX 32073module_expsym_cmds=$lt_module_expsym_cmds_CXX 32074 32075# Whether we are building with GNU ld or not. 32076with_gnu_ld=$lt_with_gnu_ld_CXX 32077 32078# Flag that allows shared libraries with undefined symbols to be built. 32079allow_undefined_flag=$lt_allow_undefined_flag_CXX 32080 32081# Flag that enforces no undefined symbols. 32082no_undefined_flag=$lt_no_undefined_flag_CXX 32083 32084# Flag to hardcode \$libdir into a binary during linking. 32085# This must work even if \$libdir does not exist 32086hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 32087 32088# Whether we need a single "-rpath" flag with a separated argument. 32089hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 32090 32091# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 32092# DIR into the resulting binary. 32093hardcode_direct=$hardcode_direct_CXX 32094 32095# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 32096# DIR into the resulting binary and the resulting library dependency is 32097# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 32098# library is relocated. 32099hardcode_direct_absolute=$hardcode_direct_absolute_CXX 32100 32101# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 32102# into the resulting binary. 32103hardcode_minus_L=$hardcode_minus_L_CXX 32104 32105# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 32106# into the resulting binary. 32107hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 32108 32109# Set to "yes" if building a shared library automatically hardcodes DIR 32110# into the library and all subsequent libraries and executables linked 32111# against it. 32112hardcode_automatic=$hardcode_automatic_CXX 32113 32114# Set to yes if linker adds runtime paths of dependent libraries 32115# to runtime path list. 32116inherit_rpath=$inherit_rpath_CXX 32117 32118# Whether libtool must link a program against all its dependency libraries. 32119link_all_deplibs=$link_all_deplibs_CXX 32120 32121# Set to "yes" if exported symbols are required. 32122always_export_symbols=$always_export_symbols_CXX 32123 32124# The commands to list exported symbols. 32125export_symbols_cmds=$lt_export_symbols_cmds_CXX 32126 32127# Symbols that should not be listed in the preloaded symbols. 32128exclude_expsyms=$lt_exclude_expsyms_CXX 32129 32130# Symbols that must always be exported. 32131include_expsyms=$lt_include_expsyms_CXX 32132 32133# Commands necessary for linking programs (against libraries) with templates. 32134prelink_cmds=$lt_prelink_cmds_CXX 32135 32136# Commands necessary for finishing linking programs. 32137postlink_cmds=$lt_postlink_cmds_CXX 32138 32139# Specify filename containing input files. 32140file_list_spec=$lt_file_list_spec_CXX 32141 32142# How to hardcode a shared library path into an executable. 32143hardcode_action=$hardcode_action_CXX 32144 32145# The directories searched by this compiler when creating a shared library. 32146compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 32147 32148# Dependencies to place before and after the objects being linked to 32149# create a shared library. 32150predep_objects=$lt_predep_objects_CXX 32151postdep_objects=$lt_postdep_objects_CXX 32152predeps=$lt_predeps_CXX 32153postdeps=$lt_postdeps_CXX 32154 32155# The library search path used internally by the compiler when linking 32156# a shared library. 32157compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 32158 32159# ### END LIBTOOL TAG CONFIG: CXX 32160_LT_EOF 32161 32162 ;; 32163 32164 esac 32165done # for ac_tag 32166 32167 32168as_fn_exit 0 32169_ACEOF 32170ac_clean_files=$ac_clean_files_save 32171 32172test $ac_write_fail = 0 || 32173 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 32174 32175 32176# configure is writing to config.log, and then calls config.status. 32177# config.status does its own redirection, appending to config.log. 32178# Unfortunately, on DOS this fails, as config.log is still kept open 32179# by configure, so config.status won't be able to write to it; its 32180# output is simply discarded. So we exec the FD to /dev/null, 32181# effectively closing config.log, so it can be properly (re)opened and 32182# appended to by config.status. When coming back to configure, we 32183# need to make the FD available again. 32184if test "$no_create" != yes; then 32185 ac_cs_success=: 32186 ac_config_status_args= 32187 test "$silent" = yes && 32188 ac_config_status_args="$ac_config_status_args --quiet" 32189 exec 5>/dev/null 32190 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 32191 exec 5>>config.log 32192 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 32193 # would make configure fail if this is the last instruction. 32194 $ac_cs_success || as_fn_exit 1 32195fi 32196if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 32197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 32198$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 32199fi 32200 32201 32202 32203make features 32204 32205echo 32206echo 32207echo "YADIFA BUNDLE DONE" 32208echo "------------------" 32209echo 32210echo 32211 32212