1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for rumpuser-posix 999. 4# 5# Report bugs to <https://github.com/rumpkernel/>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204else 205 as_have_required=no 206fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211as_found=false 212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227fi 228fi 229 done;; 230 esac 231 as_found=false 232done 233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236fi; } 237IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243# neutralization value for shells without unset; and this also 244# works around shells that cannot unset nonexistent variables. 245# Preserve -v and -x to the replacement shell. 246BASH_ENV=/dev/null 247ENV=/dev/null 248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254esac 255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256# Admittedly, this is quite paranoid, since all the known shells bail 257# out after a failed `exec'. 258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259exit 255 260fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270$0: https://github.com/rumpkernel/ about your system, 271$0: including any error possibly output before this 272$0: message. Then install a modern shell, or manually run 273$0: the script under such a shell if you do have one." 274 fi 275 exit 1 276fi 277fi 278fi 279SHELL=${CONFIG_SHELL-/bin/sh} 280export SHELL 281# Unset more variables known to interfere with behavior of common tools. 282CLICOLOR_FORCE= GREP_OPTIONS= 283unset CLICOLOR_FORCE GREP_OPTIONS 284 285## --------------------- ## 286## M4sh Shell Functions. ## 287## --------------------- ## 288# as_fn_unset VAR 289# --------------- 290# Portably unset VAR. 291as_fn_unset () 292{ 293 { eval $1=; unset $1;} 294} 295as_unset=as_fn_unset 296 297# as_fn_set_status STATUS 298# ----------------------- 299# Set $? to STATUS, without forking. 300as_fn_set_status () 301{ 302 return $1 303} # as_fn_set_status 304 305# as_fn_exit STATUS 306# ----------------- 307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308as_fn_exit () 309{ 310 set +e 311 as_fn_set_status $1 312 exit $1 313} # as_fn_exit 314 315# as_fn_mkdir_p 316# ------------- 317# Create "$as_dir" as a directory, including parents if necessary. 318as_fn_mkdir_p () 319{ 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337$as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361} # as_fn_mkdir_p 362 363# as_fn_executable_p FILE 364# ----------------------- 365# Test if FILE is an executable regular file. 366as_fn_executable_p () 367{ 368 test -f "$1" && test -x "$1" 369} # as_fn_executable_p 370# as_fn_append VAR VALUE 371# ---------------------- 372# Append the text in VALUE to the end of the definition contained in VAR. Take 373# advantage of any shell optimizations that allow amortized linear growth over 374# repeated appends, instead of the typical quadratic growth present in naive 375# implementations. 376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386fi # as_fn_append 387 388# as_fn_arith ARG... 389# ------------------ 390# Perform arithmetic evaluation on the ARGs, and store the result in the 391# global $as_val. Take advantage of shells that can avoid forks. The arguments 392# must be portable across $(()) and expr. 393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403fi # as_fn_arith 404 405 406# as_fn_error STATUS ERROR [LINENO LOG_FD] 407# ---------------------------------------- 408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410# script with STATUS, using 1 if that was 0. 411as_fn_error () 412{ 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420} # as_fn_error 421 422if expr a : '\(a\)' >/dev/null 2>&1 && 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then 424 as_expr=expr 425else 426 as_expr=false 427fi 428 429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 430 as_basename=basename 431else 432 as_basename=false 433fi 434 435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437else 438 as_dirname=false 439fi 440 441as_me=`$as_basename -- "$0" || 442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 443 X"$0" : 'X\(//\)$' \| \ 444 X"$0" : 'X\(/\)' \| . 2>/dev/null || 445$as_echo X/"$0" | 446 sed '/^.*\/\([^/][^/]*\)\/*$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\/\)$/{ 451 s//\1/ 452 q 453 } 454 /^X\/\(\/\).*/{ 455 s//\1/ 456 q 457 } 458 s/.*/./; q'` 459 460# Avoid depending upon Character Ranges. 461as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464as_cr_digits='0123456789' 465as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 473 sed -n ' 474 p 475 /[$]LINENO/= 476 ' <$as_myself | 477 sed ' 478 s/[$]LINENO.*/&-/ 479 t lineno 480 b 481 :lineno 482 N 483 :loop 484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 485 t loop 486 s/-\n.*// 487 ' >$as_me.lineno && 488 chmod +x "$as_me.lineno" || 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 495 # Don't try to exec as it changes $[0], causing all sort of problems 496 # (the dirname of $[0] is not the place where we might find the 497 # original and so on. Autoconf is especially sensitive to this). 498 . "./$as_me.lineno" 499 # Exit status is that of the last command. 500 exit 501} 502 503ECHO_C= ECHO_N= ECHO_T= 504case `echo -n x` in #((((( 505-n*) 506 case `echo 'xy\c'` in 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 511 esac;; 512*) 513 ECHO_N='-n';; 514esac 515 516rm -f conf$$ conf$$.exe conf$$.file 517if test -d conf$$.dir; then 518 rm -f conf$$.dir/conf$$.file 519else 520 rm -f conf$$.dir 521 mkdir conf$$.dir 2>/dev/null 522fi 523if (echo >conf$$.file) 2>/dev/null; then 524 if ln -s conf$$.file conf$$ 2>/dev/null; then 525 as_ln_s='ln -s' 526 # ... but there are two gotchas: 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 529 # In both cases, we have to default to `cp -pR'. 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 531 as_ln_s='cp -pR' 532 elif ln conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s=ln 534 else 535 as_ln_s='cp -pR' 536 fi 537else 538 as_ln_s='cp -pR' 539fi 540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 541rmdir conf$$.dir 2>/dev/null 542 543if mkdir -p . 2>/dev/null; then 544 as_mkdir_p='mkdir -p "$as_dir"' 545else 546 test -d ./-p && rmdir ./-p 547 as_mkdir_p=false 548fi 549 550as_test_x='test -x' 551as_executable_p=as_fn_executable_p 552 553# Sed expression to map a string onto a valid CPP name. 554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 555 556# Sed expression to map a string onto a valid variable name. 557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 558 559 560test -n "$DJDIR" || exec 7<&0 </dev/null 561exec 6>&1 562 563# Name of the host. 564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 565# so uname gets run too. 566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 567 568# 569# Initializations. 570# 571ac_default_prefix=/usr/local 572ac_clean_files= 573ac_config_libobj_dir=. 574LIBOBJS= 575cross_compiling=no 576subdirs= 577MFLAGS= 578MAKEFLAGS= 579 580# Identity of this package. 581PACKAGE_NAME='rumpuser-posix' 582PACKAGE_TARNAME='rumpuser-posix' 583PACKAGE_VERSION='999' 584PACKAGE_STRING='rumpuser-posix 999' 585PACKAGE_BUGREPORT='https://github.com/rumpkernel/' 586PACKAGE_URL='' 587 588# Factoring default headers for most tests. 589ac_includes_default="\ 590#include <stdio.h> 591#ifdef HAVE_SYS_TYPES_H 592# include <sys/types.h> 593#endif 594#ifdef HAVE_SYS_STAT_H 595# include <sys/stat.h> 596#endif 597#ifdef STDC_HEADERS 598# include <stdlib.h> 599# include <stddef.h> 600#else 601# ifdef HAVE_STDLIB_H 602# include <stdlib.h> 603# endif 604#endif 605#ifdef HAVE_STRING_H 606# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 607# include <memory.h> 608# endif 609# include <string.h> 610#endif 611#ifdef HAVE_STRINGS_H 612# include <strings.h> 613#endif 614#ifdef HAVE_INTTYPES_H 615# include <inttypes.h> 616#endif 617#ifdef HAVE_STDINT_H 618# include <stdint.h> 619#endif 620#ifdef HAVE_UNISTD_H 621# include <unistd.h> 622#endif" 623 624ac_subst_vars='LTLIBOBJS 625LIBOBJS 626target_os 627target_vendor 628target_cpu 629target 630host_os 631host_vendor 632host_cpu 633host 634build_os 635build_vendor 636build_cpu 637build 638EGREP 639GREP 640CPP 641OBJEXT 642EXEEXT 643ac_ct_CC 644CPPFLAGS 645LDFLAGS 646CFLAGS 647CC 648target_alias 649host_alias 650build_alias 651LIBS 652ECHO_T 653ECHO_N 654ECHO_C 655DEFS 656mandir 657localedir 658libdir 659psdir 660pdfdir 661dvidir 662htmldir 663infodir 664docdir 665oldincludedir 666includedir 667localstatedir 668sharedstatedir 669sysconfdir 670datadir 671datarootdir 672libexecdir 673sbindir 674bindir 675program_transform_name 676prefix 677exec_prefix 678PACKAGE_URL 679PACKAGE_BUGREPORT 680PACKAGE_STRING 681PACKAGE_VERSION 682PACKAGE_TARNAME 683PACKAGE_NAME 684PATH_SEPARATOR 685SHELL' 686ac_subst_files='' 687ac_user_opts=' 688enable_option_checking 689enable_largefile 690' 691 ac_precious_vars='build_alias 692host_alias 693target_alias 694CC 695CFLAGS 696LDFLAGS 697LIBS 698CPPFLAGS 699CPP' 700 701 702# Initialize some variables set by options. 703ac_init_help= 704ac_init_version=false 705ac_unrecognized_opts= 706ac_unrecognized_sep= 707# The variables have the same names as the options, with 708# dashes changed to underlines. 709cache_file=/dev/null 710exec_prefix=NONE 711no_create= 712no_recursion= 713prefix=NONE 714program_prefix=NONE 715program_suffix=NONE 716program_transform_name=s,x,x, 717silent= 718site= 719srcdir= 720verbose= 721x_includes=NONE 722x_libraries=NONE 723 724# Installation directory options. 725# These are left unexpanded so users can "make install exec_prefix=/foo" 726# and all the variables that are supposed to be based on exec_prefix 727# by default will actually change. 728# Use braces instead of parens because sh, perl, etc. also accept them. 729# (The list follows the same order as the GNU Coding Standards.) 730bindir='${exec_prefix}/bin' 731sbindir='${exec_prefix}/sbin' 732libexecdir='${exec_prefix}/libexec' 733datarootdir='${prefix}/share' 734datadir='${datarootdir}' 735sysconfdir='${prefix}/etc' 736sharedstatedir='${prefix}/com' 737localstatedir='${prefix}/var' 738includedir='${prefix}/include' 739oldincludedir='/usr/include' 740docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 741infodir='${datarootdir}/info' 742htmldir='${docdir}' 743dvidir='${docdir}' 744pdfdir='${docdir}' 745psdir='${docdir}' 746libdir='${exec_prefix}/lib' 747localedir='${datarootdir}/locale' 748mandir='${datarootdir}/man' 749 750ac_prev= 751ac_dashdash= 752for ac_option 753do 754 # If the previous option needs an argument, assign it. 755 if test -n "$ac_prev"; then 756 eval $ac_prev=\$ac_option 757 ac_prev= 758 continue 759 fi 760 761 case $ac_option in 762 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 763 *=) ac_optarg= ;; 764 *) ac_optarg=yes ;; 765 esac 766 767 # Accept the important Cygnus configure options, so we can diagnose typos. 768 769 case $ac_dashdash$ac_option in 770 --) 771 ac_dashdash=yes ;; 772 773 -bindir | --bindir | --bindi | --bind | --bin | --bi) 774 ac_prev=bindir ;; 775 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 776 bindir=$ac_optarg ;; 777 778 -build | --build | --buil | --bui | --bu) 779 ac_prev=build_alias ;; 780 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 781 build_alias=$ac_optarg ;; 782 783 -cache-file | --cache-file | --cache-fil | --cache-fi \ 784 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 785 ac_prev=cache_file ;; 786 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 787 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 788 cache_file=$ac_optarg ;; 789 790 --config-cache | -C) 791 cache_file=config.cache ;; 792 793 -datadir | --datadir | --datadi | --datad) 794 ac_prev=datadir ;; 795 -datadir=* | --datadir=* | --datadi=* | --datad=*) 796 datadir=$ac_optarg ;; 797 798 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 799 | --dataroo | --dataro | --datar) 800 ac_prev=datarootdir ;; 801 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 802 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 803 datarootdir=$ac_optarg ;; 804 805 -disable-* | --disable-*) 806 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 807 # Reject names that are not valid shell variable names. 808 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 809 as_fn_error $? "invalid feature name: $ac_useropt" 810 ac_useropt_orig=$ac_useropt 811 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 812 case $ac_user_opts in 813 *" 814"enable_$ac_useropt" 815"*) ;; 816 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 817 ac_unrecognized_sep=', ';; 818 esac 819 eval enable_$ac_useropt=no ;; 820 821 -docdir | --docdir | --docdi | --doc | --do) 822 ac_prev=docdir ;; 823 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 824 docdir=$ac_optarg ;; 825 826 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 827 ac_prev=dvidir ;; 828 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 829 dvidir=$ac_optarg ;; 830 831 -enable-* | --enable-*) 832 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 833 # Reject names that are not valid shell variable names. 834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 835 as_fn_error $? "invalid feature name: $ac_useropt" 836 ac_useropt_orig=$ac_useropt 837 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 838 case $ac_user_opts in 839 *" 840"enable_$ac_useropt" 841"*) ;; 842 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 843 ac_unrecognized_sep=', ';; 844 esac 845 eval enable_$ac_useropt=\$ac_optarg ;; 846 847 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 848 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 849 | --exec | --exe | --ex) 850 ac_prev=exec_prefix ;; 851 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 852 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 853 | --exec=* | --exe=* | --ex=*) 854 exec_prefix=$ac_optarg ;; 855 856 -gas | --gas | --ga | --g) 857 # Obsolete; use --with-gas. 858 with_gas=yes ;; 859 860 -help | --help | --hel | --he | -h) 861 ac_init_help=long ;; 862 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 863 ac_init_help=recursive ;; 864 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 865 ac_init_help=short ;; 866 867 -host | --host | --hos | --ho) 868 ac_prev=host_alias ;; 869 -host=* | --host=* | --hos=* | --ho=*) 870 host_alias=$ac_optarg ;; 871 872 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 873 ac_prev=htmldir ;; 874 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 875 | --ht=*) 876 htmldir=$ac_optarg ;; 877 878 -includedir | --includedir | --includedi | --included | --include \ 879 | --includ | --inclu | --incl | --inc) 880 ac_prev=includedir ;; 881 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 882 | --includ=* | --inclu=* | --incl=* | --inc=*) 883 includedir=$ac_optarg ;; 884 885 -infodir | --infodir | --infodi | --infod | --info | --inf) 886 ac_prev=infodir ;; 887 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 888 infodir=$ac_optarg ;; 889 890 -libdir | --libdir | --libdi | --libd) 891 ac_prev=libdir ;; 892 -libdir=* | --libdir=* | --libdi=* | --libd=*) 893 libdir=$ac_optarg ;; 894 895 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 896 | --libexe | --libex | --libe) 897 ac_prev=libexecdir ;; 898 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 899 | --libexe=* | --libex=* | --libe=*) 900 libexecdir=$ac_optarg ;; 901 902 -localedir | --localedir | --localedi | --localed | --locale) 903 ac_prev=localedir ;; 904 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 905 localedir=$ac_optarg ;; 906 907 -localstatedir | --localstatedir | --localstatedi | --localstated \ 908 | --localstate | --localstat | --localsta | --localst | --locals) 909 ac_prev=localstatedir ;; 910 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 911 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 912 localstatedir=$ac_optarg ;; 913 914 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 915 ac_prev=mandir ;; 916 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 917 mandir=$ac_optarg ;; 918 919 -nfp | --nfp | --nf) 920 # Obsolete; use --without-fp. 921 with_fp=no ;; 922 923 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 924 | --no-cr | --no-c | -n) 925 no_create=yes ;; 926 927 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 928 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 929 no_recursion=yes ;; 930 931 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 932 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 933 | --oldin | --oldi | --old | --ol | --o) 934 ac_prev=oldincludedir ;; 935 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 936 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 937 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 938 oldincludedir=$ac_optarg ;; 939 940 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 941 ac_prev=prefix ;; 942 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 943 prefix=$ac_optarg ;; 944 945 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 946 | --program-pre | --program-pr | --program-p) 947 ac_prev=program_prefix ;; 948 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 949 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 950 program_prefix=$ac_optarg ;; 951 952 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 953 | --program-suf | --program-su | --program-s) 954 ac_prev=program_suffix ;; 955 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 956 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 957 program_suffix=$ac_optarg ;; 958 959 -program-transform-name | --program-transform-name \ 960 | --program-transform-nam | --program-transform-na \ 961 | --program-transform-n | --program-transform- \ 962 | --program-transform | --program-transfor \ 963 | --program-transfo | --program-transf \ 964 | --program-trans | --program-tran \ 965 | --progr-tra | --program-tr | --program-t) 966 ac_prev=program_transform_name ;; 967 -program-transform-name=* | --program-transform-name=* \ 968 | --program-transform-nam=* | --program-transform-na=* \ 969 | --program-transform-n=* | --program-transform-=* \ 970 | --program-transform=* | --program-transfor=* \ 971 | --program-transfo=* | --program-transf=* \ 972 | --program-trans=* | --program-tran=* \ 973 | --progr-tra=* | --program-tr=* | --program-t=*) 974 program_transform_name=$ac_optarg ;; 975 976 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 977 ac_prev=pdfdir ;; 978 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 979 pdfdir=$ac_optarg ;; 980 981 -psdir | --psdir | --psdi | --psd | --ps) 982 ac_prev=psdir ;; 983 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 984 psdir=$ac_optarg ;; 985 986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 987 | -silent | --silent | --silen | --sile | --sil) 988 silent=yes ;; 989 990 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 991 ac_prev=sbindir ;; 992 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 993 | --sbi=* | --sb=*) 994 sbindir=$ac_optarg ;; 995 996 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 997 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 998 | --sharedst | --shareds | --shared | --share | --shar \ 999 | --sha | --sh) 1000 ac_prev=sharedstatedir ;; 1001 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1002 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1003 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1004 | --sha=* | --sh=*) 1005 sharedstatedir=$ac_optarg ;; 1006 1007 -site | --site | --sit) 1008 ac_prev=site ;; 1009 -site=* | --site=* | --sit=*) 1010 site=$ac_optarg ;; 1011 1012 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1013 ac_prev=srcdir ;; 1014 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1015 srcdir=$ac_optarg ;; 1016 1017 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1018 | --syscon | --sysco | --sysc | --sys | --sy) 1019 ac_prev=sysconfdir ;; 1020 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1021 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1022 sysconfdir=$ac_optarg ;; 1023 1024 -target | --target | --targe | --targ | --tar | --ta | --t) 1025 ac_prev=target_alias ;; 1026 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1027 target_alias=$ac_optarg ;; 1028 1029 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1030 verbose=yes ;; 1031 1032 -version | --version | --versio | --versi | --vers | -V) 1033 ac_init_version=: ;; 1034 1035 -with-* | --with-*) 1036 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1037 # Reject names that are not valid shell variable names. 1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1039 as_fn_error $? "invalid package name: $ac_useropt" 1040 ac_useropt_orig=$ac_useropt 1041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1042 case $ac_user_opts in 1043 *" 1044"with_$ac_useropt" 1045"*) ;; 1046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1047 ac_unrecognized_sep=', ';; 1048 esac 1049 eval with_$ac_useropt=\$ac_optarg ;; 1050 1051 -without-* | --without-*) 1052 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1053 # Reject names that are not valid shell variable names. 1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1055 as_fn_error $? "invalid package name: $ac_useropt" 1056 ac_useropt_orig=$ac_useropt 1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1058 case $ac_user_opts in 1059 *" 1060"with_$ac_useropt" 1061"*) ;; 1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1063 ac_unrecognized_sep=', ';; 1064 esac 1065 eval with_$ac_useropt=no ;; 1066 1067 --x) 1068 # Obsolete; use --with-x. 1069 with_x=yes ;; 1070 1071 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1072 | --x-incl | --x-inc | --x-in | --x-i) 1073 ac_prev=x_includes ;; 1074 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1075 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1076 x_includes=$ac_optarg ;; 1077 1078 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1079 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1080 ac_prev=x_libraries ;; 1081 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1082 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1083 x_libraries=$ac_optarg ;; 1084 1085 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1086Try \`$0 --help' for more information" 1087 ;; 1088 1089 *=*) 1090 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1091 # Reject names that are not valid shell variable names. 1092 case $ac_envvar in #( 1093 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1094 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1095 esac 1096 eval $ac_envvar=\$ac_optarg 1097 export $ac_envvar ;; 1098 1099 *) 1100 # FIXME: should be removed in autoconf 3.0. 1101 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1103 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1104 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1105 ;; 1106 1107 esac 1108done 1109 1110if test -n "$ac_prev"; then 1111 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1112 as_fn_error $? "missing argument to $ac_option" 1113fi 1114 1115if test -n "$ac_unrecognized_opts"; then 1116 case $enable_option_checking in 1117 no) ;; 1118 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1119 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1120 esac 1121fi 1122 1123# Check all directory arguments for consistency. 1124for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1125 datadir sysconfdir sharedstatedir localstatedir includedir \ 1126 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1127 libdir localedir mandir 1128do 1129 eval ac_val=\$$ac_var 1130 # Remove trailing slashes. 1131 case $ac_val in 1132 */ ) 1133 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1134 eval $ac_var=\$ac_val;; 1135 esac 1136 # Be sure to have absolute directory names. 1137 case $ac_val in 1138 [\\/$]* | ?:[\\/]* ) continue;; 1139 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1140 esac 1141 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1142done 1143 1144# There might be people who depend on the old broken behavior: `$host' 1145# used to hold the argument of --host etc. 1146# FIXME: To remove some day. 1147build=$build_alias 1148host=$host_alias 1149target=$target_alias 1150 1151# FIXME: To remove some day. 1152if test "x$host_alias" != x; then 1153 if test "x$build_alias" = x; then 1154 cross_compiling=maybe 1155 elif test "x$build_alias" != "x$host_alias"; then 1156 cross_compiling=yes 1157 fi 1158fi 1159 1160ac_tool_prefix= 1161test -n "$host_alias" && ac_tool_prefix=$host_alias- 1162 1163test "$silent" = yes && exec 6>/dev/null 1164 1165 1166ac_pwd=`pwd` && test -n "$ac_pwd" && 1167ac_ls_di=`ls -di .` && 1168ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1169 as_fn_error $? "working directory cannot be determined" 1170test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1171 as_fn_error $? "pwd does not report name of working directory" 1172 1173 1174# Find the source files, if location was not specified. 1175if test -z "$srcdir"; then 1176 ac_srcdir_defaulted=yes 1177 # Try the directory containing this script, then the parent directory. 1178 ac_confdir=`$as_dirname -- "$as_myself" || 1179$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1180 X"$as_myself" : 'X\(//\)[^/]' \| \ 1181 X"$as_myself" : 'X\(//\)$' \| \ 1182 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1183$as_echo X"$as_myself" | 1184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1185 s//\1/ 1186 q 1187 } 1188 /^X\(\/\/\)[^/].*/{ 1189 s//\1/ 1190 q 1191 } 1192 /^X\(\/\/\)$/{ 1193 s//\1/ 1194 q 1195 } 1196 /^X\(\/\).*/{ 1197 s//\1/ 1198 q 1199 } 1200 s/.*/./; q'` 1201 srcdir=$ac_confdir 1202 if test ! -r "$srcdir/$ac_unique_file"; then 1203 srcdir=.. 1204 fi 1205else 1206 ac_srcdir_defaulted=no 1207fi 1208if test ! -r "$srcdir/$ac_unique_file"; then 1209 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1210 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1211fi 1212ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1213ac_abs_confdir=`( 1214 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1215 pwd)` 1216# When building in place, set srcdir=. 1217if test "$ac_abs_confdir" = "$ac_pwd"; then 1218 srcdir=. 1219fi 1220# Remove unnecessary trailing slashes from srcdir. 1221# Double slashes in file names in object file debugging info 1222# mess up M-x gdb in Emacs. 1223case $srcdir in 1224*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1225esac 1226for ac_var in $ac_precious_vars; do 1227 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1228 eval ac_env_${ac_var}_value=\$${ac_var} 1229 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1230 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1231done 1232 1233# 1234# Report the --help message. 1235# 1236if test "$ac_init_help" = "long"; then 1237 # Omit some internal or obsolete options to make the list less imposing. 1238 # This message is too long to be a string in the A/UX 3.1 sh. 1239 cat <<_ACEOF 1240\`configure' configures rumpuser-posix 999 to adapt to many kinds of systems. 1241 1242Usage: $0 [OPTION]... [VAR=VALUE]... 1243 1244To assign environment variables (e.g., CC, CFLAGS...), specify them as 1245VAR=VALUE. See below for descriptions of some of the useful variables. 1246 1247Defaults for the options are specified in brackets. 1248 1249Configuration: 1250 -h, --help display this help and exit 1251 --help=short display options specific to this package 1252 --help=recursive display the short help of all the included packages 1253 -V, --version display version information and exit 1254 -q, --quiet, --silent do not print \`checking ...' messages 1255 --cache-file=FILE cache test results in FILE [disabled] 1256 -C, --config-cache alias for \`--cache-file=config.cache' 1257 -n, --no-create do not create output files 1258 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1259 1260Installation directories: 1261 --prefix=PREFIX install architecture-independent files in PREFIX 1262 [$ac_default_prefix] 1263 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1264 [PREFIX] 1265 1266By default, \`make install' will install all the files in 1267\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1268an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1269for instance \`--prefix=\$HOME'. 1270 1271For better control, use the options below. 1272 1273Fine tuning of the installation directories: 1274 --bindir=DIR user executables [EPREFIX/bin] 1275 --sbindir=DIR system admin executables [EPREFIX/sbin] 1276 --libexecdir=DIR program executables [EPREFIX/libexec] 1277 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1278 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1279 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1280 --libdir=DIR object code libraries [EPREFIX/lib] 1281 --includedir=DIR C header files [PREFIX/include] 1282 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1283 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1284 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1285 --infodir=DIR info documentation [DATAROOTDIR/info] 1286 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1287 --mandir=DIR man documentation [DATAROOTDIR/man] 1288 --docdir=DIR documentation root [DATAROOTDIR/doc/rumpuser-posix] 1289 --htmldir=DIR html documentation [DOCDIR] 1290 --dvidir=DIR dvi documentation [DOCDIR] 1291 --pdfdir=DIR pdf documentation [DOCDIR] 1292 --psdir=DIR ps documentation [DOCDIR] 1293_ACEOF 1294 1295 cat <<\_ACEOF 1296 1297System types: 1298 --build=BUILD configure for building on BUILD [guessed] 1299 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1300 --target=TARGET configure for building compilers for TARGET [HOST] 1301_ACEOF 1302fi 1303 1304if test -n "$ac_init_help"; then 1305 case $ac_init_help in 1306 short | recursive ) echo "Configuration of rumpuser-posix 999:";; 1307 esac 1308 cat <<\_ACEOF 1309 1310Optional Features: 1311 --disable-option-checking ignore unrecognized --enable/--with options 1312 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1313 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1314 --disable-largefile omit support for large files 1315 1316Some influential environment variables: 1317 CC C compiler command 1318 CFLAGS C compiler flags 1319 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1320 nonstandard directory <lib dir> 1321 LIBS libraries to pass to the linker, e.g. -l<library> 1322 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1323 you have headers in a nonstandard directory <include dir> 1324 CPP C preprocessor 1325 1326Use these variables to override the choices made by `configure' or to help 1327it to find libraries and programs with nonstandard names/locations. 1328 1329Report bugs to <https://github.com/rumpkernel/>. 1330_ACEOF 1331ac_status=$? 1332fi 1333 1334if test "$ac_init_help" = "recursive"; then 1335 # If there are subdirs, report their specific --help. 1336 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1337 test -d "$ac_dir" || 1338 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1339 continue 1340 ac_builddir=. 1341 1342case "$ac_dir" in 1343.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1344*) 1345 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1346 # A ".." for each directory in $ac_dir_suffix. 1347 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1348 case $ac_top_builddir_sub in 1349 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1350 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1351 esac ;; 1352esac 1353ac_abs_top_builddir=$ac_pwd 1354ac_abs_builddir=$ac_pwd$ac_dir_suffix 1355# for backward compatibility: 1356ac_top_builddir=$ac_top_build_prefix 1357 1358case $srcdir in 1359 .) # We are building in place. 1360 ac_srcdir=. 1361 ac_top_srcdir=$ac_top_builddir_sub 1362 ac_abs_top_srcdir=$ac_pwd ;; 1363 [\\/]* | ?:[\\/]* ) # Absolute name. 1364 ac_srcdir=$srcdir$ac_dir_suffix; 1365 ac_top_srcdir=$srcdir 1366 ac_abs_top_srcdir=$srcdir ;; 1367 *) # Relative name. 1368 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1369 ac_top_srcdir=$ac_top_build_prefix$srcdir 1370 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1371esac 1372ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1373 1374 cd "$ac_dir" || { ac_status=$?; continue; } 1375 # Check for guested configure. 1376 if test -f "$ac_srcdir/configure.gnu"; then 1377 echo && 1378 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1379 elif test -f "$ac_srcdir/configure"; then 1380 echo && 1381 $SHELL "$ac_srcdir/configure" --help=recursive 1382 else 1383 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1384 fi || ac_status=$? 1385 cd "$ac_pwd" || { ac_status=$?; break; } 1386 done 1387fi 1388 1389test -n "$ac_init_help" && exit $ac_status 1390if $ac_init_version; then 1391 cat <<\_ACEOF 1392rumpuser-posix configure 999 1393generated by GNU Autoconf 2.69 1394 1395Copyright (C) 2012 Free Software Foundation, Inc. 1396This configure script is free software; the Free Software Foundation 1397gives unlimited permission to copy, distribute and modify it. 1398_ACEOF 1399 exit 1400fi 1401 1402## ------------------------ ## 1403## Autoconf initialization. ## 1404## ------------------------ ## 1405 1406# ac_fn_c_try_compile LINENO 1407# -------------------------- 1408# Try to compile conftest.$ac_ext, and return whether this succeeded. 1409ac_fn_c_try_compile () 1410{ 1411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1412 rm -f conftest.$ac_objext 1413 if { { ac_try="$ac_compile" 1414case "(($ac_try" in 1415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1416 *) ac_try_echo=$ac_try;; 1417esac 1418eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1419$as_echo "$ac_try_echo"; } >&5 1420 (eval "$ac_compile") 2>conftest.err 1421 ac_status=$? 1422 if test -s conftest.err; then 1423 grep -v '^ *+' conftest.err >conftest.er1 1424 cat conftest.er1 >&5 1425 mv -f conftest.er1 conftest.err 1426 fi 1427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1428 test $ac_status = 0; } && { 1429 test -z "$ac_c_werror_flag" || 1430 test ! -s conftest.err 1431 } && test -s conftest.$ac_objext; then : 1432 ac_retval=0 1433else 1434 $as_echo "$as_me: failed program was:" >&5 1435sed 's/^/| /' conftest.$ac_ext >&5 1436 1437 ac_retval=1 1438fi 1439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1440 as_fn_set_status $ac_retval 1441 1442} # ac_fn_c_try_compile 1443 1444# ac_fn_c_try_cpp LINENO 1445# ---------------------- 1446# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1447ac_fn_c_try_cpp () 1448{ 1449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1450 if { { ac_try="$ac_cpp conftest.$ac_ext" 1451case "(($ac_try" in 1452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1453 *) ac_try_echo=$ac_try;; 1454esac 1455eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1456$as_echo "$ac_try_echo"; } >&5 1457 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1458 ac_status=$? 1459 if test -s conftest.err; then 1460 grep -v '^ *+' conftest.err >conftest.er1 1461 cat conftest.er1 >&5 1462 mv -f conftest.er1 conftest.err 1463 fi 1464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1465 test $ac_status = 0; } > conftest.i && { 1466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1467 test ! -s conftest.err 1468 }; then : 1469 ac_retval=0 1470else 1471 $as_echo "$as_me: failed program was:" >&5 1472sed 's/^/| /' conftest.$ac_ext >&5 1473 1474 ac_retval=1 1475fi 1476 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1477 as_fn_set_status $ac_retval 1478 1479} # ac_fn_c_try_cpp 1480 1481# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1482# ------------------------------------------------------- 1483# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1484# the include files in INCLUDES and setting the cache variable VAR 1485# accordingly. 1486ac_fn_c_check_header_mongrel () 1487{ 1488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1489 if eval \${$3+:} false; then : 1490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1491$as_echo_n "checking for $2... " >&6; } 1492if eval \${$3+:} false; then : 1493 $as_echo_n "(cached) " >&6 1494fi 1495eval ac_res=\$$3 1496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1497$as_echo "$ac_res" >&6; } 1498else 1499 # Is the header compilable? 1500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1501$as_echo_n "checking $2 usability... " >&6; } 1502cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1503/* end confdefs.h. */ 1504$4 1505#include <$2> 1506_ACEOF 1507if ac_fn_c_try_compile "$LINENO"; then : 1508 ac_header_compiler=yes 1509else 1510 ac_header_compiler=no 1511fi 1512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1514$as_echo "$ac_header_compiler" >&6; } 1515 1516# Is the header present? 1517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1518$as_echo_n "checking $2 presence... " >&6; } 1519cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1520/* end confdefs.h. */ 1521#include <$2> 1522_ACEOF 1523if ac_fn_c_try_cpp "$LINENO"; then : 1524 ac_header_preproc=yes 1525else 1526 ac_header_preproc=no 1527fi 1528rm -f conftest.err conftest.i conftest.$ac_ext 1529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1530$as_echo "$ac_header_preproc" >&6; } 1531 1532# So? What about this header? 1533case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1534 yes:no: ) 1535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1536$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1538$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1539 ;; 1540 no:yes:* ) 1541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1542$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1544$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1546$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1548$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1550$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1551( $as_echo "## --------------------------------------------- ## 1552## Report this to https://github.com/rumpkernel/ ## 1553## --------------------------------------------- ##" 1554 ) | sed "s/^/$as_me: WARNING: /" >&2 1555 ;; 1556esac 1557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1558$as_echo_n "checking for $2... " >&6; } 1559if eval \${$3+:} false; then : 1560 $as_echo_n "(cached) " >&6 1561else 1562 eval "$3=\$ac_header_compiler" 1563fi 1564eval ac_res=\$$3 1565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1566$as_echo "$ac_res" >&6; } 1567fi 1568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1569 1570} # ac_fn_c_check_header_mongrel 1571 1572# ac_fn_c_try_run LINENO 1573# ---------------------- 1574# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1575# that executables *can* be run. 1576ac_fn_c_try_run () 1577{ 1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1579 if { { ac_try="$ac_link" 1580case "(($ac_try" in 1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1582 *) ac_try_echo=$ac_try;; 1583esac 1584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1585$as_echo "$ac_try_echo"; } >&5 1586 (eval "$ac_link") 2>&5 1587 ac_status=$? 1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1589 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1590 { { case "(($ac_try" in 1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1592 *) ac_try_echo=$ac_try;; 1593esac 1594eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1595$as_echo "$ac_try_echo"; } >&5 1596 (eval "$ac_try") 2>&5 1597 ac_status=$? 1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1599 test $ac_status = 0; }; }; then : 1600 ac_retval=0 1601else 1602 $as_echo "$as_me: program exited with status $ac_status" >&5 1603 $as_echo "$as_me: failed program was:" >&5 1604sed 's/^/| /' conftest.$ac_ext >&5 1605 1606 ac_retval=$ac_status 1607fi 1608 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1610 as_fn_set_status $ac_retval 1611 1612} # ac_fn_c_try_run 1613 1614# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1615# ------------------------------------------------------- 1616# Tests whether HEADER exists and can be compiled using the include files in 1617# INCLUDES, setting the cache variable VAR accordingly. 1618ac_fn_c_check_header_compile () 1619{ 1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1622$as_echo_n "checking for $2... " >&6; } 1623if eval \${$3+:} false; then : 1624 $as_echo_n "(cached) " >&6 1625else 1626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1627/* end confdefs.h. */ 1628$4 1629#include <$2> 1630_ACEOF 1631if ac_fn_c_try_compile "$LINENO"; then : 1632 eval "$3=yes" 1633else 1634 eval "$3=no" 1635fi 1636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1637fi 1638eval ac_res=\$$3 1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1640$as_echo "$ac_res" >&6; } 1641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1642 1643} # ac_fn_c_check_header_compile 1644 1645# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1646# ------------------------------------------- 1647# Tests whether TYPE exists after having included INCLUDES, setting cache 1648# variable VAR accordingly. 1649ac_fn_c_check_type () 1650{ 1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1653$as_echo_n "checking for $2... " >&6; } 1654if eval \${$3+:} false; then : 1655 $as_echo_n "(cached) " >&6 1656else 1657 eval "$3=no" 1658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1659/* end confdefs.h. */ 1660$4 1661int 1662main () 1663{ 1664if (sizeof ($2)) 1665 return 0; 1666 ; 1667 return 0; 1668} 1669_ACEOF 1670if ac_fn_c_try_compile "$LINENO"; then : 1671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1672/* end confdefs.h. */ 1673$4 1674int 1675main () 1676{ 1677if (sizeof (($2))) 1678 return 0; 1679 ; 1680 return 0; 1681} 1682_ACEOF 1683if ac_fn_c_try_compile "$LINENO"; then : 1684 1685else 1686 eval "$3=yes" 1687fi 1688rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1689fi 1690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1691fi 1692eval ac_res=\$$3 1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1694$as_echo "$ac_res" >&6; } 1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1696 1697} # ac_fn_c_check_type 1698 1699# ac_fn_c_try_link LINENO 1700# ----------------------- 1701# Try to link conftest.$ac_ext, and return whether this succeeded. 1702ac_fn_c_try_link () 1703{ 1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1705 rm -f conftest.$ac_objext conftest$ac_exeext 1706 if { { ac_try="$ac_link" 1707case "(($ac_try" in 1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1709 *) ac_try_echo=$ac_try;; 1710esac 1711eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1712$as_echo "$ac_try_echo"; } >&5 1713 (eval "$ac_link") 2>conftest.err 1714 ac_status=$? 1715 if test -s conftest.err; then 1716 grep -v '^ *+' conftest.err >conftest.er1 1717 cat conftest.er1 >&5 1718 mv -f conftest.er1 conftest.err 1719 fi 1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1721 test $ac_status = 0; } && { 1722 test -z "$ac_c_werror_flag" || 1723 test ! -s conftest.err 1724 } && test -s conftest$ac_exeext && { 1725 test "$cross_compiling" = yes || 1726 test -x conftest$ac_exeext 1727 }; then : 1728 ac_retval=0 1729else 1730 $as_echo "$as_me: failed program was:" >&5 1731sed 's/^/| /' conftest.$ac_ext >&5 1732 1733 ac_retval=1 1734fi 1735 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1736 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1737 # interfere with the next link command; also delete a directory that is 1738 # left behind by Apple's compiler. We do this before executing the actions. 1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1741 as_fn_set_status $ac_retval 1742 1743} # ac_fn_c_try_link 1744 1745# ac_fn_c_check_func LINENO FUNC VAR 1746# ---------------------------------- 1747# Tests whether FUNC exists, setting the cache variable VAR accordingly 1748ac_fn_c_check_func () 1749{ 1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1752$as_echo_n "checking for $2... " >&6; } 1753if eval \${$3+:} false; then : 1754 $as_echo_n "(cached) " >&6 1755else 1756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1757/* end confdefs.h. */ 1758/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1759 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1760#define $2 innocuous_$2 1761 1762/* System header to define __stub macros and hopefully few prototypes, 1763 which can conflict with char $2 (); below. 1764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1765 <limits.h> exists even on freestanding compilers. */ 1766 1767#ifdef __STDC__ 1768# include <limits.h> 1769#else 1770# include <assert.h> 1771#endif 1772 1773#undef $2 1774 1775/* Override any GCC internal prototype to avoid an error. 1776 Use char because int might match the return type of a GCC 1777 builtin and then its argument prototype would still apply. */ 1778#ifdef __cplusplus 1779extern "C" 1780#endif 1781char $2 (); 1782/* The GNU C library defines this for functions which it implements 1783 to always fail with ENOSYS. Some functions are actually named 1784 something starting with __ and the normal name is an alias. */ 1785#if defined __stub_$2 || defined __stub___$2 1786choke me 1787#endif 1788 1789int 1790main () 1791{ 1792return $2 (); 1793 ; 1794 return 0; 1795} 1796_ACEOF 1797if ac_fn_c_try_link "$LINENO"; then : 1798 eval "$3=yes" 1799else 1800 eval "$3=no" 1801fi 1802rm -f core conftest.err conftest.$ac_objext \ 1803 conftest$ac_exeext conftest.$ac_ext 1804fi 1805eval ac_res=\$$3 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1807$as_echo "$ac_res" >&6; } 1808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1809 1810} # ac_fn_c_check_func 1811 1812# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 1813# ---------------------------------------------------- 1814# Tries to find if the field MEMBER exists in type AGGR, after including 1815# INCLUDES, setting cache variable VAR accordingly. 1816ac_fn_c_check_member () 1817{ 1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 1820$as_echo_n "checking for $2.$3... " >&6; } 1821if eval \${$4+:} false; then : 1822 $as_echo_n "(cached) " >&6 1823else 1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1825/* end confdefs.h. */ 1826$5 1827int 1828main () 1829{ 1830static $2 ac_aggr; 1831if (ac_aggr.$3) 1832return 0; 1833 ; 1834 return 0; 1835} 1836_ACEOF 1837if ac_fn_c_try_compile "$LINENO"; then : 1838 eval "$4=yes" 1839else 1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1841/* end confdefs.h. */ 1842$5 1843int 1844main () 1845{ 1846static $2 ac_aggr; 1847if (sizeof ac_aggr.$3) 1848return 0; 1849 ; 1850 return 0; 1851} 1852_ACEOF 1853if ac_fn_c_try_compile "$LINENO"; then : 1854 eval "$4=yes" 1855else 1856 eval "$4=no" 1857fi 1858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1859fi 1860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1861fi 1862eval ac_res=\$$4 1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1864$as_echo "$ac_res" >&6; } 1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1866 1867} # ac_fn_c_check_member 1868cat >config.log <<_ACEOF 1869This file contains any messages produced by compilers while 1870running configure, to aid debugging if configure makes a mistake. 1871 1872It was created by rumpuser-posix $as_me 999, which was 1873generated by GNU Autoconf 2.69. Invocation command line was 1874 1875 $ $0 $@ 1876 1877_ACEOF 1878exec 5>>config.log 1879{ 1880cat <<_ASUNAME 1881## --------- ## 1882## Platform. ## 1883## --------- ## 1884 1885hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1886uname -m = `(uname -m) 2>/dev/null || echo unknown` 1887uname -r = `(uname -r) 2>/dev/null || echo unknown` 1888uname -s = `(uname -s) 2>/dev/null || echo unknown` 1889uname -v = `(uname -v) 2>/dev/null || echo unknown` 1890 1891/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1892/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1893 1894/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1895/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1896/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1897/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1898/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1899/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1900/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1901 1902_ASUNAME 1903 1904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1905for as_dir in $PATH 1906do 1907 IFS=$as_save_IFS 1908 test -z "$as_dir" && as_dir=. 1909 $as_echo "PATH: $as_dir" 1910 done 1911IFS=$as_save_IFS 1912 1913} >&5 1914 1915cat >&5 <<_ACEOF 1916 1917 1918## ----------- ## 1919## Core tests. ## 1920## ----------- ## 1921 1922_ACEOF 1923 1924 1925# Keep a trace of the command line. 1926# Strip out --no-create and --no-recursion so they do not pile up. 1927# Strip out --silent because we don't want to record it for future runs. 1928# Also quote any args containing shell meta-characters. 1929# Make two passes to allow for proper duplicate-argument suppression. 1930ac_configure_args= 1931ac_configure_args0= 1932ac_configure_args1= 1933ac_must_keep_next=false 1934for ac_pass in 1 2 1935do 1936 for ac_arg 1937 do 1938 case $ac_arg in 1939 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1940 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1941 | -silent | --silent | --silen | --sile | --sil) 1942 continue ;; 1943 *\'*) 1944 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1945 esac 1946 case $ac_pass in 1947 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1948 2) 1949 as_fn_append ac_configure_args1 " '$ac_arg'" 1950 if test $ac_must_keep_next = true; then 1951 ac_must_keep_next=false # Got value, back to normal. 1952 else 1953 case $ac_arg in 1954 *=* | --config-cache | -C | -disable-* | --disable-* \ 1955 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1956 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1957 | -with-* | --with-* | -without-* | --without-* | --x) 1958 case "$ac_configure_args0 " in 1959 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1960 esac 1961 ;; 1962 -* ) ac_must_keep_next=true ;; 1963 esac 1964 fi 1965 as_fn_append ac_configure_args " '$ac_arg'" 1966 ;; 1967 esac 1968 done 1969done 1970{ ac_configure_args0=; unset ac_configure_args0;} 1971{ ac_configure_args1=; unset ac_configure_args1;} 1972 1973# When interrupted or exit'd, cleanup temporary files, and complete 1974# config.log. We remove comments because anyway the quotes in there 1975# would cause problems or look ugly. 1976# WARNING: Use '\'' to represent an apostrophe within the trap. 1977# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1978trap 'exit_status=$? 1979 # Save into config.log some information that might help in debugging. 1980 { 1981 echo 1982 1983 $as_echo "## ---------------- ## 1984## Cache variables. ## 1985## ---------------- ##" 1986 echo 1987 # The following way of writing the cache mishandles newlines in values, 1988( 1989 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1990 eval ac_val=\$$ac_var 1991 case $ac_val in #( 1992 *${as_nl}*) 1993 case $ac_var in #( 1994 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1995$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1996 esac 1997 case $ac_var in #( 1998 _ | IFS | as_nl) ;; #( 1999 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2000 *) { eval $ac_var=; unset $ac_var;} ;; 2001 esac ;; 2002 esac 2003 done 2004 (set) 2>&1 | 2005 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2006 *${as_nl}ac_space=\ *) 2007 sed -n \ 2008 "s/'\''/'\''\\\\'\'''\''/g; 2009 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2010 ;; #( 2011 *) 2012 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2013 ;; 2014 esac | 2015 sort 2016) 2017 echo 2018 2019 $as_echo "## ----------------- ## 2020## Output variables. ## 2021## ----------------- ##" 2022 echo 2023 for ac_var in $ac_subst_vars 2024 do 2025 eval ac_val=\$$ac_var 2026 case $ac_val in 2027 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2028 esac 2029 $as_echo "$ac_var='\''$ac_val'\''" 2030 done | sort 2031 echo 2032 2033 if test -n "$ac_subst_files"; then 2034 $as_echo "## ------------------- ## 2035## File substitutions. ## 2036## ------------------- ##" 2037 echo 2038 for ac_var in $ac_subst_files 2039 do 2040 eval ac_val=\$$ac_var 2041 case $ac_val in 2042 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2043 esac 2044 $as_echo "$ac_var='\''$ac_val'\''" 2045 done | sort 2046 echo 2047 fi 2048 2049 if test -s confdefs.h; then 2050 $as_echo "## ----------- ## 2051## confdefs.h. ## 2052## ----------- ##" 2053 echo 2054 cat confdefs.h 2055 echo 2056 fi 2057 test "$ac_signal" != 0 && 2058 $as_echo "$as_me: caught signal $ac_signal" 2059 $as_echo "$as_me: exit $exit_status" 2060 } >&5 2061 rm -f core *.core core.conftest.* && 2062 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2063 exit $exit_status 2064' 0 2065for ac_signal in 1 2 13 15; do 2066 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2067done 2068ac_signal=0 2069 2070# confdefs.h avoids OS command line length limits that DEFS can exceed. 2071rm -f -r conftest* confdefs.h 2072 2073$as_echo "/* confdefs.h */" > confdefs.h 2074 2075# Predefined preprocessor variables. 2076 2077cat >>confdefs.h <<_ACEOF 2078#define PACKAGE_NAME "$PACKAGE_NAME" 2079_ACEOF 2080 2081cat >>confdefs.h <<_ACEOF 2082#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2083_ACEOF 2084 2085cat >>confdefs.h <<_ACEOF 2086#define PACKAGE_VERSION "$PACKAGE_VERSION" 2087_ACEOF 2088 2089cat >>confdefs.h <<_ACEOF 2090#define PACKAGE_STRING "$PACKAGE_STRING" 2091_ACEOF 2092 2093cat >>confdefs.h <<_ACEOF 2094#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2095_ACEOF 2096 2097cat >>confdefs.h <<_ACEOF 2098#define PACKAGE_URL "$PACKAGE_URL" 2099_ACEOF 2100 2101 2102# Let the site file select an alternate cache file if it wants to. 2103# Prefer an explicitly selected file to automatically selected ones. 2104ac_site_file1=NONE 2105ac_site_file2=NONE 2106if test -n "$CONFIG_SITE"; then 2107 # We do not want a PATH search for config.site. 2108 case $CONFIG_SITE in #(( 2109 -*) ac_site_file1=./$CONFIG_SITE;; 2110 */*) ac_site_file1=$CONFIG_SITE;; 2111 *) ac_site_file1=./$CONFIG_SITE;; 2112 esac 2113elif test "x$prefix" != xNONE; then 2114 ac_site_file1=$prefix/share/config.site 2115 ac_site_file2=$prefix/etc/config.site 2116else 2117 ac_site_file1=$ac_default_prefix/share/config.site 2118 ac_site_file2=$ac_default_prefix/etc/config.site 2119fi 2120for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2121do 2122 test "x$ac_site_file" = xNONE && continue 2123 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2124 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2125$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2126 sed 's/^/| /' "$ac_site_file" >&5 2127 . "$ac_site_file" \ 2128 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2129$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2130as_fn_error $? "failed to load site script $ac_site_file 2131See \`config.log' for more details" "$LINENO" 5; } 2132 fi 2133done 2134 2135if test -r "$cache_file"; then 2136 # Some versions of bash will fail to source /dev/null (special files 2137 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2138 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2139 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2140$as_echo "$as_me: loading cache $cache_file" >&6;} 2141 case $cache_file in 2142 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2143 *) . "./$cache_file";; 2144 esac 2145 fi 2146else 2147 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2148$as_echo "$as_me: creating cache $cache_file" >&6;} 2149 >$cache_file 2150fi 2151 2152# Check that the precious variables saved in the cache have kept the same 2153# value. 2154ac_cache_corrupted=false 2155for ac_var in $ac_precious_vars; do 2156 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2157 eval ac_new_set=\$ac_env_${ac_var}_set 2158 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2159 eval ac_new_val=\$ac_env_${ac_var}_value 2160 case $ac_old_set,$ac_new_set in 2161 set,) 2162 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2163$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2164 ac_cache_corrupted=: ;; 2165 ,set) 2166 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2167$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2168 ac_cache_corrupted=: ;; 2169 ,);; 2170 *) 2171 if test "x$ac_old_val" != "x$ac_new_val"; then 2172 # differences in whitespace do not lead to failure. 2173 ac_old_val_w=`echo x $ac_old_val` 2174 ac_new_val_w=`echo x $ac_new_val` 2175 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2177$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2178 ac_cache_corrupted=: 2179 else 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2181$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2182 eval $ac_var=\$ac_old_val 2183 fi 2184 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2185$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2186 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2187$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2188 fi;; 2189 esac 2190 # Pass precious variables to config.status. 2191 if test "$ac_new_set" = set; then 2192 case $ac_new_val in 2193 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2194 *) ac_arg=$ac_var=$ac_new_val ;; 2195 esac 2196 case " $ac_configure_args " in 2197 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2198 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2199 esac 2200 fi 2201done 2202if $ac_cache_corrupted; then 2203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2204$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2206$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2207 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2208fi 2209## -------------------- ## 2210## Main body of script. ## 2211## -------------------- ## 2212 2213ac_ext=c 2214ac_cpp='$CPP $CPPFLAGS' 2215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2217ac_compiler_gnu=$ac_cv_c_compiler_gnu 2218 2219 2220 2221ac_config_headers="$ac_config_headers rumpuser_config.h" 2222 2223ac_aux_dir= 2224for ac_dir in build-aux "$srcdir"/build-aux; do 2225 if test -f "$ac_dir/install-sh"; then 2226 ac_aux_dir=$ac_dir 2227 ac_install_sh="$ac_aux_dir/install-sh -c" 2228 break 2229 elif test -f "$ac_dir/install.sh"; then 2230 ac_aux_dir=$ac_dir 2231 ac_install_sh="$ac_aux_dir/install.sh -c" 2232 break 2233 elif test -f "$ac_dir/shtool"; then 2234 ac_aux_dir=$ac_dir 2235 ac_install_sh="$ac_aux_dir/shtool install -c" 2236 break 2237 fi 2238done 2239if test -z "$ac_aux_dir"; then 2240 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2241fi 2242 2243# These three variables are undocumented and unsupported, 2244# and are intended to be withdrawn in a future Autoconf release. 2245# They can cause serious problems if a builder's source tree is in a directory 2246# whose full name contains unusual characters. 2247ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2248ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2249ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2250 2251 2252 2253 2254ac_ext=c 2255ac_cpp='$CPP $CPPFLAGS' 2256ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2257ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2258ac_compiler_gnu=$ac_cv_c_compiler_gnu 2259 2260 2261ac_ext=c 2262ac_cpp='$CPP $CPPFLAGS' 2263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2265ac_compiler_gnu=$ac_cv_c_compiler_gnu 2266if test -n "$ac_tool_prefix"; then 2267 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2268set dummy ${ac_tool_prefix}gcc; ac_word=$2 2269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2270$as_echo_n "checking for $ac_word... " >&6; } 2271if ${ac_cv_prog_CC+:} false; then : 2272 $as_echo_n "(cached) " >&6 2273else 2274 if test -n "$CC"; then 2275 ac_cv_prog_CC="$CC" # Let the user override the test. 2276else 2277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2278for as_dir in $PATH 2279do 2280 IFS=$as_save_IFS 2281 test -z "$as_dir" && as_dir=. 2282 for ac_exec_ext in '' $ac_executable_extensions; do 2283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2284 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2286 break 2 2287 fi 2288done 2289 done 2290IFS=$as_save_IFS 2291 2292fi 2293fi 2294CC=$ac_cv_prog_CC 2295if test -n "$CC"; then 2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2297$as_echo "$CC" >&6; } 2298else 2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2300$as_echo "no" >&6; } 2301fi 2302 2303 2304fi 2305if test -z "$ac_cv_prog_CC"; then 2306 ac_ct_CC=$CC 2307 # Extract the first word of "gcc", so it can be a program name with args. 2308set dummy gcc; ac_word=$2 2309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2310$as_echo_n "checking for $ac_word... " >&6; } 2311if ${ac_cv_prog_ac_ct_CC+:} false; then : 2312 $as_echo_n "(cached) " >&6 2313else 2314 if test -n "$ac_ct_CC"; then 2315 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2316else 2317as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2318for as_dir in $PATH 2319do 2320 IFS=$as_save_IFS 2321 test -z "$as_dir" && as_dir=. 2322 for ac_exec_ext in '' $ac_executable_extensions; do 2323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2324 ac_cv_prog_ac_ct_CC="gcc" 2325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2326 break 2 2327 fi 2328done 2329 done 2330IFS=$as_save_IFS 2331 2332fi 2333fi 2334ac_ct_CC=$ac_cv_prog_ac_ct_CC 2335if test -n "$ac_ct_CC"; then 2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2337$as_echo "$ac_ct_CC" >&6; } 2338else 2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2340$as_echo "no" >&6; } 2341fi 2342 2343 if test "x$ac_ct_CC" = x; then 2344 CC="" 2345 else 2346 case $cross_compiling:$ac_tool_warned in 2347yes:) 2348{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2349$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2350ac_tool_warned=yes ;; 2351esac 2352 CC=$ac_ct_CC 2353 fi 2354else 2355 CC="$ac_cv_prog_CC" 2356fi 2357 2358if test -z "$CC"; then 2359 if test -n "$ac_tool_prefix"; then 2360 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2361set dummy ${ac_tool_prefix}cc; ac_word=$2 2362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2363$as_echo_n "checking for $ac_word... " >&6; } 2364if ${ac_cv_prog_CC+:} false; then : 2365 $as_echo_n "(cached) " >&6 2366else 2367 if test -n "$CC"; then 2368 ac_cv_prog_CC="$CC" # Let the user override the test. 2369else 2370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2371for as_dir in $PATH 2372do 2373 IFS=$as_save_IFS 2374 test -z "$as_dir" && as_dir=. 2375 for ac_exec_ext in '' $ac_executable_extensions; do 2376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2377 ac_cv_prog_CC="${ac_tool_prefix}cc" 2378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2379 break 2 2380 fi 2381done 2382 done 2383IFS=$as_save_IFS 2384 2385fi 2386fi 2387CC=$ac_cv_prog_CC 2388if test -n "$CC"; then 2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2390$as_echo "$CC" >&6; } 2391else 2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2393$as_echo "no" >&6; } 2394fi 2395 2396 2397 fi 2398fi 2399if test -z "$CC"; then 2400 # Extract the first word of "cc", so it can be a program name with args. 2401set dummy cc; ac_word=$2 2402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2403$as_echo_n "checking for $ac_word... " >&6; } 2404if ${ac_cv_prog_CC+:} false; then : 2405 $as_echo_n "(cached) " >&6 2406else 2407 if test -n "$CC"; then 2408 ac_cv_prog_CC="$CC" # Let the user override the test. 2409else 2410 ac_prog_rejected=no 2411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2412for as_dir in $PATH 2413do 2414 IFS=$as_save_IFS 2415 test -z "$as_dir" && as_dir=. 2416 for ac_exec_ext in '' $ac_executable_extensions; do 2417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2418 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2419 ac_prog_rejected=yes 2420 continue 2421 fi 2422 ac_cv_prog_CC="cc" 2423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2424 break 2 2425 fi 2426done 2427 done 2428IFS=$as_save_IFS 2429 2430if test $ac_prog_rejected = yes; then 2431 # We found a bogon in the path, so make sure we never use it. 2432 set dummy $ac_cv_prog_CC 2433 shift 2434 if test $# != 0; then 2435 # We chose a different compiler from the bogus one. 2436 # However, it has the same basename, so the bogon will be chosen 2437 # first if we set CC to just the basename; use the full file name. 2438 shift 2439 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2440 fi 2441fi 2442fi 2443fi 2444CC=$ac_cv_prog_CC 2445if test -n "$CC"; then 2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2447$as_echo "$CC" >&6; } 2448else 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2450$as_echo "no" >&6; } 2451fi 2452 2453 2454fi 2455if test -z "$CC"; then 2456 if test -n "$ac_tool_prefix"; then 2457 for ac_prog in cl.exe 2458 do 2459 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2460set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2462$as_echo_n "checking for $ac_word... " >&6; } 2463if ${ac_cv_prog_CC+:} false; then : 2464 $as_echo_n "(cached) " >&6 2465else 2466 if test -n "$CC"; then 2467 ac_cv_prog_CC="$CC" # Let the user override the test. 2468else 2469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2470for as_dir in $PATH 2471do 2472 IFS=$as_save_IFS 2473 test -z "$as_dir" && as_dir=. 2474 for ac_exec_ext in '' $ac_executable_extensions; do 2475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2476 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2478 break 2 2479 fi 2480done 2481 done 2482IFS=$as_save_IFS 2483 2484fi 2485fi 2486CC=$ac_cv_prog_CC 2487if test -n "$CC"; then 2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2489$as_echo "$CC" >&6; } 2490else 2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2492$as_echo "no" >&6; } 2493fi 2494 2495 2496 test -n "$CC" && break 2497 done 2498fi 2499if test -z "$CC"; then 2500 ac_ct_CC=$CC 2501 for ac_prog in cl.exe 2502do 2503 # Extract the first word of "$ac_prog", so it can be a program name with args. 2504set dummy $ac_prog; ac_word=$2 2505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2506$as_echo_n "checking for $ac_word... " >&6; } 2507if ${ac_cv_prog_ac_ct_CC+:} false; then : 2508 $as_echo_n "(cached) " >&6 2509else 2510 if test -n "$ac_ct_CC"; then 2511 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2512else 2513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2514for as_dir in $PATH 2515do 2516 IFS=$as_save_IFS 2517 test -z "$as_dir" && as_dir=. 2518 for ac_exec_ext in '' $ac_executable_extensions; do 2519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2520 ac_cv_prog_ac_ct_CC="$ac_prog" 2521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2522 break 2 2523 fi 2524done 2525 done 2526IFS=$as_save_IFS 2527 2528fi 2529fi 2530ac_ct_CC=$ac_cv_prog_ac_ct_CC 2531if test -n "$ac_ct_CC"; then 2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2533$as_echo "$ac_ct_CC" >&6; } 2534else 2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2536$as_echo "no" >&6; } 2537fi 2538 2539 2540 test -n "$ac_ct_CC" && break 2541done 2542 2543 if test "x$ac_ct_CC" = x; then 2544 CC="" 2545 else 2546 case $cross_compiling:$ac_tool_warned in 2547yes:) 2548{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2549$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2550ac_tool_warned=yes ;; 2551esac 2552 CC=$ac_ct_CC 2553 fi 2554fi 2555 2556fi 2557 2558 2559test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2560$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2561as_fn_error $? "no acceptable C compiler found in \$PATH 2562See \`config.log' for more details" "$LINENO" 5; } 2563 2564# Provide some information about the compiler. 2565$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2566set X $ac_compile 2567ac_compiler=$2 2568for ac_option in --version -v -V -qversion; do 2569 { { ac_try="$ac_compiler $ac_option >&5" 2570case "(($ac_try" in 2571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2572 *) ac_try_echo=$ac_try;; 2573esac 2574eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2575$as_echo "$ac_try_echo"; } >&5 2576 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2577 ac_status=$? 2578 if test -s conftest.err; then 2579 sed '10a\ 2580... rest of stderr output deleted ... 2581 10q' conftest.err >conftest.er1 2582 cat conftest.er1 >&5 2583 fi 2584 rm -f conftest.er1 conftest.err 2585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2586 test $ac_status = 0; } 2587done 2588 2589cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2590/* end confdefs.h. */ 2591 2592int 2593main () 2594{ 2595 2596 ; 2597 return 0; 2598} 2599_ACEOF 2600ac_clean_files_save=$ac_clean_files 2601ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2602# Try to create an executable without -o first, disregard a.out. 2603# It will help us diagnose broken compilers, and finding out an intuition 2604# of exeext. 2605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2606$as_echo_n "checking whether the C compiler works... " >&6; } 2607ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2608 2609# The possible output files: 2610ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2611 2612ac_rmfiles= 2613for ac_file in $ac_files 2614do 2615 case $ac_file in 2616 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2617 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2618 esac 2619done 2620rm -f $ac_rmfiles 2621 2622if { { ac_try="$ac_link_default" 2623case "(($ac_try" in 2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2625 *) ac_try_echo=$ac_try;; 2626esac 2627eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2628$as_echo "$ac_try_echo"; } >&5 2629 (eval "$ac_link_default") 2>&5 2630 ac_status=$? 2631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2632 test $ac_status = 0; }; then : 2633 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2634# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2635# in a Makefile. We should not override ac_cv_exeext if it was cached, 2636# so that the user can short-circuit this test for compilers unknown to 2637# Autoconf. 2638for ac_file in $ac_files '' 2639do 2640 test -f "$ac_file" || continue 2641 case $ac_file in 2642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2643 ;; 2644 [ab].out ) 2645 # We found the default executable, but exeext='' is most 2646 # certainly right. 2647 break;; 2648 *.* ) 2649 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2650 then :; else 2651 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2652 fi 2653 # We set ac_cv_exeext here because the later test for it is not 2654 # safe: cross compilers may not add the suffix if given an `-o' 2655 # argument, so we may need to know it at that point already. 2656 # Even if this section looks crufty: it has the advantage of 2657 # actually working. 2658 break;; 2659 * ) 2660 break;; 2661 esac 2662done 2663test "$ac_cv_exeext" = no && ac_cv_exeext= 2664 2665else 2666 ac_file='' 2667fi 2668if test -z "$ac_file"; then : 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2670$as_echo "no" >&6; } 2671$as_echo "$as_me: failed program was:" >&5 2672sed 's/^/| /' conftest.$ac_ext >&5 2673 2674{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2675$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2676as_fn_error 77 "C compiler cannot create executables 2677See \`config.log' for more details" "$LINENO" 5; } 2678else 2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2680$as_echo "yes" >&6; } 2681fi 2682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2683$as_echo_n "checking for C compiler default output file name... " >&6; } 2684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2685$as_echo "$ac_file" >&6; } 2686ac_exeext=$ac_cv_exeext 2687 2688rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2689ac_clean_files=$ac_clean_files_save 2690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2691$as_echo_n "checking for suffix of executables... " >&6; } 2692if { { ac_try="$ac_link" 2693case "(($ac_try" in 2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2695 *) ac_try_echo=$ac_try;; 2696esac 2697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2698$as_echo "$ac_try_echo"; } >&5 2699 (eval "$ac_link") 2>&5 2700 ac_status=$? 2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2702 test $ac_status = 0; }; then : 2703 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2704# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2705# work properly (i.e., refer to `conftest.exe'), while it won't with 2706# `rm'. 2707for ac_file in conftest.exe conftest conftest.*; do 2708 test -f "$ac_file" || continue 2709 case $ac_file in 2710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2711 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2712 break;; 2713 * ) break;; 2714 esac 2715done 2716else 2717 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2718$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2719as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2720See \`config.log' for more details" "$LINENO" 5; } 2721fi 2722rm -f conftest conftest$ac_cv_exeext 2723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2724$as_echo "$ac_cv_exeext" >&6; } 2725 2726rm -f conftest.$ac_ext 2727EXEEXT=$ac_cv_exeext 2728ac_exeext=$EXEEXT 2729cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2730/* end confdefs.h. */ 2731#include <stdio.h> 2732int 2733main () 2734{ 2735FILE *f = fopen ("conftest.out", "w"); 2736 return ferror (f) || fclose (f) != 0; 2737 2738 ; 2739 return 0; 2740} 2741_ACEOF 2742ac_clean_files="$ac_clean_files conftest.out" 2743# Check that the compiler produces executables we can run. If not, either 2744# the compiler is broken, or we cross compile. 2745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2746$as_echo_n "checking whether we are cross compiling... " >&6; } 2747if test "$cross_compiling" != yes; then 2748 { { ac_try="$ac_link" 2749case "(($ac_try" in 2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2751 *) ac_try_echo=$ac_try;; 2752esac 2753eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2754$as_echo "$ac_try_echo"; } >&5 2755 (eval "$ac_link") 2>&5 2756 ac_status=$? 2757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2758 test $ac_status = 0; } 2759 if { ac_try='./conftest$ac_cv_exeext' 2760 { { case "(($ac_try" in 2761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2762 *) ac_try_echo=$ac_try;; 2763esac 2764eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2765$as_echo "$ac_try_echo"; } >&5 2766 (eval "$ac_try") 2>&5 2767 ac_status=$? 2768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2769 test $ac_status = 0; }; }; then 2770 cross_compiling=no 2771 else 2772 if test "$cross_compiling" = maybe; then 2773 cross_compiling=yes 2774 else 2775 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2776$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2777as_fn_error $? "cannot run C compiled programs. 2778If you meant to cross compile, use \`--host'. 2779See \`config.log' for more details" "$LINENO" 5; } 2780 fi 2781 fi 2782fi 2783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2784$as_echo "$cross_compiling" >&6; } 2785 2786rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2787ac_clean_files=$ac_clean_files_save 2788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2789$as_echo_n "checking for suffix of object files... " >&6; } 2790if ${ac_cv_objext+:} false; then : 2791 $as_echo_n "(cached) " >&6 2792else 2793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2794/* end confdefs.h. */ 2795 2796int 2797main () 2798{ 2799 2800 ; 2801 return 0; 2802} 2803_ACEOF 2804rm -f conftest.o conftest.obj 2805if { { ac_try="$ac_compile" 2806case "(($ac_try" in 2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2808 *) ac_try_echo=$ac_try;; 2809esac 2810eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2811$as_echo "$ac_try_echo"; } >&5 2812 (eval "$ac_compile") 2>&5 2813 ac_status=$? 2814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2815 test $ac_status = 0; }; then : 2816 for ac_file in conftest.o conftest.obj conftest.*; do 2817 test -f "$ac_file" || continue; 2818 case $ac_file in 2819 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2820 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2821 break;; 2822 esac 2823done 2824else 2825 $as_echo "$as_me: failed program was:" >&5 2826sed 's/^/| /' conftest.$ac_ext >&5 2827 2828{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2829$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2830as_fn_error $? "cannot compute suffix of object files: cannot compile 2831See \`config.log' for more details" "$LINENO" 5; } 2832fi 2833rm -f conftest.$ac_cv_objext conftest.$ac_ext 2834fi 2835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2836$as_echo "$ac_cv_objext" >&6; } 2837OBJEXT=$ac_cv_objext 2838ac_objext=$OBJEXT 2839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2840$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2841if ${ac_cv_c_compiler_gnu+:} false; then : 2842 $as_echo_n "(cached) " >&6 2843else 2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2845/* end confdefs.h. */ 2846 2847int 2848main () 2849{ 2850#ifndef __GNUC__ 2851 choke me 2852#endif 2853 2854 ; 2855 return 0; 2856} 2857_ACEOF 2858if ac_fn_c_try_compile "$LINENO"; then : 2859 ac_compiler_gnu=yes 2860else 2861 ac_compiler_gnu=no 2862fi 2863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2864ac_cv_c_compiler_gnu=$ac_compiler_gnu 2865 2866fi 2867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2868$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2869if test $ac_compiler_gnu = yes; then 2870 GCC=yes 2871else 2872 GCC= 2873fi 2874ac_test_CFLAGS=${CFLAGS+set} 2875ac_save_CFLAGS=$CFLAGS 2876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2877$as_echo_n "checking whether $CC accepts -g... " >&6; } 2878if ${ac_cv_prog_cc_g+:} false; then : 2879 $as_echo_n "(cached) " >&6 2880else 2881 ac_save_c_werror_flag=$ac_c_werror_flag 2882 ac_c_werror_flag=yes 2883 ac_cv_prog_cc_g=no 2884 CFLAGS="-g" 2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2886/* end confdefs.h. */ 2887 2888int 2889main () 2890{ 2891 2892 ; 2893 return 0; 2894} 2895_ACEOF 2896if ac_fn_c_try_compile "$LINENO"; then : 2897 ac_cv_prog_cc_g=yes 2898else 2899 CFLAGS="" 2900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2901/* end confdefs.h. */ 2902 2903int 2904main () 2905{ 2906 2907 ; 2908 return 0; 2909} 2910_ACEOF 2911if ac_fn_c_try_compile "$LINENO"; then : 2912 2913else 2914 ac_c_werror_flag=$ac_save_c_werror_flag 2915 CFLAGS="-g" 2916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2917/* end confdefs.h. */ 2918 2919int 2920main () 2921{ 2922 2923 ; 2924 return 0; 2925} 2926_ACEOF 2927if ac_fn_c_try_compile "$LINENO"; then : 2928 ac_cv_prog_cc_g=yes 2929fi 2930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2931fi 2932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2933fi 2934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2935 ac_c_werror_flag=$ac_save_c_werror_flag 2936fi 2937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2938$as_echo "$ac_cv_prog_cc_g" >&6; } 2939if test "$ac_test_CFLAGS" = set; then 2940 CFLAGS=$ac_save_CFLAGS 2941elif test $ac_cv_prog_cc_g = yes; then 2942 if test "$GCC" = yes; then 2943 CFLAGS="-g -O2" 2944 else 2945 CFLAGS="-g" 2946 fi 2947else 2948 if test "$GCC" = yes; then 2949 CFLAGS="-O2" 2950 else 2951 CFLAGS= 2952 fi 2953fi 2954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2955$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2956if ${ac_cv_prog_cc_c89+:} false; then : 2957 $as_echo_n "(cached) " >&6 2958else 2959 ac_cv_prog_cc_c89=no 2960ac_save_CC=$CC 2961cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2962/* end confdefs.h. */ 2963#include <stdarg.h> 2964#include <stdio.h> 2965struct stat; 2966/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2967struct buf { int x; }; 2968FILE * (*rcsopen) (struct buf *, struct stat *, int); 2969static char *e (p, i) 2970 char **p; 2971 int i; 2972{ 2973 return p[i]; 2974} 2975static char *f (char * (*g) (char **, int), char **p, ...) 2976{ 2977 char *s; 2978 va_list v; 2979 va_start (v,p); 2980 s = g (p, va_arg (v,int)); 2981 va_end (v); 2982 return s; 2983} 2984 2985/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2986 function prototypes and stuff, but not '\xHH' hex character constants. 2987 These don't provoke an error unfortunately, instead are silently treated 2988 as 'x'. The following induces an error, until -std is added to get 2989 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2990 array size at least. It's necessary to write '\x00'==0 to get something 2991 that's true only with -std. */ 2992int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2993 2994/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2995 inside strings and character constants. */ 2996#define FOO(x) 'x' 2997int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2998 2999int test (int i, double x); 3000struct s1 {int (*f) (int a);}; 3001struct s2 {int (*f) (double a);}; 3002int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3003int argc; 3004char **argv; 3005int 3006main () 3007{ 3008return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3009 ; 3010 return 0; 3011} 3012_ACEOF 3013for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3014 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3015do 3016 CC="$ac_save_CC $ac_arg" 3017 if ac_fn_c_try_compile "$LINENO"; then : 3018 ac_cv_prog_cc_c89=$ac_arg 3019fi 3020rm -f core conftest.err conftest.$ac_objext 3021 test "x$ac_cv_prog_cc_c89" != "xno" && break 3022done 3023rm -f conftest.$ac_ext 3024CC=$ac_save_CC 3025 3026fi 3027# AC_CACHE_VAL 3028case "x$ac_cv_prog_cc_c89" in 3029 x) 3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3031$as_echo "none needed" >&6; } ;; 3032 xno) 3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3034$as_echo "unsupported" >&6; } ;; 3035 *) 3036 CC="$CC $ac_cv_prog_cc_c89" 3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3038$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3039esac 3040if test "x$ac_cv_prog_cc_c89" != xno; then : 3041 3042fi 3043 3044ac_ext=c 3045ac_cpp='$CPP $CPPFLAGS' 3046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3048ac_compiler_gnu=$ac_cv_c_compiler_gnu 3049 3050 3051# Check whether --enable-largefile was given. 3052if test "${enable_largefile+set}" = set; then : 3053 enableval=$enable_largefile; 3054fi 3055 3056if test "$enable_largefile" != no; then 3057 3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 3059$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 3060if ${ac_cv_sys_largefile_CC+:} false; then : 3061 $as_echo_n "(cached) " >&6 3062else 3063 ac_cv_sys_largefile_CC=no 3064 if test "$GCC" != yes; then 3065 ac_save_CC=$CC 3066 while :; do 3067 # IRIX 6.2 and later do not support large files by default, 3068 # so use the C compiler's -n32 option if that helps. 3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3070/* end confdefs.h. */ 3071#include <sys/types.h> 3072 /* Check that off_t can represent 2**63 - 1 correctly. 3073 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3074 since some C++ compilers masquerading as C compilers 3075 incorrectly reject 9223372036854775807. */ 3076#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 3077 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3078 && LARGE_OFF_T % 2147483647 == 1) 3079 ? 1 : -1]; 3080int 3081main () 3082{ 3083 3084 ; 3085 return 0; 3086} 3087_ACEOF 3088 if ac_fn_c_try_compile "$LINENO"; then : 3089 break 3090fi 3091rm -f core conftest.err conftest.$ac_objext 3092 CC="$CC -n32" 3093 if ac_fn_c_try_compile "$LINENO"; then : 3094 ac_cv_sys_largefile_CC=' -n32'; break 3095fi 3096rm -f core conftest.err conftest.$ac_objext 3097 break 3098 done 3099 CC=$ac_save_CC 3100 rm -f conftest.$ac_ext 3101 fi 3102fi 3103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 3104$as_echo "$ac_cv_sys_largefile_CC" >&6; } 3105 if test "$ac_cv_sys_largefile_CC" != no; then 3106 CC=$CC$ac_cv_sys_largefile_CC 3107 fi 3108 3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3110$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 3111if ${ac_cv_sys_file_offset_bits+:} false; then : 3112 $as_echo_n "(cached) " >&6 3113else 3114 while :; do 3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3116/* end confdefs.h. */ 3117#include <sys/types.h> 3118 /* Check that off_t can represent 2**63 - 1 correctly. 3119 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3120 since some C++ compilers masquerading as C compilers 3121 incorrectly reject 9223372036854775807. */ 3122#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 3123 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3124 && LARGE_OFF_T % 2147483647 == 1) 3125 ? 1 : -1]; 3126int 3127main () 3128{ 3129 3130 ; 3131 return 0; 3132} 3133_ACEOF 3134if ac_fn_c_try_compile "$LINENO"; then : 3135 ac_cv_sys_file_offset_bits=no; break 3136fi 3137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3139/* end confdefs.h. */ 3140#define _FILE_OFFSET_BITS 64 3141#include <sys/types.h> 3142 /* Check that off_t can represent 2**63 - 1 correctly. 3143 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3144 since some C++ compilers masquerading as C compilers 3145 incorrectly reject 9223372036854775807. */ 3146#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 3147 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3148 && LARGE_OFF_T % 2147483647 == 1) 3149 ? 1 : -1]; 3150int 3151main () 3152{ 3153 3154 ; 3155 return 0; 3156} 3157_ACEOF 3158if ac_fn_c_try_compile "$LINENO"; then : 3159 ac_cv_sys_file_offset_bits=64; break 3160fi 3161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3162 ac_cv_sys_file_offset_bits=unknown 3163 break 3164done 3165fi 3166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 3167$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 3168case $ac_cv_sys_file_offset_bits in #( 3169 no | unknown) ;; 3170 *) 3171cat >>confdefs.h <<_ACEOF 3172#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3173_ACEOF 3174;; 3175esac 3176rm -rf conftest* 3177 if test $ac_cv_sys_file_offset_bits = unknown; then 3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 3179$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 3180if ${ac_cv_sys_large_files+:} false; then : 3181 $as_echo_n "(cached) " >&6 3182else 3183 while :; do 3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3185/* end confdefs.h. */ 3186#include <sys/types.h> 3187 /* Check that off_t can represent 2**63 - 1 correctly. 3188 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3189 since some C++ compilers masquerading as C compilers 3190 incorrectly reject 9223372036854775807. */ 3191#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 3192 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3193 && LARGE_OFF_T % 2147483647 == 1) 3194 ? 1 : -1]; 3195int 3196main () 3197{ 3198 3199 ; 3200 return 0; 3201} 3202_ACEOF 3203if ac_fn_c_try_compile "$LINENO"; then : 3204 ac_cv_sys_large_files=no; break 3205fi 3206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3208/* end confdefs.h. */ 3209#define _LARGE_FILES 1 3210#include <sys/types.h> 3211 /* Check that off_t can represent 2**63 - 1 correctly. 3212 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3213 since some C++ compilers masquerading as C compilers 3214 incorrectly reject 9223372036854775807. */ 3215#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 3216 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3217 && LARGE_OFF_T % 2147483647 == 1) 3218 ? 1 : -1]; 3219int 3220main () 3221{ 3222 3223 ; 3224 return 0; 3225} 3226_ACEOF 3227if ac_fn_c_try_compile "$LINENO"; then : 3228 ac_cv_sys_large_files=1; break 3229fi 3230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3231 ac_cv_sys_large_files=unknown 3232 break 3233done 3234fi 3235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 3236$as_echo "$ac_cv_sys_large_files" >&6; } 3237case $ac_cv_sys_large_files in #( 3238 no | unknown) ;; 3239 *) 3240cat >>confdefs.h <<_ACEOF 3241#define _LARGE_FILES $ac_cv_sys_large_files 3242_ACEOF 3243;; 3244esac 3245rm -rf conftest* 3246 fi 3247 3248 3249fi 3250 3251 3252ac_ext=c 3253ac_cpp='$CPP $CPPFLAGS' 3254ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3255ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3256ac_compiler_gnu=$ac_cv_c_compiler_gnu 3257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3258$as_echo_n "checking how to run the C preprocessor... " >&6; } 3259# On Suns, sometimes $CPP names a directory. 3260if test -n "$CPP" && test -d "$CPP"; then 3261 CPP= 3262fi 3263if test -z "$CPP"; then 3264 if ${ac_cv_prog_CPP+:} false; then : 3265 $as_echo_n "(cached) " >&6 3266else 3267 # Double quotes because CPP needs to be expanded 3268 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3269 do 3270 ac_preproc_ok=false 3271for ac_c_preproc_warn_flag in '' yes 3272do 3273 # Use a header file that comes with gcc, so configuring glibc 3274 # with a fresh cross-compiler works. 3275 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3276 # <limits.h> exists even on freestanding compilers. 3277 # On the NeXT, cc -E runs the code through the compiler's parser, 3278 # not just through cpp. "Syntax error" is here to catch this case. 3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3280/* end confdefs.h. */ 3281#ifdef __STDC__ 3282# include <limits.h> 3283#else 3284# include <assert.h> 3285#endif 3286 Syntax error 3287_ACEOF 3288if ac_fn_c_try_cpp "$LINENO"; then : 3289 3290else 3291 # Broken: fails on valid input. 3292continue 3293fi 3294rm -f conftest.err conftest.i conftest.$ac_ext 3295 3296 # OK, works on sane cases. Now check whether nonexistent headers 3297 # can be detected and how. 3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3299/* end confdefs.h. */ 3300#include <ac_nonexistent.h> 3301_ACEOF 3302if ac_fn_c_try_cpp "$LINENO"; then : 3303 # Broken: success on invalid input. 3304continue 3305else 3306 # Passes both tests. 3307ac_preproc_ok=: 3308break 3309fi 3310rm -f conftest.err conftest.i conftest.$ac_ext 3311 3312done 3313# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3314rm -f conftest.i conftest.err conftest.$ac_ext 3315if $ac_preproc_ok; then : 3316 break 3317fi 3318 3319 done 3320 ac_cv_prog_CPP=$CPP 3321 3322fi 3323 CPP=$ac_cv_prog_CPP 3324else 3325 ac_cv_prog_CPP=$CPP 3326fi 3327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3328$as_echo "$CPP" >&6; } 3329ac_preproc_ok=false 3330for ac_c_preproc_warn_flag in '' yes 3331do 3332 # Use a header file that comes with gcc, so configuring glibc 3333 # with a fresh cross-compiler works. 3334 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3335 # <limits.h> exists even on freestanding compilers. 3336 # On the NeXT, cc -E runs the code through the compiler's parser, 3337 # not just through cpp. "Syntax error" is here to catch this case. 3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3339/* end confdefs.h. */ 3340#ifdef __STDC__ 3341# include <limits.h> 3342#else 3343# include <assert.h> 3344#endif 3345 Syntax error 3346_ACEOF 3347if ac_fn_c_try_cpp "$LINENO"; then : 3348 3349else 3350 # Broken: fails on valid input. 3351continue 3352fi 3353rm -f conftest.err conftest.i conftest.$ac_ext 3354 3355 # OK, works on sane cases. Now check whether nonexistent headers 3356 # can be detected and how. 3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3358/* end confdefs.h. */ 3359#include <ac_nonexistent.h> 3360_ACEOF 3361if ac_fn_c_try_cpp "$LINENO"; then : 3362 # Broken: success on invalid input. 3363continue 3364else 3365 # Passes both tests. 3366ac_preproc_ok=: 3367break 3368fi 3369rm -f conftest.err conftest.i conftest.$ac_ext 3370 3371done 3372# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3373rm -f conftest.i conftest.err conftest.$ac_ext 3374if $ac_preproc_ok; then : 3375 3376else 3377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3378$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3379as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3380See \`config.log' for more details" "$LINENO" 5; } 3381fi 3382 3383ac_ext=c 3384ac_cpp='$CPP $CPPFLAGS' 3385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3387ac_compiler_gnu=$ac_cv_c_compiler_gnu 3388 3389 3390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3391$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3392if ${ac_cv_path_GREP+:} false; then : 3393 $as_echo_n "(cached) " >&6 3394else 3395 if test -z "$GREP"; then 3396 ac_path_GREP_found=false 3397 # Loop through the user's path and test for each of PROGNAME-LIST 3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3399for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3400do 3401 IFS=$as_save_IFS 3402 test -z "$as_dir" && as_dir=. 3403 for ac_prog in grep ggrep; do 3404 for ac_exec_ext in '' $ac_executable_extensions; do 3405 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3406 as_fn_executable_p "$ac_path_GREP" || continue 3407# Check for GNU ac_path_GREP and select it if it is found. 3408 # Check for GNU $ac_path_GREP 3409case `"$ac_path_GREP" --version 2>&1` in 3410*GNU*) 3411 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3412*) 3413 ac_count=0 3414 $as_echo_n 0123456789 >"conftest.in" 3415 while : 3416 do 3417 cat "conftest.in" "conftest.in" >"conftest.tmp" 3418 mv "conftest.tmp" "conftest.in" 3419 cp "conftest.in" "conftest.nl" 3420 $as_echo 'GREP' >> "conftest.nl" 3421 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3422 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3423 as_fn_arith $ac_count + 1 && ac_count=$as_val 3424 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3425 # Best one so far, save it but keep looking for a better one 3426 ac_cv_path_GREP="$ac_path_GREP" 3427 ac_path_GREP_max=$ac_count 3428 fi 3429 # 10*(2^10) chars as input seems more than enough 3430 test $ac_count -gt 10 && break 3431 done 3432 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3433esac 3434 3435 $ac_path_GREP_found && break 3 3436 done 3437 done 3438 done 3439IFS=$as_save_IFS 3440 if test -z "$ac_cv_path_GREP"; then 3441 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3442 fi 3443else 3444 ac_cv_path_GREP=$GREP 3445fi 3446 3447fi 3448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3449$as_echo "$ac_cv_path_GREP" >&6; } 3450 GREP="$ac_cv_path_GREP" 3451 3452 3453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3454$as_echo_n "checking for egrep... " >&6; } 3455if ${ac_cv_path_EGREP+:} false; then : 3456 $as_echo_n "(cached) " >&6 3457else 3458 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3459 then ac_cv_path_EGREP="$GREP -E" 3460 else 3461 if test -z "$EGREP"; then 3462 ac_path_EGREP_found=false 3463 # Loop through the user's path and test for each of PROGNAME-LIST 3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3465for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3466do 3467 IFS=$as_save_IFS 3468 test -z "$as_dir" && as_dir=. 3469 for ac_prog in egrep; do 3470 for ac_exec_ext in '' $ac_executable_extensions; do 3471 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3472 as_fn_executable_p "$ac_path_EGREP" || continue 3473# Check for GNU ac_path_EGREP and select it if it is found. 3474 # Check for GNU $ac_path_EGREP 3475case `"$ac_path_EGREP" --version 2>&1` in 3476*GNU*) 3477 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3478*) 3479 ac_count=0 3480 $as_echo_n 0123456789 >"conftest.in" 3481 while : 3482 do 3483 cat "conftest.in" "conftest.in" >"conftest.tmp" 3484 mv "conftest.tmp" "conftest.in" 3485 cp "conftest.in" "conftest.nl" 3486 $as_echo 'EGREP' >> "conftest.nl" 3487 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3488 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3489 as_fn_arith $ac_count + 1 && ac_count=$as_val 3490 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3491 # Best one so far, save it but keep looking for a better one 3492 ac_cv_path_EGREP="$ac_path_EGREP" 3493 ac_path_EGREP_max=$ac_count 3494 fi 3495 # 10*(2^10) chars as input seems more than enough 3496 test $ac_count -gt 10 && break 3497 done 3498 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3499esac 3500 3501 $ac_path_EGREP_found && break 3 3502 done 3503 done 3504 done 3505IFS=$as_save_IFS 3506 if test -z "$ac_cv_path_EGREP"; then 3507 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3508 fi 3509else 3510 ac_cv_path_EGREP=$EGREP 3511fi 3512 3513 fi 3514fi 3515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3516$as_echo "$ac_cv_path_EGREP" >&6; } 3517 EGREP="$ac_cv_path_EGREP" 3518 3519 3520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3521$as_echo_n "checking for ANSI C header files... " >&6; } 3522if ${ac_cv_header_stdc+:} false; then : 3523 $as_echo_n "(cached) " >&6 3524else 3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3526/* end confdefs.h. */ 3527#include <stdlib.h> 3528#include <stdarg.h> 3529#include <string.h> 3530#include <float.h> 3531 3532int 3533main () 3534{ 3535 3536 ; 3537 return 0; 3538} 3539_ACEOF 3540if ac_fn_c_try_compile "$LINENO"; then : 3541 ac_cv_header_stdc=yes 3542else 3543 ac_cv_header_stdc=no 3544fi 3545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3546 3547if test $ac_cv_header_stdc = yes; then 3548 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3550/* end confdefs.h. */ 3551#include <string.h> 3552 3553_ACEOF 3554if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3555 $EGREP "memchr" >/dev/null 2>&1; then : 3556 3557else 3558 ac_cv_header_stdc=no 3559fi 3560rm -f conftest* 3561 3562fi 3563 3564if test $ac_cv_header_stdc = yes; then 3565 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3567/* end confdefs.h. */ 3568#include <stdlib.h> 3569 3570_ACEOF 3571if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3572 $EGREP "free" >/dev/null 2>&1; then : 3573 3574else 3575 ac_cv_header_stdc=no 3576fi 3577rm -f conftest* 3578 3579fi 3580 3581if test $ac_cv_header_stdc = yes; then 3582 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3583 if test "$cross_compiling" = yes; then : 3584 : 3585else 3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3587/* end confdefs.h. */ 3588#include <ctype.h> 3589#include <stdlib.h> 3590#if ((' ' & 0x0FF) == 0x020) 3591# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3592# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3593#else 3594# define ISLOWER(c) \ 3595 (('a' <= (c) && (c) <= 'i') \ 3596 || ('j' <= (c) && (c) <= 'r') \ 3597 || ('s' <= (c) && (c) <= 'z')) 3598# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3599#endif 3600 3601#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3602int 3603main () 3604{ 3605 int i; 3606 for (i = 0; i < 256; i++) 3607 if (XOR (islower (i), ISLOWER (i)) 3608 || toupper (i) != TOUPPER (i)) 3609 return 2; 3610 return 0; 3611} 3612_ACEOF 3613if ac_fn_c_try_run "$LINENO"; then : 3614 3615else 3616 ac_cv_header_stdc=no 3617fi 3618rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3619 conftest.$ac_objext conftest.beam conftest.$ac_ext 3620fi 3621 3622fi 3623fi 3624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3625$as_echo "$ac_cv_header_stdc" >&6; } 3626if test $ac_cv_header_stdc = yes; then 3627 3628$as_echo "#define STDC_HEADERS 1" >>confdefs.h 3629 3630fi 3631 3632# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3633for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3634 inttypes.h stdint.h unistd.h 3635do : 3636 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3637ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3638" 3639if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3640 cat >>confdefs.h <<_ACEOF 3641#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3642_ACEOF 3643 3644fi 3645 3646done 3647 3648 3649for ac_header in sys/param.h sys/sysctl.h sys/disk.h \ 3650 sys/disklabel.h sys/dkio.h sys/atomic.h paths.h 3651do : 3652 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3653ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 3654if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3655 cat >>confdefs.h <<_ACEOF 3656#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3657_ACEOF 3658 3659fi 3660 3661done 3662 3663 3664# Make sure we can run config.sub. 3665$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3666 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3667 3668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3669$as_echo_n "checking build system type... " >&6; } 3670if ${ac_cv_build+:} false; then : 3671 $as_echo_n "(cached) " >&6 3672else 3673 ac_build_alias=$build_alias 3674test "x$ac_build_alias" = x && 3675 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3676test "x$ac_build_alias" = x && 3677 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3678ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3679 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3680 3681fi 3682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3683$as_echo "$ac_cv_build" >&6; } 3684case $ac_cv_build in 3685*-*-*) ;; 3686*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3687esac 3688build=$ac_cv_build 3689ac_save_IFS=$IFS; IFS='-' 3690set x $ac_cv_build 3691shift 3692build_cpu=$1 3693build_vendor=$2 3694shift; shift 3695# Remember, the first character of IFS is used to create $*, 3696# except with old shells: 3697build_os=$* 3698IFS=$ac_save_IFS 3699case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3700 3701 3702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3703$as_echo_n "checking host system type... " >&6; } 3704if ${ac_cv_host+:} false; then : 3705 $as_echo_n "(cached) " >&6 3706else 3707 if test "x$host_alias" = x; then 3708 ac_cv_host=$ac_cv_build 3709else 3710 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3711 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3712fi 3713 3714fi 3715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3716$as_echo "$ac_cv_host" >&6; } 3717case $ac_cv_host in 3718*-*-*) ;; 3719*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3720esac 3721host=$ac_cv_host 3722ac_save_IFS=$IFS; IFS='-' 3723set x $ac_cv_host 3724shift 3725host_cpu=$1 3726host_vendor=$2 3727shift; shift 3728# Remember, the first character of IFS is used to create $*, 3729# except with old shells: 3730host_os=$* 3731IFS=$ac_save_IFS 3732case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3733 3734 3735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 3736$as_echo_n "checking target system type... " >&6; } 3737if ${ac_cv_target+:} false; then : 3738 $as_echo_n "(cached) " >&6 3739else 3740 if test "x$target_alias" = x; then 3741 ac_cv_target=$ac_cv_host 3742else 3743 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3744 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 3745fi 3746 3747fi 3748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 3749$as_echo "$ac_cv_target" >&6; } 3750case $ac_cv_target in 3751*-*-*) ;; 3752*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 3753esac 3754target=$ac_cv_target 3755ac_save_IFS=$IFS; IFS='-' 3756set x $ac_cv_target 3757shift 3758target_cpu=$1 3759target_vendor=$2 3760shift; shift 3761# Remember, the first character of IFS is used to create $*, 3762# except with old shells: 3763target_os=$* 3764IFS=$ac_save_IFS 3765case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3766 3767 3768# The aliases save the names the user supplied, while $host etc. 3769# will get canonicalized. 3770test -n "$target_alias" && 3771 test "$program_prefix$program_suffix$program_transform_name" = \ 3772 NONENONEs,x,x, && 3773 program_prefix=${target_alias}- 3774 3775ac_fn_c_check_type "$LINENO" "clockid_t" "ac_cv_type_clockid_t" "$ac_includes_default" 3776if test "x$ac_cv_type_clockid_t" = xyes; then : 3777 3778cat >>confdefs.h <<_ACEOF 3779#define HAVE_CLOCKID_T 1 3780_ACEOF 3781 3782 3783fi 3784ac_fn_c_check_type "$LINENO" "register_t" "ac_cv_type_register_t" "$ac_includes_default" 3785if test "x$ac_cv_type_register_t" = xyes; then : 3786 3787cat >>confdefs.h <<_ACEOF 3788#define HAVE_REGISTER_T 1 3789_ACEOF 3790 3791 3792fi 3793 3794 3795for ac_func in kqueue chflags strsuftoll setprogname getprogname \ 3796 getenv_r posix_memalign memalign aligned_alloc \ 3797 arc4random_buf getsubopt fsync_range __quotactl utimensat \ 3798 preadv pwritev 3799do : 3800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 3801ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 3802if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 3803 cat >>confdefs.h <<_ACEOF 3804#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 3805_ACEOF 3806 3807fi 3808done 3809 3810 3811cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3812/* end confdefs.h. */ 3813 3814/* Override any GCC internal prototype to avoid an error. 3815 Use char because int might match the return type of a GCC 3816 builtin and then its argument prototype would still apply. */ 3817#ifdef __cplusplus 3818extern "C" 3819#endif 3820char clock_nanosleep (); 3821int 3822main () 3823{ 3824return clock_nanosleep (); 3825 ; 3826 return 0; 3827} 3828_ACEOF 3829if ac_fn_c_try_link "$LINENO"; then : 3830 3831else 3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_nanosleep in -lrt" >&5 3833$as_echo_n "checking for clock_nanosleep in -lrt... " >&6; } 3834if ${ac_cv_lib_rt_clock_nanosleep+:} false; then : 3835 $as_echo_n "(cached) " >&6 3836else 3837 ac_check_lib_save_LIBS=$LIBS 3838LIBS="-lrt $LIBS" 3839cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3840/* end confdefs.h. */ 3841 3842/* Override any GCC internal prototype to avoid an error. 3843 Use char because int might match the return type of a GCC 3844 builtin and then its argument prototype would still apply. */ 3845#ifdef __cplusplus 3846extern "C" 3847#endif 3848char clock_nanosleep (); 3849int 3850main () 3851{ 3852return clock_nanosleep (); 3853 ; 3854 return 0; 3855} 3856_ACEOF 3857if ac_fn_c_try_link "$LINENO"; then : 3858 ac_cv_lib_rt_clock_nanosleep=yes 3859else 3860 ac_cv_lib_rt_clock_nanosleep=no 3861fi 3862rm -f core conftest.err conftest.$ac_objext \ 3863 conftest$ac_exeext conftest.$ac_ext 3864LIBS=$ac_check_lib_save_LIBS 3865fi 3866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_nanosleep" >&5 3867$as_echo "$ac_cv_lib_rt_clock_nanosleep" >&6; } 3868if test "x$ac_cv_lib_rt_clock_nanosleep" = xyes; then : 3869 cat >>confdefs.h <<_ACEOF 3870#define HAVE_LIBRT 1 3871_ACEOF 3872 3873 LIBS="-lrt $LIBS" 3874 3875fi 3876 3877 3878fi 3879rm -f core conftest.err conftest.$ac_objext \ 3880 conftest$ac_exeext conftest.$ac_ext 3881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 3882$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 3883if ${ac_cv_lib_rt_clock_gettime+:} false; then : 3884 $as_echo_n "(cached) " >&6 3885else 3886 ac_check_lib_save_LIBS=$LIBS 3887LIBS="-lrt $LIBS" 3888cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3889/* end confdefs.h. */ 3890 3891/* Override any GCC internal prototype to avoid an error. 3892 Use char because int might match the return type of a GCC 3893 builtin and then its argument prototype would still apply. */ 3894#ifdef __cplusplus 3895extern "C" 3896#endif 3897char clock_gettime (); 3898int 3899main () 3900{ 3901return clock_gettime (); 3902 ; 3903 return 0; 3904} 3905_ACEOF 3906if ac_fn_c_try_link "$LINENO"; then : 3907 ac_cv_lib_rt_clock_gettime=yes 3908else 3909 ac_cv_lib_rt_clock_gettime=no 3910fi 3911rm -f core conftest.err conftest.$ac_objext \ 3912 conftest$ac_exeext conftest.$ac_ext 3913LIBS=$ac_check_lib_save_LIBS 3914fi 3915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 3916$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 3917if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : 3918 3919$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h 3920 3921else 3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3923/* end confdefs.h. */ 3924 3925/* Override any GCC internal prototype to avoid an error. 3926 Use char because int might match the return type of a GCC 3927 builtin and then its argument prototype would still apply. */ 3928#ifdef __cplusplus 3929extern "C" 3930#endif 3931char clock_gettime (); 3932int 3933main () 3934{ 3935return clock_gettime (); 3936 ; 3937 return 0; 3938} 3939_ACEOF 3940if ac_fn_c_try_link "$LINENO"; then : 3941 3942$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h 3943 3944fi 3945rm -f core conftest.err conftest.$ac_objext \ 3946 conftest$ac_exeext conftest.$ac_ext 3947fi 3948 3949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_nanosleep in -lrt" >&5 3950$as_echo_n "checking for clock_nanosleep in -lrt... " >&6; } 3951if ${ac_cv_lib_rt_clock_nanosleep+:} false; then : 3952 $as_echo_n "(cached) " >&6 3953else 3954 ac_check_lib_save_LIBS=$LIBS 3955LIBS="-lrt $LIBS" 3956cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3957/* end confdefs.h. */ 3958 3959/* Override any GCC internal prototype to avoid an error. 3960 Use char because int might match the return type of a GCC 3961 builtin and then its argument prototype would still apply. */ 3962#ifdef __cplusplus 3963extern "C" 3964#endif 3965char clock_nanosleep (); 3966int 3967main () 3968{ 3969return clock_nanosleep (); 3970 ; 3971 return 0; 3972} 3973_ACEOF 3974if ac_fn_c_try_link "$LINENO"; then : 3975 ac_cv_lib_rt_clock_nanosleep=yes 3976else 3977 ac_cv_lib_rt_clock_nanosleep=no 3978fi 3979rm -f core conftest.err conftest.$ac_objext \ 3980 conftest$ac_exeext conftest.$ac_ext 3981LIBS=$ac_check_lib_save_LIBS 3982fi 3983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_nanosleep" >&5 3984$as_echo "$ac_cv_lib_rt_clock_nanosleep" >&6; } 3985if test "x$ac_cv_lib_rt_clock_nanosleep" = xyes; then : 3986 3987$as_echo "#define HAVE_CLOCK_NANOSLEEP 1" >>confdefs.h 3988 3989else 3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3991/* end confdefs.h. */ 3992 3993/* Override any GCC internal prototype to avoid an error. 3994 Use char because int might match the return type of a GCC 3995 builtin and then its argument prototype would still apply. */ 3996#ifdef __cplusplus 3997extern "C" 3998#endif 3999char clock_nanosleep (); 4000int 4001main () 4002{ 4003return clock_nanosleep (); 4004 ; 4005 return 0; 4006} 4007_ACEOF 4008if ac_fn_c_try_link "$LINENO"; then : 4009 4010$as_echo "#define HAVE_CLOCK_NANOSLEEP 1" >>confdefs.h 4011 4012fi 4013rm -f core conftest.err conftest.$ac_objext \ 4014 conftest$ac_exeext conftest.$ac_ext 4015fi 4016 4017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlinfo in -ldl" >&5 4018$as_echo_n "checking for dlinfo in -ldl... " >&6; } 4019if ${ac_cv_lib_dl_dlinfo+:} false; then : 4020 $as_echo_n "(cached) " >&6 4021else 4022 ac_check_lib_save_LIBS=$LIBS 4023LIBS="-ldl $LIBS" 4024cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4025/* end confdefs.h. */ 4026 4027/* Override any GCC internal prototype to avoid an error. 4028 Use char because int might match the return type of a GCC 4029 builtin and then its argument prototype would still apply. */ 4030#ifdef __cplusplus 4031extern "C" 4032#endif 4033char dlinfo (); 4034int 4035main () 4036{ 4037return dlinfo (); 4038 ; 4039 return 0; 4040} 4041_ACEOF 4042if ac_fn_c_try_link "$LINENO"; then : 4043 ac_cv_lib_dl_dlinfo=yes 4044else 4045 ac_cv_lib_dl_dlinfo=no 4046fi 4047rm -f core conftest.err conftest.$ac_objext \ 4048 conftest$ac_exeext conftest.$ac_ext 4049LIBS=$ac_check_lib_save_LIBS 4050fi 4051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlinfo" >&5 4052$as_echo "$ac_cv_lib_dl_dlinfo" >&6; } 4053if test "x$ac_cv_lib_dl_dlinfo" = xyes; then : 4054 4055$as_echo "#define HAVE_DLINFO 1" >>confdefs.h 4056 4057else 4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4059/* end confdefs.h. */ 4060 4061/* Override any GCC internal prototype to avoid an error. 4062 Use char because int might match the return type of a GCC 4063 builtin and then its argument prototype would still apply. */ 4064#ifdef __cplusplus 4065extern "C" 4066#endif 4067char dlinfo (); 4068int 4069main () 4070{ 4071return dlinfo (); 4072 ; 4073 return 0; 4074} 4075_ACEOF 4076if ac_fn_c_try_link "$LINENO"; then : 4077 4078$as_echo "#define HAVE_DLINFO 1" >>confdefs.h 4079 4080fi 4081rm -f core conftest.err conftest.$ac_objext \ 4082 conftest$ac_exeext conftest.$ac_ext 4083fi 4084 4085 4086ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <netinet/in.h> 4087" 4088if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : 4089 4090cat >>confdefs.h <<_ACEOF 4091#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 4092_ACEOF 4093 4094 4095fi 4096 4097 4098SAVE_CFLAGS="${CFLAGS}" 4099CFLAGS="${SAVE_CFLAGS} -Werror" 4100 4101for ac_header in sys/cdefs.h 4102do : 4103 ac_fn_c_check_header_compile "$LINENO" "sys/cdefs.h" "ac_cv_header_sys_cdefs_h" "#include <sys/cdefs.h> 4104" 4105if test "x$ac_cv_header_sys_cdefs_h" = xyes; then : 4106 cat >>confdefs.h <<_ACEOF 4107#define HAVE_SYS_CDEFS_H 1 4108_ACEOF 4109 4110fi 4111 4112done 4113 4114 4115SAVE_LIBS="${LIBS}" 4116LIBS="${LIBS} -lpthread" 4117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument pthread_setname_np()" >&5 4118$as_echo_n "checking for two-argument pthread_setname_np()... " >&6; } 4119cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4120/* end confdefs.h. */ 4121#define _GNU_SOURCE 4122 #include <pthread.h> 4123int 4124main () 4125{ 4126pthread_t pt; 4127 pthread_setname_np(pt, "x");return 0; 4128 ; 4129 return 0; 4130} 4131 4132_ACEOF 4133if ac_fn_c_try_compile "$LINENO"; then : 4134 4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4136$as_echo "yes" >&6; } 4137 4138$as_echo "#define HAVE_PTHREAD_SETNAME2 1" >>confdefs.h 4139 4140 4141else 4142 4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4144$as_echo "no" >&6; } 4145 4146fi 4147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for three-argument pthread_setname_np()" >&5 4149$as_echo_n "checking for three-argument pthread_setname_np()... " >&6; } 4150cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4151/* end confdefs.h. */ 4152#define _GNU_SOURCE 4153 #include <pthread.h> 4154int 4155main () 4156{ 4157pthread_t pt; 4158 pthread_setname_np(pt, "X", (void *)0);return 0; 4159 ; 4160 return 0; 4161} 4162 4163_ACEOF 4164if ac_fn_c_try_compile "$LINENO"; then : 4165 4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4167$as_echo "yes" >&6; } 4168 4169$as_echo "#define HAVE_PTHREAD_SETNAME3 1" >>confdefs.h 4170 4171 4172else 4173 4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4175$as_echo "no" >&6; } 4176 4177fi 4178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4179LIBS="${SAVELIBS}" 4180 4181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl cmd being int" >&5 4182$as_echo_n "checking for ioctl cmd being int... " >&6; } 4183cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4184/* end confdefs.h. */ 4185#include <sys/ioctl.h> 4186 #include <unistd.h> 4187 int ioctl(int fd, int, ...); 4188int 4189main () 4190{ 4191 4192 return 0; 4193 ; 4194 return 0; 4195} 4196 4197_ACEOF 4198if ac_fn_c_try_compile "$LINENO"; then : 4199 4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4201$as_echo "yes" >&6; } 4202 4203$as_echo "#define HAVE_IOCTL_CMD_INT 1" >>confdefs.h 4204 4205 4206else 4207 4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4209$as_echo "no" >&6; } 4210 4211fi 4212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4213CFLAGS="${SAVE_CFLAGS}" 4214 4215cat >confcache <<\_ACEOF 4216# This file is a shell script that caches the results of configure 4217# tests run on this system so they can be shared between configure 4218# scripts and configure runs, see configure's option --config-cache. 4219# It is not useful on other systems. If it contains results you don't 4220# want to keep, you may remove or edit it. 4221# 4222# config.status only pays attention to the cache file if you give it 4223# the --recheck option to rerun configure. 4224# 4225# `ac_cv_env_foo' variables (set or unset) will be overridden when 4226# loading this file, other *unset* `ac_cv_foo' will be assigned the 4227# following values. 4228 4229_ACEOF 4230 4231# The following way of writing the cache mishandles newlines in values, 4232# but we know of no workaround that is simple, portable, and efficient. 4233# So, we kill variables containing newlines. 4234# Ultrix sh set writes to stderr and can't be redirected directly, 4235# and sets the high bit in the cache file unless we assign to the vars. 4236( 4237 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4238 eval ac_val=\$$ac_var 4239 case $ac_val in #( 4240 *${as_nl}*) 4241 case $ac_var in #( 4242 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4243$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4244 esac 4245 case $ac_var in #( 4246 _ | IFS | as_nl) ;; #( 4247 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4248 *) { eval $ac_var=; unset $ac_var;} ;; 4249 esac ;; 4250 esac 4251 done 4252 4253 (set) 2>&1 | 4254 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4255 *${as_nl}ac_space=\ *) 4256 # `set' does not quote correctly, so add quotes: double-quote 4257 # substitution turns \\\\ into \\, and sed turns \\ into \. 4258 sed -n \ 4259 "s/'/'\\\\''/g; 4260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4261 ;; #( 4262 *) 4263 # `set' quotes correctly as required by POSIX, so do not add quotes. 4264 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4265 ;; 4266 esac | 4267 sort 4268) | 4269 sed ' 4270 /^ac_cv_env_/b end 4271 t clear 4272 :clear 4273 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4274 t end 4275 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4276 :end' >>confcache 4277if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4278 if test -w "$cache_file"; then 4279 if test "x$cache_file" != "x/dev/null"; then 4280 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4281$as_echo "$as_me: updating cache $cache_file" >&6;} 4282 if test ! -f "$cache_file" || test -h "$cache_file"; then 4283 cat confcache >"$cache_file" 4284 else 4285 case $cache_file in #( 4286 */* | ?:*) 4287 mv -f confcache "$cache_file"$$ && 4288 mv -f "$cache_file"$$ "$cache_file" ;; #( 4289 *) 4290 mv -f confcache "$cache_file" ;; 4291 esac 4292 fi 4293 fi 4294 else 4295 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4296$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4297 fi 4298fi 4299rm -f confcache 4300 4301test "x$prefix" = xNONE && prefix=$ac_default_prefix 4302# Let make expand exec_prefix. 4303test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4304 4305DEFS=-DHAVE_CONFIG_H 4306 4307ac_libobjs= 4308ac_ltlibobjs= 4309U= 4310for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4311 # 1. Remove the extension, and $U if already installed. 4312 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4313 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4314 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4315 # will be set to the directory where LIBOBJS objects are built. 4316 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4317 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4318done 4319LIBOBJS=$ac_libobjs 4320 4321LTLIBOBJS=$ac_ltlibobjs 4322 4323 4324 4325: "${CONFIG_STATUS=./config.status}" 4326ac_write_fail=0 4327ac_clean_files_save=$ac_clean_files 4328ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4329{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4330$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4331as_write_fail=0 4332cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4333#! $SHELL 4334# Generated by $as_me. 4335# Run this file to recreate the current configuration. 4336# Compiler output produced by configure, useful for debugging 4337# configure, is in config.log if it exists. 4338 4339debug=false 4340ac_cs_recheck=false 4341ac_cs_silent=false 4342 4343SHELL=\${CONFIG_SHELL-$SHELL} 4344export SHELL 4345_ASEOF 4346cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4347## -------------------- ## 4348## M4sh Initialization. ## 4349## -------------------- ## 4350 4351# Be more Bourne compatible 4352DUALCASE=1; export DUALCASE # for MKS sh 4353if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4354 emulate sh 4355 NULLCMD=: 4356 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4357 # is contrary to our usage. Disable this feature. 4358 alias -g '${1+"$@"}'='"$@"' 4359 setopt NO_GLOB_SUBST 4360else 4361 case `(set -o) 2>/dev/null` in #( 4362 *posix*) : 4363 set -o posix ;; #( 4364 *) : 4365 ;; 4366esac 4367fi 4368 4369 4370as_nl=' 4371' 4372export as_nl 4373# Printing a long string crashes Solaris 7 /usr/bin/printf. 4374as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4375as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4376as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4377# Prefer a ksh shell builtin over an external printf program on Solaris, 4378# but without wasting forks for bash or zsh. 4379if test -z "$BASH_VERSION$ZSH_VERSION" \ 4380 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4381 as_echo='print -r --' 4382 as_echo_n='print -rn --' 4383elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4384 as_echo='printf %s\n' 4385 as_echo_n='printf %s' 4386else 4387 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4388 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4389 as_echo_n='/usr/ucb/echo -n' 4390 else 4391 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4392 as_echo_n_body='eval 4393 arg=$1; 4394 case $arg in #( 4395 *"$as_nl"*) 4396 expr "X$arg" : "X\\(.*\\)$as_nl"; 4397 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4398 esac; 4399 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4400 ' 4401 export as_echo_n_body 4402 as_echo_n='sh -c $as_echo_n_body as_echo' 4403 fi 4404 export as_echo_body 4405 as_echo='sh -c $as_echo_body as_echo' 4406fi 4407 4408# The user is always right. 4409if test "${PATH_SEPARATOR+set}" != set; then 4410 PATH_SEPARATOR=: 4411 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4412 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4413 PATH_SEPARATOR=';' 4414 } 4415fi 4416 4417 4418# IFS 4419# We need space, tab and new line, in precisely that order. Quoting is 4420# there to prevent editors from complaining about space-tab. 4421# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4422# splitting by setting IFS to empty value.) 4423IFS=" "" $as_nl" 4424 4425# Find who we are. Look in the path if we contain no directory separator. 4426as_myself= 4427case $0 in #(( 4428 *[\\/]* ) as_myself=$0 ;; 4429 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4430for as_dir in $PATH 4431do 4432 IFS=$as_save_IFS 4433 test -z "$as_dir" && as_dir=. 4434 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4435 done 4436IFS=$as_save_IFS 4437 4438 ;; 4439esac 4440# We did not find ourselves, most probably we were run as `sh COMMAND' 4441# in which case we are not to be found in the path. 4442if test "x$as_myself" = x; then 4443 as_myself=$0 4444fi 4445if test ! -f "$as_myself"; then 4446 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4447 exit 1 4448fi 4449 4450# Unset variables that we do not need and which cause bugs (e.g. in 4451# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4452# suppresses any "Segmentation fault" message there. '((' could 4453# trigger a bug in pdksh 5.2.14. 4454for as_var in BASH_ENV ENV MAIL MAILPATH 4455do eval test x\${$as_var+set} = xset \ 4456 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4457done 4458PS1='$ ' 4459PS2='> ' 4460PS4='+ ' 4461 4462# NLS nuisances. 4463LC_ALL=C 4464export LC_ALL 4465LANGUAGE=C 4466export LANGUAGE 4467 4468# CDPATH. 4469(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4470 4471 4472# as_fn_error STATUS ERROR [LINENO LOG_FD] 4473# ---------------------------------------- 4474# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4475# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4476# script with STATUS, using 1 if that was 0. 4477as_fn_error () 4478{ 4479 as_status=$1; test $as_status -eq 0 && as_status=1 4480 if test "$4"; then 4481 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4482 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4483 fi 4484 $as_echo "$as_me: error: $2" >&2 4485 as_fn_exit $as_status 4486} # as_fn_error 4487 4488 4489# as_fn_set_status STATUS 4490# ----------------------- 4491# Set $? to STATUS, without forking. 4492as_fn_set_status () 4493{ 4494 return $1 4495} # as_fn_set_status 4496 4497# as_fn_exit STATUS 4498# ----------------- 4499# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4500as_fn_exit () 4501{ 4502 set +e 4503 as_fn_set_status $1 4504 exit $1 4505} # as_fn_exit 4506 4507# as_fn_unset VAR 4508# --------------- 4509# Portably unset VAR. 4510as_fn_unset () 4511{ 4512 { eval $1=; unset $1;} 4513} 4514as_unset=as_fn_unset 4515# as_fn_append VAR VALUE 4516# ---------------------- 4517# Append the text in VALUE to the end of the definition contained in VAR. Take 4518# advantage of any shell optimizations that allow amortized linear growth over 4519# repeated appends, instead of the typical quadratic growth present in naive 4520# implementations. 4521if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4522 eval 'as_fn_append () 4523 { 4524 eval $1+=\$2 4525 }' 4526else 4527 as_fn_append () 4528 { 4529 eval $1=\$$1\$2 4530 } 4531fi # as_fn_append 4532 4533# as_fn_arith ARG... 4534# ------------------ 4535# Perform arithmetic evaluation on the ARGs, and store the result in the 4536# global $as_val. Take advantage of shells that can avoid forks. The arguments 4537# must be portable across $(()) and expr. 4538if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4539 eval 'as_fn_arith () 4540 { 4541 as_val=$(( $* )) 4542 }' 4543else 4544 as_fn_arith () 4545 { 4546 as_val=`expr "$@" || test $? -eq 1` 4547 } 4548fi # as_fn_arith 4549 4550 4551if expr a : '\(a\)' >/dev/null 2>&1 && 4552 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4553 as_expr=expr 4554else 4555 as_expr=false 4556fi 4557 4558if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4559 as_basename=basename 4560else 4561 as_basename=false 4562fi 4563 4564if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4565 as_dirname=dirname 4566else 4567 as_dirname=false 4568fi 4569 4570as_me=`$as_basename -- "$0" || 4571$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4572 X"$0" : 'X\(//\)$' \| \ 4573 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4574$as_echo X/"$0" | 4575 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4576 s//\1/ 4577 q 4578 } 4579 /^X\/\(\/\/\)$/{ 4580 s//\1/ 4581 q 4582 } 4583 /^X\/\(\/\).*/{ 4584 s//\1/ 4585 q 4586 } 4587 s/.*/./; q'` 4588 4589# Avoid depending upon Character Ranges. 4590as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4591as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4592as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4593as_cr_digits='0123456789' 4594as_cr_alnum=$as_cr_Letters$as_cr_digits 4595 4596ECHO_C= ECHO_N= ECHO_T= 4597case `echo -n x` in #((((( 4598-n*) 4599 case `echo 'xy\c'` in 4600 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4601 xy) ECHO_C='\c';; 4602 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4603 ECHO_T=' ';; 4604 esac;; 4605*) 4606 ECHO_N='-n';; 4607esac 4608 4609rm -f conf$$ conf$$.exe conf$$.file 4610if test -d conf$$.dir; then 4611 rm -f conf$$.dir/conf$$.file 4612else 4613 rm -f conf$$.dir 4614 mkdir conf$$.dir 2>/dev/null 4615fi 4616if (echo >conf$$.file) 2>/dev/null; then 4617 if ln -s conf$$.file conf$$ 2>/dev/null; then 4618 as_ln_s='ln -s' 4619 # ... but there are two gotchas: 4620 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4621 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4622 # In both cases, we have to default to `cp -pR'. 4623 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4624 as_ln_s='cp -pR' 4625 elif ln conf$$.file conf$$ 2>/dev/null; then 4626 as_ln_s=ln 4627 else 4628 as_ln_s='cp -pR' 4629 fi 4630else 4631 as_ln_s='cp -pR' 4632fi 4633rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4634rmdir conf$$.dir 2>/dev/null 4635 4636 4637# as_fn_mkdir_p 4638# ------------- 4639# Create "$as_dir" as a directory, including parents if necessary. 4640as_fn_mkdir_p () 4641{ 4642 4643 case $as_dir in #( 4644 -*) as_dir=./$as_dir;; 4645 esac 4646 test -d "$as_dir" || eval $as_mkdir_p || { 4647 as_dirs= 4648 while :; do 4649 case $as_dir in #( 4650 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4651 *) as_qdir=$as_dir;; 4652 esac 4653 as_dirs="'$as_qdir' $as_dirs" 4654 as_dir=`$as_dirname -- "$as_dir" || 4655$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4656 X"$as_dir" : 'X\(//\)[^/]' \| \ 4657 X"$as_dir" : 'X\(//\)$' \| \ 4658 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4659$as_echo X"$as_dir" | 4660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4661 s//\1/ 4662 q 4663 } 4664 /^X\(\/\/\)[^/].*/{ 4665 s//\1/ 4666 q 4667 } 4668 /^X\(\/\/\)$/{ 4669 s//\1/ 4670 q 4671 } 4672 /^X\(\/\).*/{ 4673 s//\1/ 4674 q 4675 } 4676 s/.*/./; q'` 4677 test -d "$as_dir" && break 4678 done 4679 test -z "$as_dirs" || eval "mkdir $as_dirs" 4680 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4681 4682 4683} # as_fn_mkdir_p 4684if mkdir -p . 2>/dev/null; then 4685 as_mkdir_p='mkdir -p "$as_dir"' 4686else 4687 test -d ./-p && rmdir ./-p 4688 as_mkdir_p=false 4689fi 4690 4691 4692# as_fn_executable_p FILE 4693# ----------------------- 4694# Test if FILE is an executable regular file. 4695as_fn_executable_p () 4696{ 4697 test -f "$1" && test -x "$1" 4698} # as_fn_executable_p 4699as_test_x='test -x' 4700as_executable_p=as_fn_executable_p 4701 4702# Sed expression to map a string onto a valid CPP name. 4703as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4704 4705# Sed expression to map a string onto a valid variable name. 4706as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4707 4708 4709exec 6>&1 4710## ----------------------------------- ## 4711## Main body of $CONFIG_STATUS script. ## 4712## ----------------------------------- ## 4713_ASEOF 4714test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4715 4716cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4717# Save the log message, to keep $0 and so on meaningful, and to 4718# report actual input values of CONFIG_FILES etc. instead of their 4719# values after options handling. 4720ac_log=" 4721This file was extended by rumpuser-posix $as_me 999, which was 4722generated by GNU Autoconf 2.69. Invocation command line was 4723 4724 CONFIG_FILES = $CONFIG_FILES 4725 CONFIG_HEADERS = $CONFIG_HEADERS 4726 CONFIG_LINKS = $CONFIG_LINKS 4727 CONFIG_COMMANDS = $CONFIG_COMMANDS 4728 $ $0 $@ 4729 4730on `(hostname || uname -n) 2>/dev/null | sed 1q` 4731" 4732 4733_ACEOF 4734 4735 4736case $ac_config_headers in *" 4737"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 4738esac 4739 4740 4741cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4742# Files that config.status was made for. 4743config_headers="$ac_config_headers" 4744 4745_ACEOF 4746 4747cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4748ac_cs_usage="\ 4749\`$as_me' instantiates files and other configuration actions 4750from templates according to the current configuration. Unless the files 4751and actions are specified as TAGs, all are instantiated by default. 4752 4753Usage: $0 [OPTION]... [TAG]... 4754 4755 -h, --help print this help, then exit 4756 -V, --version print version number and configuration settings, then exit 4757 --config print configuration, then exit 4758 -q, --quiet, --silent 4759 do not print progress messages 4760 -d, --debug don't remove temporary files 4761 --recheck update $as_me by reconfiguring in the same conditions 4762 --header=FILE[:TEMPLATE] 4763 instantiate the configuration header FILE 4764 4765Configuration headers: 4766$config_headers 4767 4768Report bugs to <https://github.com/rumpkernel/>." 4769 4770_ACEOF 4771cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4772ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4773ac_cs_version="\\ 4774rumpuser-posix config.status 999 4775configured by $0, generated by GNU Autoconf 2.69, 4776 with options \\"\$ac_cs_config\\" 4777 4778Copyright (C) 2012 Free Software Foundation, Inc. 4779This config.status script is free software; the Free Software Foundation 4780gives unlimited permission to copy, distribute and modify it." 4781 4782ac_pwd='$ac_pwd' 4783srcdir='$srcdir' 4784test -n "\$AWK" || AWK=awk 4785_ACEOF 4786 4787cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4788# The default lists apply if the user does not specify any file. 4789ac_need_defaults=: 4790while test $# != 0 4791do 4792 case $1 in 4793 --*=?*) 4794 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4795 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4796 ac_shift=: 4797 ;; 4798 --*=) 4799 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4800 ac_optarg= 4801 ac_shift=: 4802 ;; 4803 *) 4804 ac_option=$1 4805 ac_optarg=$2 4806 ac_shift=shift 4807 ;; 4808 esac 4809 4810 case $ac_option in 4811 # Handling of the options. 4812 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4813 ac_cs_recheck=: ;; 4814 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4815 $as_echo "$ac_cs_version"; exit ;; 4816 --config | --confi | --conf | --con | --co | --c ) 4817 $as_echo "$ac_cs_config"; exit ;; 4818 --debug | --debu | --deb | --de | --d | -d ) 4819 debug=: ;; 4820 --header | --heade | --head | --hea ) 4821 $ac_shift 4822 case $ac_optarg in 4823 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4824 esac 4825 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 4826 ac_need_defaults=false;; 4827 --he | --h) 4828 # Conflict between --help and --header 4829 as_fn_error $? "ambiguous option: \`$1' 4830Try \`$0 --help' for more information.";; 4831 --help | --hel | -h ) 4832 $as_echo "$ac_cs_usage"; exit ;; 4833 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4834 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4835 ac_cs_silent=: ;; 4836 4837 # This is an error. 4838 -*) as_fn_error $? "unrecognized option: \`$1' 4839Try \`$0 --help' for more information." ;; 4840 4841 *) as_fn_append ac_config_targets " $1" 4842 ac_need_defaults=false ;; 4843 4844 esac 4845 shift 4846done 4847 4848ac_configure_extra_args= 4849 4850if $ac_cs_silent; then 4851 exec 6>/dev/null 4852 ac_configure_extra_args="$ac_configure_extra_args --silent" 4853fi 4854 4855_ACEOF 4856cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4857if \$ac_cs_recheck; then 4858 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4859 shift 4860 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4861 CONFIG_SHELL='$SHELL' 4862 export CONFIG_SHELL 4863 exec "\$@" 4864fi 4865 4866_ACEOF 4867cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4868exec 5>>config.log 4869{ 4870 echo 4871 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4872## Running $as_me. ## 4873_ASBOX 4874 $as_echo "$ac_log" 4875} >&5 4876 4877_ACEOF 4878cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4879_ACEOF 4880 4881cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4882 4883# Handling of arguments. 4884for ac_config_target in $ac_config_targets 4885do 4886 case $ac_config_target in 4887 "rumpuser_config.h") CONFIG_HEADERS="$CONFIG_HEADERS rumpuser_config.h" ;; 4888 4889 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4890 esac 4891done 4892 4893 4894# If the user did not use the arguments to specify the items to instantiate, 4895# then the envvar interface is used. Set only those that are not. 4896# We use the long form for the default assignment because of an extremely 4897# bizarre bug on SunOS 4.1.3. 4898if $ac_need_defaults; then 4899 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4900fi 4901 4902# Have a temporary directory for convenience. Make it in the build tree 4903# simply because there is no reason against having it here, and in addition, 4904# creating and moving files from /tmp can sometimes cause problems. 4905# Hook for its removal unless debugging. 4906# Note that there is a small window in which the directory will not be cleaned: 4907# after its creation but before its name has been assigned to `$tmp'. 4908$debug || 4909{ 4910 tmp= ac_tmp= 4911 trap 'exit_status=$? 4912 : "${ac_tmp:=$tmp}" 4913 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4914' 0 4915 trap 'as_fn_exit 1' 1 2 13 15 4916} 4917# Create a (secure) tmp directory for tmp files. 4918 4919{ 4920 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4921 test -d "$tmp" 4922} || 4923{ 4924 tmp=./conf$$-$RANDOM 4925 (umask 077 && mkdir "$tmp") 4926} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4927ac_tmp=$tmp 4928 4929# Set up the scripts for CONFIG_HEADERS section. 4930# No need to generate them if there are no CONFIG_HEADERS. 4931# This happens for instance with `./config.status Makefile'. 4932if test -n "$CONFIG_HEADERS"; then 4933cat >"$ac_tmp/defines.awk" <<\_ACAWK || 4934BEGIN { 4935_ACEOF 4936 4937# Transform confdefs.h into an awk script `defines.awk', embedded as 4938# here-document in config.status, that substitutes the proper values into 4939# config.h.in to produce config.h. 4940 4941# Create a delimiter string that does not exist in confdefs.h, to ease 4942# handling of long lines. 4943ac_delim='%!_!# ' 4944for ac_last_try in false false :; do 4945 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 4946 if test -z "$ac_tt"; then 4947 break 4948 elif $ac_last_try; then 4949 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 4950 else 4951 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4952 fi 4953done 4954 4955# For the awk script, D is an array of macro values keyed by name, 4956# likewise P contains macro parameters if any. Preserve backslash 4957# newline sequences. 4958 4959ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 4960sed -n ' 4961s/.\{148\}/&'"$ac_delim"'/g 4962t rset 4963:rset 4964s/^[ ]*#[ ]*define[ ][ ]*/ / 4965t def 4966d 4967:def 4968s/\\$// 4969t bsnl 4970s/["\\]/\\&/g 4971s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 4972D["\1"]=" \3"/p 4973s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 4974d 4975:bsnl 4976s/["\\]/\\&/g 4977s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 4978D["\1"]=" \3\\\\\\n"\\/p 4979t cont 4980s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 4981t cont 4982d 4983:cont 4984n 4985s/.\{148\}/&'"$ac_delim"'/g 4986t clear 4987:clear 4988s/\\$// 4989t bsnlc 4990s/["\\]/\\&/g; s/^/"/; s/$/"/p 4991d 4992:bsnlc 4993s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 4994b cont 4995' <confdefs.h | sed ' 4996s/'"$ac_delim"'/"\\\ 4997"/g' >>$CONFIG_STATUS || ac_write_fail=1 4998 4999cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5000 for (key in D) D_is_set[key] = 1 5001 FS = "" 5002} 5003/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 5004 line = \$ 0 5005 split(line, arg, " ") 5006 if (arg[1] == "#") { 5007 defundef = arg[2] 5008 mac1 = arg[3] 5009 } else { 5010 defundef = substr(arg[1], 2) 5011 mac1 = arg[2] 5012 } 5013 split(mac1, mac2, "(") #) 5014 macro = mac2[1] 5015 prefix = substr(line, 1, index(line, defundef) - 1) 5016 if (D_is_set[macro]) { 5017 # Preserve the white space surrounding the "#". 5018 print prefix "define", macro P[macro] D[macro] 5019 next 5020 } else { 5021 # Replace #undef with comments. This is necessary, for example, 5022 # in the case of _POSIX_SOURCE, which is predefined and required 5023 # on some systems where configure will not decide to define it. 5024 if (defundef == "undef") { 5025 print "/*", prefix defundef, macro, "*/" 5026 next 5027 } 5028 } 5029} 5030{ print } 5031_ACAWK 5032_ACEOF 5033cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5034 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 5035fi # test -n "$CONFIG_HEADERS" 5036 5037 5038eval set X " :H $CONFIG_HEADERS " 5039shift 5040for ac_tag 5041do 5042 case $ac_tag in 5043 :[FHLC]) ac_mode=$ac_tag; continue;; 5044 esac 5045 case $ac_mode$ac_tag in 5046 :[FHL]*:*);; 5047 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5048 :[FH]-) ac_tag=-:-;; 5049 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5050 esac 5051 ac_save_IFS=$IFS 5052 IFS=: 5053 set x $ac_tag 5054 IFS=$ac_save_IFS 5055 shift 5056 ac_file=$1 5057 shift 5058 5059 case $ac_mode in 5060 :L) ac_source=$1;; 5061 :[FH]) 5062 ac_file_inputs= 5063 for ac_f 5064 do 5065 case $ac_f in 5066 -) ac_f="$ac_tmp/stdin";; 5067 *) # Look for the file first in the build tree, then in the source tree 5068 # (if the path is not absolute). The absolute path cannot be DOS-style, 5069 # because $ac_f cannot contain `:'. 5070 test -f "$ac_f" || 5071 case $ac_f in 5072 [\\/$]*) false;; 5073 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5074 esac || 5075 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5076 esac 5077 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5078 as_fn_append ac_file_inputs " '$ac_f'" 5079 done 5080 5081 # Let's still pretend it is `configure' which instantiates (i.e., don't 5082 # use $as_me), people would be surprised to read: 5083 # /* config.h. Generated by config.status. */ 5084 configure_input='Generated from '` 5085 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5086 `' by configure.' 5087 if test x"$ac_file" != x-; then 5088 configure_input="$ac_file. $configure_input" 5089 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5090$as_echo "$as_me: creating $ac_file" >&6;} 5091 fi 5092 # Neutralize special characters interpreted by sed in replacement strings. 5093 case $configure_input in #( 5094 *\&* | *\|* | *\\* ) 5095 ac_sed_conf_input=`$as_echo "$configure_input" | 5096 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5097 *) ac_sed_conf_input=$configure_input;; 5098 esac 5099 5100 case $ac_tag in 5101 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5102 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5103 esac 5104 ;; 5105 esac 5106 5107 ac_dir=`$as_dirname -- "$ac_file" || 5108$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5109 X"$ac_file" : 'X\(//\)[^/]' \| \ 5110 X"$ac_file" : 'X\(//\)$' \| \ 5111 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5112$as_echo X"$ac_file" | 5113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5114 s//\1/ 5115 q 5116 } 5117 /^X\(\/\/\)[^/].*/{ 5118 s//\1/ 5119 q 5120 } 5121 /^X\(\/\/\)$/{ 5122 s//\1/ 5123 q 5124 } 5125 /^X\(\/\).*/{ 5126 s//\1/ 5127 q 5128 } 5129 s/.*/./; q'` 5130 as_dir="$ac_dir"; as_fn_mkdir_p 5131 ac_builddir=. 5132 5133case "$ac_dir" in 5134.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5135*) 5136 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5137 # A ".." for each directory in $ac_dir_suffix. 5138 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5139 case $ac_top_builddir_sub in 5140 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5141 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5142 esac ;; 5143esac 5144ac_abs_top_builddir=$ac_pwd 5145ac_abs_builddir=$ac_pwd$ac_dir_suffix 5146# for backward compatibility: 5147ac_top_builddir=$ac_top_build_prefix 5148 5149case $srcdir in 5150 .) # We are building in place. 5151 ac_srcdir=. 5152 ac_top_srcdir=$ac_top_builddir_sub 5153 ac_abs_top_srcdir=$ac_pwd ;; 5154 [\\/]* | ?:[\\/]* ) # Absolute name. 5155 ac_srcdir=$srcdir$ac_dir_suffix; 5156 ac_top_srcdir=$srcdir 5157 ac_abs_top_srcdir=$srcdir ;; 5158 *) # Relative name. 5159 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5160 ac_top_srcdir=$ac_top_build_prefix$srcdir 5161 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5162esac 5163ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5164 5165 5166 case $ac_mode in 5167 5168 :H) 5169 # 5170 # CONFIG_HEADER 5171 # 5172 if test x"$ac_file" != x-; then 5173 { 5174 $as_echo "/* $configure_input */" \ 5175 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 5176 } >"$ac_tmp/config.h" \ 5177 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5178 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 5179 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 5180$as_echo "$as_me: $ac_file is unchanged" >&6;} 5181 else 5182 rm -f "$ac_file" 5183 mv "$ac_tmp/config.h" "$ac_file" \ 5184 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5185 fi 5186 else 5187 $as_echo "/* $configure_input */" \ 5188 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 5189 || as_fn_error $? "could not create -" "$LINENO" 5 5190 fi 5191 ;; 5192 5193 5194 esac 5195 5196done # for ac_tag 5197 5198 5199as_fn_exit 0 5200_ACEOF 5201ac_clean_files=$ac_clean_files_save 5202 5203test $ac_write_fail = 0 || 5204 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5205 5206 5207# configure is writing to config.log, and then calls config.status. 5208# config.status does its own redirection, appending to config.log. 5209# Unfortunately, on DOS this fails, as config.log is still kept open 5210# by configure, so config.status won't be able to write to it; its 5211# output is simply discarded. So we exec the FD to /dev/null, 5212# effectively closing config.log, so it can be properly (re)opened and 5213# appended to by config.status. When coming back to configure, we 5214# need to make the FD available again. 5215if test "$no_create" != yes; then 5216 ac_cs_success=: 5217 ac_config_status_args= 5218 test "$silent" = yes && 5219 ac_config_status_args="$ac_config_status_args --quiet" 5220 exec 5>/dev/null 5221 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5222 exec 5>>config.log 5223 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5224 # would make configure fail if this is the last instruction. 5225 $ac_cs_success || as_fn_exit 1 5226fi 5227if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5229$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5230fi 5231 5232