1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for bmake 20211020. 4# 5# Report bugs to <sjg@NetBSD.org>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1" 202 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 sjg@NetBSD.org 270$0: about your system, including any error possibly output 271$0: before this message. Then install a modern shell, or 272$0: manually run the script under such a shell if you do 273$0: 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='bmake' 582PACKAGE_TARNAME='bmake' 583PACKAGE_VERSION='20211020' 584PACKAGE_STRING='bmake 20211020' 585PACKAGE_BUGREPORT='sjg@NetBSD.org' 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 625UTC_1 626_MAKE_VERSION 627filemon_h 628use_filemon 629use_meta 630diff_u 631diff 632GCC 633INSTALL 634default_sys_path 635mksrc 636force_machine_arch 637machine_arch 638force_machine 639machine 640LIBOBJS 641bmake_path_max 642ac_exe_suffix 643INSTALL_DATA 644INSTALL_SCRIPT 645INSTALL_PROGRAM 646EGREP 647GREP 648CPP 649OBJEXT 650EXEEXT 651ac_ct_CC 652CPPFLAGS 653LDFLAGS 654CFLAGS 655CC 656target_alias 657host_alias 658build_alias 659LIBS 660ECHO_T 661ECHO_N 662ECHO_C 663DEFS 664mandir 665localedir 666libdir 667psdir 668pdfdir 669dvidir 670htmldir 671infodir 672docdir 673oldincludedir 674includedir 675localstatedir 676sharedstatedir 677sysconfdir 678datadir 679datarootdir 680libexecdir 681sbindir 682bindir 683program_transform_name 684prefix 685exec_prefix 686PACKAGE_URL 687PACKAGE_BUGREPORT 688PACKAGE_STRING 689PACKAGE_VERSION 690PACKAGE_TARNAME 691PACKAGE_NAME 692PATH_SEPARATOR 693SHELL' 694ac_subst_files='' 695ac_user_opts=' 696enable_option_checking 697with_defshell 698with_makefile 699with_meta 700with_filemon 701with_machine 702with_force_machine 703with_force_machine_arch 704with_machine_arch 705with_default_sys_path 706with_path_objdirprefix 707enable_pwd_override 708enable_check_make_chdir 709with_mksrc 710' 711 ac_precious_vars='build_alias 712host_alias 713target_alias 714CC 715CFLAGS 716LDFLAGS 717LIBS 718CPPFLAGS 719CPP' 720 721 722# Initialize some variables set by options. 723ac_init_help= 724ac_init_version=false 725ac_unrecognized_opts= 726ac_unrecognized_sep= 727# The variables have the same names as the options, with 728# dashes changed to underlines. 729cache_file=/dev/null 730exec_prefix=NONE 731no_create= 732no_recursion= 733prefix=NONE 734program_prefix=NONE 735program_suffix=NONE 736program_transform_name=s,x,x, 737silent= 738site= 739srcdir= 740verbose= 741x_includes=NONE 742x_libraries=NONE 743 744# Installation directory options. 745# These are left unexpanded so users can "make install exec_prefix=/foo" 746# and all the variables that are supposed to be based on exec_prefix 747# by default will actually change. 748# Use braces instead of parens because sh, perl, etc. also accept them. 749# (The list follows the same order as the GNU Coding Standards.) 750bindir='${exec_prefix}/bin' 751sbindir='${exec_prefix}/sbin' 752libexecdir='${exec_prefix}/libexec' 753datarootdir='${prefix}/share' 754datadir='${datarootdir}' 755sysconfdir='${prefix}/etc' 756sharedstatedir='${prefix}/com' 757localstatedir='${prefix}/var' 758includedir='${prefix}/include' 759oldincludedir='/usr/include' 760docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 761infodir='${datarootdir}/info' 762htmldir='${docdir}' 763dvidir='${docdir}' 764pdfdir='${docdir}' 765psdir='${docdir}' 766libdir='${exec_prefix}/lib' 767localedir='${datarootdir}/locale' 768mandir='${datarootdir}/man' 769 770ac_prev= 771ac_dashdash= 772for ac_option 773do 774 # If the previous option needs an argument, assign it. 775 if test -n "$ac_prev"; then 776 eval $ac_prev=\$ac_option 777 ac_prev= 778 continue 779 fi 780 781 case $ac_option in 782 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 783 *=) ac_optarg= ;; 784 *) ac_optarg=yes ;; 785 esac 786 787 # Accept the important Cygnus configure options, so we can diagnose typos. 788 789 case $ac_dashdash$ac_option in 790 --) 791 ac_dashdash=yes ;; 792 793 -bindir | --bindir | --bindi | --bind | --bin | --bi) 794 ac_prev=bindir ;; 795 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 796 bindir=$ac_optarg ;; 797 798 -build | --build | --buil | --bui | --bu) 799 ac_prev=build_alias ;; 800 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 801 build_alias=$ac_optarg ;; 802 803 -cache-file | --cache-file | --cache-fil | --cache-fi \ 804 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 805 ac_prev=cache_file ;; 806 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 807 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 808 cache_file=$ac_optarg ;; 809 810 --config-cache | -C) 811 cache_file=config.cache ;; 812 813 -datadir | --datadir | --datadi | --datad) 814 ac_prev=datadir ;; 815 -datadir=* | --datadir=* | --datadi=* | --datad=*) 816 datadir=$ac_optarg ;; 817 818 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 819 | --dataroo | --dataro | --datar) 820 ac_prev=datarootdir ;; 821 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 822 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 823 datarootdir=$ac_optarg ;; 824 825 -disable-* | --disable-*) 826 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 827 # Reject names that are not valid shell variable names. 828 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 829 as_fn_error $? "invalid feature name: $ac_useropt" 830 ac_useropt_orig=$ac_useropt 831 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 832 case $ac_user_opts in 833 *" 834"enable_$ac_useropt" 835"*) ;; 836 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 837 ac_unrecognized_sep=', ';; 838 esac 839 eval enable_$ac_useropt=no ;; 840 841 -docdir | --docdir | --docdi | --doc | --do) 842 ac_prev=docdir ;; 843 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 844 docdir=$ac_optarg ;; 845 846 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 847 ac_prev=dvidir ;; 848 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 849 dvidir=$ac_optarg ;; 850 851 -enable-* | --enable-*) 852 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 853 # Reject names that are not valid shell variable names. 854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 855 as_fn_error $? "invalid feature name: $ac_useropt" 856 ac_useropt_orig=$ac_useropt 857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 858 case $ac_user_opts in 859 *" 860"enable_$ac_useropt" 861"*) ;; 862 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 863 ac_unrecognized_sep=', ';; 864 esac 865 eval enable_$ac_useropt=\$ac_optarg ;; 866 867 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 868 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 869 | --exec | --exe | --ex) 870 ac_prev=exec_prefix ;; 871 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 872 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 873 | --exec=* | --exe=* | --ex=*) 874 exec_prefix=$ac_optarg ;; 875 876 -gas | --gas | --ga | --g) 877 # Obsolete; use --with-gas. 878 with_gas=yes ;; 879 880 -help | --help | --hel | --he | -h) 881 ac_init_help=long ;; 882 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 883 ac_init_help=recursive ;; 884 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 885 ac_init_help=short ;; 886 887 -host | --host | --hos | --ho) 888 ac_prev=host_alias ;; 889 -host=* | --host=* | --hos=* | --ho=*) 890 host_alias=$ac_optarg ;; 891 892 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 893 ac_prev=htmldir ;; 894 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 895 | --ht=*) 896 htmldir=$ac_optarg ;; 897 898 -includedir | --includedir | --includedi | --included | --include \ 899 | --includ | --inclu | --incl | --inc) 900 ac_prev=includedir ;; 901 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 902 | --includ=* | --inclu=* | --incl=* | --inc=*) 903 includedir=$ac_optarg ;; 904 905 -infodir | --infodir | --infodi | --infod | --info | --inf) 906 ac_prev=infodir ;; 907 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 908 infodir=$ac_optarg ;; 909 910 -libdir | --libdir | --libdi | --libd) 911 ac_prev=libdir ;; 912 -libdir=* | --libdir=* | --libdi=* | --libd=*) 913 libdir=$ac_optarg ;; 914 915 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 916 | --libexe | --libex | --libe) 917 ac_prev=libexecdir ;; 918 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 919 | --libexe=* | --libex=* | --libe=*) 920 libexecdir=$ac_optarg ;; 921 922 -localedir | --localedir | --localedi | --localed | --locale) 923 ac_prev=localedir ;; 924 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 925 localedir=$ac_optarg ;; 926 927 -localstatedir | --localstatedir | --localstatedi | --localstated \ 928 | --localstate | --localstat | --localsta | --localst | --locals) 929 ac_prev=localstatedir ;; 930 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 931 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 932 localstatedir=$ac_optarg ;; 933 934 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 935 ac_prev=mandir ;; 936 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 937 mandir=$ac_optarg ;; 938 939 -nfp | --nfp | --nf) 940 # Obsolete; use --without-fp. 941 with_fp=no ;; 942 943 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 944 | --no-cr | --no-c | -n) 945 no_create=yes ;; 946 947 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 948 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 949 no_recursion=yes ;; 950 951 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 952 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 953 | --oldin | --oldi | --old | --ol | --o) 954 ac_prev=oldincludedir ;; 955 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 956 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 957 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 958 oldincludedir=$ac_optarg ;; 959 960 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 961 ac_prev=prefix ;; 962 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 963 prefix=$ac_optarg ;; 964 965 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 966 | --program-pre | --program-pr | --program-p) 967 ac_prev=program_prefix ;; 968 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 969 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 970 program_prefix=$ac_optarg ;; 971 972 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 973 | --program-suf | --program-su | --program-s) 974 ac_prev=program_suffix ;; 975 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 976 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 977 program_suffix=$ac_optarg ;; 978 979 -program-transform-name | --program-transform-name \ 980 | --program-transform-nam | --program-transform-na \ 981 | --program-transform-n | --program-transform- \ 982 | --program-transform | --program-transfor \ 983 | --program-transfo | --program-transf \ 984 | --program-trans | --program-tran \ 985 | --progr-tra | --program-tr | --program-t) 986 ac_prev=program_transform_name ;; 987 -program-transform-name=* | --program-transform-name=* \ 988 | --program-transform-nam=* | --program-transform-na=* \ 989 | --program-transform-n=* | --program-transform-=* \ 990 | --program-transform=* | --program-transfor=* \ 991 | --program-transfo=* | --program-transf=* \ 992 | --program-trans=* | --program-tran=* \ 993 | --progr-tra=* | --program-tr=* | --program-t=*) 994 program_transform_name=$ac_optarg ;; 995 996 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 997 ac_prev=pdfdir ;; 998 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 999 pdfdir=$ac_optarg ;; 1000 1001 -psdir | --psdir | --psdi | --psd | --ps) 1002 ac_prev=psdir ;; 1003 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1004 psdir=$ac_optarg ;; 1005 1006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1007 | -silent | --silent | --silen | --sile | --sil) 1008 silent=yes ;; 1009 1010 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1011 ac_prev=sbindir ;; 1012 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1013 | --sbi=* | --sb=*) 1014 sbindir=$ac_optarg ;; 1015 1016 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1017 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1018 | --sharedst | --shareds | --shared | --share | --shar \ 1019 | --sha | --sh) 1020 ac_prev=sharedstatedir ;; 1021 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1022 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1023 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1024 | --sha=* | --sh=*) 1025 sharedstatedir=$ac_optarg ;; 1026 1027 -site | --site | --sit) 1028 ac_prev=site ;; 1029 -site=* | --site=* | --sit=*) 1030 site=$ac_optarg ;; 1031 1032 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1033 ac_prev=srcdir ;; 1034 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1035 srcdir=$ac_optarg ;; 1036 1037 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1038 | --syscon | --sysco | --sysc | --sys | --sy) 1039 ac_prev=sysconfdir ;; 1040 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1041 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1042 sysconfdir=$ac_optarg ;; 1043 1044 -target | --target | --targe | --targ | --tar | --ta | --t) 1045 ac_prev=target_alias ;; 1046 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1047 target_alias=$ac_optarg ;; 1048 1049 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1050 verbose=yes ;; 1051 1052 -version | --version | --versio | --versi | --vers | -V) 1053 ac_init_version=: ;; 1054 1055 -with-* | --with-*) 1056 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1057 # Reject names that are not valid shell variable names. 1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1059 as_fn_error $? "invalid package name: $ac_useropt" 1060 ac_useropt_orig=$ac_useropt 1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1062 case $ac_user_opts in 1063 *" 1064"with_$ac_useropt" 1065"*) ;; 1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1067 ac_unrecognized_sep=', ';; 1068 esac 1069 eval with_$ac_useropt=\$ac_optarg ;; 1070 1071 -without-* | --without-*) 1072 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1073 # Reject names that are not valid shell variable names. 1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1075 as_fn_error $? "invalid package name: $ac_useropt" 1076 ac_useropt_orig=$ac_useropt 1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1078 case $ac_user_opts in 1079 *" 1080"with_$ac_useropt" 1081"*) ;; 1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1083 ac_unrecognized_sep=', ';; 1084 esac 1085 eval with_$ac_useropt=no ;; 1086 1087 --x) 1088 # Obsolete; use --with-x. 1089 with_x=yes ;; 1090 1091 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1092 | --x-incl | --x-inc | --x-in | --x-i) 1093 ac_prev=x_includes ;; 1094 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1095 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1096 x_includes=$ac_optarg ;; 1097 1098 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1099 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1100 ac_prev=x_libraries ;; 1101 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1102 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1103 x_libraries=$ac_optarg ;; 1104 1105 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1106Try \`$0 --help' for more information" 1107 ;; 1108 1109 *=*) 1110 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1111 # Reject names that are not valid shell variable names. 1112 case $ac_envvar in #( 1113 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1114 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1115 esac 1116 eval $ac_envvar=\$ac_optarg 1117 export $ac_envvar ;; 1118 1119 *) 1120 # FIXME: should be removed in autoconf 3.0. 1121 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1122 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1123 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1124 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1125 ;; 1126 1127 esac 1128done 1129 1130if test -n "$ac_prev"; then 1131 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1132 as_fn_error $? "missing argument to $ac_option" 1133fi 1134 1135if test -n "$ac_unrecognized_opts"; then 1136 case $enable_option_checking in 1137 no) ;; 1138 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1139 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1140 esac 1141fi 1142 1143# Check all directory arguments for consistency. 1144for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1145 datadir sysconfdir sharedstatedir localstatedir includedir \ 1146 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1147 libdir localedir mandir 1148do 1149 eval ac_val=\$$ac_var 1150 # Remove trailing slashes. 1151 case $ac_val in 1152 */ ) 1153 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1154 eval $ac_var=\$ac_val;; 1155 esac 1156 # Be sure to have absolute directory names. 1157 case $ac_val in 1158 [\\/$]* | ?:[\\/]* ) continue;; 1159 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1160 esac 1161 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1162done 1163 1164# There might be people who depend on the old broken behavior: `$host' 1165# used to hold the argument of --host etc. 1166# FIXME: To remove some day. 1167build=$build_alias 1168host=$host_alias 1169target=$target_alias 1170 1171# FIXME: To remove some day. 1172if test "x$host_alias" != x; then 1173 if test "x$build_alias" = x; then 1174 cross_compiling=maybe 1175 elif test "x$build_alias" != "x$host_alias"; then 1176 cross_compiling=yes 1177 fi 1178fi 1179 1180ac_tool_prefix= 1181test -n "$host_alias" && ac_tool_prefix=$host_alias- 1182 1183test "$silent" = yes && exec 6>/dev/null 1184 1185 1186ac_pwd=`pwd` && test -n "$ac_pwd" && 1187ac_ls_di=`ls -di .` && 1188ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1189 as_fn_error $? "working directory cannot be determined" 1190test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1191 as_fn_error $? "pwd does not report name of working directory" 1192 1193 1194# Find the source files, if location was not specified. 1195if test -z "$srcdir"; then 1196 ac_srcdir_defaulted=yes 1197 # Try the directory containing this script, then the parent directory. 1198 ac_confdir=`$as_dirname -- "$as_myself" || 1199$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1200 X"$as_myself" : 'X\(//\)[^/]' \| \ 1201 X"$as_myself" : 'X\(//\)$' \| \ 1202 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1203$as_echo X"$as_myself" | 1204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1205 s//\1/ 1206 q 1207 } 1208 /^X\(\/\/\)[^/].*/{ 1209 s//\1/ 1210 q 1211 } 1212 /^X\(\/\/\)$/{ 1213 s//\1/ 1214 q 1215 } 1216 /^X\(\/\).*/{ 1217 s//\1/ 1218 q 1219 } 1220 s/.*/./; q'` 1221 srcdir=$ac_confdir 1222 if test ! -r "$srcdir/$ac_unique_file"; then 1223 srcdir=.. 1224 fi 1225else 1226 ac_srcdir_defaulted=no 1227fi 1228if test ! -r "$srcdir/$ac_unique_file"; then 1229 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1230 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1231fi 1232ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1233ac_abs_confdir=`( 1234 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1235 pwd)` 1236# When building in place, set srcdir=. 1237if test "$ac_abs_confdir" = "$ac_pwd"; then 1238 srcdir=. 1239fi 1240# Remove unnecessary trailing slashes from srcdir. 1241# Double slashes in file names in object file debugging info 1242# mess up M-x gdb in Emacs. 1243case $srcdir in 1244*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1245esac 1246for ac_var in $ac_precious_vars; do 1247 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1248 eval ac_env_${ac_var}_value=\$${ac_var} 1249 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1250 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1251done 1252 1253# 1254# Report the --help message. 1255# 1256if test "$ac_init_help" = "long"; then 1257 # Omit some internal or obsolete options to make the list less imposing. 1258 # This message is too long to be a string in the A/UX 3.1 sh. 1259 cat <<_ACEOF 1260\`configure' configures bmake 20211020 to adapt to many kinds of systems. 1261 1262Usage: $0 [OPTION]... [VAR=VALUE]... 1263 1264To assign environment variables (e.g., CC, CFLAGS...), specify them as 1265VAR=VALUE. See below for descriptions of some of the useful variables. 1266 1267Defaults for the options are specified in brackets. 1268 1269Configuration: 1270 -h, --help display this help and exit 1271 --help=short display options specific to this package 1272 --help=recursive display the short help of all the included packages 1273 -V, --version display version information and exit 1274 -q, --quiet, --silent do not print \`checking ...' messages 1275 --cache-file=FILE cache test results in FILE [disabled] 1276 -C, --config-cache alias for \`--cache-file=config.cache' 1277 -n, --no-create do not create output files 1278 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1279 1280Installation directories: 1281 --prefix=PREFIX install architecture-independent files in PREFIX 1282 [$ac_default_prefix] 1283 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1284 [PREFIX] 1285 1286By default, \`make install' will install all the files in 1287\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1288an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1289for instance \`--prefix=\$HOME'. 1290 1291For better control, use the options below. 1292 1293Fine tuning of the installation directories: 1294 --bindir=DIR user executables [EPREFIX/bin] 1295 --sbindir=DIR system admin executables [EPREFIX/sbin] 1296 --libexecdir=DIR program executables [EPREFIX/libexec] 1297 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1298 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1299 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1300 --libdir=DIR object code libraries [EPREFIX/lib] 1301 --includedir=DIR C header files [PREFIX/include] 1302 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1303 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1304 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1305 --infodir=DIR info documentation [DATAROOTDIR/info] 1306 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1307 --mandir=DIR man documentation [DATAROOTDIR/man] 1308 --docdir=DIR documentation root [DATAROOTDIR/doc/bmake] 1309 --htmldir=DIR html documentation [DOCDIR] 1310 --dvidir=DIR dvi documentation [DOCDIR] 1311 --pdfdir=DIR pdf documentation [DOCDIR] 1312 --psdir=DIR ps documentation [DOCDIR] 1313_ACEOF 1314 1315 cat <<\_ACEOF 1316_ACEOF 1317fi 1318 1319if test -n "$ac_init_help"; then 1320 case $ac_init_help in 1321 short | recursive ) echo "Configuration of bmake 20211020:";; 1322 esac 1323 cat <<\_ACEOF 1324 1325Optional Features: 1326 --disable-option-checking ignore unrecognized --enable/--with options 1327 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1328 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1329 --disable-pwd-override disable $PWD overriding getcwd() 1330 --disable-check-make-chdir disable make trying to guess 1331 when it should automatically cd ${.CURDIR} 1332 1333Optional Packages: 1334 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1335 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1336 --with-defshell=SHELL use SHELL by default - must be sh compatible, use sh or ksh to pick the internal definitions 1337 --without-makefile disable use of generated makefile 1338 --without-meta disable use of meta-mode 1339 --with-filemon={no,dev,ktrace,path/filemon.h} indicate filemon method for meta-mode. Path to filemon.h implies dev 1340 --with-machine=MACHINE explicitly set MACHINE 1341 --with-force-machine=MACHINE set FORCE_MACHINE 1342 --with-force-machine-arch=MACHINE set FORCE_MACHINE_ARCH 1343 --with-machine_arch=MACHINE_ARCH explicitly set MACHINE_ARCH 1344 --with-default-sys-path=PATH:DIR:LIST use an explicit _PATH_DEFSYSPATH 1345 MAKESYSPATH is a ':' separated list of directories 1346 that bmake will search for system .mk files. 1347 _PATH_DEFSYSPATH is its default value. 1348 --with-path-objdirprefix=PATH override _PATH_OBJDIRPREFIX 1349 --with-mksrc=PATH tell makefile.boot where to find mk src 1350 1351Some influential environment variables: 1352 CC C compiler command 1353 CFLAGS C compiler flags 1354 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1355 nonstandard directory <lib dir> 1356 LIBS libraries to pass to the linker, e.g. -l<library> 1357 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1358 you have headers in a nonstandard directory <include dir> 1359 CPP C preprocessor 1360 1361Use these variables to override the choices made by `configure' or to help 1362it to find libraries and programs with nonstandard names/locations. 1363 1364Report bugs to <sjg@NetBSD.org>. 1365_ACEOF 1366ac_status=$? 1367fi 1368 1369if test "$ac_init_help" = "recursive"; then 1370 # If there are subdirs, report their specific --help. 1371 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1372 test -d "$ac_dir" || 1373 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1374 continue 1375 ac_builddir=. 1376 1377case "$ac_dir" in 1378.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1379*) 1380 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1381 # A ".." for each directory in $ac_dir_suffix. 1382 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1383 case $ac_top_builddir_sub in 1384 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1385 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1386 esac ;; 1387esac 1388ac_abs_top_builddir=$ac_pwd 1389ac_abs_builddir=$ac_pwd$ac_dir_suffix 1390# for backward compatibility: 1391ac_top_builddir=$ac_top_build_prefix 1392 1393case $srcdir in 1394 .) # We are building in place. 1395 ac_srcdir=. 1396 ac_top_srcdir=$ac_top_builddir_sub 1397 ac_abs_top_srcdir=$ac_pwd ;; 1398 [\\/]* | ?:[\\/]* ) # Absolute name. 1399 ac_srcdir=$srcdir$ac_dir_suffix; 1400 ac_top_srcdir=$srcdir 1401 ac_abs_top_srcdir=$srcdir ;; 1402 *) # Relative name. 1403 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1404 ac_top_srcdir=$ac_top_build_prefix$srcdir 1405 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1406esac 1407ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1408 1409 cd "$ac_dir" || { ac_status=$?; continue; } 1410 # Check for guested configure. 1411 if test -f "$ac_srcdir/configure.gnu"; then 1412 echo && 1413 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1414 elif test -f "$ac_srcdir/configure"; then 1415 echo && 1416 $SHELL "$ac_srcdir/configure" --help=recursive 1417 else 1418 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1419 fi || ac_status=$? 1420 cd "$ac_pwd" || { ac_status=$?; break; } 1421 done 1422fi 1423 1424test -n "$ac_init_help" && exit $ac_status 1425if $ac_init_version; then 1426 cat <<\_ACEOF 1427bmake configure 20211020 1428generated by GNU Autoconf 2.69 1429 1430Copyright (C) 2012 Free Software Foundation, Inc. 1431This configure script is free software; the Free Software Foundation 1432gives unlimited permission to copy, distribute and modify it. 1433_ACEOF 1434 exit 1435fi 1436 1437## ------------------------ ## 1438## Autoconf initialization. ## 1439## ------------------------ ## 1440 1441# ac_fn_c_try_compile LINENO 1442# -------------------------- 1443# Try to compile conftest.$ac_ext, and return whether this succeeded. 1444ac_fn_c_try_compile () 1445{ 1446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1447 rm -f conftest.$ac_objext 1448 if { { ac_try="$ac_compile" 1449case "(($ac_try" in 1450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1451 *) ac_try_echo=$ac_try;; 1452esac 1453eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1454$as_echo "$ac_try_echo"; } >&5 1455 (eval "$ac_compile") 2>conftest.err 1456 ac_status=$? 1457 if test -s conftest.err; then 1458 grep -v '^ *+' conftest.err >conftest.er1 1459 cat conftest.er1 >&5 1460 mv -f conftest.er1 conftest.err 1461 fi 1462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1463 test $ac_status = 0; } && { 1464 test -z "$ac_c_werror_flag" || 1465 test ! -s conftest.err 1466 } && test -s conftest.$ac_objext; then : 1467 ac_retval=0 1468else 1469 $as_echo "$as_me: failed program was:" >&5 1470sed 's/^/| /' conftest.$ac_ext >&5 1471 1472 ac_retval=1 1473fi 1474 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1475 as_fn_set_status $ac_retval 1476 1477} # ac_fn_c_try_compile 1478 1479# ac_fn_c_try_cpp LINENO 1480# ---------------------- 1481# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1482ac_fn_c_try_cpp () 1483{ 1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1485 if { { ac_try="$ac_cpp conftest.$ac_ext" 1486case "(($ac_try" in 1487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1488 *) ac_try_echo=$ac_try;; 1489esac 1490eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1491$as_echo "$ac_try_echo"; } >&5 1492 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1493 ac_status=$? 1494 if test -s conftest.err; then 1495 grep -v '^ *+' conftest.err >conftest.er1 1496 cat conftest.er1 >&5 1497 mv -f conftest.er1 conftest.err 1498 fi 1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1500 test $ac_status = 0; } > conftest.i && { 1501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1502 test ! -s conftest.err 1503 }; then : 1504 ac_retval=0 1505else 1506 $as_echo "$as_me: failed program was:" >&5 1507sed 's/^/| /' conftest.$ac_ext >&5 1508 1509 ac_retval=1 1510fi 1511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1512 as_fn_set_status $ac_retval 1513 1514} # ac_fn_c_try_cpp 1515 1516# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1517# ------------------------------------------------------- 1518# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1519# the include files in INCLUDES and setting the cache variable VAR 1520# accordingly. 1521ac_fn_c_check_header_mongrel () 1522{ 1523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1524 if eval \${$3+:} false; then : 1525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1526$as_echo_n "checking for $2... " >&6; } 1527if eval \${$3+:} false; then : 1528 $as_echo_n "(cached) " >&6 1529fi 1530eval ac_res=\$$3 1531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1532$as_echo "$ac_res" >&6; } 1533else 1534 # Is the header compilable? 1535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1536$as_echo_n "checking $2 usability... " >&6; } 1537cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1538/* end confdefs.h. */ 1539$4 1540#include <$2> 1541_ACEOF 1542if ac_fn_c_try_compile "$LINENO"; then : 1543 ac_header_compiler=yes 1544else 1545 ac_header_compiler=no 1546fi 1547rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1549$as_echo "$ac_header_compiler" >&6; } 1550 1551# Is the header present? 1552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1553$as_echo_n "checking $2 presence... " >&6; } 1554cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1555/* end confdefs.h. */ 1556#include <$2> 1557_ACEOF 1558if ac_fn_c_try_cpp "$LINENO"; then : 1559 ac_header_preproc=yes 1560else 1561 ac_header_preproc=no 1562fi 1563rm -f conftest.err conftest.i conftest.$ac_ext 1564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1565$as_echo "$ac_header_preproc" >&6; } 1566 1567# So? What about this header? 1568case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1569 yes:no: ) 1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1571$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1573$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1574 ;; 1575 no:yes:* ) 1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1577$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1579$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1581$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1583$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1585$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1586( $as_echo "## ----------------------------- ## 1587## Report this to sjg@NetBSD.org ## 1588## ----------------------------- ##" 1589 ) | sed "s/^/$as_me: WARNING: /" >&2 1590 ;; 1591esac 1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1593$as_echo_n "checking for $2... " >&6; } 1594if eval \${$3+:} false; then : 1595 $as_echo_n "(cached) " >&6 1596else 1597 eval "$3=\$ac_header_compiler" 1598fi 1599eval ac_res=\$$3 1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1601$as_echo "$ac_res" >&6; } 1602fi 1603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1604 1605} # ac_fn_c_check_header_mongrel 1606 1607# ac_fn_c_try_run LINENO 1608# ---------------------- 1609# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1610# that executables *can* be run. 1611ac_fn_c_try_run () 1612{ 1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1614 if { { ac_try="$ac_link" 1615case "(($ac_try" in 1616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1617 *) ac_try_echo=$ac_try;; 1618esac 1619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1620$as_echo "$ac_try_echo"; } >&5 1621 (eval "$ac_link") 2>&5 1622 ac_status=$? 1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1624 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1625 { { case "(($ac_try" in 1626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1627 *) ac_try_echo=$ac_try;; 1628esac 1629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1630$as_echo "$ac_try_echo"; } >&5 1631 (eval "$ac_try") 2>&5 1632 ac_status=$? 1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1634 test $ac_status = 0; }; }; then : 1635 ac_retval=0 1636else 1637 $as_echo "$as_me: program exited with status $ac_status" >&5 1638 $as_echo "$as_me: failed program was:" >&5 1639sed 's/^/| /' conftest.$ac_ext >&5 1640 1641 ac_retval=$ac_status 1642fi 1643 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1645 as_fn_set_status $ac_retval 1646 1647} # ac_fn_c_try_run 1648 1649# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1650# ------------------------------------------------------- 1651# Tests whether HEADER exists and can be compiled using the include files in 1652# INCLUDES, setting the cache variable VAR accordingly. 1653ac_fn_c_check_header_compile () 1654{ 1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1657$as_echo_n "checking for $2... " >&6; } 1658if eval \${$3+:} false; then : 1659 $as_echo_n "(cached) " >&6 1660else 1661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1662/* end confdefs.h. */ 1663$4 1664#include <$2> 1665_ACEOF 1666if ac_fn_c_try_compile "$LINENO"; then : 1667 eval "$3=yes" 1668else 1669 eval "$3=no" 1670fi 1671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1672fi 1673eval ac_res=\$$3 1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1675$as_echo "$ac_res" >&6; } 1676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1677 1678} # ac_fn_c_check_header_compile 1679 1680# ac_fn_c_try_link LINENO 1681# ----------------------- 1682# Try to link conftest.$ac_ext, and return whether this succeeded. 1683ac_fn_c_try_link () 1684{ 1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1686 rm -f conftest.$ac_objext conftest$ac_exeext 1687 if { { ac_try="$ac_link" 1688case "(($ac_try" in 1689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1690 *) ac_try_echo=$ac_try;; 1691esac 1692eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1693$as_echo "$ac_try_echo"; } >&5 1694 (eval "$ac_link") 2>conftest.err 1695 ac_status=$? 1696 if test -s conftest.err; then 1697 grep -v '^ *+' conftest.err >conftest.er1 1698 cat conftest.er1 >&5 1699 mv -f conftest.er1 conftest.err 1700 fi 1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1702 test $ac_status = 0; } && { 1703 test -z "$ac_c_werror_flag" || 1704 test ! -s conftest.err 1705 } && test -s conftest$ac_exeext && { 1706 test "$cross_compiling" = yes || 1707 test -x conftest$ac_exeext 1708 }; then : 1709 ac_retval=0 1710else 1711 $as_echo "$as_me: failed program was:" >&5 1712sed 's/^/| /' conftest.$ac_ext >&5 1713 1714 ac_retval=1 1715fi 1716 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1717 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1718 # interfere with the next link command; also delete a directory that is 1719 # left behind by Apple's compiler. We do this before executing the actions. 1720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1722 as_fn_set_status $ac_retval 1723 1724} # ac_fn_c_try_link 1725 1726# ac_fn_c_find_intX_t LINENO BITS VAR 1727# ----------------------------------- 1728# Finds a signed integer type with width BITS, setting cache variable VAR 1729# accordingly. 1730ac_fn_c_find_intX_t () 1731{ 1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 1734$as_echo_n "checking for int$2_t... " >&6; } 1735if eval \${$3+:} false; then : 1736 $as_echo_n "(cached) " >&6 1737else 1738 eval "$3=no" 1739 # Order is important - never check a type that is potentially smaller 1740 # than half of the expected target width. 1741 for ac_type in int$2_t 'int' 'long int' \ 1742 'long long int' 'short int' 'signed char'; do 1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1744/* end confdefs.h. */ 1745$ac_includes_default 1746 enum { N = $2 / 2 - 1 }; 1747int 1748main () 1749{ 1750static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 1751test_array [0] = 0; 1752return test_array [0]; 1753 1754 ; 1755 return 0; 1756} 1757_ACEOF 1758if ac_fn_c_try_compile "$LINENO"; then : 1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1760/* end confdefs.h. */ 1761$ac_includes_default 1762 enum { N = $2 / 2 - 1 }; 1763int 1764main () 1765{ 1766static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 1767 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 1768test_array [0] = 0; 1769return test_array [0]; 1770 1771 ; 1772 return 0; 1773} 1774_ACEOF 1775if ac_fn_c_try_compile "$LINENO"; then : 1776 1777else 1778 case $ac_type in #( 1779 int$2_t) : 1780 eval "$3=yes" ;; #( 1781 *) : 1782 eval "$3=\$ac_type" ;; 1783esac 1784fi 1785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1786fi 1787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1788 if eval test \"x\$"$3"\" = x"no"; then : 1789 1790else 1791 break 1792fi 1793 done 1794fi 1795eval ac_res=\$$3 1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1797$as_echo "$ac_res" >&6; } 1798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1799 1800} # ac_fn_c_find_intX_t 1801 1802# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1803# ------------------------------------------- 1804# Tests whether TYPE exists after having included INCLUDES, setting cache 1805# variable VAR accordingly. 1806ac_fn_c_check_type () 1807{ 1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1810$as_echo_n "checking for $2... " >&6; } 1811if eval \${$3+:} false; then : 1812 $as_echo_n "(cached) " >&6 1813else 1814 eval "$3=no" 1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1816/* end confdefs.h. */ 1817$4 1818int 1819main () 1820{ 1821if (sizeof ($2)) 1822 return 0; 1823 ; 1824 return 0; 1825} 1826_ACEOF 1827if ac_fn_c_try_compile "$LINENO"; then : 1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1829/* end confdefs.h. */ 1830$4 1831int 1832main () 1833{ 1834if (sizeof (($2))) 1835 return 0; 1836 ; 1837 return 0; 1838} 1839_ACEOF 1840if ac_fn_c_try_compile "$LINENO"; then : 1841 1842else 1843 eval "$3=yes" 1844fi 1845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1846fi 1847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1848fi 1849eval ac_res=\$$3 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1851$as_echo "$ac_res" >&6; } 1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1853 1854} # ac_fn_c_check_type 1855 1856# ac_fn_c_find_uintX_t LINENO BITS VAR 1857# ------------------------------------ 1858# Finds an unsigned integer type with width BITS, setting cache variable VAR 1859# accordingly. 1860ac_fn_c_find_uintX_t () 1861{ 1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 1864$as_echo_n "checking for uint$2_t... " >&6; } 1865if eval \${$3+:} false; then : 1866 $as_echo_n "(cached) " >&6 1867else 1868 eval "$3=no" 1869 # Order is important - never check a type that is potentially smaller 1870 # than half of the expected target width. 1871 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 1872 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1874/* end confdefs.h. */ 1875$ac_includes_default 1876int 1877main () 1878{ 1879static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 1880test_array [0] = 0; 1881return test_array [0]; 1882 1883 ; 1884 return 0; 1885} 1886_ACEOF 1887if ac_fn_c_try_compile "$LINENO"; then : 1888 case $ac_type in #( 1889 uint$2_t) : 1890 eval "$3=yes" ;; #( 1891 *) : 1892 eval "$3=\$ac_type" ;; 1893esac 1894fi 1895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1896 if eval test \"x\$"$3"\" = x"no"; then : 1897 1898else 1899 break 1900fi 1901 done 1902fi 1903eval ac_res=\$$3 1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1905$as_echo "$ac_res" >&6; } 1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1907 1908} # ac_fn_c_find_uintX_t 1909 1910# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1911# --------------------------------------------- 1912# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1913# accordingly. 1914ac_fn_c_check_decl () 1915{ 1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1917 as_decl_name=`echo $2|sed 's/ *(.*//'` 1918 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1920$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1921if eval \${$3+:} false; then : 1922 $as_echo_n "(cached) " >&6 1923else 1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1925/* end confdefs.h. */ 1926$4 1927int 1928main () 1929{ 1930#ifndef $as_decl_name 1931#ifdef __cplusplus 1932 (void) $as_decl_use; 1933#else 1934 (void) $as_decl_name; 1935#endif 1936#endif 1937 1938 ; 1939 return 0; 1940} 1941_ACEOF 1942if ac_fn_c_try_compile "$LINENO"; then : 1943 eval "$3=yes" 1944else 1945 eval "$3=no" 1946fi 1947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1948fi 1949eval ac_res=\$$3 1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1951$as_echo "$ac_res" >&6; } 1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1953 1954} # ac_fn_c_check_decl 1955 1956# ac_fn_c_check_func LINENO FUNC VAR 1957# ---------------------------------- 1958# Tests whether FUNC exists, setting the cache variable VAR accordingly 1959ac_fn_c_check_func () 1960{ 1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1963$as_echo_n "checking for $2... " >&6; } 1964if eval \${$3+:} false; then : 1965 $as_echo_n "(cached) " >&6 1966else 1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1968/* end confdefs.h. */ 1969/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1970 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1971#define $2 innocuous_$2 1972 1973/* System header to define __stub macros and hopefully few prototypes, 1974 which can conflict with char $2 (); below. 1975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1976 <limits.h> exists even on freestanding compilers. */ 1977 1978#ifdef __STDC__ 1979# include <limits.h> 1980#else 1981# include <assert.h> 1982#endif 1983 1984#undef $2 1985 1986/* Override any GCC internal prototype to avoid an error. 1987 Use char because int might match the return type of a GCC 1988 builtin and then its argument prototype would still apply. */ 1989#ifdef __cplusplus 1990extern "C" 1991#endif 1992char $2 (); 1993/* The GNU C library defines this for functions which it implements 1994 to always fail with ENOSYS. Some functions are actually named 1995 something starting with __ and the normal name is an alias. */ 1996#if defined __stub_$2 || defined __stub___$2 1997choke me 1998#endif 1999 2000int 2001main () 2002{ 2003return $2 (); 2004 ; 2005 return 0; 2006} 2007_ACEOF 2008if ac_fn_c_try_link "$LINENO"; then : 2009 eval "$3=yes" 2010else 2011 eval "$3=no" 2012fi 2013rm -f core conftest.err conftest.$ac_objext \ 2014 conftest$ac_exeext conftest.$ac_ext 2015fi 2016eval ac_res=\$$3 2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2018$as_echo "$ac_res" >&6; } 2019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2020 2021} # ac_fn_c_check_func 2022 2023# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2024# ---------------------------------------------------- 2025# Tries to find if the field MEMBER exists in type AGGR, after including 2026# INCLUDES, setting cache variable VAR accordingly. 2027ac_fn_c_check_member () 2028{ 2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2031$as_echo_n "checking for $2.$3... " >&6; } 2032if eval \${$4+:} false; then : 2033 $as_echo_n "(cached) " >&6 2034else 2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2036/* end confdefs.h. */ 2037$5 2038int 2039main () 2040{ 2041static $2 ac_aggr; 2042if (ac_aggr.$3) 2043return 0; 2044 ; 2045 return 0; 2046} 2047_ACEOF 2048if ac_fn_c_try_compile "$LINENO"; then : 2049 eval "$4=yes" 2050else 2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2052/* end confdefs.h. */ 2053$5 2054int 2055main () 2056{ 2057static $2 ac_aggr; 2058if (sizeof ac_aggr.$3) 2059return 0; 2060 ; 2061 return 0; 2062} 2063_ACEOF 2064if ac_fn_c_try_compile "$LINENO"; then : 2065 eval "$4=yes" 2066else 2067 eval "$4=no" 2068fi 2069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2070fi 2071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2072fi 2073eval ac_res=\$$4 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2075$as_echo "$ac_res" >&6; } 2076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2077 2078} # ac_fn_c_check_member 2079cat >config.log <<_ACEOF 2080This file contains any messages produced by compilers while 2081running configure, to aid debugging if configure makes a mistake. 2082 2083It was created by bmake $as_me 20211020, which was 2084generated by GNU Autoconf 2.69. Invocation command line was 2085 2086 $ $0 $@ 2087 2088_ACEOF 2089exec 5>>config.log 2090{ 2091cat <<_ASUNAME 2092## --------- ## 2093## Platform. ## 2094## --------- ## 2095 2096hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2097uname -m = `(uname -m) 2>/dev/null || echo unknown` 2098uname -r = `(uname -r) 2>/dev/null || echo unknown` 2099uname -s = `(uname -s) 2>/dev/null || echo unknown` 2100uname -v = `(uname -v) 2>/dev/null || echo unknown` 2101 2102/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2103/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2104 2105/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2106/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2107/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2108/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2109/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2110/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2111/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2112 2113_ASUNAME 2114 2115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2116for as_dir in $PATH 2117do 2118 IFS=$as_save_IFS 2119 test -z "$as_dir" && as_dir=. 2120 $as_echo "PATH: $as_dir" 2121 done 2122IFS=$as_save_IFS 2123 2124} >&5 2125 2126cat >&5 <<_ACEOF 2127 2128 2129## ----------- ## 2130## Core tests. ## 2131## ----------- ## 2132 2133_ACEOF 2134 2135 2136# Keep a trace of the command line. 2137# Strip out --no-create and --no-recursion so they do not pile up. 2138# Strip out --silent because we don't want to record it for future runs. 2139# Also quote any args containing shell meta-characters. 2140# Make two passes to allow for proper duplicate-argument suppression. 2141ac_configure_args= 2142ac_configure_args0= 2143ac_configure_args1= 2144ac_must_keep_next=false 2145for ac_pass in 1 2 2146do 2147 for ac_arg 2148 do 2149 case $ac_arg in 2150 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2152 | -silent | --silent | --silen | --sile | --sil) 2153 continue ;; 2154 *\'*) 2155 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2156 esac 2157 case $ac_pass in 2158 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2159 2) 2160 as_fn_append ac_configure_args1 " '$ac_arg'" 2161 if test $ac_must_keep_next = true; then 2162 ac_must_keep_next=false # Got value, back to normal. 2163 else 2164 case $ac_arg in 2165 *=* | --config-cache | -C | -disable-* | --disable-* \ 2166 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2167 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2168 | -with-* | --with-* | -without-* | --without-* | --x) 2169 case "$ac_configure_args0 " in 2170 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2171 esac 2172 ;; 2173 -* ) ac_must_keep_next=true ;; 2174 esac 2175 fi 2176 as_fn_append ac_configure_args " '$ac_arg'" 2177 ;; 2178 esac 2179 done 2180done 2181{ ac_configure_args0=; unset ac_configure_args0;} 2182{ ac_configure_args1=; unset ac_configure_args1;} 2183 2184# When interrupted or exit'd, cleanup temporary files, and complete 2185# config.log. We remove comments because anyway the quotes in there 2186# would cause problems or look ugly. 2187# WARNING: Use '\'' to represent an apostrophe within the trap. 2188# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2189trap 'exit_status=$? 2190 # Save into config.log some information that might help in debugging. 2191 { 2192 echo 2193 2194 $as_echo "## ---------------- ## 2195## Cache variables. ## 2196## ---------------- ##" 2197 echo 2198 # The following way of writing the cache mishandles newlines in values, 2199( 2200 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2201 eval ac_val=\$$ac_var 2202 case $ac_val in #( 2203 *${as_nl}*) 2204 case $ac_var in #( 2205 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2206$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2207 esac 2208 case $ac_var in #( 2209 _ | IFS | as_nl) ;; #( 2210 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2211 *) { eval $ac_var=; unset $ac_var;} ;; 2212 esac ;; 2213 esac 2214 done 2215 (set) 2>&1 | 2216 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2217 *${as_nl}ac_space=\ *) 2218 sed -n \ 2219 "s/'\''/'\''\\\\'\'''\''/g; 2220 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2221 ;; #( 2222 *) 2223 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2224 ;; 2225 esac | 2226 sort 2227) 2228 echo 2229 2230 $as_echo "## ----------------- ## 2231## Output variables. ## 2232## ----------------- ##" 2233 echo 2234 for ac_var in $ac_subst_vars 2235 do 2236 eval ac_val=\$$ac_var 2237 case $ac_val in 2238 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2239 esac 2240 $as_echo "$ac_var='\''$ac_val'\''" 2241 done | sort 2242 echo 2243 2244 if test -n "$ac_subst_files"; then 2245 $as_echo "## ------------------- ## 2246## File substitutions. ## 2247## ------------------- ##" 2248 echo 2249 for ac_var in $ac_subst_files 2250 do 2251 eval ac_val=\$$ac_var 2252 case $ac_val in 2253 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2254 esac 2255 $as_echo "$ac_var='\''$ac_val'\''" 2256 done | sort 2257 echo 2258 fi 2259 2260 if test -s confdefs.h; then 2261 $as_echo "## ----------- ## 2262## confdefs.h. ## 2263## ----------- ##" 2264 echo 2265 cat confdefs.h 2266 echo 2267 fi 2268 test "$ac_signal" != 0 && 2269 $as_echo "$as_me: caught signal $ac_signal" 2270 $as_echo "$as_me: exit $exit_status" 2271 } >&5 2272 rm -f core *.core core.conftest.* && 2273 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2274 exit $exit_status 2275' 0 2276for ac_signal in 1 2 13 15; do 2277 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2278done 2279ac_signal=0 2280 2281# confdefs.h avoids OS command line length limits that DEFS can exceed. 2282rm -f -r conftest* confdefs.h 2283 2284$as_echo "/* confdefs.h */" > confdefs.h 2285 2286# Predefined preprocessor variables. 2287 2288cat >>confdefs.h <<_ACEOF 2289#define PACKAGE_NAME "$PACKAGE_NAME" 2290_ACEOF 2291 2292cat >>confdefs.h <<_ACEOF 2293#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2294_ACEOF 2295 2296cat >>confdefs.h <<_ACEOF 2297#define PACKAGE_VERSION "$PACKAGE_VERSION" 2298_ACEOF 2299 2300cat >>confdefs.h <<_ACEOF 2301#define PACKAGE_STRING "$PACKAGE_STRING" 2302_ACEOF 2303 2304cat >>confdefs.h <<_ACEOF 2305#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2306_ACEOF 2307 2308cat >>confdefs.h <<_ACEOF 2309#define PACKAGE_URL "$PACKAGE_URL" 2310_ACEOF 2311 2312 2313# Let the site file select an alternate cache file if it wants to. 2314# Prefer an explicitly selected file to automatically selected ones. 2315ac_site_file1=NONE 2316ac_site_file2=NONE 2317if test -n "$CONFIG_SITE"; then 2318 # We do not want a PATH search for config.site. 2319 case $CONFIG_SITE in #(( 2320 -*) ac_site_file1=./$CONFIG_SITE;; 2321 */*) ac_site_file1=$CONFIG_SITE;; 2322 *) ac_site_file1=./$CONFIG_SITE;; 2323 esac 2324elif test "x$prefix" != xNONE; then 2325 ac_site_file1=$prefix/share/config.site 2326 ac_site_file2=$prefix/etc/config.site 2327else 2328 ac_site_file1=$ac_default_prefix/share/config.site 2329 ac_site_file2=$ac_default_prefix/etc/config.site 2330fi 2331for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2332do 2333 test "x$ac_site_file" = xNONE && continue 2334 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2335 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2336$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2337 sed 's/^/| /' "$ac_site_file" >&5 2338 . "$ac_site_file" \ 2339 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2340$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2341as_fn_error $? "failed to load site script $ac_site_file 2342See \`config.log' for more details" "$LINENO" 5; } 2343 fi 2344done 2345 2346if test -r "$cache_file"; then 2347 # Some versions of bash will fail to source /dev/null (special files 2348 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2349 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2350 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2351$as_echo "$as_me: loading cache $cache_file" >&6;} 2352 case $cache_file in 2353 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2354 *) . "./$cache_file";; 2355 esac 2356 fi 2357else 2358 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2359$as_echo "$as_me: creating cache $cache_file" >&6;} 2360 >$cache_file 2361fi 2362 2363# Check that the precious variables saved in the cache have kept the same 2364# value. 2365ac_cache_corrupted=false 2366for ac_var in $ac_precious_vars; do 2367 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2368 eval ac_new_set=\$ac_env_${ac_var}_set 2369 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2370 eval ac_new_val=\$ac_env_${ac_var}_value 2371 case $ac_old_set,$ac_new_set in 2372 set,) 2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2374$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2375 ac_cache_corrupted=: ;; 2376 ,set) 2377 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2378$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2379 ac_cache_corrupted=: ;; 2380 ,);; 2381 *) 2382 if test "x$ac_old_val" != "x$ac_new_val"; then 2383 # differences in whitespace do not lead to failure. 2384 ac_old_val_w=`echo x $ac_old_val` 2385 ac_new_val_w=`echo x $ac_new_val` 2386 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2387 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2388$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2389 ac_cache_corrupted=: 2390 else 2391 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2392$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2393 eval $ac_var=\$ac_old_val 2394 fi 2395 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2396$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2397 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2398$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2399 fi;; 2400 esac 2401 # Pass precious variables to config.status. 2402 if test "$ac_new_set" = set; then 2403 case $ac_new_val in 2404 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2405 *) ac_arg=$ac_var=$ac_new_val ;; 2406 esac 2407 case " $ac_configure_args " in 2408 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2409 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2410 esac 2411 fi 2412done 2413if $ac_cache_corrupted; then 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2415$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2416 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2417$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2418 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2419fi 2420## -------------------- ## 2421## Main body of script. ## 2422## -------------------- ## 2423 2424ac_ext=c 2425ac_cpp='$CPP $CPPFLAGS' 2426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2427ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2428ac_compiler_gnu=$ac_cv_c_compiler_gnu 2429 2430 2431ac_config_headers="$ac_config_headers config.h" 2432 2433 2434case "$srcdir" in 2435/*) ;; 2436*) srcdir=`cd $srcdir && 'pwd'`;; 2437esac 2438 2439. $srcdir/VERSION 2440OS=`uname -s` 2441 2442use_defshell() { 2443 case "$defshell_path$DEFSHELL_INDEX" in 2444 "") ;; 2445 *) return 0;; 2446 esac 2447 case "$1" in 2448 *csh) # we must be desperate 2449 DEFSHELL_INDEX=DEFSHELL_INDEX_CSH;; 2450 *ksh) 2451 DEFSHELL_INDEX=DEFSHELL_INDEX_KSH;; 2452 sh|/bin/sh) 2453 DEFSHELL_INDEX=DEFSHELL_INDEX_SH;; 2454 *) DEFSHELL_INDEX=DEFSHELL_INDEX_CUSTOM 2455 defshell_path=$1 2456 ;; 2457 esac 2458 case "$1" in 2459 /bin/*) ;; 2460 */*) defshell_path=$1;; 2461 esac 2462} 2463 2464# Check whether --with-defshell was given. 2465if test "${with_defshell+set}" = set; then : 2466 withval=$with_defshell; case "${withval}" in 2467yes) as_fn_error $? "bad value ${withval} given for bmake DEFSHELL" "$LINENO" 5 ;; 2468no) ;; 2469*) use_defshell $with_defshell;; 2470esac 2471fi 2472 2473case "$OS" in 2474CYGWIN*|MINGW*) use_makefile=no;; 2475*) use_makefile=yes;; 2476esac 2477 2478# Check whether --with-makefile was given. 2479if test "${with_makefile+set}" = set; then : 2480 withval=$with_makefile; case "${withval}" in 2481yes|no) use_makefile=${withval};; 2482*) as_fn_error $? "bad value ${withval} given for makefile" "$LINENO" 5 ;; 2483esac 2484fi 2485 2486use_meta=yes 2487 2488# Check whether --with-meta was given. 2489if test "${with_meta+set}" = set; then : 2490 withval=$with_meta; case "${withval}" in 2491yes|no) use_meta=${withval};; 2492*) as_fn_error $? "bad value ${withval} given for meta" "$LINENO" 5 ;; 2493esac 2494fi 2495 2496 2497# Check whether --with-filemon was given. 2498if test "${with_filemon+set}" = set; then : 2499 withval=$with_filemon; case "/${withval}" in 2500/no) use_filemon=no;; 2501/*trace) filemon_h=no use_filemon="${withval}";; 2502*/filemon.h) filemon_h="${withval}";; 2503*/filemon*) filemon_h="${withval}/filemon.h";; 2504*) as_fn_error $? "bad value ${withval} given for filemon" "$LINENO" 5 ;; 2505esac 2506case "$use_filemon,$filemon_h" in 2507,*.h) use_filemon=dev;; 2508esac 2509 2510else 2511 2512case "$OS" in 2513NetBSD) filemon_h=no use_filemon=ktrace;; 2514*) 2515 for d in "/usr/include/dev/filemon" "$prefix/include/dev/filemon" "$srcdir/../../sys/dev/filemon" 2516 do 2517 for x in "/$OS" "" 2518 do 2519 filemon_h="$d$x/filemon.h" 2520 test -s "$filemon_h" && break 2521 done 2522 test -s "$filemon_h" && { use_filemon=dev; break; } 2523 done 2524 ;; 2525esac 2526use_filemon=${use_filemon:-no} 2527case "$use_filemon" in 2528dev) ;; 2529*) filemon_h=no;; 2530esac 2531 2532fi 2533 2534case "$use_meta" in 2535yes) 2536 case "$use_filemon" in 2537 no) ;; 2538 *) echo "Using: filemon_${use_filemon}.c" >&6;; 2539 esac 2540 ;; 2541esac 2542case "$OS" in 2543Minix) CPPFLAGS="${CPPFLAGS} -D_NETBSD_SOURCE" 2544 test -x /usr/pkg/bin/clang && CC=${CC:-clang} 2545 ;; 2546SCO_SV) # /bin/sh is not usable 2547 ALT_DEF_SHELLS="/bin/lsh /usr/bin/bash /bin/ksh" 2548 CPPFLAGS="${CPPFLAGS} -DFORCE_USE_SHELL" 2549 ;; 2550esac 2551echo $ECHO_N "checking whether system has timezone Europe/Berlin... $ECHO_C" >&6 2552if test -f /usr/share/zoneinfo/Europe/Berlin; then 2553 echo yes >&6 2554 # seems a safe bet 2555 UTC_1=Europe/Berlin 2556else 2557 utcH=`TZ=UTC date +%H 2> /dev/null` 2558 utc_1H=`TZ=UTC-1 date +%H 2> /dev/null` 2559 if test ${utcH-0} -lt ${utc_1H-0}; then 2560 UTC_1=UTC-1 2561 echo no, using UTC-1 >&6 2562 else 2563 echo no >&6 2564 fi 2565fi 2566oldPATH=$PATH 2567for d in /usr/gnu/bin 2568do 2569 test -d $d || continue 2570 PATH=$PATH:$d 2571done 2572export PATH 2573ac_ext=c 2574ac_cpp='$CPP $CPPFLAGS' 2575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2577ac_compiler_gnu=$ac_cv_c_compiler_gnu 2578if test -n "$ac_tool_prefix"; then 2579 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2580set dummy ${ac_tool_prefix}gcc; ac_word=$2 2581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2582$as_echo_n "checking for $ac_word... " >&6; } 2583if ${ac_cv_prog_CC+:} false; then : 2584 $as_echo_n "(cached) " >&6 2585else 2586 if test -n "$CC"; then 2587 ac_cv_prog_CC="$CC" # Let the user override the test. 2588else 2589as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2590for as_dir in $PATH 2591do 2592 IFS=$as_save_IFS 2593 test -z "$as_dir" && as_dir=. 2594 for ac_exec_ext in '' $ac_executable_extensions; do 2595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2596 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2598 break 2 2599 fi 2600done 2601 done 2602IFS=$as_save_IFS 2603 2604fi 2605fi 2606CC=$ac_cv_prog_CC 2607if test -n "$CC"; then 2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2609$as_echo "$CC" >&6; } 2610else 2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2612$as_echo "no" >&6; } 2613fi 2614 2615 2616fi 2617if test -z "$ac_cv_prog_CC"; then 2618 ac_ct_CC=$CC 2619 # Extract the first word of "gcc", so it can be a program name with args. 2620set dummy gcc; ac_word=$2 2621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2622$as_echo_n "checking for $ac_word... " >&6; } 2623if ${ac_cv_prog_ac_ct_CC+:} false; then : 2624 $as_echo_n "(cached) " >&6 2625else 2626 if test -n "$ac_ct_CC"; then 2627 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2628else 2629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2630for as_dir in $PATH 2631do 2632 IFS=$as_save_IFS 2633 test -z "$as_dir" && as_dir=. 2634 for ac_exec_ext in '' $ac_executable_extensions; do 2635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2636 ac_cv_prog_ac_ct_CC="gcc" 2637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2638 break 2 2639 fi 2640done 2641 done 2642IFS=$as_save_IFS 2643 2644fi 2645fi 2646ac_ct_CC=$ac_cv_prog_ac_ct_CC 2647if test -n "$ac_ct_CC"; then 2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2649$as_echo "$ac_ct_CC" >&6; } 2650else 2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2652$as_echo "no" >&6; } 2653fi 2654 2655 if test "x$ac_ct_CC" = x; then 2656 CC="" 2657 else 2658 case $cross_compiling:$ac_tool_warned in 2659yes:) 2660{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2661$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2662ac_tool_warned=yes ;; 2663esac 2664 CC=$ac_ct_CC 2665 fi 2666else 2667 CC="$ac_cv_prog_CC" 2668fi 2669 2670if test -z "$CC"; then 2671 if test -n "$ac_tool_prefix"; then 2672 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2673set dummy ${ac_tool_prefix}cc; ac_word=$2 2674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2675$as_echo_n "checking for $ac_word... " >&6; } 2676if ${ac_cv_prog_CC+:} false; then : 2677 $as_echo_n "(cached) " >&6 2678else 2679 if test -n "$CC"; then 2680 ac_cv_prog_CC="$CC" # Let the user override the test. 2681else 2682as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2683for as_dir in $PATH 2684do 2685 IFS=$as_save_IFS 2686 test -z "$as_dir" && as_dir=. 2687 for ac_exec_ext in '' $ac_executable_extensions; do 2688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2689 ac_cv_prog_CC="${ac_tool_prefix}cc" 2690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2691 break 2 2692 fi 2693done 2694 done 2695IFS=$as_save_IFS 2696 2697fi 2698fi 2699CC=$ac_cv_prog_CC 2700if test -n "$CC"; then 2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2702$as_echo "$CC" >&6; } 2703else 2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2705$as_echo "no" >&6; } 2706fi 2707 2708 2709 fi 2710fi 2711if test -z "$CC"; then 2712 # Extract the first word of "cc", so it can be a program name with args. 2713set dummy cc; ac_word=$2 2714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2715$as_echo_n "checking for $ac_word... " >&6; } 2716if ${ac_cv_prog_CC+:} false; then : 2717 $as_echo_n "(cached) " >&6 2718else 2719 if test -n "$CC"; then 2720 ac_cv_prog_CC="$CC" # Let the user override the test. 2721else 2722 ac_prog_rejected=no 2723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2724for as_dir in $PATH 2725do 2726 IFS=$as_save_IFS 2727 test -z "$as_dir" && as_dir=. 2728 for ac_exec_ext in '' $ac_executable_extensions; do 2729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2730 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2731 ac_prog_rejected=yes 2732 continue 2733 fi 2734 ac_cv_prog_CC="cc" 2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2736 break 2 2737 fi 2738done 2739 done 2740IFS=$as_save_IFS 2741 2742if test $ac_prog_rejected = yes; then 2743 # We found a bogon in the path, so make sure we never use it. 2744 set dummy $ac_cv_prog_CC 2745 shift 2746 if test $# != 0; then 2747 # We chose a different compiler from the bogus one. 2748 # However, it has the same basename, so the bogon will be chosen 2749 # first if we set CC to just the basename; use the full file name. 2750 shift 2751 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2752 fi 2753fi 2754fi 2755fi 2756CC=$ac_cv_prog_CC 2757if test -n "$CC"; then 2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2759$as_echo "$CC" >&6; } 2760else 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2762$as_echo "no" >&6; } 2763fi 2764 2765 2766fi 2767if test -z "$CC"; then 2768 if test -n "$ac_tool_prefix"; then 2769 for ac_prog in cl.exe 2770 do 2771 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2772set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2774$as_echo_n "checking for $ac_word... " >&6; } 2775if ${ac_cv_prog_CC+:} false; then : 2776 $as_echo_n "(cached) " >&6 2777else 2778 if test -n "$CC"; then 2779 ac_cv_prog_CC="$CC" # Let the user override the test. 2780else 2781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2782for as_dir in $PATH 2783do 2784 IFS=$as_save_IFS 2785 test -z "$as_dir" && as_dir=. 2786 for ac_exec_ext in '' $ac_executable_extensions; do 2787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2788 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2790 break 2 2791 fi 2792done 2793 done 2794IFS=$as_save_IFS 2795 2796fi 2797fi 2798CC=$ac_cv_prog_CC 2799if test -n "$CC"; then 2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2801$as_echo "$CC" >&6; } 2802else 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2804$as_echo "no" >&6; } 2805fi 2806 2807 2808 test -n "$CC" && break 2809 done 2810fi 2811if test -z "$CC"; then 2812 ac_ct_CC=$CC 2813 for ac_prog in cl.exe 2814do 2815 # Extract the first word of "$ac_prog", so it can be a program name with args. 2816set dummy $ac_prog; ac_word=$2 2817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2818$as_echo_n "checking for $ac_word... " >&6; } 2819if ${ac_cv_prog_ac_ct_CC+:} false; then : 2820 $as_echo_n "(cached) " >&6 2821else 2822 if test -n "$ac_ct_CC"; then 2823 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2824else 2825as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2826for as_dir in $PATH 2827do 2828 IFS=$as_save_IFS 2829 test -z "$as_dir" && as_dir=. 2830 for ac_exec_ext in '' $ac_executable_extensions; do 2831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2832 ac_cv_prog_ac_ct_CC="$ac_prog" 2833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2834 break 2 2835 fi 2836done 2837 done 2838IFS=$as_save_IFS 2839 2840fi 2841fi 2842ac_ct_CC=$ac_cv_prog_ac_ct_CC 2843if test -n "$ac_ct_CC"; then 2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2845$as_echo "$ac_ct_CC" >&6; } 2846else 2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2848$as_echo "no" >&6; } 2849fi 2850 2851 2852 test -n "$ac_ct_CC" && break 2853done 2854 2855 if test "x$ac_ct_CC" = x; then 2856 CC="" 2857 else 2858 case $cross_compiling:$ac_tool_warned in 2859yes:) 2860{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2861$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2862ac_tool_warned=yes ;; 2863esac 2864 CC=$ac_ct_CC 2865 fi 2866fi 2867 2868fi 2869 2870 2871test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2872$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2873as_fn_error $? "no acceptable C compiler found in \$PATH 2874See \`config.log' for more details" "$LINENO" 5; } 2875 2876# Provide some information about the compiler. 2877$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2878set X $ac_compile 2879ac_compiler=$2 2880for ac_option in --version -v -V -qversion; do 2881 { { ac_try="$ac_compiler $ac_option >&5" 2882case "(($ac_try" in 2883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2884 *) ac_try_echo=$ac_try;; 2885esac 2886eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2887$as_echo "$ac_try_echo"; } >&5 2888 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2889 ac_status=$? 2890 if test -s conftest.err; then 2891 sed '10a\ 2892... rest of stderr output deleted ... 2893 10q' conftest.err >conftest.er1 2894 cat conftest.er1 >&5 2895 fi 2896 rm -f conftest.er1 conftest.err 2897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2898 test $ac_status = 0; } 2899done 2900 2901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2902/* end confdefs.h. */ 2903 2904int 2905main () 2906{ 2907 2908 ; 2909 return 0; 2910} 2911_ACEOF 2912ac_clean_files_save=$ac_clean_files 2913ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2914# Try to create an executable without -o first, disregard a.out. 2915# It will help us diagnose broken compilers, and finding out an intuition 2916# of exeext. 2917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2918$as_echo_n "checking whether the C compiler works... " >&6; } 2919ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2920 2921# The possible output files: 2922ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2923 2924ac_rmfiles= 2925for ac_file in $ac_files 2926do 2927 case $ac_file in 2928 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2929 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2930 esac 2931done 2932rm -f $ac_rmfiles 2933 2934if { { ac_try="$ac_link_default" 2935case "(($ac_try" in 2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2937 *) ac_try_echo=$ac_try;; 2938esac 2939eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2940$as_echo "$ac_try_echo"; } >&5 2941 (eval "$ac_link_default") 2>&5 2942 ac_status=$? 2943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2944 test $ac_status = 0; }; then : 2945 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2946# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2947# in a Makefile. We should not override ac_cv_exeext if it was cached, 2948# so that the user can short-circuit this test for compilers unknown to 2949# Autoconf. 2950for ac_file in $ac_files '' 2951do 2952 test -f "$ac_file" || continue 2953 case $ac_file in 2954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2955 ;; 2956 [ab].out ) 2957 # We found the default executable, but exeext='' is most 2958 # certainly right. 2959 break;; 2960 *.* ) 2961 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2962 then :; else 2963 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2964 fi 2965 # We set ac_cv_exeext here because the later test for it is not 2966 # safe: cross compilers may not add the suffix if given an `-o' 2967 # argument, so we may need to know it at that point already. 2968 # Even if this section looks crufty: it has the advantage of 2969 # actually working. 2970 break;; 2971 * ) 2972 break;; 2973 esac 2974done 2975test "$ac_cv_exeext" = no && ac_cv_exeext= 2976 2977else 2978 ac_file='' 2979fi 2980if test -z "$ac_file"; then : 2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2982$as_echo "no" >&6; } 2983$as_echo "$as_me: failed program was:" >&5 2984sed 's/^/| /' conftest.$ac_ext >&5 2985 2986{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2987$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2988as_fn_error 77 "C compiler cannot create executables 2989See \`config.log' for more details" "$LINENO" 5; } 2990else 2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2992$as_echo "yes" >&6; } 2993fi 2994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2995$as_echo_n "checking for C compiler default output file name... " >&6; } 2996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2997$as_echo "$ac_file" >&6; } 2998ac_exeext=$ac_cv_exeext 2999 3000rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3001ac_clean_files=$ac_clean_files_save 3002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3003$as_echo_n "checking for suffix of executables... " >&6; } 3004if { { ac_try="$ac_link" 3005case "(($ac_try" in 3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3007 *) ac_try_echo=$ac_try;; 3008esac 3009eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3010$as_echo "$ac_try_echo"; } >&5 3011 (eval "$ac_link") 2>&5 3012 ac_status=$? 3013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3014 test $ac_status = 0; }; then : 3015 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3016# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3017# work properly (i.e., refer to `conftest.exe'), while it won't with 3018# `rm'. 3019for ac_file in conftest.exe conftest conftest.*; do 3020 test -f "$ac_file" || continue 3021 case $ac_file in 3022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3023 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3024 break;; 3025 * ) break;; 3026 esac 3027done 3028else 3029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3030$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3031as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3032See \`config.log' for more details" "$LINENO" 5; } 3033fi 3034rm -f conftest conftest$ac_cv_exeext 3035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3036$as_echo "$ac_cv_exeext" >&6; } 3037 3038rm -f conftest.$ac_ext 3039EXEEXT=$ac_cv_exeext 3040ac_exeext=$EXEEXT 3041cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3042/* end confdefs.h. */ 3043#include <stdio.h> 3044int 3045main () 3046{ 3047FILE *f = fopen ("conftest.out", "w"); 3048 return ferror (f) || fclose (f) != 0; 3049 3050 ; 3051 return 0; 3052} 3053_ACEOF 3054ac_clean_files="$ac_clean_files conftest.out" 3055# Check that the compiler produces executables we can run. If not, either 3056# the compiler is broken, or we cross compile. 3057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3058$as_echo_n "checking whether we are cross compiling... " >&6; } 3059if test "$cross_compiling" != yes; then 3060 { { ac_try="$ac_link" 3061case "(($ac_try" in 3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3063 *) ac_try_echo=$ac_try;; 3064esac 3065eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3066$as_echo "$ac_try_echo"; } >&5 3067 (eval "$ac_link") 2>&5 3068 ac_status=$? 3069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3070 test $ac_status = 0; } 3071 if { ac_try='./conftest$ac_cv_exeext' 3072 { { case "(($ac_try" in 3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3074 *) ac_try_echo=$ac_try;; 3075esac 3076eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3077$as_echo "$ac_try_echo"; } >&5 3078 (eval "$ac_try") 2>&5 3079 ac_status=$? 3080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3081 test $ac_status = 0; }; }; then 3082 cross_compiling=no 3083 else 3084 if test "$cross_compiling" = maybe; then 3085 cross_compiling=yes 3086 else 3087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3088$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3089as_fn_error $? "cannot run C compiled programs. 3090If you meant to cross compile, use \`--host'. 3091See \`config.log' for more details" "$LINENO" 5; } 3092 fi 3093 fi 3094fi 3095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3096$as_echo "$cross_compiling" >&6; } 3097 3098rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3099ac_clean_files=$ac_clean_files_save 3100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3101$as_echo_n "checking for suffix of object files... " >&6; } 3102if ${ac_cv_objext+:} false; then : 3103 $as_echo_n "(cached) " >&6 3104else 3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3106/* end confdefs.h. */ 3107 3108int 3109main () 3110{ 3111 3112 ; 3113 return 0; 3114} 3115_ACEOF 3116rm -f conftest.o conftest.obj 3117if { { ac_try="$ac_compile" 3118case "(($ac_try" in 3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3120 *) ac_try_echo=$ac_try;; 3121esac 3122eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3123$as_echo "$ac_try_echo"; } >&5 3124 (eval "$ac_compile") 2>&5 3125 ac_status=$? 3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3127 test $ac_status = 0; }; then : 3128 for ac_file in conftest.o conftest.obj conftest.*; do 3129 test -f "$ac_file" || continue; 3130 case $ac_file in 3131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3132 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3133 break;; 3134 esac 3135done 3136else 3137 $as_echo "$as_me: failed program was:" >&5 3138sed 's/^/| /' conftest.$ac_ext >&5 3139 3140{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3141$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3142as_fn_error $? "cannot compute suffix of object files: cannot compile 3143See \`config.log' for more details" "$LINENO" 5; } 3144fi 3145rm -f conftest.$ac_cv_objext conftest.$ac_ext 3146fi 3147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3148$as_echo "$ac_cv_objext" >&6; } 3149OBJEXT=$ac_cv_objext 3150ac_objext=$OBJEXT 3151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3152$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3153if ${ac_cv_c_compiler_gnu+:} false; then : 3154 $as_echo_n "(cached) " >&6 3155else 3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3157/* end confdefs.h. */ 3158 3159int 3160main () 3161{ 3162#ifndef __GNUC__ 3163 choke me 3164#endif 3165 3166 ; 3167 return 0; 3168} 3169_ACEOF 3170if ac_fn_c_try_compile "$LINENO"; then : 3171 ac_compiler_gnu=yes 3172else 3173 ac_compiler_gnu=no 3174fi 3175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3176ac_cv_c_compiler_gnu=$ac_compiler_gnu 3177 3178fi 3179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3180$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3181if test $ac_compiler_gnu = yes; then 3182 GCC=yes 3183else 3184 GCC= 3185fi 3186ac_test_CFLAGS=${CFLAGS+set} 3187ac_save_CFLAGS=$CFLAGS 3188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3189$as_echo_n "checking whether $CC accepts -g... " >&6; } 3190if ${ac_cv_prog_cc_g+:} false; then : 3191 $as_echo_n "(cached) " >&6 3192else 3193 ac_save_c_werror_flag=$ac_c_werror_flag 3194 ac_c_werror_flag=yes 3195 ac_cv_prog_cc_g=no 3196 CFLAGS="-g" 3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3198/* end confdefs.h. */ 3199 3200int 3201main () 3202{ 3203 3204 ; 3205 return 0; 3206} 3207_ACEOF 3208if ac_fn_c_try_compile "$LINENO"; then : 3209 ac_cv_prog_cc_g=yes 3210else 3211 CFLAGS="" 3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3213/* end confdefs.h. */ 3214 3215int 3216main () 3217{ 3218 3219 ; 3220 return 0; 3221} 3222_ACEOF 3223if ac_fn_c_try_compile "$LINENO"; then : 3224 3225else 3226 ac_c_werror_flag=$ac_save_c_werror_flag 3227 CFLAGS="-g" 3228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3229/* end confdefs.h. */ 3230 3231int 3232main () 3233{ 3234 3235 ; 3236 return 0; 3237} 3238_ACEOF 3239if ac_fn_c_try_compile "$LINENO"; then : 3240 ac_cv_prog_cc_g=yes 3241fi 3242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3243fi 3244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3245fi 3246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3247 ac_c_werror_flag=$ac_save_c_werror_flag 3248fi 3249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3250$as_echo "$ac_cv_prog_cc_g" >&6; } 3251if test "$ac_test_CFLAGS" = set; then 3252 CFLAGS=$ac_save_CFLAGS 3253elif test $ac_cv_prog_cc_g = yes; then 3254 if test "$GCC" = yes; then 3255 CFLAGS="-g -O2" 3256 else 3257 CFLAGS="-g" 3258 fi 3259else 3260 if test "$GCC" = yes; then 3261 CFLAGS="-O2" 3262 else 3263 CFLAGS= 3264 fi 3265fi 3266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3267$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3268if ${ac_cv_prog_cc_c89+:} false; then : 3269 $as_echo_n "(cached) " >&6 3270else 3271 ac_cv_prog_cc_c89=no 3272ac_save_CC=$CC 3273cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3274/* end confdefs.h. */ 3275#include <stdarg.h> 3276#include <stdio.h> 3277struct stat; 3278/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3279struct buf { int x; }; 3280FILE * (*rcsopen) (struct buf *, struct stat *, int); 3281static char *e (p, i) 3282 char **p; 3283 int i; 3284{ 3285 return p[i]; 3286} 3287static char *f (char * (*g) (char **, int), char **p, ...) 3288{ 3289 char *s; 3290 va_list v; 3291 va_start (v,p); 3292 s = g (p, va_arg (v,int)); 3293 va_end (v); 3294 return s; 3295} 3296 3297/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3298 function prototypes and stuff, but not '\xHH' hex character constants. 3299 These don't provoke an error unfortunately, instead are silently treated 3300 as 'x'. The following induces an error, until -std is added to get 3301 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3302 array size at least. It's necessary to write '\x00'==0 to get something 3303 that's true only with -std. */ 3304int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3305 3306/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3307 inside strings and character constants. */ 3308#define FOO(x) 'x' 3309int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3310 3311int test (int i, double x); 3312struct s1 {int (*f) (int a);}; 3313struct s2 {int (*f) (double a);}; 3314int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3315int argc; 3316char **argv; 3317int 3318main () 3319{ 3320return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3321 ; 3322 return 0; 3323} 3324_ACEOF 3325for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3326 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3327do 3328 CC="$ac_save_CC $ac_arg" 3329 if ac_fn_c_try_compile "$LINENO"; then : 3330 ac_cv_prog_cc_c89=$ac_arg 3331fi 3332rm -f core conftest.err conftest.$ac_objext 3333 test "x$ac_cv_prog_cc_c89" != "xno" && break 3334done 3335rm -f conftest.$ac_ext 3336CC=$ac_save_CC 3337 3338fi 3339# AC_CACHE_VAL 3340case "x$ac_cv_prog_cc_c89" in 3341 x) 3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3343$as_echo "none needed" >&6; } ;; 3344 xno) 3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3346$as_echo "unsupported" >&6; } ;; 3347 *) 3348 CC="$CC $ac_cv_prog_cc_c89" 3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3350$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3351esac 3352if test "x$ac_cv_prog_cc_c89" != xno; then : 3353 3354fi 3355 3356ac_ext=c 3357ac_cpp='$CPP $CPPFLAGS' 3358ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3359ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3360ac_compiler_gnu=$ac_cv_c_compiler_gnu 3361 3362 3363ac_ext=c 3364ac_cpp='$CPP $CPPFLAGS' 3365ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3366ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3367ac_compiler_gnu=$ac_cv_c_compiler_gnu 3368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3369$as_echo_n "checking how to run the C preprocessor... " >&6; } 3370# On Suns, sometimes $CPP names a directory. 3371if test -n "$CPP" && test -d "$CPP"; then 3372 CPP= 3373fi 3374if test -z "$CPP"; then 3375 if ${ac_cv_prog_CPP+:} false; then : 3376 $as_echo_n "(cached) " >&6 3377else 3378 # Double quotes because CPP needs to be expanded 3379 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3380 do 3381 ac_preproc_ok=false 3382for ac_c_preproc_warn_flag in '' yes 3383do 3384 # Use a header file that comes with gcc, so configuring glibc 3385 # with a fresh cross-compiler works. 3386 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3387 # <limits.h> exists even on freestanding compilers. 3388 # On the NeXT, cc -E runs the code through the compiler's parser, 3389 # not just through cpp. "Syntax error" is here to catch this case. 3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3391/* end confdefs.h. */ 3392#ifdef __STDC__ 3393# include <limits.h> 3394#else 3395# include <assert.h> 3396#endif 3397 Syntax error 3398_ACEOF 3399if ac_fn_c_try_cpp "$LINENO"; then : 3400 3401else 3402 # Broken: fails on valid input. 3403continue 3404fi 3405rm -f conftest.err conftest.i conftest.$ac_ext 3406 3407 # OK, works on sane cases. Now check whether nonexistent headers 3408 # can be detected and how. 3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3410/* end confdefs.h. */ 3411#include <ac_nonexistent.h> 3412_ACEOF 3413if ac_fn_c_try_cpp "$LINENO"; then : 3414 # Broken: success on invalid input. 3415continue 3416else 3417 # Passes both tests. 3418ac_preproc_ok=: 3419break 3420fi 3421rm -f conftest.err conftest.i conftest.$ac_ext 3422 3423done 3424# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3425rm -f conftest.i conftest.err conftest.$ac_ext 3426if $ac_preproc_ok; then : 3427 break 3428fi 3429 3430 done 3431 ac_cv_prog_CPP=$CPP 3432 3433fi 3434 CPP=$ac_cv_prog_CPP 3435else 3436 ac_cv_prog_CPP=$CPP 3437fi 3438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3439$as_echo "$CPP" >&6; } 3440ac_preproc_ok=false 3441for ac_c_preproc_warn_flag in '' yes 3442do 3443 # Use a header file that comes with gcc, so configuring glibc 3444 # with a fresh cross-compiler works. 3445 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3446 # <limits.h> exists even on freestanding compilers. 3447 # On the NeXT, cc -E runs the code through the compiler's parser, 3448 # not just through cpp. "Syntax error" is here to catch this case. 3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3450/* end confdefs.h. */ 3451#ifdef __STDC__ 3452# include <limits.h> 3453#else 3454# include <assert.h> 3455#endif 3456 Syntax error 3457_ACEOF 3458if ac_fn_c_try_cpp "$LINENO"; then : 3459 3460else 3461 # Broken: fails on valid input. 3462continue 3463fi 3464rm -f conftest.err conftest.i conftest.$ac_ext 3465 3466 # OK, works on sane cases. Now check whether nonexistent headers 3467 # can be detected and how. 3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3469/* end confdefs.h. */ 3470#include <ac_nonexistent.h> 3471_ACEOF 3472if ac_fn_c_try_cpp "$LINENO"; then : 3473 # Broken: success on invalid input. 3474continue 3475else 3476 # Passes both tests. 3477ac_preproc_ok=: 3478break 3479fi 3480rm -f conftest.err conftest.i conftest.$ac_ext 3481 3482done 3483# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3484rm -f conftest.i conftest.err conftest.$ac_ext 3485if $ac_preproc_ok; then : 3486 3487else 3488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3489$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3490as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3491See \`config.log' for more details" "$LINENO" 5; } 3492fi 3493 3494ac_ext=c 3495ac_cpp='$CPP $CPPFLAGS' 3496ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3497ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3498ac_compiler_gnu=$ac_cv_c_compiler_gnu 3499 3500 3501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3502$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3503if ${ac_cv_path_GREP+:} false; then : 3504 $as_echo_n "(cached) " >&6 3505else 3506 if test -z "$GREP"; then 3507 ac_path_GREP_found=false 3508 # Loop through the user's path and test for each of PROGNAME-LIST 3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3510for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3511do 3512 IFS=$as_save_IFS 3513 test -z "$as_dir" && as_dir=. 3514 for ac_prog in grep ggrep; do 3515 for ac_exec_ext in '' $ac_executable_extensions; do 3516 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3517 as_fn_executable_p "$ac_path_GREP" || continue 3518# Check for GNU ac_path_GREP and select it if it is found. 3519 # Check for GNU $ac_path_GREP 3520case `"$ac_path_GREP" --version 2>&1` in 3521*GNU*) 3522 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3523*) 3524 ac_count=0 3525 $as_echo_n 0123456789 >"conftest.in" 3526 while : 3527 do 3528 cat "conftest.in" "conftest.in" >"conftest.tmp" 3529 mv "conftest.tmp" "conftest.in" 3530 cp "conftest.in" "conftest.nl" 3531 $as_echo 'GREP' >> "conftest.nl" 3532 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3533 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3534 as_fn_arith $ac_count + 1 && ac_count=$as_val 3535 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3536 # Best one so far, save it but keep looking for a better one 3537 ac_cv_path_GREP="$ac_path_GREP" 3538 ac_path_GREP_max=$ac_count 3539 fi 3540 # 10*(2^10) chars as input seems more than enough 3541 test $ac_count -gt 10 && break 3542 done 3543 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3544esac 3545 3546 $ac_path_GREP_found && break 3 3547 done 3548 done 3549 done 3550IFS=$as_save_IFS 3551 if test -z "$ac_cv_path_GREP"; then 3552 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3553 fi 3554else 3555 ac_cv_path_GREP=$GREP 3556fi 3557 3558fi 3559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3560$as_echo "$ac_cv_path_GREP" >&6; } 3561 GREP="$ac_cv_path_GREP" 3562 3563 3564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3565$as_echo_n "checking for egrep... " >&6; } 3566if ${ac_cv_path_EGREP+:} false; then : 3567 $as_echo_n "(cached) " >&6 3568else 3569 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3570 then ac_cv_path_EGREP="$GREP -E" 3571 else 3572 if test -z "$EGREP"; then 3573 ac_path_EGREP_found=false 3574 # Loop through the user's path and test for each of PROGNAME-LIST 3575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3576for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3577do 3578 IFS=$as_save_IFS 3579 test -z "$as_dir" && as_dir=. 3580 for ac_prog in egrep; do 3581 for ac_exec_ext in '' $ac_executable_extensions; do 3582 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3583 as_fn_executable_p "$ac_path_EGREP" || continue 3584# Check for GNU ac_path_EGREP and select it if it is found. 3585 # Check for GNU $ac_path_EGREP 3586case `"$ac_path_EGREP" --version 2>&1` in 3587*GNU*) 3588 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3589*) 3590 ac_count=0 3591 $as_echo_n 0123456789 >"conftest.in" 3592 while : 3593 do 3594 cat "conftest.in" "conftest.in" >"conftest.tmp" 3595 mv "conftest.tmp" "conftest.in" 3596 cp "conftest.in" "conftest.nl" 3597 $as_echo 'EGREP' >> "conftest.nl" 3598 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3599 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3600 as_fn_arith $ac_count + 1 && ac_count=$as_val 3601 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3602 # Best one so far, save it but keep looking for a better one 3603 ac_cv_path_EGREP="$ac_path_EGREP" 3604 ac_path_EGREP_max=$ac_count 3605 fi 3606 # 10*(2^10) chars as input seems more than enough 3607 test $ac_count -gt 10 && break 3608 done 3609 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3610esac 3611 3612 $ac_path_EGREP_found && break 3 3613 done 3614 done 3615 done 3616IFS=$as_save_IFS 3617 if test -z "$ac_cv_path_EGREP"; then 3618 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3619 fi 3620else 3621 ac_cv_path_EGREP=$EGREP 3622fi 3623 3624 fi 3625fi 3626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3627$as_echo "$ac_cv_path_EGREP" >&6; } 3628 EGREP="$ac_cv_path_EGREP" 3629 3630 3631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3632$as_echo_n "checking for ANSI C header files... " >&6; } 3633if ${ac_cv_header_stdc+:} false; then : 3634 $as_echo_n "(cached) " >&6 3635else 3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3637/* end confdefs.h. */ 3638#include <stdlib.h> 3639#include <stdarg.h> 3640#include <string.h> 3641#include <float.h> 3642 3643int 3644main () 3645{ 3646 3647 ; 3648 return 0; 3649} 3650_ACEOF 3651if ac_fn_c_try_compile "$LINENO"; then : 3652 ac_cv_header_stdc=yes 3653else 3654 ac_cv_header_stdc=no 3655fi 3656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3657 3658if test $ac_cv_header_stdc = yes; then 3659 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3661/* end confdefs.h. */ 3662#include <string.h> 3663 3664_ACEOF 3665if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3666 $EGREP "memchr" >/dev/null 2>&1; then : 3667 3668else 3669 ac_cv_header_stdc=no 3670fi 3671rm -f conftest* 3672 3673fi 3674 3675if test $ac_cv_header_stdc = yes; then 3676 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3678/* end confdefs.h. */ 3679#include <stdlib.h> 3680 3681_ACEOF 3682if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3683 $EGREP "free" >/dev/null 2>&1; then : 3684 3685else 3686 ac_cv_header_stdc=no 3687fi 3688rm -f conftest* 3689 3690fi 3691 3692if test $ac_cv_header_stdc = yes; then 3693 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3694 if test "$cross_compiling" = yes; then : 3695 : 3696else 3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3698/* end confdefs.h. */ 3699#include <ctype.h> 3700#include <stdlib.h> 3701#if ((' ' & 0x0FF) == 0x020) 3702# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3703# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3704#else 3705# define ISLOWER(c) \ 3706 (('a' <= (c) && (c) <= 'i') \ 3707 || ('j' <= (c) && (c) <= 'r') \ 3708 || ('s' <= (c) && (c) <= 'z')) 3709# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3710#endif 3711 3712#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3713int 3714main () 3715{ 3716 int i; 3717 for (i = 0; i < 256; i++) 3718 if (XOR (islower (i), ISLOWER (i)) 3719 || toupper (i) != TOUPPER (i)) 3720 return 2; 3721 return 0; 3722} 3723_ACEOF 3724if ac_fn_c_try_run "$LINENO"; then : 3725 3726else 3727 ac_cv_header_stdc=no 3728fi 3729rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3730 conftest.$ac_objext conftest.beam conftest.$ac_ext 3731fi 3732 3733fi 3734fi 3735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3736$as_echo "$ac_cv_header_stdc" >&6; } 3737if test $ac_cv_header_stdc = yes; then 3738 3739$as_echo "#define STDC_HEADERS 1" >>confdefs.h 3740 3741fi 3742 3743# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3744for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3745 inttypes.h stdint.h unistd.h 3746do : 3747 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3748ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3749" 3750if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3751 cat >>confdefs.h <<_ACEOF 3752#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3753_ACEOF 3754 3755fi 3756 3757done 3758 3759 3760 3761 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 3762if test "x$ac_cv_header_minix_config_h" = xyes; then : 3763 MINIX=yes 3764else 3765 MINIX= 3766fi 3767 3768 3769 if test "$MINIX" = yes; then 3770 3771$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 3772 3773 3774$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 3775 3776 3777$as_echo "#define _MINIX 1" >>confdefs.h 3778 3779 fi 3780 3781 3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 3783$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 3784if ${ac_cv_safe_to_define___extensions__+:} false; then : 3785 $as_echo_n "(cached) " >&6 3786else 3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3788/* end confdefs.h. */ 3789 3790# define __EXTENSIONS__ 1 3791 $ac_includes_default 3792int 3793main () 3794{ 3795 3796 ; 3797 return 0; 3798} 3799_ACEOF 3800if ac_fn_c_try_compile "$LINENO"; then : 3801 ac_cv_safe_to_define___extensions__=yes 3802else 3803 ac_cv_safe_to_define___extensions__=no 3804fi 3805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3806fi 3807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 3808$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 3809 test $ac_cv_safe_to_define___extensions__ = yes && 3810 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 3811 3812 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 3813 3814 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 3815 3816 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 3817 3818 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 3819 3820 3821ac_ext=c 3822ac_cpp='$CPP $CPPFLAGS' 3823ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3824ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3825ac_compiler_gnu=$ac_cv_c_compiler_gnu 3826if test -n "$ac_tool_prefix"; then 3827 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3828set dummy ${ac_tool_prefix}gcc; ac_word=$2 3829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3830$as_echo_n "checking for $ac_word... " >&6; } 3831if ${ac_cv_prog_CC+:} false; then : 3832 $as_echo_n "(cached) " >&6 3833else 3834 if test -n "$CC"; then 3835 ac_cv_prog_CC="$CC" # Let the user override the test. 3836else 3837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3838for as_dir in $PATH 3839do 3840 IFS=$as_save_IFS 3841 test -z "$as_dir" && as_dir=. 3842 for ac_exec_ext in '' $ac_executable_extensions; do 3843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3844 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3846 break 2 3847 fi 3848done 3849 done 3850IFS=$as_save_IFS 3851 3852fi 3853fi 3854CC=$ac_cv_prog_CC 3855if test -n "$CC"; then 3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3857$as_echo "$CC" >&6; } 3858else 3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3860$as_echo "no" >&6; } 3861fi 3862 3863 3864fi 3865if test -z "$ac_cv_prog_CC"; then 3866 ac_ct_CC=$CC 3867 # Extract the first word of "gcc", so it can be a program name with args. 3868set dummy gcc; ac_word=$2 3869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3870$as_echo_n "checking for $ac_word... " >&6; } 3871if ${ac_cv_prog_ac_ct_CC+:} false; then : 3872 $as_echo_n "(cached) " >&6 3873else 3874 if test -n "$ac_ct_CC"; then 3875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3876else 3877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3878for as_dir in $PATH 3879do 3880 IFS=$as_save_IFS 3881 test -z "$as_dir" && as_dir=. 3882 for ac_exec_ext in '' $ac_executable_extensions; do 3883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3884 ac_cv_prog_ac_ct_CC="gcc" 3885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3886 break 2 3887 fi 3888done 3889 done 3890IFS=$as_save_IFS 3891 3892fi 3893fi 3894ac_ct_CC=$ac_cv_prog_ac_ct_CC 3895if test -n "$ac_ct_CC"; then 3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3897$as_echo "$ac_ct_CC" >&6; } 3898else 3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3900$as_echo "no" >&6; } 3901fi 3902 3903 if test "x$ac_ct_CC" = x; then 3904 CC="" 3905 else 3906 case $cross_compiling:$ac_tool_warned in 3907yes:) 3908{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3909$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3910ac_tool_warned=yes ;; 3911esac 3912 CC=$ac_ct_CC 3913 fi 3914else 3915 CC="$ac_cv_prog_CC" 3916fi 3917 3918if test -z "$CC"; then 3919 if test -n "$ac_tool_prefix"; then 3920 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3921set dummy ${ac_tool_prefix}cc; ac_word=$2 3922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3923$as_echo_n "checking for $ac_word... " >&6; } 3924if ${ac_cv_prog_CC+:} false; then : 3925 $as_echo_n "(cached) " >&6 3926else 3927 if test -n "$CC"; then 3928 ac_cv_prog_CC="$CC" # Let the user override the test. 3929else 3930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3931for as_dir in $PATH 3932do 3933 IFS=$as_save_IFS 3934 test -z "$as_dir" && as_dir=. 3935 for ac_exec_ext in '' $ac_executable_extensions; do 3936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3937 ac_cv_prog_CC="${ac_tool_prefix}cc" 3938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3939 break 2 3940 fi 3941done 3942 done 3943IFS=$as_save_IFS 3944 3945fi 3946fi 3947CC=$ac_cv_prog_CC 3948if test -n "$CC"; then 3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3950$as_echo "$CC" >&6; } 3951else 3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3953$as_echo "no" >&6; } 3954fi 3955 3956 3957 fi 3958fi 3959if test -z "$CC"; then 3960 # Extract the first word of "cc", so it can be a program name with args. 3961set dummy cc; ac_word=$2 3962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3963$as_echo_n "checking for $ac_word... " >&6; } 3964if ${ac_cv_prog_CC+:} false; then : 3965 $as_echo_n "(cached) " >&6 3966else 3967 if test -n "$CC"; then 3968 ac_cv_prog_CC="$CC" # Let the user override the test. 3969else 3970 ac_prog_rejected=no 3971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3972for as_dir in $PATH 3973do 3974 IFS=$as_save_IFS 3975 test -z "$as_dir" && as_dir=. 3976 for ac_exec_ext in '' $ac_executable_extensions; do 3977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3978 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3979 ac_prog_rejected=yes 3980 continue 3981 fi 3982 ac_cv_prog_CC="cc" 3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3984 break 2 3985 fi 3986done 3987 done 3988IFS=$as_save_IFS 3989 3990if test $ac_prog_rejected = yes; then 3991 # We found a bogon in the path, so make sure we never use it. 3992 set dummy $ac_cv_prog_CC 3993 shift 3994 if test $# != 0; then 3995 # We chose a different compiler from the bogus one. 3996 # However, it has the same basename, so the bogon will be chosen 3997 # first if we set CC to just the basename; use the full file name. 3998 shift 3999 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4000 fi 4001fi 4002fi 4003fi 4004CC=$ac_cv_prog_CC 4005if test -n "$CC"; then 4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4007$as_echo "$CC" >&6; } 4008else 4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4010$as_echo "no" >&6; } 4011fi 4012 4013 4014fi 4015if test -z "$CC"; then 4016 if test -n "$ac_tool_prefix"; then 4017 for ac_prog in cl.exe 4018 do 4019 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4020set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4022$as_echo_n "checking for $ac_word... " >&6; } 4023if ${ac_cv_prog_CC+:} false; then : 4024 $as_echo_n "(cached) " >&6 4025else 4026 if test -n "$CC"; then 4027 ac_cv_prog_CC="$CC" # Let the user override the test. 4028else 4029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4030for as_dir in $PATH 4031do 4032 IFS=$as_save_IFS 4033 test -z "$as_dir" && as_dir=. 4034 for ac_exec_ext in '' $ac_executable_extensions; do 4035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4036 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4038 break 2 4039 fi 4040done 4041 done 4042IFS=$as_save_IFS 4043 4044fi 4045fi 4046CC=$ac_cv_prog_CC 4047if test -n "$CC"; then 4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4049$as_echo "$CC" >&6; } 4050else 4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4052$as_echo "no" >&6; } 4053fi 4054 4055 4056 test -n "$CC" && break 4057 done 4058fi 4059if test -z "$CC"; then 4060 ac_ct_CC=$CC 4061 for ac_prog in cl.exe 4062do 4063 # Extract the first word of "$ac_prog", so it can be a program name with args. 4064set dummy $ac_prog; ac_word=$2 4065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4066$as_echo_n "checking for $ac_word... " >&6; } 4067if ${ac_cv_prog_ac_ct_CC+:} false; then : 4068 $as_echo_n "(cached) " >&6 4069else 4070 if test -n "$ac_ct_CC"; then 4071 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4072else 4073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4074for as_dir in $PATH 4075do 4076 IFS=$as_save_IFS 4077 test -z "$as_dir" && as_dir=. 4078 for ac_exec_ext in '' $ac_executable_extensions; do 4079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4080 ac_cv_prog_ac_ct_CC="$ac_prog" 4081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4082 break 2 4083 fi 4084done 4085 done 4086IFS=$as_save_IFS 4087 4088fi 4089fi 4090ac_ct_CC=$ac_cv_prog_ac_ct_CC 4091if test -n "$ac_ct_CC"; then 4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4093$as_echo "$ac_ct_CC" >&6; } 4094else 4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4096$as_echo "no" >&6; } 4097fi 4098 4099 4100 test -n "$ac_ct_CC" && break 4101done 4102 4103 if test "x$ac_ct_CC" = x; then 4104 CC="" 4105 else 4106 case $cross_compiling:$ac_tool_warned in 4107yes:) 4108{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4109$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4110ac_tool_warned=yes ;; 4111esac 4112 CC=$ac_ct_CC 4113 fi 4114fi 4115 4116fi 4117 4118 4119test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4120$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4121as_fn_error $? "no acceptable C compiler found in \$PATH 4122See \`config.log' for more details" "$LINENO" 5; } 4123 4124# Provide some information about the compiler. 4125$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4126set X $ac_compile 4127ac_compiler=$2 4128for ac_option in --version -v -V -qversion; do 4129 { { ac_try="$ac_compiler $ac_option >&5" 4130case "(($ac_try" in 4131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4132 *) ac_try_echo=$ac_try;; 4133esac 4134eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4135$as_echo "$ac_try_echo"; } >&5 4136 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4137 ac_status=$? 4138 if test -s conftest.err; then 4139 sed '10a\ 4140... rest of stderr output deleted ... 4141 10q' conftest.err >conftest.er1 4142 cat conftest.er1 >&5 4143 fi 4144 rm -f conftest.er1 conftest.err 4145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4146 test $ac_status = 0; } 4147done 4148 4149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4150$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4151if ${ac_cv_c_compiler_gnu+:} false; then : 4152 $as_echo_n "(cached) " >&6 4153else 4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4155/* end confdefs.h. */ 4156 4157int 4158main () 4159{ 4160#ifndef __GNUC__ 4161 choke me 4162#endif 4163 4164 ; 4165 return 0; 4166} 4167_ACEOF 4168if ac_fn_c_try_compile "$LINENO"; then : 4169 ac_compiler_gnu=yes 4170else 4171 ac_compiler_gnu=no 4172fi 4173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4174ac_cv_c_compiler_gnu=$ac_compiler_gnu 4175 4176fi 4177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4178$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4179if test $ac_compiler_gnu = yes; then 4180 GCC=yes 4181else 4182 GCC= 4183fi 4184ac_test_CFLAGS=${CFLAGS+set} 4185ac_save_CFLAGS=$CFLAGS 4186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4187$as_echo_n "checking whether $CC accepts -g... " >&6; } 4188if ${ac_cv_prog_cc_g+:} false; then : 4189 $as_echo_n "(cached) " >&6 4190else 4191 ac_save_c_werror_flag=$ac_c_werror_flag 4192 ac_c_werror_flag=yes 4193 ac_cv_prog_cc_g=no 4194 CFLAGS="-g" 4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4196/* end confdefs.h. */ 4197 4198int 4199main () 4200{ 4201 4202 ; 4203 return 0; 4204} 4205_ACEOF 4206if ac_fn_c_try_compile "$LINENO"; then : 4207 ac_cv_prog_cc_g=yes 4208else 4209 CFLAGS="" 4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4211/* end confdefs.h. */ 4212 4213int 4214main () 4215{ 4216 4217 ; 4218 return 0; 4219} 4220_ACEOF 4221if ac_fn_c_try_compile "$LINENO"; then : 4222 4223else 4224 ac_c_werror_flag=$ac_save_c_werror_flag 4225 CFLAGS="-g" 4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4227/* end confdefs.h. */ 4228 4229int 4230main () 4231{ 4232 4233 ; 4234 return 0; 4235} 4236_ACEOF 4237if ac_fn_c_try_compile "$LINENO"; then : 4238 ac_cv_prog_cc_g=yes 4239fi 4240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4241fi 4242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4243fi 4244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4245 ac_c_werror_flag=$ac_save_c_werror_flag 4246fi 4247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4248$as_echo "$ac_cv_prog_cc_g" >&6; } 4249if test "$ac_test_CFLAGS" = set; then 4250 CFLAGS=$ac_save_CFLAGS 4251elif test $ac_cv_prog_cc_g = yes; then 4252 if test "$GCC" = yes; then 4253 CFLAGS="-g -O2" 4254 else 4255 CFLAGS="-g" 4256 fi 4257else 4258 if test "$GCC" = yes; then 4259 CFLAGS="-O2" 4260 else 4261 CFLAGS= 4262 fi 4263fi 4264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4265$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4266if ${ac_cv_prog_cc_c89+:} false; then : 4267 $as_echo_n "(cached) " >&6 4268else 4269 ac_cv_prog_cc_c89=no 4270ac_save_CC=$CC 4271cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4272/* end confdefs.h. */ 4273#include <stdarg.h> 4274#include <stdio.h> 4275struct stat; 4276/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4277struct buf { int x; }; 4278FILE * (*rcsopen) (struct buf *, struct stat *, int); 4279static char *e (p, i) 4280 char **p; 4281 int i; 4282{ 4283 return p[i]; 4284} 4285static char *f (char * (*g) (char **, int), char **p, ...) 4286{ 4287 char *s; 4288 va_list v; 4289 va_start (v,p); 4290 s = g (p, va_arg (v,int)); 4291 va_end (v); 4292 return s; 4293} 4294 4295/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4296 function prototypes and stuff, but not '\xHH' hex character constants. 4297 These don't provoke an error unfortunately, instead are silently treated 4298 as 'x'. The following induces an error, until -std is added to get 4299 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4300 array size at least. It's necessary to write '\x00'==0 to get something 4301 that's true only with -std. */ 4302int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4303 4304/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4305 inside strings and character constants. */ 4306#define FOO(x) 'x' 4307int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4308 4309int test (int i, double x); 4310struct s1 {int (*f) (int a);}; 4311struct s2 {int (*f) (double a);}; 4312int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4313int argc; 4314char **argv; 4315int 4316main () 4317{ 4318return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4319 ; 4320 return 0; 4321} 4322_ACEOF 4323for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4324 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4325do 4326 CC="$ac_save_CC $ac_arg" 4327 if ac_fn_c_try_compile "$LINENO"; then : 4328 ac_cv_prog_cc_c89=$ac_arg 4329fi 4330rm -f core conftest.err conftest.$ac_objext 4331 test "x$ac_cv_prog_cc_c89" != "xno" && break 4332done 4333rm -f conftest.$ac_ext 4334CC=$ac_save_CC 4335 4336fi 4337# AC_CACHE_VAL 4338case "x$ac_cv_prog_cc_c89" in 4339 x) 4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4341$as_echo "none needed" >&6; } ;; 4342 xno) 4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4344$as_echo "unsupported" >&6; } ;; 4345 *) 4346 CC="$CC $ac_cv_prog_cc_c89" 4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4348$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4349esac 4350if test "x$ac_cv_prog_cc_c89" != xno; then : 4351 4352fi 4353 4354ac_ext=c 4355ac_cpp='$CPP $CPPFLAGS' 4356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4358ac_compiler_gnu=$ac_cv_c_compiler_gnu 4359 4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 4361$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4362if ${ac_cv_prog_cc_c99+:} false; then : 4363 $as_echo_n "(cached) " >&6 4364else 4365 ac_cv_prog_cc_c99=no 4366ac_save_CC=$CC 4367cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4368/* end confdefs.h. */ 4369#include <stdarg.h> 4370#include <stdbool.h> 4371#include <stdlib.h> 4372#include <wchar.h> 4373#include <stdio.h> 4374 4375// Check varargs macros. These examples are taken from C99 6.10.3.5. 4376#define debug(...) fprintf (stderr, __VA_ARGS__) 4377#define showlist(...) puts (#__VA_ARGS__) 4378#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4379static void 4380test_varargs_macros (void) 4381{ 4382 int x = 1234; 4383 int y = 5678; 4384 debug ("Flag"); 4385 debug ("X = %d\n", x); 4386 showlist (The first, second, and third items.); 4387 report (x>y, "x is %d but y is %d", x, y); 4388} 4389 4390// Check long long types. 4391#define BIG64 18446744073709551615ull 4392#define BIG32 4294967295ul 4393#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4394#if !BIG_OK 4395 your preprocessor is broken; 4396#endif 4397#if BIG_OK 4398#else 4399 your preprocessor is broken; 4400#endif 4401static long long int bignum = -9223372036854775807LL; 4402static unsigned long long int ubignum = BIG64; 4403 4404struct incomplete_array 4405{ 4406 int datasize; 4407 double data[]; 4408}; 4409 4410struct named_init { 4411 int number; 4412 const wchar_t *name; 4413 double average; 4414}; 4415 4416typedef const char *ccp; 4417 4418static inline int 4419test_restrict (ccp restrict text) 4420{ 4421 // See if C++-style comments work. 4422 // Iterate through items via the restricted pointer. 4423 // Also check for declarations in for loops. 4424 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4425 continue; 4426 return 0; 4427} 4428 4429// Check varargs and va_copy. 4430static void 4431test_varargs (const char *format, ...) 4432{ 4433 va_list args; 4434 va_start (args, format); 4435 va_list args_copy; 4436 va_copy (args_copy, args); 4437 4438 const char *str; 4439 int number; 4440 float fnumber; 4441 4442 while (*format) 4443 { 4444 switch (*format++) 4445 { 4446 case 's': // string 4447 str = va_arg (args_copy, const char *); 4448 break; 4449 case 'd': // int 4450 number = va_arg (args_copy, int); 4451 break; 4452 case 'f': // float 4453 fnumber = va_arg (args_copy, double); 4454 break; 4455 default: 4456 break; 4457 } 4458 } 4459 va_end (args_copy); 4460 va_end (args); 4461} 4462 4463int 4464main () 4465{ 4466 4467 // Check bool. 4468 _Bool success = false; 4469 4470 // Check restrict. 4471 if (test_restrict ("String literal") == 0) 4472 success = true; 4473 char *restrict newvar = "Another string"; 4474 4475 // Check varargs. 4476 test_varargs ("s, d' f .", "string", 65, 34.234); 4477 test_varargs_macros (); 4478 4479 // Check flexible array members. 4480 struct incomplete_array *ia = 4481 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4482 ia->datasize = 10; 4483 for (int i = 0; i < ia->datasize; ++i) 4484 ia->data[i] = i * 1.234; 4485 4486 // Check named initializers. 4487 struct named_init ni = { 4488 .number = 34, 4489 .name = L"Test wide string", 4490 .average = 543.34343, 4491 }; 4492 4493 ni.number = 58; 4494 4495 int dynamic_array[ni.number]; 4496 dynamic_array[ni.number - 1] = 543; 4497 4498 // work around unused variable warnings 4499 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4500 || dynamic_array[ni.number - 1] != 543); 4501 4502 ; 4503 return 0; 4504} 4505_ACEOF 4506for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 4507do 4508 CC="$ac_save_CC $ac_arg" 4509 if ac_fn_c_try_compile "$LINENO"; then : 4510 ac_cv_prog_cc_c99=$ac_arg 4511fi 4512rm -f core conftest.err conftest.$ac_objext 4513 test "x$ac_cv_prog_cc_c99" != "xno" && break 4514done 4515rm -f conftest.$ac_ext 4516CC=$ac_save_CC 4517 4518fi 4519# AC_CACHE_VAL 4520case "x$ac_cv_prog_cc_c99" in 4521 x) 4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4523$as_echo "none needed" >&6; } ;; 4524 xno) 4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4526$as_echo "unsupported" >&6; } ;; 4527 *) 4528 CC="$CC $ac_cv_prog_cc_c99" 4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4530$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4531esac 4532if test "x$ac_cv_prog_cc_c99" != xno; then : 4533 4534fi 4535 4536 4537ac_aux_dir= 4538for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 4539 if test -f "$ac_dir/install-sh"; then 4540 ac_aux_dir=$ac_dir 4541 ac_install_sh="$ac_aux_dir/install-sh -c" 4542 break 4543 elif test -f "$ac_dir/install.sh"; then 4544 ac_aux_dir=$ac_dir 4545 ac_install_sh="$ac_aux_dir/install.sh -c" 4546 break 4547 elif test -f "$ac_dir/shtool"; then 4548 ac_aux_dir=$ac_dir 4549 ac_install_sh="$ac_aux_dir/shtool install -c" 4550 break 4551 fi 4552done 4553if test -z "$ac_aux_dir"; then 4554 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 4555fi 4556 4557# These three variables are undocumented and unsupported, 4558# and are intended to be withdrawn in a future Autoconf release. 4559# They can cause serious problems if a builder's source tree is in a directory 4560# whose full name contains unusual characters. 4561ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 4562ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 4563ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 4564 4565 4566# Find a good install program. We prefer a C program (faster), 4567# so one script is as good as another. But avoid the broken or 4568# incompatible versions: 4569# SysV /etc/install, /usr/sbin/install 4570# SunOS /usr/etc/install 4571# IRIX /sbin/install 4572# AIX /bin/install 4573# AmigaOS /C/install, which installs bootblocks on floppy discs 4574# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 4575# AFS /usr/afsws/bin/install, which mishandles nonexistent args 4576# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 4577# OS/2's system install, which has a completely different semantic 4578# ./install, which can be erroneously created by make from ./install.sh. 4579# Reject install programs that cannot install multiple files. 4580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 4581$as_echo_n "checking for a BSD-compatible install... " >&6; } 4582if test -z "$INSTALL"; then 4583if ${ac_cv_path_install+:} false; then : 4584 $as_echo_n "(cached) " >&6 4585else 4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4587for as_dir in $PATH 4588do 4589 IFS=$as_save_IFS 4590 test -z "$as_dir" && as_dir=. 4591 # Account for people who put trailing slashes in PATH elements. 4592case $as_dir/ in #(( 4593 ./ | .// | /[cC]/* | \ 4594 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4595 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 4596 /usr/ucb/* ) ;; 4597 *) 4598 # OSF1 and SCO ODT 3.0 have their own names for install. 4599 # Don't use installbsd from OSF since it installs stuff as root 4600 # by default. 4601 for ac_prog in ginstall scoinst install; do 4602 for ac_exec_ext in '' $ac_executable_extensions; do 4603 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 4604 if test $ac_prog = install && 4605 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4606 # AIX install. It has an incompatible calling convention. 4607 : 4608 elif test $ac_prog = install && 4609 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4610 # program-specific install script used by HP pwplus--don't use. 4611 : 4612 else 4613 rm -rf conftest.one conftest.two conftest.dir 4614 echo one > conftest.one 4615 echo two > conftest.two 4616 mkdir conftest.dir 4617 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4618 test -s conftest.one && test -s conftest.two && 4619 test -s conftest.dir/conftest.one && 4620 test -s conftest.dir/conftest.two 4621 then 4622 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4623 break 3 4624 fi 4625 fi 4626 fi 4627 done 4628 done 4629 ;; 4630esac 4631 4632 done 4633IFS=$as_save_IFS 4634 4635rm -rf conftest.one conftest.two conftest.dir 4636 4637fi 4638 if test "${ac_cv_path_install+set}" = set; then 4639 INSTALL=$ac_cv_path_install 4640 else 4641 # As a last resort, use the slow shell script. Don't cache a 4642 # value for INSTALL within a source directory, because that will 4643 # break other packages using the cache if that directory is 4644 # removed, or if the value is a relative name. 4645 INSTALL=$ac_install_sh 4646 fi 4647fi 4648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 4649$as_echo "$INSTALL" >&6; } 4650 4651# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 4652# It thinks the first close brace ends the variable substitution. 4653test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 4654 4655test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 4656 4657test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4658 4659if test -x /usr/bin/getconf; then 4660 bmake_path_max=`getconf PATH_MAX / 2> /dev/null` 4661 # only a numeric response is useful 4662 test ${bmake_path_max:-0} -gt 0 2> /dev/null || bmake_path_max= 4663fi 4664bmake_path_max=${bmake_path_max:-1024} 4665if test $bmake_path_max -gt 1024; then 4666 # this is all we expect 4667 bmake_path_max=1024 4668fi 4669echo "Using: BMAKE_PATH_MAX=$bmake_path_max" >&6 4670if (type cat) > /dev/null 2>&1; then 4671: which 4672which() { 4673 type "$@" | sed 's,[()],,g;s,^[^/][^/]*,,;q' 4674} 4675fi 4676case "$CC" in 4677/*) ;; 4678*) 4679 for x in $CC 4680 do 4681 _cc=`which $x` 4682 break 4683 done 4684 if test -x ${_cc:-/dev/null}; then 4685 _cc_dir=`dirname $_cc` 4686 case ":$oldPATH:" in 4687 *:$_cc_dir:*) ;; 4688 *) CC=$_cc_dir/$CC;; 4689 esac 4690 fi 4691 ;; 4692esac 4693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 4694$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 4695if ${ac_cv_header_sys_wait_h+:} false; then : 4696 $as_echo_n "(cached) " >&6 4697else 4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4699/* end confdefs.h. */ 4700#include <sys/types.h> 4701#include <sys/wait.h> 4702#ifndef WEXITSTATUS 4703# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) 4704#endif 4705#ifndef WIFEXITED 4706# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 4707#endif 4708 4709int 4710main () 4711{ 4712 int s; 4713 wait (&s); 4714 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 4715 ; 4716 return 0; 4717} 4718_ACEOF 4719if ac_fn_c_try_compile "$LINENO"; then : 4720 ac_cv_header_sys_wait_h=yes 4721else 4722 ac_cv_header_sys_wait_h=no 4723fi 4724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4725fi 4726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 4727$as_echo "$ac_cv_header_sys_wait_h" >&6; } 4728if test $ac_cv_header_sys_wait_h = yes; then 4729 4730$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h 4731 4732fi 4733 4734ac_header_dirent=no 4735for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 4736 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 4737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 4738$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 4739if eval \${$as_ac_Header+:} false; then : 4740 $as_echo_n "(cached) " >&6 4741else 4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4743/* end confdefs.h. */ 4744#include <sys/types.h> 4745#include <$ac_hdr> 4746 4747int 4748main () 4749{ 4750if ((DIR *) 0) 4751return 0; 4752 ; 4753 return 0; 4754} 4755_ACEOF 4756if ac_fn_c_try_compile "$LINENO"; then : 4757 eval "$as_ac_Header=yes" 4758else 4759 eval "$as_ac_Header=no" 4760fi 4761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4762fi 4763eval ac_res=\$$as_ac_Header 4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 4765$as_echo "$ac_res" >&6; } 4766if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4767 cat >>confdefs.h <<_ACEOF 4768#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 4769_ACEOF 4770 4771ac_header_dirent=$ac_hdr; break 4772fi 4773 4774done 4775# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4776if test $ac_header_dirent = dirent.h; then 4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 4778$as_echo_n "checking for library containing opendir... " >&6; } 4779if ${ac_cv_search_opendir+:} false; then : 4780 $as_echo_n "(cached) " >&6 4781else 4782 ac_func_search_save_LIBS=$LIBS 4783cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4784/* end confdefs.h. */ 4785 4786/* Override any GCC internal prototype to avoid an error. 4787 Use char because int might match the return type of a GCC 4788 builtin and then its argument prototype would still apply. */ 4789#ifdef __cplusplus 4790extern "C" 4791#endif 4792char opendir (); 4793int 4794main () 4795{ 4796return opendir (); 4797 ; 4798 return 0; 4799} 4800_ACEOF 4801for ac_lib in '' dir; do 4802 if test -z "$ac_lib"; then 4803 ac_res="none required" 4804 else 4805 ac_res=-l$ac_lib 4806 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4807 fi 4808 if ac_fn_c_try_link "$LINENO"; then : 4809 ac_cv_search_opendir=$ac_res 4810fi 4811rm -f core conftest.err conftest.$ac_objext \ 4812 conftest$ac_exeext 4813 if ${ac_cv_search_opendir+:} false; then : 4814 break 4815fi 4816done 4817if ${ac_cv_search_opendir+:} false; then : 4818 4819else 4820 ac_cv_search_opendir=no 4821fi 4822rm conftest.$ac_ext 4823LIBS=$ac_func_search_save_LIBS 4824fi 4825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 4826$as_echo "$ac_cv_search_opendir" >&6; } 4827ac_res=$ac_cv_search_opendir 4828if test "$ac_res" != no; then : 4829 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4830 4831fi 4832 4833else 4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 4835$as_echo_n "checking for library containing opendir... " >&6; } 4836if ${ac_cv_search_opendir+:} false; then : 4837 $as_echo_n "(cached) " >&6 4838else 4839 ac_func_search_save_LIBS=$LIBS 4840cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4841/* end confdefs.h. */ 4842 4843/* Override any GCC internal prototype to avoid an error. 4844 Use char because int might match the return type of a GCC 4845 builtin and then its argument prototype would still apply. */ 4846#ifdef __cplusplus 4847extern "C" 4848#endif 4849char opendir (); 4850int 4851main () 4852{ 4853return opendir (); 4854 ; 4855 return 0; 4856} 4857_ACEOF 4858for ac_lib in '' x; do 4859 if test -z "$ac_lib"; then 4860 ac_res="none required" 4861 else 4862 ac_res=-l$ac_lib 4863 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4864 fi 4865 if ac_fn_c_try_link "$LINENO"; then : 4866 ac_cv_search_opendir=$ac_res 4867fi 4868rm -f core conftest.err conftest.$ac_objext \ 4869 conftest$ac_exeext 4870 if ${ac_cv_search_opendir+:} false; then : 4871 break 4872fi 4873done 4874if ${ac_cv_search_opendir+:} false; then : 4875 4876else 4877 ac_cv_search_opendir=no 4878fi 4879rm conftest.$ac_ext 4880LIBS=$ac_func_search_save_LIBS 4881fi 4882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 4883$as_echo "$ac_cv_search_opendir" >&6; } 4884ac_res=$ac_cv_search_opendir 4885if test "$ac_res" != no; then : 4886 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4887 4888fi 4889 4890fi 4891 4892for ac_header in sys/param.h 4893do : 4894 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" 4895if test "x$ac_cv_header_sys_param_h" = xyes; then : 4896 cat >>confdefs.h <<_ACEOF 4897#define HAVE_SYS_PARAM_H 1 4898_ACEOF 4899 4900fi 4901 4902done 4903 4904for ac_header in sys/sysctl.h 4905do : 4906 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#ifdef HAVE_SYS_PARAM_H 4907# include <sys/param.h> 4908# endif 4909 4910" 4911if test "x$ac_cv_header_sys_sysctl_h" = xyes; then : 4912 cat >>confdefs.h <<_ACEOF 4913#define HAVE_SYS_SYSCTL_H 1 4914_ACEOF 4915 4916fi 4917 4918done 4919 4920 4921for ac_header in \ 4922 ar.h \ 4923 err.h \ 4924 fcntl.h \ 4925 libgen.h \ 4926 limits.h \ 4927 paths.h \ 4928 poll.h \ 4929 ranlib.h \ 4930 sys/mman.h \ 4931 sys/select.h \ 4932 sys/socket.h \ 4933 sys/time.h \ 4934 sys/uio.h \ 4935 utime.h \ 4936 4937do : 4938 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4939ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4940if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4941 cat >>confdefs.h <<_ACEOF 4942#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4943_ACEOF 4944 4945fi 4946 4947done 4948 4949 4950ac_fn_c_check_header_mongrel "$LINENO" "sys/cdefs.h" "ac_cv_header_sys_cdefs_h" "$ac_includes_default" 4951if test "x$ac_cv_header_sys_cdefs_h" = xyes; then : 4952 4953else 4954 CPPFLAGS="${CPPFLAGS} -I`cd ${srcdir}/missing && pwd`" 4955fi 4956 4957 4958 4959 4960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5 4961$as_echo_n "checking for __attribute__... " >&6; } 4962if ${ac_cv___attribute__+:} false; then : 4963 $as_echo_n "(cached) " >&6 4964else 4965 4966cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4967/* end confdefs.h. */ 4968 4969#include <stdlib.h> 4970 4971static void foo(void) __attribute__ ((noreturn)); 4972 4973static void 4974foo(void) 4975{ 4976 exit(1); 4977} 4978 4979int 4980main(int argc, char **argv) 4981{ 4982 foo(); 4983} 4984 4985_ACEOF 4986if ac_fn_c_try_link "$LINENO"; then : 4987 ac_cv___attribute__=yes 4988else 4989 ac_cv___attribute__=no 4990fi 4991rm -f core conftest.err conftest.$ac_objext \ 4992 conftest$ac_exeext conftest.$ac_ext 4993fi 4994 4995if test "$ac_cv___attribute__" = "yes"; then 4996 4997$as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h 4998 4999fi 5000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5 5001$as_echo "$ac_cv___attribute__" >&6; } 5002 5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 5004$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 5005if ${ac_cv_c_bigendian+:} false; then : 5006 $as_echo_n "(cached) " >&6 5007else 5008 ac_cv_c_bigendian=unknown 5009 # See if we're dealing with a universal compiler. 5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5011/* end confdefs.h. */ 5012#ifndef __APPLE_CC__ 5013 not a universal capable compiler 5014 #endif 5015 typedef int dummy; 5016 5017_ACEOF 5018if ac_fn_c_try_compile "$LINENO"; then : 5019 5020 # Check for potential -arch flags. It is not universal unless 5021 # there are at least two -arch flags with different values. 5022 ac_arch= 5023 ac_prev= 5024 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 5025 if test -n "$ac_prev"; then 5026 case $ac_word in 5027 i?86 | x86_64 | ppc | ppc64) 5028 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 5029 ac_arch=$ac_word 5030 else 5031 ac_cv_c_bigendian=universal 5032 break 5033 fi 5034 ;; 5035 esac 5036 ac_prev= 5037 elif test "x$ac_word" = "x-arch"; then 5038 ac_prev=arch 5039 fi 5040 done 5041fi 5042rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5043 if test $ac_cv_c_bigendian = unknown; then 5044 # See if sys/param.h defines the BYTE_ORDER macro. 5045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5046/* end confdefs.h. */ 5047#include <sys/types.h> 5048 #include <sys/param.h> 5049 5050int 5051main () 5052{ 5053#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 5054 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 5055 && LITTLE_ENDIAN) 5056 bogus endian macros 5057 #endif 5058 5059 ; 5060 return 0; 5061} 5062_ACEOF 5063if ac_fn_c_try_compile "$LINENO"; then : 5064 # It does; now see whether it defined to BIG_ENDIAN or not. 5065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5066/* end confdefs.h. */ 5067#include <sys/types.h> 5068 #include <sys/param.h> 5069 5070int 5071main () 5072{ 5073#if BYTE_ORDER != BIG_ENDIAN 5074 not big endian 5075 #endif 5076 5077 ; 5078 return 0; 5079} 5080_ACEOF 5081if ac_fn_c_try_compile "$LINENO"; then : 5082 ac_cv_c_bigendian=yes 5083else 5084 ac_cv_c_bigendian=no 5085fi 5086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5087fi 5088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5089 fi 5090 if test $ac_cv_c_bigendian = unknown; then 5091 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 5092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5093/* end confdefs.h. */ 5094#include <limits.h> 5095 5096int 5097main () 5098{ 5099#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 5100 bogus endian macros 5101 #endif 5102 5103 ; 5104 return 0; 5105} 5106_ACEOF 5107if ac_fn_c_try_compile "$LINENO"; then : 5108 # It does; now see whether it defined to _BIG_ENDIAN or not. 5109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5110/* end confdefs.h. */ 5111#include <limits.h> 5112 5113int 5114main () 5115{ 5116#ifndef _BIG_ENDIAN 5117 not big endian 5118 #endif 5119 5120 ; 5121 return 0; 5122} 5123_ACEOF 5124if ac_fn_c_try_compile "$LINENO"; then : 5125 ac_cv_c_bigendian=yes 5126else 5127 ac_cv_c_bigendian=no 5128fi 5129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5130fi 5131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5132 fi 5133 if test $ac_cv_c_bigendian = unknown; then 5134 # Compile a test program. 5135 if test "$cross_compiling" = yes; then : 5136 # Try to guess by grepping values from an object file. 5137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5138/* end confdefs.h. */ 5139short int ascii_mm[] = 5140 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 5141 short int ascii_ii[] = 5142 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 5143 int use_ascii (int i) { 5144 return ascii_mm[i] + ascii_ii[i]; 5145 } 5146 short int ebcdic_ii[] = 5147 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 5148 short int ebcdic_mm[] = 5149 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 5150 int use_ebcdic (int i) { 5151 return ebcdic_mm[i] + ebcdic_ii[i]; 5152 } 5153 extern int foo; 5154 5155int 5156main () 5157{ 5158return use_ascii (foo) == use_ebcdic (foo); 5159 ; 5160 return 0; 5161} 5162_ACEOF 5163if ac_fn_c_try_compile "$LINENO"; then : 5164 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 5165 ac_cv_c_bigendian=yes 5166 fi 5167 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 5168 if test "$ac_cv_c_bigendian" = unknown; then 5169 ac_cv_c_bigendian=no 5170 else 5171 # finding both strings is unlikely to happen, but who knows? 5172 ac_cv_c_bigendian=unknown 5173 fi 5174 fi 5175fi 5176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5177else 5178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5179/* end confdefs.h. */ 5180$ac_includes_default 5181int 5182main () 5183{ 5184 5185 /* Are we little or big endian? From Harbison&Steele. */ 5186 union 5187 { 5188 long int l; 5189 char c[sizeof (long int)]; 5190 } u; 5191 u.l = 1; 5192 return u.c[sizeof (long int) - 1] == 1; 5193 5194 ; 5195 return 0; 5196} 5197_ACEOF 5198if ac_fn_c_try_run "$LINENO"; then : 5199 ac_cv_c_bigendian=no 5200else 5201 ac_cv_c_bigendian=yes 5202fi 5203rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5204 conftest.$ac_objext conftest.beam conftest.$ac_ext 5205fi 5206 5207 fi 5208fi 5209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 5210$as_echo "$ac_cv_c_bigendian" >&6; } 5211 case $ac_cv_c_bigendian in #( 5212 yes) 5213 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 5214;; #( 5215 no) 5216 ;; #( 5217 universal) 5218 5219$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 5220 5221 ;; #( 5222 *) 5223 as_fn_error $? "unknown endianness 5224 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 5225 esac 5226 5227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 5228$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5229if ${ac_cv_c_const+:} false; then : 5230 $as_echo_n "(cached) " >&6 5231else 5232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5233/* end confdefs.h. */ 5234 5235int 5236main () 5237{ 5238 5239#ifndef __cplusplus 5240 /* Ultrix mips cc rejects this sort of thing. */ 5241 typedef int charset[2]; 5242 const charset cs = { 0, 0 }; 5243 /* SunOS 4.1.1 cc rejects this. */ 5244 char const *const *pcpcc; 5245 char **ppc; 5246 /* NEC SVR4.0.2 mips cc rejects this. */ 5247 struct point {int x, y;}; 5248 static struct point const zero = {0,0}; 5249 /* AIX XL C 1.02.0.0 rejects this. 5250 It does not let you subtract one const X* pointer from another in 5251 an arm of an if-expression whose if-part is not a constant 5252 expression */ 5253 const char *g = "string"; 5254 pcpcc = &g + (g ? g-g : 0); 5255 /* HPUX 7.0 cc rejects these. */ 5256 ++pcpcc; 5257 ppc = (char**) pcpcc; 5258 pcpcc = (char const *const *) ppc; 5259 { /* SCO 3.2v4 cc rejects this sort of thing. */ 5260 char tx; 5261 char *t = &tx; 5262 char const *s = 0 ? (char *) 0 : (char const *) 0; 5263 5264 *t++ = 0; 5265 if (s) return 0; 5266 } 5267 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 5268 int x[] = {25, 17}; 5269 const int *foo = &x[0]; 5270 ++foo; 5271 } 5272 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 5273 typedef const int *iptr; 5274 iptr p = 0; 5275 ++p; 5276 } 5277 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 5278 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 5279 struct s { int j; const int *ap[3]; } bx; 5280 struct s *b = &bx; b->j = 5; 5281 } 5282 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 5283 const int foo = 10; 5284 if (!foo) return 0; 5285 } 5286 return !cs[0] && !zero.x; 5287#endif 5288 5289 ; 5290 return 0; 5291} 5292_ACEOF 5293if ac_fn_c_try_compile "$LINENO"; then : 5294 ac_cv_c_const=yes 5295else 5296 ac_cv_c_const=no 5297fi 5298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5299fi 5300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 5301$as_echo "$ac_cv_c_const" >&6; } 5302if test $ac_cv_c_const = no; then 5303 5304$as_echo "#define const /**/" >>confdefs.h 5305 5306fi 5307 5308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 5309$as_echo_n "checking for inline... " >&6; } 5310if ${ac_cv_c_inline+:} false; then : 5311 $as_echo_n "(cached) " >&6 5312else 5313 ac_cv_c_inline=no 5314for ac_kw in inline __inline__ __inline; do 5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5316/* end confdefs.h. */ 5317#ifndef __cplusplus 5318typedef int foo_t; 5319static $ac_kw foo_t static_foo () {return 0; } 5320$ac_kw foo_t foo () {return 0; } 5321#endif 5322 5323_ACEOF 5324if ac_fn_c_try_compile "$LINENO"; then : 5325 ac_cv_c_inline=$ac_kw 5326fi 5327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5328 test "$ac_cv_c_inline" != no && break 5329done 5330 5331fi 5332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 5333$as_echo "$ac_cv_c_inline" >&6; } 5334 5335case $ac_cv_c_inline in 5336 inline | yes) ;; 5337 *) 5338 case $ac_cv_c_inline in 5339 no) ac_val=;; 5340 *) ac_val=$ac_cv_c_inline;; 5341 esac 5342 cat >>confdefs.h <<_ACEOF 5343#ifndef __cplusplus 5344#define inline $ac_val 5345#endif 5346_ACEOF 5347 ;; 5348esac 5349 5350ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" 5351case $ac_cv_c_int64_t in #( 5352 no|yes) ;; #( 5353 *) 5354 5355cat >>confdefs.h <<_ACEOF 5356#define int64_t $ac_cv_c_int64_t 5357_ACEOF 5358;; 5359esac 5360 5361 5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 5363$as_echo_n "checking for unsigned long long int... " >&6; } 5364if ${ac_cv_type_unsigned_long_long_int+:} false; then : 5365 $as_echo_n "(cached) " >&6 5366else 5367 ac_cv_type_unsigned_long_long_int=yes 5368 if test "x${ac_cv_prog_cc_c99-no}" = xno; then 5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5370/* end confdefs.h. */ 5371 5372 /* For now, do not test the preprocessor; as of 2007 there are too many 5373 implementations with broken preprocessors. Perhaps this can 5374 be revisited in 2012. In the meantime, code should not expect 5375 #if to work with literals wider than 32 bits. */ 5376 /* Test literals. */ 5377 long long int ll = 9223372036854775807ll; 5378 long long int nll = -9223372036854775807LL; 5379 unsigned long long int ull = 18446744073709551615ULL; 5380 /* Test constant expressions. */ 5381 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) 5382 ? 1 : -1)]; 5383 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 5384 ? 1 : -1)]; 5385 int i = 63; 5386int 5387main () 5388{ 5389/* Test availability of runtime routines for shift and division. */ 5390 long long int llmax = 9223372036854775807ll; 5391 unsigned long long int ullmax = 18446744073709551615ull; 5392 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) 5393 | (llmax / ll) | (llmax % ll) 5394 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) 5395 | (ullmax / ull) | (ullmax % ull)); 5396 ; 5397 return 0; 5398} 5399 5400_ACEOF 5401if ac_fn_c_try_link "$LINENO"; then : 5402 5403else 5404 ac_cv_type_unsigned_long_long_int=no 5405fi 5406rm -f core conftest.err conftest.$ac_objext \ 5407 conftest$ac_exeext conftest.$ac_ext 5408 fi 5409fi 5410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 5411$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } 5412 if test $ac_cv_type_unsigned_long_long_int = yes; then 5413 5414$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h 5415 5416 fi 5417 5418 5419 5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 5421$as_echo_n "checking for long long int... " >&6; } 5422if ${ac_cv_type_long_long_int+:} false; then : 5423 $as_echo_n "(cached) " >&6 5424else 5425 ac_cv_type_long_long_int=yes 5426 if test "x${ac_cv_prog_cc_c99-no}" = xno; then 5427 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int 5428 if test $ac_cv_type_long_long_int = yes; then 5429 if test "$cross_compiling" = yes; then : 5430 : 5431else 5432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5433/* end confdefs.h. */ 5434#include <limits.h> 5435 #ifndef LLONG_MAX 5436 # define HALF \ 5437 (1LL << (sizeof (long long int) * CHAR_BIT - 2)) 5438 # define LLONG_MAX (HALF - 1 + HALF) 5439 #endif 5440int 5441main () 5442{ 5443long long int n = 1; 5444 int i; 5445 for (i = 0; ; i++) 5446 { 5447 long long int m = n << i; 5448 if (m >> i != n) 5449 return 1; 5450 if (LLONG_MAX / 2 < m) 5451 break; 5452 } 5453 return 0; 5454 ; 5455 return 0; 5456} 5457_ACEOF 5458if ac_fn_c_try_run "$LINENO"; then : 5459 5460else 5461 ac_cv_type_long_long_int=no 5462fi 5463rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5464 conftest.$ac_objext conftest.beam conftest.$ac_ext 5465fi 5466 5467 fi 5468 fi 5469fi 5470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 5471$as_echo "$ac_cv_type_long_long_int" >&6; } 5472 if test $ac_cv_type_long_long_int = yes; then 5473 5474$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h 5475 5476 fi 5477 5478ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 5479if test "x$ac_cv_type_mode_t" = xyes; then : 5480 5481else 5482 5483cat >>confdefs.h <<_ACEOF 5484#define mode_t int 5485_ACEOF 5486 5487fi 5488 5489ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 5490if test "x$ac_cv_type_off_t" = xyes; then : 5491 5492else 5493 5494cat >>confdefs.h <<_ACEOF 5495#define off_t long int 5496_ACEOF 5497 5498fi 5499 5500ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 5501if test "x$ac_cv_type_pid_t" = xyes; then : 5502 5503else 5504 5505cat >>confdefs.h <<_ACEOF 5506#define pid_t int 5507_ACEOF 5508 5509fi 5510 5511ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 5512if test "x$ac_cv_type_size_t" = xyes; then : 5513 5514else 5515 5516cat >>confdefs.h <<_ACEOF 5517#define size_t unsigned int 5518_ACEOF 5519 5520fi 5521 5522ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" 5523case $ac_cv_c_uint32_t in #( 5524 no|yes) ;; #( 5525 *) 5526 5527$as_echo "#define _UINT32_T 1" >>confdefs.h 5528 5529 5530cat >>confdefs.h <<_ACEOF 5531#define uint32_t $ac_cv_c_uint32_t 5532_ACEOF 5533;; 5534 esac 5535 5536ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "#include <signal.h> 5537/* NetBSD declares sys_siglist in unistd.h. */ 5538#ifdef HAVE_UNISTD_H 5539# include <unistd.h> 5540#endif 5541 5542" 5543if test "x$ac_cv_have_decl_sys_siglist" = xyes; then : 5544 ac_have_decl=1 5545else 5546 ac_have_decl=0 5547fi 5548 5549cat >>confdefs.h <<_ACEOF 5550#define HAVE_DECL_SYS_SIGLIST $ac_have_decl 5551_ACEOF 5552 5553 5554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 5555$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 5556if ${ac_cv_header_time+:} false; then : 5557 $as_echo_n "(cached) " >&6 5558else 5559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5560/* end confdefs.h. */ 5561#include <sys/types.h> 5562#include <sys/time.h> 5563#include <time.h> 5564 5565int 5566main () 5567{ 5568if ((struct tm *) 0) 5569return 0; 5570 ; 5571 return 0; 5572} 5573_ACEOF 5574if ac_fn_c_try_compile "$LINENO"; then : 5575 ac_cv_header_time=yes 5576else 5577 ac_cv_header_time=no 5578fi 5579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5580fi 5581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 5582$as_echo "$ac_cv_header_time" >&6; } 5583if test $ac_cv_header_time = yes; then 5584 5585$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 5586 5587fi 5588 5589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 5590$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5591if ${ac_cv_struct_tm+:} false; then : 5592 $as_echo_n "(cached) " >&6 5593else 5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5595/* end confdefs.h. */ 5596#include <sys/types.h> 5597#include <time.h> 5598 5599int 5600main () 5601{ 5602struct tm tm; 5603 int *p = &tm.tm_sec; 5604 return !p; 5605 ; 5606 return 0; 5607} 5608_ACEOF 5609if ac_fn_c_try_compile "$LINENO"; then : 5610 ac_cv_struct_tm=time.h 5611else 5612 ac_cv_struct_tm=sys/time.h 5613fi 5614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5615fi 5616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 5617$as_echo "$ac_cv_struct_tm" >&6; } 5618if test $ac_cv_struct_tm = sys/time.h; then 5619 5620$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 5621 5622fi 5623 5624 5625 5626ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" " 5627#ifdef HAVE_SYS_TYPES_H 5628#include <sys/types.h> 5629#endif 5630#include <signal.h> 5631 5632" 5633if test "x$ac_cv_type_sig_atomic_t" = xyes; then : 5634 5635cat >>confdefs.h <<_ACEOF 5636#define HAVE_SIG_ATOMIC_T 1 5637_ACEOF 5638 5639 5640fi 5641 5642 5643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 5644$as_echo_n "checking return type of signal handlers... " >&6; } 5645if ${ac_cv_type_signal+:} false; then : 5646 $as_echo_n "(cached) " >&6 5647else 5648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5649/* end confdefs.h. */ 5650#include <sys/types.h> 5651#include <signal.h> 5652 5653int 5654main () 5655{ 5656return *(signal (0, 0)) (0) == 1; 5657 ; 5658 return 0; 5659} 5660_ACEOF 5661if ac_fn_c_try_compile "$LINENO"; then : 5662 ac_cv_type_signal=int 5663else 5664 ac_cv_type_signal=void 5665fi 5666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5667fi 5668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 5669$as_echo "$ac_cv_type_signal" >&6; } 5670 5671cat >>confdefs.h <<_ACEOF 5672#define RETSIGTYPE $ac_cv_type_signal 5673_ACEOF 5674 5675 5676for ac_header in vfork.h 5677do : 5678 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 5679if test "x$ac_cv_header_vfork_h" = xyes; then : 5680 cat >>confdefs.h <<_ACEOF 5681#define HAVE_VFORK_H 1 5682_ACEOF 5683 5684fi 5685 5686done 5687 5688for ac_func in fork vfork 5689do : 5690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5691ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5692if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5693 cat >>confdefs.h <<_ACEOF 5694#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5695_ACEOF 5696 5697fi 5698done 5699 5700if test "x$ac_cv_func_fork" = xyes; then 5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 5702$as_echo_n "checking for working fork... " >&6; } 5703if ${ac_cv_func_fork_works+:} false; then : 5704 $as_echo_n "(cached) " >&6 5705else 5706 if test "$cross_compiling" = yes; then : 5707 ac_cv_func_fork_works=cross 5708else 5709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5710/* end confdefs.h. */ 5711$ac_includes_default 5712int 5713main () 5714{ 5715 5716 /* By Ruediger Kuhlmann. */ 5717 return fork () < 0; 5718 5719 ; 5720 return 0; 5721} 5722_ACEOF 5723if ac_fn_c_try_run "$LINENO"; then : 5724 ac_cv_func_fork_works=yes 5725else 5726 ac_cv_func_fork_works=no 5727fi 5728rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5729 conftest.$ac_objext conftest.beam conftest.$ac_ext 5730fi 5731 5732fi 5733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 5734$as_echo "$ac_cv_func_fork_works" >&6; } 5735 5736else 5737 ac_cv_func_fork_works=$ac_cv_func_fork 5738fi 5739if test "x$ac_cv_func_fork_works" = xcross; then 5740 case $host in 5741 *-*-amigaos* | *-*-msdosdjgpp*) 5742 # Override, as these systems have only a dummy fork() stub 5743 ac_cv_func_fork_works=no 5744 ;; 5745 *) 5746 ac_cv_func_fork_works=yes 5747 ;; 5748 esac 5749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 5750$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 5751fi 5752ac_cv_func_vfork_works=$ac_cv_func_vfork 5753if test "x$ac_cv_func_vfork" = xyes; then 5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 5755$as_echo_n "checking for working vfork... " >&6; } 5756if ${ac_cv_func_vfork_works+:} false; then : 5757 $as_echo_n "(cached) " >&6 5758else 5759 if test "$cross_compiling" = yes; then : 5760 ac_cv_func_vfork_works=cross 5761else 5762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5763/* end confdefs.h. */ 5764/* Thanks to Paul Eggert for this test. */ 5765$ac_includes_default 5766#include <sys/wait.h> 5767#ifdef HAVE_VFORK_H 5768# include <vfork.h> 5769#endif 5770/* On some sparc systems, changes by the child to local and incoming 5771 argument registers are propagated back to the parent. The compiler 5772 is told about this with #include <vfork.h>, but some compilers 5773 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a 5774 static variable whose address is put into a register that is 5775 clobbered by the vfork. */ 5776static void 5777#ifdef __cplusplus 5778sparc_address_test (int arg) 5779# else 5780sparc_address_test (arg) int arg; 5781#endif 5782{ 5783 static pid_t child; 5784 if (!child) { 5785 child = vfork (); 5786 if (child < 0) { 5787 perror ("vfork"); 5788 _exit(2); 5789 } 5790 if (!child) { 5791 arg = getpid(); 5792 write(-1, "", 0); 5793 _exit (arg); 5794 } 5795 } 5796} 5797 5798int 5799main () 5800{ 5801 pid_t parent = getpid (); 5802 pid_t child; 5803 5804 sparc_address_test (0); 5805 5806 child = vfork (); 5807 5808 if (child == 0) { 5809 /* Here is another test for sparc vfork register problems. This 5810 test uses lots of local variables, at least as many local 5811 variables as main has allocated so far including compiler 5812 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 5813 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should 5814 reuse the register of parent for one of the local variables, 5815 since it will think that parent can't possibly be used any more 5816 in this routine. Assigning to the local variable will thus 5817 munge parent in the parent process. */ 5818 pid_t 5819 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), 5820 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); 5821 /* Convince the compiler that p..p7 are live; otherwise, it might 5822 use the same hardware register for all 8 local variables. */ 5823 if (p != p1 || p != p2 || p != p3 || p != p4 5824 || p != p5 || p != p6 || p != p7) 5825 _exit(1); 5826 5827 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent 5828 from child file descriptors. If the child closes a descriptor 5829 before it execs or exits, this munges the parent's descriptor 5830 as well. Test for this by closing stdout in the child. */ 5831 _exit(close(fileno(stdout)) != 0); 5832 } else { 5833 int status; 5834 struct stat st; 5835 5836 while (wait(&status) != child) 5837 ; 5838 return ( 5839 /* Was there some problem with vforking? */ 5840 child < 0 5841 5842 /* Did the child fail? (This shouldn't happen.) */ 5843 || status 5844 5845 /* Did the vfork/compiler bug occur? */ 5846 || parent != getpid() 5847 5848 /* Did the file descriptor bug occur? */ 5849 || fstat(fileno(stdout), &st) != 0 5850 ); 5851 } 5852} 5853_ACEOF 5854if ac_fn_c_try_run "$LINENO"; then : 5855 ac_cv_func_vfork_works=yes 5856else 5857 ac_cv_func_vfork_works=no 5858fi 5859rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5860 conftest.$ac_objext conftest.beam conftest.$ac_ext 5861fi 5862 5863fi 5864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 5865$as_echo "$ac_cv_func_vfork_works" >&6; } 5866 5867fi; 5868if test "x$ac_cv_func_fork_works" = xcross; then 5869 ac_cv_func_vfork_works=$ac_cv_func_vfork 5870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 5871$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 5872fi 5873 5874if test "x$ac_cv_func_vfork_works" = xyes; then 5875 5876$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h 5877 5878else 5879 5880$as_echo "#define vfork fork" >>confdefs.h 5881 5882fi 5883if test "x$ac_cv_func_fork_works" = xyes; then 5884 5885$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h 5886 5887fi 5888 5889for ac_func in vprintf 5890do : 5891 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 5892if test "x$ac_cv_func_vprintf" = xyes; then : 5893 cat >>confdefs.h <<_ACEOF 5894#define HAVE_VPRINTF 1 5895_ACEOF 5896 5897ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 5898if test "x$ac_cv_func__doprnt" = xyes; then : 5899 5900$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 5901 5902fi 5903 5904fi 5905done 5906 5907 5908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait3 that fills in rusage" >&5 5909$as_echo_n "checking for wait3 that fills in rusage... " >&6; } 5910if ${ac_cv_func_wait3_rusage+:} false; then : 5911 $as_echo_n "(cached) " >&6 5912else 5913 if test "$cross_compiling" = yes; then : 5914 ac_cv_func_wait3_rusage=no 5915else 5916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5917/* end confdefs.h. */ 5918$ac_includes_default 5919#include <sys/time.h> 5920#include <sys/resource.h> 5921#include <sys/wait.h> 5922/* HP-UX has wait3 but does not fill in rusage at all. */ 5923int 5924main () 5925{ 5926 struct rusage r; 5927 int i; 5928 /* Use a field that we can force nonzero -- 5929 voluntary context switches. 5930 For systems like NeXT and OSF/1 that don't set it, 5931 also use the system CPU time. And page faults (I/O) for Linux. */ 5932 r.ru_nvcsw = 0; 5933 r.ru_stime.tv_sec = 0; 5934 r.ru_stime.tv_usec = 0; 5935 r.ru_majflt = r.ru_minflt = 0; 5936 switch (fork ()) 5937 { 5938 case 0: /* Child. */ 5939 sleep(1); /* Give up the CPU. */ 5940 _exit(0); 5941 break; 5942 case -1: /* What can we do? */ 5943 _exit(0); 5944 break; 5945 default: /* Parent. */ 5946 wait3(&i, 0, &r); 5947 /* Avoid "text file busy" from rm on fast HP-UX machines. */ 5948 sleep(2); 5949 return (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0 5950 && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0); 5951 } 5952} 5953_ACEOF 5954if ac_fn_c_try_run "$LINENO"; then : 5955 ac_cv_func_wait3_rusage=yes 5956else 5957 ac_cv_func_wait3_rusage=no 5958fi 5959rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5960 conftest.$ac_objext conftest.beam conftest.$ac_ext 5961fi 5962 5963fi 5964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_wait3_rusage" >&5 5965$as_echo "$ac_cv_func_wait3_rusage" >&6; } 5966if test $ac_cv_func_wait3_rusage = yes; then 5967 5968$as_echo "#define HAVE_WAIT3 1" >>confdefs.h 5969 5970fi 5971 5972for ac_func in \ 5973 err \ 5974 errx \ 5975 getcwd \ 5976 getenv \ 5977 getwd \ 5978 killpg \ 5979 mmap \ 5980 putenv \ 5981 select \ 5982 setenv \ 5983 setpgid \ 5984 setrlimit \ 5985 setsid \ 5986 sigaddset \ 5987 sigpending \ 5988 sigprocmask \ 5989 sigsetmask \ 5990 sigsuspend \ 5991 sigvec \ 5992 snprintf \ 5993 strerror \ 5994 stresep \ 5995 strftime \ 5996 strsep \ 5997 strtod \ 5998 strtol \ 5999 strtoll \ 6000 strtoul \ 6001 sysctl \ 6002 unsetenv \ 6003 vsnprintf \ 6004 wait3 \ 6005 wait4 \ 6006 waitpid \ 6007 warn \ 6008 warnx \ 6009 6010do : 6011 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6012ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6013if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 6014 cat >>confdefs.h <<_ACEOF 6015#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6016_ACEOF 6017 6018fi 6019done 6020 6021 6022ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt" 6023if test "x$ac_cv_func_getopt" = xyes; then : 6024 $as_echo "#define HAVE_GETOPT 1" >>confdefs.h 6025 6026else 6027 case " $LIBOBJS " in 6028 *" getopt.$ac_objext "* ) ;; 6029 *) LIBOBJS="$LIBOBJS getopt.$ac_objext" 6030 ;; 6031esac 6032 6033fi 6034 6035ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath" 6036if test "x$ac_cv_func_realpath" = xyes; then : 6037 $as_echo "#define HAVE_REALPATH 1" >>confdefs.h 6038 6039else 6040 case " $LIBOBJS " in 6041 *" realpath.$ac_objext "* ) ;; 6042 *) LIBOBJS="$LIBOBJS realpath.$ac_objext" 6043 ;; 6044esac 6045 6046fi 6047 6048ac_fn_c_check_func "$LINENO" "dirname" "ac_cv_func_dirname" 6049if test "x$ac_cv_func_dirname" = xyes; then : 6050 $as_echo "#define HAVE_DIRNAME 1" >>confdefs.h 6051 6052else 6053 case " $LIBOBJS " in 6054 *" dirname.$ac_objext "* ) ;; 6055 *) LIBOBJS="$LIBOBJS dirname.$ac_objext" 6056 ;; 6057esac 6058 6059fi 6060 6061ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction" 6062if test "x$ac_cv_func_sigaction" = xyes; then : 6063 $as_echo "#define HAVE_SIGACTION 1" >>confdefs.h 6064 6065else 6066 case " $LIBOBJS " in 6067 *" sigaction.$ac_objext "* ) ;; 6068 *) LIBOBJS="$LIBOBJS sigaction.$ac_objext" 6069 ;; 6070esac 6071 6072fi 6073 6074ac_fn_c_check_func "$LINENO" "stresep" "ac_cv_func_stresep" 6075if test "x$ac_cv_func_stresep" = xyes; then : 6076 $as_echo "#define HAVE_STRESEP 1" >>confdefs.h 6077 6078else 6079 case " $LIBOBJS " in 6080 *" stresep.$ac_objext "* ) ;; 6081 *) LIBOBJS="$LIBOBJS stresep.$ac_objext" 6082 ;; 6083esac 6084 6085fi 6086 6087ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy" 6088if test "x$ac_cv_func_strlcpy" = xyes; then : 6089 $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h 6090 6091else 6092 case " $LIBOBJS " in 6093 *" strlcpy.$ac_objext "* ) ;; 6094 *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext" 6095 ;; 6096esac 6097 6098fi 6099 6100 6101 6102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for emalloc in -lutil" >&5 6103$as_echo_n "checking for emalloc in -lutil... " >&6; } 6104if ${ac_cv_lib_util_emalloc+:} false; then : 6105 $as_echo_n "(cached) " >&6 6106else 6107 ac_check_lib_save_LIBS=$LIBS 6108LIBS="-lutil $LIBS" 6109cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6110/* end confdefs.h. */ 6111 6112/* Override any GCC internal prototype to avoid an error. 6113 Use char because int might match the return type of a GCC 6114 builtin and then its argument prototype would still apply. */ 6115#ifdef __cplusplus 6116extern "C" 6117#endif 6118char emalloc (); 6119int 6120main () 6121{ 6122return emalloc (); 6123 ; 6124 return 0; 6125} 6126_ACEOF 6127if ac_fn_c_try_link "$LINENO"; then : 6128 ac_cv_lib_util_emalloc=yes 6129else 6130 ac_cv_lib_util_emalloc=no 6131fi 6132rm -f core conftest.err conftest.$ac_objext \ 6133 conftest$ac_exeext conftest.$ac_ext 6134LIBS=$ac_check_lib_save_LIBS 6135fi 6136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_emalloc" >&5 6137$as_echo "$ac_cv_lib_util_emalloc" >&6; } 6138if test "x$ac_cv_lib_util_emalloc" = xyes; then : 6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erealloc in -lutil" >&5 6140$as_echo_n "checking for erealloc in -lutil... " >&6; } 6141if ${ac_cv_lib_util_erealloc+:} false; then : 6142 $as_echo_n "(cached) " >&6 6143else 6144 ac_check_lib_save_LIBS=$LIBS 6145LIBS="-lutil $LIBS" 6146cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6147/* end confdefs.h. */ 6148 6149/* Override any GCC internal prototype to avoid an error. 6150 Use char because int might match the return type of a GCC 6151 builtin and then its argument prototype would still apply. */ 6152#ifdef __cplusplus 6153extern "C" 6154#endif 6155char erealloc (); 6156int 6157main () 6158{ 6159return erealloc (); 6160 ; 6161 return 0; 6162} 6163_ACEOF 6164if ac_fn_c_try_link "$LINENO"; then : 6165 ac_cv_lib_util_erealloc=yes 6166else 6167 ac_cv_lib_util_erealloc=no 6168fi 6169rm -f core conftest.err conftest.$ac_objext \ 6170 conftest$ac_exeext conftest.$ac_ext 6171LIBS=$ac_check_lib_save_LIBS 6172fi 6173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_erealloc" >&5 6174$as_echo "$ac_cv_lib_util_erealloc" >&6; } 6175if test "x$ac_cv_lib_util_erealloc" = xyes; then : 6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for estrdup in -lutil" >&5 6177$as_echo_n "checking for estrdup in -lutil... " >&6; } 6178if ${ac_cv_lib_util_estrdup+:} false; then : 6179 $as_echo_n "(cached) " >&6 6180else 6181 ac_check_lib_save_LIBS=$LIBS 6182LIBS="-lutil $LIBS" 6183cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6184/* end confdefs.h. */ 6185 6186/* Override any GCC internal prototype to avoid an error. 6187 Use char because int might match the return type of a GCC 6188 builtin and then its argument prototype would still apply. */ 6189#ifdef __cplusplus 6190extern "C" 6191#endif 6192char estrdup (); 6193int 6194main () 6195{ 6196return estrdup (); 6197 ; 6198 return 0; 6199} 6200_ACEOF 6201if ac_fn_c_try_link "$LINENO"; then : 6202 ac_cv_lib_util_estrdup=yes 6203else 6204 ac_cv_lib_util_estrdup=no 6205fi 6206rm -f core conftest.err conftest.$ac_objext \ 6207 conftest$ac_exeext conftest.$ac_ext 6208LIBS=$ac_check_lib_save_LIBS 6209fi 6210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_estrdup" >&5 6211$as_echo "$ac_cv_lib_util_estrdup" >&6; } 6212if test "x$ac_cv_lib_util_estrdup" = xyes; then : 6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for estrndup in -lutil" >&5 6214$as_echo_n "checking for estrndup in -lutil... " >&6; } 6215if ${ac_cv_lib_util_estrndup+:} false; then : 6216 $as_echo_n "(cached) " >&6 6217else 6218 ac_check_lib_save_LIBS=$LIBS 6219LIBS="-lutil $LIBS" 6220cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6221/* end confdefs.h. */ 6222 6223/* Override any GCC internal prototype to avoid an error. 6224 Use char because int might match the return type of a GCC 6225 builtin and then its argument prototype would still apply. */ 6226#ifdef __cplusplus 6227extern "C" 6228#endif 6229char estrndup (); 6230int 6231main () 6232{ 6233return estrndup (); 6234 ; 6235 return 0; 6236} 6237_ACEOF 6238if ac_fn_c_try_link "$LINENO"; then : 6239 ac_cv_lib_util_estrndup=yes 6240else 6241 ac_cv_lib_util_estrndup=no 6242fi 6243rm -f core conftest.err conftest.$ac_objext \ 6244 conftest$ac_exeext conftest.$ac_ext 6245LIBS=$ac_check_lib_save_LIBS 6246fi 6247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_estrndup" >&5 6248$as_echo "$ac_cv_lib_util_estrndup" >&6; } 6249if test "x$ac_cv_lib_util_estrndup" = xyes; then : 6250 LIBS="$LIBS -lutil" 6251 CPPFLAGS="$CPPFLAGS -DUSE_EMALLOC" 6252fi 6253 6254fi 6255 6256fi 6257 6258fi 6259 6260 6261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 6262$as_echo_n "checking whether stat file-mode macros are broken... " >&6; } 6263if ${ac_cv_header_stat_broken+:} false; then : 6264 $as_echo_n "(cached) " >&6 6265else 6266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6267/* end confdefs.h. */ 6268#include <sys/types.h> 6269#include <sys/stat.h> 6270 6271#if defined S_ISBLK && defined S_IFDIR 6272extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; 6273#endif 6274 6275#if defined S_ISBLK && defined S_IFCHR 6276extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; 6277#endif 6278 6279#if defined S_ISLNK && defined S_IFREG 6280extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; 6281#endif 6282 6283#if defined S_ISSOCK && defined S_IFREG 6284extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; 6285#endif 6286 6287_ACEOF 6288if ac_fn_c_try_compile "$LINENO"; then : 6289 ac_cv_header_stat_broken=no 6290else 6291 ac_cv_header_stat_broken=yes 6292fi 6293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6294fi 6295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5 6296$as_echo "$ac_cv_header_stat_broken" >&6; } 6297if test $ac_cv_header_stat_broken = yes; then 6298 6299$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h 6300 6301fi 6302 6303ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default" 6304if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then : 6305 6306cat >>confdefs.h <<_ACEOF 6307#define HAVE_STRUCT_STAT_ST_RDEV 1 6308_ACEOF 6309 6310 6311$as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h 6312 6313fi 6314 6315 6316echo "checking if compiler supports __func__" >&6 6317ac_ext=c 6318ac_cpp='$CPP $CPPFLAGS' 6319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6321ac_compiler_gnu=$ac_cv_c_compiler_gnu 6322 6323cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6324/* end confdefs.h. */ 6325 6326int 6327main () 6328{ 6329const char *func = __func__; 6330 ; 6331 return 0; 6332} 6333_ACEOF 6334if ac_fn_c_try_compile "$LINENO"; then : 6335 6336else 6337 6338$as_echo "#define __func__ __FUNCTION__" >>confdefs.h 6339 6340fi 6341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6342if test -x /usr/gnu/bin/diff; then 6343 diff=/usr/gnu/bin/diff 6344 diff_u=-u 6345else 6346 diff=${diff:-diff} 6347 echo $ECHO_N "checking if $diff -u works... $ECHO_C" >&6 6348 if $diff -u /dev/null /dev/null > /dev/null 2>&1; then 6349 diff_u=-u 6350 echo yes >&6 6351 else 6352 diff_u= 6353 echo no >&6 6354 fi 6355fi 6356echo "checking for MACHINE & MACHINE_ARCH..." >&6 6357cat > conftest.$ac_ext <<EOF 6358#include "confdefs.h" 6359#include <sys/param.h> 6360#ifdef MACHINE 6361machine=MACHINE 6362#endif 6363#ifdef MACHINE_ARCH 6364machine_arch=MACHINE_ARCH 6365#endif 6366EOF 6367 6368default_machine=`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6369 egrep machine= | tr -d ' "'` 6370rm -rf conftest* 6371if test "$default_machine"; then 6372 eval "$default_machine" 6373fi 6374machine=${machine:-`$srcdir/machine.sh`} 6375machine_arch=${machine_arch:-`$srcdir/machine.sh arch`} 6376echo "defaults: MACHINE=$machine, MACHINE_ARCH=$machine_arch" 1>&6 6377 6378# Check whether --with-machine was given. 6379if test "${with_machine+set}" = set; then : 6380 withval=$with_machine; case "${withval}" in 6381yes) as_fn_error $? "bad value ${withval} given for bmake MACHINE" "$LINENO" 5 ;; 6382no) ;; 6383generic) machine=`$srcdir/machine.sh`;; 6384*) machine=$with_machine;; 6385esac 6386fi 6387 6388force_machine= 6389 6390# Check whether --with-force_machine was given. 6391if test "${with_force_machine+set}" = set; then : 6392 withval=$with_force_machine; case "${withval}" in 6393yes) force_machine=FORCE_;; 6394no) ;; 6395*) force_machine=FORCE_; machine=$with_force_machine;; 6396esac 6397fi 6398 6399force_machine_arch= 6400 6401# Check whether --with-force_machine_arch was given. 6402if test "${with_force_machine_arch+set}" = set; then : 6403 withval=$with_force_machine_arch; case "${withval}" in 6404yes) force_machine_arch=FORCE_;; 6405no) ;; 6406*) force_machine_arch=FORCE_; machine_arch=$with_force_machine_arch;; 6407esac 6408fi 6409 6410 6411# Check whether --with-machine_arch was given. 6412if test "${with_machine_arch+set}" = set; then : 6413 withval=$with_machine_arch; case "${withval}" in 6414yes) as_fn_error $? "bad value ${withval} given for bmake MACHINE_ARCH" "$LINENO" 5 ;; 6415no) ;; 6416*) machine_arch=$with_machine_arch;; 6417esac 6418fi 6419 6420echo "Using: ${force_machine}MACHINE=$machine, ${force_machine_arch}MACHINE_ARCH=$machine_arch" 1>&6 6421default_sys_path=\${prefix}/share/mk 6422 6423# Check whether --with-default-sys-path was given. 6424if test "${with_default_sys_path+set}" = set; then : 6425 withval=$with_default_sys_path; case "${withval}" in 6426yes) as_fn_error $? "bad value ${withval} given for bmake _PATH_DEFSYSPATH" "$LINENO" 5 ;; 6427no) ;; 6428*) default_sys_path="$with_default_sys_path" 6429 ;; 6430esac 6431fi 6432 6433 6434# Check whether --with-path-objdirprefix was given. 6435if test "${with_path_objdirprefix+set}" = set; then : 6436 withval=$with_path_objdirprefix; case "${withval}" in 6437yes) as_fn_error $? "bad value ${withval} given for bmake _PATH_OBJDIRPREFIX" "$LINENO" 5 ;; 6438no) CPPFLAGS="$CPPFLAGS -DNO_PATH_OBJDIRPREFIX" ;; 6439*) CPPFLAGS="$CPPFLAGS \"-D_PATH_OBJDIRPREFIX=\\\"$with_path-objdir\\\"\"" ;; 6440esac 6441fi 6442 6443# Check whether --enable-pwd-override was given. 6444if test "${enable_pwd_override+set}" = set; then : 6445 enableval=$enable_pwd_override; case "${enableval}" in 6446yes) ;; 6447no) CPPFLAGS="$CPPFLAGS -DNO_PWD_OVERRIDE" ;; 6448*) as_fn_error $? "bad value ${enableval} given for pwd-override option" "$LINENO" 5 ;; 6449esac 6450fi 6451 6452# Check whether --enable-check-make-chdir was given. 6453if test "${enable_check_make_chdir+set}" = set; then : 6454 enableval=$enable_check_make_chdir; case "${enableval}" in 6455yes) ;; 6456no) CPPFLAGS="$CPPFLAGS -DNO_CHECK_MAKE_CHDIR" ;; 6457*) as_fn_error $? "bad value ${enableval} given for check-make-chdir option" "$LINENO" 5 ;; 6458esac 6459fi 6460 6461 6462# Check whether --with-mksrc was given. 6463if test "${with_mksrc+set}" = set; then : 6464 withval=$with_mksrc; case "${withval}" in 6465""|yes|no) ;; 6466*) test -s $withval/install-mk && mksrc=$withval || 6467as_fn_error $? "bad value ${withval} given for mksrc cannot find install-mk" "$LINENO" 5 6468;; 6469esac 6470 6471fi 6472 6473srcdir=`cd $srcdir && pwd` 6474for mksrc in $mksrc $srcdir/mk $srcdir/../mk mk 6475do 6476 test -s $mksrc/install-mk || continue 6477 mksrc=`cd $mksrc && pwd` 6478 break 6479done 6480mksrc=`echo $mksrc | sed "s,$srcdir,\\\${srcdir},"` 6481echo "Using: MKSRC=$mksrc" 1>&6 6482for sh in /usr/xpg4/bin/sh $ALT_DEF_SHELLS 6483do 6484 test -x $sh || continue 6485 use_defshell $sh 6486 break 6487done 6488case "$defshell_path$DEFSHELL_INDEX" in 6489"") ;; 6490*DEFSHELL_INDEX_CUSTOM) 6491 echo "Using: SHELL=$defshell_path" >&6 6492 6493cat >>confdefs.h <<_ACEOF 6494#define DEFSHELL_CUSTOM "$defshell_path" 6495_ACEOF 6496 6497 ;; 6498/*INDEX*) 6499 echo "Using: SHELL=$DEFSHELL_INDEX ($defshell_path)" | sed 's,DEFSHELL_INDEX_,,' >&6 6500 6501cat >>confdefs.h <<_ACEOF 6502#define DEFSHELL_INDEX $DEFSHELL_INDEX 6503_ACEOF 6504 6505 6506cat >>confdefs.h <<_ACEOF 6507#define DEFSHELL_PATH "$defshell_path" 6508_ACEOF 6509 6510 ;; 6511*) 6512 echo "Using: SHELL=$DEFSHELL_INDEX" | sed 's,DEFSHELL_INDEX_,,' >&6 6513 6514cat >>confdefs.h <<_ACEOF 6515#define DEFSHELL_INDEX $DEFSHELL_INDEX 6516_ACEOF 6517 6518 ;; 6519esac 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535bm_outfiles="Makefile.config unit-tests/Makefile.config make-bootstrap.sh" 6536if test $use_makefile = yes; then 6537 bm_outfiles="makefile $bm_outfiles" 6538fi 6539 6540here=`'pwd'` 6541: srcdir=$srcdir 6542: here= $here 6543case "$here" in 6544$srcdir/obj*) # make sure we put unit-tests/Makefile.config in the right place 6545 obj=`basename $here` 6546 mkdir -p $srcdir/unit-tests/$obj 6547 test -d unit-tests || ln -s ../unit-tests/$obj unit-tests 6548 ;; 6549esac 6550 6551ac_config_files="$ac_config_files $bm_outfiles" 6552 6553cat >confcache <<\_ACEOF 6554# This file is a shell script that caches the results of configure 6555# tests run on this system so they can be shared between configure 6556# scripts and configure runs, see configure's option --config-cache. 6557# It is not useful on other systems. If it contains results you don't 6558# want to keep, you may remove or edit it. 6559# 6560# config.status only pays attention to the cache file if you give it 6561# the --recheck option to rerun configure. 6562# 6563# `ac_cv_env_foo' variables (set or unset) will be overridden when 6564# loading this file, other *unset* `ac_cv_foo' will be assigned the 6565# following values. 6566 6567_ACEOF 6568 6569# The following way of writing the cache mishandles newlines in values, 6570# but we know of no workaround that is simple, portable, and efficient. 6571# So, we kill variables containing newlines. 6572# Ultrix sh set writes to stderr and can't be redirected directly, 6573# and sets the high bit in the cache file unless we assign to the vars. 6574( 6575 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6576 eval ac_val=\$$ac_var 6577 case $ac_val in #( 6578 *${as_nl}*) 6579 case $ac_var in #( 6580 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6581$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6582 esac 6583 case $ac_var in #( 6584 _ | IFS | as_nl) ;; #( 6585 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6586 *) { eval $ac_var=; unset $ac_var;} ;; 6587 esac ;; 6588 esac 6589 done 6590 6591 (set) 2>&1 | 6592 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6593 *${as_nl}ac_space=\ *) 6594 # `set' does not quote correctly, so add quotes: double-quote 6595 # substitution turns \\\\ into \\, and sed turns \\ into \. 6596 sed -n \ 6597 "s/'/'\\\\''/g; 6598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6599 ;; #( 6600 *) 6601 # `set' quotes correctly as required by POSIX, so do not add quotes. 6602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6603 ;; 6604 esac | 6605 sort 6606) | 6607 sed ' 6608 /^ac_cv_env_/b end 6609 t clear 6610 :clear 6611 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6612 t end 6613 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6614 :end' >>confcache 6615if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6616 if test -w "$cache_file"; then 6617 if test "x$cache_file" != "x/dev/null"; then 6618 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6619$as_echo "$as_me: updating cache $cache_file" >&6;} 6620 if test ! -f "$cache_file" || test -h "$cache_file"; then 6621 cat confcache >"$cache_file" 6622 else 6623 case $cache_file in #( 6624 */* | ?:*) 6625 mv -f confcache "$cache_file"$$ && 6626 mv -f "$cache_file"$$ "$cache_file" ;; #( 6627 *) 6628 mv -f confcache "$cache_file" ;; 6629 esac 6630 fi 6631 fi 6632 else 6633 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6634$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6635 fi 6636fi 6637rm -f confcache 6638 6639test "x$prefix" = xNONE && prefix=$ac_default_prefix 6640# Let make expand exec_prefix. 6641test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6642 6643DEFS=-DHAVE_CONFIG_H 6644 6645ac_libobjs= 6646ac_ltlibobjs= 6647U= 6648for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6649 # 1. Remove the extension, and $U if already installed. 6650 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6651 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6652 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6653 # will be set to the directory where LIBOBJS objects are built. 6654 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6655 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 6656done 6657LIBOBJS=$ac_libobjs 6658 6659LTLIBOBJS=$ac_ltlibobjs 6660 6661 6662 6663 6664: "${CONFIG_STATUS=./config.status}" 6665ac_write_fail=0 6666ac_clean_files_save=$ac_clean_files 6667ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6668{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6669$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6670as_write_fail=0 6671cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 6672#! $SHELL 6673# Generated by $as_me. 6674# Run this file to recreate the current configuration. 6675# Compiler output produced by configure, useful for debugging 6676# configure, is in config.log if it exists. 6677 6678debug=false 6679ac_cs_recheck=false 6680ac_cs_silent=false 6681 6682SHELL=\${CONFIG_SHELL-$SHELL} 6683export SHELL 6684_ASEOF 6685cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6686## -------------------- ## 6687## M4sh Initialization. ## 6688## -------------------- ## 6689 6690# Be more Bourne compatible 6691DUALCASE=1; export DUALCASE # for MKS sh 6692if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 6693 emulate sh 6694 NULLCMD=: 6695 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6696 # is contrary to our usage. Disable this feature. 6697 alias -g '${1+"$@"}'='"$@"' 6698 setopt NO_GLOB_SUBST 6699else 6700 case `(set -o) 2>/dev/null` in #( 6701 *posix*) : 6702 set -o posix ;; #( 6703 *) : 6704 ;; 6705esac 6706fi 6707 6708 6709as_nl=' 6710' 6711export as_nl 6712# Printing a long string crashes Solaris 7 /usr/bin/printf. 6713as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6714as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6715as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6716# Prefer a ksh shell builtin over an external printf program on Solaris, 6717# but without wasting forks for bash or zsh. 6718if test -z "$BASH_VERSION$ZSH_VERSION" \ 6719 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6720 as_echo='print -r --' 6721 as_echo_n='print -rn --' 6722elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6723 as_echo='printf %s\n' 6724 as_echo_n='printf %s' 6725else 6726 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6727 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6728 as_echo_n='/usr/ucb/echo -n' 6729 else 6730 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6731 as_echo_n_body='eval 6732 arg=$1; 6733 case $arg in #( 6734 *"$as_nl"*) 6735 expr "X$arg" : "X\\(.*\\)$as_nl"; 6736 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6737 esac; 6738 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6739 ' 6740 export as_echo_n_body 6741 as_echo_n='sh -c $as_echo_n_body as_echo' 6742 fi 6743 export as_echo_body 6744 as_echo='sh -c $as_echo_body as_echo' 6745fi 6746 6747# The user is always right. 6748if test "${PATH_SEPARATOR+set}" != set; then 6749 PATH_SEPARATOR=: 6750 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6751 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6752 PATH_SEPARATOR=';' 6753 } 6754fi 6755 6756 6757# IFS 6758# We need space, tab and new line, in precisely that order. Quoting is 6759# there to prevent editors from complaining about space-tab. 6760# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6761# splitting by setting IFS to empty value.) 6762IFS=" "" $as_nl" 6763 6764# Find who we are. Look in the path if we contain no directory separator. 6765as_myself= 6766case $0 in #(( 6767 *[\\/]* ) as_myself=$0 ;; 6768 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6769for as_dir in $PATH 6770do 6771 IFS=$as_save_IFS 6772 test -z "$as_dir" && as_dir=. 6773 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6774 done 6775IFS=$as_save_IFS 6776 6777 ;; 6778esac 6779# We did not find ourselves, most probably we were run as `sh COMMAND' 6780# in which case we are not to be found in the path. 6781if test "x$as_myself" = x; then 6782 as_myself=$0 6783fi 6784if test ! -f "$as_myself"; then 6785 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6786 exit 1 6787fi 6788 6789# Unset variables that we do not need and which cause bugs (e.g. in 6790# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6791# suppresses any "Segmentation fault" message there. '((' could 6792# trigger a bug in pdksh 5.2.14. 6793for as_var in BASH_ENV ENV MAIL MAILPATH 6794do eval test x\${$as_var+set} = xset \ 6795 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6796done 6797PS1='$ ' 6798PS2='> ' 6799PS4='+ ' 6800 6801# NLS nuisances. 6802LC_ALL=C 6803export LC_ALL 6804LANGUAGE=C 6805export LANGUAGE 6806 6807# CDPATH. 6808(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6809 6810 6811# as_fn_error STATUS ERROR [LINENO LOG_FD] 6812# ---------------------------------------- 6813# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6814# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6815# script with STATUS, using 1 if that was 0. 6816as_fn_error () 6817{ 6818 as_status=$1; test $as_status -eq 0 && as_status=1 6819 if test "$4"; then 6820 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6821 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6822 fi 6823 $as_echo "$as_me: error: $2" >&2 6824 as_fn_exit $as_status 6825} # as_fn_error 6826 6827 6828# as_fn_set_status STATUS 6829# ----------------------- 6830# Set $? to STATUS, without forking. 6831as_fn_set_status () 6832{ 6833 return $1 6834} # as_fn_set_status 6835 6836# as_fn_exit STATUS 6837# ----------------- 6838# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6839as_fn_exit () 6840{ 6841 set +e 6842 as_fn_set_status $1 6843 exit $1 6844} # as_fn_exit 6845 6846# as_fn_unset VAR 6847# --------------- 6848# Portably unset VAR. 6849as_fn_unset () 6850{ 6851 { eval $1=; unset $1;} 6852} 6853as_unset=as_fn_unset 6854# as_fn_append VAR VALUE 6855# ---------------------- 6856# Append the text in VALUE to the end of the definition contained in VAR. Take 6857# advantage of any shell optimizations that allow amortized linear growth over 6858# repeated appends, instead of the typical quadratic growth present in naive 6859# implementations. 6860if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6861 eval 'as_fn_append () 6862 { 6863 eval $1+=\$2 6864 }' 6865else 6866 as_fn_append () 6867 { 6868 eval $1=\$$1\$2 6869 } 6870fi # as_fn_append 6871 6872# as_fn_arith ARG... 6873# ------------------ 6874# Perform arithmetic evaluation on the ARGs, and store the result in the 6875# global $as_val. Take advantage of shells that can avoid forks. The arguments 6876# must be portable across $(()) and expr. 6877if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6878 eval 'as_fn_arith () 6879 { 6880 as_val=$(( $* )) 6881 }' 6882else 6883 as_fn_arith () 6884 { 6885 as_val=`expr "$@" || test $? -eq 1` 6886 } 6887fi # as_fn_arith 6888 6889 6890if expr a : '\(a\)' >/dev/null 2>&1 && 6891 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6892 as_expr=expr 6893else 6894 as_expr=false 6895fi 6896 6897if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6898 as_basename=basename 6899else 6900 as_basename=false 6901fi 6902 6903if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6904 as_dirname=dirname 6905else 6906 as_dirname=false 6907fi 6908 6909as_me=`$as_basename -- "$0" || 6910$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6911 X"$0" : 'X\(//\)$' \| \ 6912 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6913$as_echo X/"$0" | 6914 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6915 s//\1/ 6916 q 6917 } 6918 /^X\/\(\/\/\)$/{ 6919 s//\1/ 6920 q 6921 } 6922 /^X\/\(\/\).*/{ 6923 s//\1/ 6924 q 6925 } 6926 s/.*/./; q'` 6927 6928# Avoid depending upon Character Ranges. 6929as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6930as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6931as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6932as_cr_digits='0123456789' 6933as_cr_alnum=$as_cr_Letters$as_cr_digits 6934 6935ECHO_C= ECHO_N= ECHO_T= 6936case `echo -n x` in #((((( 6937-n*) 6938 case `echo 'xy\c'` in 6939 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6940 xy) ECHO_C='\c';; 6941 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6942 ECHO_T=' ';; 6943 esac;; 6944*) 6945 ECHO_N='-n';; 6946esac 6947 6948rm -f conf$$ conf$$.exe conf$$.file 6949if test -d conf$$.dir; then 6950 rm -f conf$$.dir/conf$$.file 6951else 6952 rm -f conf$$.dir 6953 mkdir conf$$.dir 2>/dev/null 6954fi 6955if (echo >conf$$.file) 2>/dev/null; then 6956 if ln -s conf$$.file conf$$ 2>/dev/null; then 6957 as_ln_s='ln -s' 6958 # ... but there are two gotchas: 6959 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6960 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6961 # In both cases, we have to default to `cp -pR'. 6962 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6963 as_ln_s='cp -pR' 6964 elif ln conf$$.file conf$$ 2>/dev/null; then 6965 as_ln_s=ln 6966 else 6967 as_ln_s='cp -pR' 6968 fi 6969else 6970 as_ln_s='cp -pR' 6971fi 6972rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6973rmdir conf$$.dir 2>/dev/null 6974 6975 6976# as_fn_mkdir_p 6977# ------------- 6978# Create "$as_dir" as a directory, including parents if necessary. 6979as_fn_mkdir_p () 6980{ 6981 6982 case $as_dir in #( 6983 -*) as_dir=./$as_dir;; 6984 esac 6985 test -d "$as_dir" || eval $as_mkdir_p || { 6986 as_dirs= 6987 while :; do 6988 case $as_dir in #( 6989 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6990 *) as_qdir=$as_dir;; 6991 esac 6992 as_dirs="'$as_qdir' $as_dirs" 6993 as_dir=`$as_dirname -- "$as_dir" || 6994$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6995 X"$as_dir" : 'X\(//\)[^/]' \| \ 6996 X"$as_dir" : 'X\(//\)$' \| \ 6997 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6998$as_echo X"$as_dir" | 6999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7000 s//\1/ 7001 q 7002 } 7003 /^X\(\/\/\)[^/].*/{ 7004 s//\1/ 7005 q 7006 } 7007 /^X\(\/\/\)$/{ 7008 s//\1/ 7009 q 7010 } 7011 /^X\(\/\).*/{ 7012 s//\1/ 7013 q 7014 } 7015 s/.*/./; q'` 7016 test -d "$as_dir" && break 7017 done 7018 test -z "$as_dirs" || eval "mkdir $as_dirs" 7019 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7020 7021 7022} # as_fn_mkdir_p 7023if mkdir -p . 2>/dev/null; then 7024 as_mkdir_p='mkdir -p "$as_dir"' 7025else 7026 test -d ./-p && rmdir ./-p 7027 as_mkdir_p=false 7028fi 7029 7030 7031# as_fn_executable_p FILE 7032# ----------------------- 7033# Test if FILE is an executable regular file. 7034as_fn_executable_p () 7035{ 7036 test -f "$1" && test -x "$1" 7037} # as_fn_executable_p 7038as_test_x='test -x' 7039as_executable_p=as_fn_executable_p 7040 7041# Sed expression to map a string onto a valid CPP name. 7042as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7043 7044# Sed expression to map a string onto a valid variable name. 7045as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7046 7047 7048exec 6>&1 7049## ----------------------------------- ## 7050## Main body of $CONFIG_STATUS script. ## 7051## ----------------------------------- ## 7052_ASEOF 7053test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7054 7055cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7056# Save the log message, to keep $0 and so on meaningful, and to 7057# report actual input values of CONFIG_FILES etc. instead of their 7058# values after options handling. 7059ac_log=" 7060This file was extended by bmake $as_me 20211020, which was 7061generated by GNU Autoconf 2.69. Invocation command line was 7062 7063 CONFIG_FILES = $CONFIG_FILES 7064 CONFIG_HEADERS = $CONFIG_HEADERS 7065 CONFIG_LINKS = $CONFIG_LINKS 7066 CONFIG_COMMANDS = $CONFIG_COMMANDS 7067 $ $0 $@ 7068 7069on `(hostname || uname -n) 2>/dev/null | sed 1q` 7070" 7071 7072_ACEOF 7073 7074case $ac_config_files in *" 7075"*) set x $ac_config_files; shift; ac_config_files=$*;; 7076esac 7077 7078case $ac_config_headers in *" 7079"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7080esac 7081 7082 7083cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7084# Files that config.status was made for. 7085config_files="$ac_config_files" 7086config_headers="$ac_config_headers" 7087 7088_ACEOF 7089 7090cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7091ac_cs_usage="\ 7092\`$as_me' instantiates files and other configuration actions 7093from templates according to the current configuration. Unless the files 7094and actions are specified as TAGs, all are instantiated by default. 7095 7096Usage: $0 [OPTION]... [TAG]... 7097 7098 -h, --help print this help, then exit 7099 -V, --version print version number and configuration settings, then exit 7100 --config print configuration, then exit 7101 -q, --quiet, --silent 7102 do not print progress messages 7103 -d, --debug don't remove temporary files 7104 --recheck update $as_me by reconfiguring in the same conditions 7105 --file=FILE[:TEMPLATE] 7106 instantiate the configuration file FILE 7107 --header=FILE[:TEMPLATE] 7108 instantiate the configuration header FILE 7109 7110Configuration files: 7111$config_files 7112 7113Configuration headers: 7114$config_headers 7115 7116Report bugs to <sjg@NetBSD.org>." 7117 7118_ACEOF 7119cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7120ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7121ac_cs_version="\\ 7122bmake config.status 20211020 7123configured by $0, generated by GNU Autoconf 2.69, 7124 with options \\"\$ac_cs_config\\" 7125 7126Copyright (C) 2012 Free Software Foundation, Inc. 7127This config.status script is free software; the Free Software Foundation 7128gives unlimited permission to copy, distribute and modify it." 7129 7130ac_pwd='$ac_pwd' 7131srcdir='$srcdir' 7132INSTALL='$INSTALL' 7133test -n "\$AWK" || AWK=awk 7134_ACEOF 7135 7136cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7137# The default lists apply if the user does not specify any file. 7138ac_need_defaults=: 7139while test $# != 0 7140do 7141 case $1 in 7142 --*=?*) 7143 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7144 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7145 ac_shift=: 7146 ;; 7147 --*=) 7148 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7149 ac_optarg= 7150 ac_shift=: 7151 ;; 7152 *) 7153 ac_option=$1 7154 ac_optarg=$2 7155 ac_shift=shift 7156 ;; 7157 esac 7158 7159 case $ac_option in 7160 # Handling of the options. 7161 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7162 ac_cs_recheck=: ;; 7163 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7164 $as_echo "$ac_cs_version"; exit ;; 7165 --config | --confi | --conf | --con | --co | --c ) 7166 $as_echo "$ac_cs_config"; exit ;; 7167 --debug | --debu | --deb | --de | --d | -d ) 7168 debug=: ;; 7169 --file | --fil | --fi | --f ) 7170 $ac_shift 7171 case $ac_optarg in 7172 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7173 '') as_fn_error $? "missing file argument" ;; 7174 esac 7175 as_fn_append CONFIG_FILES " '$ac_optarg'" 7176 ac_need_defaults=false;; 7177 --header | --heade | --head | --hea ) 7178 $ac_shift 7179 case $ac_optarg in 7180 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7181 esac 7182 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7183 ac_need_defaults=false;; 7184 --he | --h) 7185 # Conflict between --help and --header 7186 as_fn_error $? "ambiguous option: \`$1' 7187Try \`$0 --help' for more information.";; 7188 --help | --hel | -h ) 7189 $as_echo "$ac_cs_usage"; exit ;; 7190 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7191 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7192 ac_cs_silent=: ;; 7193 7194 # This is an error. 7195 -*) as_fn_error $? "unrecognized option: \`$1' 7196Try \`$0 --help' for more information." ;; 7197 7198 *) as_fn_append ac_config_targets " $1" 7199 ac_need_defaults=false ;; 7200 7201 esac 7202 shift 7203done 7204 7205ac_configure_extra_args= 7206 7207if $ac_cs_silent; then 7208 exec 6>/dev/null 7209 ac_configure_extra_args="$ac_configure_extra_args --silent" 7210fi 7211 7212_ACEOF 7213cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7214if \$ac_cs_recheck; then 7215 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7216 shift 7217 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7218 CONFIG_SHELL='$SHELL' 7219 export CONFIG_SHELL 7220 exec "\$@" 7221fi 7222 7223_ACEOF 7224cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7225exec 5>>config.log 7226{ 7227 echo 7228 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7229## Running $as_me. ## 7230_ASBOX 7231 $as_echo "$ac_log" 7232} >&5 7233 7234_ACEOF 7235cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7236_ACEOF 7237 7238cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7239 7240# Handling of arguments. 7241for ac_config_target in $ac_config_targets 7242do 7243 case $ac_config_target in 7244 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7245 "$bm_outfiles") CONFIG_FILES="$CONFIG_FILES $bm_outfiles" ;; 7246 7247 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7248 esac 7249done 7250 7251 7252# If the user did not use the arguments to specify the items to instantiate, 7253# then the envvar interface is used. Set only those that are not. 7254# We use the long form for the default assignment because of an extremely 7255# bizarre bug on SunOS 4.1.3. 7256if $ac_need_defaults; then 7257 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7258 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7259fi 7260 7261# Have a temporary directory for convenience. Make it in the build tree 7262# simply because there is no reason against having it here, and in addition, 7263# creating and moving files from /tmp can sometimes cause problems. 7264# Hook for its removal unless debugging. 7265# Note that there is a small window in which the directory will not be cleaned: 7266# after its creation but before its name has been assigned to `$tmp'. 7267$debug || 7268{ 7269 tmp= ac_tmp= 7270 trap 'exit_status=$? 7271 : "${ac_tmp:=$tmp}" 7272 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7273' 0 7274 trap 'as_fn_exit 1' 1 2 13 15 7275} 7276# Create a (secure) tmp directory for tmp files. 7277 7278{ 7279 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7280 test -d "$tmp" 7281} || 7282{ 7283 tmp=./conf$$-$RANDOM 7284 (umask 077 && mkdir "$tmp") 7285} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7286ac_tmp=$tmp 7287 7288# Set up the scripts for CONFIG_FILES section. 7289# No need to generate them if there are no CONFIG_FILES. 7290# This happens for instance with `./config.status config.h'. 7291if test -n "$CONFIG_FILES"; then 7292 7293 7294ac_cr=`echo X | tr X '\015'` 7295# On cygwin, bash can eat \r inside `` if the user requested igncr. 7296# But we know of no other shell where ac_cr would be empty at this 7297# point, so we can use a bashism as a fallback. 7298if test "x$ac_cr" = x; then 7299 eval ac_cr=\$\'\\r\' 7300fi 7301ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7302if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7303 ac_cs_awk_cr='\\r' 7304else 7305 ac_cs_awk_cr=$ac_cr 7306fi 7307 7308echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 7309_ACEOF 7310 7311 7312{ 7313 echo "cat >conf$$subs.awk <<_ACEOF" && 7314 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7315 echo "_ACEOF" 7316} >conf$$subs.sh || 7317 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7318ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7319ac_delim='%!_!# ' 7320for ac_last_try in false false false false false :; do 7321 . ./conf$$subs.sh || 7322 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7323 7324 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7325 if test $ac_delim_n = $ac_delim_num; then 7326 break 7327 elif $ac_last_try; then 7328 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7329 else 7330 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7331 fi 7332done 7333rm -f conf$$subs.sh 7334 7335cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7336cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 7337_ACEOF 7338sed -n ' 7339h 7340s/^/S["/; s/!.*/"]=/ 7341p 7342g 7343s/^[^!]*!// 7344:repl 7345t repl 7346s/'"$ac_delim"'$// 7347t delim 7348:nl 7349h 7350s/\(.\{148\}\)..*/\1/ 7351t more1 7352s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7353p 7354n 7355b repl 7356:more1 7357s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7358p 7359g 7360s/.\{148\}// 7361t nl 7362:delim 7363h 7364s/\(.\{148\}\)..*/\1/ 7365t more2 7366s/["\\]/\\&/g; s/^/"/; s/$/"/ 7367p 7368b 7369:more2 7370s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7371p 7372g 7373s/.\{148\}// 7374t delim 7375' <conf$$subs.awk | sed ' 7376/^[^""]/{ 7377 N 7378 s/\n// 7379} 7380' >>$CONFIG_STATUS || ac_write_fail=1 7381rm -f conf$$subs.awk 7382cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7383_ACAWK 7384cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 7385 for (key in S) S_is_set[key] = 1 7386 FS = "" 7387 7388} 7389{ 7390 line = $ 0 7391 nfields = split(line, field, "@") 7392 substed = 0 7393 len = length(field[1]) 7394 for (i = 2; i < nfields; i++) { 7395 key = field[i] 7396 keylen = length(key) 7397 if (S_is_set[key]) { 7398 value = S[key] 7399 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7400 len += length(value) + length(field[++i]) 7401 substed = 1 7402 } else 7403 len += 1 + keylen 7404 } 7405 7406 print line 7407} 7408 7409_ACAWK 7410_ACEOF 7411cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7412if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7413 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7414else 7415 cat 7416fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7417 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7418_ACEOF 7419 7420# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7421# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7422# trailing colons and then remove the whole line if VPATH becomes empty 7423# (actually we leave an empty line to preserve line numbers). 7424if test "x$srcdir" = x.; then 7425 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7426h 7427s/// 7428s/^/:/ 7429s/[ ]*$/:/ 7430s/:\$(srcdir):/:/g 7431s/:\${srcdir}:/:/g 7432s/:@srcdir@:/:/g 7433s/^:*// 7434s/:*$// 7435x 7436s/\(=[ ]*\).*/\1/ 7437G 7438s/\n// 7439s/^[^=]*=[ ]*$// 7440}' 7441fi 7442 7443cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7444fi # test -n "$CONFIG_FILES" 7445 7446# Set up the scripts for CONFIG_HEADERS section. 7447# No need to generate them if there are no CONFIG_HEADERS. 7448# This happens for instance with `./config.status Makefile'. 7449if test -n "$CONFIG_HEADERS"; then 7450cat >"$ac_tmp/defines.awk" <<\_ACAWK || 7451BEGIN { 7452_ACEOF 7453 7454# Transform confdefs.h into an awk script `defines.awk', embedded as 7455# here-document in config.status, that substitutes the proper values into 7456# config.h.in to produce config.h. 7457 7458# Create a delimiter string that does not exist in confdefs.h, to ease 7459# handling of long lines. 7460ac_delim='%!_!# ' 7461for ac_last_try in false false :; do 7462 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 7463 if test -z "$ac_tt"; then 7464 break 7465 elif $ac_last_try; then 7466 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7467 else 7468 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7469 fi 7470done 7471 7472# For the awk script, D is an array of macro values keyed by name, 7473# likewise P contains macro parameters if any. Preserve backslash 7474# newline sequences. 7475 7476ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7477sed -n ' 7478s/.\{148\}/&'"$ac_delim"'/g 7479t rset 7480:rset 7481s/^[ ]*#[ ]*define[ ][ ]*/ / 7482t def 7483d 7484:def 7485s/\\$// 7486t bsnl 7487s/["\\]/\\&/g 7488s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7489D["\1"]=" \3"/p 7490s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7491d 7492:bsnl 7493s/["\\]/\\&/g 7494s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7495D["\1"]=" \3\\\\\\n"\\/p 7496t cont 7497s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7498t cont 7499d 7500:cont 7501n 7502s/.\{148\}/&'"$ac_delim"'/g 7503t clear 7504:clear 7505s/\\$// 7506t bsnlc 7507s/["\\]/\\&/g; s/^/"/; s/$/"/p 7508d 7509:bsnlc 7510s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7511b cont 7512' <confdefs.h | sed ' 7513s/'"$ac_delim"'/"\\\ 7514"/g' >>$CONFIG_STATUS || ac_write_fail=1 7515 7516cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7517 for (key in D) D_is_set[key] = 1 7518 FS = "" 7519} 7520/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7521 line = \$ 0 7522 split(line, arg, " ") 7523 if (arg[1] == "#") { 7524 defundef = arg[2] 7525 mac1 = arg[3] 7526 } else { 7527 defundef = substr(arg[1], 2) 7528 mac1 = arg[2] 7529 } 7530 split(mac1, mac2, "(") #) 7531 macro = mac2[1] 7532 prefix = substr(line, 1, index(line, defundef) - 1) 7533 if (D_is_set[macro]) { 7534 # Preserve the white space surrounding the "#". 7535 print prefix "define", macro P[macro] D[macro] 7536 next 7537 } else { 7538 # Replace #undef with comments. This is necessary, for example, 7539 # in the case of _POSIX_SOURCE, which is predefined and required 7540 # on some systems where configure will not decide to define it. 7541 if (defundef == "undef") { 7542 print "/*", prefix defundef, macro, "*/" 7543 next 7544 } 7545 } 7546} 7547{ print } 7548_ACAWK 7549_ACEOF 7550cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7551 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7552fi # test -n "$CONFIG_HEADERS" 7553 7554 7555eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7556shift 7557for ac_tag 7558do 7559 case $ac_tag in 7560 :[FHLC]) ac_mode=$ac_tag; continue;; 7561 esac 7562 case $ac_mode$ac_tag in 7563 :[FHL]*:*);; 7564 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7565 :[FH]-) ac_tag=-:-;; 7566 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7567 esac 7568 ac_save_IFS=$IFS 7569 IFS=: 7570 set x $ac_tag 7571 IFS=$ac_save_IFS 7572 shift 7573 ac_file=$1 7574 shift 7575 7576 case $ac_mode in 7577 :L) ac_source=$1;; 7578 :[FH]) 7579 ac_file_inputs= 7580 for ac_f 7581 do 7582 case $ac_f in 7583 -) ac_f="$ac_tmp/stdin";; 7584 *) # Look for the file first in the build tree, then in the source tree 7585 # (if the path is not absolute). The absolute path cannot be DOS-style, 7586 # because $ac_f cannot contain `:'. 7587 test -f "$ac_f" || 7588 case $ac_f in 7589 [\\/$]*) false;; 7590 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7591 esac || 7592 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7593 esac 7594 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7595 as_fn_append ac_file_inputs " '$ac_f'" 7596 done 7597 7598 # Let's still pretend it is `configure' which instantiates (i.e., don't 7599 # use $as_me), people would be surprised to read: 7600 # /* config.h. Generated by config.status. */ 7601 configure_input='Generated from '` 7602 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7603 `' by configure.' 7604 if test x"$ac_file" != x-; then 7605 configure_input="$ac_file. $configure_input" 7606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7607$as_echo "$as_me: creating $ac_file" >&6;} 7608 fi 7609 # Neutralize special characters interpreted by sed in replacement strings. 7610 case $configure_input in #( 7611 *\&* | *\|* | *\\* ) 7612 ac_sed_conf_input=`$as_echo "$configure_input" | 7613 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7614 *) ac_sed_conf_input=$configure_input;; 7615 esac 7616 7617 case $ac_tag in 7618 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7619 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7620 esac 7621 ;; 7622 esac 7623 7624 ac_dir=`$as_dirname -- "$ac_file" || 7625$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7626 X"$ac_file" : 'X\(//\)[^/]' \| \ 7627 X"$ac_file" : 'X\(//\)$' \| \ 7628 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7629$as_echo X"$ac_file" | 7630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7631 s//\1/ 7632 q 7633 } 7634 /^X\(\/\/\)[^/].*/{ 7635 s//\1/ 7636 q 7637 } 7638 /^X\(\/\/\)$/{ 7639 s//\1/ 7640 q 7641 } 7642 /^X\(\/\).*/{ 7643 s//\1/ 7644 q 7645 } 7646 s/.*/./; q'` 7647 as_dir="$ac_dir"; as_fn_mkdir_p 7648 ac_builddir=. 7649 7650case "$ac_dir" in 7651.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7652*) 7653 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7654 # A ".." for each directory in $ac_dir_suffix. 7655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7656 case $ac_top_builddir_sub in 7657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7659 esac ;; 7660esac 7661ac_abs_top_builddir=$ac_pwd 7662ac_abs_builddir=$ac_pwd$ac_dir_suffix 7663# for backward compatibility: 7664ac_top_builddir=$ac_top_build_prefix 7665 7666case $srcdir in 7667 .) # We are building in place. 7668 ac_srcdir=. 7669 ac_top_srcdir=$ac_top_builddir_sub 7670 ac_abs_top_srcdir=$ac_pwd ;; 7671 [\\/]* | ?:[\\/]* ) # Absolute name. 7672 ac_srcdir=$srcdir$ac_dir_suffix; 7673 ac_top_srcdir=$srcdir 7674 ac_abs_top_srcdir=$srcdir ;; 7675 *) # Relative name. 7676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7677 ac_top_srcdir=$ac_top_build_prefix$srcdir 7678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7679esac 7680ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7681 7682 7683 case $ac_mode in 7684 :F) 7685 # 7686 # CONFIG_FILE 7687 # 7688 7689 case $INSTALL in 7690 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7691 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7692 esac 7693_ACEOF 7694 7695cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7696# If the template does not know about datarootdir, expand it. 7697# FIXME: This hack should be removed a few years after 2.60. 7698ac_datarootdir_hack=; ac_datarootdir_seen= 7699ac_sed_dataroot=' 7700/datarootdir/ { 7701 p 7702 q 7703} 7704/@datadir@/p 7705/@docdir@/p 7706/@infodir@/p 7707/@localedir@/p 7708/@mandir@/p' 7709case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7710*datarootdir*) ac_datarootdir_seen=yes;; 7711*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7713$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7714_ACEOF 7715cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7716 ac_datarootdir_hack=' 7717 s&@datadir@&$datadir&g 7718 s&@docdir@&$docdir&g 7719 s&@infodir@&$infodir&g 7720 s&@localedir@&$localedir&g 7721 s&@mandir@&$mandir&g 7722 s&\\\${datarootdir}&$datarootdir&g' ;; 7723esac 7724_ACEOF 7725 7726# Neutralize VPATH when `$srcdir' = `.'. 7727# Shell code in configure.ac might set extrasub. 7728# FIXME: do we really want to maintain this feature? 7729cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7730ac_sed_extra="$ac_vpsub 7731$extrasub 7732_ACEOF 7733cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7734:t 7735/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7736s|@configure_input@|$ac_sed_conf_input|;t t 7737s&@top_builddir@&$ac_top_builddir_sub&;t t 7738s&@top_build_prefix@&$ac_top_build_prefix&;t t 7739s&@srcdir@&$ac_srcdir&;t t 7740s&@abs_srcdir@&$ac_abs_srcdir&;t t 7741s&@top_srcdir@&$ac_top_srcdir&;t t 7742s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7743s&@builddir@&$ac_builddir&;t t 7744s&@abs_builddir@&$ac_abs_builddir&;t t 7745s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7746s&@INSTALL@&$ac_INSTALL&;t t 7747$ac_datarootdir_hack 7748" 7749eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7750 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7751 7752test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7753 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7754 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7755 "$ac_tmp/out"`; test -z "$ac_out"; } && 7756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7757which seems to be undefined. Please make sure it is defined" >&5 7758$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7759which seems to be undefined. Please make sure it is defined" >&2;} 7760 7761 rm -f "$ac_tmp/stdin" 7762 case $ac_file in 7763 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 7764 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 7765 esac \ 7766 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7767 ;; 7768 :H) 7769 # 7770 # CONFIG_HEADER 7771 # 7772 if test x"$ac_file" != x-; then 7773 { 7774 $as_echo "/* $configure_input */" \ 7775 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 7776 } >"$ac_tmp/config.h" \ 7777 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7778 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 7779 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7780$as_echo "$as_me: $ac_file is unchanged" >&6;} 7781 else 7782 rm -f "$ac_file" 7783 mv "$ac_tmp/config.h" "$ac_file" \ 7784 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7785 fi 7786 else 7787 $as_echo "/* $configure_input */" \ 7788 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 7789 || as_fn_error $? "could not create -" "$LINENO" 5 7790 fi 7791 ;; 7792 7793 7794 esac 7795 7796done # for ac_tag 7797 7798 7799as_fn_exit 0 7800_ACEOF 7801ac_clean_files=$ac_clean_files_save 7802 7803test $ac_write_fail = 0 || 7804 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 7805 7806 7807# configure is writing to config.log, and then calls config.status. 7808# config.status does its own redirection, appending to config.log. 7809# Unfortunately, on DOS this fails, as config.log is still kept open 7810# by configure, so config.status won't be able to write to it; its 7811# output is simply discarded. So we exec the FD to /dev/null, 7812# effectively closing config.log, so it can be properly (re)opened and 7813# appended to by config.status. When coming back to configure, we 7814# need to make the FD available again. 7815if test "$no_create" != yes; then 7816 ac_cs_success=: 7817 ac_config_status_args= 7818 test "$silent" = yes && 7819 ac_config_status_args="$ac_config_status_args --quiet" 7820 exec 5>/dev/null 7821 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7822 exec 5>>config.log 7823 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7824 # would make configure fail if this is the last instruction. 7825 $ac_cs_success || as_fn_exit 1 7826fi 7827if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7829$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7830fi 7831 7832cat <<EOF 7833 7834You can now run 7835 7836 sh ./make-bootstrap.sh 7837 7838to produce a fully functional bmake. 7839 7840EOF 7841